@angular/core 16.0.2 → 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.0.2
2
+ * @license Angular v16.1.0-next.1
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -2853,6 +2853,10 @@ declare interface DirectiveDefinition<T> {
2853
2853
  * Whether this directive/component is standalone.
2854
2854
  */
2855
2855
  standalone?: boolean;
2856
+ /**
2857
+ * Whether this directive/component is signal-based.
2858
+ */
2859
+ signals?: boolean;
2856
2860
  }
2857
2861
 
2858
2862
  declare type DirectiveDefList = (ɵDirectiveDef<any> | ɵComponentDef<any>)[];
@@ -5470,15 +5474,17 @@ declare const enum LViewFlags {
5470
5474
  RefreshView = 1024,
5471
5475
  /** Indicates that the view **or any of its ancestors** have an embedded view injector. */
5472
5476
  HasEmbeddedViewInjector = 2048,
5477
+ /** Indicates that the view was created with `signals: true`. */
5478
+ SignalView = 4096,
5473
5479
  /**
5474
5480
  * Index of the current init phase on last 21 bits
5475
5481
  */
5476
- IndexWithinInitPhaseIncrementer = 4096,
5482
+ IndexWithinInitPhaseIncrementer = 8192,
5477
5483
  /**
5478
5484
  * This is the count of the bits the 1 was shifted above (base 10)
5479
5485
  */
5480
- IndexWithinInitPhaseShift = 12,
5481
- IndexWithinInitPhaseReset = 4095
5486
+ IndexWithinInitPhaseShift = 13,
5487
+ IndexWithinInitPhaseReset = 8191
5482
5488
  }
5483
5489
 
5484
5490
  /**
@@ -6816,6 +6822,7 @@ declare interface R3DeclareDirectiveFacade {
6816
6822
  usesOnChanges?: boolean;
6817
6823
  isStandalone?: boolean;
6818
6824
  hostDirectives?: R3HostDirectiveMetadataFacade[] | null;
6825
+ isSignal?: boolean;
6819
6826
  }
6820
6827
 
6821
6828
  declare interface R3DeclareFactoryFacade {
@@ -10443,6 +10450,8 @@ export declare interface ɵComponentDef<T> extends ɵDirectiveDef<T> {
10443
10450
  };
10444
10451
  /** Whether or not this component's ChangeDetectionStrategy is OnPush */
10445
10452
  readonly onPush: boolean;
10453
+ /** Whether or not this component is signal-based. */
10454
+ readonly signals: boolean;
10446
10455
  /**
10447
10456
  * Registry of directives and components that may be found in this view.
10448
10457
  *
@@ -10651,6 +10660,10 @@ export declare interface ɵDirectiveDef<T> {
10651
10660
  * Whether this directive (or component) is standalone.
10652
10661
  */
10653
10662
  readonly standalone: boolean;
10663
+ /**
10664
+ * Whether this directive (or component) uses the signals authoring experience.
10665
+ */
10666
+ readonly signals: boolean;
10654
10667
  /**
10655
10668
  * Factory function used to create a new directive instance. Will be null initially.
10656
10669
  * Populated when the factory is first requested by directive instantiation logic.
@@ -12457,7 +12470,7 @@ export declare type ɵɵComponentDeclaration<T, Selector extends String, ExportA
12457
12470
  };
12458
12471
  }, OutputMap extends {
12459
12472
  [key: string]: string;
12460
- }, QueryFields extends string[], NgContentSelectors extends string[], IsStandalone extends boolean = false, HostDirectives = never> = unknown;
12473
+ }, QueryFields extends string[], NgContentSelectors extends string[], IsStandalone extends boolean = false, HostDirectives = never, IsSignal extends boolean = false> = unknown;
12461
12474
 
12462
12475
  /**
12463
12476
  * Registers a QueryList, associated with a content query, for later refresh (part of a view
@@ -12635,7 +12648,7 @@ export declare type ɵɵDirectiveDeclaration<T, Selector extends string, ExportA
12635
12648
  };
12636
12649
  }, OutputMap extends {
12637
12650
  [key: string]: string;
12638
- }, QueryFields extends string[], NgContentSelectors extends never = never, IsStandalone extends boolean = false, HostDirectives = never> = unknown;
12651
+ }, QueryFields extends string[], NgContentSelectors extends never = never, IsStandalone extends boolean = false, HostDirectives = never, IsSignal extends boolean = false> = unknown;
12639
12652
 
12640
12653
  /**
12641
12654
  * Returns the value associated to the given token from the injectors.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/core",
3
- "version": "16.0.2",
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.0.2
2
+ * @license Angular v16.1.0-next.1
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */