@angular/core 12.0.0-rc.2 → 12.0.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/bundles/core-testing.umd.js +42 -25
- package/bundles/core-testing.umd.js.map +1 -1
- package/bundles/core.umd.js +47 -23
- package/bundles/core.umd.js.map +1 -1
- package/core.d.ts +26 -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/render3/error_code.js +1 -1
- package/esm2015/src/render3/instructions/listener.js +6 -3
- package/esm2015/src/render3/jit/module.js +5 -5
- package/esm2015/src/render3/node_manipulation.js +18 -3
- package/esm2015/src/render3/util/discovery_utils.js +18 -12
- package/esm2015/src/render3/view_ref.js +3 -3
- package/esm2015/src/version.js +1 -1
- package/esm2015/testing/src/fake_async.js +42 -25
- package/fesm2015/core.js +47 -24
- package/fesm2015/core.js.map +1 -1
- package/fesm2015/testing.js +42 -25
- package/fesm2015/testing.js.map +1 -1
- package/package.json +2 -5
- package/schematics/migrations/deep-shadow-piercing-selector/index.d.ts +10 -0
- package/schematics/migrations/deep-shadow-piercing-selector/index.js +49 -0
- package/schematics/migrations.json +5 -0
- package/src/r3_symbols.d.ts +1 -1
- package/testing/testing.d.ts +42 -25
- package/testing.d.ts +1 -1
package/core.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v12.0.
|
|
2
|
+
* @license Angular v12.0.2
|
|
3
3
|
* (c) 2010-2021 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -8839,7 +8839,7 @@ declare class ViewRef_2<T> implements EmbeddedViewRef<T>, InternalViewRef, viewE
|
|
|
8839
8839
|
*
|
|
8840
8840
|
* ```typescript
|
|
8841
8841
|
* @Component({
|
|
8842
|
-
* selector: '
|
|
8842
|
+
* selector: 'app-root',
|
|
8843
8843
|
* template: `Number of ticks: {{numberOfTicks}}`
|
|
8844
8844
|
* changeDetection: ChangeDetectionStrategy.OnPush,
|
|
8845
8845
|
* })
|
|
@@ -8955,7 +8955,7 @@ declare class ViewRef_2<T> implements EmbeddedViewRef<T>, InternalViewRef, viewE
|
|
|
8955
8955
|
* }
|
|
8956
8956
|
*
|
|
8957
8957
|
* @Component({
|
|
8958
|
-
* selector: '
|
|
8958
|
+
* selector: 'app-root',
|
|
8959
8959
|
* providers: [DataProvider],
|
|
8960
8960
|
* template: `
|
|
8961
8961
|
* Live Update: <input type="checkbox" [(ngModel)]="live">
|
|
@@ -10520,12 +10520,14 @@ export declare const ɵgetDebugNodeR2: (nativeNode: any) => DebugNode | null;
|
|
|
10520
10520
|
*
|
|
10521
10521
|
* @usageNotes
|
|
10522
10522
|
* Given the following DOM structure:
|
|
10523
|
-
*
|
|
10524
|
-
*
|
|
10523
|
+
*
|
|
10524
|
+
* ```html
|
|
10525
|
+
* <app-root>
|
|
10525
10526
|
* <button my-button></button>
|
|
10526
10527
|
* <my-comp></my-comp>
|
|
10527
|
-
* </
|
|
10528
|
+
* </app-root>
|
|
10528
10529
|
* ```
|
|
10530
|
+
*
|
|
10529
10531
|
* Calling `getDirectives` on `<button>` will return an array with an instance of the `MyButton`
|
|
10530
10532
|
* directive that is associated with the DOM node.
|
|
10531
10533
|
*
|
|
@@ -11333,6 +11335,24 @@ export declare function ɵresolveComponentResources(resourceResolver: (url: stri
|
|
|
11333
11335
|
text(): Promise<string>;
|
|
11334
11336
|
}>)): Promise<void>;
|
|
11335
11337
|
|
|
11338
|
+
export declare class ɵRuntimeError extends Error {
|
|
11339
|
+
code: ɵRuntimeErrorCode;
|
|
11340
|
+
constructor(code: ɵRuntimeErrorCode, message: string);
|
|
11341
|
+
}
|
|
11342
|
+
|
|
11343
|
+
|
|
11344
|
+
export declare const enum ɵRuntimeErrorCode {
|
|
11345
|
+
EXPRESSION_CHANGED_AFTER_CHECKED = "100",
|
|
11346
|
+
CYCLIC_DI_DEPENDENCY = "200",
|
|
11347
|
+
PROVIDER_NOT_FOUND = "201",
|
|
11348
|
+
MULTIPLE_COMPONENTS_MATCH = "300",
|
|
11349
|
+
EXPORT_NOT_FOUND = "301",
|
|
11350
|
+
PIPE_NOT_FOUND = "302",
|
|
11351
|
+
UNKNOWN_BINDING = "303",
|
|
11352
|
+
UNKNOWN_ELEMENT = "304",
|
|
11353
|
+
TEMPLATE_STRUCTURE_ERROR = "305"
|
|
11354
|
+
}
|
|
11355
|
+
|
|
11336
11356
|
/**
|
|
11337
11357
|
* Marker interface for a value that's safe to use as HTML.
|
|
11338
11358
|
*
|