@angular/core 13.1.0-next.1 → 13.1.1

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.
Files changed (74) hide show
  1. package/core.d.ts +49 -654
  2. package/esm2020/src/application_module.mjs +2 -4
  3. package/esm2020/src/application_ref.mjs +45 -46
  4. package/esm2020/src/change_detection/change_detector_ref.mjs +9 -6
  5. package/esm2020/src/core.mjs +1 -2
  6. package/esm2020/src/core_private_export.mjs +3 -3
  7. package/esm2020/src/core_render3_private_export.mjs +4 -17
  8. package/esm2020/src/debug/debug_node.mjs +10 -129
  9. package/esm2020/src/di/injectable.mjs +11 -20
  10. package/esm2020/src/di/injector.mjs +6 -268
  11. package/esm2020/src/di/metadata_attr.mjs +2 -9
  12. package/esm2020/src/di/reflective_injector.mjs +3 -1
  13. package/esm2020/src/error_handler.mjs +2 -10
  14. package/esm2020/src/errors.mjs +2 -5
  15. package/esm2020/src/linker/compiler.mjs +33 -50
  16. package/esm2020/src/linker/component_factory_resolver.mjs +1 -38
  17. package/esm2020/src/linker/element_ref.mjs +9 -6
  18. package/esm2020/src/linker/ng_module_factory_loader.mjs +20 -24
  19. package/esm2020/src/linker/template_ref.mjs +4 -6
  20. package/esm2020/src/linker/view_container_ref.mjs +11 -6
  21. package/esm2020/src/metadata/directives.mjs +6 -16
  22. package/esm2020/src/metadata/ng_module.mjs +3 -18
  23. package/esm2020/src/metadata/view.mjs +12 -12
  24. package/esm2020/src/render/api.mjs +2 -6
  25. package/esm2020/src/render3/di_setup.mjs +6 -3
  26. package/esm2020/src/render3/error_code.mjs +1 -1
  27. package/esm2020/src/render3/ng_module_ref.mjs +4 -8
  28. package/esm2020/src/render3/pipe.mjs +11 -3
  29. package/esm2020/src/util/errors.mjs +1 -2
  30. package/esm2020/src/version.mjs +1 -1
  31. package/esm2020/src/view/index.mjs +1 -15
  32. package/esm2020/testing/src/logger.mjs +3 -3
  33. package/esm2020/testing/src/metadata_overrider.mjs +14 -2
  34. package/esm2020/testing/src/ng_zone_mock.mjs +3 -3
  35. package/esm2020/testing/src/test_bed.mjs +3 -526
  36. package/esm2020/testing/src/test_hooks.mjs +3 -3
  37. package/esm2020/testing/src/testing.mjs +1 -2
  38. package/fesm2015/core.mjs +324 -4795
  39. package/fesm2015/core.mjs.map +1 -1
  40. package/fesm2015/testing.mjs +25 -606
  41. package/fesm2015/testing.mjs.map +1 -1
  42. package/fesm2020/core.mjs +322 -4794
  43. package/fesm2020/core.mjs.map +1 -1
  44. package/fesm2020/testing.mjs +24 -607
  45. package/fesm2020/testing.mjs.map +1 -1
  46. package/package.json +1 -1
  47. package/schematics/migrations/entry-components/index.d.ts +11 -0
  48. package/schematics/migrations/entry-components/index.js +71 -0
  49. package/schematics/migrations/entry-components/util.d.ts +16 -0
  50. package/schematics/migrations/entry-components/util.js +57 -0
  51. package/schematics/migrations.json +10 -0
  52. package/schematics/utils/import_manager.js +14 -3
  53. package/schematics/utils/typescript/imports.js +9 -3
  54. package/testing/testing.d.ts +1 -46
  55. package/esm2020/src/codegen_private_exports.mjs +0 -11
  56. package/esm2020/src/debug/proxy.mjs +0 -23
  57. package/esm2020/src/ivy_switch.mjs +0 -11
  58. package/esm2020/src/view/element.mjs +0 -296
  59. package/esm2020/src/view/entrypoint.mjs +0 -63
  60. package/esm2020/src/view/errors.mjs +0 -43
  61. package/esm2020/src/view/ng_content.mjs +0 -47
  62. package/esm2020/src/view/ng_module.mjs +0 -215
  63. package/esm2020/src/view/provider.mjs +0 -490
  64. package/esm2020/src/view/pure_expression.mjs +0 -220
  65. package/esm2020/src/view/query.mjs +0 -180
  66. package/esm2020/src/view/refs.mjs +0 -369
  67. package/esm2020/src/view/services.mjs +0 -751
  68. package/esm2020/src/view/text.mjs +0 -136
  69. package/esm2020/src/view/types.mjs +0 -108
  70. package/esm2020/src/view/util.mjs +0 -369
  71. package/esm2020/src/view/view.mjs +0 -629
  72. package/esm2020/src/view/view_attach.mjs +0 -114
  73. package/esm2020/testing/src/private_export_testing.mjs +0 -9
  74. package/esm2020/testing/src/test_compiler.mjs +0 -69
package/core.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v13.1.0-next.1
2
+ * @license Angular v13.1.1
3
3
  * (c) 2010-2021 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -590,15 +590,6 @@ export declare interface AttributeDecorator {
590
590
  new (name: string): Attribute;
591
591
  }
592
592
 
593
- declare interface BindingDef {
594
- flags: ɵBindingFlags;
595
- ns: string | null;
596
- name: string | null;
597
- nonMinifiedName: string | null;
598
- securityContext: SecurityContext | null;
599
- suffix: string | null;
600
- }
601
-
602
593
  /**
603
594
  * Provides additional options to the bootstraping process.
604
595
  *
@@ -829,12 +820,6 @@ export declare interface ClassSansProvider {
829
820
 
830
821
  declare const CLEANUP = 7;
831
822
 
832
- /**
833
- * Compile an Angular injectable according to its `Injectable` metadata, and patch the resulting
834
- * injectable def (`ɵprov`) onto the injectable type.
835
- */
836
- declare function compileInjectable(type: Type<any>, meta?: Injectable): void;
837
-
838
823
  /**
839
824
  * Low-level service for running the angular compiler during runtime
840
825
  * to create {@link ComponentFactory}s, which
@@ -856,19 +841,19 @@ export declare class Compiler {
856
841
  * Compiles the given NgModule and all of its components. All templates of the components listed
857
842
  * in `entryComponents` have to be inlined.
858
843
  */
859
- compileModuleSync: <T>(moduleType: Type<T>) => NgModuleFactory<T>;
844
+ compileModuleSync<T>(moduleType: Type<T>): NgModuleFactory<T>;
860
845
  /**
861
846
  * Compiles the given NgModule and all of its components
862
847
  */
863
- compileModuleAsync: <T>(moduleType: Type<T>) => Promise<NgModuleFactory<T>>;
848
+ compileModuleAsync<T>(moduleType: Type<T>): Promise<NgModuleFactory<T>>;
864
849
  /**
865
850
  * Same as {@link #compileModuleSync} but also creates ComponentFactories for all components.
866
851
  */
867
- compileModuleAndAllComponentsSync: <T>(moduleType: Type<T>) => ModuleWithComponentFactories<T>;
852
+ compileModuleAndAllComponentsSync<T>(moduleType: Type<T>): ModuleWithComponentFactories<T>;
868
853
  /**
869
854
  * Same as {@link #compileModuleAsync} but also creates ComponentFactories for all components.
870
855
  */
871
- compileModuleAndAllComponentsAsync: <T>(moduleType: Type<T>) => Promise<ModuleWithComponentFactories<T>>;
856
+ compileModuleAndAllComponentsAsync<T>(moduleType: Type<T>): Promise<ModuleWithComponentFactories<T>>;
872
857
  /**
873
858
  * Clears all caches.
874
859
  */
@@ -979,18 +964,19 @@ export declare interface Component extends Directive {
979
964
  */
980
965
  animations?: any[];
981
966
  /**
982
- * An encapsulation policy for the template and CSS styles. One of:
983
- * - `ViewEncapsulation.Emulated`: Use shimmed CSS that
984
- * emulates the native behavior.
985
- * - `ViewEncapsulation.None`: Use global CSS without any
986
- * encapsulation.
987
- * - `ViewEncapsulation.ShadowDom`: Use Shadow DOM v1 to encapsulate styles.
967
+ * An encapsulation policy for the component's styling.
968
+ * Possible values:
969
+ * - `ViewEncapsulation.Emulated`: Apply modified component styles in order to emulate
970
+ * a native Shadow DOM CSS encapsulation behavior.
971
+ * - `ViewEncapsulation.None`: Apply component styles globally without any sort of encapsulation.
972
+ * - `ViewEncapsulation.ShadowDom`: Use the browser's native Shadow DOM API to encapsulate styles.
988
973
  *
989
- * If not supplied, the value is taken from `CompilerOptions`. The default compiler option is
990
- * `ViewEncapsulation.Emulated`.
974
+ * If not supplied, the value is taken from the `CompilerOptions`
975
+ * which defaults to `ViewEncapsulation.Emulated`.
991
976
  *
992
- * If the policy is set to `ViewEncapsulation.Emulated` and the component has no `styles`
993
- * or `styleUrls` specified, the policy is automatically switched to `ViewEncapsulation.None`.
977
+ * If the policy is `ViewEncapsulation.Emulated` and the component has no
978
+ * {@link Component#styles styles} nor {@link Component#styleUrls styleUrls},
979
+ * the policy is automatically switched to `ViewEncapsulation.None`.
994
980
  */
995
981
  encapsulation?: ViewEncapsulation;
996
982
  /**
@@ -1598,7 +1584,7 @@ declare interface CreateComponentOptions {
1598
1584
  * not provided, `NullInjector` will be used instead.
1599
1585
  * @publicApi
1600
1586
  */
1601
- export declare const createNgModuleRef: <T>(ngModule: Type<T>, parentInjector?: Injector) => NgModuleRef<T>;
1587
+ export declare function createNgModuleRef<T>(ngModule: Type<T>, parentInjector?: Injector): NgModuleRef<T>;
1602
1588
 
1603
1589
  /**
1604
1590
  * Creates a platform.
@@ -1798,42 +1784,6 @@ export declare const DebugElement: {
1798
1784
  new (...args: any[]): DebugElement;
1799
1785
  };
1800
1786
 
1801
- declare class DebugElement__POST_R3__ extends DebugNode__POST_R3__ implements DebugElement {
1802
- constructor(nativeNode: Element);
1803
- get nativeElement(): Element | null;
1804
- get name(): string;
1805
- /**
1806
- * Gets a map of property names to property values for an element.
1807
- *
1808
- * This map includes:
1809
- * - Regular property bindings (e.g. `[id]="id"`)
1810
- * - Host property bindings (e.g. `host: { '[id]': "id" }`)
1811
- * - Interpolated property bindings (e.g. `id="{{ value }}")
1812
- *
1813
- * It does not include:
1814
- * - input property bindings (e.g. `[myCustomInput]="value"`)
1815
- * - attribute bindings (e.g. `[attr.role]="menu"`)
1816
- */
1817
- get properties(): {
1818
- [key: string]: any;
1819
- };
1820
- get attributes(): {
1821
- [key: string]: string | null;
1822
- };
1823
- get styles(): {
1824
- [key: string]: string | null;
1825
- };
1826
- get classes(): {
1827
- [key: string]: boolean;
1828
- };
1829
- get childNodes(): DebugNode[];
1830
- get children(): DebugElement[];
1831
- query(predicate: Predicate<DebugElement>): DebugElement;
1832
- queryAll(predicate: Predicate<DebugElement>): DebugElement[];
1833
- queryAllNodes(predicate: Predicate<DebugNode>): DebugNode[];
1834
- triggerEventHandler(eventName: string, eventObj: any): void;
1835
- }
1836
-
1837
1787
  /**
1838
1788
  * @publicApi
1839
1789
  */
@@ -1941,20 +1891,6 @@ declare interface DebugNode_2 {
1941
1891
  injectorResolutionPath: any;
1942
1892
  }
1943
1893
 
1944
- declare class DebugNode__POST_R3__ implements DebugNode {
1945
- readonly nativeNode: Node;
1946
- constructor(nativeNode: Node);
1947
- get parent(): DebugElement | null;
1948
- get injector(): Injector;
1949
- get componentInstance(): any;
1950
- get context(): any;
1951
- get listeners(): DebugEventListener[];
1952
- get references(): {
1953
- [key: string]: any;
1954
- };
1955
- get providerTokens(): any[];
1956
- }
1957
-
1958
1894
  declare const DECLARATION_COMPONENT_VIEW = 16;
1959
1895
 
1960
1896
  declare const DECLARATION_LCONTAINER = 17;
@@ -2044,26 +1980,6 @@ export declare class DefaultIterableDiffer<V> implements IterableDiffer<V>, Iter
2044
1980
  */
2045
1981
  export declare const defineInjectable: typeof ɵɵdefineInjectable;
2046
1982
 
2047
- declare interface Definition<DF extends DefinitionFactory<any>> {
2048
- factory: DF | null;
2049
- }
2050
-
2051
- /**
2052
- * Factory for ViewDefinitions/NgModuleDefinitions.
2053
- * We use a function so we can reexeute it in case an error happens and use the given logger
2054
- * function to log the error from the definition of the node, which is shown in all browser
2055
- * logs.
2056
- */
2057
- declare interface DefinitionFactory<D extends Definition<any>> {
2058
- (logger: NodeLogger): D;
2059
- }
2060
-
2061
- declare interface DepDef {
2062
- flags: ɵDepFlags;
2063
- token: any;
2064
- tokenKey: string;
2065
- }
2066
-
2067
1983
  /**
2068
1984
  * Array of destroy hooks that should be executed for a view and their directive indices.
2069
1985
  *
@@ -2395,10 +2311,6 @@ declare type DirectiveTypeList = (ɵDirectiveType<any> | ɵComponentType<any> |
2395
2311
 
2396
2312
  declare type DirectiveTypesOrFactory = (() => DirectiveTypeList) | DirectiveTypeList;
2397
2313
 
2398
- declare interface DisposableFn {
2399
- (): void;
2400
- }
2401
-
2402
2314
  /**
2403
2315
  * @description
2404
2316
  * Hook for manual bootstrapping of the application instead of using `bootstrap` array in @NgModule
@@ -2475,36 +2387,6 @@ declare interface ELEMENT_MARKER {
2475
2387
  marker: 'element';
2476
2388
  }
2477
2389
 
2478
- declare interface ElementDef {
2479
- name: string | null;
2480
- ns: string | null;
2481
- /** ns, name, value */
2482
- attrs: [string, string, string][] | null;
2483
- template: ɵViewDefinition | null;
2484
- componentProvider: NodeDef | null;
2485
- componentRendererType: RendererType2 | null;
2486
- componentView: ViewDefinitionFactory | null;
2487
- /**
2488
- * visible public providers for DI in the view,
2489
- * as see from this element. This does not include private providers.
2490
- */
2491
- publicProviders: {
2492
- [tokenKey: string]: NodeDef;
2493
- } | null;
2494
- /**
2495
- * same as visiblePublicProviders, but also includes private providers
2496
- * that are located on this element.
2497
- */
2498
- allProviders: {
2499
- [tokenKey: string]: NodeDef;
2500
- } | null;
2501
- handleEvent: ElementHandleEventFn | null;
2502
- }
2503
-
2504
- declare interface ElementHandleEventFn {
2505
- (view: ViewData, eventName: string, event: any): boolean;
2506
- }
2507
-
2508
2390
  /**
2509
2391
  * A wrapper around a native element inside of a View.
2510
2392
  *
@@ -2882,7 +2764,9 @@ export declare interface ForwardRefFn {
2882
2764
  /**
2883
2765
  * @publicApi
2884
2766
  */
2885
- export declare const getDebugNode: (nativeNode: any) => DebugNode | null;
2767
+ declare const getDebugNode: (nativeNode: any) => DebugNode | null;
2768
+ export { getDebugNode }
2769
+ export { getDebugNode as ɵgetDebugNode }
2886
2770
 
2887
2771
  /**
2888
2772
  * Returns the NgModuleFactory with the given id (specified using [@NgModule.id
@@ -2891,7 +2775,7 @@ export declare const getDebugNode: (nativeNode: any) => DebugNode | null;
2891
2775
  * @publicApi
2892
2776
  * @deprecated Use `getNgModuleById` instead.
2893
2777
  */
2894
- export declare const getModuleFactory: (id: string) => NgModuleFactory<any>;
2778
+ export declare function getModuleFactory(id: string): NgModuleFactory<any>;
2895
2779
 
2896
2780
  /**
2897
2781
  * Returns the NgModule class with the given id (specified using [@NgModule.id
@@ -2899,7 +2783,7 @@ export declare const getModuleFactory: (id: string) => NgModuleFactory<any>;
2899
2783
  * not specify an `id` cannot be retrieved. Throws if an NgModule cannot be found.
2900
2784
  * @publicApi
2901
2785
  */
2902
- export declare const getNgModuleById: <T>(id: string) => Type<T>;
2786
+ export declare function getNgModuleById<T>(id: string): Type<T>;
2903
2787
 
2904
2788
  /**
2905
2789
  * Returns the current platform.
@@ -3609,9 +3493,6 @@ export declare interface InjectableType<T> extends Type<T> {
3609
3493
  ɵprov: unknown;
3610
3494
  }
3611
3495
 
3612
- /** Returns a ChangeDetectorRef (a.k.a. a ViewRef) */
3613
- declare function injectChangeDetectorRef(flags: InjectFlags): ChangeDetectorRef;
3614
-
3615
3496
 
3616
3497
  /**
3617
3498
  * Type of the Inject decorator / constructor function.
@@ -3640,13 +3521,6 @@ export declare interface InjectDecorator {
3640
3521
  new (token: any): Inject;
3641
3522
  }
3642
3523
 
3643
- /**
3644
- * Creates an ElementRef from the most recent node.
3645
- *
3646
- * @returns The ElementRef instance to use
3647
- */
3648
- declare function injectElementRef(): ElementRef;
3649
-
3650
3524
  /**
3651
3525
  * Injection flags for DI.
3652
3526
  *
@@ -3828,24 +3702,6 @@ declare interface InjectorTypeWithProviders<T> {
3828
3702
  providers?: (Type<any> | ValueProvider | ExistingProvider | FactoryProvider | ConstructorProvider | StaticClassProvider | ClassProvider | any[])[];
3829
3703
  }
3830
3704
 
3831
- /** Injects a Renderer2 for the current component. */
3832
- declare function injectRenderer2(): Renderer2;
3833
-
3834
- /**
3835
- * Creates a TemplateRef given a node.
3836
- *
3837
- * @returns The TemplateRef instance to use
3838
- */
3839
- declare function injectTemplateRef<T>(): TemplateRef<T> | null;
3840
-
3841
- /**
3842
- * Creates a ViewContainerRef and stores it on the injector. Or, if the ViewContainerRef
3843
- * already exists, retrieves the existing ViewContainerRef.
3844
- *
3845
- * @returns The ViewContainerRef instance to use
3846
- */
3847
- declare function injectViewContainerRef(): ViewContainerRef;
3848
-
3849
3705
  /**
3850
3706
  * Type of metadata for an `Input` property.
3851
3707
  *
@@ -4900,16 +4756,6 @@ declare const NATIVE = 7;
4900
4756
 
4901
4757
  declare const NEXT = 4;
4902
4758
 
4903
- declare interface NgContentDef {
4904
- /**
4905
- * this index is checked against NodeDef.ngContentIndex to find the nodes
4906
- * that are matched by this ng-content.
4907
- * Note that a NodeDef with an ng-content can be reprojected, i.e.
4908
- * have a ngContentIndex on its own.
4909
- */
4910
- index: number;
4911
- }
4912
-
4913
4759
  /**
4914
4760
  * A type describing supported iterable types.
4915
4761
  *
@@ -5126,18 +4972,6 @@ export declare interface NgModuleDecorator {
5126
4972
  new (obj?: NgModule): NgModule;
5127
4973
  }
5128
4974
 
5129
- declare interface NgModuleDefinition extends Definition<NgModuleDefinitionFactory> {
5130
- providers: NgModuleProviderDef[];
5131
- providersByKey: {
5132
- [tokenKey: string]: NgModuleProviderDef;
5133
- };
5134
- modules: any[];
5135
- scope: 'root' | 'platform' | null;
5136
- }
5137
-
5138
- declare interface NgModuleDefinitionFactory extends DefinitionFactory<NgModuleDefinition> {
5139
- }
5140
-
5141
4975
  /**
5142
4976
  * @publicApi
5143
4977
  *
@@ -5154,14 +4988,6 @@ export declare abstract class NgModuleFactory<T> {
5154
4988
  abstract create(parentInjector: Injector | null): NgModuleRef<T>;
5155
4989
  }
5156
4990
 
5157
- declare interface NgModuleProviderDef {
5158
- flags: ɵNodeFlags;
5159
- index: number;
5160
- token: any;
5161
- value: any;
5162
- deps: DepDef[];
5163
- }
5164
-
5165
4991
  /**
5166
4992
  * Represents an instance of an `NgModule` created by an `NgModuleFactory`.
5167
4993
  * Provides access to the `NgModule` instance and related objects.
@@ -5373,78 +5199,6 @@ export declare class NgZone {
5373
5199
  */
5374
5200
  export declare const NO_ERRORS_SCHEMA: SchemaMetadata;
5375
5201
 
5376
- declare interface NodeCheckFn {
5377
- (view: ViewData, nodeIndex: number, argStyle: ɵArgumentType.Dynamic, values: any[]): any;
5378
- (view: ViewData, nodeIndex: number, argStyle: ɵArgumentType.Inline, v0?: any, v1?: any, v2?: any, v3?: any, v4?: any, v5?: any, v6?: any, v7?: any, v8?: any, v9?: any): any;
5379
- }
5380
-
5381
- /**
5382
- * Node instance data.
5383
- *
5384
- * We have a separate type per NodeType to save memory
5385
- * (TextData | ElementData | ProviderData | PureExpressionData | QueryList<any>)
5386
- *
5387
- * To keep our code monomorphic,
5388
- * we prohibit using `NodeData` directly but enforce the use of accessors (`asElementData`, ...).
5389
- * This way, no usage site can get a `NodeData` from view.nodes and then use it for different
5390
- * purposes.
5391
- */
5392
- declare class NodeData {
5393
- private __brand;
5394
- }
5395
-
5396
- /**
5397
- * A node definition in the view.
5398
- *
5399
- * Note: We use one type for all nodes so that loops that loop over all nodes
5400
- * of a ViewDefinition stay monomorphic!
5401
- */
5402
- declare interface NodeDef {
5403
- flags: ɵNodeFlags;
5404
- nodeIndex: number;
5405
- checkIndex: number;
5406
- parent: NodeDef | null;
5407
- renderParent: NodeDef | null;
5408
- /** this is checked against NgContentDef.index to find matched nodes */
5409
- ngContentIndex: number | null;
5410
- /** number of transitive children */
5411
- childCount: number;
5412
- /** aggregated NodeFlags for all transitive children (does not include self) **/
5413
- childFlags: ɵNodeFlags;
5414
- /** aggregated NodeFlags for all direct children (does not include self) **/
5415
- directChildFlags: ɵNodeFlags;
5416
- bindingIndex: number;
5417
- bindings: BindingDef[];
5418
- bindingFlags: ɵBindingFlags;
5419
- outputIndex: number;
5420
- outputs: OutputDef[];
5421
- /**
5422
- * references that the user placed on the element
5423
- */
5424
- references: {
5425
- [refId: string]: ɵQueryValueType;
5426
- };
5427
- /**
5428
- * ids and value types of all queries that are matched by this node.
5429
- */
5430
- matchedQueries: {
5431
- [queryId: number]: ɵQueryValueType;
5432
- };
5433
- /** Binary or of all matched query ids of this node. */
5434
- matchedQueryIds: number;
5435
- /**
5436
- * Binary or of all query ids that are matched by one of the children.
5437
- * This includes query ids from templates as well.
5438
- * Used as a bloom filter.
5439
- */
5440
- childMatchedQueries: number;
5441
- element: ElementDef | null;
5442
- provider: ProviderDef | null;
5443
- text: TextDef | null;
5444
- query: QueryDef | null;
5445
- ngContent: NgContentDef | null;
5446
- }
5447
-
5448
5202
  declare interface NodeInjectorDebug {
5449
5203
  /**
5450
5204
  * Instance bloom. Does the current injector have a provider with a given bloom mask.
@@ -5468,15 +5222,6 @@ declare interface NodeInjectorDebug {
5468
5222
  parentInjectorIndex: number;
5469
5223
  }
5470
5224
 
5471
- /**
5472
- * Function to call console.error at the right source location. This is an indirection
5473
- * via another function as browser will log the location that actually called
5474
- * `console.error`.
5475
- */
5476
- declare interface NodeLogger {
5477
- (): () => void;
5478
- }
5479
-
5480
5225
  /**
5481
5226
  * Object Oriented style of API needed to create elements and text nodes.
5482
5227
  *
@@ -5663,18 +5408,6 @@ export declare interface OutputDecorator {
5663
5408
  new (bindingPropertyName?: string): any;
5664
5409
  }
5665
5410
 
5666
- declare interface OutputDef {
5667
- type: OutputType;
5668
- target: 'window' | 'document' | 'body' | 'component' | null;
5669
- eventName: string;
5670
- propName: string | null;
5671
- }
5672
-
5673
- declare const enum OutputType {
5674
- ElementOutput = 0,
5675
- DirectiveOutput = 1
5676
- }
5677
-
5678
5411
  /**
5679
5412
  * A [DI token](guide/glossary#di-token "DI token definition") that indicates the root directory of
5680
5413
  * the application
@@ -6036,20 +5769,6 @@ declare type PropertyAliasValue = (number | string)[];
6036
5769
  */
6037
5770
  export declare type Provider = TypeProvider | ValueProvider | ClassProvider | ConstructorProvider | ExistingProvider | FactoryProvider | any[];
6038
5771
 
6039
- declare interface ProviderDef {
6040
- token: any;
6041
- value: any;
6042
- deps: DepDef[];
6043
- }
6044
-
6045
- declare interface ProviderOverride {
6046
- token: any;
6047
- flags: ɵNodeFlags;
6048
- value: any;
6049
- deps: ([ɵDepFlags, any] | any)[];
6050
- deprecatedBehavior: boolean;
6051
- }
6052
-
6053
5772
  /**
6054
5773
  * @description
6055
5774
  *
@@ -6101,17 +5820,6 @@ export declare interface Query {
6101
5820
  export declare abstract class Query {
6102
5821
  }
6103
5822
 
6104
- declare interface QueryBindingDef {
6105
- propName: string;
6106
- bindingType: ɵQueryBindingType;
6107
- }
6108
-
6109
- declare interface QueryDef {
6110
- id: number;
6111
- filterId: number;
6112
- bindings: QueryBindingDef[];
6113
- }
6114
-
6115
5823
  /**
6116
5824
  * A set of flags to be used with Queries.
6117
5825
  *
@@ -6476,6 +6184,8 @@ declare class ReflectiveDependency {
6476
6184
  * Notice, we don't use the `new` operator because we explicitly want to have the `Injector`
6477
6185
  * resolve all of the object's dependencies automatically.
6478
6186
  *
6187
+ * TODO: delete in v14.
6188
+ *
6479
6189
  * @deprecated from v5 - slow and brings in a lot of code, Use `Injector.create` instead.
6480
6190
  * @publicApi
6481
6191
  */
@@ -7152,17 +6862,6 @@ declare const enum RootContextFlags {
7152
6862
  FlushPlayers = 2
7153
6863
  }
7154
6864
 
7155
- declare interface RootData {
7156
- injector: Injector;
7157
- ngModule: NgModuleRef<any>;
7158
- projectableNodes: any[][];
7159
- selectorOrNode: any;
7160
- renderer: Renderer2;
7161
- rendererFactory: RendererFactory2;
7162
- errorHandler: ErrorHandler;
7163
- sanitizer: Sanitizer;
7164
- }
7165
-
7166
6865
  declare interface RText extends RNode {
7167
6866
  textContent: string | null;
7168
6867
  }
@@ -7568,7 +7267,7 @@ export declare abstract class TemplateRef<C> {
7568
7267
  * data-binding and injection context from the original location.
7569
7268
  *
7570
7269
  */
7571
- abstract get elementRef(): ElementRef;
7270
+ abstract readonly elementRef: ElementRef;
7572
7271
  /**
7573
7272
  * Instantiates an embedded view based on this template,
7574
7273
  * and attaches it to the view container.
@@ -7684,10 +7383,6 @@ export declare class TestabilityRegistry {
7684
7383
  static ɵprov: i0.ɵɵInjectableDeclaration<TestabilityRegistry>;
7685
7384
  }
7686
7385
 
7687
- declare interface TextDef {
7688
- prefix: string;
7689
- }
7690
-
7691
7386
  /**
7692
7387
  * Store information for the i18n translation block.
7693
7388
  */
@@ -9349,34 +9044,10 @@ export declare abstract class ViewContainerRef {
9349
9044
  abstract detach(index?: number): ViewRef | null;
9350
9045
  }
9351
9046
 
9352
- /**
9353
- * View instance data.
9354
- * Attention: Adding fields to this is performance sensitive!
9355
- */
9356
- declare interface ViewData {
9357
- def: ɵViewDefinition;
9358
- root: RootData;
9359
- renderer: Renderer2;
9360
- parentNodeDef: NodeDef | null;
9361
- parent: ViewData | null;
9362
- viewContainerParent: ViewData | null;
9363
- component: any;
9364
- context: any;
9365
- nodes: {
9366
- [key: number]: NodeData;
9367
- };
9368
- state: ViewState;
9369
- oldValues: any[];
9370
- disposables: DisposableFn[] | null;
9371
- initIndex: number;
9372
- }
9373
-
9374
- declare interface ViewDefinitionFactory extends DefinitionFactory<ɵViewDefinition> {
9375
- }
9376
-
9377
9047
 
9378
9048
  /**
9379
- * Defines template and style encapsulation options available for Component's {@link Component}.
9049
+ * Defines the CSS styles encapsulation policies for the {@link Component} decorator's
9050
+ * `encapsulation` option.
9380
9051
  *
9381
9052
  * See {@link Component#encapsulation encapsulation}.
9382
9053
  *
@@ -9389,24 +9060,23 @@ declare interface ViewDefinitionFactory extends DefinitionFactory<ɵViewDefiniti
9389
9060
  */
9390
9061
  export declare enum ViewEncapsulation {
9391
9062
  /**
9392
- * Emulate `Native` scoping of styles by adding an attribute containing surrogate id to the Host
9393
- * Element and pre-processing the style rules provided via {@link Component#styles styles} or
9394
- * {@link Component#styleUrls styleUrls}, and adding the new Host Element attribute to all
9395
- * selectors.
9063
+ * Emulates a native Shadow DOM encapsulation behavior by adding a specific attribute to the
9064
+ * component's host element and applying the same attribute to all the CSS selectors provided
9065
+ * via {@link Component#styles styles} or {@link Component#styleUrls styleUrls}.
9396
9066
  *
9397
9067
  * This is the default option.
9398
9068
  */
9399
9069
  Emulated = 0,
9400
9070
  /**
9401
- * Don't provide any template or style encapsulation.
9071
+ * Doesn't provide any sort of CSS style encapsulation, meaning that all the styles provided
9072
+ * via {@link Component#styles styles} or {@link Component#styleUrls styleUrls} are applicable
9073
+ * to any HTML element of the application regardless of their host Component.
9402
9074
  */
9403
9075
  None = 2,
9404
9076
  /**
9405
- * Use Shadow DOM to encapsulate styles.
9406
- *
9407
- * For the DOM this means using modern [Shadow
9408
- * DOM](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_shadow_DOM) and
9409
- * creating a ShadowRoot for Component's Host Element.
9077
+ * Uses the browser's native Shadow DOM API to encapsulate CSS styles, meaning that it creates
9078
+ * a ShadowRoot for the component's host element which is then used to encapsulate
9079
+ * all the Component's styling.
9410
9080
  */
9411
9081
  ShadowDom = 3
9412
9082
  }
@@ -9420,10 +9090,6 @@ declare enum ViewEncapsulation_2 {
9420
9090
  declare interface viewEngine_ChangeDetectorRef_interface extends ChangeDetectorRef {
9421
9091
  }
9422
9092
 
9423
- declare interface ViewHandleEventFn {
9424
- (view: ViewData, nodeIndex: number, eventName: string, event: any): boolean;
9425
- }
9426
-
9427
9093
  /**
9428
9094
  * Definition of what a view queries function should look like.
9429
9095
  */
@@ -9465,32 +9131,6 @@ declare interface ViewRefTracker {
9465
9131
  detachView(viewRef: ViewRef): void;
9466
9132
  }
9467
9133
 
9468
- /**
9469
- * Bitmask of states
9470
- */
9471
- declare const enum ViewState {
9472
- BeforeFirstCheck = 1,
9473
- FirstCheck = 2,
9474
- Attached = 4,
9475
- ChecksEnabled = 8,
9476
- IsProjectedView = 16,
9477
- CheckProjectedView = 32,
9478
- CheckProjectedViews = 64,
9479
- Destroyed = 128,
9480
- InitState_Mask = 1792,
9481
- InitState_BeforeInit = 0,
9482
- InitState_CallingOnInit = 256,
9483
- InitState_CallingAfterContentInit = 512,
9484
- InitState_CallingAfterViewInit = 768,
9485
- InitState_AfterInit = 1024,
9486
- CatDetectChanges = 12,
9487
- CatInit = 13
9488
- }
9489
-
9490
- declare interface ViewUpdateFn {
9491
- (check: NodeCheckFn, view: ViewData): void;
9492
- }
9493
-
9494
9134
  /**
9495
9135
  * Sanitizes the given unsafe, untrusted HTML fragment, and returns HTML text that is safe to add to
9496
9136
  * the DOM in a browser environment.
@@ -9514,8 +9154,6 @@ export declare function ɵallowSanitizationBypassAndThrow(value: any, type: ɵBy
9514
9154
 
9515
9155
  export declare function ɵallowSanitizationBypassAndThrow(value: any, type: ɵBypassType): boolean;
9516
9156
 
9517
- export declare function ɵand(flags: ɵNodeFlags, matchedQueriesDsl: null | [string | number, ɵQueryValueType][], ngContentIndex: null | number, childCount: number, handleEvent?: null | ElementHandleEventFn, templateFactory?: ViewDefinitionFactory): NodeDef;
9518
-
9519
9157
  /**
9520
9158
  * Providers that generate a random `APP_ID_TOKEN`.
9521
9159
  * @publicApi
@@ -9526,11 +9164,6 @@ export declare const ɵAPP_ID_RANDOM_PROVIDER: {
9526
9164
  deps: any[];
9527
9165
  };
9528
9166
 
9529
- export declare const enum ɵArgumentType {
9530
- Inline = 0,
9531
- Dynamic = 1
9532
- }
9533
-
9534
9167
  /**
9535
9168
  * A set of marker values to be used in the attributes arrays. These markers indicate that some
9536
9169
  * items are not regular attributes and the processing should be adapted accordingly.
@@ -9659,17 +9292,6 @@ export declare const enum ɵAttributeMarker {
9659
9292
  I18n = 6
9660
9293
  }
9661
9294
 
9662
- export declare const enum ɵBindingFlags {
9663
- TypeElementAttribute = 1,
9664
- TypeElementClass = 2,
9665
- TypeElementStyle = 4,
9666
- TypeProperty = 8,
9667
- SyntheticProperty = 16,
9668
- SyntheticHostProperty = 32,
9669
- CatSyntheticProperty = 48,
9670
- Types = 15
9671
- }
9672
-
9673
9295
  /**
9674
9296
  * Mark `html` string as trusted.
9675
9297
  *
@@ -9734,12 +9356,6 @@ export declare const enum ɵBypassType {
9734
9356
  Style = "Style"
9735
9357
  }
9736
9358
 
9737
- export declare function ɵccf(selector: string, componentType: Type<any>, viewDefFactory: ViewDefinitionFactory, inputs: {
9738
- [propName: string]: string;
9739
- } | null, outputs: {
9740
- [propName: string]: string;
9741
- }, ngContentSelectors: string[]): ComponentFactory<any>;
9742
-
9743
9359
  /**
9744
9360
  * Defines the possible states of the default change detector.
9745
9361
  * @see `ChangeDetectorRef`
@@ -9777,22 +9393,8 @@ export declare enum ɵChangeDetectorStatus {
9777
9393
  Destroyed = 5
9778
9394
  }
9779
9395
 
9780
- export declare function ɵclearOverrides(): void;
9781
-
9782
9396
  export declare function ɵclearResolutionOfComponentResourcesQueue(): Map<Type<any>, Component>;
9783
9397
 
9784
- export declare function ɵcmf(ngModuleType: Type<any>, bootstrapComponents: Type<any>[], defFactory: NgModuleDefinitionFactory): NgModuleFactory<any>;
9785
-
9786
- export declare class ɵCodegenComponentFactoryResolver implements ComponentFactoryResolver {
9787
- private _parent;
9788
- private _ngModule;
9789
- private _factories;
9790
- constructor(factories: ComponentFactory<any>[], _parent: ComponentFactoryResolver, _ngModule: NgModuleRef<any>);
9791
- resolveComponentFactory<T>(component: {
9792
- new (...args: any[]): T;
9793
- }): ComponentFactory<T>;
9794
- }
9795
-
9796
9398
  /**
9797
9399
  * Compile an Angular component according to its decorator metadata, and patch the resulting
9798
9400
  * component def (ɵcmp) onto the component type.
@@ -9828,18 +9430,10 @@ export declare function ɵcompileNgModule(moduleType: Type<any>, ngModule?: NgMo
9828
9430
  */
9829
9431
  export declare function ɵcompileNgModuleDefs(moduleType: ɵNgModuleType, ngModule: NgModule, allowDuplicateDeclarationsInRoot?: boolean): void;
9830
9432
 
9831
- export declare function ɵcompileNgModuleFactory__POST_R3__<M>(injector: Injector, options: CompilerOptions, moduleType: Type<M>): Promise<NgModuleFactory<M>>;
9433
+ export declare function ɵcompileNgModuleFactory<M>(injector: Injector, options: CompilerOptions, moduleType: Type<M>): Promise<NgModuleFactory<M>>;
9832
9434
 
9833
9435
  export declare function ɵcompilePipe(type: Type<any>, meta: Pipe): void;
9834
9436
 
9835
- export declare const ɵCompiler_compileModuleAndAllComponentsAsync__POST_R3__: <T>(moduleType: Type<T>) => Promise<ModuleWithComponentFactories<T>>;
9836
-
9837
- export declare const ɵCompiler_compileModuleAndAllComponentsSync__POST_R3__: <T>(moduleType: Type<T>) => ModuleWithComponentFactories<T>;
9838
-
9839
- export declare const ɵCompiler_compileModuleAsync__POST_R3__: <T>(moduleType: Type<T>) => Promise<NgModuleFactory<T>>;
9840
-
9841
- export declare const ɵCompiler_compileModuleSync__POST_R3__: <T>(moduleType: Type<T>) => NgModuleFactory<T>;
9842
-
9843
9437
  /**
9844
9438
  * Runtime link information for Components.
9845
9439
  *
@@ -9953,8 +9547,6 @@ export declare class ɵConsole {
9953
9547
  static ɵprov: i0.ɵɵInjectableDeclaration<ɵConsole>;
9954
9548
  }
9955
9549
 
9956
- export declare function ɵCREATE_ATTRIBUTE_DECORATOR__POST_R3__(): AttributeDecorator;
9957
-
9958
9550
  /**
9959
9551
  * Create a new `Injector` which is configured using a `defType` of `InjectorType<any>`s.
9960
9552
  *
@@ -9962,14 +9554,6 @@ export declare function ɵCREATE_ATTRIBUTE_DECORATOR__POST_R3__(): AttributeDeco
9962
9554
  */
9963
9555
  export declare function ɵcreateInjector(defType: any, parent?: Injector | null, additionalProviders?: StaticProvider[] | null, name?: string): Injector;
9964
9556
 
9965
- export declare function ɵcrt(values: {
9966
- styles: (string | any[])[];
9967
- encapsulation: ViewEncapsulation;
9968
- data: {
9969
- [kind: string]: any[];
9970
- };
9971
- }): RendererType2;
9972
-
9973
9557
  /**
9974
9558
  * A list of CssSelectors.
9975
9559
  *
@@ -9999,17 +9583,6 @@ export declare const ɵdefaultIterableDiffers: IterableDiffers;
9999
9583
 
10000
9584
  export declare const ɵdefaultKeyValueDiffers: KeyValueDiffers;
10001
9585
 
10002
- /**
10003
- * Bitmask for DI flags
10004
- */
10005
- export declare const enum ɵDepFlags {
10006
- None = 0,
10007
- SkipSelf = 1,
10008
- Optional = 2,
10009
- Self = 4,
10010
- Value = 8
10011
- }
10012
-
10013
9586
 
10014
9587
  /**
10015
9588
  * Synchronously perform change detection on a component (and possibly its sub-components).
@@ -10023,12 +9596,6 @@ export declare function ɵdetectChanges(component: {}): void;
10023
9596
 
10024
9597
  export declare function ɵdevModeEqual(a: any, b: any): boolean;
10025
9598
 
10026
- export declare function ɵdid(checkIndex: number, flags: ɵNodeFlags, matchedQueries: null | [string | number, ɵQueryValueType][], childCount: number, ctor: any, deps: ([ɵDepFlags, any] | any)[], props?: null | {
10027
- [name: string]: [number, string];
10028
- }, outputs?: null | {
10029
- [name: string]: string;
10030
- }): NodeDef;
10031
-
10032
9599
  /**
10033
9600
  * Runtime link information for Directives.
10034
9601
  *
@@ -10150,14 +9717,6 @@ export declare interface ɵDirectiveType<T> extends Type<T> {
10150
9717
  ɵfac: unknown;
10151
9718
  }
10152
9719
 
10153
- export declare function ɵeld(checkIndex: number, flags: ɵNodeFlags, matchedQueriesDsl: null | [string | number, ɵQueryValueType][], ngContentIndex: null | number, childCount: number, namespaceAndName: string | null, fixedAttrs?: null | [string, string][], bindings?: null | [ɵBindingFlags, string, string | SecurityContext | null][], outputs?: null | ([string, string])[], handleEvent?: null | ElementHandleEventFn, componentView?: null | ViewDefinitionFactory, componentRendererType?: RendererType2 | null): NodeDef;
10154
-
10155
- export declare const ɵEMPTY_ARRAY: any[];
10156
-
10157
- export declare const ɵEMPTY_MAP: {
10158
- [key: string]: any;
10159
- };
10160
-
10161
9720
  /**
10162
9721
  * Index of each type of locale data from the extra locale data array
10163
9722
  */
@@ -10183,14 +9742,6 @@ export declare function ɵfindLocaleData(locale: string): any;
10183
9742
  */
10184
9743
  export declare function ɵflushModuleScopingQueueAsMuchAsPossible(): void;
10185
9744
 
10186
- export declare function ɵgetComponentViewDefinitionFactory(componentFactory: ComponentFactory<any>): ViewDefinitionFactory;
10187
-
10188
- export declare function ɵgetDebugNode__POST_R3__(nativeNode: Element): DebugElement__POST_R3__;
10189
-
10190
- export declare function ɵgetDebugNode__POST_R3__(nativeNode: Node): DebugNode__POST_R3__;
10191
-
10192
- export declare function ɵgetDebugNode__POST_R3__(nativeNode: null): null;
10193
-
10194
9745
  export declare const ɵgetDebugNodeR2: (nativeNode: any) => DebugNode | null;
10195
9746
 
10196
9747
  /**
@@ -10284,10 +9835,6 @@ export declare function ɵgetLocaleCurrencyCode(locale: string): string | null;
10284
9835
  */
10285
9836
  export declare function ɵgetLocalePluralCase(locale: string): (value: number) => number;
10286
9837
 
10287
- export declare function ɵgetModuleFactory__POST_R3__(id: string): NgModuleFactory<any>;
10288
-
10289
- export declare function ɵgetNgModuleById__POST_R3__(id: string): ɵNgModuleType;
10290
-
10291
9838
  export declare function ɵgetSanitizationBypassType(value: any): ɵBypassType | null;
10292
9839
 
10293
9840
  export declare type ɵGetterFn = (obj: any) => any;
@@ -10295,9 +9842,8 @@ export declare type ɵGetterFn = (obj: any) => any;
10295
9842
 
10296
9843
  export declare const ɵglobal: any;
10297
9844
 
10298
- export declare function ɵinitServicesIfNeeded(): void;
10299
-
10300
- export declare function ɵINJECTOR_IMPL__POST_R3__(providers: StaticProvider[], parent: Injector | undefined, name: string): Injector;
9845
+ /** Returns a ChangeDetectorRef (a.k.a. a ViewRef) */
9846
+ export declare function ɵinjectChangeDetectorRef(flags: InjectFlags): ChangeDetectorRef;
10301
9847
 
10302
9848
  /**
10303
9849
  * An internal token whose presence in an injector indicates that the injector should treat itself
@@ -10306,11 +9852,7 @@ export declare function ɵINJECTOR_IMPL__POST_R3__(providers: StaticProvider[],
10306
9852
  */
10307
9853
  export declare const ɵINJECTOR_SCOPE: InjectionToken<"root" | "platform" | null>;
10308
9854
 
10309
- export declare function ɵinlineInterpolate(valueCount: number, c0: string, a1: any, c1: string, a2?: any, c2?: string, a3?: any, c3?: string, a4?: any, c4?: string, a5?: any, c5?: string, a6?: any, c6?: string, a7?: any, c7?: string, a8?: any, c8?: string, a9?: any, c9?: string): string;
10310
-
10311
- export declare function ɵinterpolate(valueCount: number, constAndInterp: string[]): string;
10312
-
10313
- export declare function ɵisBoundToModule__POST_R3__<C>(cf: ComponentFactory<C>): boolean;
9855
+ export declare function ɵisBoundToModule<C>(cf: ComponentFactory<C>): boolean;
10314
9856
 
10315
9857
  /**
10316
9858
  * Reports whether a given strategy is currently the default for change detection.
@@ -10344,7 +9886,7 @@ export declare function ɵisPromise<T = any>(obj: any): obj is Promise<T>;
10344
9886
  */
10345
9887
  export declare function ɵisSubscribable(obj: any | Subscribable<any>): obj is Subscribable<any>;
10346
9888
 
10347
- export declare const ɵivyEnabled = false;
9889
+ export declare const ɵivyEnabled = true;
10348
9890
 
10349
9891
  /**
10350
9892
  * The internal view context which is specific to a given DOM element, directive or
@@ -10451,12 +9993,6 @@ export declare function ɵmarkDirty(component: {}): void;
10451
9993
 
10452
9994
  export declare type ɵMethodFn = (obj: any, args: any[]) => any;
10453
9995
 
10454
- export declare function ɵmod(providers: NgModuleProviderDef[]): NgModuleDefinition;
10455
-
10456
- export declare function ɵmpd(flags: ɵNodeFlags, token: any, value: any, deps: ([ɵDepFlags, any] | any)[]): NgModuleProviderDef;
10457
-
10458
- export declare function ɵncd(ngContentIndex: null | number, index: number): NodeDef;
10459
-
10460
9996
 
10461
9997
  export declare const ɵNG_COMP_DEF: string;
10462
9998
 
@@ -10552,54 +10088,6 @@ export declare interface ɵNO_CHANGE {
10552
10088
  /** A special value which designates that a value has not changed. */
10553
10089
  export declare const ɵNO_CHANGE: ɵNO_CHANGE;
10554
10090
 
10555
- /**
10556
- * Bitmask for NodeDef.flags.
10557
- * Naming convention:
10558
- * - `Type...`: flags that are mutually exclusive
10559
- * - `Cat...`: union of multiple `Type...` (short for category).
10560
- */
10561
- export declare const enum ɵNodeFlags {
10562
- None = 0,
10563
- TypeElement = 1,
10564
- TypeText = 2,
10565
- ProjectedTemplate = 4,
10566
- CatRenderNode = 3,
10567
- TypeNgContent = 8,
10568
- TypePipe = 16,
10569
- TypePureArray = 32,
10570
- TypePureObject = 64,
10571
- TypePurePipe = 128,
10572
- CatPureExpression = 224,
10573
- TypeValueProvider = 256,
10574
- TypeClassProvider = 512,
10575
- TypeFactoryProvider = 1024,
10576
- TypeUseExistingProvider = 2048,
10577
- LazyProvider = 4096,
10578
- PrivateProvider = 8192,
10579
- TypeDirective = 16384,
10580
- Component = 32768,
10581
- CatProviderNoDirective = 3840,
10582
- CatProvider = 20224,
10583
- OnInit = 65536,
10584
- OnDestroy = 131072,
10585
- DoCheck = 262144,
10586
- OnChanges = 524288,
10587
- AfterContentInit = 1048576,
10588
- AfterContentChecked = 2097152,
10589
- AfterViewInit = 4194304,
10590
- AfterViewChecked = 8388608,
10591
- EmbeddedViews = 16777216,
10592
- ComponentView = 33554432,
10593
- TypeContentQuery = 67108864,
10594
- TypeViewQuery = 134217728,
10595
- StaticQuery = 268435456,
10596
- DynamicQuery = 536870912,
10597
- TypeNgModule = 1073741824,
10598
- EmitDistinctChangesOnly = -2147483648,
10599
- CatQuery = 201326592,
10600
- Types = 201347067
10601
- }
10602
-
10603
10091
  /**
10604
10092
  * Provides a noop implementation of `NgZone` which does nothing. This zone requires explicit calls
10605
10093
  * to framework to perform rendering.
@@ -10633,22 +10121,12 @@ export declare function ɵnoSideEffects<T>(fn: () => T): T;
10633
10121
 
10634
10122
  export declare const ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR: {};
10635
10123
 
10636
- export declare function ɵnov(view: ViewData, index: number): any;
10637
-
10638
- export declare function ɵoverrideComponentView(comp: Type<any>, componentFactory: ComponentFactory<any>): void;
10639
-
10640
- export declare function ɵoverrideProvider(override: ProviderOverride): void;
10641
-
10642
- export declare function ɵpad(checkIndex: number, argCount: number): NodeDef;
10643
-
10644
10124
  /**
10645
10125
  * Patch the definition of a component with directives and pipes from the compilation scope of
10646
10126
  * a given module.
10647
10127
  */
10648
10128
  export declare function ɵpatchComponentDefWithScope<C>(componentDef: ɵComponentDef<C>, transitiveScopes: ɵNgModuleTransitiveScopes): void;
10649
10129
 
10650
- export declare function ɵpid(flags: ɵNodeFlags, ctor: any, deps: ([ɵDepFlags, any] | any)[]): NodeDef;
10651
-
10652
10130
  /**
10653
10131
  * Runtime link information for Pipes.
10654
10132
  *
@@ -10748,14 +10226,6 @@ export declare const enum ɵPlayState {
10748
10226
  Destroyed = 200
10749
10227
  }
10750
10228
 
10751
- export declare function ɵpod(checkIndex: number, propToIndex: {
10752
- [p: string]: number;
10753
- }): NodeDef;
10754
-
10755
- export declare function ɵppd(checkIndex: number, argCount: number): NodeDef;
10756
-
10757
- export declare function ɵprd(flags: ɵNodeFlags, matchedQueries: null | [string | number, ɵQueryValueType][], token: any, value: any, deps: ([ɵDepFlags, any] | any)[]): NodeDef;
10758
-
10759
10229
  /**
10760
10230
  * Profiler function which the runtime will invoke before and after user code.
10761
10231
  */
@@ -10825,23 +10295,6 @@ export declare function ɵpublishDefaultGlobalUtils(): void;
10825
10295
  */
10826
10296
  export declare function ɵpublishGlobalUtil(name: string, fn: Function): void;
10827
10297
 
10828
- export declare function ɵqud(flags: ɵNodeFlags, id: number, bindings: {
10829
- [propName: string]: ɵQueryBindingType;
10830
- }): NodeDef;
10831
-
10832
- export declare const enum ɵQueryBindingType {
10833
- First = 0,
10834
- All = 1
10835
- }
10836
-
10837
- export declare const enum ɵQueryValueType {
10838
- ElementRef = 0,
10839
- RenderElement = 1,
10840
- TemplateRef = 2,
10841
- ViewContainerRef = 3,
10842
- Provider = 4
10843
- }
10844
-
10845
10298
  export declare class ɵReflectionCapabilities implements PlatformReflectionCapabilities {
10846
10299
  private _reflect;
10847
10300
  constructor(reflect?: any);
@@ -10880,12 +10333,6 @@ export declare class ɵReflectionCapabilities implements PlatformReflectionCapab
10880
10333
  */
10881
10334
  export declare function ɵregisterLocaleData(data: any, localeId?: string | any, extraData?: any): void;
10882
10335
 
10883
- /**
10884
- * Registers a loaded module. Should only be called from generated NgModuleFactory code.
10885
- * @publicApi
10886
- */
10887
- export declare function ɵregisterModuleFactory(id: string, factory: NgModuleFactory<any>): void;
10888
-
10889
10336
  export declare function ɵregisterNgModuleType(ngModuleType: ɵNgModuleType): void;
10890
10337
 
10891
10338
  /**
@@ -11026,6 +10473,7 @@ export declare class ɵRuntimeError extends Error {
11026
10473
 
11027
10474
  export declare const enum ɵRuntimeErrorCode {
11028
10475
  EXPRESSION_CHANGED_AFTER_CHECKED = "100",
10476
+ RECURSIVE_APPLICATION_REF_TICK = "101",
11029
10477
  CYCLIC_DI_DEPENDENCY = "200",
11030
10478
  PROVIDER_NOT_FOUND = "201",
11031
10479
  MULTIPLE_COMPONENTS_MATCH = "300",
@@ -11033,7 +10481,13 @@ export declare const enum ɵRuntimeErrorCode {
11033
10481
  PIPE_NOT_FOUND = "302",
11034
10482
  UNKNOWN_BINDING = "303",
11035
10483
  UNKNOWN_ELEMENT = "304",
11036
- TEMPLATE_STRUCTURE_ERROR = "305"
10484
+ TEMPLATE_STRUCTURE_ERROR = "305",
10485
+ MULTIPLE_PLATFORMS = "400",
10486
+ PLATFORM_NOT_FOUND = "401",
10487
+ ERROR_HANDLER_NOT_FOUND = "402",
10488
+ BOOTSTRAP_COMPONENTS_NOT_FOUND = "403",
10489
+ ALREADY_DESTROYED_PLATFORM = "404",
10490
+ ASYNC_INITIALIZERS_STILL_RUNNING = "405"
11037
10491
  }
11038
10492
 
11039
10493
  /**
@@ -11128,31 +10582,6 @@ export declare function ɵstore<T>(tView: TView, lView: LView, index: number, va
11128
10582
 
11129
10583
  export declare function ɵstringify(token: any): string;
11130
10584
 
11131
- export declare const ɵSWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__: typeof injectChangeDetectorRef;
11132
-
11133
- export declare const ɵSWITCH_COMPILE_COMPONENT__POST_R3__: typeof ɵcompileComponent;
11134
-
11135
- export declare const ɵSWITCH_COMPILE_DIRECTIVE__POST_R3__: typeof ɵcompileDirective;
11136
-
11137
- export declare const ɵSWITCH_COMPILE_INJECTABLE__POST_R3__: typeof compileInjectable;
11138
-
11139
- export declare const ɵSWITCH_COMPILE_NGMODULE__POST_R3__: typeof ɵcompileNgModule;
11140
-
11141
- export declare const ɵSWITCH_COMPILE_PIPE__POST_R3__: typeof ɵcompilePipe;
11142
-
11143
- export declare const ɵSWITCH_ELEMENT_REF_FACTORY__POST_R3__: typeof injectElementRef;
11144
-
11145
-
11146
- export declare const ɵSWITCH_IVY_ENABLED__POST_R3__ = true;
11147
-
11148
- export declare const ɵSWITCH_RENDERER2_FACTORY__POST_R3__: typeof injectRenderer2;
11149
-
11150
- export declare const ɵSWITCH_TEMPLATE_REF_FACTORY__POST_R3__: typeof injectTemplateRef;
11151
-
11152
- export declare const ɵSWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__: typeof injectViewContainerRef;
11153
-
11154
- export declare function ɵted(checkIndex: number, ngContentIndex: number | null, staticText: string[]): NodeDef;
11155
-
11156
10585
  /**
11157
10586
  * Compute the pair of transitive scopes (compilation scope and exported scope) for a given module.
11158
10587
  *
@@ -11173,40 +10602,6 @@ export declare function ɵunwrapSafeValue(value: ɵSafeValue): string;
11173
10602
 
11174
10603
  export declare function ɵunwrapSafeValue<T>(value: T): T;
11175
10604
 
11176
- export declare function ɵvid(flags: ɵViewFlags, nodes: NodeDef[], updateDirectives?: null | ViewUpdateFn, updateRenderer?: null | ViewUpdateFn): ɵViewDefinition;
11177
-
11178
- export declare interface ɵViewDefinition extends Definition<ViewDefinitionFactory> {
11179
- flags: ɵViewFlags;
11180
- updateDirectives: ViewUpdateFn;
11181
- updateRenderer: ViewUpdateFn;
11182
- handleEvent: ViewHandleEventFn;
11183
- /**
11184
- * Order: Depth first.
11185
- * Especially providers are before elements / anchors.
11186
- */
11187
- nodes: NodeDef[];
11188
- /** aggregated NodeFlags for all nodes **/
11189
- nodeFlags: ɵNodeFlags;
11190
- rootNodeFlags: ɵNodeFlags;
11191
- lastRenderRootNode: NodeDef | null;
11192
- bindingCount: number;
11193
- outputCount: number;
11194
- /**
11195
- * Binary or of all query ids that are matched by one of the nodes.
11196
- * This includes query ids from templates as well.
11197
- * Used as a bloom filter.
11198
- */
11199
- nodeMatchedQueries: number;
11200
- }
11201
-
11202
- /**
11203
- * Bitmask for ViewDefinition.flags.
11204
- */
11205
- export declare const enum ɵViewFlags {
11206
- None = 0,
11207
- OnPush = 2
11208
- }
11209
-
11210
10605
  export declare class ɵViewRef<T> implements EmbeddedViewRef<T>, InternalViewRef, viewEngine_ChangeDetectorRef_interface {
11211
10606
  /**
11212
10607
  * This represents the `LView` associated with the point where `ChangeDetectorRef` was