@angular/common 14.0.0-next.0 → 14.0.0-next.11
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/common.d.ts +34 -12
- package/esm2020/http/src/client.mjs +3 -3
- package/esm2020/http/src/interceptor.mjs +3 -3
- package/esm2020/http/src/jsonp.mjs +32 -27
- package/esm2020/http/src/module.mjs +15 -15
- package/esm2020/http/src/xhr.mjs +5 -7
- package/esm2020/http/src/xsrf.mjs +6 -6
- package/esm2020/http/testing/src/backend.mjs +11 -17
- package/esm2020/http/testing/src/module.mjs +4 -4
- package/esm2020/src/common_module.mjs +5 -11
- package/esm2020/src/directives/ng_class.mjs +3 -3
- package/esm2020/src/directives/ng_component_outlet.mjs +38 -22
- package/esm2020/src/directives/ng_for_of.mjs +5 -4
- package/esm2020/src/directives/ng_if.mjs +3 -3
- package/esm2020/src/directives/ng_plural.mjs +6 -6
- package/esm2020/src/directives/ng_style.mjs +3 -3
- package/esm2020/src/directives/ng_switch.mjs +11 -10
- package/esm2020/src/directives/ng_template_outlet.mjs +17 -8
- package/esm2020/src/dom_adapter.mjs +1 -1
- package/esm2020/src/i18n/format_date.mjs +7 -7
- package/esm2020/src/i18n/format_number.mjs +4 -4
- package/esm2020/src/i18n/localization.mjs +14 -4
- package/esm2020/src/location/hash_location_strategy.mjs +5 -4
- package/esm2020/src/location/location.mjs +20 -4
- package/esm2020/src/location/location_strategy.mjs +8 -7
- package/esm2020/src/location/platform_location.mjs +6 -6
- package/esm2020/src/pipes/async_pipe.mjs +3 -3
- package/esm2020/src/pipes/case_conversion_pipes.mjs +11 -11
- package/esm2020/src/pipes/date_pipe.mjs +4 -4
- package/esm2020/src/pipes/i18n_plural_pipe.mjs +3 -3
- package/esm2020/src/pipes/i18n_select_pipe.mjs +3 -3
- package/esm2020/src/pipes/json_pipe.mjs +3 -3
- package/esm2020/src/pipes/keyvalue_pipe.mjs +3 -3
- package/esm2020/src/pipes/number_pipe.mjs +10 -10
- package/esm2020/src/pipes/slice_pipe.mjs +3 -3
- package/esm2020/src/version.mjs +1 -1
- package/esm2020/testing/src/location_mock.mjs +18 -4
- package/esm2020/testing/src/mock_location_strategy.mjs +3 -3
- package/esm2020/testing/src/mock_platform_location.mjs +3 -3
- package/esm2020/upgrade/src/location_shim.mjs +3 -3
- package/esm2020/upgrade/src/location_upgrade_module.mjs +4 -4
- package/fesm2015/common.mjs +188 -136
- package/fesm2015/common.mjs.map +1 -1
- package/fesm2015/http/testing.mjs +15 -21
- package/fesm2015/http/testing.mjs.map +1 -1
- package/fesm2015/http.mjs +63 -60
- package/fesm2015/http.mjs.map +1 -1
- package/fesm2015/testing.mjs +26 -10
- package/fesm2015/testing.mjs.map +1 -1
- package/fesm2015/upgrade.mjs +7 -7
- package/fesm2015/upgrade.mjs.map +1 -1
- package/fesm2020/common.mjs +186 -136
- package/fesm2020/common.mjs.map +1 -1
- package/fesm2020/http/testing.mjs +15 -21
- package/fesm2020/http/testing.mjs.map +1 -1
- package/fesm2020/http.mjs +63 -60
- package/fesm2020/http.mjs.map +1 -1
- package/fesm2020/testing.mjs +24 -10
- package/fesm2020/testing.mjs.map +1 -1
- package/fesm2020/upgrade.mjs +7 -7
- package/fesm2020/upgrade.mjs.map +1 -1
- package/http/http.d.ts +2 -1
- package/http/testing/testing.d.ts +1 -1
- package/package.json +3 -3
- package/testing/testing.d.ts +3 -2
- package/upgrade/upgrade.d.ts +1 -1
package/fesm2015/common.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v14.0.0-next.
|
|
2
|
+
* @license Angular v14.0.0-next.11
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
import * as i0 from '@angular/core';
|
|
8
|
-
import { InjectionToken, Injectable, ɵɵinject, Inject, Optional, EventEmitter, ɵfindLocaleData, ɵLocaleDataIndex, ɵgetLocaleCurrencyCode, ɵgetLocalePluralCase, LOCALE_ID, ɵregisterLocaleData, ɵisListLikeIterable, ɵstringify, Directive, Input,
|
|
8
|
+
import { InjectionToken, Injectable, ɵɵinject, Inject, Optional, EventEmitter, ɵfindLocaleData, ɵLocaleDataIndex, ɵgetLocaleCurrencyCode, ɵgetLocalePluralCase, LOCALE_ID, ɵregisterLocaleData, ɵisListLikeIterable, ɵstringify, Directive, Input, createNgModuleRef, NgModuleRef, Host, ɵRuntimeError, Attribute, ɵisPromise, ɵisSubscribable, Pipe, DEFAULT_CURRENCY_CODE, NgModule, Version, ɵɵdefineInjectable } from '@angular/core';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* @license
|
|
@@ -87,9 +87,9 @@ class PlatformLocation {
|
|
|
87
87
|
throw new Error('Not implemented');
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
|
-
PlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
91
|
-
PlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
92
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
90
|
+
PlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: PlatformLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
91
|
+
PlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: PlatformLocation, providedIn: 'platform', useFactory: useBrowserPlatformLocation });
|
|
92
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: PlatformLocation, decorators: [{
|
|
93
93
|
type: Injectable,
|
|
94
94
|
args: [{
|
|
95
95
|
providedIn: 'platform',
|
|
@@ -190,9 +190,9 @@ class BrowserPlatformLocation extends PlatformLocation {
|
|
|
190
190
|
return this._history.state;
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
|
-
BrowserPlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
194
|
-
BrowserPlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
195
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
193
|
+
BrowserPlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: BrowserPlatformLocation, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
194
|
+
BrowserPlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: BrowserPlatformLocation, providedIn: 'platform', useFactory: createBrowserPlatformLocation });
|
|
195
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: BrowserPlatformLocation, decorators: [{
|
|
196
196
|
type: Injectable,
|
|
197
197
|
args: [{
|
|
198
198
|
providedIn: 'platform',
|
|
@@ -313,9 +313,9 @@ class LocationStrategy {
|
|
|
313
313
|
throw new Error('Not implemented');
|
|
314
314
|
}
|
|
315
315
|
}
|
|
316
|
-
LocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
317
|
-
LocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
318
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
316
|
+
LocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: LocationStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
317
|
+
LocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: LocationStrategy, providedIn: 'root', useFactory: provideLocationStrategy });
|
|
318
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: LocationStrategy, decorators: [{
|
|
319
319
|
type: Injectable,
|
|
320
320
|
args: [{ providedIn: 'root', useFactory: provideLocationStrategy }]
|
|
321
321
|
}] });
|
|
@@ -392,6 +392,7 @@ class PathLocationStrategy extends LocationStrategy {
|
|
|
392
392
|
}
|
|
393
393
|
this._baseHref = href;
|
|
394
394
|
}
|
|
395
|
+
/** @nodoc */
|
|
395
396
|
ngOnDestroy() {
|
|
396
397
|
while (this._removeListenerFns.length) {
|
|
397
398
|
this._removeListenerFns.pop()();
|
|
@@ -430,9 +431,9 @@ class PathLocationStrategy extends LocationStrategy {
|
|
|
430
431
|
(_b = (_a = this._platformLocation).historyGo) === null || _b === void 0 ? void 0 : _b.call(_a, relativePosition);
|
|
431
432
|
}
|
|
432
433
|
}
|
|
433
|
-
PathLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
434
|
-
PathLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
435
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
434
|
+
PathLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: PathLocationStrategy, deps: [{ token: PlatformLocation }, { token: APP_BASE_HREF, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
435
|
+
PathLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: PathLocationStrategy });
|
|
436
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: PathLocationStrategy, decorators: [{
|
|
436
437
|
type: Injectable
|
|
437
438
|
}], ctorParameters: function () {
|
|
438
439
|
return [{ type: PlatformLocation }, { type: undefined, decorators: [{
|
|
@@ -478,6 +479,7 @@ class HashLocationStrategy extends LocationStrategy {
|
|
|
478
479
|
this._baseHref = _baseHref;
|
|
479
480
|
}
|
|
480
481
|
}
|
|
482
|
+
/** @nodoc */
|
|
481
483
|
ngOnDestroy() {
|
|
482
484
|
while (this._removeListenerFns.length) {
|
|
483
485
|
this._removeListenerFns.pop()();
|
|
@@ -526,9 +528,9 @@ class HashLocationStrategy extends LocationStrategy {
|
|
|
526
528
|
(_b = (_a = this._platformLocation).historyGo) === null || _b === void 0 ? void 0 : _b.call(_a, relativePosition);
|
|
527
529
|
}
|
|
528
530
|
}
|
|
529
|
-
HashLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
530
|
-
HashLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
531
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
531
|
+
HashLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: HashLocationStrategy, deps: [{ token: PlatformLocation }, { token: APP_BASE_HREF, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
532
|
+
HashLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: HashLocationStrategy });
|
|
533
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: HashLocationStrategy, decorators: [{
|
|
532
534
|
type: Injectable
|
|
533
535
|
}], ctorParameters: function () {
|
|
534
536
|
return [{ type: PlatformLocation }, { type: undefined, decorators: [{
|
|
@@ -580,6 +582,8 @@ class Location {
|
|
|
580
582
|
this._subject = new EventEmitter();
|
|
581
583
|
/** @internal */
|
|
582
584
|
this._urlChangeListeners = [];
|
|
585
|
+
/** @internal */
|
|
586
|
+
this._urlChangeSubscription = null;
|
|
583
587
|
this._platformStrategy = platformStrategy;
|
|
584
588
|
const browserBaseHref = this._platformStrategy.getBaseHref();
|
|
585
589
|
this._platformLocation = platformLocation;
|
|
@@ -593,6 +597,12 @@ class Location {
|
|
|
593
597
|
});
|
|
594
598
|
});
|
|
595
599
|
}
|
|
600
|
+
/** @nodoc */
|
|
601
|
+
ngOnDestroy() {
|
|
602
|
+
var _a;
|
|
603
|
+
(_a = this._urlChangeSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
604
|
+
this._urlChangeListeners = [];
|
|
605
|
+
}
|
|
596
606
|
/**
|
|
597
607
|
* Normalizes the URL path for this location.
|
|
598
608
|
*
|
|
@@ -709,6 +719,7 @@ class Location {
|
|
|
709
719
|
* framework that are not detectible through "popstate" or "hashchange" events.
|
|
710
720
|
*
|
|
711
721
|
* @param fn The change handler function, which take a URL and a location history state.
|
|
722
|
+
* @returns A function that, when executed, unregisters a URL change listener.
|
|
712
723
|
*/
|
|
713
724
|
onUrlChange(fn) {
|
|
714
725
|
this._urlChangeListeners.push(fn);
|
|
@@ -717,6 +728,15 @@ class Location {
|
|
|
717
728
|
this._notifyUrlChangeListeners(v.url, v.state);
|
|
718
729
|
});
|
|
719
730
|
}
|
|
731
|
+
return () => {
|
|
732
|
+
var _a;
|
|
733
|
+
const fnIndex = this._urlChangeListeners.indexOf(fn);
|
|
734
|
+
this._urlChangeListeners.splice(fnIndex, 1);
|
|
735
|
+
if (this._urlChangeListeners.length === 0) {
|
|
736
|
+
(_a = this._urlChangeSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
737
|
+
this._urlChangeSubscription = null;
|
|
738
|
+
}
|
|
739
|
+
};
|
|
720
740
|
}
|
|
721
741
|
/** @internal */
|
|
722
742
|
_notifyUrlChangeListeners(url = '', state) {
|
|
@@ -767,9 +787,9 @@ Location.joinWithSlash = joinWithSlash;
|
|
|
767
787
|
* @returns The URL string, modified if needed.
|
|
768
788
|
*/
|
|
769
789
|
Location.stripTrailingSlash = stripTrailingSlash;
|
|
770
|
-
Location.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
771
|
-
Location.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
772
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
790
|
+
Location.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: Location, deps: [{ token: LocationStrategy }, { token: PlatformLocation }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
791
|
+
Location.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: Location, providedIn: 'root', useFactory: createLocation });
|
|
792
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: Location, decorators: [{
|
|
773
793
|
type: Injectable,
|
|
774
794
|
args: [{
|
|
775
795
|
providedIn: 'root',
|
|
@@ -1441,7 +1461,7 @@ function getNumberOfCurrencyDigits(code) {
|
|
|
1441
1461
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1442
1462
|
* found in the LICENSE file at https://angular.io/license
|
|
1443
1463
|
*/
|
|
1444
|
-
const ISO8601_DATE_REGEX = /^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;
|
|
1464
|
+
const ISO8601_DATE_REGEX = /^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;
|
|
1445
1465
|
// 1 2 3 4 5 6 7 8 9 10 11
|
|
1446
1466
|
const NAMED_FORMATS = {};
|
|
1447
1467
|
const DATE_FORMATS_SPLIT = /((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;
|
|
@@ -1520,9 +1540,9 @@ function formatDate(value, format, locale, timezone) {
|
|
|
1520
1540
|
let text = '';
|
|
1521
1541
|
parts.forEach(value => {
|
|
1522
1542
|
const dateFormatter = getDateFormatter(value);
|
|
1523
|
-
text += dateFormatter ?
|
|
1524
|
-
|
|
1525
|
-
|
|
1543
|
+
text += dateFormatter ? dateFormatter(date, locale, dateTimezoneOffset) :
|
|
1544
|
+
value === '\'\'' ? '\'' :
|
|
1545
|
+
value.replace(/(^'|'$)/g, '').replace(/''/g, '\'');
|
|
1526
1546
|
});
|
|
1527
1547
|
return text;
|
|
1528
1548
|
}
|
|
@@ -1638,13 +1658,13 @@ function padNumber(num, digits, minusSign = '-', trim, negWrap) {
|
|
|
1638
1658
|
strNum = '0' + strNum;
|
|
1639
1659
|
}
|
|
1640
1660
|
if (trim) {
|
|
1641
|
-
strNum = strNum.
|
|
1661
|
+
strNum = strNum.slice(strNum.length - digits);
|
|
1642
1662
|
}
|
|
1643
1663
|
return neg + strNum;
|
|
1644
1664
|
}
|
|
1645
1665
|
function formatFractionalSeconds(milliseconds, digits) {
|
|
1646
1666
|
const strMs = padNumber(milliseconds, 3);
|
|
1647
|
-
return strMs.
|
|
1667
|
+
return strMs.substring(0, digits);
|
|
1648
1668
|
}
|
|
1649
1669
|
/**
|
|
1650
1670
|
* Returns a date formatter that transforms a date into its locale digit representation
|
|
@@ -2392,7 +2412,7 @@ function parseNumberFormat(format, minusSign = '-') {
|
|
|
2392
2412
|
positive.substring(0, positive.lastIndexOf(ZERO_CHAR) + 1),
|
|
2393
2413
|
positive.substring(positive.lastIndexOf(ZERO_CHAR) + 1)
|
|
2394
2414
|
], integer = positiveParts[0], fraction = positiveParts[1] || '';
|
|
2395
|
-
p.posPre = integer.
|
|
2415
|
+
p.posPre = integer.substring(0, integer.indexOf(DIGIT_CHAR));
|
|
2396
2416
|
for (let i = 0; i < fraction.length; i++) {
|
|
2397
2417
|
const ch = fraction.charAt(i);
|
|
2398
2418
|
if (ch === ZERO_CHAR) {
|
|
@@ -2410,8 +2430,8 @@ function parseNumberFormat(format, minusSign = '-') {
|
|
|
2410
2430
|
p.lgSize = (groups[2] || groups[1]) ? (groups[2] || groups[1]).length : 0;
|
|
2411
2431
|
if (negative) {
|
|
2412
2432
|
const trunkLen = positive.length - p.posPre.length - p.posSuf.length, pos = negative.indexOf(DIGIT_CHAR);
|
|
2413
|
-
p.negPre = negative.
|
|
2414
|
-
p.negSuf = negative.
|
|
2433
|
+
p.negPre = negative.substring(0, pos).replace(/'/g, '');
|
|
2434
|
+
p.negSuf = negative.slice(pos + trunkLen).replace(/'/g, '');
|
|
2415
2435
|
}
|
|
2416
2436
|
else {
|
|
2417
2437
|
p.negPre = minusSign + p.posPre;
|
|
@@ -2585,6 +2605,16 @@ function parseIntAutoRadix(text) {
|
|
|
2585
2605
|
*/
|
|
2586
2606
|
class NgLocalization {
|
|
2587
2607
|
}
|
|
2608
|
+
NgLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: NgLocalization, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2609
|
+
NgLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: NgLocalization, providedIn: 'root', useFactory: (locale) => new NgLocaleLocalization(locale), deps: [{ token: LOCALE_ID }] });
|
|
2610
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: NgLocalization, decorators: [{
|
|
2611
|
+
type: Injectable,
|
|
2612
|
+
args: [{
|
|
2613
|
+
providedIn: 'root',
|
|
2614
|
+
useFactory: (locale) => new NgLocaleLocalization(locale),
|
|
2615
|
+
deps: [LOCALE_ID],
|
|
2616
|
+
}]
|
|
2617
|
+
}] });
|
|
2588
2618
|
/**
|
|
2589
2619
|
* Returns the plural category for a given value.
|
|
2590
2620
|
* - "=value" when the case exists,
|
|
@@ -2632,9 +2662,9 @@ class NgLocaleLocalization extends NgLocalization {
|
|
|
2632
2662
|
}
|
|
2633
2663
|
}
|
|
2634
2664
|
}
|
|
2635
|
-
NgLocaleLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
2636
|
-
NgLocaleLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
2637
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
2665
|
+
NgLocaleLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: NgLocaleLocalization, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2666
|
+
NgLocaleLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: NgLocaleLocalization });
|
|
2667
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: NgLocaleLocalization, decorators: [{
|
|
2638
2668
|
type: Injectable
|
|
2639
2669
|
}], ctorParameters: function () {
|
|
2640
2670
|
return [{ type: undefined, decorators: [{
|
|
@@ -2829,9 +2859,9 @@ class NgClass {
|
|
|
2829
2859
|
}
|
|
2830
2860
|
}
|
|
2831
2861
|
}
|
|
2832
|
-
NgClass.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
2833
|
-
NgClass.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
2834
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
2862
|
+
NgClass.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: NgClass, deps: [{ token: i0.IterableDiffers }, { token: i0.KeyValueDiffers }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2863
|
+
NgClass.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.11", type: NgClass, selector: "[ngClass]", inputs: { klass: ["class", "klass"], ngClass: "ngClass" }, ngImport: i0 });
|
|
2864
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: NgClass, decorators: [{
|
|
2835
2865
|
type: Directive,
|
|
2836
2866
|
args: [{ selector: '[ngClass]' }]
|
|
2837
2867
|
}], ctorParameters: function () { return [{ type: i0.IterableDiffers }, { type: i0.KeyValueDiffers }, { type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { klass: [{
|
|
@@ -2868,9 +2898,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.0",
|
|
|
2868
2898
|
* * `ngComponentOutletContent`: Optional list of projectable nodes to insert into the content
|
|
2869
2899
|
* section of the component, if it exists.
|
|
2870
2900
|
*
|
|
2871
|
-
* * `
|
|
2901
|
+
* * `ngComponentOutletNgModule`: Optional NgModule class reference to allow loading another
|
|
2872
2902
|
* module dynamically, then loading a component from that module.
|
|
2873
2903
|
*
|
|
2904
|
+
* * `ngComponentOutletNgModuleFactory`: Deprecated config option that allows providing optional
|
|
2905
|
+
* NgModule factory to allow loading another module dynamically, then loading a component from that
|
|
2906
|
+
* module. Use `ngComponentOutletNgModule` instead.
|
|
2907
|
+
*
|
|
2874
2908
|
* ### Syntax
|
|
2875
2909
|
*
|
|
2876
2910
|
* Simple
|
|
@@ -2886,10 +2920,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.0",
|
|
|
2886
2920
|
* </ng-container>
|
|
2887
2921
|
* ```
|
|
2888
2922
|
*
|
|
2889
|
-
* Customized
|
|
2923
|
+
* Customized NgModule reference
|
|
2890
2924
|
* ```
|
|
2891
2925
|
* <ng-container *ngComponentOutlet="componentTypeExpression;
|
|
2892
|
-
*
|
|
2926
|
+
* ngModule: ngModuleClass;">
|
|
2893
2927
|
* </ng-container>
|
|
2894
2928
|
* ```
|
|
2895
2929
|
*
|
|
@@ -2907,39 +2941,44 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.0",
|
|
|
2907
2941
|
class NgComponentOutlet {
|
|
2908
2942
|
constructor(_viewContainerRef) {
|
|
2909
2943
|
this._viewContainerRef = _viewContainerRef;
|
|
2910
|
-
this._componentRef = null;
|
|
2911
|
-
this._moduleRef = null;
|
|
2912
2944
|
}
|
|
2945
|
+
/** @nodoc */
|
|
2913
2946
|
ngOnChanges(changes) {
|
|
2914
|
-
this
|
|
2915
|
-
|
|
2947
|
+
const { _viewContainerRef: viewContainerRef, ngComponentOutletNgModule: ngModule, ngComponentOutletNgModuleFactory: ngModuleFactory, } = this;
|
|
2948
|
+
viewContainerRef.clear();
|
|
2949
|
+
this._componentRef = undefined;
|
|
2916
2950
|
if (this.ngComponentOutlet) {
|
|
2917
|
-
const
|
|
2918
|
-
if (changes['ngComponentOutletNgModuleFactory']) {
|
|
2951
|
+
const injector = this.ngComponentOutletInjector || viewContainerRef.parentInjector;
|
|
2952
|
+
if (changes['ngComponentOutletNgModule'] || changes['ngComponentOutletNgModuleFactory']) {
|
|
2919
2953
|
if (this._moduleRef)
|
|
2920
2954
|
this._moduleRef.destroy();
|
|
2921
|
-
if (
|
|
2922
|
-
|
|
2923
|
-
|
|
2955
|
+
if (ngModule) {
|
|
2956
|
+
this._moduleRef = createNgModuleRef(ngModule, getParentInjector(injector));
|
|
2957
|
+
}
|
|
2958
|
+
else if (ngModuleFactory) {
|
|
2959
|
+
this._moduleRef = ngModuleFactory.create(getParentInjector(injector));
|
|
2924
2960
|
}
|
|
2925
2961
|
else {
|
|
2926
|
-
this._moduleRef =
|
|
2962
|
+
this._moduleRef = undefined;
|
|
2927
2963
|
}
|
|
2928
2964
|
}
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2965
|
+
this._componentRef = viewContainerRef.createComponent(this.ngComponentOutlet, {
|
|
2966
|
+
index: viewContainerRef.length,
|
|
2967
|
+
injector,
|
|
2968
|
+
ngModuleRef: this._moduleRef,
|
|
2969
|
+
projectableNodes: this.ngComponentOutletContent,
|
|
2970
|
+
});
|
|
2933
2971
|
}
|
|
2934
2972
|
}
|
|
2973
|
+
/** @nodoc */
|
|
2935
2974
|
ngOnDestroy() {
|
|
2936
2975
|
if (this._moduleRef)
|
|
2937
2976
|
this._moduleRef.destroy();
|
|
2938
2977
|
}
|
|
2939
2978
|
}
|
|
2940
|
-
NgComponentOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
2941
|
-
NgComponentOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
2942
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
2979
|
+
NgComponentOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: NgComponentOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2980
|
+
NgComponentOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.11", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: { ngComponentOutlet: "ngComponentOutlet", ngComponentOutletInjector: "ngComponentOutletInjector", ngComponentOutletContent: "ngComponentOutletContent", ngComponentOutletNgModule: "ngComponentOutletNgModule", ngComponentOutletNgModuleFactory: "ngComponentOutletNgModuleFactory" }, usesOnChanges: true, ngImport: i0 });
|
|
2981
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: NgComponentOutlet, decorators: [{
|
|
2943
2982
|
type: Directive,
|
|
2944
2983
|
args: [{ selector: '[ngComponentOutlet]' }]
|
|
2945
2984
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { ngComponentOutlet: [{
|
|
@@ -2948,9 +2987,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.0",
|
|
|
2948
2987
|
type: Input
|
|
2949
2988
|
}], ngComponentOutletContent: [{
|
|
2950
2989
|
type: Input
|
|
2990
|
+
}], ngComponentOutletNgModule: [{
|
|
2991
|
+
type: Input
|
|
2951
2992
|
}], ngComponentOutletNgModuleFactory: [{
|
|
2952
2993
|
type: Input
|
|
2953
2994
|
}] } });
|
|
2995
|
+
// Helper function that returns an Injector instance of a parent NgModule.
|
|
2996
|
+
function getParentInjector(injector) {
|
|
2997
|
+
const parentNgModule = injector.get(NgModuleRef);
|
|
2998
|
+
return parentNgModule.injector;
|
|
2999
|
+
}
|
|
2954
3000
|
|
|
2955
3001
|
/**
|
|
2956
3002
|
* @license
|
|
@@ -3142,6 +3188,7 @@ class NgForOf {
|
|
|
3142
3188
|
}
|
|
3143
3189
|
/**
|
|
3144
3190
|
* Applies the changes when needed.
|
|
3191
|
+
* @nodoc
|
|
3145
3192
|
*/
|
|
3146
3193
|
ngDoCheck() {
|
|
3147
3194
|
if (this._ngForOfDirty) {
|
|
@@ -3212,9 +3259,9 @@ class NgForOf {
|
|
|
3212
3259
|
return true;
|
|
3213
3260
|
}
|
|
3214
3261
|
}
|
|
3215
|
-
NgForOf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3216
|
-
NgForOf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3217
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3262
|
+
NgForOf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: NgForOf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3263
|
+
NgForOf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.11", type: NgForOf, selector: "[ngFor][ngForOf]", inputs: { ngForOf: "ngForOf", ngForTrackBy: "ngForTrackBy", ngForTemplate: "ngForTemplate" }, ngImport: i0 });
|
|
3264
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: NgForOf, decorators: [{
|
|
3218
3265
|
type: Directive,
|
|
3219
3266
|
args: [{ selector: '[ngFor][ngForOf]' }]
|
|
3220
3267
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }, { type: i0.IterableDiffers }]; }, propDecorators: { ngForOf: [{
|
|
@@ -3444,9 +3491,9 @@ class NgIf {
|
|
|
3444
3491
|
return true;
|
|
3445
3492
|
}
|
|
3446
3493
|
}
|
|
3447
|
-
NgIf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3448
|
-
NgIf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3449
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3494
|
+
NgIf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: NgIf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3495
|
+
NgIf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.11", type: NgIf, selector: "[ngIf]", inputs: { ngIf: "ngIf", ngIfThen: "ngIfThen", ngIfElse: "ngIfElse" }, ngImport: i0 });
|
|
3496
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: NgIf, decorators: [{
|
|
3450
3497
|
type: Directive,
|
|
3451
3498
|
args: [{ selector: '[ngIf]' }]
|
|
3452
3499
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }]; }, propDecorators: { ngIf: [{
|
|
@@ -3614,9 +3661,9 @@ class NgSwitch {
|
|
|
3614
3661
|
}
|
|
3615
3662
|
}
|
|
3616
3663
|
}
|
|
3617
|
-
NgSwitch.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3618
|
-
NgSwitch.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3619
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3664
|
+
NgSwitch.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: NgSwitch, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
3665
|
+
NgSwitch.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.11", type: NgSwitch, selector: "[ngSwitch]", inputs: { ngSwitch: "ngSwitch" }, ngImport: i0 });
|
|
3666
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: NgSwitch, decorators: [{
|
|
3620
3667
|
type: Directive,
|
|
3621
3668
|
args: [{ selector: '[ngSwitch]' }]
|
|
3622
3669
|
}], propDecorators: { ngSwitch: [{
|
|
@@ -3666,14 +3713,15 @@ class NgSwitchCase {
|
|
|
3666
3713
|
}
|
|
3667
3714
|
/**
|
|
3668
3715
|
* Performs case matching. For internal use only.
|
|
3716
|
+
* @nodoc
|
|
3669
3717
|
*/
|
|
3670
3718
|
ngDoCheck() {
|
|
3671
3719
|
this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase));
|
|
3672
3720
|
}
|
|
3673
3721
|
}
|
|
3674
|
-
NgSwitchCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3675
|
-
NgSwitchCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3676
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3722
|
+
NgSwitchCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: NgSwitchCase, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3723
|
+
NgSwitchCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.11", type: NgSwitchCase, selector: "[ngSwitchCase]", inputs: { ngSwitchCase: "ngSwitchCase" }, ngImport: i0 });
|
|
3724
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: NgSwitchCase, decorators: [{
|
|
3677
3725
|
type: Directive,
|
|
3678
3726
|
args: [{ selector: '[ngSwitchCase]' }]
|
|
3679
3727
|
}], ctorParameters: function () {
|
|
@@ -3707,9 +3755,9 @@ class NgSwitchDefault {
|
|
|
3707
3755
|
ngSwitch._addDefault(new SwitchView(viewContainer, templateRef));
|
|
3708
3756
|
}
|
|
3709
3757
|
}
|
|
3710
|
-
NgSwitchDefault.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3711
|
-
NgSwitchDefault.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3712
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3758
|
+
NgSwitchDefault.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: NgSwitchDefault, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3759
|
+
NgSwitchDefault.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.11", type: NgSwitchDefault, selector: "[ngSwitchDefault]", ngImport: i0 });
|
|
3760
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: NgSwitchDefault, decorators: [{
|
|
3713
3761
|
type: Directive,
|
|
3714
3762
|
args: [{ selector: '[ngSwitchDefault]' }]
|
|
3715
3763
|
}], ctorParameters: function () {
|
|
@@ -3792,9 +3840,9 @@ class NgPlural {
|
|
|
3792
3840
|
}
|
|
3793
3841
|
}
|
|
3794
3842
|
}
|
|
3795
|
-
NgPlural.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3796
|
-
NgPlural.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3797
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3843
|
+
NgPlural.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: NgPlural, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3844
|
+
NgPlural.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.11", type: NgPlural, selector: "[ngPlural]", inputs: { ngPlural: "ngPlural" }, ngImport: i0 });
|
|
3845
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: NgPlural, decorators: [{
|
|
3798
3846
|
type: Directive,
|
|
3799
3847
|
args: [{ selector: '[ngPlural]' }]
|
|
3800
3848
|
}], ctorParameters: function () { return [{ type: NgLocalization }]; }, propDecorators: { ngPlural: [{
|
|
@@ -3827,9 +3875,9 @@ class NgPluralCase {
|
|
|
3827
3875
|
ngPlural.addCase(isANumber ? `=${value}` : value, new SwitchView(viewContainer, template));
|
|
3828
3876
|
}
|
|
3829
3877
|
}
|
|
3830
|
-
NgPluralCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3831
|
-
NgPluralCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3832
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3878
|
+
NgPluralCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: NgPluralCase, deps: [{ token: 'ngPluralCase', attribute: true }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: NgPlural, host: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3879
|
+
NgPluralCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.11", type: NgPluralCase, selector: "[ngPluralCase]", ngImport: i0 });
|
|
3880
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: NgPluralCase, decorators: [{
|
|
3833
3881
|
type: Directive,
|
|
3834
3882
|
args: [{ selector: '[ngPluralCase]' }]
|
|
3835
3883
|
}], ctorParameters: function () {
|
|
@@ -3922,9 +3970,9 @@ class NgStyle {
|
|
|
3922
3970
|
changes.forEachChangedItem((record) => this._setStyle(record.key, record.currentValue));
|
|
3923
3971
|
}
|
|
3924
3972
|
}
|
|
3925
|
-
NgStyle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3926
|
-
NgStyle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3927
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3973
|
+
NgStyle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: NgStyle, deps: [{ token: i0.ElementRef }, { token: i0.KeyValueDiffers }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3974
|
+
NgStyle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.11", type: NgStyle, selector: "[ngStyle]", inputs: { ngStyle: "ngStyle" }, ngImport: i0 });
|
|
3975
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: NgStyle, decorators: [{
|
|
3928
3976
|
type: Directive,
|
|
3929
3977
|
args: [{ selector: '[ngStyle]' }]
|
|
3930
3978
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.KeyValueDiffers }, { type: i0.Renderer2 }]; }, propDecorators: { ngStyle: [{
|
|
@@ -3978,31 +4026,40 @@ class NgTemplateOutlet {
|
|
|
3978
4026
|
* A string defining the template reference and optionally the context object for the template.
|
|
3979
4027
|
*/
|
|
3980
4028
|
this.ngTemplateOutlet = null;
|
|
4029
|
+
/** Injector to be used within the embedded view. */
|
|
4030
|
+
this.ngTemplateOutletInjector = null;
|
|
3981
4031
|
}
|
|
4032
|
+
/** @nodoc */
|
|
3982
4033
|
ngOnChanges(changes) {
|
|
3983
|
-
if (changes['ngTemplateOutlet']) {
|
|
4034
|
+
if (changes['ngTemplateOutlet'] || changes['ngTemplateOutletInjector']) {
|
|
3984
4035
|
const viewContainerRef = this._viewContainerRef;
|
|
3985
4036
|
if (this._viewRef) {
|
|
3986
4037
|
viewContainerRef.remove(viewContainerRef.indexOf(this._viewRef));
|
|
3987
4038
|
}
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
|
|
4039
|
+
if (this.ngTemplateOutlet) {
|
|
4040
|
+
const { ngTemplateOutlet: template, ngTemplateOutletContext: context, ngTemplateOutletInjector: injector } = this;
|
|
4041
|
+
this._viewRef = viewContainerRef.createEmbeddedView(template, context, injector ? { injector } : undefined);
|
|
4042
|
+
}
|
|
4043
|
+
else {
|
|
4044
|
+
this._viewRef = null;
|
|
4045
|
+
}
|
|
3991
4046
|
}
|
|
3992
4047
|
else if (this._viewRef && changes['ngTemplateOutletContext'] && this.ngTemplateOutletContext) {
|
|
3993
4048
|
this._viewRef.context = this.ngTemplateOutletContext;
|
|
3994
4049
|
}
|
|
3995
4050
|
}
|
|
3996
4051
|
}
|
|
3997
|
-
NgTemplateOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3998
|
-
NgTemplateOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3999
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4052
|
+
NgTemplateOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: NgTemplateOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4053
|
+
NgTemplateOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.11", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: { ngTemplateOutletContext: "ngTemplateOutletContext", ngTemplateOutlet: "ngTemplateOutlet", ngTemplateOutletInjector: "ngTemplateOutletInjector" }, usesOnChanges: true, ngImport: i0 });
|
|
4054
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: NgTemplateOutlet, decorators: [{
|
|
4000
4055
|
type: Directive,
|
|
4001
4056
|
args: [{ selector: '[ngTemplateOutlet]' }]
|
|
4002
4057
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { ngTemplateOutletContext: [{
|
|
4003
4058
|
type: Input
|
|
4004
4059
|
}], ngTemplateOutlet: [{
|
|
4005
4060
|
type: Input
|
|
4061
|
+
}], ngTemplateOutletInjector: [{
|
|
4062
|
+
type: Input
|
|
4006
4063
|
}] } });
|
|
4007
4064
|
|
|
4008
4065
|
/**
|
|
@@ -4159,9 +4216,9 @@ class AsyncPipe {
|
|
|
4159
4216
|
}
|
|
4160
4217
|
}
|
|
4161
4218
|
}
|
|
4162
|
-
AsyncPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4163
|
-
AsyncPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4164
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4219
|
+
AsyncPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: AsyncPipe, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4220
|
+
AsyncPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: AsyncPipe, name: "async", pure: false });
|
|
4221
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: AsyncPipe, decorators: [{
|
|
4165
4222
|
type: Pipe,
|
|
4166
4223
|
args: [{ name: 'async', pure: false }]
|
|
4167
4224
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; } });
|
|
@@ -4198,9 +4255,9 @@ class LowerCasePipe {
|
|
|
4198
4255
|
return value.toLowerCase();
|
|
4199
4256
|
}
|
|
4200
4257
|
}
|
|
4201
|
-
LowerCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4202
|
-
LowerCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4203
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4258
|
+
LowerCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: LowerCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4259
|
+
LowerCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: LowerCasePipe, name: "lowercase" });
|
|
4260
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: LowerCasePipe, decorators: [{
|
|
4204
4261
|
type: Pipe,
|
|
4205
4262
|
args: [{ name: 'lowercase' }]
|
|
4206
4263
|
}] });
|
|
@@ -4237,12 +4294,12 @@ class TitleCasePipe {
|
|
|
4237
4294
|
if (typeof value !== 'string') {
|
|
4238
4295
|
throw invalidPipeArgumentError(TitleCasePipe, value);
|
|
4239
4296
|
}
|
|
4240
|
-
return value.replace(unicodeWordMatch, (txt => txt[0].toUpperCase() + txt.
|
|
4297
|
+
return value.replace(unicodeWordMatch, (txt => txt[0].toUpperCase() + txt.slice(1).toLowerCase()));
|
|
4241
4298
|
}
|
|
4242
4299
|
}
|
|
4243
|
-
TitleCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4244
|
-
TitleCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4245
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4300
|
+
TitleCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: TitleCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4301
|
+
TitleCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: TitleCasePipe, name: "titlecase" });
|
|
4302
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: TitleCasePipe, decorators: [{
|
|
4246
4303
|
type: Pipe,
|
|
4247
4304
|
args: [{ name: 'titlecase' }]
|
|
4248
4305
|
}] });
|
|
@@ -4264,9 +4321,9 @@ class UpperCasePipe {
|
|
|
4264
4321
|
return value.toUpperCase();
|
|
4265
4322
|
}
|
|
4266
4323
|
}
|
|
4267
|
-
UpperCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4268
|
-
UpperCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4269
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4324
|
+
UpperCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: UpperCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4325
|
+
UpperCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: UpperCasePipe, name: "uppercase" });
|
|
4326
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: UpperCasePipe, decorators: [{
|
|
4270
4327
|
type: Pipe,
|
|
4271
4328
|
args: [{ name: 'uppercase' }]
|
|
4272
4329
|
}] });
|
|
@@ -4459,9 +4516,9 @@ class DatePipe {
|
|
|
4459
4516
|
}
|
|
4460
4517
|
}
|
|
4461
4518
|
}
|
|
4462
|
-
DatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4463
|
-
DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4464
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4519
|
+
DatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: DatePipe, deps: [{ token: LOCALE_ID }, { token: DATE_PIPE_DEFAULT_TIMEZONE, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4520
|
+
DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: DatePipe, name: "date" });
|
|
4521
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: DatePipe, decorators: [{
|
|
4465
4522
|
type: Pipe,
|
|
4466
4523
|
args: [{ name: 'date', pure: true }]
|
|
4467
4524
|
}], ctorParameters: function () {
|
|
@@ -4519,9 +4576,9 @@ class I18nPluralPipe {
|
|
|
4519
4576
|
return pluralMap[key].replace(_INTERPOLATION_REGEXP, value.toString());
|
|
4520
4577
|
}
|
|
4521
4578
|
}
|
|
4522
|
-
I18nPluralPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4523
|
-
I18nPluralPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4524
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4579
|
+
I18nPluralPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: I18nPluralPipe, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4580
|
+
I18nPluralPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: I18nPluralPipe, name: "i18nPlural" });
|
|
4581
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: I18nPluralPipe, decorators: [{
|
|
4525
4582
|
type: Pipe,
|
|
4526
4583
|
args: [{ name: 'i18nPlural', pure: true }]
|
|
4527
4584
|
}], ctorParameters: function () { return [{ type: NgLocalization }]; } });
|
|
@@ -4571,9 +4628,9 @@ class I18nSelectPipe {
|
|
|
4571
4628
|
return '';
|
|
4572
4629
|
}
|
|
4573
4630
|
}
|
|
4574
|
-
I18nSelectPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4575
|
-
I18nSelectPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4576
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4631
|
+
I18nSelectPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: I18nSelectPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4632
|
+
I18nSelectPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: I18nSelectPipe, name: "i18nSelect" });
|
|
4633
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: I18nSelectPipe, decorators: [{
|
|
4577
4634
|
type: Pipe,
|
|
4578
4635
|
args: [{ name: 'i18nSelect', pure: true }]
|
|
4579
4636
|
}] });
|
|
@@ -4608,9 +4665,9 @@ class JsonPipe {
|
|
|
4608
4665
|
return JSON.stringify(value, null, 2);
|
|
4609
4666
|
}
|
|
4610
4667
|
}
|
|
4611
|
-
JsonPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4612
|
-
JsonPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4613
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4668
|
+
JsonPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: JsonPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4669
|
+
JsonPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: JsonPipe, name: "json", pure: false });
|
|
4670
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: JsonPipe, decorators: [{
|
|
4614
4671
|
type: Pipe,
|
|
4615
4672
|
args: [{ name: 'json', pure: false }]
|
|
4616
4673
|
}] });
|
|
@@ -4674,9 +4731,9 @@ class KeyValuePipe {
|
|
|
4674
4731
|
return this.keyValues;
|
|
4675
4732
|
}
|
|
4676
4733
|
}
|
|
4677
|
-
KeyValuePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4678
|
-
KeyValuePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4679
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4734
|
+
KeyValuePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: KeyValuePipe, deps: [{ token: i0.KeyValueDiffers }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4735
|
+
KeyValuePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: KeyValuePipe, name: "keyvalue", pure: false });
|
|
4736
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: KeyValuePipe, decorators: [{
|
|
4680
4737
|
type: Pipe,
|
|
4681
4738
|
args: [{ name: 'keyvalue', pure: false }]
|
|
4682
4739
|
}], ctorParameters: function () { return [{ type: i0.KeyValueDiffers }]; } });
|
|
@@ -4805,9 +4862,9 @@ class DecimalPipe {
|
|
|
4805
4862
|
}
|
|
4806
4863
|
}
|
|
4807
4864
|
}
|
|
4808
|
-
DecimalPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4809
|
-
DecimalPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4810
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4865
|
+
DecimalPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: DecimalPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4866
|
+
DecimalPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: DecimalPipe, name: "number" });
|
|
4867
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: DecimalPipe, decorators: [{
|
|
4811
4868
|
type: Pipe,
|
|
4812
4869
|
args: [{ name: 'number' }]
|
|
4813
4870
|
}], ctorParameters: function () {
|
|
@@ -4869,9 +4926,9 @@ class PercentPipe {
|
|
|
4869
4926
|
}
|
|
4870
4927
|
}
|
|
4871
4928
|
}
|
|
4872
|
-
PercentPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4873
|
-
PercentPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4874
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4929
|
+
PercentPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: PercentPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4930
|
+
PercentPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: PercentPipe, name: "percent" });
|
|
4931
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: PercentPipe, decorators: [{
|
|
4875
4932
|
type: Pipe,
|
|
4876
4933
|
args: [{ name: 'percent' }]
|
|
4877
4934
|
}], ctorParameters: function () {
|
|
@@ -4986,9 +5043,9 @@ class CurrencyPipe {
|
|
|
4986
5043
|
}
|
|
4987
5044
|
}
|
|
4988
5045
|
}
|
|
4989
|
-
CurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4990
|
-
CurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4991
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
5046
|
+
CurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: CurrencyPipe, deps: [{ token: LOCALE_ID }, { token: DEFAULT_CURRENCY_CODE }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
5047
|
+
CurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: CurrencyPipe, name: "currency" });
|
|
5048
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: CurrencyPipe, decorators: [{
|
|
4992
5049
|
type: Pipe,
|
|
4993
5050
|
args: [{ name: 'currency' }]
|
|
4994
5051
|
}], ctorParameters: function () {
|
|
@@ -5072,9 +5129,9 @@ class SlicePipe {
|
|
|
5072
5129
|
return typeof obj === 'string' || Array.isArray(obj);
|
|
5073
5130
|
}
|
|
5074
5131
|
}
|
|
5075
|
-
SlicePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
5076
|
-
SlicePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
5077
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
5132
|
+
SlicePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: SlicePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
5133
|
+
SlicePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: SlicePipe, name: "slice", pure: false });
|
|
5134
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: SlicePipe, decorators: [{
|
|
5078
5135
|
type: Pipe,
|
|
5079
5136
|
args: [{ name: 'slice', pure: false }]
|
|
5080
5137
|
}] });
|
|
@@ -5129,19 +5186,14 @@ const COMMON_PIPES = [
|
|
|
5129
5186
|
*/
|
|
5130
5187
|
class CommonModule {
|
|
5131
5188
|
}
|
|
5132
|
-
CommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
5133
|
-
CommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
5134
|
-
CommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
5135
|
-
|
|
5136
|
-
] });
|
|
5137
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.0", ngImport: i0, type: CommonModule, decorators: [{
|
|
5189
|
+
CommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: CommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5190
|
+
CommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: CommonModule, declarations: [NgClass, NgComponentOutlet, NgForOf, NgIf, NgTemplateOutlet, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgPlural, NgPluralCase, AsyncPipe, UpperCasePipe, LowerCasePipe, JsonPipe, SlicePipe, DecimalPipe, PercentPipe, TitleCasePipe, CurrencyPipe, DatePipe, I18nPluralPipe, I18nSelectPipe, KeyValuePipe], exports: [NgClass, NgComponentOutlet, NgForOf, NgIf, NgTemplateOutlet, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgPlural, NgPluralCase, AsyncPipe, UpperCasePipe, LowerCasePipe, JsonPipe, SlicePipe, DecimalPipe, PercentPipe, TitleCasePipe, CurrencyPipe, DatePipe, I18nPluralPipe, I18nSelectPipe, KeyValuePipe] });
|
|
5191
|
+
CommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: CommonModule });
|
|
5192
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: CommonModule, decorators: [{
|
|
5138
5193
|
type: NgModule,
|
|
5139
5194
|
args: [{
|
|
5140
5195
|
declarations: [COMMON_DIRECTIVES, COMMON_PIPES],
|
|
5141
5196
|
exports: [COMMON_DIRECTIVES, COMMON_PIPES],
|
|
5142
|
-
providers: [
|
|
5143
|
-
{ provide: NgLocalization, useClass: NgLocaleLocalization },
|
|
5144
|
-
],
|
|
5145
5197
|
}]
|
|
5146
5198
|
}] });
|
|
5147
5199
|
|
|
@@ -5195,7 +5247,7 @@ function isPlatformWorkerUi(platformId) {
|
|
|
5195
5247
|
/**
|
|
5196
5248
|
* @publicApi
|
|
5197
5249
|
*/
|
|
5198
|
-
const VERSION = new Version('14.0.0-next.
|
|
5250
|
+
const VERSION = new Version('14.0.0-next.11');
|
|
5199
5251
|
|
|
5200
5252
|
/**
|
|
5201
5253
|
* @license
|