@angular/common 20.0.0-next.8 → 20.0.0-rc.0

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v20.0.0-next.8
2
+ * @license Angular v20.0.0-rc.0
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -81,10 +81,10 @@ class HashLocationStrategy extends LocationStrategy {
81
81
  historyGo(relativePosition = 0) {
82
82
  this._platformLocation.historyGo?.(relativePosition);
83
83
  }
84
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: HashLocationStrategy, deps: [{ token: PlatformLocation }, { token: APP_BASE_HREF, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
85
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: HashLocationStrategy });
84
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: HashLocationStrategy, deps: [{ token: PlatformLocation }, { token: APP_BASE_HREF, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
85
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: HashLocationStrategy });
86
86
  }
87
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: HashLocationStrategy, decorators: [{
87
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: HashLocationStrategy, decorators: [{
88
88
  type: Injectable
89
89
  }], ctorParameters: () => [{ type: PlatformLocation }, { type: undefined, decorators: [{
90
90
  type: Optional
@@ -179,7 +179,8 @@ var TranslationWidth;
179
179
  * @see [Internationalization (i18n) Guide](guide/i18n)
180
180
  * @publicApi
181
181
  *
182
- * @deprecated Date locale data getters are deprecated
182
+ * @deprecated 18.0
183
+ * Date locale data getters are deprecated
183
184
  */
184
185
  var FormatWidth;
185
186
  (function (FormatWidth) {
@@ -1958,10 +1959,10 @@ function parseIntAutoRadix(text) {
1958
1959
  * @publicApi
1959
1960
  */
1960
1961
  class NgLocalization {
1961
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: NgLocalization, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1962
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: NgLocalization, providedIn: 'root', useFactory: (locale) => new NgLocaleLocalization(locale), deps: [{ token: LOCALE_ID }] });
1962
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: NgLocalization, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1963
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: NgLocalization, providedIn: 'root', useFactory: (locale) => new NgLocaleLocalization(locale), deps: [{ token: LOCALE_ID }] });
1963
1964
  }
1964
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: NgLocalization, decorators: [{
1965
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: NgLocalization, decorators: [{
1965
1966
  type: Injectable,
1966
1967
  args: [{
1967
1968
  providedIn: 'root',
@@ -2016,10 +2017,10 @@ class NgLocaleLocalization extends NgLocalization {
2016
2017
  return 'other';
2017
2018
  }
2018
2019
  }
2019
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: NgLocaleLocalization, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable });
2020
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: NgLocaleLocalization });
2020
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: NgLocaleLocalization, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable });
2021
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: NgLocaleLocalization });
2021
2022
  }
2022
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: NgLocaleLocalization, decorators: [{
2023
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: NgLocaleLocalization, decorators: [{
2023
2024
  type: Injectable
2024
2025
  }], ctorParameters: () => [{ type: undefined, decorators: [{
2025
2026
  type: Inject,
@@ -2175,10 +2176,10 @@ class NgClass {
2175
2176
  });
2176
2177
  }
2177
2178
  }
2178
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: NgClass, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
2179
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-next.8", type: NgClass, isStandalone: true, selector: "[ngClass]", inputs: { klass: ["class", "klass"], ngClass: "ngClass" }, ngImport: i0 });
2179
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: NgClass, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
2180
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-rc.0", type: NgClass, isStandalone: true, selector: "[ngClass]", inputs: { klass: ["class", "klass"], ngClass: "ngClass" }, ngImport: i0 });
2180
2181
  }
2181
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: NgClass, decorators: [{
2182
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: NgClass, decorators: [{
2182
2183
  type: Directive,
2183
2184
  args: [{
2184
2185
  selector: '[ngClass]',
@@ -2365,10 +2366,10 @@ class NgComponentOutlet {
2365
2366
  }
2366
2367
  }
2367
2368
  }
2368
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: NgComponentOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
2369
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-next.8", type: NgComponentOutlet, isStandalone: true, selector: "[ngComponentOutlet]", inputs: { ngComponentOutlet: "ngComponentOutlet", ngComponentOutletInputs: "ngComponentOutletInputs", ngComponentOutletInjector: "ngComponentOutletInjector", ngComponentOutletContent: "ngComponentOutletContent", ngComponentOutletNgModule: "ngComponentOutletNgModule", ngComponentOutletNgModuleFactory: "ngComponentOutletNgModuleFactory" }, exportAs: ["ngComponentOutlet"], usesOnChanges: true, ngImport: i0 });
2369
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: NgComponentOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
2370
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-rc.0", type: NgComponentOutlet, isStandalone: true, selector: "[ngComponentOutlet]", inputs: { ngComponentOutlet: "ngComponentOutlet", ngComponentOutletInputs: "ngComponentOutletInputs", ngComponentOutletInjector: "ngComponentOutletInjector", ngComponentOutletContent: "ngComponentOutletContent", ngComponentOutletNgModule: "ngComponentOutletNgModule", ngComponentOutletNgModuleFactory: "ngComponentOutletNgModuleFactory" }, exportAs: ["ngComponentOutlet"], usesOnChanges: true, ngImport: i0 });
2370
2371
  }
2371
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: NgComponentOutlet, decorators: [{
2372
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: NgComponentOutlet, decorators: [{
2372
2373
  type: Directive,
2373
2374
  args: [{
2374
2375
  selector: '[ngComponentOutlet]',
@@ -2396,7 +2397,8 @@ function getParentInjector(injector) {
2396
2397
  /**
2397
2398
  * @publicApi
2398
2399
  *
2399
- * @deprecated The `ngFor` directive is deprecated. Use the `@for` block instead.
2400
+ * @deprecated 20.0
2401
+ * The `ngFor` directive is deprecated. Use the `@for` block instead.
2400
2402
  */
2401
2403
  class NgForOfContext {
2402
2404
  $implicit;
@@ -2536,7 +2538,8 @@ class NgForOfContext {
2536
2538
  * @ngModule CommonModule
2537
2539
  * @publicApi
2538
2540
  *
2539
- * @deprecated Use the @for block instead. Intent to remove in v22
2541
+ * @deprecated 20.0
2542
+ * Use the `@for` block instead. Intent to remove in v22
2540
2543
  */
2541
2544
  class NgForOf {
2542
2545
  _viewContainer;
@@ -2545,6 +2548,7 @@ class NgForOf {
2545
2548
  /**
2546
2549
  * The value of the iterable expression, which can be used as a
2547
2550
  * [template input variable](guide/directives/structural-directives#shorthand).
2551
+ * @deprecated The `ngFor` directive is deprecated. Use the `@for` block instead.
2548
2552
  */
2549
2553
  set ngForOf(ngForOf) {
2550
2554
  this._ngForOf = ngForOf;
@@ -2567,6 +2571,7 @@ class NgForOf {
2567
2571
  * and the iterable is recreated and re-rendered, but most of the data is still the same).
2568
2572
  *
2569
2573
  * @see {@link TrackByFunction}
2574
+ * @deprecated The `ngFor` directive is deprecated. Use the `@for` block instead.
2570
2575
  */
2571
2576
  set ngForTrackBy(fn) {
2572
2577
  if ((typeof ngDevMode === 'undefined' || ngDevMode) && fn != null && typeof fn !== 'function') {
@@ -2592,6 +2597,7 @@ class NgForOf {
2592
2597
  /**
2593
2598
  * A reference to the template that is stamped out for each item in the iterable.
2594
2599
  * @see [template reference variable](guide/templates/variables#template-reference-variables)
2600
+ * @deprecated The `ngFor` directive is deprecated. Use the `@for` block instead.
2595
2601
  */
2596
2602
  set ngForTemplate(value) {
2597
2603
  // TODO(TS2.1): make TemplateRef<Partial<NgForRowOf<T>>> once we move to TS v2.1
@@ -2678,10 +2684,10 @@ class NgForOf {
2678
2684
  static ngTemplateContextGuard(dir, ctx) {
2679
2685
  return true;
2680
2686
  }
2681
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: NgForOf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive });
2682
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-next.8", type: NgForOf, isStandalone: true, selector: "[ngFor][ngForOf]", inputs: { ngForOf: "ngForOf", ngForTrackBy: "ngForTrackBy", ngForTemplate: "ngForTemplate" }, ngImport: i0 });
2687
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: NgForOf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive });
2688
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-rc.0", type: NgForOf, isStandalone: true, selector: "[ngFor][ngForOf]", inputs: { ngForOf: "ngForOf", ngForTrackBy: "ngForTrackBy", ngForTemplate: "ngForTemplate" }, ngImport: i0 });
2683
2689
  }
2684
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: NgForOf, decorators: [{
2690
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: NgForOf, decorators: [{
2685
2691
  type: Directive,
2686
2692
  args: [{
2687
2693
  selector: '[ngFor][ngForOf]',
@@ -2839,7 +2845,8 @@ function getTypeName(type) {
2839
2845
  * @ngModule CommonModule
2840
2846
  * @publicApi
2841
2847
  *
2842
- * @deprecated Use the @if block instead. Intent to remove in v22
2848
+ * @deprecated 20.0
2849
+ * Use the @if block instead. Intent to remove in v22
2843
2850
  */
2844
2851
  class NgIf {
2845
2852
  _viewContainer;
@@ -2854,6 +2861,7 @@ class NgIf {
2854
2861
  }
2855
2862
  /**
2856
2863
  * The Boolean expression to evaluate as the condition for showing a template.
2864
+ * @deprecated Use the @if block instead. Intent to remove in v22
2857
2865
  */
2858
2866
  set ngIf(condition) {
2859
2867
  this._context.$implicit = this._context.ngIf = condition;
@@ -2861,6 +2869,7 @@ class NgIf {
2861
2869
  }
2862
2870
  /**
2863
2871
  * A template to show if the condition expression evaluates to true.
2872
+ * @deprecated Use the @if block instead. Intent to remove in v22
2864
2873
  */
2865
2874
  set ngIfThen(templateRef) {
2866
2875
  assertTemplate(templateRef, (typeof ngDevMode === 'undefined' || ngDevMode) && 'ngIfThen');
@@ -2870,6 +2879,7 @@ class NgIf {
2870
2879
  }
2871
2880
  /**
2872
2881
  * A template to show if the condition expression evaluates to false.
2882
+ * @deprecated Use the @if block instead. Intent to remove in v22
2873
2883
  */
2874
2884
  set ngIfElse(templateRef) {
2875
2885
  assertTemplate(templateRef, (typeof ngDevMode === 'undefined' || ngDevMode) && 'ngIfElse');
@@ -2917,10 +2927,10 @@ class NgIf {
2917
2927
  static ngTemplateContextGuard(dir, ctx) {
2918
2928
  return true;
2919
2929
  }
2920
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: NgIf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
2921
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-next.8", type: NgIf, isStandalone: true, selector: "[ngIf]", inputs: { ngIf: "ngIf", ngIfThen: "ngIfThen", ngIfElse: "ngIfElse" }, ngImport: i0 });
2930
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: NgIf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
2931
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-rc.0", type: NgIf, isStandalone: true, selector: "[ngIf]", inputs: { ngIf: "ngIf", ngIfThen: "ngIfThen", ngIfElse: "ngIfElse" }, ngImport: i0 });
2922
2932
  }
2923
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: NgIf, decorators: [{
2933
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: NgIf, decorators: [{
2924
2934
  type: Directive,
2925
2935
  args: [{
2926
2936
  selector: '[ngIf]',
@@ -2934,6 +2944,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.8",
2934
2944
  }] } });
2935
2945
  /**
2936
2946
  * @publicApi
2947
+ *
2948
+ * @deprecated 20.0
2949
+ * The ngIf directive is deprecated in favor of the @if block instead.
2937
2950
  */
2938
2951
  class NgIfContext {
2939
2952
  $implicit = null;
@@ -3036,7 +3049,8 @@ class SwitchView {
3036
3049
  * @see {@link NgSwitchDefault}
3037
3050
  * @see [Structural Directives](guide/directives/structural-directives)
3038
3051
  *
3039
- * @deprecated Use the @switch block instead. Intent to remove in v22
3052
+ * @deprecated 20.0
3053
+ * Use the @switch block instead. Intent to remove in v22
3040
3054
  */
3041
3055
  class NgSwitch {
3042
3056
  _defaultViews = [];
@@ -3045,6 +3059,7 @@ class NgSwitch {
3045
3059
  _lastCaseCheckIndex = 0;
3046
3060
  _lastCasesMatched = false;
3047
3061
  _ngSwitch;
3062
+ /** @deprecated Use the @switch block instead. Intent to remove in v22 */
3048
3063
  set ngSwitch(newValue) {
3049
3064
  this._ngSwitch = newValue;
3050
3065
  if (this._caseCount === 0) {
@@ -3079,10 +3094,10 @@ class NgSwitch {
3079
3094
  }
3080
3095
  }
3081
3096
  }
3082
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: NgSwitch, deps: [], target: i0.ɵɵFactoryTarget.Directive });
3083
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-next.8", type: NgSwitch, isStandalone: true, selector: "[ngSwitch]", inputs: { ngSwitch: "ngSwitch" }, ngImport: i0 });
3097
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: NgSwitch, deps: [], target: i0.ɵɵFactoryTarget.Directive });
3098
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-rc.0", type: NgSwitch, isStandalone: true, selector: "[ngSwitch]", inputs: { ngSwitch: "ngSwitch" }, ngImport: i0 });
3084
3099
  }
3085
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: NgSwitch, decorators: [{
3100
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: NgSwitch, decorators: [{
3086
3101
  type: Directive,
3087
3102
  args: [{
3088
3103
  selector: '[ngSwitch]',
@@ -3122,13 +3137,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.8",
3122
3137
  * @see {@link NgSwitch}
3123
3138
  * @see {@link NgSwitchDefault}
3124
3139
  *
3125
- * @deprecated Use the @case block within a @switch block instead. Intent to remove in v22
3140
+ * @deprecated 20.0
3141
+ * Use the @case block within a @switch block instead. Intent to remove in v22
3126
3142
  */
3127
3143
  class NgSwitchCase {
3128
3144
  ngSwitch;
3129
3145
  _view;
3130
3146
  /**
3131
3147
  * Stores the HTML template to be selected on match.
3148
+ * @deprecated Use the @case block within a @switch block instead. Intent to remove in v22
3132
3149
  */
3133
3150
  ngSwitchCase;
3134
3151
  constructor(viewContainer, templateRef, ngSwitch) {
@@ -3146,10 +3163,10 @@ class NgSwitchCase {
3146
3163
  ngDoCheck() {
3147
3164
  this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase));
3148
3165
  }
3149
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: NgSwitchCase, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
3150
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-next.8", type: NgSwitchCase, isStandalone: true, selector: "[ngSwitchCase]", inputs: { ngSwitchCase: "ngSwitchCase" }, ngImport: i0 });
3166
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: NgSwitchCase, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
3167
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-rc.0", type: NgSwitchCase, isStandalone: true, selector: "[ngSwitchCase]", inputs: { ngSwitchCase: "ngSwitchCase" }, ngImport: i0 });
3151
3168
  }
3152
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: NgSwitchCase, decorators: [{
3169
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: NgSwitchCase, decorators: [{
3153
3170
  type: Directive,
3154
3171
  args: [{
3155
3172
  selector: '[ngSwitchCase]',
@@ -3174,7 +3191,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.8",
3174
3191
  * @see {@link NgSwitch}
3175
3192
  * @see {@link NgSwitchCase}
3176
3193
  *
3177
- * @deprecated Use the @default block within a @switch block instead. Intent to remove in v22
3194
+ * @deprecated 20.0
3195
+ * Use the @default block within a @switch block instead. Intent to remove in v22
3178
3196
  */
3179
3197
  class NgSwitchDefault {
3180
3198
  constructor(viewContainer, templateRef, ngSwitch) {
@@ -3183,10 +3201,10 @@ class NgSwitchDefault {
3183
3201
  }
3184
3202
  ngSwitch._addDefault(new SwitchView(viewContainer, templateRef));
3185
3203
  }
3186
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: NgSwitchDefault, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
3187
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-next.8", type: NgSwitchDefault, isStandalone: true, selector: "[ngSwitchDefault]", ngImport: i0 });
3204
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: NgSwitchDefault, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
3205
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-rc.0", type: NgSwitchDefault, isStandalone: true, selector: "[ngSwitchDefault]", ngImport: i0 });
3188
3206
  }
3189
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: NgSwitchDefault, decorators: [{
3207
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: NgSwitchDefault, decorators: [{
3190
3208
  type: Directive,
3191
3209
  args: [{
3192
3210
  selector: '[ngSwitchDefault]',
@@ -3262,10 +3280,10 @@ class NgPlural {
3262
3280
  this._activeView.create();
3263
3281
  }
3264
3282
  }
3265
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: NgPlural, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Directive });
3266
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-next.8", type: NgPlural, isStandalone: true, selector: "[ngPlural]", inputs: { ngPlural: "ngPlural" }, ngImport: i0 });
3283
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: NgPlural, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Directive });
3284
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-rc.0", type: NgPlural, isStandalone: true, selector: "[ngPlural]", inputs: { ngPlural: "ngPlural" }, ngImport: i0 });
3267
3285
  }
3268
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: NgPlural, decorators: [{
3286
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: NgPlural, decorators: [{
3269
3287
  type: Directive,
3270
3288
  args: [{
3271
3289
  selector: '[ngPlural]',
@@ -3300,10 +3318,10 @@ class NgPluralCase {
3300
3318
  const isANumber = !isNaN(Number(value));
3301
3319
  ngPlural.addCase(isANumber ? `=${value}` : value, new SwitchView(viewContainer, template));
3302
3320
  }
3303
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: NgPluralCase, deps: [{ token: 'ngPluralCase', attribute: true }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: NgPlural, host: true }], target: i0.ɵɵFactoryTarget.Directive });
3304
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-next.8", type: NgPluralCase, isStandalone: true, selector: "[ngPluralCase]", ngImport: i0 });
3321
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: NgPluralCase, deps: [{ token: 'ngPluralCase', attribute: true }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: NgPlural, host: true }], target: i0.ɵɵFactoryTarget.Directive });
3322
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-rc.0", type: NgPluralCase, isStandalone: true, selector: "[ngPluralCase]", ngImport: i0 });
3305
3323
  }
3306
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: NgPluralCase, decorators: [{
3324
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: NgPluralCase, decorators: [{
3307
3325
  type: Directive,
3308
3326
  args: [{
3309
3327
  selector: '[ngPluralCase]',
@@ -3396,10 +3414,10 @@ class NgStyle {
3396
3414
  changes.forEachAddedItem((record) => this._setStyle(record.key, record.currentValue));
3397
3415
  changes.forEachChangedItem((record) => this._setStyle(record.key, record.currentValue));
3398
3416
  }
3399
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: NgStyle, deps: [{ token: i0.ElementRef }, { token: i0.KeyValueDiffers }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
3400
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-next.8", type: NgStyle, isStandalone: true, selector: "[ngStyle]", inputs: { ngStyle: "ngStyle" }, ngImport: i0 });
3417
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: NgStyle, deps: [{ token: i0.ElementRef }, { token: i0.KeyValueDiffers }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
3418
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-rc.0", type: NgStyle, isStandalone: true, selector: "[ngStyle]", inputs: { ngStyle: "ngStyle" }, ngImport: i0 });
3401
3419
  }
3402
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: NgStyle, decorators: [{
3420
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: NgStyle, decorators: [{
3403
3421
  type: Directive,
3404
3422
  args: [{
3405
3423
  selector: '[ngStyle]',
@@ -3500,10 +3518,10 @@ class NgTemplateOutlet {
3500
3518
  },
3501
3519
  });
3502
3520
  }
3503
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: NgTemplateOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
3504
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-next.8", type: NgTemplateOutlet, isStandalone: true, selector: "[ngTemplateOutlet]", inputs: { ngTemplateOutletContext: "ngTemplateOutletContext", ngTemplateOutlet: "ngTemplateOutlet", ngTemplateOutletInjector: "ngTemplateOutletInjector" }, usesOnChanges: true, ngImport: i0 });
3521
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: NgTemplateOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
3522
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-rc.0", type: NgTemplateOutlet, isStandalone: true, selector: "[ngTemplateOutlet]", inputs: { ngTemplateOutletContext: "ngTemplateOutletContext", ngTemplateOutlet: "ngTemplateOutlet", ngTemplateOutletInjector: "ngTemplateOutletInjector" }, usesOnChanges: true, ngImport: i0 });
3505
3523
  }
3506
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: NgTemplateOutlet, decorators: [{
3524
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: NgTemplateOutlet, decorators: [{
3507
3525
  type: Directive,
3508
3526
  args: [{
3509
3527
  selector: '[ngTemplateOutlet]',
@@ -3559,9 +3577,41 @@ class SubscribableStrategy {
3559
3577
  }
3560
3578
  class PromiseStrategy {
3561
3579
  createSubscription(async, updateLatestValue, onError) {
3562
- return async.then(updateLatestValue, onError);
3580
+ // According to the promise specification, promises are not cancellable by default.
3581
+ // Once a promise is created, it will either resolve or reject, and it doesn't
3582
+ // provide a built-in mechanism to cancel it.
3583
+ // There may be situations where a promise is provided, and it either resolves after
3584
+ // the pipe has been destroyed or never resolves at all. If the promise never
3585
+ // resolves — potentially due to factors beyond our control, such as third-party
3586
+ // libraries — this can lead to a memory leak.
3587
+ // When we use `async.then(updateLatestValue)`, the engine captures a reference to the
3588
+ // `updateLatestValue` function. This allows the promise to invoke that function when it
3589
+ // resolves. In this case, the promise directly captures a reference to the
3590
+ // `updateLatestValue` function. If the promise resolves later, it retains a reference
3591
+ // to the original `updateLatestValue`, meaning that even if the context where
3592
+ // `updateLatestValue` was defined has been destroyed, the function reference remains in memory.
3593
+ // This can lead to memory leaks if `updateLatestValue` is no longer needed or if it holds
3594
+ // onto resources that should be released.
3595
+ // When we do `async.then(v => ...)` the promise captures a reference to the lambda
3596
+ // function (the arrow function).
3597
+ // When we assign `updateLatestValue = null` within the context of an `unsubscribe` function,
3598
+ // we're changing the reference of `updateLatestValue` in the current scope to `null`.
3599
+ // The lambda will no longer have access to it after the assignment, effectively
3600
+ // preventing any further calls to the original function and allowing it to be garbage collected.
3601
+ async.then(
3602
+ // Using optional chaining because we may have set it to `null`; since the promise
3603
+ // is async, the view might be destroyed by the time the promise resolves.
3604
+ (v) => updateLatestValue?.(v), (e) => onError?.(e));
3605
+ return {
3606
+ unsubscribe: () => {
3607
+ updateLatestValue = null;
3608
+ onError = null;
3609
+ },
3610
+ };
3611
+ }
3612
+ dispose(subscription) {
3613
+ subscription.unsubscribe();
3563
3614
  }
3564
- dispose(subscription) { }
3565
3615
  }
3566
3616
  const _promiseStrategy = new PromiseStrategy();
3567
3617
  const _subscribableStrategy = new SubscribableStrategy();
@@ -3668,10 +3718,10 @@ class AsyncPipe {
3668
3718
  }
3669
3719
  }
3670
3720
  }
3671
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: AsyncPipe, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Pipe });
3672
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.0.0-next.8", ngImport: i0, type: AsyncPipe, isStandalone: true, name: "async", pure: false });
3721
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: AsyncPipe, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Pipe });
3722
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.0.0-rc.0", ngImport: i0, type: AsyncPipe, isStandalone: true, name: "async", pure: false });
3673
3723
  }
3674
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: AsyncPipe, decorators: [{
3724
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: AsyncPipe, decorators: [{
3675
3725
  type: Pipe,
3676
3726
  args: [{
3677
3727
  name: 'async',
@@ -3703,10 +3753,10 @@ class LowerCasePipe {
3703
3753
  }
3704
3754
  return value.toLowerCase();
3705
3755
  }
3706
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: LowerCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
3707
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.0.0-next.8", ngImport: i0, type: LowerCasePipe, isStandalone: true, name: "lowercase" });
3756
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: LowerCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
3757
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.0.0-rc.0", ngImport: i0, type: LowerCasePipe, isStandalone: true, name: "lowercase" });
3708
3758
  }
3709
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: LowerCasePipe, decorators: [{
3759
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: LowerCasePipe, decorators: [{
3710
3760
  type: Pipe,
3711
3761
  args: [{
3712
3762
  name: 'lowercase',
@@ -3747,10 +3797,10 @@ class TitleCasePipe {
3747
3797
  }
3748
3798
  return value.replace(unicodeWordMatch, (txt) => txt[0].toUpperCase() + txt.slice(1).toLowerCase());
3749
3799
  }
3750
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: TitleCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
3751
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.0.0-next.8", ngImport: i0, type: TitleCasePipe, isStandalone: true, name: "titlecase" });
3800
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: TitleCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
3801
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.0.0-rc.0", ngImport: i0, type: TitleCasePipe, isStandalone: true, name: "titlecase" });
3752
3802
  }
3753
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: TitleCasePipe, decorators: [{
3803
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: TitleCasePipe, decorators: [{
3754
3804
  type: Pipe,
3755
3805
  args: [{
3756
3806
  name: 'titlecase',
@@ -3773,10 +3823,10 @@ class UpperCasePipe {
3773
3823
  }
3774
3824
  return value.toUpperCase();
3775
3825
  }
3776
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: UpperCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
3777
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.0.0-next.8", ngImport: i0, type: UpperCasePipe, isStandalone: true, name: "uppercase" });
3826
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: UpperCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
3827
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.0.0-rc.0", ngImport: i0, type: UpperCasePipe, isStandalone: true, name: "uppercase" });
3778
3828
  }
3779
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: UpperCasePipe, decorators: [{
3829
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: UpperCasePipe, decorators: [{
3780
3830
  type: Pipe,
3781
3831
  args: [{
3782
3832
  name: 'uppercase',
@@ -4007,10 +4057,10 @@ class DatePipe {
4007
4057
  throw invalidPipeArgumentError(DatePipe, error.message);
4008
4058
  }
4009
4059
  }
4010
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: DatePipe, deps: [{ token: LOCALE_ID }, { token: DATE_PIPE_DEFAULT_TIMEZONE, optional: true }, { token: DATE_PIPE_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
4011
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.0.0-next.8", ngImport: i0, type: DatePipe, isStandalone: true, name: "date" });
4060
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: DatePipe, deps: [{ token: LOCALE_ID }, { token: DATE_PIPE_DEFAULT_TIMEZONE, optional: true }, { token: DATE_PIPE_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
4061
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.0.0-rc.0", ngImport: i0, type: DatePipe, isStandalone: true, name: "date" });
4012
4062
  }
4013
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: DatePipe, decorators: [{
4063
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: DatePipe, decorators: [{
4014
4064
  type: Pipe,
4015
4065
  args: [{
4016
4066
  name: 'date',
@@ -4066,10 +4116,10 @@ class I18nPluralPipe {
4066
4116
  const key = getPluralCategory(value, Object.keys(pluralMap), this._localization, locale);
4067
4117
  return pluralMap[key].replace(_INTERPOLATION_REGEXP, value.toString());
4068
4118
  }
4069
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: I18nPluralPipe, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Pipe });
4070
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.0.0-next.8", ngImport: i0, type: I18nPluralPipe, isStandalone: true, name: "i18nPlural" });
4119
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: I18nPluralPipe, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Pipe });
4120
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.0.0-rc.0", ngImport: i0, type: I18nPluralPipe, isStandalone: true, name: "i18nPlural" });
4071
4121
  }
4072
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: I18nPluralPipe, decorators: [{
4122
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: I18nPluralPipe, decorators: [{
4073
4123
  type: Pipe,
4074
4124
  args: [{
4075
4125
  name: 'i18nPlural',
@@ -4113,10 +4163,10 @@ class I18nSelectPipe {
4113
4163
  }
4114
4164
  return '';
4115
4165
  }
4116
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: I18nSelectPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4117
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.0.0-next.8", ngImport: i0, type: I18nSelectPipe, isStandalone: true, name: "i18nSelect" });
4166
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: I18nSelectPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4167
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.0.0-rc.0", ngImport: i0, type: I18nSelectPipe, isStandalone: true, name: "i18nSelect" });
4118
4168
  }
4119
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: I18nSelectPipe, decorators: [{
4169
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: I18nSelectPipe, decorators: [{
4120
4170
  type: Pipe,
4121
4171
  args: [{
4122
4172
  name: 'i18nSelect',
@@ -4145,10 +4195,10 @@ class JsonPipe {
4145
4195
  transform(value) {
4146
4196
  return JSON.stringify(value, null, 2);
4147
4197
  }
4148
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: JsonPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4149
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.0.0-next.8", ngImport: i0, type: JsonPipe, isStandalone: true, name: "json", pure: false });
4198
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: JsonPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4199
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.0.0-rc.0", ngImport: i0, type: JsonPipe, isStandalone: true, name: "json", pure: false });
4150
4200
  }
4151
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: JsonPipe, decorators: [{
4201
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: JsonPipe, decorators: [{
4152
4202
  type: Pipe,
4153
4203
  args: [{
4154
4204
  name: 'json',
@@ -4210,10 +4260,10 @@ class KeyValuePipe {
4210
4260
  }
4211
4261
  return this.keyValues;
4212
4262
  }
4213
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: KeyValuePipe, deps: [{ token: i0.KeyValueDiffers }], target: i0.ɵɵFactoryTarget.Pipe });
4214
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.0.0-next.8", ngImport: i0, type: KeyValuePipe, isStandalone: true, name: "keyvalue", pure: false });
4263
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: KeyValuePipe, deps: [{ token: i0.KeyValueDiffers }], target: i0.ɵɵFactoryTarget.Pipe });
4264
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.0.0-rc.0", ngImport: i0, type: KeyValuePipe, isStandalone: true, name: "keyvalue", pure: false });
4215
4265
  }
4216
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: KeyValuePipe, decorators: [{
4266
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: KeyValuePipe, decorators: [{
4217
4267
  type: Pipe,
4218
4268
  args: [{
4219
4269
  name: 'keyvalue',
@@ -4330,10 +4380,10 @@ class DecimalPipe {
4330
4380
  throw invalidPipeArgumentError(DecimalPipe, error.message);
4331
4381
  }
4332
4382
  }
4333
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: DecimalPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
4334
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.0.0-next.8", ngImport: i0, type: DecimalPipe, isStandalone: true, name: "number" });
4383
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: DecimalPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
4384
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.0.0-rc.0", ngImport: i0, type: DecimalPipe, isStandalone: true, name: "number" });
4335
4385
  }
4336
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: DecimalPipe, decorators: [{
4386
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: DecimalPipe, decorators: [{
4337
4387
  type: Pipe,
4338
4388
  args: [{
4339
4389
  name: 'number',
@@ -4395,10 +4445,10 @@ class PercentPipe {
4395
4445
  throw invalidPipeArgumentError(PercentPipe, error.message);
4396
4446
  }
4397
4447
  }
4398
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: PercentPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
4399
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.0.0-next.8", ngImport: i0, type: PercentPipe, isStandalone: true, name: "percent" });
4448
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: PercentPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
4449
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.0.0-rc.0", ngImport: i0, type: PercentPipe, isStandalone: true, name: "percent" });
4400
4450
  }
4401
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: PercentPipe, decorators: [{
4451
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: PercentPipe, decorators: [{
4402
4452
  type: Pipe,
4403
4453
  args: [{
4404
4454
  name: 'percent',
@@ -4462,10 +4512,10 @@ class CurrencyPipe {
4462
4512
  throw invalidPipeArgumentError(CurrencyPipe, error.message);
4463
4513
  }
4464
4514
  }
4465
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: CurrencyPipe, deps: [{ token: LOCALE_ID }, { token: DEFAULT_CURRENCY_CODE }], target: i0.ɵɵFactoryTarget.Pipe });
4466
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.0.0-next.8", ngImport: i0, type: CurrencyPipe, isStandalone: true, name: "currency" });
4515
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: CurrencyPipe, deps: [{ token: LOCALE_ID }, { token: DEFAULT_CURRENCY_CODE }], target: i0.ɵɵFactoryTarget.Pipe });
4516
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.0.0-rc.0", ngImport: i0, type: CurrencyPipe, isStandalone: true, name: "currency" });
4467
4517
  }
4468
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: CurrencyPipe, decorators: [{
4518
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: CurrencyPipe, decorators: [{
4469
4519
  type: Pipe,
4470
4520
  args: [{
4471
4521
  name: 'currency',
@@ -4539,10 +4589,10 @@ class SlicePipe {
4539
4589
  }
4540
4590
  return value.slice(start, end);
4541
4591
  }
4542
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: SlicePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4543
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.0.0-next.8", ngImport: i0, type: SlicePipe, isStandalone: true, name: "slice", pure: false });
4592
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: SlicePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4593
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.0.0-rc.0", ngImport: i0, type: SlicePipe, isStandalone: true, name: "slice", pure: false });
4544
4594
  }
4545
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: SlicePipe, decorators: [{
4595
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: SlicePipe, decorators: [{
4546
4596
  type: Pipe,
4547
4597
  args: [{
4548
4598
  name: 'slice',
@@ -4585,11 +4635,11 @@ const COMMON_PIPES = [
4585
4635
  * @publicApi
4586
4636
  */
4587
4637
  class CommonModule {
4588
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: CommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
4589
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.0-next.8", ngImport: i0, type: CommonModule, imports: [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] });
4590
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: CommonModule });
4638
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: CommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
4639
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.0-rc.0", ngImport: i0, type: CommonModule, imports: [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] });
4640
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: CommonModule });
4591
4641
  }
4592
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: CommonModule, decorators: [{
4642
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: CommonModule, decorators: [{
4593
4643
  type: NgModule,
4594
4644
  args: [{
4595
4645
  imports: [COMMON_DIRECTIVES, COMMON_PIPES],
@@ -4598,4 +4648,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.8",
4598
4648
  }] });
4599
4649
 
4600
4650
  export { AsyncPipe, CommonModule, CurrencyPipe, DATE_PIPE_DEFAULT_OPTIONS, DATE_PIPE_DEFAULT_TIMEZONE, DatePipe, DecimalPipe, FormStyle, FormatWidth, HashLocationStrategy, I18nPluralPipe, I18nSelectPipe, JsonPipe, KeyValuePipe, LowerCasePipe, NgClass, NgComponentOutlet, NgForOf, NgForOfContext, NgIf, NgIfContext, NgLocaleLocalization, NgLocalization, NgPlural, NgPluralCase, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgTemplateOutlet, NumberFormatStyle, NumberSymbol, PercentPipe, Plural, SlicePipe, TitleCasePipe, TranslationWidth, UpperCasePipe, WeekDay, formatCurrency, formatDate, formatNumber, formatPercent, getCurrencySymbol, getLocaleCurrencyCode, getLocaleCurrencyName, getLocaleCurrencySymbol, getLocaleDateFormat, getLocaleDateTimeFormat, getLocaleDayNames, getLocaleDayPeriods, getLocaleDirection, getLocaleEraNames, getLocaleExtraDayPeriodRules, getLocaleExtraDayPeriods, getLocaleFirstDayOfWeek, getLocaleId, getLocaleMonthNames, getLocaleNumberFormat, getLocaleNumberSymbol, getLocalePluralCase, getLocaleTimeFormat, getLocaleWeekEndRange, getNumberOfCurrencyDigits };
4601
- //# sourceMappingURL=common_module-Cz2TsVI9.mjs.map
4651
+ //# sourceMappingURL=common_module-CflUMSwD.mjs.map