@angular/core 12.2.5 → 12.2.9
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 +2 -2
- package/bundles/core-testing.umd.js.map +1 -1
- package/bundles/core.umd.js +14 -13
- package/bundles/core.umd.js.map +1 -1
- package/core.d.ts +11 -10
- package/core.metadata.json +1 -1
- package/esm2015/src/compiler/compiler_facade_interface.js +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/version.js +1 -1
- package/fesm2015/core.js +14 -13
- package/fesm2015/core.js.map +1 -1
- package/fesm2015/testing.js +1 -1
- package/package.json +1 -1
- package/src/r3_symbols.d.ts +1 -1
- package/testing/testing.d.ts +1 -1
- package/testing.d.ts +1 -1
package/fesm2015/core.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v12.2.
|
|
2
|
+
* @license Angular v12.2.9
|
|
3
3
|
* (c) 2010-2021 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -11623,7 +11623,7 @@ class Injector {
|
|
|
11623
11623
|
}
|
|
11624
11624
|
}
|
|
11625
11625
|
Injector.THROW_IF_NOT_FOUND = THROW_IF_NOT_FOUND;
|
|
11626
|
-
Injector.NULL = new NullInjector();
|
|
11626
|
+
Injector.NULL = ( /* @__PURE__ */new NullInjector());
|
|
11627
11627
|
/** @nocollapse */
|
|
11628
11628
|
Injector.ɵprov = ɵɵdefineInjectable({
|
|
11629
11629
|
token: Injector,
|
|
@@ -14692,7 +14692,7 @@ class ReflectiveInjector_ {
|
|
|
14692
14692
|
return this.displayName;
|
|
14693
14693
|
}
|
|
14694
14694
|
}
|
|
14695
|
-
ReflectiveInjector_.INJECTOR_KEY = ReflectiveKey.get(Injector);
|
|
14695
|
+
ReflectiveInjector_.INJECTOR_KEY = ( /* @__PURE__ */ReflectiveKey.get(Injector));
|
|
14696
14696
|
function _mapProviders(injector, fn) {
|
|
14697
14697
|
const res = [];
|
|
14698
14698
|
for (let i = 0; i < injector._providers.length; ++i) {
|
|
@@ -18832,7 +18832,8 @@ var localeEn = ["en", [["a", "p"], ["AM", "PM"], u], [["AM", "PM"], u, u], [["S"
|
|
|
18832
18832
|
let LOCALE_DATA = {};
|
|
18833
18833
|
/**
|
|
18834
18834
|
* Register locale data to be used internally by Angular. See the
|
|
18835
|
-
* ["I18n guide"](guide/i18n
|
|
18835
|
+
* ["I18n guide"](guide/i18n-common-format-data-locale) to know how to import additional locale
|
|
18836
|
+
* data.
|
|
18836
18837
|
*
|
|
18837
18838
|
* The signature `registerLocaleData(data: any, extraData?: any)` is deprecated since v5.1
|
|
18838
18839
|
*/
|
|
@@ -18852,7 +18853,7 @@ function registerLocaleData(data, localeId, extraData) {
|
|
|
18852
18853
|
*
|
|
18853
18854
|
* @param locale The locale code.
|
|
18854
18855
|
* @returns The locale data.
|
|
18855
|
-
* @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)
|
|
18856
|
+
* @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
|
|
18856
18857
|
*/
|
|
18857
18858
|
function findLocaleData(locale) {
|
|
18858
18859
|
const normalizedLocale = normalizeLocale(locale);
|
|
@@ -18890,7 +18891,7 @@ function getLocaleCurrencyCode(locale) {
|
|
|
18890
18891
|
* @param locale A locale code for the locale format rules to use.
|
|
18891
18892
|
* @returns The plural function for the locale.
|
|
18892
18893
|
* @see `NgPlural`
|
|
18893
|
-
* @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)
|
|
18894
|
+
* @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
|
|
18894
18895
|
*/
|
|
18895
18896
|
function getLocalePluralCase(locale) {
|
|
18896
18897
|
const data = findLocaleData(locale);
|
|
@@ -21244,7 +21245,7 @@ of the code in this cookbook
|
|
|
21244
21245
|
*/
|
|
21245
21246
|
class ComponentFactoryResolver {
|
|
21246
21247
|
}
|
|
21247
|
-
ComponentFactoryResolver.NULL = new _NullComponentFactoryResolver();
|
|
21248
|
+
ComponentFactoryResolver.NULL = ( /* @__PURE__ */new _NullComponentFactoryResolver());
|
|
21248
21249
|
class CodegenComponentFactoryResolver {
|
|
21249
21250
|
constructor(factories, _parent, _ngModule) {
|
|
21250
21251
|
this._parent = _parent;
|
|
@@ -21458,7 +21459,7 @@ class Version {
|
|
|
21458
21459
|
/**
|
|
21459
21460
|
* @publicApi
|
|
21460
21461
|
*/
|
|
21461
|
-
const VERSION = new Version('12.2.
|
|
21462
|
+
const VERSION = new Version('12.2.9');
|
|
21462
21463
|
|
|
21463
21464
|
/**
|
|
21464
21465
|
* @license
|
|
@@ -28053,7 +28054,7 @@ Console.decorators = [
|
|
|
28053
28054
|
* It is used for i18n extraction, by i18n pipes (DatePipe, I18nPluralPipe, CurrencyPipe,
|
|
28054
28055
|
* DecimalPipe and PercentPipe) and by ICU expressions.
|
|
28055
28056
|
*
|
|
28056
|
-
* See the [i18n guide](guide/i18n
|
|
28057
|
+
* See the [i18n guide](guide/i18n-common-locale-id) for more information.
|
|
28057
28058
|
*
|
|
28058
28059
|
* @usageNotes
|
|
28059
28060
|
* ### Example
|
|
@@ -28076,7 +28077,7 @@ const LOCALE_ID$1 = new InjectionToken('LocaleId');
|
|
|
28076
28077
|
* CurrencyPipe when there is no currency code passed into it. This is only used by
|
|
28077
28078
|
* CurrencyPipe and has no relation to locale currency. Defaults to USD if not configured.
|
|
28078
28079
|
*
|
|
28079
|
-
* See the [i18n guide](guide/i18n
|
|
28080
|
+
* See the [i18n guide](guide/i18n-common-locale-id) for more information.
|
|
28080
28081
|
*
|
|
28081
28082
|
* <div class="alert is-helpful">
|
|
28082
28083
|
*
|
|
@@ -28114,7 +28115,7 @@ const DEFAULT_CURRENCY_CODE = new InjectionToken('DefaultCurrencyCode');
|
|
|
28114
28115
|
* Use this token at bootstrap to provide the content of your translation file (`xtb`,
|
|
28115
28116
|
* `xlf` or `xlf2`) when you want to translate your application in another language.
|
|
28116
28117
|
*
|
|
28117
|
-
* See the [i18n guide](guide/i18n
|
|
28118
|
+
* See the [i18n guide](guide/i18n-common-merge) for more information.
|
|
28118
28119
|
*
|
|
28119
28120
|
* @usageNotes
|
|
28120
28121
|
* ### Example
|
|
@@ -28139,7 +28140,7 @@ const TRANSLATIONS = new InjectionToken('Translations');
|
|
|
28139
28140
|
* Provide this token at bootstrap to set the format of your {@link TRANSLATIONS}: `xtb`,
|
|
28140
28141
|
* `xlf` or `xlf2`.
|
|
28141
28142
|
*
|
|
28142
|
-
* See the [i18n guide](guide/i18n
|
|
28143
|
+
* See the [i18n guide](guide/i18n-common-merge) for more information.
|
|
28143
28144
|
*
|
|
28144
28145
|
* @usageNotes
|
|
28145
28146
|
* ### Example
|
|
@@ -28164,7 +28165,7 @@ const TRANSLATIONS_FORMAT = new InjectionToken('TranslationsFormat');
|
|
|
28164
28165
|
* - Warning (default): show a warning in the console and/or shell.
|
|
28165
28166
|
* - Ignore: do nothing.
|
|
28166
28167
|
*
|
|
28167
|
-
* See the [i18n guide](guide/i18n#missing-
|
|
28168
|
+
* See the [i18n guide](guide/i18n-common-merge#report-missing-translations) for more information.
|
|
28168
28169
|
*
|
|
28169
28170
|
* @usageNotes
|
|
28170
28171
|
* ### Example
|