@angular/compiler 17.0.0-next.5 → 17.0.0-next.6

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 (47) hide show
  1. package/esm2022/src/compiler.mjs +1 -1
  2. package/esm2022/src/i18n/extractor_merger.mjs +1 -4
  3. package/esm2022/src/i18n/i18n_parser.mjs +1 -6
  4. package/esm2022/src/i18n/serializers/xliff.mjs +1 -3
  5. package/esm2022/src/i18n/serializers/xliff2.mjs +1 -3
  6. package/esm2022/src/i18n/serializers/xtb.mjs +1 -3
  7. package/esm2022/src/jit_compiler_facade.mjs +33 -7
  8. package/esm2022/src/ml_parser/ast.mjs +1 -17
  9. package/esm2022/src/ml_parser/html_whitespaces.mjs +2 -5
  10. package/esm2022/src/ml_parser/icu_ast_expander.mjs +2 -5
  11. package/esm2022/src/ml_parser/lexer.mjs +59 -49
  12. package/esm2022/src/ml_parser/parser.mjs +26 -71
  13. package/esm2022/src/ml_parser/tokens.mjs +1 -1
  14. package/esm2022/src/render3/partial/class_metadata.mjs +1 -1
  15. package/esm2022/src/render3/partial/component.mjs +5 -2
  16. package/esm2022/src/render3/partial/directive.mjs +1 -1
  17. package/esm2022/src/render3/partial/factory.mjs +1 -1
  18. package/esm2022/src/render3/partial/injectable.mjs +1 -1
  19. package/esm2022/src/render3/partial/injector.mjs +1 -1
  20. package/esm2022/src/render3/partial/ng_module.mjs +1 -1
  21. package/esm2022/src/render3/partial/pipe.mjs +1 -1
  22. package/esm2022/src/render3/r3_ast.mjs +1 -1
  23. package/esm2022/src/render3/r3_class_metadata_compiler.mjs +14 -16
  24. package/esm2022/src/render3/r3_control_flow.mjs +101 -88
  25. package/esm2022/src/render3/r3_deferred_blocks.mjs +37 -39
  26. package/esm2022/src/render3/r3_deferred_triggers.mjs +30 -22
  27. package/esm2022/src/render3/r3_template_transform.mjs +73 -31
  28. package/esm2022/src/render3/view/api.mjs +1 -1
  29. package/esm2022/src/render3/view/compiler.mjs +14 -6
  30. package/esm2022/src/render3/view/i18n/meta.mjs +1 -5
  31. package/esm2022/src/render3/view/t2_api.mjs +1 -1
  32. package/esm2022/src/render3/view/t2_binder.mjs +9 -4
  33. package/esm2022/src/render3/view/template.mjs +62 -38
  34. package/esm2022/src/template/pipeline/ir/src/expression.mjs +4 -4
  35. package/esm2022/src/template/pipeline/ir/src/ops/create.mjs +3 -2
  36. package/esm2022/src/template/pipeline/src/ingest.mjs +76 -40
  37. package/esm2022/src/template/pipeline/src/instruction.mjs +25 -25
  38. package/esm2022/src/template/pipeline/src/phases/i18n_message_extraction.mjs +3 -2
  39. package/esm2022/src/template/pipeline/src/phases/no_listeners_on_templates.mjs +1 -5
  40. package/esm2022/src/template/pipeline/src/phases/reify.mjs +13 -13
  41. package/esm2022/src/version.mjs +1 -1
  42. package/fesm2022/compiler.mjs +3058 -2974
  43. package/fesm2022/compiler.mjs.map +1 -1
  44. package/fesm2022/testing.mjs +1 -1
  45. package/index.d.ts +108 -110
  46. package/package.json +2 -2
  47. package/testing/index.d.ts +1 -1
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v17.0.0-next.5
2
+ * @license Angular v17.0.0-next.6
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.0.0-next.5
2
+ * @license Angular v17.0.0-next.6
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -297,7 +297,7 @@ declare const enum AttributeMarker {
297
297
  }
298
298
 
299
299
  declare interface AttributeValueInterpolationToken extends TokenBase {
300
- type: TokenType_2.ATTR_VALUE_INTERPOLATION;
300
+ type: LexerTokenType.ATTR_VALUE_INTERPOLATION;
301
301
  parts: [startMarker: string, expression: string, endMarker: string] | [
302
302
  startMarker: string,
303
303
  expression: string
@@ -305,7 +305,7 @@ declare interface AttributeValueInterpolationToken extends TokenBase {
305
305
  }
306
306
 
307
307
  declare interface AttributeValueTextToken extends TokenBase {
308
- type: TokenType_2.ATTR_VALUE_TEXT;
308
+ type: LexerTokenType.ATTR_VALUE_TEXT;
309
309
  parts: [value: string];
310
310
  }
311
311
 
@@ -448,15 +448,6 @@ export declare class Block implements BaseNode {
448
448
  visit(visitor: Visitor, context: any): any;
449
449
  }
450
450
 
451
- export declare class BlockGroup implements BaseNode {
452
- blocks: Block[];
453
- sourceSpan: ParseSourceSpan;
454
- startSourceSpan: ParseSourceSpan;
455
- endSourceSpan: ParseSourceSpan | null;
456
- constructor(blocks: Block[], sourceSpan: ParseSourceSpan, startSourceSpan: ParseSourceSpan, endSourceSpan?: ParseSourceSpan | null);
457
- visit(visitor: Visitor, context: any): any;
458
- }
459
-
460
451
  export declare class BlockParameter implements BaseNode {
461
452
  expression: string;
462
453
  sourceSpan: ParseSourceSpan;
@@ -538,26 +529,26 @@ export declare interface BoundTarget<DirectiveT extends DirectiveMeta> {
538
529
  getEntitiesInScope(node: ScopedNode | null): ReadonlySet<TmplAstReference | TmplAstVariable>;
539
530
  /**
540
531
  * Get a list of all the directives used by the target,
541
- * including directives from `{#defer}` blocks.
532
+ * including directives from `@defer` blocks.
542
533
  */
543
534
  getUsedDirectives(): DirectiveT[];
544
535
  /**
545
536
  * Get a list of eagerly used directives from the target.
546
- * Note: this list *excludes* directives from `{#defer}` blocks.
537
+ * Note: this list *excludes* directives from `@defer` blocks.
547
538
  */
548
539
  getEagerlyUsedDirectives(): DirectiveT[];
549
540
  /**
550
541
  * Get a list of all the pipes used by the target,
551
- * including pipes from `{#defer}` blocks.
542
+ * including pipes from `@defer` blocks.
552
543
  */
553
544
  getUsedPipes(): string[];
554
545
  /**
555
546
  * Get a list of eagerly used pipes from the target.
556
- * Note: this list *excludes* pipes from `{#defer}` blocks.
547
+ * Note: this list *excludes* pipes from `@defer` blocks.
557
548
  */
558
549
  getEagerlyUsedPipes(): string[];
559
550
  /**
560
- * Get a list of all {#defer} blocks used by the target.
551
+ * Get a list of all `@defer` blocks used by the target.
561
552
  */
562
553
  getDeferBlocks(): TmplAstDeferredBlock[];
563
554
  /**
@@ -652,16 +643,14 @@ export declare type CompileClassMetadataFn = (metadata: R3ClassMetadata) => outp
652
643
 
653
644
  /**
654
645
  * Wraps the `setClassMetadata` function with extra logic that dynamically
655
- * loads dependencies from `{#defer}` blocks.
646
+ * loads dependencies from `@defer` blocks.
656
647
  *
657
648
  * Generates a call like this:
658
649
  * ```
659
- * setClassMetadataAsync(type, () => {
660
- * return [
661
- * import('./cmp-a').then(m => m.CmpA);
662
- * import('./cmp-b').then(m => m.CmpB);
663
- * ];
664
- * }, (CmpA, CmpB) => {
650
+ * setClassMetadataAsync(type, () => [
651
+ * import('./cmp-a').then(m => m.CmpA);
652
+ * import('./cmp-b').then(m => m.CmpB);
653
+ * ], (CmpA, CmpB) => {
665
654
  * setClassMetadata(type, decorators, ctorParameters, propParameters);
666
655
  * });
667
656
  * ```
@@ -995,38 +984,6 @@ export declare class DeclareVarStmt extends Statement {
995
984
 
996
985
  export declare const DEFAULT_INTERPOLATION_CONFIG: InterpolationConfig;
997
986
 
998
- /**
999
- * Describes a dependency used within a `{#defer}` block.
1000
- */
1001
- export declare interface DeferBlockTemplateDependency {
1002
- /**
1003
- * Reference to a dependency.
1004
- */
1005
- type: outputAst.WrappedNodeExpr<unknown>;
1006
- /**
1007
- * Dependency class name.
1008
- */
1009
- symbolName: string;
1010
- /**
1011
- * Whether this dependency can be defer-loaded.
1012
- */
1013
- isDeferrable: boolean;
1014
- /**
1015
- * Import path where this dependency is located.
1016
- */
1017
- importPath: string | null;
1018
- }
1019
-
1020
- declare interface DeferredBlockTriggers {
1021
- when?: TmplAstBoundDeferredTrigger;
1022
- idle?: TmplAstIdleDeferredTrigger;
1023
- immediate?: TmplAstImmediateDeferredTrigger;
1024
- hover?: TmplAstHoverDeferredTrigger;
1025
- timer?: TmplAstTimerDeferredTrigger;
1026
- interaction?: TmplAstInteractionDeferredTrigger;
1027
- viewport?: TmplAstViewportDeferredTrigger;
1028
- }
1029
-
1030
987
  export declare function devOnlyGuardedExpression(expr: outputAst.Expression): outputAst.Expression;
1031
988
 
1032
989
  /**
@@ -1180,7 +1137,7 @@ export declare class EmptyExpr extends AST {
1180
1137
  }
1181
1138
 
1182
1139
  declare interface EncodedEntityToken extends TokenBase {
1183
- type: TokenType_2.ENCODED_ENTITY;
1140
+ type: LexerTokenType.ENCODED_ENTITY;
1184
1141
  parts: [decoded: string, encoded: string];
1185
1142
  }
1186
1143
 
@@ -1422,7 +1379,6 @@ declare namespace html {
1422
1379
  Attribute,
1423
1380
  Element_2 as Element,
1424
1381
  Comment_2 as Comment,
1425
- BlockGroup,
1426
1382
  Block,
1427
1383
  BlockParameter,
1428
1384
  Visitor,
@@ -1623,7 +1579,7 @@ export declare interface InterpolationPiece {
1623
1579
  }
1624
1580
 
1625
1581
  declare interface InterpolationToken extends TokenBase {
1626
- type: TokenType_2.INTERPOLATION;
1582
+ type: LexerTokenType.INTERPOLATION;
1627
1583
  parts: [startMarker: string, expression: string, endMarker: string] | [
1628
1584
  startMarker: string,
1629
1585
  expression: string
@@ -1753,6 +1709,38 @@ export declare interface LexerRange {
1753
1709
  endPos: number;
1754
1710
  }
1755
1711
 
1712
+ export declare const enum LexerTokenType {
1713
+ TAG_OPEN_START = 0,
1714
+ TAG_OPEN_END = 1,
1715
+ TAG_OPEN_END_VOID = 2,
1716
+ TAG_CLOSE = 3,
1717
+ INCOMPLETE_TAG_OPEN = 4,
1718
+ TEXT = 5,
1719
+ ESCAPABLE_RAW_TEXT = 6,
1720
+ RAW_TEXT = 7,
1721
+ INTERPOLATION = 8,
1722
+ ENCODED_ENTITY = 9,
1723
+ COMMENT_START = 10,
1724
+ COMMENT_END = 11,
1725
+ CDATA_START = 12,
1726
+ CDATA_END = 13,
1727
+ ATTR_NAME = 14,
1728
+ ATTR_QUOTE = 15,
1729
+ ATTR_VALUE_TEXT = 16,
1730
+ ATTR_VALUE_INTERPOLATION = 17,
1731
+ DOC_TYPE = 18,
1732
+ EXPANSION_FORM_START = 19,
1733
+ EXPANSION_CASE_VALUE = 20,
1734
+ EXPANSION_CASE_EXP_START = 21,
1735
+ EXPANSION_CASE_EXP_END = 22,
1736
+ EXPANSION_FORM_END = 23,
1737
+ BLOCK_OPEN_START = 24,
1738
+ BLOCK_OPEN_END = 25,
1739
+ BLOCK_CLOSE = 26,
1740
+ BLOCK_PARAMETER = 27,
1741
+ EOF = 28
1742
+ }
1743
+
1756
1744
  declare function literal(value: any, type?: Type | null, sourceSpan?: ParseSourceSpan | null): LiteralExpr;
1757
1745
 
1758
1746
  declare function literalArr(values: Expression[], type?: Type | null, sourceSpan?: ParseSourceSpan | null): LiteralArrayExpr;
@@ -1990,7 +1978,7 @@ declare enum MissingTranslationStrategy {
1990
1978
 
1991
1979
  export declare const NO_ERRORS_SCHEMA: SchemaMetadata;
1992
1980
 
1993
- declare type Node_2 = Attribute | Comment_2 | Element_2 | Expansion | ExpansionCase | Text_2 | BlockGroup | Block | BlockParameter;
1981
+ declare type Node_2 = Attribute | Comment_2 | Element_2 | Expansion | ExpansionCase | Text_2 | Block | BlockParameter;
1994
1982
  export { Node_2 as Node }
1995
1983
 
1996
1984
  declare interface Node_3 {
@@ -2725,7 +2713,7 @@ export declare interface ParseTemplateOptions {
2725
2713
  collectCommentNodes?: boolean;
2726
2714
  /**
2727
2715
  * Names of the blocks that should be enabled. E.g. `enabledBlockTypes: new Set(['defer'])`
2728
- * would allow usages of `{#defer}{/defer}` in templates.
2716
+ * would allow usages of `@defer {}` in templates.
2729
2717
  */
2730
2718
  enabledBlockTypes?: Set<string>;
2731
2719
  }
@@ -2902,9 +2890,9 @@ export declare interface R3ComponentMetadata<DeclarationT extends R3TemplateDepe
2902
2890
  */
2903
2891
  deferrableDeclToImportDecl: Map<outputAst.Expression, outputAst.Expression>;
2904
2892
  /**
2905
- * Map of {#defer} blocks -> their corresponding dependencies.
2893
+ * Map of `@defer` blocks -> their corresponding metadata.
2906
2894
  */
2907
- deferBlocks: Map<t.DeferredBlock, Array<DeferBlockTemplateDependency>>;
2895
+ deferBlocks: Map<t.DeferredBlock, R3DeferBlockMetadata>;
2908
2896
  /**
2909
2897
  * Specifies how the 'directives' and/or `pipes` array, if generated, need to be emitted.
2910
2898
  */
@@ -2947,8 +2935,12 @@ export declare interface R3ComponentMetadata<DeclarationT extends R3TemplateDepe
2947
2935
  interpolation: InterpolationConfig;
2948
2936
  /**
2949
2937
  * Strategy used for detecting changes in the component.
2938
+ *
2939
+ * In global compilation mode the value is ChangeDetectionStrategy if available as it is
2940
+ * statically resolved during analysis phase. Whereas in local compilation mode the value is the
2941
+ * expression as appears in the decorator.
2950
2942
  */
2951
- changeDetection?: ChangeDetectionStrategy;
2943
+ changeDetection: ChangeDetectionStrategy | outputAst.Expression | null;
2952
2944
  /**
2953
2945
  * The imports expression as appears on the component decorate for standalone component. This
2954
2946
  * field is currently needed only for local compilation, and so in other compilation modes it may
@@ -3453,6 +3445,38 @@ export declare interface R3DeclareQueryMetadata {
3453
3445
 
3454
3446
  export declare type R3DeclareTemplateDependencyMetadata = R3DeclareDirectiveDependencyMetadata | R3DeclarePipeDependencyMetadata | R3DeclareNgModuleDependencyMetadata;
3455
3447
 
3448
+ /**
3449
+ * Information necessary to compile a `defer` block.
3450
+ */
3451
+ export declare interface R3DeferBlockMetadata {
3452
+ /** Dependencies used within the block. */
3453
+ deps: R3DeferBlockTemplateDependency[];
3454
+ /** Mapping between triggers and the DOM nodes they refer to. */
3455
+ triggerElements: Map<t.DeferredTrigger, t.Element | null>;
3456
+ }
3457
+
3458
+ /**
3459
+ * Describes a dependency used within a `@defer` block.
3460
+ */
3461
+ export declare interface R3DeferBlockTemplateDependency {
3462
+ /**
3463
+ * Reference to a dependency.
3464
+ */
3465
+ type: outputAst.WrappedNodeExpr<unknown>;
3466
+ /**
3467
+ * Dependency class name.
3468
+ */
3469
+ symbolName: string;
3470
+ /**
3471
+ * Whether this dependency can be defer-loaded.
3472
+ */
3473
+ isDeferrable: boolean;
3474
+ /**
3475
+ * Import path where this dependency is located.
3476
+ */
3477
+ importPath: string | null;
3478
+ }
3479
+
3456
3480
  declare interface R3DelegatedFnOrClassMetadata extends R3ConstructorFactoryMetadata {
3457
3481
  delegate: outputAst.Expression;
3458
3482
  delegateType: R3FactoryDelegateType;
@@ -4308,7 +4332,6 @@ export declare class RecursiveVisitor implements Visitor {
4308
4332
  visitComment(ast: Comment_2, context: any): any;
4309
4333
  visitExpansion(ast: Expansion, context: any): any;
4310
4334
  visitExpansionCase(ast: ExpansionCase, context: any): any;
4311
- visitBlockGroup(ast: BlockGroup, context: any): any;
4312
4335
  visitBlock(block: Block, context: any): any;
4313
4336
  visitBlockParameter(ast: BlockParameter, context: any): any;
4314
4337
  private visitChildren;
@@ -4558,7 +4581,7 @@ declare namespace t {
4558
4581
  TmplAstDeferredBlockPlaceholder as DeferredBlockPlaceholder,
4559
4582
  TmplAstDeferredBlockLoading as DeferredBlockLoading,
4560
4583
  TmplAstDeferredBlockError as DeferredBlockError,
4561
- DeferredBlockTriggers,
4584
+ TmplAstDeferredBlockTriggers as DeferredBlockTriggers,
4562
4585
  TmplAstDeferredBlock as DeferredBlock,
4563
4586
  TmplAstSwitchBlock as SwitchBlock,
4564
4587
  TmplAstSwitchBlockCase as SwitchBlockCase,
@@ -4706,7 +4729,7 @@ declare class Text_3 implements Node_3 {
4706
4729
  }
4707
4730
 
4708
4731
  declare interface TextToken extends TokenBase {
4709
- type: TokenType_2.TEXT | TokenType_2.ESCAPABLE_RAW_TEXT | TokenType_2.RAW_TEXT;
4732
+ type: LexerTokenType.TEXT | LexerTokenType.ESCAPABLE_RAW_TEXT | LexerTokenType.RAW_TEXT;
4710
4733
  parts: [text: string];
4711
4734
  }
4712
4735
 
@@ -4782,11 +4805,11 @@ export declare class TmplAstDeferredBlock implements TmplAstNode {
4782
4805
  sourceSpan: ParseSourceSpan;
4783
4806
  startSourceSpan: ParseSourceSpan;
4784
4807
  endSourceSpan: ParseSourceSpan | null;
4785
- readonly triggers: Readonly<DeferredBlockTriggers>;
4786
- readonly prefetchTriggers: Readonly<DeferredBlockTriggers>;
4808
+ readonly triggers: Readonly<TmplAstDeferredBlockTriggers>;
4809
+ readonly prefetchTriggers: Readonly<TmplAstDeferredBlockTriggers>;
4787
4810
  private readonly definedTriggers;
4788
4811
  private readonly definedPrefetchTriggers;
4789
- constructor(children: TmplAstNode[], triggers: DeferredBlockTriggers, prefetchTriggers: DeferredBlockTriggers, placeholder: TmplAstDeferredBlockPlaceholder | null, loading: TmplAstDeferredBlockLoading | null, error: TmplAstDeferredBlockError | null, sourceSpan: ParseSourceSpan, startSourceSpan: ParseSourceSpan, endSourceSpan: ParseSourceSpan | null);
4812
+ constructor(children: TmplAstNode[], triggers: TmplAstDeferredBlockTriggers, prefetchTriggers: TmplAstDeferredBlockTriggers, placeholder: TmplAstDeferredBlockPlaceholder | null, loading: TmplAstDeferredBlockLoading | null, error: TmplAstDeferredBlockError | null, sourceSpan: ParseSourceSpan, startSourceSpan: ParseSourceSpan, endSourceSpan: ParseSourceSpan | null);
4790
4813
  visit<Result>(visitor: Visitor_3<Result>): Result;
4791
4814
  visitAll(visitor: Visitor_3<unknown>): void;
4792
4815
  private visitTriggers;
@@ -4822,6 +4845,16 @@ export declare class TmplAstDeferredBlockPlaceholder implements TmplAstNode {
4822
4845
  visit<Result>(visitor: Visitor_3<Result>): Result;
4823
4846
  }
4824
4847
 
4848
+ export declare interface TmplAstDeferredBlockTriggers {
4849
+ when?: TmplAstBoundDeferredTrigger;
4850
+ idle?: TmplAstIdleDeferredTrigger;
4851
+ immediate?: TmplAstImmediateDeferredTrigger;
4852
+ hover?: TmplAstHoverDeferredTrigger;
4853
+ timer?: TmplAstTimerDeferredTrigger;
4854
+ interaction?: TmplAstInteractionDeferredTrigger;
4855
+ viewport?: TmplAstViewportDeferredTrigger;
4856
+ }
4857
+
4825
4858
  export declare abstract class TmplAstDeferredTrigger implements TmplAstNode {
4826
4859
  sourceSpan: ParseSourceSpan;
4827
4860
  constructor(sourceSpan: ParseSourceSpan);
@@ -4866,8 +4899,8 @@ export declare class TmplAstForLoopBlockEmpty implements TmplAstNode {
4866
4899
  }
4867
4900
 
4868
4901
  export declare class TmplAstHoverDeferredTrigger extends TmplAstDeferredTrigger {
4869
- reference: string;
4870
- constructor(reference: string, sourceSpan: ParseSourceSpan);
4902
+ reference: string | null;
4903
+ constructor(reference: string | null, sourceSpan: ParseSourceSpan);
4871
4904
  }
4872
4905
 
4873
4906
  export declare class TmplAstIcu implements TmplAstNode {
@@ -4913,8 +4946,8 @@ export declare class TmplAstImmediateDeferredTrigger extends TmplAstDeferredTrig
4913
4946
  }
4914
4947
 
4915
4948
  export declare class TmplAstInteractionDeferredTrigger extends TmplAstDeferredTrigger {
4916
- reference: string;
4917
- constructor(reference: string, sourceSpan: ParseSourceSpan);
4949
+ reference: string | null;
4950
+ constructor(reference: string | null, sourceSpan: ParseSourceSpan);
4918
4951
  }
4919
4952
 
4920
4953
  export declare interface TmplAstNode {
@@ -5064,7 +5097,7 @@ export declare class Token {
5064
5097
  }
5065
5098
 
5066
5099
  declare interface TokenBase {
5067
- type: TokenType_2;
5100
+ type: LexerTokenType;
5068
5101
  parts: string[];
5069
5102
  sourceSpan: ParseSourceSpan;
5070
5103
  }
@@ -5143,40 +5176,6 @@ export declare enum TokenType {
5143
5176
  Error = 7
5144
5177
  }
5145
5178
 
5146
- declare const enum TokenType_2 {
5147
- TAG_OPEN_START = 0,
5148
- TAG_OPEN_END = 1,
5149
- TAG_OPEN_END_VOID = 2,
5150
- TAG_CLOSE = 3,
5151
- INCOMPLETE_TAG_OPEN = 4,
5152
- TEXT = 5,
5153
- ESCAPABLE_RAW_TEXT = 6,
5154
- RAW_TEXT = 7,
5155
- INTERPOLATION = 8,
5156
- ENCODED_ENTITY = 9,
5157
- COMMENT_START = 10,
5158
- COMMENT_END = 11,
5159
- CDATA_START = 12,
5160
- CDATA_END = 13,
5161
- ATTR_NAME = 14,
5162
- ATTR_QUOTE = 15,
5163
- ATTR_VALUE_TEXT = 16,
5164
- ATTR_VALUE_INTERPOLATION = 17,
5165
- DOC_TYPE = 18,
5166
- EXPANSION_FORM_START = 19,
5167
- EXPANSION_CASE_VALUE = 20,
5168
- EXPANSION_CASE_EXP_START = 21,
5169
- EXPANSION_CASE_EXP_END = 22,
5170
- EXPANSION_FORM_END = 23,
5171
- EOF = 24,
5172
- BLOCK_GROUP_OPEN_START = 25,
5173
- BLOCK_GROUP_OPEN_END = 26,
5174
- BLOCK_GROUP_CLOSE = 27,
5175
- BLOCK_PARAMETER = 28,
5176
- BLOCK_OPEN_START = 29,
5177
- BLOCK_OPEN_END = 30
5178
- }
5179
-
5180
5179
  export declare class TransplantedType<T> extends Type {
5181
5180
  readonly type: T;
5182
5181
  constructor(type: T, modifiers?: TypeModifier);
@@ -5327,7 +5326,6 @@ export declare interface Visitor {
5327
5326
  visitComment(comment: Comment_2, context: any): any;
5328
5327
  visitExpansion(expansion: Expansion, context: any): any;
5329
5328
  visitExpansionCase(expansionCase: ExpansionCase, context: any): any;
5330
- visitBlockGroup(group: BlockGroup, context: any): any;
5331
5329
  visitBlock(block: Block, context: any): any;
5332
5330
  visitBlockParameter(parameter: BlockParameter, context: any): any;
5333
5331
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/compiler",
3
- "version": "17.0.0-next.5",
3
+ "version": "17.0.0-next.6",
4
4
  "description": "Angular - the compiler library",
5
5
  "author": "angular",
6
6
  "license": "MIT",
@@ -11,7 +11,7 @@
11
11
  "tslib": "^2.3.0"
12
12
  },
13
13
  "peerDependencies": {
14
- "@angular/core": "17.0.0-next.5"
14
+ "@angular/core": "17.0.0-next.6"
15
15
  },
16
16
  "peerDependenciesMeta": {
17
17
  "@angular/core": {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v17.0.0-next.5
2
+ * @license Angular v17.0.0-next.6
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */