@angular/core 17.1.0 → 17.2.0-next.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.
Files changed (32) hide show
  1. package/esm2022/src/authoring/queries.mjs +113 -0
  2. package/esm2022/src/compiler/compiler_facade_interface.mjs +1 -1
  3. package/esm2022/src/core_render3_private_export.mjs +2 -2
  4. package/esm2022/src/linker/compiler.mjs +1 -1
  5. package/esm2022/src/metadata/di.mjs +7 -7
  6. package/esm2022/src/render3/component_ref.mjs +1 -1
  7. package/esm2022/src/render3/index.mjs +2 -2
  8. package/esm2022/src/render3/instructions/queries.mjs +16 -1
  9. package/esm2022/src/render3/jit/directive.mjs +2 -1
  10. package/esm2022/src/render3/jit/environment.mjs +4 -1
  11. package/esm2022/src/render3/node_manipulation.mjs +2 -5
  12. package/esm2022/src/render3/util/global_utils.mjs +3 -1
  13. package/esm2022/src/version.mjs +1 -1
  14. package/esm2022/testing/src/logger.mjs +3 -3
  15. package/fesm2022/core.mjs +30 -13
  16. package/fesm2022/core.mjs.map +1 -1
  17. package/fesm2022/primitives/signals.mjs +1 -1
  18. package/fesm2022/rxjs-interop.mjs +1 -1
  19. package/fesm2022/testing.mjs +1 -1
  20. package/index.d.ts +11 -6
  21. package/package.json +1 -1
  22. package/primitives/signals/index.d.ts +1 -1
  23. package/rxjs-interop/index.d.ts +1 -1
  24. package/schematics/migrations/block-template-entities/bundle.js +770 -710
  25. package/schematics/migrations/block-template-entities/bundle.js.map +4 -4
  26. package/schematics/migrations/compiler-options/bundle.js +13 -13
  27. package/schematics/migrations/transfer-state/bundle.js +13 -13
  28. package/schematics/ng-generate/control-flow-migration/bundle.js +779 -719
  29. package/schematics/ng-generate/control-flow-migration/bundle.js.map +4 -4
  30. package/schematics/ng-generate/standalone-migration/bundle.js +1833 -1584
  31. package/schematics/ng-generate/standalone-migration/bundle.js.map +4 -4
  32. package/testing/index.d.ts +1 -1
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v17.1.0
2
+ * @license Angular v17.2.0-next.0
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.1.0
2
+ * @license Angular v17.2.0-next.0
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.1.0
2
+ * @license Angular v17.2.0-next.0
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.1.0
2
+ * @license Angular v17.2.0-next.0
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1221,9 +1221,6 @@ export declare abstract class CompilerFactory {
1221
1221
  /**
1222
1222
  * Options for creating a compiler.
1223
1223
  *
1224
- * Note: the `useJit` and `missingTranslation` config options are not used in Ivy, passing them has
1225
- * no effect. Those config options are deprecated since v13.
1226
- *
1227
1224
  * @publicApi
1228
1225
  */
1229
1226
  export declare type CompilerOptions = {
@@ -4203,6 +4200,7 @@ declare const globalUtilsFunctions: {
4203
4200
  getRootComponents: typeof getRootComponents;
4204
4201
  getDirectives: typeof ɵgetDirectives;
4205
4202
  applyChanges: typeof applyChanges;
4203
+ isSignal: typeof isSignal;
4206
4204
  };
4207
4205
 
4208
4206
  /**
@@ -7928,6 +7926,7 @@ declare interface R3DeclareQueryMetadataFacade {
7928
7926
  read?: OpaqueValue;
7929
7927
  static?: boolean;
7930
7928
  emitDistinctChangesOnly?: boolean;
7929
+ isSignal?: boolean;
7931
7930
  }
7932
7931
 
7933
7932
  declare type R3DeclareTemplateDependencyFacade = {
@@ -13967,7 +13966,9 @@ export declare function ɵɵconditional<T>(containerIndex: number, matchingTempl
13967
13966
  *
13968
13967
  * @codeGenApi
13969
13968
  */
13970
- export declare function ɵɵcontentQuery<T>(directiveIndex: number, predicate: ProviderToken<unknown> | string[], flags: QueryFlags, read?: any): void;
13969
+ export declare function ɵɵcontentQuery<T>(directiveIndex: number, predicate: ProviderToken<unknown> | string | string[], flags: QueryFlags, read?: any): void;
13970
+
13971
+ export declare function ɵɵcontentQuerySignal(): void;
13971
13972
 
13972
13973
  /**
13973
13974
  * Copies the fields not handled by the `ɵɵInheritDefinitionFeature` from the supertype of a
@@ -15619,6 +15620,8 @@ export declare function ɵɵpureFunction8(slotOffset: number, pureFn: (v1: any,
15619
15620
  */
15620
15621
  export declare function ɵɵpureFunctionV(slotOffset: number, pureFn: (...v: any[]) => any, exps: any[], thisArg?: any): any;
15621
15622
 
15623
+ export declare function ɵɵqueryAdvance(_count?: number): void;
15624
+
15622
15625
  /**
15623
15626
  * Refreshes a query by combining matches from all active views and removing matches from deleted
15624
15627
  * views.
@@ -16881,6 +16884,8 @@ export declare function ɵɵvalidateIframeAttribute(attrValue: any, tagName: str
16881
16884
  *
16882
16885
  * @codeGenApi
16883
16886
  */
16884
- export declare function ɵɵviewQuery<T>(predicate: ProviderToken<unknown> | string[], flags: QueryFlags, read?: any): void;
16887
+ export declare function ɵɵviewQuery<T>(predicate: ProviderToken<unknown> | string | string[], flags: QueryFlags, read?: any): void;
16888
+
16889
+ export declare function ɵɵviewQuerySignal(): void;
16885
16890
 
16886
16891
  export { }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/core",
3
- "version": "17.1.0",
3
+ "version": "17.2.0-next.0",
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.1.0
2
+ * @license Angular v17.2.0-next.0
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.1.0
2
+ * @license Angular v17.2.0-next.0
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */