@angular/core 13.0.0-next.4 → 13.0.0-next.8
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 +18 -18
- package/bundles/core-testing.umd.js.map +1 -1
- package/bundles/core.umd.js +57 -56
- package/bundles/core.umd.js.map +1 -1
- package/core.d.ts +10 -9
- package/core.metadata.json +1 -1
- package/esm2015/src/di/injector.js +2 -2
- package/esm2015/src/di/reflective_injector.js +2 -2
- package/esm2015/src/i18n/locale_data_api.js +5 -4
- package/esm2015/src/i18n/tokens.js +6 -6
- package/esm2015/src/linker/component_factory_resolver.js +2 -2
- package/esm2015/src/reflection/reflection_capabilities.js +3 -3
- package/esm2015/src/version.js +1 -1
- package/esm2015/testing/src/resolvers.js +1 -1
- package/fesm2015/core.js +16 -15
- package/fesm2015/core.js.map +1 -1
- package/fesm2015/testing.js +1 -1
- package/fesm2015/testing.js.map +1 -1
- package/package.json +2 -2
- package/schematics/migrations/abstract-control-parent/index.js +17 -8
- package/schematics/migrations/abstract-control-parent/util.js +6 -6
- package/schematics/migrations/activated-route-snapshot-fragment/index.js +18 -9
- package/schematics/migrations/activated-route-snapshot-fragment/util.js +4 -4
- package/schematics/migrations/can-activate-with-redirect-to/index.js +18 -9
- package/schematics/migrations/deep-shadow-piercing-selector/index.js +3 -3
- package/schematics/migrations/dynamic-queries/index.js +19 -10
- package/schematics/migrations/dynamic-queries/util.js +2 -2
- package/schematics/migrations/initial-navigation/collector.js +4 -4
- package/schematics/migrations/initial-navigation/index.js +16 -7
- package/schematics/migrations/initial-navigation/util.js +3 -3
- package/schematics/migrations/missing-injectable/definition_collector.js +5 -5
- package/schematics/migrations/missing-injectable/index.js +17 -8
- package/schematics/migrations/missing-injectable/transform.js +2 -2
- package/schematics/migrations/module-with-providers/collector.js +3 -3
- package/schematics/migrations/module-with-providers/index.js +17 -8
- package/schematics/migrations/module-with-providers/transform.js +3 -3
- package/schematics/migrations/module-with-providers/util.js +2 -2
- package/schematics/migrations/move-document/index.js +19 -10
- package/schematics/migrations/native-view-encapsulation/index.js +17 -8
- package/schematics/migrations/native-view-encapsulation/util.js +2 -2
- package/schematics/migrations/navigation-extras-omissions/index.js +18 -9
- package/schematics/migrations/navigation-extras-omissions/util.js +3 -3
- package/schematics/migrations/relative-link-resolution/collector.js +4 -4
- package/schematics/migrations/relative-link-resolution/index.js +16 -7
- package/schematics/migrations/relative-link-resolution/util.js +3 -3
- package/schematics/migrations/renderer-to-renderer2/index.js +24 -15
- package/schematics/migrations/renderer-to-renderer2/util.js +8 -8
- package/schematics/migrations/router-link-empty-expression/analyze_template.js +3 -3
- package/schematics/migrations/router-link-empty-expression/angular/html_routerlink_empty_expr_visitor.js +5 -5
- package/schematics/migrations/router-link-empty-expression/index.js +47 -24
- package/schematics/migrations/router-preserve-query-params/index.js +18 -9
- package/schematics/migrations/router-preserve-query-params/util.js +3 -3
- package/schematics/migrations/static-queries/angular/directive_inputs.js +5 -5
- package/schematics/migrations/static-queries/angular/ng_query_visitor.js +7 -7
- package/schematics/migrations/static-queries/index.js +7 -7
- package/schematics/migrations/static-queries/strategies/template_strategy/template_strategy.js +4 -4
- package/schematics/migrations/static-queries/strategies/usage_strategy/declaration_usage_visitor.js +9 -9
- package/schematics/migrations/static-queries/strategies/usage_strategy/super_class_context.js +6 -6
- package/schematics/migrations/static-queries/strategies/usage_strategy/template_usage_visitor.js +9 -9
- package/schematics/migrations/static-queries/strategies/usage_strategy/usage_strategy.js +6 -6
- package/schematics/migrations/static-queries/transform.js +2 -2
- package/schematics/migrations/template-var-assignment/analyze_template.js +3 -3
- package/schematics/migrations/template-var-assignment/angular/html_variable_assignment_visitor.js +4 -4
- package/schematics/migrations/template-var-assignment/index.js +17 -8
- package/schematics/migrations/undecorated-classes-with-decorated-fields/index.js +17 -8
- package/schematics/migrations/undecorated-classes-with-decorated-fields/transform.js +7 -7
- package/schematics/migrations/undecorated-classes-with-di/create_ngc_program.js +3 -3
- package/schematics/migrations/undecorated-classes-with-di/decorator_rewrite/decorator_rewriter.js +2 -2
- package/schematics/migrations/undecorated-classes-with-di/decorator_rewrite/import_rewrite_visitor.js +8 -8
- package/schematics/migrations/undecorated-classes-with-di/decorator_rewrite/path_format.js +2 -2
- package/schematics/migrations/undecorated-classes-with-di/decorator_rewrite/source_file_exports.js +2 -2
- package/schematics/migrations/undecorated-classes-with-di/index.js +17 -8
- package/schematics/migrations/undecorated-classes-with-di/ng_declaration_collector.js +4 -4
- package/schematics/migrations/undecorated-classes-with-di/transform.js +10 -10
- package/schematics/migrations/wait-for-async/index.js +22 -13
- package/schematics/migrations/wait-for-async/util.js +2 -2
- package/schematics/migrations/xhr-factory/index.js +2 -2
- package/schematics/migrations.json +1 -1
- package/schematics/utils/import_manager.js +3 -3
- package/schematics/utils/ng_component_template.js +10 -10
- package/schematics/utils/ng_decorators.js +2 -2
- package/schematics/utils/parse_html.js +2 -2
- package/schematics/utils/project_tsconfig_paths.d.ts +2 -2
- package/schematics/utils/project_tsconfig_paths.js +88 -54
- package/schematics/utils/typescript/compiler_host.js +5 -5
- package/schematics/utils/typescript/decorators.js +2 -2
- package/schematics/utils/typescript/find_base_classes.js +2 -2
- package/src/r3_symbols.d.ts +1 -1
- 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 v13.0.0-next.
|
|
2
|
+
* @license Angular v13.0.0-next.8
|
|
3
3
|
* (c) 2010-2021 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -1895,7 +1895,7 @@ declare const DECLARATION_VIEW = 15;
|
|
|
1895
1895
|
* CurrencyPipe when there is no currency code passed into it. This is only used by
|
|
1896
1896
|
* CurrencyPipe and has no relation to locale currency. Defaults to USD if not configured.
|
|
1897
1897
|
*
|
|
1898
|
-
* See the [i18n guide](guide/i18n
|
|
1898
|
+
* See the [i18n guide](guide/i18n-common-locale-id) for more information.
|
|
1899
1899
|
*
|
|
1900
1900
|
* <div class="alert is-helpful">
|
|
1901
1901
|
*
|
|
@@ -4187,7 +4187,7 @@ declare interface LContainerDebug {
|
|
|
4187
4187
|
* It is used for i18n extraction, by i18n pipes (DatePipe, I18nPluralPipe, CurrencyPipe,
|
|
4188
4188
|
* DecimalPipe and PercentPipe) and by ICU expressions.
|
|
4189
4189
|
*
|
|
4190
|
-
* See the [i18n guide](guide/i18n
|
|
4190
|
+
* See the [i18n guide](guide/i18n-common-locale-id) for more information.
|
|
4191
4191
|
*
|
|
4192
4192
|
* @usageNotes
|
|
4193
4193
|
* ### Example
|
|
@@ -4462,7 +4462,7 @@ declare const enum LViewFlags {
|
|
|
4462
4462
|
* - Warning (default): show a warning in the console and/or shell.
|
|
4463
4463
|
* - Ignore: do nothing.
|
|
4464
4464
|
*
|
|
4465
|
-
* See the [i18n guide](guide/i18n#missing-
|
|
4465
|
+
* See the [i18n guide](guide/i18n-common-merge#report-missing-translations) for more information.
|
|
4466
4466
|
*
|
|
4467
4467
|
* @usageNotes
|
|
4468
4468
|
* ### Example
|
|
@@ -8076,7 +8076,7 @@ export declare interface TrackByFunction<T> {
|
|
|
8076
8076
|
* Use this token at bootstrap to provide the content of your translation file (`xtb`,
|
|
8077
8077
|
* `xlf` or `xlf2`) when you want to translate your application in another language.
|
|
8078
8078
|
*
|
|
8079
|
-
* See the [i18n guide](guide/i18n
|
|
8079
|
+
* See the [i18n guide](guide/i18n-common-merge) for more information.
|
|
8080
8080
|
*
|
|
8081
8081
|
* @usageNotes
|
|
8082
8082
|
* ### Example
|
|
@@ -8102,7 +8102,7 @@ export declare const TRANSLATIONS: InjectionToken<string>;
|
|
|
8102
8102
|
* Provide this token at bootstrap to set the format of your {@link TRANSLATIONS}: `xtb`,
|
|
8103
8103
|
* `xlf` or `xlf2`.
|
|
8104
8104
|
*
|
|
8105
|
-
* See the [i18n guide](guide/i18n
|
|
8105
|
+
* See the [i18n guide](guide/i18n-common-merge) for more information.
|
|
8106
8106
|
*
|
|
8107
8107
|
* @usageNotes
|
|
8108
8108
|
* ### Example
|
|
@@ -10748,7 +10748,7 @@ export declare const enum ɵExtraLocaleDataIndex {
|
|
|
10748
10748
|
*
|
|
10749
10749
|
* @param locale The locale code.
|
|
10750
10750
|
* @returns The locale data.
|
|
10751
|
-
* @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)
|
|
10751
|
+
* @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
|
|
10752
10752
|
*/
|
|
10753
10753
|
export declare function ɵfindLocaleData(locale: string): any;
|
|
10754
10754
|
|
|
@@ -10856,7 +10856,7 @@ export declare function ɵgetLocaleCurrencyCode(locale: string): string | null;
|
|
|
10856
10856
|
* @param locale A locale code for the locale format rules to use.
|
|
10857
10857
|
* @returns The plural function for the locale.
|
|
10858
10858
|
* @see `NgPlural`
|
|
10859
|
-
* @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)
|
|
10859
|
+
* @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
|
|
10860
10860
|
*/
|
|
10861
10861
|
export declare function ɵgetLocalePluralCase(locale: string): (value: number) => number;
|
|
10862
10862
|
|
|
@@ -11446,7 +11446,8 @@ export declare class ɵReflectionCapabilities implements PlatformReflectionCapab
|
|
|
11446
11446
|
|
|
11447
11447
|
/**
|
|
11448
11448
|
* Register locale data to be used internally by Angular. See the
|
|
11449
|
-
* ["I18n guide"](guide/i18n
|
|
11449
|
+
* ["I18n guide"](guide/i18n-common-format-data-locale) to know how to import additional locale
|
|
11450
|
+
* data.
|
|
11450
11451
|
*
|
|
11451
11452
|
* The signature `registerLocaleData(data: any, extraData?: any)` is deprecated since v5.1
|
|
11452
11453
|
*/
|