@angular/common 18.0.0-next.3 → 18.0.0-next.5

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.
Files changed (67) hide show
  1. package/esm2022/http/src/client.mjs +6 -7
  2. package/esm2022/http/src/fetch.mjs +3 -3
  3. package/esm2022/http/src/interceptor.mjs +24 -8
  4. package/esm2022/http/src/jsonp.mjs +6 -6
  5. package/esm2022/http/src/module.mjs +12 -12
  6. package/esm2022/http/src/private_export.mjs +2 -2
  7. package/esm2022/http/src/transfer_cache.mjs +6 -4
  8. package/esm2022/http/src/xhr.mjs +3 -3
  9. package/esm2022/http/src/xsrf.mjs +6 -6
  10. package/esm2022/http/testing/src/backend.mjs +3 -3
  11. package/esm2022/http/testing/src/module.mjs +4 -4
  12. package/esm2022/http/testing/src/provider.mjs +3 -2
  13. package/esm2022/src/common.mjs +2 -2
  14. package/esm2022/src/common_module.mjs +4 -4
  15. package/esm2022/src/directives/ng_class.mjs +3 -3
  16. package/esm2022/src/directives/ng_component_outlet.mjs +3 -3
  17. package/esm2022/src/directives/ng_for_of.mjs +12 -12
  18. package/esm2022/src/directives/ng_if.mjs +6 -6
  19. package/esm2022/src/directives/ng_optimized_image/image_loaders/imagekit_loader.mjs +6 -9
  20. package/esm2022/src/directives/ng_optimized_image/lcp_image_observer.mjs +3 -3
  21. package/esm2022/src/directives/ng_optimized_image/ng_optimized_image.mjs +5 -5
  22. package/esm2022/src/directives/ng_optimized_image/preconnect_link_checker.mjs +3 -3
  23. package/esm2022/src/directives/ng_optimized_image/preload-link-creator.mjs +3 -3
  24. package/esm2022/src/directives/ng_plural.mjs +6 -6
  25. package/esm2022/src/directives/ng_style.mjs +3 -3
  26. package/esm2022/src/directives/ng_switch.mjs +11 -11
  27. package/esm2022/src/directives/ng_template_outlet.mjs +3 -3
  28. package/esm2022/src/i18n/format_date.mjs +2 -2
  29. package/esm2022/src/i18n/format_number.mjs +4 -4
  30. package/esm2022/src/i18n/locale_data.mjs +2 -2
  31. package/esm2022/src/i18n/locale_data_api.mjs +29 -29
  32. package/esm2022/src/i18n/localization.mjs +6 -6
  33. package/esm2022/src/location/hash_location_strategy.mjs +3 -3
  34. package/esm2022/src/location/location.mjs +3 -3
  35. package/esm2022/src/location/location_strategy.mjs +6 -6
  36. package/esm2022/src/location/platform_location.mjs +6 -6
  37. package/esm2022/src/navigation/platform_navigation.mjs +3 -3
  38. package/esm2022/src/pipes/async_pipe.mjs +3 -3
  39. package/esm2022/src/pipes/case_conversion_pipes.mjs +9 -9
  40. package/esm2022/src/pipes/date_pipe.mjs +5 -5
  41. package/esm2022/src/pipes/i18n_plural_pipe.mjs +3 -3
  42. package/esm2022/src/pipes/i18n_select_pipe.mjs +3 -3
  43. package/esm2022/src/pipes/json_pipe.mjs +3 -3
  44. package/esm2022/src/pipes/keyvalue_pipe.mjs +3 -3
  45. package/esm2022/src/pipes/number_pipe.mjs +13 -13
  46. package/esm2022/src/pipes/slice_pipe.mjs +3 -3
  47. package/esm2022/src/platform_id.mjs +1 -21
  48. package/esm2022/src/version.mjs +1 -1
  49. package/esm2022/testing/src/location_mock.mjs +3 -3
  50. package/esm2022/testing/src/mock_location_strategy.mjs +3 -3
  51. package/esm2022/testing/src/mock_platform_location.mjs +6 -6
  52. package/esm2022/upgrade/src/location_upgrade_module.mjs +6 -6
  53. package/fesm2022/common.mjs +173 -196
  54. package/fesm2022/common.mjs.map +1 -1
  55. package/fesm2022/http/testing.mjs +11 -10
  56. package/fesm2022/http/testing.mjs.map +1 -1
  57. package/fesm2022/http.mjs +64 -48
  58. package/fesm2022/http.mjs.map +1 -1
  59. package/fesm2022/testing.mjs +17 -17
  60. package/fesm2022/upgrade.mjs +7 -7
  61. package/fesm2022/upgrade.mjs.map +1 -1
  62. package/http/index.d.ts +11 -9
  63. package/http/testing/index.d.ts +2 -2
  64. package/index.d.ts +48 -68
  65. package/package.json +2 -2
  66. package/testing/index.d.ts +2 -2
  67. package/upgrade/index.d.ts +3 -3
package/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
- * @license Angular v18.0.0-next.3
3
- * (c) 2010-2022 Google LLC. https://angular.io/
2
+ * @license Angular v18.0.0-next.5
3
+ * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
6
6
 
@@ -242,7 +242,7 @@ export declare const DATE_PIPE_DEFAULT_TIMEZONE: InjectionToken<string>;
242
242
  *
243
243
  * Only the `en-US` locale data comes with Angular. To localize dates
244
244
  * in another language, you must import the corresponding locale data.
245
- * See the [I18n guide](guide/i18n-common-format-data-locale) for more information.
245
+ * See the [I18n guide](guide/i18n/format-data-locale) for more information.
246
246
  *
247
247
  * The time zone of the formatted value can be specified either by passing it in as the second
248
248
  * parameter of the pipe, or by setting the default through the `DATE_PIPE_DEFAULT_OPTIONS`
@@ -402,7 +402,7 @@ export declare class DatePipe implements PipeTransform {
402
402
  * is not configured, the end-user's local system timezone is used as a value.
403
403
  * @param locale A locale code for the locale format rules to use.
404
404
  * When not supplied, uses the value of `LOCALE_ID`, which is `en-US` by default.
405
- * See [Setting your app locale](guide/i18n-common-locale-id).
405
+ * See [Setting your app locale](guide/i18n/locale-id).
406
406
  *
407
407
  * @see {@link DATE_PIPE_DEFAULT_OPTIONS}
408
408
  *
@@ -480,7 +480,7 @@ export declare interface DatePipeConfig {
480
480
  *
481
481
  * When not supplied, uses the value of `LOCALE_ID`, which is `en-US` by default.
482
482
  *
483
- * See [Setting your app locale](guide/i18n-common-locale-id).
483
+ * See [Setting your app locale](guide/i18n/locale-id).
484
484
  *
485
485
  * ### Example
486
486
  *
@@ -534,7 +534,7 @@ export declare const DOCUMENT: InjectionToken<Document>;
534
534
  *
535
535
  * @see {@link formatNumber}
536
536
  * @see {@link DecimalPipe}
537
- * @see [Internationalization (i18n) Guide](/guide/i18n-overview)
537
+ * @see [Internationalization (i18n) Guide](guide/i18n)
538
538
  *
539
539
  * @publicApi
540
540
  */
@@ -557,7 +557,7 @@ export declare function formatCurrency(value: number, locale: string, currency:
557
557
  * @returns The formatted date string.
558
558
  *
559
559
  * @see {@link DatePipe}
560
- * @see [Internationalization (i18n) Guide](/guide/i18n-overview)
560
+ * @see [Internationalization (i18n) Guide](guide/i18n)
561
561
  *
562
562
  * @publicApi
563
563
  */
@@ -576,7 +576,7 @@ export declare function formatDate(value: string | number | Date, format: string
576
576
  * `{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}`. See `DecimalPipe` for more details.
577
577
  *
578
578
  * @returns The formatted text string.
579
- * @see [Internationalization (i18n) Guide](/guide/i18n-overview)
579
+ * @see [Internationalization (i18n) Guide](guide/i18n)
580
580
  *
581
581
  * @publicApi
582
582
  */
@@ -597,7 +597,7 @@ export declare function formatNumber(value: number, locale: string, digitsInfo?:
597
597
  *
598
598
  * @see {@link formatNumber}
599
599
  * @see {@link DecimalPipe}
600
- * @see [Internationalization (i18n) Guide](/guide/i18n-overview)
600
+ * @see [Internationalization (i18n) Guide](guide/i18n)
601
601
  * @publicApi
602
602
  *
603
603
  */
@@ -611,7 +611,7 @@ export declare function formatPercent(value: number, locale: string, digitsInfo?
611
611
  * @see {@link getLocaleDateFormat}
612
612
  * @see {@link getLocaleTimeFormat}
613
613
  * @see {@link getLocaleDateTimeFormat}
614
- * @see [Internationalization (i18n) Guide](/guide/i18n-overview)
614
+ * @see [Internationalization (i18n) Guide](guide/i18n)
615
615
  * @publicApi
616
616
  */
617
617
  export declare enum FormatWidth {
@@ -642,7 +642,7 @@ export declare enum FormatWidth {
642
642
  * Typically the standalone version is for the nominative form of the word,
643
643
  * and the format version is used for the genitive case.
644
644
  * @see [CLDR website](http://cldr.unicode.org/translation/date-time-1/date-time#TOC-Standalone-vs.-Format-Styles)
645
- * @see [Internationalization (i18n) Guide](/guide/i18n-overview)
645
+ * @see [Internationalization (i18n) Guide](guide/i18n)
646
646
  *
647
647
  * @publicApi
648
648
  */
@@ -662,7 +662,7 @@ export declare enum FormStyle {
662
662
  * @param locale A locale code for the locale format rules to use.
663
663
  *
664
664
  * @returns The symbol, or the currency code if no symbol is available.
665
- * @see [Internationalization (i18n) Guide](/guide/i18n-overview)
665
+ * @see [Internationalization (i18n) Guide](guide/i18n)
666
666
  *
667
667
  * @publicApi
668
668
  */
@@ -686,7 +686,7 @@ export declare function getLocaleCurrencyCode(locale: string): string | null;
686
686
  * @param locale A locale code for the locale format rules to use.
687
687
  * @returns The currency name,
688
688
  * or `null` if the main country cannot be determined.
689
- * @see [Internationalization (i18n) Guide](/guide/i18n-overview)
689
+ * @see [Internationalization (i18n) Guide](guide/i18n)
690
690
  *
691
691
  * @publicApi
692
692
  */
@@ -699,7 +699,7 @@ export declare function getLocaleCurrencyName(locale: string): string | null;
699
699
  * @param locale A locale code for the locale format rules to use.
700
700
  * @returns The localized symbol character,
701
701
  * or `null` if the main country cannot be determined.
702
- * @see [Internationalization (i18n) Guide](/guide/i18n-overview)
702
+ * @see [Internationalization (i18n) Guide](guide/i18n)
703
703
  *
704
704
  * @publicApi
705
705
  */
@@ -712,7 +712,7 @@ export declare function getLocaleCurrencySymbol(locale: string): string | null;
712
712
  * @param width The format type.
713
713
  * @returns The localized formatting string.
714
714
  * @see {@link FormatWidth}
715
- * @see [Internationalization (i18n) Guide](/guide/i18n-overview)
715
+ * @see [Internationalization (i18n) Guide](guide/i18n)
716
716
  *
717
717
  * @publicApi
718
718
  */
@@ -725,7 +725,7 @@ export declare function getLocaleDateFormat(locale: string, width: FormatWidth):
725
725
  * @param width The format type.
726
726
  * @returns The localized formatting string.
727
727
  * @see {@link FormatWidth}
728
- * @see [Internationalization (i18n) Guide](/guide/i18n-overview)
728
+ * @see [Internationalization (i18n) Guide](guide/i18n)
729
729
  *
730
730
  * @publicApi
731
731
  */
@@ -739,7 +739,7 @@ export declare function getLocaleDateTimeFormat(locale: string, width: FormatWid
739
739
  * @param width The required character width.
740
740
  * @returns An array of localized name strings.
741
741
  * For example,`[Sunday, Monday, ... Saturday]` for `en-US`.
742
- * @see [Internationalization (i18n) Guide](/guide/i18n-overview)
742
+ * @see [Internationalization (i18n) Guide](guide/i18n)
743
743
  *
744
744
  * @publicApi
745
745
  */
@@ -752,7 +752,7 @@ export declare function getLocaleDayNames(locale: string, formStyle: FormStyle,
752
752
  * @param formStyle The required grammatical form.
753
753
  * @param width The required character width.
754
754
  * @returns An array of localized period strings. For example, `[AM, PM]` for `en-US`.
755
- * @see [Internationalization (i18n) Guide](/guide/i18n-overview)
755
+ * @see [Internationalization (i18n) Guide](guide/i18n)
756
756
  *
757
757
  * @publicApi
758
758
  */
@@ -763,7 +763,7 @@ export declare function getLocaleDayPeriods(locale: string, formStyle: FormStyle
763
763
  * @param locale A locale code for the locale format rules to use.
764
764
  * @publicApi
765
765
  * @returns 'rtl' or 'ltr'
766
- * @see [Internationalization (i18n) Guide](/guide/i18n-overview)
766
+ * @see [Internationalization (i18n) Guide](guide/i18n)
767
767
  */
768
768
  export declare function getLocaleDirection(locale: string): 'ltr' | 'rtl';
769
769
 
@@ -774,7 +774,7 @@ export declare function getLocaleDirection(locale: string): 'ltr' | 'rtl';
774
774
 
775
775
  * @returns An array of localized era strings.
776
776
  * For example, `[AD, BC]` for `en-US`.
777
- * @see [Internationalization (i18n) Guide](/guide/i18n-overview)
777
+ * @see [Internationalization (i18n) Guide](guide/i18n)
778
778
  *
779
779
  * @publicApi
780
780
  */
@@ -791,14 +791,14 @@ export declare function getLocaleEraNames(locale: string, width: TranslationWidt
791
791
  * A rule can specify a period as time range, or as a single time value.
792
792
  *
793
793
  * This functionality is only available when you have loaded the full locale data.
794
- * See the ["I18n guide"](guide/i18n-common-format-data-locale).
794
+ * See the ["I18n guide"](guide/i18n/format-data-locale).
795
795
  *
796
796
  * @param locale A locale code for the locale format rules to use.
797
797
  * @returns The rules for the locale, a single time value or array of *from-time, to-time*,
798
798
  * or null if no periods are available.
799
799
  *
800
800
  * @see {@link getLocaleExtraDayPeriods}
801
- * @see [Internationalization (i18n) Guide](/guide/i18n-overview)
801
+ * @see [Internationalization (i18n) Guide](guide/i18n)
802
802
  *
803
803
  * @publicApi
804
804
  */
@@ -810,14 +810,14 @@ export declare function getLocaleExtraDayPeriodRules(locale: string): (Time | [T
810
810
  * For example, for `en-US`, periods are morning, noon, afternoon, evening, and midnight.
811
811
  *
812
812
  * This functionality is only available when you have loaded the full locale data.
813
- * See the ["I18n guide"](guide/i18n-common-format-data-locale).
813
+ * See the ["I18n guide"](guide/i18n/format-data-locale).
814
814
  *
815
815
  * @param locale A locale code for the locale format rules to use.
816
816
  * @param formStyle The required grammatical form.
817
817
  * @param width The required character width.
818
818
  * @returns The translated day-period strings.
819
819
  * @see {@link getLocaleExtraDayPeriodRules}
820
- * @see [Internationalization (i18n) Guide](/guide/i18n-overview)
820
+ * @see [Internationalization (i18n) Guide](guide/i18n)
821
821
  *
822
822
  * @publicApi
823
823
  */
@@ -830,7 +830,7 @@ export declare function getLocaleExtraDayPeriods(locale: string, formStyle: Form
830
830
  * @returns A day index number, using the 0-based week-day index for `en-US`
831
831
  * (Sunday = 0, Monday = 1, ...).
832
832
  * For example, for `fr-FR`, returns 1 to indicate that the first day is Monday.
833
- * @see [Internationalization (i18n) Guide](/guide/i18n-overview)
833
+ * @see [Internationalization (i18n) Guide](guide/i18n)
834
834
  *
835
835
  * @publicApi
836
836
  */
@@ -841,7 +841,7 @@ export declare function getLocaleFirstDayOfWeek(locale: string): WeekDay;
841
841
  * The loaded locale could be, for example, a global one rather than a regional one.
842
842
  * @param locale A locale code, such as `fr-FR`.
843
843
  * @returns The locale code. For example, `fr`.
844
- * @see [Internationalization (i18n) Guide](/guide/i18n-overview)
844
+ * @see [Internationalization (i18n) Guide](guide/i18n)
845
845
  *
846
846
  * @publicApi
847
847
  */
@@ -855,7 +855,7 @@ export declare function getLocaleId(locale: string): string;
855
855
  * @param width The required character width.
856
856
  * @returns An array of localized name strings.
857
857
  * For example, `[January, February, ...]` for `en-US`.
858
- * @see [Internationalization (i18n) Guide](/guide/i18n-overview)
858
+ * @see [Internationalization (i18n) Guide](guide/i18n)
859
859
  *
860
860
  * @publicApi
861
861
  */
@@ -892,7 +892,7 @@ export declare function getLocaleMonthNames(locale: string, formStyle: FormStyle
892
892
  * @returns The localized format string.
893
893
  * @see {@link NumberFormatStyle}
894
894
  * @see [CLDR website](http://cldr.unicode.org/translation/number-patterns)
895
- * @see [Internationalization (i18n) Guide](/guide/i18n-overview)
895
+ * @see [Internationalization (i18n) Guide](guide/i18n)
896
896
  *
897
897
  * @publicApi
898
898
  */
@@ -904,7 +904,7 @@ export declare function getLocaleNumberFormat(locale: string, type: NumberFormat
904
904
  * @param symbol The symbol to localize. Must be one of `NumberSymbol`.
905
905
  * @returns The character for the localized symbol.
906
906
  * @see {@link NumberSymbol}
907
- * @see [Internationalization (i18n) Guide](/guide/i18n-overview)
907
+ * @see [Internationalization (i18n) Guide](guide/i18n)
908
908
  *
909
909
  * @publicApi
910
910
  */
@@ -923,7 +923,7 @@ export declare const getLocalePluralCase: (locale: string) => (value: number) =>
923
923
  * @param width The format type.
924
924
  * @returns The localized formatting string.
925
925
  * @see {@link FormatWidth}
926
- * @see [Internationalization (i18n) Guide](/guide/i18n-overview)
926
+ * @see [Internationalization (i18n) Guide](guide/i18n)
927
927
 
928
928
  * @publicApi
929
929
  */
@@ -934,7 +934,7 @@ export declare function getLocaleTimeFormat(locale: string, width: FormatWidth):
934
934
  *
935
935
  * @param locale A locale code for the locale format rules to use.
936
936
  * @returns The range of day values, `[startDay, endDay]`.
937
- * @see [Internationalization (i18n) Guide](/guide/i18n-overview)
937
+ * @see [Internationalization (i18n) Guide](guide/i18n)
938
938
  *
939
939
  * @publicApi
940
940
  */
@@ -946,7 +946,7 @@ export declare function getLocaleWeekEndRange(locale: string): [WeekDay, WeekDay
946
946
  *
947
947
  * @param code The currency code.
948
948
  * @returns The number of decimal digits, typically 0 or 2.
949
- * @see [Internationalization (i18n) Guide](/guide/i18n-overview)
949
+ * @see [Internationalization (i18n) Guide](guide/i18n)
950
950
  *
951
951
  * @publicApi
952
952
  */
@@ -1241,22 +1241,6 @@ export declare function isPlatformBrowser(platformId: Object): boolean;
1241
1241
  */
1242
1242
  export declare function isPlatformServer(platformId: Object): boolean;
1243
1243
 
1244
- /**
1245
- * Returns whether a platform id represents a web worker app platform.
1246
- * @publicApi
1247
- * @deprecated This function serves no purpose since the removal of the Webworker platform. It will
1248
- * always return `false`.
1249
- */
1250
- export declare function isPlatformWorkerApp(platformId: Object): boolean;
1251
-
1252
- /**
1253
- * Returns whether a platform id represents a web worker UI platform.
1254
- * @publicApi
1255
- * @deprecated This function serves no purpose since the removal of the Webworker platform. It will
1256
- * always return `false`.
1257
- */
1258
- export declare function isPlatformWorkerUi(platformId: Object): boolean;
1259
-
1260
1244
  /**
1261
1245
  * @ngModule CommonModule
1262
1246
  * @description
@@ -1863,13 +1847,13 @@ export declare class NgComponentOutlet implements OnChanges, DoCheck, OnDestroy
1863
1847
  }
1864
1848
 
1865
1849
  /**
1866
- * A [structural directive](guide/structural-directives) that renders
1850
+ * A [structural directive](guide/directives/structural-directives) that renders
1867
1851
  * a template for each item in a collection.
1868
1852
  * The directive is placed on an element, which becomes the parent
1869
1853
  * of the cloned templates.
1870
1854
  *
1871
1855
  * The `ngForOf` directive is generally used in the
1872
- * [shorthand form](guide/structural-directives#asterisk) `*ngFor`.
1856
+ * [shorthand form](guide/directives/structural-directives#asterisk) `*ngFor`.
1873
1857
  * In this form, the template to be rendered for each iteration is the content
1874
1858
  * of an anchor element containing the directive.
1875
1859
  *
@@ -1898,11 +1882,11 @@ export declare class NgComponentOutlet implements OnChanges, DoCheck, OnDestroy
1898
1882
  * context according to its lexical position.
1899
1883
  *
1900
1884
  * When using the shorthand syntax, Angular allows only [one structural directive
1901
- * on an element](guide/structural-directives#one-per-element).
1885
+ * on an element](guide/directives/structural-directives#one-per-element).
1902
1886
  * If you want to iterate conditionally, for example,
1903
1887
  * put the `*ngIf` on a container element that wraps the `*ngFor` element.
1904
1888
  * For further discussion, see
1905
- * [Structural Directives](guide/structural-directives#one-per-element).
1889
+ * [Structural Directives](guide/directives/structural-directives#one-per-element).
1906
1890
  *
1907
1891
  * @usageNotes
1908
1892
  *
@@ -1943,7 +1927,7 @@ export declare class NgComponentOutlet implements OnChanges, DoCheck, OnDestroy
1943
1927
  * controls that are present, such as `<input>` elements that accept user input. Inserted rows can
1944
1928
  * be animated in, deleted rows can be animated out, and unchanged rows retain any unsaved state
1945
1929
  * such as user input.
1946
- * For more on animations, see [Transitions and Triggers](guide/transition-and-triggers).
1930
+ * For more on animations, see [Transitions and Triggers](guide/animations/transition-and-triggers).
1947
1931
  *
1948
1932
  * The identities of elements in the iterator can change while the data does not.
1949
1933
  * This can happen, for example, if the iterator is produced from an RPC to the server, and that
@@ -1956,7 +1940,7 @@ export declare class NgComponentOutlet implements OnChanges, DoCheck, OnDestroy
1956
1940
  * `trackBy` takes a function that has two arguments: `index` and `item`.
1957
1941
  * If `trackBy` is given, Angular tracks changes by the return value of the function.
1958
1942
  *
1959
- * @see [Structural Directives](guide/structural-directives)
1943
+ * @see [Structural Directives](guide/directives/structural-directives)
1960
1944
  * @ngModule CommonModule
1961
1945
  * @publicApi
1962
1946
  */
@@ -1966,7 +1950,7 @@ declare class NgForOf<T, U extends NgIterable<T> = NgIterable<T>> implements DoC
1966
1950
  private _differs;
1967
1951
  /**
1968
1952
  * The value of the iterable expression, which can be used as a
1969
- * [template input variable](guide/structural-directives#shorthand).
1953
+ * [template input variable](guide/directives/structural-directives#shorthand).
1970
1954
  */
1971
1955
  set ngForOf(ngForOf: (U & NgIterable<T>) | undefined | null);
1972
1956
  /**
@@ -1996,7 +1980,7 @@ declare class NgForOf<T, U extends NgIterable<T> = NgIterable<T>> implements DoC
1996
1980
  constructor(_viewContainer: ViewContainerRef, _template: TemplateRef<NgForOfContext<T, U>>, _differs: IterableDiffers);
1997
1981
  /**
1998
1982
  * A reference to the template that is stamped out for each item in the iterable.
1999
- * @see [template reference variable](guide/template-reference-variables)
1983
+ * @see [template reference variable](guide/templates/reference-variables)
2000
1984
  */
2001
1985
  set ngForTemplate(value: TemplateRef<NgForOfContext<T, U>>);
2002
1986
  /**
@@ -2041,7 +2025,7 @@ export declare class NgForOfContext<T, U extends NgIterable<T> = NgIterable<T>>
2041
2025
  * Angular renders the template provided in an optional `else` clause. The default
2042
2026
  * template for the `else` clause is blank.
2043
2027
  *
2044
- * A [shorthand form](guide/structural-directives#asterisk) of the directive,
2028
+ * A [shorthand form](guide/directives/structural-directives#asterisk) of the directive,
2045
2029
  * `*ngIf="condition"`, is generally used, provided
2046
2030
  * as an attribute of the anchor element for the inserted template.
2047
2031
  * Angular expands this into a more explicit version, in which the anchor element
@@ -2167,7 +2151,7 @@ export declare class NgForOfContext<T, U extends NgIterable<T> = NgIterable<T>>
2167
2151
  *
2168
2152
  * The presence of the implicit template object has implications for the nesting of
2169
2153
  * structural directives. For more on this subject, see
2170
- * [Structural Directives](guide/structural-directives#one-per-element).
2154
+ * [Structural Directives](guide/directives/structural-directives#one-per-element).
2171
2155
  *
2172
2156
  * @ngModule CommonModule
2173
2157
  * @publicApi
@@ -2260,7 +2244,7 @@ export declare abstract class NgLocalization {
2260
2244
  * - Warns if the image will be visually distorted when rendered
2261
2245
  *
2262
2246
  * @usageNotes
2263
- * The `NgOptimizedImage` directive is marked as [standalone](guide/standalone-components) and can
2247
+ * The `NgOptimizedImage` directive is marked as [standalone](guide/components/importing) and can
2264
2248
  * be imported directly.
2265
2249
  *
2266
2250
  * Follow the steps below to enable and use the directive:
@@ -2656,7 +2640,7 @@ export declare class NgStyle implements DoCheck {
2656
2640
  * @publicApi
2657
2641
  * @see {@link NgSwitchCase}
2658
2642
  * @see {@link NgSwitchDefault}
2659
- * @see [Structural Directives](guide/structural-directives)
2643
+ * @see [Structural Directives](guide/directives/structural-directives)
2660
2644
  *
2661
2645
  */
2662
2646
  export declare class NgSwitch {
@@ -2804,7 +2788,7 @@ export declare class NgTemplateOutlet<C = unknown> implements OnChanges {
2804
2788
  /**
2805
2789
  * Format styles that can be used to represent numbers.
2806
2790
  * @see {@link getLocaleNumberFormat}
2807
- * @see [Internationalization (i18n) Guide](/guide/i18n-overview)
2791
+ * @see [Internationalization (i18n) Guide](guide/i18n)
2808
2792
  *
2809
2793
  * @publicApi
2810
2794
  */
@@ -2820,7 +2804,7 @@ export declare enum NumberFormatStyle {
2820
2804
  * Examples are based on `en-US` values.
2821
2805
  *
2822
2806
  * @see {@link getLocaleNumberSymbol}
2823
- * @see [Internationalization (i18n) Guide](/guide/i18n-overview)
2807
+ * @see [Internationalization (i18n) Guide](guide/i18n)
2824
2808
  *
2825
2809
  * @publicApi
2826
2810
  * @object-literal-as-enum
@@ -3038,7 +3022,7 @@ export declare abstract class PlatformLocation {
3038
3022
  *
3039
3023
  * @see {@link NgPlural}
3040
3024
  * @see {@link NgPluralCase}
3041
- * @see [Internationalization (i18n) Guide](/guide/i18n-overview)
3025
+ * @see [Internationalization (i18n) Guide](guide/i18n)
3042
3026
  *
3043
3027
  * @publicApi
3044
3028
  */
@@ -3144,7 +3128,7 @@ export declare function provideNetlifyLoader(path?: string): Provider[];
3144
3128
 
3145
3129
  /**
3146
3130
  * Register global data to be used internally by Angular. See the
3147
- * ["I18n guide"](guide/i18n-common-format-data-locale) to know how to import additional locale
3131
+ * ["I18n guide"](guide/i18n/format-data-locale) to know how to import additional locale
3148
3132
  * data.
3149
3133
  *
3150
3134
  * The signature registerLocaleData(data: any, extraData?: any) is deprecated since v5.1
@@ -3437,10 +3421,6 @@ export declare const ɵPLATFORM_BROWSER_ID = "browser";
3437
3421
 
3438
3422
  export declare const ɵPLATFORM_SERVER_ID = "server";
3439
3423
 
3440
- export declare const ɵPLATFORM_WORKER_APP_ID = "browserWorkerApp";
3441
-
3442
- export declare const ɵPLATFORM_WORKER_UI_ID = "browserWorkerUi";
3443
-
3444
3424
  /**
3445
3425
  * This class wraps the platform Navigation API which allows server-specific and test
3446
3426
  * implementations.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/common",
3
- "version": "18.0.0-next.3",
3
+ "version": "18.0.0-next.5",
4
4
  "description": "Angular - commonly needed directives and services",
5
5
  "author": "angular",
6
6
  "license": "MIT",
@@ -54,7 +54,7 @@
54
54
  }
55
55
  },
56
56
  "peerDependencies": {
57
- "@angular/core": "18.0.0-next.3",
57
+ "@angular/core": "18.0.0-next.5",
58
58
  "rxjs": "^6.5.3 || ^7.4.0"
59
59
  },
60
60
  "repository": {
@@ -1,6 +1,6 @@
1
1
  /**
2
- * @license Angular v18.0.0-next.3
3
- * (c) 2010-2022 Google LLC. https://angular.io/
2
+ * @license Angular v18.0.0-next.5
3
+ * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
- * @license Angular v18.0.0-next.3
3
- * (c) 2010-2022 Google LLC. https://angular.io/
2
+ * @license Angular v18.0.0-next.5
3
+ * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
6
6
 
@@ -348,7 +348,7 @@ export declare interface LocationUpgradeConfig {
348
348
  /**
349
349
  * `NgModule` used for providing and configuring Angular's Unified Location Service for upgrading.
350
350
  *
351
- * @see [Using the Unified Angular Location Service](guide/upgrade#using-the-unified-angular-location-service)
351
+ * @see [Using the Unified Angular Location Service](https://angular.io/guide/upgrade#using-the-unified-angular-location-service)
352
352
  *
353
353
  * @publicApi
354
354
  */