@angular/core 13.2.0 → 14.0.0-next.2
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/core.d.ts +78 -80
- package/esm2020/src/application_init.mjs +1 -1
- package/esm2020/src/application_ref.mjs +3 -22
- package/esm2020/src/change_detection/change_detection.mjs +2 -3
- package/esm2020/src/compiler/compiler_facade_interface.mjs +1 -1
- package/esm2020/src/core_private_export.mjs +2 -1
- package/esm2020/src/debug/debug_node.mjs +128 -45
- package/esm2020/src/di/r3_injector.mjs +5 -15
- package/esm2020/src/di/reflective_injector.mjs +1 -1
- package/esm2020/src/errors.mjs +22 -5
- package/esm2020/src/metadata/directives.mjs +14 -5
- package/esm2020/src/reflection/reflector.mjs +1 -1
- package/esm2020/src/render3/context_discovery.mjs +1 -1
- package/esm2020/src/render3/instructions/shared.mjs +2 -2
- package/esm2020/src/render3/jit/directive.mjs +5 -2
- package/esm2020/src/render3/jit/pipe.mjs +5 -2
- package/esm2020/src/util/coercion.mjs +12 -0
- package/esm2020/src/version.mjs +1 -1
- package/esm2020/testing/src/logger.mjs +3 -3
- package/esm2020/testing/src/ng_zone_mock.mjs +3 -3
- package/esm2020/testing/src/r3_test_bed.mjs +6 -1
- package/fesm2015/core.mjs +191 -93
- package/fesm2015/core.mjs.map +1 -1
- package/fesm2015/testing.mjs +6 -1
- package/fesm2015/testing.mjs.map +1 -1
- package/fesm2020/core.mjs +191 -93
- package/fesm2020/core.mjs.map +1 -1
- package/fesm2020/testing.mjs +6 -1
- package/fesm2020/testing.mjs.map +1 -1
- package/package.json +1 -1
- package/schematics/migrations/typed-forms/index.js +2 -2
- package/schematics/migrations/typed-forms/util.js +3 -8
- package/schematics/migrations.json +6 -16
- package/testing/testing.d.ts +1 -1
- package/schematics/migrations/router-link-empty-expression/analyze_template.d.ts +0 -11
- package/schematics/migrations/router-link-empty-expression/analyze_template.js +0 -34
- package/schematics/migrations/router-link-empty-expression/angular/html_routerlink_empty_expr_visitor.d.ts +0 -20
- package/schematics/migrations/router-link-empty-expression/angular/html_routerlink_empty_expr_visitor.js +0 -47
- package/schematics/migrations/router-link-empty-expression/index.d.ts +0 -11
- package/schematics/migrations/router-link-empty-expression/index.js +0 -170
- package/schematics/migrations/testbed-teardown/index.d.ts +0 -11
- package/schematics/migrations/testbed-teardown/index.js +0 -92
- package/schematics/migrations/testbed-teardown/util.d.ts +0 -35
- package/schematics/migrations/testbed-teardown/util.js +0 -188
package/fesm2015/core.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular
|
|
2
|
+
* @license Angular v14.0.0-next.2
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -152,20 +152,37 @@ const ERROR_DETAILS_PAGE_BASE_URL = 'https://angular.io/errors';
|
|
|
152
152
|
* Use of this source code is governed by an MIT-style license that can be
|
|
153
153
|
* found in the LICENSE file at https://angular.io/license
|
|
154
154
|
*/
|
|
155
|
+
/**
|
|
156
|
+
* Class that represents a runtime error.
|
|
157
|
+
* Formats and outputs the error message in a consistent way.
|
|
158
|
+
*
|
|
159
|
+
* Example:
|
|
160
|
+
* ```
|
|
161
|
+
* throw new RuntimeError(
|
|
162
|
+
* RuntimeErrorCode.INJECTOR_ALREADY_DESTROYED,
|
|
163
|
+
* ngDevMode && 'Injector has already been destroyed.');
|
|
164
|
+
* ```
|
|
165
|
+
*
|
|
166
|
+
* Note: the `message` argument contains a descriptive error message as a string in development
|
|
167
|
+
* mode (when the `ngDevMode` is defined). In production mode (after tree-shaking pass), the
|
|
168
|
+
* `message` argument becomes `false`, thus we account for it in the typings and the runtime logic.
|
|
169
|
+
*/
|
|
155
170
|
class RuntimeError extends Error {
|
|
156
171
|
constructor(code, message) {
|
|
157
172
|
super(formatRuntimeError(code, message));
|
|
158
173
|
this.code = code;
|
|
159
174
|
}
|
|
160
175
|
}
|
|
161
|
-
/**
|
|
176
|
+
/**
|
|
177
|
+
* Called to format a runtime error.
|
|
178
|
+
* See additional info on the `message` argument type in the `RuntimeError` class description.
|
|
179
|
+
*/
|
|
162
180
|
function formatRuntimeError(code, message) {
|
|
163
|
-
const codeAsNumber = code;
|
|
164
181
|
// Error code might be a negative number, which is a special marker that instructs the logic to
|
|
165
182
|
// generate a link to the error details page on angular.io.
|
|
166
|
-
const fullCode = `NG0${Math.abs(
|
|
183
|
+
const fullCode = `NG0${Math.abs(code)}`;
|
|
167
184
|
let errorMessage = `${fullCode}${message ? ': ' + message : ''}`;
|
|
168
|
-
if (ngDevMode &&
|
|
185
|
+
if (ngDevMode && code < 0) {
|
|
169
186
|
errorMessage = `${errorMessage}. Find more at ${ERROR_DETAILS_PAGE_BASE_URL}/${fullCode}`;
|
|
170
187
|
}
|
|
171
188
|
return errorMessage;
|
|
@@ -10377,7 +10394,7 @@ function cacheMatchingLocalNames(tNode, localRefs, exportsMap) {
|
|
|
10377
10394
|
for (let i = 0; i < localRefs.length; i += 2) {
|
|
10378
10395
|
const index = exportsMap[localRefs[i + 1]];
|
|
10379
10396
|
if (index == null)
|
|
10380
|
-
throw new RuntimeError(-301 /* EXPORT_NOT_FOUND */, `Export of name '${localRefs[i + 1]}' not found!`);
|
|
10397
|
+
throw new RuntimeError(-301 /* EXPORT_NOT_FOUND */, ngDevMode && `Export of name '${localRefs[i + 1]}' not found!`);
|
|
10381
10398
|
localNames.push(localRefs[i], index);
|
|
10382
10399
|
}
|
|
10383
10400
|
}
|
|
@@ -11303,10 +11320,7 @@ class R3Injector {
|
|
|
11303
11320
|
}
|
|
11304
11321
|
assertNotDestroyed() {
|
|
11305
11322
|
if (this._destroyed) {
|
|
11306
|
-
|
|
11307
|
-
'Injector has already been destroyed.' :
|
|
11308
|
-
'';
|
|
11309
|
-
throw new RuntimeError(205 /* INJECTOR_ALREADY_DESTROYED */, errorMessage);
|
|
11323
|
+
throw new RuntimeError(205 /* INJECTOR_ALREADY_DESTROYED */, ngDevMode && 'Injector has already been destroyed.');
|
|
11310
11324
|
}
|
|
11311
11325
|
}
|
|
11312
11326
|
/**
|
|
@@ -11470,28 +11484,21 @@ function injectableDefOrInjectorDefFactory(token) {
|
|
|
11470
11484
|
// InjectionTokens should have an injectable def (ɵprov) and thus should be handled above.
|
|
11471
11485
|
// If it's missing that, it's an error.
|
|
11472
11486
|
if (token instanceof InjectionToken) {
|
|
11473
|
-
|
|
11474
|
-
`Token ${stringify(token)} is missing a ɵprov definition.` :
|
|
11475
|
-
'';
|
|
11476
|
-
throw new RuntimeError(204 /* INVALID_INJECTION_TOKEN */, errorMessage);
|
|
11487
|
+
throw new RuntimeError(204 /* INVALID_INJECTION_TOKEN */, ngDevMode && `Token ${stringify(token)} is missing a ɵprov definition.`);
|
|
11477
11488
|
}
|
|
11478
11489
|
// Undecorated types can sometimes be created if they have no constructor arguments.
|
|
11479
11490
|
if (token instanceof Function) {
|
|
11480
11491
|
return getUndecoratedInjectableFactory(token);
|
|
11481
11492
|
}
|
|
11482
11493
|
// There was no way to resolve a factory for this token.
|
|
11483
|
-
|
|
11484
|
-
throw new RuntimeError(204 /* INVALID_INJECTION_TOKEN */, errorMessage);
|
|
11494
|
+
throw new RuntimeError(204 /* INVALID_INJECTION_TOKEN */, ngDevMode && 'unreachable');
|
|
11485
11495
|
}
|
|
11486
11496
|
function getUndecoratedInjectableFactory(token) {
|
|
11487
11497
|
// If the token has parameters then it has dependencies that we cannot resolve implicitly.
|
|
11488
11498
|
const paramLength = token.length;
|
|
11489
11499
|
if (paramLength > 0) {
|
|
11490
11500
|
const args = newArray(paramLength, '?');
|
|
11491
|
-
|
|
11492
|
-
`Can't resolve all parameters for ${stringify(token)}: (${args.join(', ')}).` :
|
|
11493
|
-
'';
|
|
11494
|
-
throw new RuntimeError(204 /* INVALID_INJECTION_TOKEN */, errorMessage);
|
|
11501
|
+
throw new RuntimeError(204 /* INVALID_INJECTION_TOKEN */, ngDevMode && `Can't resolve all parameters for ${stringify(token)}: (${args.join(', ')}).`);
|
|
11495
11502
|
}
|
|
11496
11503
|
// The constructor function appears to have no parameters.
|
|
11497
11504
|
// This might be because it inherits from a super-class. In which case, use an injectable
|
|
@@ -21069,7 +21076,7 @@ class Version {
|
|
|
21069
21076
|
/**
|
|
21070
21077
|
* @publicApi
|
|
21071
21078
|
*/
|
|
21072
|
-
const VERSION = new Version('
|
|
21079
|
+
const VERSION = new Version('14.0.0-next.2');
|
|
21073
21080
|
|
|
21074
21081
|
/**
|
|
21075
21082
|
* @license
|
|
@@ -24329,7 +24336,10 @@ function directiveMetadata(type, metadata) {
|
|
|
24329
24336
|
usesInheritance: !extendsDirectlyFromObject(type),
|
|
24330
24337
|
exportAs: extractExportAs(metadata.exportAs),
|
|
24331
24338
|
providers: metadata.providers || null,
|
|
24332
|
-
viewQueries: extractQueriesMetadata(type, propMetadata, isViewQuery)
|
|
24339
|
+
viewQueries: extractQueriesMetadata(type, propMetadata, isViewQuery),
|
|
24340
|
+
// TODO(alxhub): pass through the standalone flag from the directive metadata once standalone
|
|
24341
|
+
// functionality is fully rolled out.
|
|
24342
|
+
isStandalone: false,
|
|
24333
24343
|
};
|
|
24334
24344
|
}
|
|
24335
24345
|
/**
|
|
@@ -24473,7 +24483,10 @@ function getPipeMetadata(type, meta) {
|
|
|
24473
24483
|
type: type,
|
|
24474
24484
|
name: type.name,
|
|
24475
24485
|
pipeName: meta.name,
|
|
24476
|
-
pure: meta.pure !== undefined ? meta.pure : true
|
|
24486
|
+
pure: meta.pure !== undefined ? meta.pure : true,
|
|
24487
|
+
// TODO(alxhub): pass through the standalone flag from the pipe metadata once standalone
|
|
24488
|
+
// functionality is fully rolled out.
|
|
24489
|
+
isStandalone: false,
|
|
24477
24490
|
};
|
|
24478
24491
|
}
|
|
24479
24492
|
|
|
@@ -24548,19 +24561,20 @@ const HostBinding = makePropDecorator('HostBinding', (hostPropertyName) => ({ ho
|
|
|
24548
24561
|
*
|
|
24549
24562
|
* ```
|
|
24550
24563
|
*
|
|
24551
|
-
* The following example registers another DOM event handler that listens for key-press
|
|
24564
|
+
* The following example registers another DOM event handler that listens for `Enter` key-press
|
|
24565
|
+
* events on the global `window`.
|
|
24552
24566
|
* ``` ts
|
|
24553
24567
|
* import { HostListener, Component } from "@angular/core";
|
|
24554
24568
|
*
|
|
24555
24569
|
* @Component({
|
|
24556
24570
|
* selector: 'app',
|
|
24557
|
-
* template: `<h1>Hello, you have pressed
|
|
24558
|
-
* increment the counter.
|
|
24571
|
+
* template: `<h1>Hello, you have pressed enter {{counter}} number of times!</h1> Press enter key
|
|
24572
|
+
* to increment the counter.
|
|
24559
24573
|
* <button (click)="resetCounter()">Reset Counter</button>`
|
|
24560
24574
|
* })
|
|
24561
24575
|
* class AppComponent {
|
|
24562
24576
|
* counter = 0;
|
|
24563
|
-
* @HostListener('window:keydown', ['$event'])
|
|
24577
|
+
* @HostListener('window:keydown.enter', ['$event'])
|
|
24564
24578
|
* handleKeyDown(event: KeyboardEvent) {
|
|
24565
24579
|
* this.counter++;
|
|
24566
24580
|
* }
|
|
@@ -24569,6 +24583,14 @@ const HostBinding = makePropDecorator('HostBinding', (hostPropertyName) => ({ ho
|
|
|
24569
24583
|
* }
|
|
24570
24584
|
* }
|
|
24571
24585
|
* ```
|
|
24586
|
+
* The list of valid key names for `keydown` and `keyup` events
|
|
24587
|
+
* can be found here:
|
|
24588
|
+
* https://www.w3.org/TR/DOM-Level-3-Events-key/#named-key-attribute-values
|
|
24589
|
+
*
|
|
24590
|
+
* Note that keys can also be combined, e.g. `@HostListener('keydown.shift.a')`.
|
|
24591
|
+
*
|
|
24592
|
+
* The global target names that can be used to prefix an event name are
|
|
24593
|
+
* `document:`, `window:` and `body:`.
|
|
24572
24594
|
*
|
|
24573
24595
|
* @Annotation
|
|
24574
24596
|
* @publicApi
|
|
@@ -25976,26 +25998,7 @@ class PlatformRef {
|
|
|
25976
25998
|
this._destroyed = false;
|
|
25977
25999
|
}
|
|
25978
26000
|
/**
|
|
25979
|
-
* Creates an instance of an `@NgModule` for the given platform
|
|
25980
|
-
*
|
|
25981
|
-
* @usageNotes
|
|
25982
|
-
*
|
|
25983
|
-
* The following example creates the NgModule for a browser platform.
|
|
25984
|
-
*
|
|
25985
|
-
* ```typescript
|
|
25986
|
-
* my_module.ts:
|
|
25987
|
-
*
|
|
25988
|
-
* @NgModule({
|
|
25989
|
-
* imports: [BrowserModule]
|
|
25990
|
-
* })
|
|
25991
|
-
* class MyModule {}
|
|
25992
|
-
*
|
|
25993
|
-
* main.ts:
|
|
25994
|
-
* import {MyModuleNgFactory} from './my_module.ngfactory';
|
|
25995
|
-
* import {platformBrowser} from '@angular/platform-browser';
|
|
25996
|
-
*
|
|
25997
|
-
* let moduleRef = platformBrowser().bootstrapModuleFactory(MyModuleNgFactory);
|
|
25998
|
-
* ```
|
|
26001
|
+
* Creates an instance of an `@NgModule` for the given platform.
|
|
25999
26002
|
*
|
|
26000
26003
|
* @deprecated Passing NgModule factories as the `PlatformRef.bootstrapModuleFactory` function
|
|
26001
26004
|
* argument is deprecated. Use the `PlatformRef.bootstrapModule` API instead.
|
|
@@ -26049,7 +26052,7 @@ class PlatformRef {
|
|
|
26049
26052
|
});
|
|
26050
26053
|
}
|
|
26051
26054
|
/**
|
|
26052
|
-
* Creates an instance of an `@NgModule` for a given platform
|
|
26055
|
+
* Creates an instance of an `@NgModule` for a given platform.
|
|
26053
26056
|
*
|
|
26054
26057
|
* @usageNotes
|
|
26055
26058
|
* ### Simple Example
|
|
@@ -26796,8 +26799,6 @@ var ng_module_factory_loader_impl = {};
|
|
|
26796
26799
|
* Use of this source code is governed by an MIT-style license that can be
|
|
26797
26800
|
* found in the LICENSE file at https://angular.io/license
|
|
26798
26801
|
*/
|
|
26799
|
-
// TODO(alxhub): recombine the interfaces and implementations here and move the docs back onto the
|
|
26800
|
-
// original classes.
|
|
26801
26802
|
/**
|
|
26802
26803
|
* @publicApi
|
|
26803
26804
|
*/
|
|
@@ -26813,43 +26814,88 @@ class DebugEventListener {
|
|
|
26813
26814
|
function asNativeElements(debugEls) {
|
|
26814
26815
|
return debugEls.map((el) => el.nativeElement);
|
|
26815
26816
|
}
|
|
26816
|
-
|
|
26817
|
+
/**
|
|
26818
|
+
* @publicApi
|
|
26819
|
+
*/
|
|
26820
|
+
class DebugNode {
|
|
26817
26821
|
constructor(nativeNode) {
|
|
26818
26822
|
this.nativeNode = nativeNode;
|
|
26819
26823
|
}
|
|
26824
|
+
/**
|
|
26825
|
+
* The `DebugElement` parent. Will be `null` if this is the root element.
|
|
26826
|
+
*/
|
|
26820
26827
|
get parent() {
|
|
26821
26828
|
const parent = this.nativeNode.parentNode;
|
|
26822
|
-
return parent ? new
|
|
26829
|
+
return parent ? new DebugElement(parent) : null;
|
|
26823
26830
|
}
|
|
26831
|
+
/**
|
|
26832
|
+
* The host dependency injector. For example, the root element's component instance injector.
|
|
26833
|
+
*/
|
|
26824
26834
|
get injector() {
|
|
26825
26835
|
return getInjector(this.nativeNode);
|
|
26826
26836
|
}
|
|
26837
|
+
/**
|
|
26838
|
+
* The element's own component instance, if it has one.
|
|
26839
|
+
*/
|
|
26827
26840
|
get componentInstance() {
|
|
26828
26841
|
const nativeElement = this.nativeNode;
|
|
26829
26842
|
return nativeElement &&
|
|
26830
26843
|
(getComponent$1(nativeElement) || getOwningComponent(nativeElement));
|
|
26831
26844
|
}
|
|
26845
|
+
/**
|
|
26846
|
+
* An object that provides parent context for this element. Often an ancestor component instance
|
|
26847
|
+
* that governs this element.
|
|
26848
|
+
*
|
|
26849
|
+
* When an element is repeated within *ngFor, the context is an `NgForOf` whose `$implicit`
|
|
26850
|
+
* property is the value of the row instance value. For example, the `hero` in `*ngFor="let hero
|
|
26851
|
+
* of heroes"`.
|
|
26852
|
+
*/
|
|
26832
26853
|
get context() {
|
|
26833
26854
|
return getComponent$1(this.nativeNode) || getContext(this.nativeNode);
|
|
26834
26855
|
}
|
|
26856
|
+
/**
|
|
26857
|
+
* The callbacks attached to the component's @Output properties and/or the element's event
|
|
26858
|
+
* properties.
|
|
26859
|
+
*/
|
|
26835
26860
|
get listeners() {
|
|
26836
26861
|
return getListeners(this.nativeNode).filter(listener => listener.type === 'dom');
|
|
26837
26862
|
}
|
|
26863
|
+
/**
|
|
26864
|
+
* Dictionary of objects associated with template local variables (e.g. #foo), keyed by the local
|
|
26865
|
+
* variable name.
|
|
26866
|
+
*/
|
|
26838
26867
|
get references() {
|
|
26839
26868
|
return getLocalRefs(this.nativeNode);
|
|
26840
26869
|
}
|
|
26870
|
+
/**
|
|
26871
|
+
* This component's injector lookup tokens. Includes the component itself plus the tokens that the
|
|
26872
|
+
* component lists in its providers metadata.
|
|
26873
|
+
*/
|
|
26841
26874
|
get providerTokens() {
|
|
26842
26875
|
return getInjectionTokens(this.nativeNode);
|
|
26843
26876
|
}
|
|
26844
26877
|
}
|
|
26845
|
-
|
|
26878
|
+
/**
|
|
26879
|
+
* @publicApi
|
|
26880
|
+
*
|
|
26881
|
+
* @see [Component testing scenarios](guide/testing-components-scenarios)
|
|
26882
|
+
* @see [Basics of testing components](guide/testing-components-basics)
|
|
26883
|
+
* @see [Testing utility APIs](guide/testing-utility-apis)
|
|
26884
|
+
*/
|
|
26885
|
+
class DebugElement extends DebugNode {
|
|
26846
26886
|
constructor(nativeNode) {
|
|
26847
26887
|
ngDevMode && assertDomNode(nativeNode);
|
|
26848
26888
|
super(nativeNode);
|
|
26849
26889
|
}
|
|
26890
|
+
/**
|
|
26891
|
+
* The underlying DOM element at the root of the component.
|
|
26892
|
+
*/
|
|
26850
26893
|
get nativeElement() {
|
|
26851
26894
|
return this.nativeNode.nodeType == Node.ELEMENT_NODE ? this.nativeNode : null;
|
|
26852
26895
|
}
|
|
26896
|
+
/**
|
|
26897
|
+
* The element tag name, if it is an element.
|
|
26898
|
+
*/
|
|
26853
26899
|
get name() {
|
|
26854
26900
|
const context = getLContext(this.nativeNode);
|
|
26855
26901
|
if (context !== null) {
|
|
@@ -26890,6 +26936,9 @@ class DebugElement__POST_R3__ extends DebugNode__POST_R3__ {
|
|
|
26890
26936
|
collectPropertyBindings(properties, tNode, lView, tData);
|
|
26891
26937
|
return properties;
|
|
26892
26938
|
}
|
|
26939
|
+
/**
|
|
26940
|
+
* A map of attribute names to attribute values for an element.
|
|
26941
|
+
*/
|
|
26893
26942
|
get attributes() {
|
|
26894
26943
|
const attributes = {};
|
|
26895
26944
|
const element = this.nativeElement;
|
|
@@ -26938,12 +26987,29 @@ class DebugElement__POST_R3__ extends DebugNode__POST_R3__ {
|
|
|
26938
26987
|
}
|
|
26939
26988
|
return attributes;
|
|
26940
26989
|
}
|
|
26990
|
+
/**
|
|
26991
|
+
* The inline styles of the DOM element.
|
|
26992
|
+
*
|
|
26993
|
+
* Will be `null` if there is no `style` property on the underlying DOM element.
|
|
26994
|
+
*
|
|
26995
|
+
* @see [ElementCSSInlineStyle](https://developer.mozilla.org/en-US/docs/Web/API/ElementCSSInlineStyle/style)
|
|
26996
|
+
*/
|
|
26941
26997
|
get styles() {
|
|
26942
26998
|
if (this.nativeElement && this.nativeElement.style) {
|
|
26943
26999
|
return this.nativeElement.style;
|
|
26944
27000
|
}
|
|
26945
27001
|
return {};
|
|
26946
27002
|
}
|
|
27003
|
+
/**
|
|
27004
|
+
* A map containing the class names on the element as keys.
|
|
27005
|
+
*
|
|
27006
|
+
* This map is derived from the `className` property of the DOM element.
|
|
27007
|
+
*
|
|
27008
|
+
* Note: The values of this object will always be `true`. The class key will not appear in the KV
|
|
27009
|
+
* object if it does not exist on the element.
|
|
27010
|
+
*
|
|
27011
|
+
* @see [Element.className](https://developer.mozilla.org/en-US/docs/Web/API/Element/className)
|
|
27012
|
+
*/
|
|
26947
27013
|
get classes() {
|
|
26948
27014
|
const result = {};
|
|
26949
27015
|
const element = this.nativeElement;
|
|
@@ -26953,15 +27019,23 @@ class DebugElement__POST_R3__ extends DebugNode__POST_R3__ {
|
|
|
26953
27019
|
classes.forEach((value) => result[value] = true);
|
|
26954
27020
|
return result;
|
|
26955
27021
|
}
|
|
27022
|
+
/**
|
|
27023
|
+
* The `childNodes` of the DOM element as a `DebugNode` array.
|
|
27024
|
+
*
|
|
27025
|
+
* @see [Node.childNodes](https://developer.mozilla.org/en-US/docs/Web/API/Node/childNodes)
|
|
27026
|
+
*/
|
|
26956
27027
|
get childNodes() {
|
|
26957
27028
|
const childNodes = this.nativeNode.childNodes;
|
|
26958
27029
|
const children = [];
|
|
26959
27030
|
for (let i = 0; i < childNodes.length; i++) {
|
|
26960
27031
|
const element = childNodes[i];
|
|
26961
|
-
children.push(
|
|
27032
|
+
children.push(getDebugNode(element));
|
|
26962
27033
|
}
|
|
26963
27034
|
return children;
|
|
26964
27035
|
}
|
|
27036
|
+
/**
|
|
27037
|
+
* The immediate `DebugElement` children. Walk the tree by descending through `children`.
|
|
27038
|
+
*/
|
|
26965
27039
|
get children() {
|
|
26966
27040
|
const nativeElement = this.nativeElement;
|
|
26967
27041
|
if (!nativeElement)
|
|
@@ -26970,24 +27044,45 @@ class DebugElement__POST_R3__ extends DebugNode__POST_R3__ {
|
|
|
26970
27044
|
const children = [];
|
|
26971
27045
|
for (let i = 0; i < childNodes.length; i++) {
|
|
26972
27046
|
const element = childNodes[i];
|
|
26973
|
-
children.push(
|
|
27047
|
+
children.push(getDebugNode(element));
|
|
26974
27048
|
}
|
|
26975
27049
|
return children;
|
|
26976
27050
|
}
|
|
27051
|
+
/**
|
|
27052
|
+
* @returns the first `DebugElement` that matches the predicate at any depth in the subtree.
|
|
27053
|
+
*/
|
|
26977
27054
|
query(predicate) {
|
|
26978
27055
|
const results = this.queryAll(predicate);
|
|
26979
27056
|
return results[0] || null;
|
|
26980
27057
|
}
|
|
27058
|
+
/**
|
|
27059
|
+
* @returns All `DebugElement` matches for the predicate at any depth in the subtree.
|
|
27060
|
+
*/
|
|
26981
27061
|
queryAll(predicate) {
|
|
26982
27062
|
const matches = [];
|
|
26983
|
-
|
|
27063
|
+
_queryAll(this, predicate, matches, true);
|
|
26984
27064
|
return matches;
|
|
26985
27065
|
}
|
|
27066
|
+
/**
|
|
27067
|
+
* @returns All `DebugNode` matches for the predicate at any depth in the subtree.
|
|
27068
|
+
*/
|
|
26986
27069
|
queryAllNodes(predicate) {
|
|
26987
27070
|
const matches = [];
|
|
26988
|
-
|
|
27071
|
+
_queryAll(this, predicate, matches, false);
|
|
26989
27072
|
return matches;
|
|
26990
27073
|
}
|
|
27074
|
+
/**
|
|
27075
|
+
* Triggers the event by its name if there is a corresponding listener in the element's
|
|
27076
|
+
* `listeners` collection.
|
|
27077
|
+
*
|
|
27078
|
+
* If the event lacks a listener or there's some other problem, consider
|
|
27079
|
+
* calling `nativeElement.dispatchEvent(eventObject)`.
|
|
27080
|
+
*
|
|
27081
|
+
* @param eventName The name of the event to trigger
|
|
27082
|
+
* @param eventObj The _event object_ expected by the handler
|
|
27083
|
+
*
|
|
27084
|
+
* @see [Testing components scenarios](guide/testing-components-scenarios#trigger-event-handler)
|
|
27085
|
+
*/
|
|
26991
27086
|
triggerEventHandler(eventName, eventObj) {
|
|
26992
27087
|
const node = this.nativeNode;
|
|
26993
27088
|
const invokedListeners = [];
|
|
@@ -27046,11 +27141,11 @@ function isPrimitiveValue(value) {
|
|
|
27046
27141
|
return typeof value === 'string' || typeof value === 'boolean' || typeof value === 'number' ||
|
|
27047
27142
|
value === null;
|
|
27048
27143
|
}
|
|
27049
|
-
function
|
|
27144
|
+
function _queryAll(parentElement, predicate, matches, elementsOnly) {
|
|
27050
27145
|
const context = getLContext(parentElement.nativeNode);
|
|
27051
27146
|
if (context !== null) {
|
|
27052
27147
|
const parentTNode = context.lView[TVIEW].data[context.nodeIndex];
|
|
27053
|
-
|
|
27148
|
+
_queryNodeChildren(parentTNode, context.lView, predicate, matches, elementsOnly, parentElement.nativeNode);
|
|
27054
27149
|
}
|
|
27055
27150
|
else {
|
|
27056
27151
|
// If the context is null, then `parentElement` was either created with Renderer2 or native DOM
|
|
@@ -27068,26 +27163,26 @@ function _queryAllR3(parentElement, predicate, matches, elementsOnly) {
|
|
|
27068
27163
|
* @param elementsOnly whether only elements should be searched
|
|
27069
27164
|
* @param rootNativeNode the root native node on which predicate should not be matched
|
|
27070
27165
|
*/
|
|
27071
|
-
function
|
|
27166
|
+
function _queryNodeChildren(tNode, lView, predicate, matches, elementsOnly, rootNativeNode) {
|
|
27072
27167
|
ngDevMode && assertTNodeForLView(tNode, lView);
|
|
27073
27168
|
const nativeNode = getNativeByTNodeOrNull(tNode, lView);
|
|
27074
27169
|
// For each type of TNode, specific logic is executed.
|
|
27075
27170
|
if (tNode.type & (3 /* AnyRNode */ | 8 /* ElementContainer */)) {
|
|
27076
27171
|
// Case 1: the TNode is an element
|
|
27077
27172
|
// The native node has to be checked.
|
|
27078
|
-
|
|
27173
|
+
_addQueryMatch(nativeNode, predicate, matches, elementsOnly, rootNativeNode);
|
|
27079
27174
|
if (isComponentHost(tNode)) {
|
|
27080
27175
|
// If the element is the host of a component, then all nodes in its view have to be processed.
|
|
27081
27176
|
// Note: the component's content (tNode.child) will be processed from the insertion points.
|
|
27082
27177
|
const componentView = getComponentLViewByIndex(tNode.index, lView);
|
|
27083
27178
|
if (componentView && componentView[TVIEW].firstChild) {
|
|
27084
|
-
|
|
27179
|
+
_queryNodeChildren(componentView[TVIEW].firstChild, componentView, predicate, matches, elementsOnly, rootNativeNode);
|
|
27085
27180
|
}
|
|
27086
27181
|
}
|
|
27087
27182
|
else {
|
|
27088
27183
|
if (tNode.child) {
|
|
27089
27184
|
// Otherwise, its children have to be processed.
|
|
27090
|
-
|
|
27185
|
+
_queryNodeChildren(tNode.child, lView, predicate, matches, elementsOnly, rootNativeNode);
|
|
27091
27186
|
}
|
|
27092
27187
|
// We also have to query the DOM directly in order to catch elements inserted through
|
|
27093
27188
|
// Renderer2. Note that this is __not__ optimal, because we're walking similar trees multiple
|
|
@@ -27103,16 +27198,16 @@ function _queryNodeChildrenR3(tNode, lView, predicate, matches, elementsOnly, ro
|
|
|
27103
27198
|
// processed.
|
|
27104
27199
|
const nodeOrContainer = lView[tNode.index];
|
|
27105
27200
|
if (isLContainer(nodeOrContainer)) {
|
|
27106
|
-
|
|
27201
|
+
_queryNodeChildrenInContainer(nodeOrContainer, predicate, matches, elementsOnly, rootNativeNode);
|
|
27107
27202
|
}
|
|
27108
27203
|
}
|
|
27109
27204
|
else if (tNode.type & 4 /* Container */) {
|
|
27110
27205
|
// Case 2: the TNode is a container
|
|
27111
27206
|
// The native node has to be checked.
|
|
27112
27207
|
const lContainer = lView[tNode.index];
|
|
27113
|
-
|
|
27208
|
+
_addQueryMatch(lContainer[NATIVE], predicate, matches, elementsOnly, rootNativeNode);
|
|
27114
27209
|
// Each view inside the container has to be processed.
|
|
27115
|
-
|
|
27210
|
+
_queryNodeChildrenInContainer(lContainer, predicate, matches, elementsOnly, rootNativeNode);
|
|
27116
27211
|
}
|
|
27117
27212
|
else if (tNode.type & 16 /* Projection */) {
|
|
27118
27213
|
// Case 3: the TNode is a projection insertion point (i.e. a <ng-content>).
|
|
@@ -27122,18 +27217,18 @@ function _queryNodeChildrenR3(tNode, lView, predicate, matches, elementsOnly, ro
|
|
|
27122
27217
|
const head = componentHost.projection[tNode.projection];
|
|
27123
27218
|
if (Array.isArray(head)) {
|
|
27124
27219
|
for (let nativeNode of head) {
|
|
27125
|
-
|
|
27220
|
+
_addQueryMatch(nativeNode, predicate, matches, elementsOnly, rootNativeNode);
|
|
27126
27221
|
}
|
|
27127
27222
|
}
|
|
27128
27223
|
else if (head) {
|
|
27129
27224
|
const nextLView = componentView[PARENT];
|
|
27130
27225
|
const nextTNode = nextLView[TVIEW].data[head.index];
|
|
27131
|
-
|
|
27226
|
+
_queryNodeChildren(nextTNode, nextLView, predicate, matches, elementsOnly, rootNativeNode);
|
|
27132
27227
|
}
|
|
27133
27228
|
}
|
|
27134
27229
|
else if (tNode.child) {
|
|
27135
27230
|
// Case 4: the TNode is a view.
|
|
27136
|
-
|
|
27231
|
+
_queryNodeChildren(tNode.child, lView, predicate, matches, elementsOnly, rootNativeNode);
|
|
27137
27232
|
}
|
|
27138
27233
|
// We don't want to go to the next sibling of the root node.
|
|
27139
27234
|
if (rootNativeNode !== nativeNode) {
|
|
@@ -27141,7 +27236,7 @@ function _queryNodeChildrenR3(tNode, lView, predicate, matches, elementsOnly, ro
|
|
|
27141
27236
|
// link, depending on whether the current node has been projected.
|
|
27142
27237
|
const nextTNode = (tNode.flags & 4 /* isProjected */) ? tNode.projectionNext : tNode.next;
|
|
27143
27238
|
if (nextTNode) {
|
|
27144
|
-
|
|
27239
|
+
_queryNodeChildren(nextTNode, lView, predicate, matches, elementsOnly, rootNativeNode);
|
|
27145
27240
|
}
|
|
27146
27241
|
}
|
|
27147
27242
|
}
|
|
@@ -27154,12 +27249,12 @@ function _queryNodeChildrenR3(tNode, lView, predicate, matches, elementsOnly, ro
|
|
|
27154
27249
|
* @param elementsOnly whether only elements should be searched
|
|
27155
27250
|
* @param rootNativeNode the root native node on which predicate should not be matched
|
|
27156
27251
|
*/
|
|
27157
|
-
function
|
|
27252
|
+
function _queryNodeChildrenInContainer(lContainer, predicate, matches, elementsOnly, rootNativeNode) {
|
|
27158
27253
|
for (let i = CONTAINER_HEADER_OFFSET; i < lContainer.length; i++) {
|
|
27159
27254
|
const childView = lContainer[i];
|
|
27160
27255
|
const firstChild = childView[TVIEW].firstChild;
|
|
27161
27256
|
if (firstChild) {
|
|
27162
|
-
|
|
27257
|
+
_queryNodeChildren(firstChild, childView, predicate, matches, elementsOnly, rootNativeNode);
|
|
27163
27258
|
}
|
|
27164
27259
|
}
|
|
27165
27260
|
}
|
|
@@ -27172,7 +27267,7 @@ function _queryNodeChildrenInContainerR3(lContainer, predicate, matches, element
|
|
|
27172
27267
|
* @param elementsOnly whether only elements should be searched
|
|
27173
27268
|
* @param rootNativeNode the root native node on which predicate should not be matched
|
|
27174
27269
|
*/
|
|
27175
|
-
function
|
|
27270
|
+
function _addQueryMatch(nativeNode, predicate, matches, elementsOnly, rootNativeNode) {
|
|
27176
27271
|
if (rootNativeNode !== nativeNode) {
|
|
27177
27272
|
const debugNode = getDebugNode(nativeNode);
|
|
27178
27273
|
if (!debugNode) {
|
|
@@ -27181,7 +27276,7 @@ function _addQueryMatchR3(nativeNode, predicate, matches, elementsOnly, rootNati
|
|
|
27181
27276
|
// Type of the "predicate and "matches" array are set based on the value of
|
|
27182
27277
|
// the "elementsOnly" parameter. TypeScript is not able to properly infer these
|
|
27183
27278
|
// types with generics, so we manually cast the parameters accordingly.
|
|
27184
|
-
if (elementsOnly && debugNode instanceof
|
|
27279
|
+
if (elementsOnly && (debugNode instanceof DebugElement) && predicate(debugNode) &&
|
|
27185
27280
|
matches.indexOf(debugNode) === -1) {
|
|
27186
27281
|
matches.push(debugNode);
|
|
27187
27282
|
}
|
|
@@ -27206,7 +27301,7 @@ function _queryNativeNodeDescendants(parentNode, predicate, matches, elementsOnl
|
|
|
27206
27301
|
const node = nodes[i];
|
|
27207
27302
|
const debugNode = getDebugNode(node);
|
|
27208
27303
|
if (debugNode) {
|
|
27209
|
-
if (elementsOnly && debugNode instanceof
|
|
27304
|
+
if (elementsOnly && (debugNode instanceof DebugElement) && predicate(debugNode) &&
|
|
27210
27305
|
matches.indexOf(debugNode) === -1) {
|
|
27211
27306
|
matches.push(debugNode);
|
|
27212
27307
|
}
|
|
@@ -27247,25 +27342,24 @@ function collectPropertyBindings(properties, tNode, lView, tData) {
|
|
|
27247
27342
|
// Need to keep the nodes in a global Map so that multiple angular apps are supported.
|
|
27248
27343
|
const _nativeNodeToDebugNode = new Map();
|
|
27249
27344
|
const NG_DEBUG_PROPERTY = '__ng_debug__';
|
|
27250
|
-
|
|
27345
|
+
/**
|
|
27346
|
+
* @publicApi
|
|
27347
|
+
*/
|
|
27348
|
+
function getDebugNode(nativeNode) {
|
|
27251
27349
|
if (nativeNode instanceof Node) {
|
|
27252
27350
|
if (!(nativeNode.hasOwnProperty(NG_DEBUG_PROPERTY))) {
|
|
27253
27351
|
nativeNode[NG_DEBUG_PROPERTY] = nativeNode.nodeType == Node.ELEMENT_NODE ?
|
|
27254
|
-
new
|
|
27255
|
-
new
|
|
27352
|
+
new DebugElement(nativeNode) :
|
|
27353
|
+
new DebugNode(nativeNode);
|
|
27256
27354
|
}
|
|
27257
27355
|
return nativeNode[NG_DEBUG_PROPERTY];
|
|
27258
27356
|
}
|
|
27259
27357
|
return null;
|
|
27260
27358
|
}
|
|
27261
|
-
|
|
27262
|
-
|
|
27263
|
-
*/
|
|
27264
|
-
const getDebugNode = getDebugNode__POST_R3__;
|
|
27265
|
-
function getDebugNodeR2__POST_R3__(_nativeNode) {
|
|
27359
|
+
// TODO: cleanup all references to this function and remove it.
|
|
27360
|
+
function getDebugNodeR2(_nativeNode) {
|
|
27266
27361
|
return null;
|
|
27267
27362
|
}
|
|
27268
|
-
const getDebugNodeR2 = getDebugNodeR2__POST_R3__;
|
|
27269
27363
|
function getAllDebugNodes() {
|
|
27270
27364
|
return Array.from(_nativeNodeToDebugNode.values());
|
|
27271
27365
|
}
|
|
@@ -27275,14 +27369,6 @@ function indexDebugNode(node) {
|
|
|
27275
27369
|
function removeDebugNodeFromIndex(node) {
|
|
27276
27370
|
_nativeNodeToDebugNode.delete(node.nativeNode);
|
|
27277
27371
|
}
|
|
27278
|
-
/**
|
|
27279
|
-
* @publicApi
|
|
27280
|
-
*/
|
|
27281
|
-
const DebugNode = DebugNode__POST_R3__;
|
|
27282
|
-
/**
|
|
27283
|
-
* @publicApi
|
|
27284
|
-
*/
|
|
27285
|
-
const DebugElement = DebugElement__POST_R3__;
|
|
27286
27372
|
|
|
27287
27373
|
/**
|
|
27288
27374
|
* @license
|
|
@@ -28517,6 +28603,18 @@ ApplicationModule.ɵinj = /*@__PURE__*/ ɵɵdefineInjector({ providers: APPLICAT
|
|
|
28517
28603
|
}], function () { return [{ type: ApplicationRef }]; }, null);
|
|
28518
28604
|
})();
|
|
28519
28605
|
|
|
28606
|
+
/**
|
|
28607
|
+
* @license
|
|
28608
|
+
* Copyright Google LLC All Rights Reserved.
|
|
28609
|
+
*
|
|
28610
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
28611
|
+
* found in the LICENSE file at https://angular.io/license
|
|
28612
|
+
*/
|
|
28613
|
+
/** Coerces a value (typically a string) to a boolean. */
|
|
28614
|
+
function coerceToBoolean(value) {
|
|
28615
|
+
return typeof value === 'boolean' ? value : (value != null && value !== 'false');
|
|
28616
|
+
}
|
|
28617
|
+
|
|
28520
28618
|
/**
|
|
28521
28619
|
* @license
|
|
28522
28620
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -28675,5 +28773,5 @@ if (typeof ngDevMode !== 'undefined' && ngDevMode) {
|
|
|
28675
28773
|
* Generated bundle index. Do not edit.
|
|
28676
28774
|
*/
|
|
28677
28775
|
|
|
28678
|
-
export { ANALYZE_FOR_ENTRY_COMPONENTS, APP_BOOTSTRAP_LISTENER, APP_ID, APP_INITIALIZER, ApplicationInitStatus, ApplicationModule, ApplicationRef, Attribute, COMPILER_OPTIONS, CUSTOM_ELEMENTS_SCHEMA, ChangeDetectionStrategy, ChangeDetectorRef, Compiler, CompilerFactory, Component, ComponentFactory$1 as ComponentFactory, ComponentFactoryResolver$1 as ComponentFactoryResolver, ComponentRef$1 as ComponentRef, ContentChild, ContentChildren, DEFAULT_CURRENCY_CODE, DebugElement, DebugEventListener, DebugNode, DefaultIterableDiffer, Directive, ElementRef, EmbeddedViewRef, ErrorHandler, EventEmitter, Host, HostBinding, HostListener, INJECTOR, Inject, InjectFlags, Injectable, InjectionToken, Injector, Input, IterableDiffers, KeyValueDiffers, LOCALE_ID, MissingTranslationStrategy, ModuleWithComponentFactories, NO_ERRORS_SCHEMA, NgModule, NgModuleFactory$1 as NgModuleFactory, NgModuleRef$1 as NgModuleRef, NgProbeToken, NgZone, Optional, Output, PACKAGE_ROOT_URL, PLATFORM_ID, PLATFORM_INITIALIZER, Pipe, PlatformRef, Query, QueryList, ReflectiveInjector, ReflectiveKey, Renderer2, RendererFactory2, RendererStyleFlags2, ResolvedReflectiveFactory, Sanitizer, SecurityContext, Self, SimpleChange, SkipSelf, TRANSLATIONS, TRANSLATIONS_FORMAT, TemplateRef, Testability, TestabilityRegistry, Type, VERSION, Version, ViewChild, ViewChildren, ViewContainerRef, ViewEncapsulation$1 as ViewEncapsulation, ViewRef, asNativeElements, assertPlatform, createNgModuleRef, createPlatform, createPlatformFactory, defineInjectable, destroyPlatform, enableProdMode, forwardRef, getDebugNode, getModuleFactory, getNgModuleById, getPlatform, inject, isDevMode, platformCore, resolveForwardRef, setTestabilityGetter, ALLOW_MULTIPLE_PLATFORMS as ɵALLOW_MULTIPLE_PLATFORMS, APP_ID_RANDOM_PROVIDER as ɵAPP_ID_RANDOM_PROVIDER, ChangeDetectorStatus as ɵChangeDetectorStatus, ComponentFactory$1 as ɵComponentFactory, Console as ɵConsole, DEFAULT_LOCALE_ID as ɵDEFAULT_LOCALE_ID, INJECTOR_SCOPE as ɵINJECTOR_SCOPE, LifecycleHooksFeature as ɵLifecycleHooksFeature, LocaleDataIndex as ɵLocaleDataIndex, NG_COMP_DEF as ɵNG_COMP_DEF, NG_DIR_DEF as ɵNG_DIR_DEF, NG_ELEMENT_ID as ɵNG_ELEMENT_ID, NG_INJ_DEF as ɵNG_INJ_DEF, NG_MOD_DEF as ɵNG_MOD_DEF, NG_PIPE_DEF as ɵNG_PIPE_DEF, NG_PROV_DEF as ɵNG_PROV_DEF, NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR as ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR, NO_CHANGE as ɵNO_CHANGE, NgModuleFactory as ɵNgModuleFactory, NoopNgZone as ɵNoopNgZone, ReflectionCapabilities as ɵReflectionCapabilities, ComponentFactory as ɵRender3ComponentFactory, ComponentRef as ɵRender3ComponentRef, NgModuleRef as ɵRender3NgModuleRef, RuntimeError as ɵRuntimeError, ViewRef$1 as ɵViewRef, _sanitizeHtml as ɵ_sanitizeHtml, _sanitizeUrl as ɵ_sanitizeUrl, allowSanitizationBypassAndThrow as ɵallowSanitizationBypassAndThrow, bypassSanitizationTrustHtml as ɵbypassSanitizationTrustHtml, bypassSanitizationTrustResourceUrl as ɵbypassSanitizationTrustResourceUrl, bypassSanitizationTrustScript as ɵbypassSanitizationTrustScript, bypassSanitizationTrustStyle as ɵbypassSanitizationTrustStyle, bypassSanitizationTrustUrl as ɵbypassSanitizationTrustUrl, clearResolutionOfComponentResourcesQueue as ɵclearResolutionOfComponentResourcesQueue, compileComponent as ɵcompileComponent, compileDirective as ɵcompileDirective, compileNgModule as ɵcompileNgModule, compileNgModuleDefs as ɵcompileNgModuleDefs, compileNgModuleFactory as ɵcompileNgModuleFactory, compilePipe as ɵcompilePipe, createInjector as ɵcreateInjector, defaultIterableDiffers as ɵdefaultIterableDiffers, defaultKeyValueDiffers as ɵdefaultKeyValueDiffers, detectChanges as ɵdetectChanges, devModeEqual as ɵdevModeEqual, findLocaleData as ɵfindLocaleData, flushModuleScopingQueueAsMuchAsPossible as ɵflushModuleScopingQueueAsMuchAsPossible, getDebugNode as ɵgetDebugNode, getDebugNodeR2 as ɵgetDebugNodeR2, getDirectives as ɵgetDirectives, getHostElement as ɵgetHostElement, getInjectableDef as ɵgetInjectableDef, getLContext as ɵgetLContext, getLocaleCurrencyCode as ɵgetLocaleCurrencyCode, getLocalePluralCase as ɵgetLocalePluralCase, getSanitizationBypassType as ɵgetSanitizationBypassType, _global as ɵglobal, injectChangeDetectorRef as ɵinjectChangeDetectorRef, isBoundToModule as ɵisBoundToModule, isDefaultChangeDetectionStrategy as ɵisDefaultChangeDetectionStrategy, isListLikeIterable as ɵisListLikeIterable, isObservable as ɵisObservable, isPromise as ɵisPromise, isSubscribable as ɵisSubscribable, ɵivyEnabled, makeDecorator as ɵmakeDecorator, markDirty as ɵmarkDirty, noSideEffects as ɵnoSideEffects, patchComponentDefWithScope as ɵpatchComponentDefWithScope, publishDefaultGlobalUtils$1 as ɵpublishDefaultGlobalUtils, publishGlobalUtil as ɵpublishGlobalUtil, registerLocaleData as ɵregisterLocaleData, registerNgModuleType as ɵregisterNgModuleType, renderComponent as ɵrenderComponent, resetCompiledComponents as ɵresetCompiledComponents, resetJitOptions as ɵresetJitOptions, resolveComponentResources as ɵresolveComponentResources, setClassMetadata as ɵsetClassMetadata, setCurrentInjector as ɵsetCurrentInjector, setDocument as ɵsetDocument, setLocaleId as ɵsetLocaleId, store as ɵstore, stringify as ɵstringify, transitiveScopesFor as ɵtransitiveScopesFor, unregisterAllLocaleData as ɵunregisterLocaleData, unwrapSafeValue as ɵunwrapSafeValue, whenRendered as ɵwhenRendered, ɵɵCopyDefinitionFeature, FactoryTarget as ɵɵFactoryTarget, ɵɵInheritDefinitionFeature, ɵɵNgOnChangesFeature, ɵɵProvidersFeature, ɵɵadvance, ɵɵattribute, ɵɵattributeInterpolate1, ɵɵattributeInterpolate2, ɵɵattributeInterpolate3, ɵɵattributeInterpolate4, ɵɵattributeInterpolate5, ɵɵattributeInterpolate6, ɵɵattributeInterpolate7, ɵɵattributeInterpolate8, ɵɵattributeInterpolateV, ɵɵclassMap, ɵɵclassMapInterpolate1, ɵɵclassMapInterpolate2, ɵɵclassMapInterpolate3, ɵɵclassMapInterpolate4, ɵɵclassMapInterpolate5, ɵɵclassMapInterpolate6, ɵɵclassMapInterpolate7, ɵɵclassMapInterpolate8, ɵɵclassMapInterpolateV, ɵɵclassProp, ɵɵcontentQuery, ɵɵdefineComponent, ɵɵdefineDirective, ɵɵdefineInjectable, ɵɵdefineInjector, ɵɵdefineNgModule, ɵɵdefinePipe, ɵɵdirectiveInject, ɵɵdisableBindings, ɵɵelement, ɵɵelementContainer, ɵɵelementContainerEnd, ɵɵelementContainerStart, ɵɵelementEnd, ɵɵelementStart, ɵɵenableBindings, ɵɵgetCurrentView, ɵɵgetInheritedFactory, ɵɵhostProperty, ɵɵi18n, ɵɵi18nApply, ɵɵi18nAttributes, ɵɵi18nEnd, ɵɵi18nExp, ɵɵi18nPostprocess, ɵɵi18nStart, ɵɵinject, ɵɵinjectAttribute, ɵɵinvalidFactory, ɵɵinvalidFactoryDep, ɵɵlistener, ɵɵloadQuery, ɵɵnamespaceHTML, ɵɵnamespaceMathML, ɵɵnamespaceSVG, ɵɵnextContext, ɵɵngDeclareClassMetadata, ɵɵngDeclareComponent, ɵɵngDeclareDirective, ɵɵngDeclareFactory, ɵɵngDeclareInjectable, ɵɵngDeclareInjector, ɵɵngDeclareNgModule, ɵɵngDeclarePipe, ɵɵpipe, ɵɵpipeBind1, ɵɵpipeBind2, ɵɵpipeBind3, ɵɵpipeBind4, ɵɵpipeBindV, ɵɵprojection, ɵɵprojectionDef, ɵɵproperty, ɵɵpropertyInterpolate, ɵɵpropertyInterpolate1, ɵɵpropertyInterpolate2, ɵɵpropertyInterpolate3, ɵɵpropertyInterpolate4, ɵɵpropertyInterpolate5, ɵɵpropertyInterpolate6, ɵɵpropertyInterpolate7, ɵɵpropertyInterpolate8, ɵɵpropertyInterpolateV, ɵɵpureFunction0, ɵɵpureFunction1, ɵɵpureFunction2, ɵɵpureFunction3, ɵɵpureFunction4, ɵɵpureFunction5, ɵɵpureFunction6, ɵɵpureFunction7, ɵɵpureFunction8, ɵɵpureFunctionV, ɵɵqueryRefresh, ɵɵreference, ɵɵresolveBody, ɵɵresolveDocument, ɵɵresolveWindow, ɵɵrestoreView, ɵɵsanitizeHtml, ɵɵsanitizeResourceUrl, ɵɵsanitizeScript, ɵɵsanitizeStyle, ɵɵsanitizeUrl, ɵɵsanitizeUrlOrResourceUrl, ɵɵsetComponentScope, ɵɵsetNgModuleScope, ɵɵstyleMap, ɵɵstyleMapInterpolate1, ɵɵstyleMapInterpolate2, ɵɵstyleMapInterpolate3, ɵɵstyleMapInterpolate4, ɵɵstyleMapInterpolate5, ɵɵstyleMapInterpolate6, ɵɵstyleMapInterpolate7, ɵɵstyleMapInterpolate8, ɵɵstyleMapInterpolateV, ɵɵstyleProp, ɵɵstylePropInterpolate1, ɵɵstylePropInterpolate2, ɵɵstylePropInterpolate3, ɵɵstylePropInterpolate4, ɵɵstylePropInterpolate5, ɵɵstylePropInterpolate6, ɵɵstylePropInterpolate7, ɵɵstylePropInterpolate8, ɵɵstylePropInterpolateV, ɵɵsyntheticHostListener, ɵɵsyntheticHostProperty, ɵɵtemplate, ɵɵtemplateRefExtractor, ɵɵtext, ɵɵtextInterpolate, ɵɵtextInterpolate1, ɵɵtextInterpolate2, ɵɵtextInterpolate3, ɵɵtextInterpolate4, ɵɵtextInterpolate5, ɵɵtextInterpolate6, ɵɵtextInterpolate7, ɵɵtextInterpolate8, ɵɵtextInterpolateV, ɵɵtrustConstantHtml, ɵɵtrustConstantResourceUrl, ɵɵviewQuery };
|
|
28776
|
+
export { ANALYZE_FOR_ENTRY_COMPONENTS, APP_BOOTSTRAP_LISTENER, APP_ID, APP_INITIALIZER, ApplicationInitStatus, ApplicationModule, ApplicationRef, Attribute, COMPILER_OPTIONS, CUSTOM_ELEMENTS_SCHEMA, ChangeDetectionStrategy, ChangeDetectorRef, Compiler, CompilerFactory, Component, ComponentFactory$1 as ComponentFactory, ComponentFactoryResolver$1 as ComponentFactoryResolver, ComponentRef$1 as ComponentRef, ContentChild, ContentChildren, DEFAULT_CURRENCY_CODE, DebugElement, DebugEventListener, DebugNode, DefaultIterableDiffer, Directive, ElementRef, EmbeddedViewRef, ErrorHandler, EventEmitter, Host, HostBinding, HostListener, INJECTOR, Inject, InjectFlags, Injectable, InjectionToken, Injector, Input, IterableDiffers, KeyValueDiffers, LOCALE_ID, MissingTranslationStrategy, ModuleWithComponentFactories, NO_ERRORS_SCHEMA, NgModule, NgModuleFactory$1 as NgModuleFactory, NgModuleRef$1 as NgModuleRef, NgProbeToken, NgZone, Optional, Output, PACKAGE_ROOT_URL, PLATFORM_ID, PLATFORM_INITIALIZER, Pipe, PlatformRef, Query, QueryList, ReflectiveInjector, ReflectiveKey, Renderer2, RendererFactory2, RendererStyleFlags2, ResolvedReflectiveFactory, Sanitizer, SecurityContext, Self, SimpleChange, SkipSelf, TRANSLATIONS, TRANSLATIONS_FORMAT, TemplateRef, Testability, TestabilityRegistry, Type, VERSION, Version, ViewChild, ViewChildren, ViewContainerRef, ViewEncapsulation$1 as ViewEncapsulation, ViewRef, asNativeElements, assertPlatform, createNgModuleRef, createPlatform, createPlatformFactory, defineInjectable, destroyPlatform, enableProdMode, forwardRef, getDebugNode, getModuleFactory, getNgModuleById, getPlatform, inject, isDevMode, platformCore, resolveForwardRef, setTestabilityGetter, ALLOW_MULTIPLE_PLATFORMS as ɵALLOW_MULTIPLE_PLATFORMS, APP_ID_RANDOM_PROVIDER as ɵAPP_ID_RANDOM_PROVIDER, ChangeDetectorStatus as ɵChangeDetectorStatus, ComponentFactory$1 as ɵComponentFactory, Console as ɵConsole, DEFAULT_LOCALE_ID as ɵDEFAULT_LOCALE_ID, INJECTOR_SCOPE as ɵINJECTOR_SCOPE, LifecycleHooksFeature as ɵLifecycleHooksFeature, LocaleDataIndex as ɵLocaleDataIndex, NG_COMP_DEF as ɵNG_COMP_DEF, NG_DIR_DEF as ɵNG_DIR_DEF, NG_ELEMENT_ID as ɵNG_ELEMENT_ID, NG_INJ_DEF as ɵNG_INJ_DEF, NG_MOD_DEF as ɵNG_MOD_DEF, NG_PIPE_DEF as ɵNG_PIPE_DEF, NG_PROV_DEF as ɵNG_PROV_DEF, NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR as ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR, NO_CHANGE as ɵNO_CHANGE, NgModuleFactory as ɵNgModuleFactory, NoopNgZone as ɵNoopNgZone, ReflectionCapabilities as ɵReflectionCapabilities, ComponentFactory as ɵRender3ComponentFactory, ComponentRef as ɵRender3ComponentRef, NgModuleRef as ɵRender3NgModuleRef, RuntimeError as ɵRuntimeError, ViewRef$1 as ɵViewRef, _sanitizeHtml as ɵ_sanitizeHtml, _sanitizeUrl as ɵ_sanitizeUrl, allowSanitizationBypassAndThrow as ɵallowSanitizationBypassAndThrow, bypassSanitizationTrustHtml as ɵbypassSanitizationTrustHtml, bypassSanitizationTrustResourceUrl as ɵbypassSanitizationTrustResourceUrl, bypassSanitizationTrustScript as ɵbypassSanitizationTrustScript, bypassSanitizationTrustStyle as ɵbypassSanitizationTrustStyle, bypassSanitizationTrustUrl as ɵbypassSanitizationTrustUrl, clearResolutionOfComponentResourcesQueue as ɵclearResolutionOfComponentResourcesQueue, coerceToBoolean as ɵcoerceToBoolean, compileComponent as ɵcompileComponent, compileDirective as ɵcompileDirective, compileNgModule as ɵcompileNgModule, compileNgModuleDefs as ɵcompileNgModuleDefs, compileNgModuleFactory as ɵcompileNgModuleFactory, compilePipe as ɵcompilePipe, createInjector as ɵcreateInjector, defaultIterableDiffers as ɵdefaultIterableDiffers, defaultKeyValueDiffers as ɵdefaultKeyValueDiffers, detectChanges as ɵdetectChanges, devModeEqual as ɵdevModeEqual, findLocaleData as ɵfindLocaleData, flushModuleScopingQueueAsMuchAsPossible as ɵflushModuleScopingQueueAsMuchAsPossible, getDebugNode as ɵgetDebugNode, getDebugNodeR2 as ɵgetDebugNodeR2, getDirectives as ɵgetDirectives, getHostElement as ɵgetHostElement, getInjectableDef as ɵgetInjectableDef, getLContext as ɵgetLContext, getLocaleCurrencyCode as ɵgetLocaleCurrencyCode, getLocalePluralCase as ɵgetLocalePluralCase, getSanitizationBypassType as ɵgetSanitizationBypassType, _global as ɵglobal, injectChangeDetectorRef as ɵinjectChangeDetectorRef, isBoundToModule as ɵisBoundToModule, isDefaultChangeDetectionStrategy as ɵisDefaultChangeDetectionStrategy, isListLikeIterable as ɵisListLikeIterable, isObservable as ɵisObservable, isPromise as ɵisPromise, isSubscribable as ɵisSubscribable, ɵivyEnabled, makeDecorator as ɵmakeDecorator, markDirty as ɵmarkDirty, noSideEffects as ɵnoSideEffects, patchComponentDefWithScope as ɵpatchComponentDefWithScope, publishDefaultGlobalUtils$1 as ɵpublishDefaultGlobalUtils, publishGlobalUtil as ɵpublishGlobalUtil, registerLocaleData as ɵregisterLocaleData, registerNgModuleType as ɵregisterNgModuleType, renderComponent as ɵrenderComponent, resetCompiledComponents as ɵresetCompiledComponents, resetJitOptions as ɵresetJitOptions, resolveComponentResources as ɵresolveComponentResources, setClassMetadata as ɵsetClassMetadata, setCurrentInjector as ɵsetCurrentInjector, setDocument as ɵsetDocument, setLocaleId as ɵsetLocaleId, store as ɵstore, stringify as ɵstringify, transitiveScopesFor as ɵtransitiveScopesFor, unregisterAllLocaleData as ɵunregisterLocaleData, unwrapSafeValue as ɵunwrapSafeValue, whenRendered as ɵwhenRendered, ɵɵCopyDefinitionFeature, FactoryTarget as ɵɵFactoryTarget, ɵɵInheritDefinitionFeature, ɵɵNgOnChangesFeature, ɵɵProvidersFeature, ɵɵadvance, ɵɵattribute, ɵɵattributeInterpolate1, ɵɵattributeInterpolate2, ɵɵattributeInterpolate3, ɵɵattributeInterpolate4, ɵɵattributeInterpolate5, ɵɵattributeInterpolate6, ɵɵattributeInterpolate7, ɵɵattributeInterpolate8, ɵɵattributeInterpolateV, ɵɵclassMap, ɵɵclassMapInterpolate1, ɵɵclassMapInterpolate2, ɵɵclassMapInterpolate3, ɵɵclassMapInterpolate4, ɵɵclassMapInterpolate5, ɵɵclassMapInterpolate6, ɵɵclassMapInterpolate7, ɵɵclassMapInterpolate8, ɵɵclassMapInterpolateV, ɵɵclassProp, ɵɵcontentQuery, ɵɵdefineComponent, ɵɵdefineDirective, ɵɵdefineInjectable, ɵɵdefineInjector, ɵɵdefineNgModule, ɵɵdefinePipe, ɵɵdirectiveInject, ɵɵdisableBindings, ɵɵelement, ɵɵelementContainer, ɵɵelementContainerEnd, ɵɵelementContainerStart, ɵɵelementEnd, ɵɵelementStart, ɵɵenableBindings, ɵɵgetCurrentView, ɵɵgetInheritedFactory, ɵɵhostProperty, ɵɵi18n, ɵɵi18nApply, ɵɵi18nAttributes, ɵɵi18nEnd, ɵɵi18nExp, ɵɵi18nPostprocess, ɵɵi18nStart, ɵɵinject, ɵɵinjectAttribute, ɵɵinvalidFactory, ɵɵinvalidFactoryDep, ɵɵlistener, ɵɵloadQuery, ɵɵnamespaceHTML, ɵɵnamespaceMathML, ɵɵnamespaceSVG, ɵɵnextContext, ɵɵngDeclareClassMetadata, ɵɵngDeclareComponent, ɵɵngDeclareDirective, ɵɵngDeclareFactory, ɵɵngDeclareInjectable, ɵɵngDeclareInjector, ɵɵngDeclareNgModule, ɵɵngDeclarePipe, ɵɵpipe, ɵɵpipeBind1, ɵɵpipeBind2, ɵɵpipeBind3, ɵɵpipeBind4, ɵɵpipeBindV, ɵɵprojection, ɵɵprojectionDef, ɵɵproperty, ɵɵpropertyInterpolate, ɵɵpropertyInterpolate1, ɵɵpropertyInterpolate2, ɵɵpropertyInterpolate3, ɵɵpropertyInterpolate4, ɵɵpropertyInterpolate5, ɵɵpropertyInterpolate6, ɵɵpropertyInterpolate7, ɵɵpropertyInterpolate8, ɵɵpropertyInterpolateV, ɵɵpureFunction0, ɵɵpureFunction1, ɵɵpureFunction2, ɵɵpureFunction3, ɵɵpureFunction4, ɵɵpureFunction5, ɵɵpureFunction6, ɵɵpureFunction7, ɵɵpureFunction8, ɵɵpureFunctionV, ɵɵqueryRefresh, ɵɵreference, ɵɵresolveBody, ɵɵresolveDocument, ɵɵresolveWindow, ɵɵrestoreView, ɵɵsanitizeHtml, ɵɵsanitizeResourceUrl, ɵɵsanitizeScript, ɵɵsanitizeStyle, ɵɵsanitizeUrl, ɵɵsanitizeUrlOrResourceUrl, ɵɵsetComponentScope, ɵɵsetNgModuleScope, ɵɵstyleMap, ɵɵstyleMapInterpolate1, ɵɵstyleMapInterpolate2, ɵɵstyleMapInterpolate3, ɵɵstyleMapInterpolate4, ɵɵstyleMapInterpolate5, ɵɵstyleMapInterpolate6, ɵɵstyleMapInterpolate7, ɵɵstyleMapInterpolate8, ɵɵstyleMapInterpolateV, ɵɵstyleProp, ɵɵstylePropInterpolate1, ɵɵstylePropInterpolate2, ɵɵstylePropInterpolate3, ɵɵstylePropInterpolate4, ɵɵstylePropInterpolate5, ɵɵstylePropInterpolate6, ɵɵstylePropInterpolate7, ɵɵstylePropInterpolate8, ɵɵstylePropInterpolateV, ɵɵsyntheticHostListener, ɵɵsyntheticHostProperty, ɵɵtemplate, ɵɵtemplateRefExtractor, ɵɵtext, ɵɵtextInterpolate, ɵɵtextInterpolate1, ɵɵtextInterpolate2, ɵɵtextInterpolate3, ɵɵtextInterpolate4, ɵɵtextInterpolate5, ɵɵtextInterpolate6, ɵɵtextInterpolate7, ɵɵtextInterpolate8, ɵɵtextInterpolateV, ɵɵtrustConstantHtml, ɵɵtrustConstantResourceUrl, ɵɵviewQuery };
|
|
28679
28777
|
//# sourceMappingURL=core.mjs.map
|