@angular/core 17.2.0-rc.1 → 17.2.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.
Files changed (29) hide show
  1. package/esm2022/src/authoring/input/input_signal_node.mjs +1 -1
  2. package/esm2022/src/authoring/model/model.mjs +2 -2
  3. package/esm2022/src/authoring/model/model_signal.mjs +7 -10
  4. package/esm2022/src/defer/instructions.mjs +5 -4
  5. package/esm2022/src/render3/component_ref.mjs +1 -1
  6. package/esm2022/src/render3/instructions/listener.mjs +10 -5
  7. package/esm2022/src/render3/node_manipulation.mjs +2 -2
  8. package/esm2022/src/render3/query.mjs +2 -2
  9. package/esm2022/src/render3/query_reactive.mjs +14 -2
  10. package/esm2022/src/render3/reactivity/signal.mjs +2 -3
  11. package/esm2022/src/version.mjs +1 -1
  12. package/esm2022/testing/src/logger.mjs +3 -3
  13. package/fesm2022/core.mjs +39 -38
  14. package/fesm2022/core.mjs.map +1 -1
  15. package/fesm2022/primitives/signals.mjs +1 -1
  16. package/fesm2022/rxjs-interop.mjs +1 -1
  17. package/fesm2022/testing.mjs +1 -1
  18. package/index.d.ts +4 -17
  19. package/package.json +1 -1
  20. package/primitives/signals/index.d.ts +1 -1
  21. package/rxjs-interop/index.d.ts +1 -1
  22. package/schematics/migrations/block-template-entities/bundle.js +1 -1
  23. package/schematics/migrations/block-template-entities/bundle.js.map +1 -1
  24. package/schematics/ng-generate/control-flow-migration/bundle.js +1 -1
  25. package/schematics/ng-generate/control-flow-migration/bundle.js.map +1 -1
  26. package/schematics/ng-generate/standalone-migration/bundle.js +26 -13
  27. package/schematics/ng-generate/standalone-migration/bundle.js.map +3 -3
  28. package/testing/index.d.ts +1 -1
  29. package/esm2022/src/authoring/model/model_signal_node.mjs +0 -21
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v17.2.0-rc.1
2
+ * @license Angular v17.2.1
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v17.2.0-rc.1
2
+ * @license Angular v17.2.1
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v17.2.0-rc.1
2
+ * @license Angular v17.2.1
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v17.2.0-rc.1
2
+ * @license Angular v17.2.1
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -5630,7 +5630,7 @@ export declare interface InputSignal<ReadT> extends InputSignalWithTransform<Rea
5630
5630
  * Reactive node type for an input signal. An input signal extends a signal.
5631
5631
  * There are special properties to enable transforms and required inputs.
5632
5632
  */
5633
- declare interface InputSignalNode<ReadT, WriteT> extends SignalNode<ReadT | typeof REQUIRED_UNSET_VALUE> {
5633
+ declare interface InputSignalNode<ReadT, WriteT> extends SignalNode<ReadT> {
5634
5634
  /**
5635
5635
  * User-configured transform that will run whenever a new value is applied
5636
5636
  * to the input signal node.
@@ -6732,22 +6732,11 @@ export declare interface ModelOptions {
6732
6732
  * @developerPreview
6733
6733
  */
6734
6734
  export declare interface ModelSignal<T> extends WritableSignal<T> {
6735
- [SIGNAL]: ModelSignalNode<T>;
6735
+ [SIGNAL]: InputSignalNode<T, T>;
6736
6736
  [ɵINPUT_SIGNAL_BRAND_READ_TYPE]: T;
6737
6737
  [ɵINPUT_SIGNAL_BRAND_WRITE_TYPE]: T;
6738
6738
  /** @deprecated Do not use, will be removed. */
6739
- subscribe(callback: (value: T) => void): {
6740
- unsubscribe: () => void;
6741
- };
6742
- }
6743
-
6744
- /**
6745
- * Reactive node type for a model signal. Model signals extend
6746
- * signals by adding the ability to track subscriptions and to be required.
6747
- */
6748
- declare interface ModelSignalNode<T> extends SignalNode<T> {
6749
- /** Used by the runtime to write a value to the signal input. */
6750
- applyValueToInputSignal: (node: ModelSignalNode<T>, value: T) => void;
6739
+ subscribe(callback: (value: T) => void): () => void;
6751
6740
  }
6752
6741
 
6753
6742
  /**
@@ -8602,8 +8591,6 @@ export declare interface RendererType2 {
8602
8591
  };
8603
8592
  }
8604
8593
 
8605
- declare const REQUIRED_UNSET_VALUE: unique symbol;
8606
-
8607
8594
  /**
8608
8595
  * Lazily retrieves the reference value from a forwardRef.
8609
8596
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/core",
3
- "version": "17.2.0-rc.1",
3
+ "version": "17.2.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 v17.2.0-rc.1
2
+ * @license Angular v17.2.1
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v17.2.0-rc.1
2
+ * @license Angular v17.2.1
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -26061,7 +26061,7 @@ function publishFacade(global) {
26061
26061
  }
26062
26062
 
26063
26063
  // bazel-out/k8-fastbuild/bin/packages/compiler/src/version.mjs
26064
- var VERSION2 = new Version("17.2.0-rc.1");
26064
+ var VERSION2 = new Version("17.2.1");
26065
26065
 
26066
26066
  // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
26067
26067
  var _VisitorMode;