@angular/core 16.1.0-next.0 → 16.1.0-next.1

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/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v16.1.0-next.0
2
+ * @license Angular v16.1.0-next.1
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -710,7 +710,7 @@ declare type ChangeDetectionStrategy_2 = number;
710
710
  *
711
711
  * The following example sets the `OnPush` change-detection strategy for a component
712
712
  * (`CheckOnce`, rather than the default `CheckAlways`), then forces a second check
713
- * after an interval. See [live demo](https://plnkr.co/edit/GC512b?p=preview).
713
+ * after an interval.
714
714
  *
715
715
  * <code-example path="core/ts/change_detect/change-detection.ts"
716
716
  * region="mark-for-check"></code-example>
@@ -1801,12 +1801,12 @@ declare const CONTEXT = 8;
1801
1801
  * @param component Component class reference.
1802
1802
  * @param options Set of options to use:
1803
1803
  * * `environmentInjector`: An `EnvironmentInjector` instance to be used for the component, see
1804
- * additional info about it at https://angular.io/guide/standalone-components#environment-injectors.
1804
+ * additional info about it [here](/guide/standalone-components#environment-injectors).
1805
1805
  * * `hostElement` (optional): A DOM node that should act as a host node for the component. If not
1806
1806
  * provided, Angular creates one based on the tag name used in the component selector (and falls
1807
1807
  * back to using `div` if selector doesn't have tag name info).
1808
- * * `elementInjector` (optional): An `ElementInjector` instance, see additional info about it at
1809
- * https://angular.io/guide/hierarchical-dependency-injection#elementinjector.
1808
+ * * `elementInjector` (optional): An `ElementInjector` instance, see additional info about it
1809
+ * [here](/guide/hierarchical-dependency-injection#elementinjector).
1810
1810
  * * `projectableNodes` (optional): A list of DOM nodes that should be projected through
1811
1811
  * [`<ng-content>`](api/core/ng-content) of the new component instance.
1812
1812
  * @returns ComponentRef instance that represents a given Component.
@@ -4689,14 +4689,16 @@ declare interface InternalViewRef extends ViewRef {
4689
4689
  export declare function isDevMode(): boolean;
4690
4690
 
4691
4691
  /**
4692
- * Checks if the given `value` function is a reactive `Signal`.
4692
+ * Checks if the given `value` is a reactive `Signal`.
4693
+ *
4694
+ * @developerPreview
4693
4695
  */
4694
- export declare function isSignal(value: Function): value is Signal<unknown>;
4696
+ export declare function isSignal(value: unknown): value is Signal<unknown>;
4695
4697
 
4696
4698
  /**
4697
4699
  * Checks whether a given Component, Directive or Pipe is marked as standalone.
4698
4700
  * This will return false if passed anything other than a Component, Directive, or Pipe class
4699
- * See this guide for additional information: https://angular.io/guide/standalone-components
4701
+ * See [this guide](/guide/standalone-components) for additional information:
4700
4702
  *
4701
4703
  * @param type A reference to a Component, Directive or Pipe.
4702
4704
  * @publicApi
@@ -7554,6 +7556,7 @@ declare const enum RuntimeErrorCode {
7554
7556
  UNSUPPORTED_PROJECTION_DOM_NODES = -503,
7555
7557
  INVALID_SKIP_HYDRATION_HOST = -504,
7556
7558
  MISSING_HYDRATION_ANNOTATIONS = -505,
7559
+ HYDRATION_STABLE_TIMEDOUT = -506,
7557
7560
  SIGNAL_WRITE_FROM_ILLEGAL_CONTEXT = 600,
7558
7561
  REQUIRE_SYNC_WITHOUT_SYNC_EMIT = 601,
7559
7562
  INVALID_I18N_STRUCTURE = 700,
@@ -7875,6 +7878,7 @@ export declare interface SkipSelfDecorator {
7875
7878
  new (): SkipSelf;
7876
7879
  }
7877
7880
 
7881
+
7878
7882
  /**
7879
7883
  * A type-safe key to use with `TransferState`.
7880
7884
  *
@@ -10701,9 +10705,6 @@ export declare interface ɵDirectiveType<T> extends Type<T> {
10701
10705
  */
10702
10706
  export declare const ɵENABLED_SSR_FEATURES: InjectionToken<Set<string>>;
10703
10707
 
10704
-
10705
- export declare function ɵescapeTransferStateContent(text: string): string;
10706
-
10707
10708
  /**
10708
10709
  * Index of each type of locale data from the extra locale data array
10709
10710
  */
@@ -10822,7 +10823,7 @@ export declare function ɵgetLocaleCurrencyCode(locale: string): string | null;
10822
10823
  * @param locale A locale code for the locale format rules to use.
10823
10824
  * @returns The plural function for the locale.
10824
10825
  * @see `NgPlural`
10825
- * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
10826
+ * @see [Internationalization (i18n) Guide](/guide/i18n-overview)
10826
10827
  */
10827
10828
  export declare function ɵgetLocalePluralCase(locale: string): (value: number) => number;
10828
10829
 
@@ -11571,8 +11572,6 @@ export declare const ɵTESTABILITY_GETTER: InjectionToken<GetTestability>;
11571
11572
  */
11572
11573
  export declare function ɵtransitiveScopesFor<T>(type: Type<T>): ɵNgModuleTransitiveScopes;
11573
11574
 
11574
- export declare function ɵunescapeTransferStateContent(text: string): string;
11575
-
11576
11575
  /**
11577
11576
  * Helper function to remove all the locale data from `LOCALE_DATA`.
11578
11577
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/core",
3
- "version": "16.1.0-next.0",
3
+ "version": "16.1.0-next.1",
4
4
  "description": "Angular - the core framework",
5
5
  "author": "angular",
6
6
  "license": "MIT",
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v16.1.0-next.0
2
+ * @license Angular v16.1.0-next.1
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -18675,7 +18675,7 @@ function publishFacade(global2) {
18675
18675
  }
18676
18676
 
18677
18677
  // bazel-out/k8-fastbuild/bin/packages/compiler/src/version.mjs
18678
- var VERSION2 = new Version("16.1.0-next.0");
18678
+ var VERSION2 = new Version("16.1.0-next.1");
18679
18679
 
18680
18680
  // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
18681
18681
  var _I18N_ATTR = "i18n";
@@ -19994,7 +19994,7 @@ var MINIMUM_PARTIAL_LINKER_VERSION = "12.0.0";
19994
19994
  function compileDeclareClassMetadata(metadata) {
19995
19995
  const definitionMap = new DefinitionMap();
19996
19996
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION));
19997
- definitionMap.set("version", literal("16.1.0-next.0"));
19997
+ definitionMap.set("version", literal("16.1.0-next.1"));
19998
19998
  definitionMap.set("ngImport", importExpr(Identifiers.core));
19999
19999
  definitionMap.set("type", metadata.type);
20000
20000
  definitionMap.set("decorators", metadata.decorators);
@@ -20063,7 +20063,7 @@ function createDirectiveDefinitionMap(meta) {
20063
20063
  var _a2;
20064
20064
  const definitionMap = new DefinitionMap();
20065
20065
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION2));
20066
- definitionMap.set("version", literal("16.1.0-next.0"));
20066
+ definitionMap.set("version", literal("16.1.0-next.1"));
20067
20067
  definitionMap.set("type", meta.type.value);
20068
20068
  if (meta.isStandalone) {
20069
20069
  definitionMap.set("isStandalone", literal(meta.isStandalone));
@@ -20248,7 +20248,7 @@ var MINIMUM_PARTIAL_LINKER_VERSION3 = "12.0.0";
20248
20248
  function compileDeclareFactoryFunction(meta) {
20249
20249
  const definitionMap = new DefinitionMap();
20250
20250
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION3));
20251
- definitionMap.set("version", literal("16.1.0-next.0"));
20251
+ definitionMap.set("version", literal("16.1.0-next.1"));
20252
20252
  definitionMap.set("ngImport", importExpr(Identifiers.core));
20253
20253
  definitionMap.set("type", meta.type.value);
20254
20254
  definitionMap.set("deps", compileDependencies(meta.deps));
@@ -20271,7 +20271,7 @@ function compileDeclareInjectableFromMetadata(meta) {
20271
20271
  function createInjectableDefinitionMap(meta) {
20272
20272
  const definitionMap = new DefinitionMap();
20273
20273
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION4));
20274
- definitionMap.set("version", literal("16.1.0-next.0"));
20274
+ definitionMap.set("version", literal("16.1.0-next.1"));
20275
20275
  definitionMap.set("ngImport", importExpr(Identifiers.core));
20276
20276
  definitionMap.set("type", meta.type.value);
20277
20277
  if (meta.providedIn !== void 0) {
@@ -20309,7 +20309,7 @@ function compileDeclareInjectorFromMetadata(meta) {
20309
20309
  function createInjectorDefinitionMap(meta) {
20310
20310
  const definitionMap = new DefinitionMap();
20311
20311
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION5));
20312
- definitionMap.set("version", literal("16.1.0-next.0"));
20312
+ definitionMap.set("version", literal("16.1.0-next.1"));
20313
20313
  definitionMap.set("ngImport", importExpr(Identifiers.core));
20314
20314
  definitionMap.set("type", meta.type.value);
20315
20315
  definitionMap.set("providers", meta.providers);
@@ -20330,7 +20330,7 @@ function compileDeclareNgModuleFromMetadata(meta) {
20330
20330
  function createNgModuleDefinitionMap(meta) {
20331
20331
  const definitionMap = new DefinitionMap();
20332
20332
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION6));
20333
- definitionMap.set("version", literal("16.1.0-next.0"));
20333
+ definitionMap.set("version", literal("16.1.0-next.1"));
20334
20334
  definitionMap.set("ngImport", importExpr(Identifiers.core));
20335
20335
  definitionMap.set("type", meta.type.value);
20336
20336
  if (meta.bootstrap.length > 0) {
@@ -20365,7 +20365,7 @@ function compileDeclarePipeFromMetadata(meta) {
20365
20365
  function createPipeDefinitionMap(meta) {
20366
20366
  const definitionMap = new DefinitionMap();
20367
20367
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION7));
20368
- definitionMap.set("version", literal("16.1.0-next.0"));
20368
+ definitionMap.set("version", literal("16.1.0-next.1"));
20369
20369
  definitionMap.set("ngImport", importExpr(Identifiers.core));
20370
20370
  definitionMap.set("type", meta.type.value);
20371
20371
  if (meta.isStandalone) {
@@ -20382,7 +20382,7 @@ function createPipeDefinitionMap(meta) {
20382
20382
  publishFacade(_global);
20383
20383
 
20384
20384
  // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version.mjs
20385
- var VERSION3 = new Version("16.1.0-next.0");
20385
+ var VERSION3 = new Version("16.1.0-next.1");
20386
20386
 
20387
20387
  // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
20388
20388
  var EmitFlags;