@angular/core 11.2.10 → 11.2.14
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/bundles/core-testing.umd.js +1 -1
- package/bundles/core-testing.umd.min.js +1 -1
- package/bundles/core-testing.umd.min.js.map +1 -1
- package/bundles/core.umd.js +58 -20
- package/bundles/core.umd.js.map +1 -1
- package/bundles/core.umd.min.js +82 -82
- package/bundles/core.umd.min.js.map +1 -1
- package/core.d.ts +22 -6
- package/core.metadata.json +1 -1
- package/esm2015/src/core_private_export.js +2 -1
- package/esm2015/src/di/injector.js +1 -1
- package/esm2015/src/di/interface/provider.js +1 -1
- package/esm2015/src/metadata/di.js +1 -1
- package/esm2015/src/render3/error_code.js +1 -1
- package/esm2015/src/render3/i18n/i18n_parse.js +36 -9
- package/esm2015/src/render3/jit/module.js +5 -5
- package/esm2015/src/render3/node_manipulation.js +18 -3
- package/esm2015/src/render3/view_ref.js +1 -4
- package/esm2015/src/version.js +1 -1
- package/fesm2015/core.js +58 -20
- package/fesm2015/core.js.map +1 -1
- package/fesm2015/testing.js +1 -1
- package/package.json +1 -1
- package/src/r3_symbols.d.ts +2 -2
- package/testing/testing.d.ts +1 -1
- package/testing.d.ts +1 -1
package/core.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v11.2.
|
|
2
|
+
* @license Angular v11.2.14
|
|
3
3
|
* (c) 2010-2021 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -1325,7 +1325,8 @@ export declare interface ContentChildrenDecorator {
|
|
|
1325
1325
|
* **Metadata Properties**:
|
|
1326
1326
|
*
|
|
1327
1327
|
* * **selector** - The directive type or the name used for querying.
|
|
1328
|
-
* * **descendants** -
|
|
1328
|
+
* * **descendants** - If `true` include all descendants of the element. If `false` then only
|
|
1329
|
+
* query direct children of the element.
|
|
1329
1330
|
* * **emitDistinctChangesOnly** - The ` QueryList#changes` observable will emit new values only
|
|
1330
1331
|
* if the QueryList result has changed. The default value will change from `false` to `true` in
|
|
1331
1332
|
* v12. When `false` the `changes` observable might emit even if the QueryList has not changed.
|
|
@@ -6733,7 +6734,7 @@ export declare interface StaticClassSansProvider {
|
|
|
6733
6734
|
* Describes how an `Injector` should be configured as static (that is, without reflection).
|
|
6734
6735
|
* A static provider provides tokens to an injector for various types of dependencies.
|
|
6735
6736
|
*
|
|
6736
|
-
* @see
|
|
6737
|
+
* @see `Injector.create()`.
|
|
6737
6738
|
* @see ["Dependency Injection Guide"](guide/dependency-injection-providers).
|
|
6738
6739
|
*
|
|
6739
6740
|
* @publicApi
|
|
@@ -8716,9 +8717,6 @@ declare class ViewRef_2<T> implements EmbeddedViewRef<T>, InternalViewRef, viewE
|
|
|
8716
8717
|
/**
|
|
8717
8718
|
* Marks a view and all of its ancestors dirty.
|
|
8718
8719
|
*
|
|
8719
|
-
* It also triggers change detection by calling `scheduleTick` internally, which coalesces
|
|
8720
|
-
* multiple `markForCheck` calls to into one change detection run.
|
|
8721
|
-
*
|
|
8722
8720
|
* This can be used to ensure an {@link ChangeDetectionStrategy#OnPush OnPush} component is
|
|
8723
8721
|
* checked when it needs to be re-rendered but the two normal triggers haven't marked it
|
|
8724
8722
|
* dirty (i.e. inputs haven't changed and events haven't fired in the view).
|
|
@@ -11217,6 +11215,24 @@ export declare function ɵresolveComponentResources(resourceResolver: (url: stri
|
|
|
11217
11215
|
text(): Promise<string>;
|
|
11218
11216
|
}>)): Promise<void>;
|
|
11219
11217
|
|
|
11218
|
+
export declare class ɵRuntimeError extends Error {
|
|
11219
|
+
code: ɵRuntimeErrorCode;
|
|
11220
|
+
constructor(code: ɵRuntimeErrorCode, message: string);
|
|
11221
|
+
}
|
|
11222
|
+
|
|
11223
|
+
|
|
11224
|
+
export declare const enum ɵRuntimeErrorCode {
|
|
11225
|
+
EXPRESSION_CHANGED_AFTER_CHECKED = "100",
|
|
11226
|
+
CYCLIC_DI_DEPENDENCY = "200",
|
|
11227
|
+
PROVIDER_NOT_FOUND = "201",
|
|
11228
|
+
MULTIPLE_COMPONENTS_MATCH = "300",
|
|
11229
|
+
EXPORT_NOT_FOUND = "301",
|
|
11230
|
+
PIPE_NOT_FOUND = "302",
|
|
11231
|
+
UNKNOWN_BINDING = "303",
|
|
11232
|
+
UNKNOWN_ELEMENT = "304",
|
|
11233
|
+
TEMPLATE_STRUCTURE_ERROR = "305"
|
|
11234
|
+
}
|
|
11235
|
+
|
|
11220
11236
|
/**
|
|
11221
11237
|
* Marker interface for a value that's safe to use as HTML.
|
|
11222
11238
|
*
|