@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/fesm2020/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',
|
|
@@ -311,9 +311,9 @@ class LocationStrategy {
|
|
|
311
311
|
throw new Error('Not implemented');
|
|
312
312
|
}
|
|
313
313
|
}
|
|
314
|
-
LocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
315
|
-
LocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
316
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
314
|
+
LocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: LocationStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
315
|
+
LocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: LocationStrategy, providedIn: 'root', useFactory: provideLocationStrategy });
|
|
316
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: LocationStrategy, decorators: [{
|
|
317
317
|
type: Injectable,
|
|
318
318
|
args: [{ providedIn: 'root', useFactory: provideLocationStrategy }]
|
|
319
319
|
}] });
|
|
@@ -390,6 +390,7 @@ class PathLocationStrategy extends LocationStrategy {
|
|
|
390
390
|
}
|
|
391
391
|
this._baseHref = href;
|
|
392
392
|
}
|
|
393
|
+
/** @nodoc */
|
|
393
394
|
ngOnDestroy() {
|
|
394
395
|
while (this._removeListenerFns.length) {
|
|
395
396
|
this._removeListenerFns.pop()();
|
|
@@ -427,9 +428,9 @@ class PathLocationStrategy extends LocationStrategy {
|
|
|
427
428
|
this._platformLocation.historyGo?.(relativePosition);
|
|
428
429
|
}
|
|
429
430
|
}
|
|
430
|
-
PathLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
431
|
-
PathLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
432
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
431
|
+
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 });
|
|
432
|
+
PathLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: PathLocationStrategy });
|
|
433
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: PathLocationStrategy, decorators: [{
|
|
433
434
|
type: Injectable
|
|
434
435
|
}], ctorParameters: function () { return [{ type: PlatformLocation }, { type: undefined, decorators: [{
|
|
435
436
|
type: Optional
|
|
@@ -473,6 +474,7 @@ class HashLocationStrategy extends LocationStrategy {
|
|
|
473
474
|
this._baseHref = _baseHref;
|
|
474
475
|
}
|
|
475
476
|
}
|
|
477
|
+
/** @nodoc */
|
|
476
478
|
ngOnDestroy() {
|
|
477
479
|
while (this._removeListenerFns.length) {
|
|
478
480
|
this._removeListenerFns.pop()();
|
|
@@ -520,9 +522,9 @@ class HashLocationStrategy extends LocationStrategy {
|
|
|
520
522
|
this._platformLocation.historyGo?.(relativePosition);
|
|
521
523
|
}
|
|
522
524
|
}
|
|
523
|
-
HashLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
524
|
-
HashLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
525
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
525
|
+
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 });
|
|
526
|
+
HashLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: HashLocationStrategy });
|
|
527
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: HashLocationStrategy, decorators: [{
|
|
526
528
|
type: Injectable
|
|
527
529
|
}], ctorParameters: function () { return [{ type: PlatformLocation }, { type: undefined, decorators: [{
|
|
528
530
|
type: Optional
|
|
@@ -572,6 +574,8 @@ class Location {
|
|
|
572
574
|
this._subject = new EventEmitter();
|
|
573
575
|
/** @internal */
|
|
574
576
|
this._urlChangeListeners = [];
|
|
577
|
+
/** @internal */
|
|
578
|
+
this._urlChangeSubscription = null;
|
|
575
579
|
this._platformStrategy = platformStrategy;
|
|
576
580
|
const browserBaseHref = this._platformStrategy.getBaseHref();
|
|
577
581
|
this._platformLocation = platformLocation;
|
|
@@ -585,6 +589,11 @@ class Location {
|
|
|
585
589
|
});
|
|
586
590
|
});
|
|
587
591
|
}
|
|
592
|
+
/** @nodoc */
|
|
593
|
+
ngOnDestroy() {
|
|
594
|
+
this._urlChangeSubscription?.unsubscribe();
|
|
595
|
+
this._urlChangeListeners = [];
|
|
596
|
+
}
|
|
588
597
|
/**
|
|
589
598
|
* Normalizes the URL path for this location.
|
|
590
599
|
*
|
|
@@ -700,6 +709,7 @@ class Location {
|
|
|
700
709
|
* framework that are not detectible through "popstate" or "hashchange" events.
|
|
701
710
|
*
|
|
702
711
|
* @param fn The change handler function, which take a URL and a location history state.
|
|
712
|
+
* @returns A function that, when executed, unregisters a URL change listener.
|
|
703
713
|
*/
|
|
704
714
|
onUrlChange(fn) {
|
|
705
715
|
this._urlChangeListeners.push(fn);
|
|
@@ -708,6 +718,14 @@ class Location {
|
|
|
708
718
|
this._notifyUrlChangeListeners(v.url, v.state);
|
|
709
719
|
});
|
|
710
720
|
}
|
|
721
|
+
return () => {
|
|
722
|
+
const fnIndex = this._urlChangeListeners.indexOf(fn);
|
|
723
|
+
this._urlChangeListeners.splice(fnIndex, 1);
|
|
724
|
+
if (this._urlChangeListeners.length === 0) {
|
|
725
|
+
this._urlChangeSubscription?.unsubscribe();
|
|
726
|
+
this._urlChangeSubscription = null;
|
|
727
|
+
}
|
|
728
|
+
};
|
|
711
729
|
}
|
|
712
730
|
/** @internal */
|
|
713
731
|
_notifyUrlChangeListeners(url = '', state) {
|
|
@@ -758,9 +776,9 @@ Location.joinWithSlash = joinWithSlash;
|
|
|
758
776
|
* @returns The URL string, modified if needed.
|
|
759
777
|
*/
|
|
760
778
|
Location.stripTrailingSlash = stripTrailingSlash;
|
|
761
|
-
Location.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
762
|
-
Location.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
763
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
779
|
+
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 });
|
|
780
|
+
Location.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: Location, providedIn: 'root', useFactory: createLocation });
|
|
781
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: Location, decorators: [{
|
|
764
782
|
type: Injectable,
|
|
765
783
|
args: [{
|
|
766
784
|
providedIn: 'root',
|
|
@@ -1432,7 +1450,7 @@ function getNumberOfCurrencyDigits(code) {
|
|
|
1432
1450
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1433
1451
|
* found in the LICENSE file at https://angular.io/license
|
|
1434
1452
|
*/
|
|
1435
|
-
const ISO8601_DATE_REGEX = /^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;
|
|
1453
|
+
const ISO8601_DATE_REGEX = /^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;
|
|
1436
1454
|
// 1 2 3 4 5 6 7 8 9 10 11
|
|
1437
1455
|
const NAMED_FORMATS = {};
|
|
1438
1456
|
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]*)/;
|
|
@@ -1511,9 +1529,9 @@ function formatDate(value, format, locale, timezone) {
|
|
|
1511
1529
|
let text = '';
|
|
1512
1530
|
parts.forEach(value => {
|
|
1513
1531
|
const dateFormatter = getDateFormatter(value);
|
|
1514
|
-
text += dateFormatter ?
|
|
1515
|
-
|
|
1516
|
-
|
|
1532
|
+
text += dateFormatter ? dateFormatter(date, locale, dateTimezoneOffset) :
|
|
1533
|
+
value === '\'\'' ? '\'' :
|
|
1534
|
+
value.replace(/(^'|'$)/g, '').replace(/''/g, '\'');
|
|
1517
1535
|
});
|
|
1518
1536
|
return text;
|
|
1519
1537
|
}
|
|
@@ -1629,13 +1647,13 @@ function padNumber(num, digits, minusSign = '-', trim, negWrap) {
|
|
|
1629
1647
|
strNum = '0' + strNum;
|
|
1630
1648
|
}
|
|
1631
1649
|
if (trim) {
|
|
1632
|
-
strNum = strNum.
|
|
1650
|
+
strNum = strNum.slice(strNum.length - digits);
|
|
1633
1651
|
}
|
|
1634
1652
|
return neg + strNum;
|
|
1635
1653
|
}
|
|
1636
1654
|
function formatFractionalSeconds(milliseconds, digits) {
|
|
1637
1655
|
const strMs = padNumber(milliseconds, 3);
|
|
1638
|
-
return strMs.
|
|
1656
|
+
return strMs.substring(0, digits);
|
|
1639
1657
|
}
|
|
1640
1658
|
/**
|
|
1641
1659
|
* Returns a date formatter that transforms a date into its locale digit representation
|
|
@@ -2383,7 +2401,7 @@ function parseNumberFormat(format, minusSign = '-') {
|
|
|
2383
2401
|
positive.substring(0, positive.lastIndexOf(ZERO_CHAR) + 1),
|
|
2384
2402
|
positive.substring(positive.lastIndexOf(ZERO_CHAR) + 1)
|
|
2385
2403
|
], integer = positiveParts[0], fraction = positiveParts[1] || '';
|
|
2386
|
-
p.posPre = integer.
|
|
2404
|
+
p.posPre = integer.substring(0, integer.indexOf(DIGIT_CHAR));
|
|
2387
2405
|
for (let i = 0; i < fraction.length; i++) {
|
|
2388
2406
|
const ch = fraction.charAt(i);
|
|
2389
2407
|
if (ch === ZERO_CHAR) {
|
|
@@ -2401,8 +2419,8 @@ function parseNumberFormat(format, minusSign = '-') {
|
|
|
2401
2419
|
p.lgSize = (groups[2] || groups[1]) ? (groups[2] || groups[1]).length : 0;
|
|
2402
2420
|
if (negative) {
|
|
2403
2421
|
const trunkLen = positive.length - p.posPre.length - p.posSuf.length, pos = negative.indexOf(DIGIT_CHAR);
|
|
2404
|
-
p.negPre = negative.
|
|
2405
|
-
p.negSuf = negative.
|
|
2422
|
+
p.negPre = negative.substring(0, pos).replace(/'/g, '');
|
|
2423
|
+
p.negSuf = negative.slice(pos + trunkLen).replace(/'/g, '');
|
|
2406
2424
|
}
|
|
2407
2425
|
else {
|
|
2408
2426
|
p.negPre = minusSign + p.posPre;
|
|
@@ -2576,6 +2594,16 @@ function parseIntAutoRadix(text) {
|
|
|
2576
2594
|
*/
|
|
2577
2595
|
class NgLocalization {
|
|
2578
2596
|
}
|
|
2597
|
+
NgLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: NgLocalization, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2598
|
+
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 }] });
|
|
2599
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: NgLocalization, decorators: [{
|
|
2600
|
+
type: Injectable,
|
|
2601
|
+
args: [{
|
|
2602
|
+
providedIn: 'root',
|
|
2603
|
+
useFactory: (locale) => new NgLocaleLocalization(locale),
|
|
2604
|
+
deps: [LOCALE_ID],
|
|
2605
|
+
}]
|
|
2606
|
+
}] });
|
|
2579
2607
|
/**
|
|
2580
2608
|
* Returns the plural category for a given value.
|
|
2581
2609
|
* - "=value" when the case exists,
|
|
@@ -2623,9 +2651,9 @@ class NgLocaleLocalization extends NgLocalization {
|
|
|
2623
2651
|
}
|
|
2624
2652
|
}
|
|
2625
2653
|
}
|
|
2626
|
-
NgLocaleLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
2627
|
-
NgLocaleLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
2628
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
2654
|
+
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 });
|
|
2655
|
+
NgLocaleLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: NgLocaleLocalization });
|
|
2656
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: NgLocaleLocalization, decorators: [{
|
|
2629
2657
|
type: Injectable
|
|
2630
2658
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
2631
2659
|
type: Inject,
|
|
@@ -2818,9 +2846,9 @@ class NgClass {
|
|
|
2818
2846
|
}
|
|
2819
2847
|
}
|
|
2820
2848
|
}
|
|
2821
|
-
NgClass.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
2822
|
-
NgClass.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
2823
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
2849
|
+
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 });
|
|
2850
|
+
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 });
|
|
2851
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: NgClass, decorators: [{
|
|
2824
2852
|
type: Directive,
|
|
2825
2853
|
args: [{ selector: '[ngClass]' }]
|
|
2826
2854
|
}], ctorParameters: function () { return [{ type: i0.IterableDiffers }, { type: i0.KeyValueDiffers }, { type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { klass: [{
|
|
@@ -2857,9 +2885,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.0",
|
|
|
2857
2885
|
* * `ngComponentOutletContent`: Optional list of projectable nodes to insert into the content
|
|
2858
2886
|
* section of the component, if it exists.
|
|
2859
2887
|
*
|
|
2860
|
-
* * `
|
|
2888
|
+
* * `ngComponentOutletNgModule`: Optional NgModule class reference to allow loading another
|
|
2861
2889
|
* module dynamically, then loading a component from that module.
|
|
2862
2890
|
*
|
|
2891
|
+
* * `ngComponentOutletNgModuleFactory`: Deprecated config option that allows providing optional
|
|
2892
|
+
* NgModule factory to allow loading another module dynamically, then loading a component from that
|
|
2893
|
+
* module. Use `ngComponentOutletNgModule` instead.
|
|
2894
|
+
*
|
|
2863
2895
|
* ### Syntax
|
|
2864
2896
|
*
|
|
2865
2897
|
* Simple
|
|
@@ -2875,10 +2907,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.0",
|
|
|
2875
2907
|
* </ng-container>
|
|
2876
2908
|
* ```
|
|
2877
2909
|
*
|
|
2878
|
-
* Customized
|
|
2910
|
+
* Customized NgModule reference
|
|
2879
2911
|
* ```
|
|
2880
2912
|
* <ng-container *ngComponentOutlet="componentTypeExpression;
|
|
2881
|
-
*
|
|
2913
|
+
* ngModule: ngModuleClass;">
|
|
2882
2914
|
* </ng-container>
|
|
2883
2915
|
* ```
|
|
2884
2916
|
*
|
|
@@ -2896,39 +2928,44 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.0",
|
|
|
2896
2928
|
class NgComponentOutlet {
|
|
2897
2929
|
constructor(_viewContainerRef) {
|
|
2898
2930
|
this._viewContainerRef = _viewContainerRef;
|
|
2899
|
-
this._componentRef = null;
|
|
2900
|
-
this._moduleRef = null;
|
|
2901
2931
|
}
|
|
2932
|
+
/** @nodoc */
|
|
2902
2933
|
ngOnChanges(changes) {
|
|
2903
|
-
this
|
|
2904
|
-
|
|
2934
|
+
const { _viewContainerRef: viewContainerRef, ngComponentOutletNgModule: ngModule, ngComponentOutletNgModuleFactory: ngModuleFactory, } = this;
|
|
2935
|
+
viewContainerRef.clear();
|
|
2936
|
+
this._componentRef = undefined;
|
|
2905
2937
|
if (this.ngComponentOutlet) {
|
|
2906
|
-
const
|
|
2907
|
-
if (changes['ngComponentOutletNgModuleFactory']) {
|
|
2938
|
+
const injector = this.ngComponentOutletInjector || viewContainerRef.parentInjector;
|
|
2939
|
+
if (changes['ngComponentOutletNgModule'] || changes['ngComponentOutletNgModuleFactory']) {
|
|
2908
2940
|
if (this._moduleRef)
|
|
2909
2941
|
this._moduleRef.destroy();
|
|
2910
|
-
if (
|
|
2911
|
-
|
|
2912
|
-
|
|
2942
|
+
if (ngModule) {
|
|
2943
|
+
this._moduleRef = createNgModuleRef(ngModule, getParentInjector(injector));
|
|
2944
|
+
}
|
|
2945
|
+
else if (ngModuleFactory) {
|
|
2946
|
+
this._moduleRef = ngModuleFactory.create(getParentInjector(injector));
|
|
2913
2947
|
}
|
|
2914
2948
|
else {
|
|
2915
|
-
this._moduleRef =
|
|
2949
|
+
this._moduleRef = undefined;
|
|
2916
2950
|
}
|
|
2917
2951
|
}
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
|
|
2952
|
+
this._componentRef = viewContainerRef.createComponent(this.ngComponentOutlet, {
|
|
2953
|
+
index: viewContainerRef.length,
|
|
2954
|
+
injector,
|
|
2955
|
+
ngModuleRef: this._moduleRef,
|
|
2956
|
+
projectableNodes: this.ngComponentOutletContent,
|
|
2957
|
+
});
|
|
2922
2958
|
}
|
|
2923
2959
|
}
|
|
2960
|
+
/** @nodoc */
|
|
2924
2961
|
ngOnDestroy() {
|
|
2925
2962
|
if (this._moduleRef)
|
|
2926
2963
|
this._moduleRef.destroy();
|
|
2927
2964
|
}
|
|
2928
2965
|
}
|
|
2929
|
-
NgComponentOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
2930
|
-
NgComponentOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
2931
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
2966
|
+
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 });
|
|
2967
|
+
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 });
|
|
2968
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: NgComponentOutlet, decorators: [{
|
|
2932
2969
|
type: Directive,
|
|
2933
2970
|
args: [{ selector: '[ngComponentOutlet]' }]
|
|
2934
2971
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { ngComponentOutlet: [{
|
|
@@ -2937,9 +2974,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.0",
|
|
|
2937
2974
|
type: Input
|
|
2938
2975
|
}], ngComponentOutletContent: [{
|
|
2939
2976
|
type: Input
|
|
2977
|
+
}], ngComponentOutletNgModule: [{
|
|
2978
|
+
type: Input
|
|
2940
2979
|
}], ngComponentOutletNgModuleFactory: [{
|
|
2941
2980
|
type: Input
|
|
2942
2981
|
}] } });
|
|
2982
|
+
// Helper function that returns an Injector instance of a parent NgModule.
|
|
2983
|
+
function getParentInjector(injector) {
|
|
2984
|
+
const parentNgModule = injector.get(NgModuleRef);
|
|
2985
|
+
return parentNgModule.injector;
|
|
2986
|
+
}
|
|
2943
2987
|
|
|
2944
2988
|
/**
|
|
2945
2989
|
* @license
|
|
@@ -3131,6 +3175,7 @@ class NgForOf {
|
|
|
3131
3175
|
}
|
|
3132
3176
|
/**
|
|
3133
3177
|
* Applies the changes when needed.
|
|
3178
|
+
* @nodoc
|
|
3134
3179
|
*/
|
|
3135
3180
|
ngDoCheck() {
|
|
3136
3181
|
if (this._ngForOfDirty) {
|
|
@@ -3201,9 +3246,9 @@ class NgForOf {
|
|
|
3201
3246
|
return true;
|
|
3202
3247
|
}
|
|
3203
3248
|
}
|
|
3204
|
-
NgForOf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3205
|
-
NgForOf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3206
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3249
|
+
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 });
|
|
3250
|
+
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 });
|
|
3251
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: NgForOf, decorators: [{
|
|
3207
3252
|
type: Directive,
|
|
3208
3253
|
args: [{ selector: '[ngFor][ngForOf]' }]
|
|
3209
3254
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }, { type: i0.IterableDiffers }]; }, propDecorators: { ngForOf: [{
|
|
@@ -3433,9 +3478,9 @@ class NgIf {
|
|
|
3433
3478
|
return true;
|
|
3434
3479
|
}
|
|
3435
3480
|
}
|
|
3436
|
-
NgIf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3437
|
-
NgIf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3438
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3481
|
+
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 });
|
|
3482
|
+
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 });
|
|
3483
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: NgIf, decorators: [{
|
|
3439
3484
|
type: Directive,
|
|
3440
3485
|
args: [{ selector: '[ngIf]' }]
|
|
3441
3486
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }]; }, propDecorators: { ngIf: [{
|
|
@@ -3603,9 +3648,9 @@ class NgSwitch {
|
|
|
3603
3648
|
}
|
|
3604
3649
|
}
|
|
3605
3650
|
}
|
|
3606
|
-
NgSwitch.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3607
|
-
NgSwitch.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3608
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3651
|
+
NgSwitch.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: NgSwitch, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
3652
|
+
NgSwitch.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.11", type: NgSwitch, selector: "[ngSwitch]", inputs: { ngSwitch: "ngSwitch" }, ngImport: i0 });
|
|
3653
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: NgSwitch, decorators: [{
|
|
3609
3654
|
type: Directive,
|
|
3610
3655
|
args: [{ selector: '[ngSwitch]' }]
|
|
3611
3656
|
}], propDecorators: { ngSwitch: [{
|
|
@@ -3655,14 +3700,15 @@ class NgSwitchCase {
|
|
|
3655
3700
|
}
|
|
3656
3701
|
/**
|
|
3657
3702
|
* Performs case matching. For internal use only.
|
|
3703
|
+
* @nodoc
|
|
3658
3704
|
*/
|
|
3659
3705
|
ngDoCheck() {
|
|
3660
3706
|
this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase));
|
|
3661
3707
|
}
|
|
3662
3708
|
}
|
|
3663
|
-
NgSwitchCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3664
|
-
NgSwitchCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3665
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3709
|
+
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 });
|
|
3710
|
+
NgSwitchCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.11", type: NgSwitchCase, selector: "[ngSwitchCase]", inputs: { ngSwitchCase: "ngSwitchCase" }, ngImport: i0 });
|
|
3711
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: NgSwitchCase, decorators: [{
|
|
3666
3712
|
type: Directive,
|
|
3667
3713
|
args: [{ selector: '[ngSwitchCase]' }]
|
|
3668
3714
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }, { type: NgSwitch, decorators: [{
|
|
@@ -3694,9 +3740,9 @@ class NgSwitchDefault {
|
|
|
3694
3740
|
ngSwitch._addDefault(new SwitchView(viewContainer, templateRef));
|
|
3695
3741
|
}
|
|
3696
3742
|
}
|
|
3697
|
-
NgSwitchDefault.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3698
|
-
NgSwitchDefault.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3699
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3743
|
+
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 });
|
|
3744
|
+
NgSwitchDefault.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.11", type: NgSwitchDefault, selector: "[ngSwitchDefault]", ngImport: i0 });
|
|
3745
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: NgSwitchDefault, decorators: [{
|
|
3700
3746
|
type: Directive,
|
|
3701
3747
|
args: [{ selector: '[ngSwitchDefault]' }]
|
|
3702
3748
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }, { type: NgSwitch, decorators: [{
|
|
@@ -3777,9 +3823,9 @@ class NgPlural {
|
|
|
3777
3823
|
}
|
|
3778
3824
|
}
|
|
3779
3825
|
}
|
|
3780
|
-
NgPlural.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3781
|
-
NgPlural.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3782
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3826
|
+
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 });
|
|
3827
|
+
NgPlural.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.11", type: NgPlural, selector: "[ngPlural]", inputs: { ngPlural: "ngPlural" }, ngImport: i0 });
|
|
3828
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: NgPlural, decorators: [{
|
|
3783
3829
|
type: Directive,
|
|
3784
3830
|
args: [{ selector: '[ngPlural]' }]
|
|
3785
3831
|
}], ctorParameters: function () { return [{ type: NgLocalization }]; }, propDecorators: { ngPlural: [{
|
|
@@ -3812,9 +3858,9 @@ class NgPluralCase {
|
|
|
3812
3858
|
ngPlural.addCase(isANumber ? `=${value}` : value, new SwitchView(viewContainer, template));
|
|
3813
3859
|
}
|
|
3814
3860
|
}
|
|
3815
|
-
NgPluralCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3816
|
-
NgPluralCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3817
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3861
|
+
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 });
|
|
3862
|
+
NgPluralCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.11", type: NgPluralCase, selector: "[ngPluralCase]", ngImport: i0 });
|
|
3863
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: NgPluralCase, decorators: [{
|
|
3818
3864
|
type: Directive,
|
|
3819
3865
|
args: [{ selector: '[ngPluralCase]' }]
|
|
3820
3866
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -3905,9 +3951,9 @@ class NgStyle {
|
|
|
3905
3951
|
changes.forEachChangedItem((record) => this._setStyle(record.key, record.currentValue));
|
|
3906
3952
|
}
|
|
3907
3953
|
}
|
|
3908
|
-
NgStyle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3909
|
-
NgStyle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3910
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3954
|
+
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 });
|
|
3955
|
+
NgStyle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.11", type: NgStyle, selector: "[ngStyle]", inputs: { ngStyle: "ngStyle" }, ngImport: i0 });
|
|
3956
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: NgStyle, decorators: [{
|
|
3911
3957
|
type: Directive,
|
|
3912
3958
|
args: [{ selector: '[ngStyle]' }]
|
|
3913
3959
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.KeyValueDiffers }, { type: i0.Renderer2 }]; }, propDecorators: { ngStyle: [{
|
|
@@ -3961,31 +4007,40 @@ class NgTemplateOutlet {
|
|
|
3961
4007
|
* A string defining the template reference and optionally the context object for the template.
|
|
3962
4008
|
*/
|
|
3963
4009
|
this.ngTemplateOutlet = null;
|
|
4010
|
+
/** Injector to be used within the embedded view. */
|
|
4011
|
+
this.ngTemplateOutletInjector = null;
|
|
3964
4012
|
}
|
|
4013
|
+
/** @nodoc */
|
|
3965
4014
|
ngOnChanges(changes) {
|
|
3966
|
-
if (changes['ngTemplateOutlet']) {
|
|
4015
|
+
if (changes['ngTemplateOutlet'] || changes['ngTemplateOutletInjector']) {
|
|
3967
4016
|
const viewContainerRef = this._viewContainerRef;
|
|
3968
4017
|
if (this._viewRef) {
|
|
3969
4018
|
viewContainerRef.remove(viewContainerRef.indexOf(this._viewRef));
|
|
3970
4019
|
}
|
|
3971
|
-
|
|
3972
|
-
|
|
3973
|
-
|
|
4020
|
+
if (this.ngTemplateOutlet) {
|
|
4021
|
+
const { ngTemplateOutlet: template, ngTemplateOutletContext: context, ngTemplateOutletInjector: injector } = this;
|
|
4022
|
+
this._viewRef = viewContainerRef.createEmbeddedView(template, context, injector ? { injector } : undefined);
|
|
4023
|
+
}
|
|
4024
|
+
else {
|
|
4025
|
+
this._viewRef = null;
|
|
4026
|
+
}
|
|
3974
4027
|
}
|
|
3975
4028
|
else if (this._viewRef && changes['ngTemplateOutletContext'] && this.ngTemplateOutletContext) {
|
|
3976
4029
|
this._viewRef.context = this.ngTemplateOutletContext;
|
|
3977
4030
|
}
|
|
3978
4031
|
}
|
|
3979
4032
|
}
|
|
3980
|
-
NgTemplateOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3981
|
-
NgTemplateOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3982
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4033
|
+
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 });
|
|
4034
|
+
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 });
|
|
4035
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: NgTemplateOutlet, decorators: [{
|
|
3983
4036
|
type: Directive,
|
|
3984
4037
|
args: [{ selector: '[ngTemplateOutlet]' }]
|
|
3985
4038
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { ngTemplateOutletContext: [{
|
|
3986
4039
|
type: Input
|
|
3987
4040
|
}], ngTemplateOutlet: [{
|
|
3988
4041
|
type: Input
|
|
4042
|
+
}], ngTemplateOutletInjector: [{
|
|
4043
|
+
type: Input
|
|
3989
4044
|
}] } });
|
|
3990
4045
|
|
|
3991
4046
|
/**
|
|
@@ -4142,9 +4197,9 @@ class AsyncPipe {
|
|
|
4142
4197
|
}
|
|
4143
4198
|
}
|
|
4144
4199
|
}
|
|
4145
|
-
AsyncPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4146
|
-
AsyncPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4147
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4200
|
+
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 });
|
|
4201
|
+
AsyncPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: AsyncPipe, name: "async", pure: false });
|
|
4202
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: AsyncPipe, decorators: [{
|
|
4148
4203
|
type: Pipe,
|
|
4149
4204
|
args: [{ name: 'async', pure: false }]
|
|
4150
4205
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; } });
|
|
@@ -4181,9 +4236,9 @@ class LowerCasePipe {
|
|
|
4181
4236
|
return value.toLowerCase();
|
|
4182
4237
|
}
|
|
4183
4238
|
}
|
|
4184
|
-
LowerCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4185
|
-
LowerCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4186
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4239
|
+
LowerCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: LowerCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4240
|
+
LowerCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: LowerCasePipe, name: "lowercase" });
|
|
4241
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: LowerCasePipe, decorators: [{
|
|
4187
4242
|
type: Pipe,
|
|
4188
4243
|
args: [{ name: 'lowercase' }]
|
|
4189
4244
|
}] });
|
|
@@ -4220,12 +4275,12 @@ class TitleCasePipe {
|
|
|
4220
4275
|
if (typeof value !== 'string') {
|
|
4221
4276
|
throw invalidPipeArgumentError(TitleCasePipe, value);
|
|
4222
4277
|
}
|
|
4223
|
-
return value.replace(unicodeWordMatch, (txt => txt[0].toUpperCase() + txt.
|
|
4278
|
+
return value.replace(unicodeWordMatch, (txt => txt[0].toUpperCase() + txt.slice(1).toLowerCase()));
|
|
4224
4279
|
}
|
|
4225
4280
|
}
|
|
4226
|
-
TitleCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4227
|
-
TitleCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4228
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4281
|
+
TitleCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: TitleCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4282
|
+
TitleCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: TitleCasePipe, name: "titlecase" });
|
|
4283
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: TitleCasePipe, decorators: [{
|
|
4229
4284
|
type: Pipe,
|
|
4230
4285
|
args: [{ name: 'titlecase' }]
|
|
4231
4286
|
}] });
|
|
@@ -4247,9 +4302,9 @@ class UpperCasePipe {
|
|
|
4247
4302
|
return value.toUpperCase();
|
|
4248
4303
|
}
|
|
4249
4304
|
}
|
|
4250
|
-
UpperCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4251
|
-
UpperCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4252
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4305
|
+
UpperCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: UpperCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4306
|
+
UpperCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: UpperCasePipe, name: "uppercase" });
|
|
4307
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: UpperCasePipe, decorators: [{
|
|
4253
4308
|
type: Pipe,
|
|
4254
4309
|
args: [{ name: 'uppercase' }]
|
|
4255
4310
|
}] });
|
|
@@ -4441,9 +4496,9 @@ class DatePipe {
|
|
|
4441
4496
|
}
|
|
4442
4497
|
}
|
|
4443
4498
|
}
|
|
4444
|
-
DatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4445
|
-
DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4446
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4499
|
+
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 });
|
|
4500
|
+
DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: DatePipe, name: "date" });
|
|
4501
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: DatePipe, decorators: [{
|
|
4447
4502
|
type: Pipe,
|
|
4448
4503
|
args: [{ name: 'date', pure: true }]
|
|
4449
4504
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -4499,9 +4554,9 @@ class I18nPluralPipe {
|
|
|
4499
4554
|
return pluralMap[key].replace(_INTERPOLATION_REGEXP, value.toString());
|
|
4500
4555
|
}
|
|
4501
4556
|
}
|
|
4502
|
-
I18nPluralPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4503
|
-
I18nPluralPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4504
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4557
|
+
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 });
|
|
4558
|
+
I18nPluralPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: I18nPluralPipe, name: "i18nPlural" });
|
|
4559
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: I18nPluralPipe, decorators: [{
|
|
4505
4560
|
type: Pipe,
|
|
4506
4561
|
args: [{ name: 'i18nPlural', pure: true }]
|
|
4507
4562
|
}], ctorParameters: function () { return [{ type: NgLocalization }]; } });
|
|
@@ -4551,9 +4606,9 @@ class I18nSelectPipe {
|
|
|
4551
4606
|
return '';
|
|
4552
4607
|
}
|
|
4553
4608
|
}
|
|
4554
|
-
I18nSelectPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4555
|
-
I18nSelectPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4556
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4609
|
+
I18nSelectPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: I18nSelectPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4610
|
+
I18nSelectPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: I18nSelectPipe, name: "i18nSelect" });
|
|
4611
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: I18nSelectPipe, decorators: [{
|
|
4557
4612
|
type: Pipe,
|
|
4558
4613
|
args: [{ name: 'i18nSelect', pure: true }]
|
|
4559
4614
|
}] });
|
|
@@ -4588,9 +4643,9 @@ class JsonPipe {
|
|
|
4588
4643
|
return JSON.stringify(value, null, 2);
|
|
4589
4644
|
}
|
|
4590
4645
|
}
|
|
4591
|
-
JsonPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4592
|
-
JsonPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4593
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4646
|
+
JsonPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: JsonPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4647
|
+
JsonPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: JsonPipe, name: "json", pure: false });
|
|
4648
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: JsonPipe, decorators: [{
|
|
4594
4649
|
type: Pipe,
|
|
4595
4650
|
args: [{ name: 'json', pure: false }]
|
|
4596
4651
|
}] });
|
|
@@ -4654,9 +4709,9 @@ class KeyValuePipe {
|
|
|
4654
4709
|
return this.keyValues;
|
|
4655
4710
|
}
|
|
4656
4711
|
}
|
|
4657
|
-
KeyValuePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4658
|
-
KeyValuePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4659
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4712
|
+
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 });
|
|
4713
|
+
KeyValuePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: KeyValuePipe, name: "keyvalue", pure: false });
|
|
4714
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: KeyValuePipe, decorators: [{
|
|
4660
4715
|
type: Pipe,
|
|
4661
4716
|
args: [{ name: 'keyvalue', pure: false }]
|
|
4662
4717
|
}], ctorParameters: function () { return [{ type: i0.KeyValueDiffers }]; } });
|
|
@@ -4785,9 +4840,9 @@ class DecimalPipe {
|
|
|
4785
4840
|
}
|
|
4786
4841
|
}
|
|
4787
4842
|
}
|
|
4788
|
-
DecimalPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4789
|
-
DecimalPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4790
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4843
|
+
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 });
|
|
4844
|
+
DecimalPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: DecimalPipe, name: "number" });
|
|
4845
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: DecimalPipe, decorators: [{
|
|
4791
4846
|
type: Pipe,
|
|
4792
4847
|
args: [{ name: 'number' }]
|
|
4793
4848
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -4847,9 +4902,9 @@ class PercentPipe {
|
|
|
4847
4902
|
}
|
|
4848
4903
|
}
|
|
4849
4904
|
}
|
|
4850
|
-
PercentPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4851
|
-
PercentPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4852
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4905
|
+
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 });
|
|
4906
|
+
PercentPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: PercentPipe, name: "percent" });
|
|
4907
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: PercentPipe, decorators: [{
|
|
4853
4908
|
type: Pipe,
|
|
4854
4909
|
args: [{ name: 'percent' }]
|
|
4855
4910
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -4962,9 +5017,9 @@ class CurrencyPipe {
|
|
|
4962
5017
|
}
|
|
4963
5018
|
}
|
|
4964
5019
|
}
|
|
4965
|
-
CurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4966
|
-
CurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4967
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
5020
|
+
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 });
|
|
5021
|
+
CurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: CurrencyPipe, name: "currency" });
|
|
5022
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: CurrencyPipe, decorators: [{
|
|
4968
5023
|
type: Pipe,
|
|
4969
5024
|
args: [{ name: 'currency' }]
|
|
4970
5025
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -5046,9 +5101,9 @@ class SlicePipe {
|
|
|
5046
5101
|
return typeof obj === 'string' || Array.isArray(obj);
|
|
5047
5102
|
}
|
|
5048
5103
|
}
|
|
5049
|
-
SlicePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
5050
|
-
SlicePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
5051
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
5104
|
+
SlicePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: SlicePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
5105
|
+
SlicePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: SlicePipe, name: "slice", pure: false });
|
|
5106
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: SlicePipe, decorators: [{
|
|
5052
5107
|
type: Pipe,
|
|
5053
5108
|
args: [{ name: 'slice', pure: false }]
|
|
5054
5109
|
}] });
|
|
@@ -5103,19 +5158,14 @@ const COMMON_PIPES = [
|
|
|
5103
5158
|
*/
|
|
5104
5159
|
class CommonModule {
|
|
5105
5160
|
}
|
|
5106
|
-
CommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
5107
|
-
CommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
5108
|
-
CommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
5109
|
-
|
|
5110
|
-
] });
|
|
5111
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.0", ngImport: i0, type: CommonModule, decorators: [{
|
|
5161
|
+
CommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: CommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5162
|
+
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] });
|
|
5163
|
+
CommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: CommonModule });
|
|
5164
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.11", ngImport: i0, type: CommonModule, decorators: [{
|
|
5112
5165
|
type: NgModule,
|
|
5113
5166
|
args: [{
|
|
5114
5167
|
declarations: [COMMON_DIRECTIVES, COMMON_PIPES],
|
|
5115
5168
|
exports: [COMMON_DIRECTIVES, COMMON_PIPES],
|
|
5116
|
-
providers: [
|
|
5117
|
-
{ provide: NgLocalization, useClass: NgLocaleLocalization },
|
|
5118
|
-
],
|
|
5119
5169
|
}]
|
|
5120
5170
|
}] });
|
|
5121
5171
|
|
|
@@ -5169,7 +5219,7 @@ function isPlatformWorkerUi(platformId) {
|
|
|
5169
5219
|
/**
|
|
5170
5220
|
* @publicApi
|
|
5171
5221
|
*/
|
|
5172
|
-
const VERSION = new Version('14.0.0-next.
|
|
5222
|
+
const VERSION = new Version('14.0.0-next.11');
|
|
5173
5223
|
|
|
5174
5224
|
/**
|
|
5175
5225
|
* @license
|