@angular/compiler 20.0.0-rc.0 → 20.0.0-rc.2

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v20.0.0-rc.0
2
+ * @license Angular v20.0.0-rc.2
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -415,13 +415,13 @@ class SelectorlessMatcher {
415
415
  // Stores the default value of `emitDistinctChangesOnly` when the `emitDistinctChangesOnly` is not
416
416
  // explicitly set.
417
417
  const emitDistinctChangesOnlyDefaultValue = true;
418
- var ViewEncapsulation;
418
+ var ViewEncapsulation$1;
419
419
  (function (ViewEncapsulation) {
420
420
  ViewEncapsulation[ViewEncapsulation["Emulated"] = 0] = "Emulated";
421
421
  // Historically the 1 value was for `Native` encapsulation which has been removed as of v11.
422
422
  ViewEncapsulation[ViewEncapsulation["None"] = 2] = "None";
423
423
  ViewEncapsulation[ViewEncapsulation["ShadowDom"] = 3] = "ShadowDom";
424
- })(ViewEncapsulation || (ViewEncapsulation = {}));
424
+ })(ViewEncapsulation$1 || (ViewEncapsulation$1 = {}));
425
425
  var ChangeDetectionStrategy;
426
426
  (function (ChangeDetectionStrategy) {
427
427
  ChangeDetectionStrategy[ChangeDetectionStrategy["OnPush"] = 0] = "OnPush";
@@ -504,11 +504,33 @@ var core = /*#__PURE__*/Object.freeze({
504
504
  NO_ERRORS_SCHEMA: NO_ERRORS_SCHEMA,
505
505
  get SecurityContext () { return SecurityContext; },
506
506
  Type: Type$1,
507
- get ViewEncapsulation () { return ViewEncapsulation; },
507
+ get ViewEncapsulation () { return ViewEncapsulation$1; },
508
508
  emitDistinctChangesOnlyDefaultValue: emitDistinctChangesOnlyDefaultValue,
509
509
  parseSelectorToR3Selector: parseSelectorToR3Selector
510
510
  });
511
511
 
512
+ var FactoryTarget;
513
+ (function (FactoryTarget) {
514
+ FactoryTarget[FactoryTarget["Directive"] = 0] = "Directive";
515
+ FactoryTarget[FactoryTarget["Component"] = 1] = "Component";
516
+ FactoryTarget[FactoryTarget["Injectable"] = 2] = "Injectable";
517
+ FactoryTarget[FactoryTarget["Pipe"] = 3] = "Pipe";
518
+ FactoryTarget[FactoryTarget["NgModule"] = 4] = "NgModule";
519
+ })(FactoryTarget || (FactoryTarget = {}));
520
+ var R3TemplateDependencyKind$1;
521
+ (function (R3TemplateDependencyKind) {
522
+ R3TemplateDependencyKind[R3TemplateDependencyKind["Directive"] = 0] = "Directive";
523
+ R3TemplateDependencyKind[R3TemplateDependencyKind["Pipe"] = 1] = "Pipe";
524
+ R3TemplateDependencyKind[R3TemplateDependencyKind["NgModule"] = 2] = "NgModule";
525
+ })(R3TemplateDependencyKind$1 || (R3TemplateDependencyKind$1 = {}));
526
+ var ViewEncapsulation;
527
+ (function (ViewEncapsulation) {
528
+ ViewEncapsulation[ViewEncapsulation["Emulated"] = 0] = "Emulated";
529
+ // Historically the 1 value was for `Native` encapsulation which has been removed as of v11.
530
+ ViewEncapsulation[ViewEncapsulation["None"] = 2] = "None";
531
+ ViewEncapsulation[ViewEncapsulation["ShadowDom"] = 3] = "ShadowDom";
532
+ })(ViewEncapsulation || (ViewEncapsulation = {}));
533
+
512
534
  /**
513
535
  * A lazily created TextEncoder instance for converting strings into UTF-8 bytes
514
536
  */
@@ -2682,42 +2704,6 @@ class Identifiers {
2682
2704
  moduleName: CORE,
2683
2705
  };
2684
2706
  static attribute = { name: 'ɵɵattribute', moduleName: CORE };
2685
- static attributeInterpolate1 = {
2686
- name: 'ɵɵattributeInterpolate1',
2687
- moduleName: CORE,
2688
- };
2689
- static attributeInterpolate2 = {
2690
- name: 'ɵɵattributeInterpolate2',
2691
- moduleName: CORE,
2692
- };
2693
- static attributeInterpolate3 = {
2694
- name: 'ɵɵattributeInterpolate3',
2695
- moduleName: CORE,
2696
- };
2697
- static attributeInterpolate4 = {
2698
- name: 'ɵɵattributeInterpolate4',
2699
- moduleName: CORE,
2700
- };
2701
- static attributeInterpolate5 = {
2702
- name: 'ɵɵattributeInterpolate5',
2703
- moduleName: CORE,
2704
- };
2705
- static attributeInterpolate6 = {
2706
- name: 'ɵɵattributeInterpolate6',
2707
- moduleName: CORE,
2708
- };
2709
- static attributeInterpolate7 = {
2710
- name: 'ɵɵattributeInterpolate7',
2711
- moduleName: CORE,
2712
- };
2713
- static attributeInterpolate8 = {
2714
- name: 'ɵɵattributeInterpolate8',
2715
- moduleName: CORE,
2716
- };
2717
- static attributeInterpolateV = {
2718
- name: 'ɵɵattributeInterpolateV',
2719
- moduleName: CORE,
2720
- };
2721
2707
  static classProp = { name: 'ɵɵclassProp', moduleName: CORE };
2722
2708
  static elementContainerStart = {
2723
2709
  name: 'ɵɵelementContainerStart',
@@ -2839,6 +2825,46 @@ class Identifiers {
2839
2825
  name: 'ɵɵstylePropInterpolateV',
2840
2826
  moduleName: CORE,
2841
2827
  };
2828
+ static interpolate = {
2829
+ name: 'ɵɵinterpolate',
2830
+ moduleName: CORE,
2831
+ };
2832
+ static interpolate1 = {
2833
+ name: 'ɵɵinterpolate1',
2834
+ moduleName: CORE,
2835
+ };
2836
+ static interpolate2 = {
2837
+ name: 'ɵɵinterpolate2',
2838
+ moduleName: CORE,
2839
+ };
2840
+ static interpolate3 = {
2841
+ name: 'ɵɵinterpolate3',
2842
+ moduleName: CORE,
2843
+ };
2844
+ static interpolate4 = {
2845
+ name: 'ɵɵinterpolate4',
2846
+ moduleName: CORE,
2847
+ };
2848
+ static interpolate5 = {
2849
+ name: 'ɵɵinterpolate5',
2850
+ moduleName: CORE,
2851
+ };
2852
+ static interpolate6 = {
2853
+ name: 'ɵɵinterpolate6',
2854
+ moduleName: CORE,
2855
+ };
2856
+ static interpolate7 = {
2857
+ name: 'ɵɵinterpolate7',
2858
+ moduleName: CORE,
2859
+ };
2860
+ static interpolate8 = {
2861
+ name: 'ɵɵinterpolate8',
2862
+ moduleName: CORE,
2863
+ };
2864
+ static interpolateV = {
2865
+ name: 'ɵɵinterpolateV',
2866
+ moduleName: CORE,
2867
+ };
2842
2868
  static nextContext = { name: 'ɵɵnextContext', moduleName: CORE };
2843
2869
  static resetView = { name: 'ɵɵresetView', moduleName: CORE };
2844
2870
  static templateCreate = { name: 'ɵɵtemplate', moduleName: CORE };
@@ -3017,6 +3043,10 @@ class Identifiers {
3017
3043
  static forwardRef = { name: 'forwardRef', moduleName: CORE };
3018
3044
  static resolveForwardRef = { name: 'resolveForwardRef', moduleName: CORE };
3019
3045
  static replaceMetadata = { name: 'ɵɵreplaceMetadata', moduleName: CORE };
3046
+ static getReplaceMetadataURL = {
3047
+ name: 'ɵɵgetReplaceMetadataURL',
3048
+ moduleName: CORE,
3049
+ };
3020
3050
  static ɵɵdefineInjectable = { name: 'ɵɵdefineInjectable', moduleName: CORE };
3021
3051
  static declareInjectable = { name: 'ɵɵngDeclareInjectable', moduleName: CORE };
3022
3052
  static InjectableDeclaration = {
@@ -3185,6 +3215,10 @@ function _splitAt(input, character, defaultValues) {
3185
3215
  function noUndefined(val) {
3186
3216
  return val === undefined ? null : val;
3187
3217
  }
3218
+ // Escape characters that have a special meaning in Regular Expressions
3219
+ function escapeRegExp(s) {
3220
+ return s.replace(/([.*+?^=!:${}()|[\]\/\\])/g, '\\$1');
3221
+ }
3188
3222
  function utf8Encode(str) {
3189
3223
  let encoded = [];
3190
3224
  for (let index = 0; index < str.length; index++) {
@@ -4035,14 +4069,6 @@ var R3FactoryDelegateType;
4035
4069
  R3FactoryDelegateType[R3FactoryDelegateType["Class"] = 0] = "Class";
4036
4070
  R3FactoryDelegateType[R3FactoryDelegateType["Function"] = 1] = "Function";
4037
4071
  })(R3FactoryDelegateType || (R3FactoryDelegateType = {}));
4038
- var FactoryTarget$1;
4039
- (function (FactoryTarget) {
4040
- FactoryTarget[FactoryTarget["Directive"] = 0] = "Directive";
4041
- FactoryTarget[FactoryTarget["Component"] = 1] = "Component";
4042
- FactoryTarget[FactoryTarget["Injectable"] = 2] = "Injectable";
4043
- FactoryTarget[FactoryTarget["Pipe"] = 3] = "Pipe";
4044
- FactoryTarget[FactoryTarget["NgModule"] = 4] = "NgModule";
4045
- })(FactoryTarget$1 || (FactoryTarget$1 = {}));
4046
4072
  /**
4047
4073
  * Construct a factory function expression for the given `R3FactoryMetadata`.
4048
4074
  */
@@ -4145,7 +4171,7 @@ function compileInjectDependency(dep, target, index) {
4145
4171
  (dep.skipSelf ? 4 /* InjectFlags.SkipSelf */ : 0) |
4146
4172
  (dep.host ? 1 /* InjectFlags.Host */ : 0) |
4147
4173
  (dep.optional ? 8 /* InjectFlags.Optional */ : 0) |
4148
- (target === FactoryTarget$1.Pipe ? 16 /* InjectFlags.ForPipe */ : 0);
4174
+ (target === FactoryTarget.Pipe ? 16 /* InjectFlags.ForPipe */ : 0);
4149
4175
  // If this dependency is optional or otherwise has non-default flags, then additional
4150
4176
  // parameters describing how to inject the dependency must be passed to the inject function
4151
4177
  // that's being used.
@@ -4215,12 +4241,12 @@ function isExpressionFactoryMetadata(meta) {
4215
4241
  }
4216
4242
  function getInjectFn(target) {
4217
4243
  switch (target) {
4218
- case FactoryTarget$1.Component:
4219
- case FactoryTarget$1.Directive:
4220
- case FactoryTarget$1.Pipe:
4244
+ case FactoryTarget.Component:
4245
+ case FactoryTarget.Directive:
4246
+ case FactoryTarget.Pipe:
4221
4247
  return Identifiers.directiveInject;
4222
- case FactoryTarget$1.NgModule:
4223
- case FactoryTarget$1.Injectable:
4248
+ case FactoryTarget.NgModule:
4249
+ case FactoryTarget.Injectable:
4224
4250
  default:
4225
4251
  return Identifiers.inject;
4226
4252
  }
@@ -6507,7 +6533,7 @@ function compileInjectable(meta, resolveForwardRefs) {
6507
6533
  type: meta.type,
6508
6534
  typeArgumentCount: meta.typeArgumentCount,
6509
6535
  deps: [],
6510
- target: FactoryTarget$1.Injectable,
6536
+ target: FactoryTarget.Injectable,
6511
6537
  };
6512
6538
  if (meta.useClass !== undefined) {
6513
6539
  // meta.useClass has two modes of operation. Either deps are specified, in which case `new` is
@@ -11754,7 +11780,23 @@ function assignI18nSlotDependencies(job) {
11754
11780
  i18nExpressionsInProgress.push(opToRemove);
11755
11781
  continue;
11756
11782
  }
11783
+ let hasDifferentTarget = false;
11757
11784
  if (hasDependsOnSlotContextTrait(updateOp) && updateOp.target !== createOp.xref) {
11785
+ hasDifferentTarget = true;
11786
+ }
11787
+ else if (
11788
+ // Some expressions may consume slots as well (e.g. `storeLet`).
11789
+ updateOp.kind === OpKind.Statement ||
11790
+ updateOp.kind === OpKind.Variable) {
11791
+ visitExpressionsInOp(updateOp, (expr) => {
11792
+ if (!hasDifferentTarget &&
11793
+ hasDependsOnSlotContextTrait(expr) &&
11794
+ expr.target !== createOp.xref) {
11795
+ hasDifferentTarget = true;
11796
+ }
11797
+ });
11798
+ }
11799
+ if (hasDifferentTarget) {
11758
11800
  break;
11759
11801
  }
11760
11802
  updateOp = updateOp.next;
@@ -23596,13 +23638,10 @@ function propertyInterpolate(name, strings, expressions, sanitizer, sourceSpan)
23596
23638
  }
23597
23639
  return callVariadicInstruction(PROPERTY_INTERPOLATE_CONFIG, [literal(name)], interpolationArgs, extraArgs, sourceSpan);
23598
23640
  }
23599
- function attributeInterpolate(name, strings, expressions, sanitizer, sourceSpan) {
23641
+ function attributeInterpolate(name, strings, expressions, sanitizer, namespace, sourceSpan) {
23600
23642
  const interpolationArgs = collateInterpolationArgs(strings, expressions);
23601
- const extraArgs = [];
23602
- if (sanitizer !== null) {
23603
- extraArgs.push(sanitizer);
23604
- }
23605
- return callVariadicInstruction(ATTRIBUTE_INTERPOLATE_CONFIG, [literal(name)], interpolationArgs, extraArgs, sourceSpan);
23643
+ const value = callVariadicInstructionExpr(VALUE_INTERPOLATE_CONFIG, [], interpolationArgs, [], sourceSpan);
23644
+ return attribute(name, value, sanitizer, namespace);
23606
23645
  }
23607
23646
  function stylePropInterpolate(name, strings, expressions, unit, sourceSpan) {
23608
23647
  const interpolationArgs = collateInterpolationArgs(strings, expressions);
@@ -23714,6 +23753,26 @@ const PROPERTY_INTERPOLATE_CONFIG = {
23714
23753
  return (n - 1) / 2;
23715
23754
  },
23716
23755
  };
23756
+ const VALUE_INTERPOLATE_CONFIG = {
23757
+ constant: [
23758
+ Identifiers.interpolate,
23759
+ Identifiers.interpolate1,
23760
+ Identifiers.interpolate2,
23761
+ Identifiers.interpolate3,
23762
+ Identifiers.interpolate4,
23763
+ Identifiers.interpolate5,
23764
+ Identifiers.interpolate6,
23765
+ Identifiers.interpolate7,
23766
+ Identifiers.interpolate8,
23767
+ ],
23768
+ variable: Identifiers.interpolateV,
23769
+ mapping: (n) => {
23770
+ if (n % 2 === 0) {
23771
+ throw new Error(`Expected odd number of arguments`);
23772
+ }
23773
+ return (n - 1) / 2;
23774
+ },
23775
+ };
23717
23776
  /**
23718
23777
  * `InterpolationConfig` for the `stylePropInterpolate` instruction.
23719
23778
  */
@@ -23737,29 +23796,6 @@ const STYLE_PROP_INTERPOLATE_CONFIG = {
23737
23796
  return (n - 1) / 2;
23738
23797
  },
23739
23798
  };
23740
- /**
23741
- * `InterpolationConfig` for the `attributeInterpolate` instruction.
23742
- */
23743
- const ATTRIBUTE_INTERPOLATE_CONFIG = {
23744
- constant: [
23745
- Identifiers.attribute,
23746
- Identifiers.attributeInterpolate1,
23747
- Identifiers.attributeInterpolate2,
23748
- Identifiers.attributeInterpolate3,
23749
- Identifiers.attributeInterpolate4,
23750
- Identifiers.attributeInterpolate5,
23751
- Identifiers.attributeInterpolate6,
23752
- Identifiers.attributeInterpolate7,
23753
- Identifiers.attributeInterpolate8,
23754
- ],
23755
- variable: Identifiers.attributeInterpolateV,
23756
- mapping: (n) => {
23757
- if (n % 2 === 0) {
23758
- throw new Error(`Expected odd number of arguments`);
23759
- }
23760
- return (n - 1) / 2;
23761
- },
23762
- };
23763
23799
  /**
23764
23800
  * `InterpolationConfig` for the `styleMapInterpolate` instruction.
23765
23801
  */
@@ -24158,7 +24194,7 @@ function reifyUpdateOperations(_unit, ops) {
24158
24194
  break;
24159
24195
  case OpKind.Attribute:
24160
24196
  if (op.expression instanceof Interpolation) {
24161
- OpList.replace(op, attributeInterpolate(op.name, op.expression.strings, op.expression.expressions, op.sanitizer, op.sourceSpan));
24197
+ OpList.replace(op, attributeInterpolate(op.name, op.expression.strings, op.expression.expressions, op.sanitizer, op.namespace, op.sourceSpan));
24162
24198
  }
24163
24199
  else {
24164
24200
  OpList.replace(op, attribute(op.name, op.expression, op.sanitizer, op.namespace));
@@ -25201,11 +25237,16 @@ function allocateSlots(job) {
25201
25237
  */
25202
25238
  function optimizeStoreLet(job) {
25203
25239
  const letUsedExternally = new Set();
25240
+ const declareLetOps = new Map();
25204
25241
  // Since `@let` declarations can be referenced in child views, both in
25205
25242
  // the creation block (via listeners) and in the update block, we have
25206
25243
  // to look through all the ops to find the references.
25207
25244
  for (const unit of job.units) {
25208
25245
  for (const op of unit.ops()) {
25246
+ // Take advantage that we're already looking through all the ops and track some more info.
25247
+ if (op.kind === OpKind.DeclareLet) {
25248
+ declareLetOps.set(op.xref, op);
25249
+ }
25209
25250
  visitExpressionsInOp(op, (expr) => {
25210
25251
  if (expr instanceof ContextLetReferenceExpr) {
25211
25252
  letUsedExternally.add(expr.target);
@@ -25213,15 +25254,35 @@ function optimizeStoreLet(job) {
25213
25254
  });
25214
25255
  }
25215
25256
  }
25216
- // TODO(crisbeto): potentially remove the unused calls completely, pending discussion.
25217
25257
  for (const unit of job.units) {
25218
25258
  for (const op of unit.update) {
25219
- transformExpressionsInOp(op, (expression) => expression instanceof StoreLetExpr && !letUsedExternally.has(expression.target)
25220
- ? expression.value
25221
- : expression, VisitorContextFlag.None);
25259
+ transformExpressionsInOp(op, (expr) => {
25260
+ // If a @let isn't used in other views, we don't have to store its value.
25261
+ if (expr instanceof StoreLetExpr && !letUsedExternally.has(expr.target)) {
25262
+ // Furthermore, if the @let isn't using pipes, we can also drop its declareLet op.
25263
+ // We need to keep the declareLet if there are pipes, because they can use DI which
25264
+ // requires the TNode created by declareLet.
25265
+ if (!hasPipe(expr)) {
25266
+ OpList.remove(declareLetOps.get(expr.target));
25267
+ }
25268
+ return expr.value;
25269
+ }
25270
+ return expr;
25271
+ }, VisitorContextFlag.None);
25222
25272
  }
25223
25273
  }
25224
25274
  }
25275
+ /** Determines if a `storeLet` expression contains a pipe. */
25276
+ function hasPipe(root) {
25277
+ let result = false;
25278
+ transformExpressionsInExpression(root, (expr) => {
25279
+ if (expr instanceof PipeBindingExpr || expr instanceof PipeBindingVariadicExpr) {
25280
+ result = true;
25281
+ }
25282
+ return expr;
25283
+ }, VisitorContextFlag.None);
25284
+ return result;
25285
+ }
25225
25286
 
25226
25287
  /**
25227
25288
  * In most cases we can drop user added parentheses from expressions. However, in some cases
@@ -26180,11 +26241,6 @@ const phases = [
26180
26241
  { kind: CompilationJobKind.Tmpl, fn: generateConditionalExpressions },
26181
26242
  { kind: CompilationJobKind.Tmpl, fn: createPipes },
26182
26243
  { kind: CompilationJobKind.Tmpl, fn: configureDeferInstructions },
26183
- { kind: CompilationJobKind.Tmpl, fn: convertI18nText },
26184
- { kind: CompilationJobKind.Tmpl, fn: convertI18nBindings },
26185
- { kind: CompilationJobKind.Tmpl, fn: removeUnusedI18nAttributesOps },
26186
- { kind: CompilationJobKind.Tmpl, fn: assignI18nSlotDependencies },
26187
- { kind: CompilationJobKind.Tmpl, fn: applyI18nExpressions },
26188
26244
  { kind: CompilationJobKind.Tmpl, fn: createVariadicPipes },
26189
26245
  { kind: CompilationJobKind.Both, fn: generatePureLiteralStructures },
26190
26246
  { kind: CompilationJobKind.Tmpl, fn: generateProjectionDefs },
@@ -26207,6 +26263,11 @@ const phases = [
26207
26263
  { kind: CompilationJobKind.Both, fn: generateTemporaryVariables },
26208
26264
  { kind: CompilationJobKind.Both, fn: optimizeVariables },
26209
26265
  { kind: CompilationJobKind.Both, fn: optimizeStoreLet },
26266
+ { kind: CompilationJobKind.Tmpl, fn: convertI18nText },
26267
+ { kind: CompilationJobKind.Tmpl, fn: convertI18nBindings },
26268
+ { kind: CompilationJobKind.Tmpl, fn: removeUnusedI18nAttributesOps },
26269
+ { kind: CompilationJobKind.Tmpl, fn: assignI18nSlotDependencies },
26270
+ { kind: CompilationJobKind.Tmpl, fn: applyI18nExpressions },
26210
26271
  { kind: CompilationJobKind.Tmpl, fn: allocateSlots },
26211
26272
  { kind: CompilationJobKind.Tmpl, fn: resolveI18nElementPlaceholders },
26212
26273
  { kind: CompilationJobKind.Tmpl, fn: resolveI18nExpressionPlaceholders },
@@ -30043,12 +30104,12 @@ function compileComponentFromMetadata(meta, constantPool, bindingParser) {
30043
30104
  definitionMap.set('dependencies', importExpr(Identifiers.getComponentDepsFactory).callFn(args));
30044
30105
  }
30045
30106
  if (meta.encapsulation === null) {
30046
- meta.encapsulation = ViewEncapsulation.Emulated;
30107
+ meta.encapsulation = ViewEncapsulation$1.Emulated;
30047
30108
  }
30048
30109
  let hasStyles = !!meta.externalStyles?.length;
30049
30110
  // e.g. `styles: [str1, str2]`
30050
30111
  if (meta.styles && meta.styles.length) {
30051
- const styleValues = meta.encapsulation == ViewEncapsulation.Emulated
30112
+ const styleValues = meta.encapsulation == ViewEncapsulation$1.Emulated
30052
30113
  ? compileStyles(meta.styles, CONTENT_ATTR, HOST_ATTR)
30053
30114
  : meta.styles;
30054
30115
  const styleNodes = styleValues.reduce((result, style) => {
@@ -30062,12 +30123,12 @@ function compileComponentFromMetadata(meta, constantPool, bindingParser) {
30062
30123
  definitionMap.set('styles', literalArr(styleNodes));
30063
30124
  }
30064
30125
  }
30065
- if (!hasStyles && meta.encapsulation === ViewEncapsulation.Emulated) {
30126
+ if (!hasStyles && meta.encapsulation === ViewEncapsulation$1.Emulated) {
30066
30127
  // If there is no style, don't generate css selectors on elements
30067
- meta.encapsulation = ViewEncapsulation.None;
30128
+ meta.encapsulation = ViewEncapsulation$1.None;
30068
30129
  }
30069
30130
  // Only set view encapsulation if it's not the default value
30070
- if (meta.encapsulation !== ViewEncapsulation.Emulated) {
30131
+ if (meta.encapsulation !== ViewEncapsulation$1.Emulated) {
30071
30132
  definitionMap.set('encapsulation', literal(meta.encapsulation));
30072
30133
  }
30073
30134
  // e.g. `animation: [trigger('123', [])]`
@@ -31436,7 +31497,7 @@ class ResourceLoader {
31436
31497
 
31437
31498
  class CompilerFacadeImpl {
31438
31499
  jitEvaluator;
31439
- FactoryTarget = FactoryTarget$1;
31500
+ FactoryTarget = FactoryTarget;
31440
31501
  ResourceLoader = ResourceLoader;
31441
31502
  elementSchemaRegistry = new DomElementSchemaRegistry();
31442
31503
  constructor(jitEvaluator = new JitEvaluator()) {
@@ -31812,7 +31873,7 @@ function convertDeclareComponentFacadeToMetadata(decl, typeSourceSpan, sourceMap
31812
31873
  animations: decl.animations !== undefined ? new WrappedNodeExpr(decl.animations) : null,
31813
31874
  defer,
31814
31875
  changeDetection: decl.changeDetection ?? ChangeDetectionStrategy.Default,
31815
- encapsulation: decl.encapsulation ?? ViewEncapsulation.Emulated,
31876
+ encapsulation: decl.encapsulation ?? ViewEncapsulation$1.Emulated,
31816
31877
  interpolation,
31817
31878
  declarationListEmitMode: 2 /* DeclarationListEmitMode.ClosureResolved */,
31818
31879
  relativeContextFilePath: '',
@@ -32092,7 +32153,7 @@ class CompilerConfig {
32092
32153
  defaultEncapsulation;
32093
32154
  preserveWhitespaces;
32094
32155
  strictInjectionParameters;
32095
- constructor({ defaultEncapsulation = ViewEncapsulation.Emulated, preserveWhitespaces, strictInjectionParameters, } = {}) {
32156
+ constructor({ defaultEncapsulation = ViewEncapsulation$1.Emulated, preserveWhitespaces, strictInjectionParameters, } = {}) {
32096
32157
  this.defaultEncapsulation = defaultEncapsulation;
32097
32158
  this.preserveWhitespaces = preserveWhitespacesDefault(noUndefined(preserveWhitespaces));
32098
32159
  this.strictInjectionParameters = strictInjectionParameters === true;
@@ -33764,15 +33825,6 @@ class MapPlaceholderNames extends CloneVisitor {
33764
33825
  }
33765
33826
  }
33766
33827
 
33767
- var FactoryTarget;
33768
- (function (FactoryTarget) {
33769
- FactoryTarget[FactoryTarget["Directive"] = 0] = "Directive";
33770
- FactoryTarget[FactoryTarget["Component"] = 1] = "Component";
33771
- FactoryTarget[FactoryTarget["Injectable"] = 2] = "Injectable";
33772
- FactoryTarget[FactoryTarget["Pipe"] = 3] = "Pipe";
33773
- FactoryTarget[FactoryTarget["NgModule"] = 4] = "NgModule";
33774
- })(FactoryTarget || (FactoryTarget = {}));
33775
-
33776
33828
  function compileClassMetadata(metadata) {
33777
33829
  const fnCall = internalCompileClassMetadata(metadata);
33778
33830
  return arrowFn([], [devOnlyGuardedExpression(fnCall).toStmt()]).callFn([]);
@@ -33868,7 +33920,7 @@ const MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = '18.0.0';
33868
33920
  function compileDeclareClassMetadata(metadata) {
33869
33921
  const definitionMap = new DefinitionMap();
33870
33922
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
33871
- definitionMap.set('version', literal('20.0.0-rc.0'));
33923
+ definitionMap.set('version', literal('20.0.0-rc.2'));
33872
33924
  definitionMap.set('ngImport', importExpr(Identifiers.core));
33873
33925
  definitionMap.set('type', metadata.type);
33874
33926
  definitionMap.set('decorators', metadata.decorators);
@@ -33886,7 +33938,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
33886
33938
  callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? literal(null));
33887
33939
  callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? literal(null));
33888
33940
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
33889
- definitionMap.set('version', literal('20.0.0-rc.0'));
33941
+ definitionMap.set('version', literal('20.0.0-rc.2'));
33890
33942
  definitionMap.set('ngImport', importExpr(Identifiers.core));
33891
33943
  definitionMap.set('type', metadata.type);
33892
33944
  definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
@@ -33981,7 +34033,7 @@ function createDirectiveDefinitionMap(meta) {
33981
34033
  const definitionMap = new DefinitionMap();
33982
34034
  const minVersion = getMinimumVersionForPartialOutput(meta);
33983
34035
  definitionMap.set('minVersion', literal(minVersion));
33984
- definitionMap.set('version', literal('20.0.0-rc.0'));
34036
+ definitionMap.set('version', literal('20.0.0-rc.2'));
33985
34037
  // e.g. `type: MyDirective`
33986
34038
  definitionMap.set('type', meta.type.value);
33987
34039
  if (meta.isStandalone !== undefined) {
@@ -34248,8 +34300,8 @@ function createComponentDefinitionMap(meta, template, templateInfo) {
34248
34300
  definitionMap.set('changeDetection', importExpr(Identifiers.ChangeDetectionStrategy)
34249
34301
  .prop(ChangeDetectionStrategy[meta.changeDetection]));
34250
34302
  }
34251
- if (meta.encapsulation !== ViewEncapsulation.Emulated) {
34252
- definitionMap.set('encapsulation', importExpr(Identifiers.ViewEncapsulation).prop(ViewEncapsulation[meta.encapsulation]));
34303
+ if (meta.encapsulation !== ViewEncapsulation$1.Emulated) {
34304
+ definitionMap.set('encapsulation', importExpr(Identifiers.ViewEncapsulation).prop(ViewEncapsulation$1[meta.encapsulation]));
34253
34305
  }
34254
34306
  if (meta.interpolation !== DEFAULT_INTERPOLATION_CONFIG) {
34255
34307
  definitionMap.set('interpolation', literalArr([literal(meta.interpolation.start), literal(meta.interpolation.end)]));
@@ -34397,11 +34449,11 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
34397
34449
  function compileDeclareFactoryFunction(meta) {
34398
34450
  const definitionMap = new DefinitionMap();
34399
34451
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
34400
- definitionMap.set('version', literal('20.0.0-rc.0'));
34452
+ definitionMap.set('version', literal('20.0.0-rc.2'));
34401
34453
  definitionMap.set('ngImport', importExpr(Identifiers.core));
34402
34454
  definitionMap.set('type', meta.type.value);
34403
34455
  definitionMap.set('deps', compileDependencies(meta.deps));
34404
- definitionMap.set('target', importExpr(Identifiers.FactoryTarget).prop(FactoryTarget$1[meta.target]));
34456
+ definitionMap.set('target', importExpr(Identifiers.FactoryTarget).prop(FactoryTarget[meta.target]));
34405
34457
  return {
34406
34458
  expression: importExpr(Identifiers.declareFactory).callFn([definitionMap.toLiteralMap()]),
34407
34459
  statements: [],
@@ -34432,7 +34484,7 @@ function compileDeclareInjectableFromMetadata(meta) {
34432
34484
  function createInjectableDefinitionMap(meta) {
34433
34485
  const definitionMap = new DefinitionMap();
34434
34486
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
34435
- definitionMap.set('version', literal('20.0.0-rc.0'));
34487
+ definitionMap.set('version', literal('20.0.0-rc.2'));
34436
34488
  definitionMap.set('ngImport', importExpr(Identifiers.core));
34437
34489
  definitionMap.set('type', meta.type.value);
34438
34490
  // Only generate providedIn property if it has a non-null value
@@ -34483,7 +34535,7 @@ function compileDeclareInjectorFromMetadata(meta) {
34483
34535
  function createInjectorDefinitionMap(meta) {
34484
34536
  const definitionMap = new DefinitionMap();
34485
34537
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
34486
- definitionMap.set('version', literal('20.0.0-rc.0'));
34538
+ definitionMap.set('version', literal('20.0.0-rc.2'));
34487
34539
  definitionMap.set('ngImport', importExpr(Identifiers.core));
34488
34540
  definitionMap.set('type', meta.type.value);
34489
34541
  definitionMap.set('providers', meta.providers);
@@ -34516,7 +34568,7 @@ function createNgModuleDefinitionMap(meta) {
34516
34568
  throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
34517
34569
  }
34518
34570
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
34519
- definitionMap.set('version', literal('20.0.0-rc.0'));
34571
+ definitionMap.set('version', literal('20.0.0-rc.2'));
34520
34572
  definitionMap.set('ngImport', importExpr(Identifiers.core));
34521
34573
  definitionMap.set('type', meta.type.value);
34522
34574
  // We only generate the keys in the metadata if the arrays contain values.
@@ -34567,7 +34619,7 @@ function compileDeclarePipeFromMetadata(meta) {
34567
34619
  function createPipeDefinitionMap(meta) {
34568
34620
  const definitionMap = new DefinitionMap();
34569
34621
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
34570
- definitionMap.set('version', literal('20.0.0-rc.0'));
34622
+ definitionMap.set('version', literal('20.0.0-rc.2'));
34571
34623
  definitionMap.set('ngImport', importExpr(Identifiers.core));
34572
34624
  // e.g. `type: MyPipe`
34573
34625
  definitionMap.set('type', meta.type.value);
@@ -34640,23 +34692,21 @@ function compileHmrInitializer(meta) {
34640
34692
  ]);
34641
34693
  // (m) => m.default && ɵɵreplaceMetadata(...)
34642
34694
  const replaceCallback = arrowFn([new FnParam(moduleName)], defaultRead.and(replaceCall));
34643
- // '<url>?c=' + id + '&t=' + encodeURIComponent(t)
34644
- const urlValue = literal(`./@ng/component?c=`)
34645
- .plus(variable(idName))
34646
- .plus(literal('&t='))
34647
- .plus(variable('encodeURIComponent').callFn([variable(timestampName)]));
34648
- // import.meta.url
34649
- const urlBase = variable('import').prop('meta').prop('url');
34650
- // new URL(urlValue, urlBase).href
34651
- const urlHref = new InstantiateExpr(variable('URL'), [urlValue, urlBase]).prop('href');
34695
+ // getReplaceMetadataURL(id, timestamp, import.meta.url)
34696
+ const url = importExpr(Identifiers.getReplaceMetadataURL)
34697
+ .callFn([
34698
+ variable(idName),
34699
+ variable(timestampName),
34700
+ variable('import').prop('meta').prop('url'),
34701
+ ]);
34652
34702
  // function Cmp_HmrLoad(t) {
34653
- // import(/* @vite-ignore */ urlHref).then((m) => m.default && replaceMetadata(...));
34703
+ // import(/* @vite-ignore */ url).then((m) => m.default && replaceMetadata(...));
34654
34704
  // }
34655
34705
  const importCallback = new DeclareFunctionStmt(importCallbackName, [new FnParam(timestampName)], [
34656
34706
  // The vite-ignore special comment is required to prevent Vite from generating a superfluous
34657
34707
  // warning for each usage within the development code. If Vite provides a method to
34658
34708
  // programmatically avoid this warning in the future, this added comment can be removed here.
34659
- new DynamicImportExpr(urlHref, null, '@vite-ignore')
34709
+ new DynamicImportExpr(url, null, '@vite-ignore')
34660
34710
  .prop('then')
34661
34711
  .callFn([replaceCallback])
34662
34712
  .toStmt(),
@@ -34725,7 +34775,7 @@ function compileHmrUpdateCallback(definitions, constantStatements, meta) {
34725
34775
  * @description
34726
34776
  * Entry point for all public APIs of the compiler package.
34727
34777
  */
34728
- const VERSION = new Version('20.0.0-rc.0');
34778
+ const VERSION = new Version('20.0.0-rc.2');
34729
34779
 
34730
34780
  //////////////////////////////////////
34731
34781
  // THIS FILE HAS GLOBAL SIDE EFFECT //
@@ -34751,5 +34801,5 @@ const VERSION = new Version('20.0.0-rc.0');
34751
34801
  // the late binding of the Compiler to the @angular/core for jit compilation.
34752
34802
  publishFacade(_global);
34753
34803
 
34754
- export { AST, ASTWithName, ASTWithSource, AbsoluteSourceSpan, ArrayType, ArrowFunctionExpr, Attribute, Binary, BinaryOperator, BinaryOperatorExpr, BindingPipe, BindingType, Block, BlockParameter, BoundElementProperty, BuiltinType, BuiltinTypeName, CUSTOM_ELEMENTS_SCHEMA, Call, Chain, ChangeDetectionStrategy, CommaExpr, Comment, CompilerConfig, Component, Conditional, ConditionalExpr, ConstantPool, CssSelector, DEFAULT_INTERPOLATION_CONFIG, DYNAMIC_TYPE, DeclareFunctionStmt, DeclareVarStmt, Directive, DomElementSchemaRegistry, DynamicImportExpr, EOF, Element, ElementSchemaRegistry, EmitterVisitorContext, EmptyExpr$1 as EmptyExpr, Expansion, ExpansionCase, Expression, ExpressionBinding, ExpressionStatement, ExpressionType, ExternalExpr, ExternalReference, FactoryTarget$1 as FactoryTarget, FunctionExpr, HtmlParser, HtmlTagDefinition, I18NHtmlParser, IfStmt, ImplicitReceiver, InstantiateExpr, Interpolation$1 as Interpolation, InterpolationConfig, InvokeFunctionExpr, JSDocComment, JitEvaluator, KeyedRead, KeyedWrite, LeadingComment, LetDeclaration, Lexer, LiteralArray, LiteralArrayExpr, LiteralExpr, LiteralMap, LiteralMapExpr, LiteralPrimitive, LocalizedString, MapType, MessageBundle, NONE_TYPE, NO_ERRORS_SCHEMA, NodeWithI18n, NonNullAssert, NotExpr, ParenthesizedExpr, ParenthesizedExpression, ParseError, ParseErrorLevel, ParseLocation, ParseSourceFile, ParseSourceSpan, ParseSpan, ParseTreeResult, ParsedEvent, ParsedEventType, ParsedProperty, ParsedPropertyType, ParsedVariable, Parser, ParserError, PrefixNot, PropertyRead, PropertyWrite, Identifiers as R3Identifiers, R3NgModuleMetadataKind, R3SelectorScopeMode, R3TargetBinder, R3TemplateDependencyKind, ReadKeyExpr, ReadPropExpr, ReadVarExpr, RecursiveAstVisitor, RecursiveVisitor, ResourceLoader, ReturnStatement, STRING_TYPE, SafeCall, SafeKeyedRead, SafePropertyRead, SelectorContext, SelectorListContext, SelectorMatcher, SelectorlessMatcher, Serializer, SplitInterpolation, Statement, StmtModifier, StringToken, StringTokenKind, TagContentType, TaggedTemplateLiteral, TaggedTemplateLiteralExpr, TemplateBindingParseResult, TemplateLiteral, TemplateLiteralElement, TemplateLiteralElementExpr, TemplateLiteralExpr, Text, ThisReceiver, BlockNode as TmplAstBlockNode, BoundAttribute as TmplAstBoundAttribute, BoundDeferredTrigger as TmplAstBoundDeferredTrigger, BoundEvent as TmplAstBoundEvent, BoundText as TmplAstBoundText, Component$1 as TmplAstComponent, Content as TmplAstContent, DeferredBlock as TmplAstDeferredBlock, DeferredBlockError as TmplAstDeferredBlockError, DeferredBlockLoading as TmplAstDeferredBlockLoading, DeferredBlockPlaceholder as TmplAstDeferredBlockPlaceholder, DeferredTrigger as TmplAstDeferredTrigger, Directive$1 as TmplAstDirective, Element$1 as TmplAstElement, ForLoopBlock as TmplAstForLoopBlock, ForLoopBlockEmpty as TmplAstForLoopBlockEmpty, HostElement as TmplAstHostElement, HoverDeferredTrigger as TmplAstHoverDeferredTrigger, Icu$1 as TmplAstIcu, IdleDeferredTrigger as TmplAstIdleDeferredTrigger, IfBlock as TmplAstIfBlock, IfBlockBranch as TmplAstIfBlockBranch, ImmediateDeferredTrigger as TmplAstImmediateDeferredTrigger, InteractionDeferredTrigger as TmplAstInteractionDeferredTrigger, LetDeclaration$1 as TmplAstLetDeclaration, NeverDeferredTrigger as TmplAstNeverDeferredTrigger, RecursiveVisitor$1 as TmplAstRecursiveVisitor, Reference as TmplAstReference, SwitchBlock as TmplAstSwitchBlock, SwitchBlockCase as TmplAstSwitchBlockCase, Template as TmplAstTemplate, Text$3 as TmplAstText, TextAttribute as TmplAstTextAttribute, TimerDeferredTrigger as TmplAstTimerDeferredTrigger, UnknownBlock as TmplAstUnknownBlock, Variable as TmplAstVariable, ViewportDeferredTrigger as TmplAstViewportDeferredTrigger, Token, TokenType, TransplantedType, TreeError, Type, TypeModifier, TypeofExpr, TypeofExpression, Unary, UnaryOperator, UnaryOperatorExpr, VERSION, VariableBinding, Version, ViewEncapsulation, VoidExpr, VoidExpression, WrappedNodeExpr, WriteKeyExpr, WritePropExpr, WriteVarExpr, Xliff, Xliff2, Xmb, XmlParser, Xtb, compileClassDebugInfo, compileClassMetadata, compileComponentClassMetadata, compileComponentDeclareClassMetadata, compileComponentFromMetadata, compileDeclareClassMetadata, compileDeclareComponentFromMetadata, compileDeclareDirectiveFromMetadata, compileDeclareFactoryFunction, compileDeclareInjectableFromMetadata, compileDeclareInjectorFromMetadata, compileDeclareNgModuleFromMetadata, compileDeclarePipeFromMetadata, compileDeferResolverFunction, compileDirectiveFromMetadata, compileFactoryFunction, compileHmrInitializer, compileHmrUpdateCallback, compileInjectable, compileInjector, compileNgModule, compileOpaqueAsyncClassMetadata, compilePipeFromMetadata, computeMsgId, core, createCssSelectorFromNode, createInjectableType, createMayBeForwardRefExpression, devOnlyGuardedExpression, emitDistinctChangesOnlyDefaultValue, encapsulateStyle, findMatchingDirectivesAndPipes, getHtmlTagDefinition, getNsPrefix, getSafePropertyAccessString, identifierName, isNgContainer, isNgContent, isNgTemplate, jsDocComment, leadingComment, literal, literalMap, makeBindingParser, mergeNsAndName, output_ast as outputAst, parseHostBindings, parseTemplate, preserveWhitespacesDefault, publishFacade, r3JitTypeSourceSpan, sanitizeIdentifier, splitNsName, visitAll$1 as tmplAstVisitAll, verifyHostBindings, visitAll };
34804
+ export { AST, ASTWithName, ASTWithSource, AbsoluteSourceSpan, ArrayType, ArrowFunctionExpr, Attribute, Binary, BinaryOperator, BinaryOperatorExpr, BindingPipe, BindingType, Block, BlockParameter, BoundElementProperty, BuiltinType, BuiltinTypeName, CUSTOM_ELEMENTS_SCHEMA, Call, Chain, ChangeDetectionStrategy, CommaExpr, Comment, CompilerConfig, CompilerFacadeImpl, Component, Conditional, ConditionalExpr, ConstantPool, CssSelector, DEFAULT_INTERPOLATION_CONFIG, DYNAMIC_TYPE, DeclareFunctionStmt, DeclareVarStmt, Directive, DomElementSchemaRegistry, DynamicImportExpr, EOF, Element, ElementSchemaRegistry, EmitterVisitorContext, EmptyExpr$1 as EmptyExpr, Expansion, ExpansionCase, Expression, ExpressionBinding, ExpressionStatement, ExpressionType, ExternalExpr, ExternalReference, FactoryTarget, FunctionExpr, HtmlParser, HtmlTagDefinition, I18NHtmlParser, IfStmt, ImplicitReceiver, InstantiateExpr, Interpolation$1 as Interpolation, InterpolationConfig, InvokeFunctionExpr, JSDocComment, JitEvaluator, KeyedRead, KeyedWrite, LeadingComment, LetDeclaration, Lexer, LiteralArray, LiteralArrayExpr, LiteralExpr, LiteralMap, LiteralMapExpr, LiteralPrimitive, LocalizedString, MapType, MessageBundle, NONE_TYPE, NO_ERRORS_SCHEMA, NodeWithI18n, NonNullAssert, NotExpr, ParenthesizedExpr, ParenthesizedExpression, ParseError, ParseErrorLevel, ParseLocation, ParseSourceFile, ParseSourceSpan, ParseSpan, ParseTreeResult, ParsedEvent, ParsedEventType, ParsedProperty, ParsedPropertyType, ParsedVariable, Parser, ParserError, PrefixNot, PropertyRead, PropertyWrite, Identifiers as R3Identifiers, R3NgModuleMetadataKind, R3SelectorScopeMode, R3TargetBinder, R3TemplateDependencyKind, ReadKeyExpr, ReadPropExpr, ReadVarExpr, RecursiveAstVisitor, RecursiveVisitor, ResourceLoader, ReturnStatement, SECURITY_SCHEMA, STRING_TYPE, SafeCall, SafeKeyedRead, SafePropertyRead, SelectorContext, SelectorListContext, SelectorMatcher, SelectorlessMatcher, Serializer, SplitInterpolation, Statement, StmtModifier, StringToken, StringTokenKind, TagContentType, TaggedTemplateLiteral, TaggedTemplateLiteralExpr, TemplateBindingParseResult, TemplateLiteral, TemplateLiteralElement, TemplateLiteralElementExpr, TemplateLiteralExpr, Text, ThisReceiver, BlockNode as TmplAstBlockNode, BoundAttribute as TmplAstBoundAttribute, BoundDeferredTrigger as TmplAstBoundDeferredTrigger, BoundEvent as TmplAstBoundEvent, BoundText as TmplAstBoundText, Component$1 as TmplAstComponent, Content as TmplAstContent, DeferredBlock as TmplAstDeferredBlock, DeferredBlockError as TmplAstDeferredBlockError, DeferredBlockLoading as TmplAstDeferredBlockLoading, DeferredBlockPlaceholder as TmplAstDeferredBlockPlaceholder, DeferredTrigger as TmplAstDeferredTrigger, Directive$1 as TmplAstDirective, Element$1 as TmplAstElement, ForLoopBlock as TmplAstForLoopBlock, ForLoopBlockEmpty as TmplAstForLoopBlockEmpty, HostElement as TmplAstHostElement, HoverDeferredTrigger as TmplAstHoverDeferredTrigger, Icu$1 as TmplAstIcu, IdleDeferredTrigger as TmplAstIdleDeferredTrigger, IfBlock as TmplAstIfBlock, IfBlockBranch as TmplAstIfBlockBranch, ImmediateDeferredTrigger as TmplAstImmediateDeferredTrigger, InteractionDeferredTrigger as TmplAstInteractionDeferredTrigger, LetDeclaration$1 as TmplAstLetDeclaration, NeverDeferredTrigger as TmplAstNeverDeferredTrigger, RecursiveVisitor$1 as TmplAstRecursiveVisitor, Reference as TmplAstReference, SwitchBlock as TmplAstSwitchBlock, SwitchBlockCase as TmplAstSwitchBlockCase, Template as TmplAstTemplate, Text$3 as TmplAstText, TextAttribute as TmplAstTextAttribute, TimerDeferredTrigger as TmplAstTimerDeferredTrigger, UnknownBlock as TmplAstUnknownBlock, Variable as TmplAstVariable, ViewportDeferredTrigger as TmplAstViewportDeferredTrigger, Token, TokenType, TransplantedType, TreeError, Type, TypeModifier, TypeofExpr, TypeofExpression, Unary, UnaryOperator, UnaryOperatorExpr, VERSION, VariableBinding, Version, ViewEncapsulation$1 as ViewEncapsulation, VoidExpr, VoidExpression, WrappedNodeExpr, WriteKeyExpr, WritePropExpr, WriteVarExpr, Xliff, Xliff2, Xmb, XmlParser, Xtb, compileClassDebugInfo, compileClassMetadata, compileComponentClassMetadata, compileComponentDeclareClassMetadata, compileComponentFromMetadata, compileDeclareClassMetadata, compileDeclareComponentFromMetadata, compileDeclareDirectiveFromMetadata, compileDeclareFactoryFunction, compileDeclareInjectableFromMetadata, compileDeclareInjectorFromMetadata, compileDeclareNgModuleFromMetadata, compileDeclarePipeFromMetadata, compileDeferResolverFunction, compileDirectiveFromMetadata, compileFactoryFunction, compileHmrInitializer, compileHmrUpdateCallback, compileInjectable, compileInjector, compileNgModule, compileOpaqueAsyncClassMetadata, compilePipeFromMetadata, computeMsgId, core, createCssSelectorFromNode, createInjectableType, createMayBeForwardRefExpression, devOnlyGuardedExpression, emitDistinctChangesOnlyDefaultValue, encapsulateStyle, escapeRegExp, findMatchingDirectivesAndPipes, getHtmlTagDefinition, getNsPrefix, getSafePropertyAccessString, identifierName, isNgContainer, isNgContent, isNgTemplate, jsDocComment, leadingComment, literal, literalMap, makeBindingParser, mergeNsAndName, output_ast as outputAst, parseHostBindings, parseTemplate, preserveWhitespacesDefault, publishFacade, r3JitTypeSourceSpan, sanitizeIdentifier, splitNsName, visitAll$1 as tmplAstVisitAll, verifyHostBindings, visitAll };
34755
34805
  //# sourceMappingURL=compiler.mjs.map