@angular/core 14.0.0 → 14.0.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.
- package/esm2020/src/di/provider_collection.mjs +1 -1
- package/esm2020/src/error_handler.mjs +4 -7
- package/esm2020/src/errors.mjs +6 -3
- package/esm2020/src/render3/component.mjs +9 -9
- package/esm2020/src/render3/definition.mjs +4 -4
- package/esm2020/src/render3/features/standalone_feature.mjs +4 -4
- package/esm2020/src/render3/instructions/all.mjs +2 -2
- package/esm2020/src/render3/instructions/element.mjs +3 -79
- package/esm2020/src/render3/instructions/element_validation.mjs +264 -0
- package/esm2020/src/render3/instructions/shared.mjs +7 -184
- package/esm2020/src/render3/interfaces/definition.mjs +1 -1
- package/esm2020/src/render3/jit/module.mjs +2 -2
- package/esm2020/src/render3/pipe.mjs +20 -6
- package/esm2020/src/render3/state.mjs +1 -3
- package/esm2020/src/util/errors.mjs +1 -8
- 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/fesm2015/core.mjs +602 -591
- package/fesm2015/core.mjs.map +1 -1
- package/fesm2015/testing.mjs +602 -591
- package/fesm2015/testing.mjs.map +1 -1
- package/fesm2020/core.mjs +603 -592
- package/fesm2020/core.mjs.map +1 -1
- package/fesm2020/testing.mjs +603 -592
- package/fesm2020/testing.mjs.map +1 -1
- package/index.d.ts +7 -6
- package/package.json +1 -1
- package/testing/index.d.ts +1 -1
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v14.0.
|
|
2
|
+
* @license Angular v14.0.1
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -3533,6 +3533,7 @@ export declare function importProvidersFrom(...sources: ImportProvidersSource[])
|
|
|
3533
3533
|
/**
|
|
3534
3534
|
* A source of providers for the `importProvidersFrom` function.
|
|
3535
3535
|
*
|
|
3536
|
+
* @developerPreview
|
|
3536
3537
|
* @publicApi
|
|
3537
3538
|
*/
|
|
3538
3539
|
export declare type ImportProvidersSource = Type<unknown> | ModuleWithProviders<unknown> | Array<ImportProvidersSource>;
|
|
@@ -9692,7 +9693,8 @@ export declare function ɵcompilePipe(type: Type<any>, meta: Pipe): void;
|
|
|
9692
9693
|
*/
|
|
9693
9694
|
export declare interface ɵComponentDef<T> extends ɵDirectiveDef<T> {
|
|
9694
9695
|
/**
|
|
9695
|
-
*
|
|
9696
|
+
* Unique ID for the component. Used in view encapsulation and
|
|
9697
|
+
* to keep track of the injector in standalone components.
|
|
9696
9698
|
*/
|
|
9697
9699
|
readonly id: string;
|
|
9698
9700
|
/**
|
|
@@ -10239,7 +10241,7 @@ export declare class ɵLContext {
|
|
|
10239
10241
|
* renderComponent(AppComponent, {hostFeatures: [LifecycleHooksFeature]});
|
|
10240
10242
|
* ```
|
|
10241
10243
|
*/
|
|
10242
|
-
export declare function ɵLifecycleHooksFeature(
|
|
10244
|
+
export declare function ɵLifecycleHooksFeature(): void;
|
|
10243
10245
|
|
|
10244
10246
|
/**
|
|
10245
10247
|
* Index of each type of locale data from the locale data array
|
|
@@ -10864,7 +10866,6 @@ export declare function ɵsetDocument(document: Document | undefined): void;
|
|
|
10864
10866
|
*/
|
|
10865
10867
|
export declare function ɵsetLocaleId(localeId: string): void;
|
|
10866
10868
|
|
|
10867
|
-
|
|
10868
10869
|
/**
|
|
10869
10870
|
* Sets a strict mode for JIT-compiled components to throw an error on unknown elements,
|
|
10870
10871
|
* instead of just logging the error.
|
|
@@ -10903,7 +10904,7 @@ export declare const ɵTESTABILITY_GETTER: InjectionToken<GetTestability>;
|
|
|
10903
10904
|
|
|
10904
10905
|
/**
|
|
10905
10906
|
* Compute the pair of transitive scopes (compilation scope and exported scope) for a given type
|
|
10906
|
-
* (
|
|
10907
|
+
* (either a NgModule or a standalone component / directive / pipe).
|
|
10907
10908
|
*/
|
|
10908
10909
|
export declare function ɵtransitiveScopesFor<T>(type: Type<T>): ɵNgModuleTransitiveScopes;
|
|
10909
10910
|
|
|
@@ -12436,6 +12437,7 @@ export declare function ɵɵelementContainerStart(index: number, attrsIndex?: nu
|
|
|
12436
12437
|
*/
|
|
12437
12438
|
export declare function ɵɵelementEnd(): typeof ɵɵelementEnd;
|
|
12438
12439
|
|
|
12440
|
+
|
|
12439
12441
|
/**
|
|
12440
12442
|
* Create DOM element. The instruction must later be followed by `elementEnd()` call.
|
|
12441
12443
|
*
|
|
@@ -13726,7 +13728,6 @@ export declare function ɵɵresolveWindow(element: RElement & {
|
|
|
13726
13728
|
* @returns Context of the restored OpaqueViewState instance.
|
|
13727
13729
|
*
|
|
13728
13730
|
* @codeGenApi
|
|
13729
|
-
* @noinline Disable inlining due to issue with Closure in listeners inside embedded views.
|
|
13730
13731
|
*/
|
|
13731
13732
|
export declare function ɵɵrestoreView<T = any>(viewToRestore: OpaqueViewState): T;
|
|
13732
13733
|
|
package/package.json
CHANGED
package/testing/index.d.ts
CHANGED