@angular/compiler 21.0.0-next.2 → 21.0.0-next.4

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 v21.0.0-next.2
2
+ * @license Angular v21.0.0-next.4
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -2969,10 +2969,6 @@ class Identifiers {
2969
2969
  name: 'ɵɵExternalStylesFeature',
2970
2970
  moduleName: CORE,
2971
2971
  };
2972
- static AnimationsFeature = {
2973
- name: 'ɵɵAnimationsFeature',
2974
- moduleName: CORE,
2975
- };
2976
2972
  static listener = { name: 'ɵɵlistener', moduleName: CORE };
2977
2973
  static getInheritedFactory = {
2978
2974
  name: 'ɵɵgetInheritedFactory',
@@ -20454,7 +20450,7 @@ const OBJECT = 'object';
20454
20450
  //
20455
20451
  // =================================================================================================
20456
20452
  const SCHEMA = [
20457
- '[Element]|textContent,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColSpan,%ariaCurrent,%ariaDescription,%ariaDisabled,%ariaExpanded,%ariaHasPopup,%ariaHidden,%ariaKeyShortcuts,%ariaLabel,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot' +
20453
+ '[Element]|textContent,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColSpan,%ariaCurrent,%ariaDescription,%ariaDisabled,%ariaExpanded,%ariaHasPopup,%ariaHidden,%ariaInvalid,%ariaKeyShortcuts,%ariaLabel,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot' +
20458
20454
  /* added manually to avoid breaking changes */
20459
20455
  ',*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored',
20460
20456
  '[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,!inert,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy',
@@ -30228,184 +30224,9 @@ function makeBindingParser(interpolationConfig = DEFAULT_INTERPOLATION_CONFIG, s
30228
30224
  return new BindingParser(new Parser(new Lexer(), selectorlessEnabled), interpolationConfig, elementRegistry, []);
30229
30225
  }
30230
30226
 
30231
- /*!
30232
- * @license
30233
- * Copyright Google LLC All Rights Reserved.
30234
- *
30235
- * Use of this source code is governed by an MIT-style license that can be
30236
- * found in the LICENSE file at https://angular.dev/license
30237
- */
30238
- /**
30239
- * Visitor that traverses all template and expression AST nodes in a template.
30240
- * Useful for cases where every single node needs to be visited.
30241
- */
30242
- class CombinedRecursiveAstVisitor extends RecursiveAstVisitor {
30243
- visit(node) {
30244
- if (node instanceof ASTWithSource) {
30245
- this.visit(node.ast);
30246
- }
30247
- else {
30248
- node.visit(this);
30249
- }
30250
- }
30251
- visitElement(element) {
30252
- this.visitAllTemplateNodes(element.attributes);
30253
- this.visitAllTemplateNodes(element.inputs);
30254
- this.visitAllTemplateNodes(element.outputs);
30255
- this.visitAllTemplateNodes(element.directives);
30256
- this.visitAllTemplateNodes(element.references);
30257
- this.visitAllTemplateNodes(element.children);
30258
- }
30259
- visitTemplate(template) {
30260
- this.visitAllTemplateNodes(template.attributes);
30261
- this.visitAllTemplateNodes(template.inputs);
30262
- this.visitAllTemplateNodes(template.outputs);
30263
- this.visitAllTemplateNodes(template.directives);
30264
- this.visitAllTemplateNodes(template.templateAttrs);
30265
- this.visitAllTemplateNodes(template.variables);
30266
- this.visitAllTemplateNodes(template.references);
30267
- this.visitAllTemplateNodes(template.children);
30268
- }
30269
- visitContent(content) {
30270
- this.visitAllTemplateNodes(content.children);
30271
- }
30272
- visitBoundAttribute(attribute) {
30273
- this.visit(attribute.value);
30274
- }
30275
- visitBoundEvent(attribute) {
30276
- this.visit(attribute.handler);
30277
- }
30278
- visitBoundText(text) {
30279
- this.visit(text.value);
30280
- }
30281
- visitIcu(icu) {
30282
- Object.keys(icu.vars).forEach((key) => this.visit(icu.vars[key]));
30283
- Object.keys(icu.placeholders).forEach((key) => this.visit(icu.placeholders[key]));
30284
- }
30285
- visitDeferredBlock(deferred) {
30286
- deferred.visitAll(this);
30287
- }
30288
- visitDeferredTrigger(trigger) {
30289
- if (trigger instanceof BoundDeferredTrigger) {
30290
- this.visit(trigger.value);
30291
- }
30292
- }
30293
- visitDeferredBlockPlaceholder(block) {
30294
- this.visitAllTemplateNodes(block.children);
30295
- }
30296
- visitDeferredBlockError(block) {
30297
- this.visitAllTemplateNodes(block.children);
30298
- }
30299
- visitDeferredBlockLoading(block) {
30300
- this.visitAllTemplateNodes(block.children);
30301
- }
30302
- visitSwitchBlock(block) {
30303
- this.visit(block.expression);
30304
- this.visitAllTemplateNodes(block.cases);
30305
- }
30306
- visitSwitchBlockCase(block) {
30307
- block.expression && this.visit(block.expression);
30308
- this.visitAllTemplateNodes(block.children);
30309
- }
30310
- visitForLoopBlock(block) {
30311
- block.item.visit(this);
30312
- this.visitAllTemplateNodes(block.contextVariables);
30313
- this.visit(block.expression);
30314
- this.visitAllTemplateNodes(block.children);
30315
- block.empty?.visit(this);
30316
- }
30317
- visitForLoopBlockEmpty(block) {
30318
- this.visitAllTemplateNodes(block.children);
30319
- }
30320
- visitIfBlock(block) {
30321
- this.visitAllTemplateNodes(block.branches);
30322
- }
30323
- visitIfBlockBranch(block) {
30324
- block.expression && this.visit(block.expression);
30325
- block.expressionAlias?.visit(this);
30326
- this.visitAllTemplateNodes(block.children);
30327
- }
30328
- visitLetDeclaration(decl) {
30329
- this.visit(decl.value);
30330
- }
30331
- visitComponent(component) {
30332
- this.visitAllTemplateNodes(component.attributes);
30333
- this.visitAllTemplateNodes(component.inputs);
30334
- this.visitAllTemplateNodes(component.outputs);
30335
- this.visitAllTemplateNodes(component.directives);
30336
- this.visitAllTemplateNodes(component.references);
30337
- this.visitAllTemplateNodes(component.children);
30338
- }
30339
- visitDirective(directive) {
30340
- this.visitAllTemplateNodes(directive.attributes);
30341
- this.visitAllTemplateNodes(directive.inputs);
30342
- this.visitAllTemplateNodes(directive.outputs);
30343
- this.visitAllTemplateNodes(directive.references);
30344
- }
30345
- visitVariable(variable) { }
30346
- visitReference(reference) { }
30347
- visitTextAttribute(attribute) { }
30348
- visitText(text) { }
30349
- visitUnknownBlock(block) { }
30350
- visitAllTemplateNodes(nodes) {
30351
- for (const node of nodes) {
30352
- this.visit(node);
30353
- }
30354
- }
30355
- }
30356
-
30357
- /*!
30358
- * @license
30359
- * Copyright Google LLC All Rights Reserved.
30360
- *
30361
- * Use of this source code is governed by an MIT-style license that can be
30362
- * found in the LICENSE file at https://angular.dev/license
30363
- */
30364
- const ANIMATE_LEAVE$1 = `animate.leave`;
30365
- /**
30366
- * Analyzes a component's template to determine if it's using animate.enter
30367
- * or animate.leave syntax.
30368
- */
30369
- function analyzeTemplateForAnimations(template) {
30370
- const analyzer = new AnimationsAnalyzer();
30371
- visitAll$1(analyzer, template);
30372
- // The template is considered selectorless only if there
30373
- // are direct references to directives or pipes.
30374
- return analyzer.hasAnimations;
30375
- }
30376
- /**
30377
- * Visitor that traverses all the template nodes and
30378
- * expressions to look for selectorless references.
30379
- */
30380
- class AnimationsAnalyzer extends CombinedRecursiveAstVisitor {
30381
- hasAnimations = false;
30382
- visitElement(element) {
30383
- // check for regular strings
30384
- for (const attr of element.attributes) {
30385
- if (attr.name === ANIMATE_LEAVE$1) {
30386
- this.hasAnimations = true;
30387
- }
30388
- }
30389
- // check for attribute bindings
30390
- for (const input of element.inputs) {
30391
- if (input.name === ANIMATE_LEAVE$1) {
30392
- this.hasAnimations = true;
30393
- }
30394
- }
30395
- // check for event bindings
30396
- for (const output of element.outputs) {
30397
- if (output.name === ANIMATE_LEAVE$1) {
30398
- this.hasAnimations = true;
30399
- }
30400
- }
30401
- super.visitElement(element);
30402
- }
30403
- }
30404
-
30405
30227
  const COMPONENT_VARIABLE = '%COMP%';
30406
30228
  const HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
30407
30229
  const CONTENT_ATTR = `_ngcontent-${COMPONENT_VARIABLE}`;
30408
- const ANIMATE_LEAVE = `animate.leave`;
30409
30230
  function baseDirectiveFields(meta, constantPool, bindingParser) {
30410
30231
  const definitionMap = new DefinitionMap();
30411
30232
  const selectors = parseSelectorToR3Selector(meta.selector);
@@ -30439,11 +30260,6 @@ function baseDirectiveFields(meta, constantPool, bindingParser) {
30439
30260
  }
30440
30261
  return definitionMap;
30441
30262
  }
30442
- function hasAnimationHostBinding(meta) {
30443
- return (meta.host.attributes[ANIMATE_LEAVE] !== undefined ||
30444
- meta.host.properties[ANIMATE_LEAVE] !== undefined ||
30445
- meta.host.listeners[ANIMATE_LEAVE] !== undefined);
30446
- }
30447
30263
  /**
30448
30264
  * Add features to the definition map.
30449
30265
  */
@@ -30478,12 +30294,6 @@ function addFeatures(definitionMap, meta) {
30478
30294
  const externalStyleNodes = meta.externalStyles.map((externalStyle) => literal(externalStyle));
30479
30295
  features.push(importExpr(Identifiers.ExternalStylesFeature).callFn([literalArr(externalStyleNodes)]));
30480
30296
  }
30481
- const template = meta.template;
30482
- if (hasAnimationHostBinding(meta) || (template && template.nodes.length > 0)) {
30483
- if (hasAnimationHostBinding(meta) || analyzeTemplateForAnimations(template.nodes)) {
30484
- features.push(importExpr(Identifiers.AnimationsFeature).callFn([]));
30485
- }
30486
- }
30487
30297
  if (features.length) {
30488
30298
  definitionMap.set('features', literalArr(features));
30489
30299
  }
@@ -30943,6 +30753,132 @@ function compileDeferResolverFunction(meta) {
30943
30753
  return arrowFn([], literalArr(depExpressions));
30944
30754
  }
30945
30755
 
30756
+ /*!
30757
+ * @license
30758
+ * Copyright Google LLC All Rights Reserved.
30759
+ *
30760
+ * Use of this source code is governed by an MIT-style license that can be
30761
+ * found in the LICENSE file at https://angular.dev/license
30762
+ */
30763
+ /**
30764
+ * Visitor that traverses all template and expression AST nodes in a template.
30765
+ * Useful for cases where every single node needs to be visited.
30766
+ */
30767
+ class CombinedRecursiveAstVisitor extends RecursiveAstVisitor {
30768
+ visit(node) {
30769
+ if (node instanceof ASTWithSource) {
30770
+ this.visit(node.ast);
30771
+ }
30772
+ else {
30773
+ node.visit(this);
30774
+ }
30775
+ }
30776
+ visitElement(element) {
30777
+ this.visitAllTemplateNodes(element.attributes);
30778
+ this.visitAllTemplateNodes(element.inputs);
30779
+ this.visitAllTemplateNodes(element.outputs);
30780
+ this.visitAllTemplateNodes(element.directives);
30781
+ this.visitAllTemplateNodes(element.references);
30782
+ this.visitAllTemplateNodes(element.children);
30783
+ }
30784
+ visitTemplate(template) {
30785
+ this.visitAllTemplateNodes(template.attributes);
30786
+ this.visitAllTemplateNodes(template.inputs);
30787
+ this.visitAllTemplateNodes(template.outputs);
30788
+ this.visitAllTemplateNodes(template.directives);
30789
+ this.visitAllTemplateNodes(template.templateAttrs);
30790
+ this.visitAllTemplateNodes(template.variables);
30791
+ this.visitAllTemplateNodes(template.references);
30792
+ this.visitAllTemplateNodes(template.children);
30793
+ }
30794
+ visitContent(content) {
30795
+ this.visitAllTemplateNodes(content.children);
30796
+ }
30797
+ visitBoundAttribute(attribute) {
30798
+ this.visit(attribute.value);
30799
+ }
30800
+ visitBoundEvent(attribute) {
30801
+ this.visit(attribute.handler);
30802
+ }
30803
+ visitBoundText(text) {
30804
+ this.visit(text.value);
30805
+ }
30806
+ visitIcu(icu) {
30807
+ Object.keys(icu.vars).forEach((key) => this.visit(icu.vars[key]));
30808
+ Object.keys(icu.placeholders).forEach((key) => this.visit(icu.placeholders[key]));
30809
+ }
30810
+ visitDeferredBlock(deferred) {
30811
+ deferred.visitAll(this);
30812
+ }
30813
+ visitDeferredTrigger(trigger) {
30814
+ if (trigger instanceof BoundDeferredTrigger) {
30815
+ this.visit(trigger.value);
30816
+ }
30817
+ }
30818
+ visitDeferredBlockPlaceholder(block) {
30819
+ this.visitAllTemplateNodes(block.children);
30820
+ }
30821
+ visitDeferredBlockError(block) {
30822
+ this.visitAllTemplateNodes(block.children);
30823
+ }
30824
+ visitDeferredBlockLoading(block) {
30825
+ this.visitAllTemplateNodes(block.children);
30826
+ }
30827
+ visitSwitchBlock(block) {
30828
+ this.visit(block.expression);
30829
+ this.visitAllTemplateNodes(block.cases);
30830
+ }
30831
+ visitSwitchBlockCase(block) {
30832
+ block.expression && this.visit(block.expression);
30833
+ this.visitAllTemplateNodes(block.children);
30834
+ }
30835
+ visitForLoopBlock(block) {
30836
+ block.item.visit(this);
30837
+ this.visitAllTemplateNodes(block.contextVariables);
30838
+ this.visit(block.expression);
30839
+ this.visitAllTemplateNodes(block.children);
30840
+ block.empty?.visit(this);
30841
+ }
30842
+ visitForLoopBlockEmpty(block) {
30843
+ this.visitAllTemplateNodes(block.children);
30844
+ }
30845
+ visitIfBlock(block) {
30846
+ this.visitAllTemplateNodes(block.branches);
30847
+ }
30848
+ visitIfBlockBranch(block) {
30849
+ block.expression && this.visit(block.expression);
30850
+ block.expressionAlias?.visit(this);
30851
+ this.visitAllTemplateNodes(block.children);
30852
+ }
30853
+ visitLetDeclaration(decl) {
30854
+ this.visit(decl.value);
30855
+ }
30856
+ visitComponent(component) {
30857
+ this.visitAllTemplateNodes(component.attributes);
30858
+ this.visitAllTemplateNodes(component.inputs);
30859
+ this.visitAllTemplateNodes(component.outputs);
30860
+ this.visitAllTemplateNodes(component.directives);
30861
+ this.visitAllTemplateNodes(component.references);
30862
+ this.visitAllTemplateNodes(component.children);
30863
+ }
30864
+ visitDirective(directive) {
30865
+ this.visitAllTemplateNodes(directive.attributes);
30866
+ this.visitAllTemplateNodes(directive.inputs);
30867
+ this.visitAllTemplateNodes(directive.outputs);
30868
+ this.visitAllTemplateNodes(directive.references);
30869
+ }
30870
+ visitVariable(variable) { }
30871
+ visitReference(reference) { }
30872
+ visitTextAttribute(attribute) { }
30873
+ visitText(text) { }
30874
+ visitUnknownBlock(block) { }
30875
+ visitAllTemplateNodes(nodes) {
30876
+ for (const node of nodes) {
30877
+ this.visit(node);
30878
+ }
30879
+ }
30880
+ }
30881
+
30946
30882
  /**
30947
30883
  * Computes a difference between full list (first argument) and
30948
30884
  * list of items that should be excluded from the full list (second
@@ -34325,7 +34261,7 @@ const MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = '18.0.0';
34325
34261
  function compileDeclareClassMetadata(metadata) {
34326
34262
  const definitionMap = new DefinitionMap();
34327
34263
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
34328
- definitionMap.set('version', literal('21.0.0-next.2'));
34264
+ definitionMap.set('version', literal('21.0.0-next.4'));
34329
34265
  definitionMap.set('ngImport', importExpr(Identifiers.core));
34330
34266
  definitionMap.set('type', metadata.type);
34331
34267
  definitionMap.set('decorators', metadata.decorators);
@@ -34343,7 +34279,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
34343
34279
  callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? literal(null));
34344
34280
  callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? literal(null));
34345
34281
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
34346
- definitionMap.set('version', literal('21.0.0-next.2'));
34282
+ definitionMap.set('version', literal('21.0.0-next.4'));
34347
34283
  definitionMap.set('ngImport', importExpr(Identifiers.core));
34348
34284
  definitionMap.set('type', metadata.type);
34349
34285
  definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
@@ -34438,7 +34374,7 @@ function createDirectiveDefinitionMap(meta) {
34438
34374
  const definitionMap = new DefinitionMap();
34439
34375
  const minVersion = getMinimumVersionForPartialOutput(meta);
34440
34376
  definitionMap.set('minVersion', literal(minVersion));
34441
- definitionMap.set('version', literal('21.0.0-next.2'));
34377
+ definitionMap.set('version', literal('21.0.0-next.4'));
34442
34378
  // e.g. `type: MyDirective`
34443
34379
  definitionMap.set('type', meta.type.value);
34444
34380
  if (meta.isStandalone !== undefined) {
@@ -34854,7 +34790,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
34854
34790
  function compileDeclareFactoryFunction(meta) {
34855
34791
  const definitionMap = new DefinitionMap();
34856
34792
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
34857
- definitionMap.set('version', literal('21.0.0-next.2'));
34793
+ definitionMap.set('version', literal('21.0.0-next.4'));
34858
34794
  definitionMap.set('ngImport', importExpr(Identifiers.core));
34859
34795
  definitionMap.set('type', meta.type.value);
34860
34796
  definitionMap.set('deps', compileDependencies(meta.deps));
@@ -34889,7 +34825,7 @@ function compileDeclareInjectableFromMetadata(meta) {
34889
34825
  function createInjectableDefinitionMap(meta) {
34890
34826
  const definitionMap = new DefinitionMap();
34891
34827
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
34892
- definitionMap.set('version', literal('21.0.0-next.2'));
34828
+ definitionMap.set('version', literal('21.0.0-next.4'));
34893
34829
  definitionMap.set('ngImport', importExpr(Identifiers.core));
34894
34830
  definitionMap.set('type', meta.type.value);
34895
34831
  // Only generate providedIn property if it has a non-null value
@@ -34940,7 +34876,7 @@ function compileDeclareInjectorFromMetadata(meta) {
34940
34876
  function createInjectorDefinitionMap(meta) {
34941
34877
  const definitionMap = new DefinitionMap();
34942
34878
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
34943
- definitionMap.set('version', literal('21.0.0-next.2'));
34879
+ definitionMap.set('version', literal('21.0.0-next.4'));
34944
34880
  definitionMap.set('ngImport', importExpr(Identifiers.core));
34945
34881
  definitionMap.set('type', meta.type.value);
34946
34882
  definitionMap.set('providers', meta.providers);
@@ -34973,7 +34909,7 @@ function createNgModuleDefinitionMap(meta) {
34973
34909
  throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
34974
34910
  }
34975
34911
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
34976
- definitionMap.set('version', literal('21.0.0-next.2'));
34912
+ definitionMap.set('version', literal('21.0.0-next.4'));
34977
34913
  definitionMap.set('ngImport', importExpr(Identifiers.core));
34978
34914
  definitionMap.set('type', meta.type.value);
34979
34915
  // We only generate the keys in the metadata if the arrays contain values.
@@ -35024,7 +34960,7 @@ function compileDeclarePipeFromMetadata(meta) {
35024
34960
  function createPipeDefinitionMap(meta) {
35025
34961
  const definitionMap = new DefinitionMap();
35026
34962
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
35027
- definitionMap.set('version', literal('21.0.0-next.2'));
34963
+ definitionMap.set('version', literal('21.0.0-next.4'));
35028
34964
  definitionMap.set('ngImport', importExpr(Identifiers.core));
35029
34965
  // e.g. `type: MyPipe`
35030
34966
  definitionMap.set('type', meta.type.value);
@@ -35180,7 +35116,7 @@ function compileHmrUpdateCallback(definitions, constantStatements, meta) {
35180
35116
  * @description
35181
35117
  * Entry point for all public APIs of the compiler package.
35182
35118
  */
35183
- const VERSION = new Version('21.0.0-next.2');
35119
+ const VERSION = new Version('21.0.0-next.4');
35184
35120
 
35185
35121
  //////////////////////////////////////
35186
35122
  // THIS FILE HAS GLOBAL SIDE EFFECT //
@@ -35206,5 +35142,5 @@ const VERSION = new Version('21.0.0-next.2');
35206
35142
  // the late binding of the Compiler to the @angular/core for jit compilation.
35207
35143
  publishFacade(_global);
35208
35144
 
35209
- export { AST, ASTWithName, ASTWithSource, AbsoluteSourceSpan, ArrayType, ArrowFunctionExpr, Attribute, Binary, BinaryOperator, BinaryOperatorExpr, BindingPipe, BindingPipeType, BindingType, Block, BlockParameter, BoundElementProperty, BuiltinType, BuiltinTypeName, CUSTOM_ELEMENTS_SCHEMA, Call, Chain, ChangeDetectionStrategy, CombinedRecursiveAstVisitor, 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, 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, PrefixNot, PropertyRead, 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, 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, setEnableTemplateSourceLocations, splitNsName, visitAll$1 as tmplAstVisitAll, verifyHostBindings, visitAll };
35145
+ export { AST, ASTWithName, ASTWithSource, AbsoluteSourceSpan, ArrayType, ArrowFunctionExpr, Attribute, Binary, BinaryOperator, BinaryOperatorExpr, BindingPipe, BindingPipeType, BindingType, Block, BlockParameter, BoundElementProperty, BuiltinType, BuiltinTypeName, CUSTOM_ELEMENTS_SCHEMA, Call, Chain, ChangeDetectionStrategy, CombinedRecursiveAstVisitor, 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, 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, PrefixNot, PropertyRead, Identifiers as R3Identifiers, R3NgModuleMetadataKind, R3SelectorScopeMode, R3TargetBinder, R3TemplateDependencyKind, ReadKeyExpr, ReadPropExpr, ReadVarExpr, RecursiveAstVisitor, RecursiveVisitor, ResourceLoader, ReturnStatement, SCHEMA, 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, Xliff, Xliff2, Xmb, XmlParser, Xtb, _ATTR_TO_PROP, 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, setEnableTemplateSourceLocations, splitNsName, visitAll$1 as tmplAstVisitAll, verifyHostBindings, visitAll };
35210
35146
  //# sourceMappingURL=compiler.mjs.map