@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/fesm2020/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;
|
|
@@ -10392,7 +10409,7 @@ function cacheMatchingLocalNames(tNode, localRefs, exportsMap) {
|
|
|
10392
10409
|
for (let i = 0; i < localRefs.length; i += 2) {
|
|
10393
10410
|
const index = exportsMap[localRefs[i + 1]];
|
|
10394
10411
|
if (index == null)
|
|
10395
|
-
throw new RuntimeError(-301 /* EXPORT_NOT_FOUND */, `Export of name '${localRefs[i + 1]}' not found!`);
|
|
10412
|
+
throw new RuntimeError(-301 /* EXPORT_NOT_FOUND */, ngDevMode && `Export of name '${localRefs[i + 1]}' not found!`);
|
|
10396
10413
|
localNames.push(localRefs[i], index);
|
|
10397
10414
|
}
|
|
10398
10415
|
}
|
|
@@ -11318,10 +11335,7 @@ class R3Injector {
|
|
|
11318
11335
|
}
|
|
11319
11336
|
assertNotDestroyed() {
|
|
11320
11337
|
if (this._destroyed) {
|
|
11321
|
-
|
|
11322
|
-
'Injector has already been destroyed.' :
|
|
11323
|
-
'';
|
|
11324
|
-
throw new RuntimeError(205 /* INJECTOR_ALREADY_DESTROYED */, errorMessage);
|
|
11338
|
+
throw new RuntimeError(205 /* INJECTOR_ALREADY_DESTROYED */, ngDevMode && 'Injector has already been destroyed.');
|
|
11325
11339
|
}
|
|
11326
11340
|
}
|
|
11327
11341
|
/**
|
|
@@ -11485,28 +11499,21 @@ function injectableDefOrInjectorDefFactory(token) {
|
|
|
11485
11499
|
// InjectionTokens should have an injectable def (ɵprov) and thus should be handled above.
|
|
11486
11500
|
// If it's missing that, it's an error.
|
|
11487
11501
|
if (token instanceof InjectionToken) {
|
|
11488
|
-
|
|
11489
|
-
`Token ${stringify(token)} is missing a ɵprov definition.` :
|
|
11490
|
-
'';
|
|
11491
|
-
throw new RuntimeError(204 /* INVALID_INJECTION_TOKEN */, errorMessage);
|
|
11502
|
+
throw new RuntimeError(204 /* INVALID_INJECTION_TOKEN */, ngDevMode && `Token ${stringify(token)} is missing a ɵprov definition.`);
|
|
11492
11503
|
}
|
|
11493
11504
|
// Undecorated types can sometimes be created if they have no constructor arguments.
|
|
11494
11505
|
if (token instanceof Function) {
|
|
11495
11506
|
return getUndecoratedInjectableFactory(token);
|
|
11496
11507
|
}
|
|
11497
11508
|
// There was no way to resolve a factory for this token.
|
|
11498
|
-
|
|
11499
|
-
throw new RuntimeError(204 /* INVALID_INJECTION_TOKEN */, errorMessage);
|
|
11509
|
+
throw new RuntimeError(204 /* INVALID_INJECTION_TOKEN */, ngDevMode && 'unreachable');
|
|
11500
11510
|
}
|
|
11501
11511
|
function getUndecoratedInjectableFactory(token) {
|
|
11502
11512
|
// If the token has parameters then it has dependencies that we cannot resolve implicitly.
|
|
11503
11513
|
const paramLength = token.length;
|
|
11504
11514
|
if (paramLength > 0) {
|
|
11505
11515
|
const args = newArray(paramLength, '?');
|
|
11506
|
-
|
|
11507
|
-
`Can't resolve all parameters for ${stringify(token)}: (${args.join(', ')}).` :
|
|
11508
|
-
'';
|
|
11509
|
-
throw new RuntimeError(204 /* INVALID_INJECTION_TOKEN */, errorMessage);
|
|
11516
|
+
throw new RuntimeError(204 /* INVALID_INJECTION_TOKEN */, ngDevMode && `Can't resolve all parameters for ${stringify(token)}: (${args.join(', ')}).`);
|
|
11510
11517
|
}
|
|
11511
11518
|
// The constructor function appears to have no parameters.
|
|
11512
11519
|
// This might be because it inherits from a super-class. In which case, use an injectable
|
|
@@ -21083,7 +21090,7 @@ class Version {
|
|
|
21083
21090
|
/**
|
|
21084
21091
|
* @publicApi
|
|
21085
21092
|
*/
|
|
21086
|
-
const VERSION = new Version('
|
|
21093
|
+
const VERSION = new Version('14.0.0-next.2');
|
|
21087
21094
|
|
|
21088
21095
|
/**
|
|
21089
21096
|
* @license
|
|
@@ -24355,7 +24362,10 @@ function directiveMetadata(type, metadata) {
|
|
|
24355
24362
|
usesInheritance: !extendsDirectlyFromObject(type),
|
|
24356
24363
|
exportAs: extractExportAs(metadata.exportAs),
|
|
24357
24364
|
providers: metadata.providers || null,
|
|
24358
|
-
viewQueries: extractQueriesMetadata(type, propMetadata, isViewQuery)
|
|
24365
|
+
viewQueries: extractQueriesMetadata(type, propMetadata, isViewQuery),
|
|
24366
|
+
// TODO(alxhub): pass through the standalone flag from the directive metadata once standalone
|
|
24367
|
+
// functionality is fully rolled out.
|
|
24368
|
+
isStandalone: false,
|
|
24359
24369
|
};
|
|
24360
24370
|
}
|
|
24361
24371
|
/**
|
|
@@ -24499,7 +24509,10 @@ function getPipeMetadata(type, meta) {
|
|
|
24499
24509
|
type: type,
|
|
24500
24510
|
name: type.name,
|
|
24501
24511
|
pipeName: meta.name,
|
|
24502
|
-
pure: meta.pure !== undefined ? meta.pure : true
|
|
24512
|
+
pure: meta.pure !== undefined ? meta.pure : true,
|
|
24513
|
+
// TODO(alxhub): pass through the standalone flag from the pipe metadata once standalone
|
|
24514
|
+
// functionality is fully rolled out.
|
|
24515
|
+
isStandalone: false,
|
|
24503
24516
|
};
|
|
24504
24517
|
}
|
|
24505
24518
|
|
|
@@ -24574,19 +24587,20 @@ const HostBinding = makePropDecorator('HostBinding', (hostPropertyName) => ({ ho
|
|
|
24574
24587
|
*
|
|
24575
24588
|
* ```
|
|
24576
24589
|
*
|
|
24577
|
-
* The following example registers another DOM event handler that listens for key-press
|
|
24590
|
+
* The following example registers another DOM event handler that listens for `Enter` key-press
|
|
24591
|
+
* events on the global `window`.
|
|
24578
24592
|
* ``` ts
|
|
24579
24593
|
* import { HostListener, Component } from "@angular/core";
|
|
24580
24594
|
*
|
|
24581
24595
|
* @Component({
|
|
24582
24596
|
* selector: 'app',
|
|
24583
|
-
* template: `<h1>Hello, you have pressed
|
|
24584
|
-
* increment the counter.
|
|
24597
|
+
* template: `<h1>Hello, you have pressed enter {{counter}} number of times!</h1> Press enter key
|
|
24598
|
+
* to increment the counter.
|
|
24585
24599
|
* <button (click)="resetCounter()">Reset Counter</button>`
|
|
24586
24600
|
* })
|
|
24587
24601
|
* class AppComponent {
|
|
24588
24602
|
* counter = 0;
|
|
24589
|
-
* @HostListener('window:keydown', ['$event'])
|
|
24603
|
+
* @HostListener('window:keydown.enter', ['$event'])
|
|
24590
24604
|
* handleKeyDown(event: KeyboardEvent) {
|
|
24591
24605
|
* this.counter++;
|
|
24592
24606
|
* }
|
|
@@ -24595,6 +24609,14 @@ const HostBinding = makePropDecorator('HostBinding', (hostPropertyName) => ({ ho
|
|
|
24595
24609
|
* }
|
|
24596
24610
|
* }
|
|
24597
24611
|
* ```
|
|
24612
|
+
* The list of valid key names for `keydown` and `keyup` events
|
|
24613
|
+
* can be found here:
|
|
24614
|
+
* https://www.w3.org/TR/DOM-Level-3-Events-key/#named-key-attribute-values
|
|
24615
|
+
*
|
|
24616
|
+
* Note that keys can also be combined, e.g. `@HostListener('keydown.shift.a')`.
|
|
24617
|
+
*
|
|
24618
|
+
* The global target names that can be used to prefix an event name are
|
|
24619
|
+
* `document:`, `window:` and `body:`.
|
|
24598
24620
|
*
|
|
24599
24621
|
* @Annotation
|
|
24600
24622
|
* @publicApi
|
|
@@ -25998,26 +26020,7 @@ class PlatformRef {
|
|
|
25998
26020
|
this._destroyed = false;
|
|
25999
26021
|
}
|
|
26000
26022
|
/**
|
|
26001
|
-
* Creates an instance of an `@NgModule` for the given platform
|
|
26002
|
-
*
|
|
26003
|
-
* @usageNotes
|
|
26004
|
-
*
|
|
26005
|
-
* The following example creates the NgModule for a browser platform.
|
|
26006
|
-
*
|
|
26007
|
-
* ```typescript
|
|
26008
|
-
* my_module.ts:
|
|
26009
|
-
*
|
|
26010
|
-
* @NgModule({
|
|
26011
|
-
* imports: [BrowserModule]
|
|
26012
|
-
* })
|
|
26013
|
-
* class MyModule {}
|
|
26014
|
-
*
|
|
26015
|
-
* main.ts:
|
|
26016
|
-
* import {MyModuleNgFactory} from './my_module.ngfactory';
|
|
26017
|
-
* import {platformBrowser} from '@angular/platform-browser';
|
|
26018
|
-
*
|
|
26019
|
-
* let moduleRef = platformBrowser().bootstrapModuleFactory(MyModuleNgFactory);
|
|
26020
|
-
* ```
|
|
26023
|
+
* Creates an instance of an `@NgModule` for the given platform.
|
|
26021
26024
|
*
|
|
26022
26025
|
* @deprecated Passing NgModule factories as the `PlatformRef.bootstrapModuleFactory` function
|
|
26023
26026
|
* argument is deprecated. Use the `PlatformRef.bootstrapModule` API instead.
|
|
@@ -26071,7 +26074,7 @@ class PlatformRef {
|
|
|
26071
26074
|
});
|
|
26072
26075
|
}
|
|
26073
26076
|
/**
|
|
26074
|
-
* Creates an instance of an `@NgModule` for a given platform
|
|
26077
|
+
* Creates an instance of an `@NgModule` for a given platform.
|
|
26075
26078
|
*
|
|
26076
26079
|
* @usageNotes
|
|
26077
26080
|
* ### Simple Example
|
|
@@ -26814,8 +26817,6 @@ var ng_module_factory_loader_impl = {};
|
|
|
26814
26817
|
* Use of this source code is governed by an MIT-style license that can be
|
|
26815
26818
|
* found in the LICENSE file at https://angular.io/license
|
|
26816
26819
|
*/
|
|
26817
|
-
// TODO(alxhub): recombine the interfaces and implementations here and move the docs back onto the
|
|
26818
|
-
// original classes.
|
|
26819
26820
|
/**
|
|
26820
26821
|
* @publicApi
|
|
26821
26822
|
*/
|
|
@@ -26831,43 +26832,88 @@ class DebugEventListener {
|
|
|
26831
26832
|
function asNativeElements(debugEls) {
|
|
26832
26833
|
return debugEls.map((el) => el.nativeElement);
|
|
26833
26834
|
}
|
|
26834
|
-
|
|
26835
|
+
/**
|
|
26836
|
+
* @publicApi
|
|
26837
|
+
*/
|
|
26838
|
+
class DebugNode {
|
|
26835
26839
|
constructor(nativeNode) {
|
|
26836
26840
|
this.nativeNode = nativeNode;
|
|
26837
26841
|
}
|
|
26842
|
+
/**
|
|
26843
|
+
* The `DebugElement` parent. Will be `null` if this is the root element.
|
|
26844
|
+
*/
|
|
26838
26845
|
get parent() {
|
|
26839
26846
|
const parent = this.nativeNode.parentNode;
|
|
26840
|
-
return parent ? new
|
|
26847
|
+
return parent ? new DebugElement(parent) : null;
|
|
26841
26848
|
}
|
|
26849
|
+
/**
|
|
26850
|
+
* The host dependency injector. For example, the root element's component instance injector.
|
|
26851
|
+
*/
|
|
26842
26852
|
get injector() {
|
|
26843
26853
|
return getInjector(this.nativeNode);
|
|
26844
26854
|
}
|
|
26855
|
+
/**
|
|
26856
|
+
* The element's own component instance, if it has one.
|
|
26857
|
+
*/
|
|
26845
26858
|
get componentInstance() {
|
|
26846
26859
|
const nativeElement = this.nativeNode;
|
|
26847
26860
|
return nativeElement &&
|
|
26848
26861
|
(getComponent$1(nativeElement) || getOwningComponent(nativeElement));
|
|
26849
26862
|
}
|
|
26863
|
+
/**
|
|
26864
|
+
* An object that provides parent context for this element. Often an ancestor component instance
|
|
26865
|
+
* that governs this element.
|
|
26866
|
+
*
|
|
26867
|
+
* When an element is repeated within *ngFor, the context is an `NgForOf` whose `$implicit`
|
|
26868
|
+
* property is the value of the row instance value. For example, the `hero` in `*ngFor="let hero
|
|
26869
|
+
* of heroes"`.
|
|
26870
|
+
*/
|
|
26850
26871
|
get context() {
|
|
26851
26872
|
return getComponent$1(this.nativeNode) || getContext(this.nativeNode);
|
|
26852
26873
|
}
|
|
26874
|
+
/**
|
|
26875
|
+
* The callbacks attached to the component's @Output properties and/or the element's event
|
|
26876
|
+
* properties.
|
|
26877
|
+
*/
|
|
26853
26878
|
get listeners() {
|
|
26854
26879
|
return getListeners(this.nativeNode).filter(listener => listener.type === 'dom');
|
|
26855
26880
|
}
|
|
26881
|
+
/**
|
|
26882
|
+
* Dictionary of objects associated with template local variables (e.g. #foo), keyed by the local
|
|
26883
|
+
* variable name.
|
|
26884
|
+
*/
|
|
26856
26885
|
get references() {
|
|
26857
26886
|
return getLocalRefs(this.nativeNode);
|
|
26858
26887
|
}
|
|
26888
|
+
/**
|
|
26889
|
+
* This component's injector lookup tokens. Includes the component itself plus the tokens that the
|
|
26890
|
+
* component lists in its providers metadata.
|
|
26891
|
+
*/
|
|
26859
26892
|
get providerTokens() {
|
|
26860
26893
|
return getInjectionTokens(this.nativeNode);
|
|
26861
26894
|
}
|
|
26862
26895
|
}
|
|
26863
|
-
|
|
26896
|
+
/**
|
|
26897
|
+
* @publicApi
|
|
26898
|
+
*
|
|
26899
|
+
* @see [Component testing scenarios](guide/testing-components-scenarios)
|
|
26900
|
+
* @see [Basics of testing components](guide/testing-components-basics)
|
|
26901
|
+
* @see [Testing utility APIs](guide/testing-utility-apis)
|
|
26902
|
+
*/
|
|
26903
|
+
class DebugElement extends DebugNode {
|
|
26864
26904
|
constructor(nativeNode) {
|
|
26865
26905
|
ngDevMode && assertDomNode(nativeNode);
|
|
26866
26906
|
super(nativeNode);
|
|
26867
26907
|
}
|
|
26908
|
+
/**
|
|
26909
|
+
* The underlying DOM element at the root of the component.
|
|
26910
|
+
*/
|
|
26868
26911
|
get nativeElement() {
|
|
26869
26912
|
return this.nativeNode.nodeType == Node.ELEMENT_NODE ? this.nativeNode : null;
|
|
26870
26913
|
}
|
|
26914
|
+
/**
|
|
26915
|
+
* The element tag name, if it is an element.
|
|
26916
|
+
*/
|
|
26871
26917
|
get name() {
|
|
26872
26918
|
const context = getLContext(this.nativeNode);
|
|
26873
26919
|
if (context !== null) {
|
|
@@ -26908,6 +26954,9 @@ class DebugElement__POST_R3__ extends DebugNode__POST_R3__ {
|
|
|
26908
26954
|
collectPropertyBindings(properties, tNode, lView, tData);
|
|
26909
26955
|
return properties;
|
|
26910
26956
|
}
|
|
26957
|
+
/**
|
|
26958
|
+
* A map of attribute names to attribute values for an element.
|
|
26959
|
+
*/
|
|
26911
26960
|
get attributes() {
|
|
26912
26961
|
const attributes = {};
|
|
26913
26962
|
const element = this.nativeElement;
|
|
@@ -26956,12 +27005,29 @@ class DebugElement__POST_R3__ extends DebugNode__POST_R3__ {
|
|
|
26956
27005
|
}
|
|
26957
27006
|
return attributes;
|
|
26958
27007
|
}
|
|
27008
|
+
/**
|
|
27009
|
+
* The inline styles of the DOM element.
|
|
27010
|
+
*
|
|
27011
|
+
* Will be `null` if there is no `style` property on the underlying DOM element.
|
|
27012
|
+
*
|
|
27013
|
+
* @see [ElementCSSInlineStyle](https://developer.mozilla.org/en-US/docs/Web/API/ElementCSSInlineStyle/style)
|
|
27014
|
+
*/
|
|
26959
27015
|
get styles() {
|
|
26960
27016
|
if (this.nativeElement && this.nativeElement.style) {
|
|
26961
27017
|
return this.nativeElement.style;
|
|
26962
27018
|
}
|
|
26963
27019
|
return {};
|
|
26964
27020
|
}
|
|
27021
|
+
/**
|
|
27022
|
+
* A map containing the class names on the element as keys.
|
|
27023
|
+
*
|
|
27024
|
+
* This map is derived from the `className` property of the DOM element.
|
|
27025
|
+
*
|
|
27026
|
+
* Note: The values of this object will always be `true`. The class key will not appear in the KV
|
|
27027
|
+
* object if it does not exist on the element.
|
|
27028
|
+
*
|
|
27029
|
+
* @see [Element.className](https://developer.mozilla.org/en-US/docs/Web/API/Element/className)
|
|
27030
|
+
*/
|
|
26965
27031
|
get classes() {
|
|
26966
27032
|
const result = {};
|
|
26967
27033
|
const element = this.nativeElement;
|
|
@@ -26971,15 +27037,23 @@ class DebugElement__POST_R3__ extends DebugNode__POST_R3__ {
|
|
|
26971
27037
|
classes.forEach((value) => result[value] = true);
|
|
26972
27038
|
return result;
|
|
26973
27039
|
}
|
|
27040
|
+
/**
|
|
27041
|
+
* The `childNodes` of the DOM element as a `DebugNode` array.
|
|
27042
|
+
*
|
|
27043
|
+
* @see [Node.childNodes](https://developer.mozilla.org/en-US/docs/Web/API/Node/childNodes)
|
|
27044
|
+
*/
|
|
26974
27045
|
get childNodes() {
|
|
26975
27046
|
const childNodes = this.nativeNode.childNodes;
|
|
26976
27047
|
const children = [];
|
|
26977
27048
|
for (let i = 0; i < childNodes.length; i++) {
|
|
26978
27049
|
const element = childNodes[i];
|
|
26979
|
-
children.push(
|
|
27050
|
+
children.push(getDebugNode(element));
|
|
26980
27051
|
}
|
|
26981
27052
|
return children;
|
|
26982
27053
|
}
|
|
27054
|
+
/**
|
|
27055
|
+
* The immediate `DebugElement` children. Walk the tree by descending through `children`.
|
|
27056
|
+
*/
|
|
26983
27057
|
get children() {
|
|
26984
27058
|
const nativeElement = this.nativeElement;
|
|
26985
27059
|
if (!nativeElement)
|
|
@@ -26988,24 +27062,45 @@ class DebugElement__POST_R3__ extends DebugNode__POST_R3__ {
|
|
|
26988
27062
|
const children = [];
|
|
26989
27063
|
for (let i = 0; i < childNodes.length; i++) {
|
|
26990
27064
|
const element = childNodes[i];
|
|
26991
|
-
children.push(
|
|
27065
|
+
children.push(getDebugNode(element));
|
|
26992
27066
|
}
|
|
26993
27067
|
return children;
|
|
26994
27068
|
}
|
|
27069
|
+
/**
|
|
27070
|
+
* @returns the first `DebugElement` that matches the predicate at any depth in the subtree.
|
|
27071
|
+
*/
|
|
26995
27072
|
query(predicate) {
|
|
26996
27073
|
const results = this.queryAll(predicate);
|
|
26997
27074
|
return results[0] || null;
|
|
26998
27075
|
}
|
|
27076
|
+
/**
|
|
27077
|
+
* @returns All `DebugElement` matches for the predicate at any depth in the subtree.
|
|
27078
|
+
*/
|
|
26999
27079
|
queryAll(predicate) {
|
|
27000
27080
|
const matches = [];
|
|
27001
|
-
|
|
27081
|
+
_queryAll(this, predicate, matches, true);
|
|
27002
27082
|
return matches;
|
|
27003
27083
|
}
|
|
27084
|
+
/**
|
|
27085
|
+
* @returns All `DebugNode` matches for the predicate at any depth in the subtree.
|
|
27086
|
+
*/
|
|
27004
27087
|
queryAllNodes(predicate) {
|
|
27005
27088
|
const matches = [];
|
|
27006
|
-
|
|
27089
|
+
_queryAll(this, predicate, matches, false);
|
|
27007
27090
|
return matches;
|
|
27008
27091
|
}
|
|
27092
|
+
/**
|
|
27093
|
+
* Triggers the event by its name if there is a corresponding listener in the element's
|
|
27094
|
+
* `listeners` collection.
|
|
27095
|
+
*
|
|
27096
|
+
* If the event lacks a listener or there's some other problem, consider
|
|
27097
|
+
* calling `nativeElement.dispatchEvent(eventObject)`.
|
|
27098
|
+
*
|
|
27099
|
+
* @param eventName The name of the event to trigger
|
|
27100
|
+
* @param eventObj The _event object_ expected by the handler
|
|
27101
|
+
*
|
|
27102
|
+
* @see [Testing components scenarios](guide/testing-components-scenarios#trigger-event-handler)
|
|
27103
|
+
*/
|
|
27009
27104
|
triggerEventHandler(eventName, eventObj) {
|
|
27010
27105
|
const node = this.nativeNode;
|
|
27011
27106
|
const invokedListeners = [];
|
|
@@ -27064,11 +27159,11 @@ function isPrimitiveValue(value) {
|
|
|
27064
27159
|
return typeof value === 'string' || typeof value === 'boolean' || typeof value === 'number' ||
|
|
27065
27160
|
value === null;
|
|
27066
27161
|
}
|
|
27067
|
-
function
|
|
27162
|
+
function _queryAll(parentElement, predicate, matches, elementsOnly) {
|
|
27068
27163
|
const context = getLContext(parentElement.nativeNode);
|
|
27069
27164
|
if (context !== null) {
|
|
27070
27165
|
const parentTNode = context.lView[TVIEW].data[context.nodeIndex];
|
|
27071
|
-
|
|
27166
|
+
_queryNodeChildren(parentTNode, context.lView, predicate, matches, elementsOnly, parentElement.nativeNode);
|
|
27072
27167
|
}
|
|
27073
27168
|
else {
|
|
27074
27169
|
// If the context is null, then `parentElement` was either created with Renderer2 or native DOM
|
|
@@ -27086,26 +27181,26 @@ function _queryAllR3(parentElement, predicate, matches, elementsOnly) {
|
|
|
27086
27181
|
* @param elementsOnly whether only elements should be searched
|
|
27087
27182
|
* @param rootNativeNode the root native node on which predicate should not be matched
|
|
27088
27183
|
*/
|
|
27089
|
-
function
|
|
27184
|
+
function _queryNodeChildren(tNode, lView, predicate, matches, elementsOnly, rootNativeNode) {
|
|
27090
27185
|
ngDevMode && assertTNodeForLView(tNode, lView);
|
|
27091
27186
|
const nativeNode = getNativeByTNodeOrNull(tNode, lView);
|
|
27092
27187
|
// For each type of TNode, specific logic is executed.
|
|
27093
27188
|
if (tNode.type & (3 /* AnyRNode */ | 8 /* ElementContainer */)) {
|
|
27094
27189
|
// Case 1: the TNode is an element
|
|
27095
27190
|
// The native node has to be checked.
|
|
27096
|
-
|
|
27191
|
+
_addQueryMatch(nativeNode, predicate, matches, elementsOnly, rootNativeNode);
|
|
27097
27192
|
if (isComponentHost(tNode)) {
|
|
27098
27193
|
// If the element is the host of a component, then all nodes in its view have to be processed.
|
|
27099
27194
|
// Note: the component's content (tNode.child) will be processed from the insertion points.
|
|
27100
27195
|
const componentView = getComponentLViewByIndex(tNode.index, lView);
|
|
27101
27196
|
if (componentView && componentView[TVIEW].firstChild) {
|
|
27102
|
-
|
|
27197
|
+
_queryNodeChildren(componentView[TVIEW].firstChild, componentView, predicate, matches, elementsOnly, rootNativeNode);
|
|
27103
27198
|
}
|
|
27104
27199
|
}
|
|
27105
27200
|
else {
|
|
27106
27201
|
if (tNode.child) {
|
|
27107
27202
|
// Otherwise, its children have to be processed.
|
|
27108
|
-
|
|
27203
|
+
_queryNodeChildren(tNode.child, lView, predicate, matches, elementsOnly, rootNativeNode);
|
|
27109
27204
|
}
|
|
27110
27205
|
// We also have to query the DOM directly in order to catch elements inserted through
|
|
27111
27206
|
// Renderer2. Note that this is __not__ optimal, because we're walking similar trees multiple
|
|
@@ -27121,16 +27216,16 @@ function _queryNodeChildrenR3(tNode, lView, predicate, matches, elementsOnly, ro
|
|
|
27121
27216
|
// processed.
|
|
27122
27217
|
const nodeOrContainer = lView[tNode.index];
|
|
27123
27218
|
if (isLContainer(nodeOrContainer)) {
|
|
27124
|
-
|
|
27219
|
+
_queryNodeChildrenInContainer(nodeOrContainer, predicate, matches, elementsOnly, rootNativeNode);
|
|
27125
27220
|
}
|
|
27126
27221
|
}
|
|
27127
27222
|
else if (tNode.type & 4 /* Container */) {
|
|
27128
27223
|
// Case 2: the TNode is a container
|
|
27129
27224
|
// The native node has to be checked.
|
|
27130
27225
|
const lContainer = lView[tNode.index];
|
|
27131
|
-
|
|
27226
|
+
_addQueryMatch(lContainer[NATIVE], predicate, matches, elementsOnly, rootNativeNode);
|
|
27132
27227
|
// Each view inside the container has to be processed.
|
|
27133
|
-
|
|
27228
|
+
_queryNodeChildrenInContainer(lContainer, predicate, matches, elementsOnly, rootNativeNode);
|
|
27134
27229
|
}
|
|
27135
27230
|
else if (tNode.type & 16 /* Projection */) {
|
|
27136
27231
|
// Case 3: the TNode is a projection insertion point (i.e. a <ng-content>).
|
|
@@ -27140,18 +27235,18 @@ function _queryNodeChildrenR3(tNode, lView, predicate, matches, elementsOnly, ro
|
|
|
27140
27235
|
const head = componentHost.projection[tNode.projection];
|
|
27141
27236
|
if (Array.isArray(head)) {
|
|
27142
27237
|
for (let nativeNode of head) {
|
|
27143
|
-
|
|
27238
|
+
_addQueryMatch(nativeNode, predicate, matches, elementsOnly, rootNativeNode);
|
|
27144
27239
|
}
|
|
27145
27240
|
}
|
|
27146
27241
|
else if (head) {
|
|
27147
27242
|
const nextLView = componentView[PARENT];
|
|
27148
27243
|
const nextTNode = nextLView[TVIEW].data[head.index];
|
|
27149
|
-
|
|
27244
|
+
_queryNodeChildren(nextTNode, nextLView, predicate, matches, elementsOnly, rootNativeNode);
|
|
27150
27245
|
}
|
|
27151
27246
|
}
|
|
27152
27247
|
else if (tNode.child) {
|
|
27153
27248
|
// Case 4: the TNode is a view.
|
|
27154
|
-
|
|
27249
|
+
_queryNodeChildren(tNode.child, lView, predicate, matches, elementsOnly, rootNativeNode);
|
|
27155
27250
|
}
|
|
27156
27251
|
// We don't want to go to the next sibling of the root node.
|
|
27157
27252
|
if (rootNativeNode !== nativeNode) {
|
|
@@ -27159,7 +27254,7 @@ function _queryNodeChildrenR3(tNode, lView, predicate, matches, elementsOnly, ro
|
|
|
27159
27254
|
// link, depending on whether the current node has been projected.
|
|
27160
27255
|
const nextTNode = (tNode.flags & 4 /* isProjected */) ? tNode.projectionNext : tNode.next;
|
|
27161
27256
|
if (nextTNode) {
|
|
27162
|
-
|
|
27257
|
+
_queryNodeChildren(nextTNode, lView, predicate, matches, elementsOnly, rootNativeNode);
|
|
27163
27258
|
}
|
|
27164
27259
|
}
|
|
27165
27260
|
}
|
|
@@ -27172,12 +27267,12 @@ function _queryNodeChildrenR3(tNode, lView, predicate, matches, elementsOnly, ro
|
|
|
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 _queryNodeChildrenInContainer(lContainer, predicate, matches, elementsOnly, rootNativeNode) {
|
|
27176
27271
|
for (let i = CONTAINER_HEADER_OFFSET; i < lContainer.length; i++) {
|
|
27177
27272
|
const childView = lContainer[i];
|
|
27178
27273
|
const firstChild = childView[TVIEW].firstChild;
|
|
27179
27274
|
if (firstChild) {
|
|
27180
|
-
|
|
27275
|
+
_queryNodeChildren(firstChild, childView, predicate, matches, elementsOnly, rootNativeNode);
|
|
27181
27276
|
}
|
|
27182
27277
|
}
|
|
27183
27278
|
}
|
|
@@ -27190,7 +27285,7 @@ function _queryNodeChildrenInContainerR3(lContainer, predicate, matches, element
|
|
|
27190
27285
|
* @param elementsOnly whether only elements should be searched
|
|
27191
27286
|
* @param rootNativeNode the root native node on which predicate should not be matched
|
|
27192
27287
|
*/
|
|
27193
|
-
function
|
|
27288
|
+
function _addQueryMatch(nativeNode, predicate, matches, elementsOnly, rootNativeNode) {
|
|
27194
27289
|
if (rootNativeNode !== nativeNode) {
|
|
27195
27290
|
const debugNode = getDebugNode(nativeNode);
|
|
27196
27291
|
if (!debugNode) {
|
|
@@ -27199,7 +27294,7 @@ function _addQueryMatchR3(nativeNode, predicate, matches, elementsOnly, rootNati
|
|
|
27199
27294
|
// Type of the "predicate and "matches" array are set based on the value of
|
|
27200
27295
|
// the "elementsOnly" parameter. TypeScript is not able to properly infer these
|
|
27201
27296
|
// types with generics, so we manually cast the parameters accordingly.
|
|
27202
|
-
if (elementsOnly && debugNode instanceof
|
|
27297
|
+
if (elementsOnly && (debugNode instanceof DebugElement) && predicate(debugNode) &&
|
|
27203
27298
|
matches.indexOf(debugNode) === -1) {
|
|
27204
27299
|
matches.push(debugNode);
|
|
27205
27300
|
}
|
|
@@ -27224,7 +27319,7 @@ function _queryNativeNodeDescendants(parentNode, predicate, matches, elementsOnl
|
|
|
27224
27319
|
const node = nodes[i];
|
|
27225
27320
|
const debugNode = getDebugNode(node);
|
|
27226
27321
|
if (debugNode) {
|
|
27227
|
-
if (elementsOnly && debugNode instanceof
|
|
27322
|
+
if (elementsOnly && (debugNode instanceof DebugElement) && predicate(debugNode) &&
|
|
27228
27323
|
matches.indexOf(debugNode) === -1) {
|
|
27229
27324
|
matches.push(debugNode);
|
|
27230
27325
|
}
|
|
@@ -27265,25 +27360,24 @@ function collectPropertyBindings(properties, tNode, lView, tData) {
|
|
|
27265
27360
|
// Need to keep the nodes in a global Map so that multiple angular apps are supported.
|
|
27266
27361
|
const _nativeNodeToDebugNode = new Map();
|
|
27267
27362
|
const NG_DEBUG_PROPERTY = '__ng_debug__';
|
|
27268
|
-
|
|
27363
|
+
/**
|
|
27364
|
+
* @publicApi
|
|
27365
|
+
*/
|
|
27366
|
+
function getDebugNode(nativeNode) {
|
|
27269
27367
|
if (nativeNode instanceof Node) {
|
|
27270
27368
|
if (!(nativeNode.hasOwnProperty(NG_DEBUG_PROPERTY))) {
|
|
27271
27369
|
nativeNode[NG_DEBUG_PROPERTY] = nativeNode.nodeType == Node.ELEMENT_NODE ?
|
|
27272
|
-
new
|
|
27273
|
-
new
|
|
27370
|
+
new DebugElement(nativeNode) :
|
|
27371
|
+
new DebugNode(nativeNode);
|
|
27274
27372
|
}
|
|
27275
27373
|
return nativeNode[NG_DEBUG_PROPERTY];
|
|
27276
27374
|
}
|
|
27277
27375
|
return null;
|
|
27278
27376
|
}
|
|
27279
|
-
|
|
27280
|
-
|
|
27281
|
-
*/
|
|
27282
|
-
const getDebugNode = getDebugNode__POST_R3__;
|
|
27283
|
-
function getDebugNodeR2__POST_R3__(_nativeNode) {
|
|
27377
|
+
// TODO: cleanup all references to this function and remove it.
|
|
27378
|
+
function getDebugNodeR2(_nativeNode) {
|
|
27284
27379
|
return null;
|
|
27285
27380
|
}
|
|
27286
|
-
const getDebugNodeR2 = getDebugNodeR2__POST_R3__;
|
|
27287
27381
|
function getAllDebugNodes() {
|
|
27288
27382
|
return Array.from(_nativeNodeToDebugNode.values());
|
|
27289
27383
|
}
|
|
@@ -27293,14 +27387,6 @@ function indexDebugNode(node) {
|
|
|
27293
27387
|
function removeDebugNodeFromIndex(node) {
|
|
27294
27388
|
_nativeNodeToDebugNode.delete(node.nativeNode);
|
|
27295
27389
|
}
|
|
27296
|
-
/**
|
|
27297
|
-
* @publicApi
|
|
27298
|
-
*/
|
|
27299
|
-
const DebugNode = DebugNode__POST_R3__;
|
|
27300
|
-
/**
|
|
27301
|
-
* @publicApi
|
|
27302
|
-
*/
|
|
27303
|
-
const DebugElement = DebugElement__POST_R3__;
|
|
27304
27390
|
|
|
27305
27391
|
/**
|
|
27306
27392
|
* @license
|
|
@@ -28533,6 +28619,18 @@ ApplicationModule.ɵinj = /*@__PURE__*/ ɵɵdefineInjector({ providers: APPLICAT
|
|
|
28533
28619
|
args: [{ providers: APPLICATION_MODULE_PROVIDERS }]
|
|
28534
28620
|
}], function () { return [{ type: ApplicationRef }]; }, null); })();
|
|
28535
28621
|
|
|
28622
|
+
/**
|
|
28623
|
+
* @license
|
|
28624
|
+
* Copyright Google LLC All Rights Reserved.
|
|
28625
|
+
*
|
|
28626
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
28627
|
+
* found in the LICENSE file at https://angular.io/license
|
|
28628
|
+
*/
|
|
28629
|
+
/** Coerces a value (typically a string) to a boolean. */
|
|
28630
|
+
function coerceToBoolean(value) {
|
|
28631
|
+
return typeof value === 'boolean' ? value : (value != null && value !== 'false');
|
|
28632
|
+
}
|
|
28633
|
+
|
|
28536
28634
|
/**
|
|
28537
28635
|
* @license
|
|
28538
28636
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -28690,5 +28788,5 @@ if (typeof ngDevMode !== 'undefined' && ngDevMode) {
|
|
|
28690
28788
|
* Generated bundle index. Do not edit.
|
|
28691
28789
|
*/
|
|
28692
28790
|
|
|
28693
|
-
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 };
|
|
28791
|
+
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 };
|
|
28694
28792
|
//# sourceMappingURL=core.mjs.map
|