@angular/compiler 20.0.0-next.2 → 20.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.
- package/fesm2022/compiler.mjs +274 -100
- package/fesm2022/compiler.mjs.map +1 -1
- package/index.d.ts +18 -138
- package/package.json +1 -9
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v20.0.0-next.
|
|
2
|
+
* @license Angular v20.0.0-next.4
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -3452,6 +3452,18 @@ declare class Icu implements Node {
|
|
|
3452
3452
|
}, sourceSpan: ParseSourceSpan, i18n?: I18nMeta$1 | undefined);
|
|
3453
3453
|
visit<Result>(visitor: Visitor<Result>): Result;
|
|
3454
3454
|
}
|
|
3455
|
+
/**
|
|
3456
|
+
* AST node that represents the host element of a directive.
|
|
3457
|
+
* This node is used only for type checking purposes and cannot be produced from a user's template.
|
|
3458
|
+
*/
|
|
3459
|
+
declare class HostElement implements Node {
|
|
3460
|
+
readonly tagNames: string[];
|
|
3461
|
+
readonly bindings: BoundAttribute[];
|
|
3462
|
+
readonly listeners: BoundEvent[];
|
|
3463
|
+
readonly sourceSpan: ParseSourceSpan;
|
|
3464
|
+
constructor(tagNames: string[], bindings: BoundAttribute[], listeners: BoundEvent[], sourceSpan: ParseSourceSpan);
|
|
3465
|
+
visit<Result>(): Result;
|
|
3466
|
+
}
|
|
3455
3467
|
interface Visitor<Result = any> {
|
|
3456
3468
|
visit?(node: Node): Result;
|
|
3457
3469
|
visitElement(element: Element): Result;
|
|
@@ -4809,6 +4821,8 @@ declare class Identifiers {
|
|
|
4809
4821
|
static deferHydrateOnInteraction: ExternalReference;
|
|
4810
4822
|
static deferHydrateOnViewport: ExternalReference;
|
|
4811
4823
|
static deferEnableTimerScheduling: ExternalReference;
|
|
4824
|
+
static conditionalCreate: ExternalReference;
|
|
4825
|
+
static conditionalBranchCreate: ExternalReference;
|
|
4812
4826
|
static conditional: ExternalReference;
|
|
4813
4827
|
static repeater: ExternalReference;
|
|
4814
4828
|
static repeaterCreate: ExternalReference;
|
|
@@ -5010,7 +5024,7 @@ declare function encapsulateStyle(style: string, componentIdentifier?: string):
|
|
|
5010
5024
|
declare function compileDeferResolverFunction(meta: R3DeferResolverFunctionMetadata): ArrowFunctionExpr;
|
|
5011
5025
|
|
|
5012
5026
|
/** Node that has a `Scope` associated with it. */
|
|
5013
|
-
type ScopedNode = Template | SwitchBlockCase | IfBlockBranch | ForLoopBlock | ForLoopBlockEmpty | DeferredBlock | DeferredBlockError | DeferredBlockLoading | DeferredBlockPlaceholder | Content;
|
|
5027
|
+
type ScopedNode = Template | SwitchBlockCase | IfBlockBranch | ForLoopBlock | ForLoopBlockEmpty | DeferredBlock | DeferredBlockError | DeferredBlockLoading | DeferredBlockPlaceholder | Content | HostElement;
|
|
5014
5028
|
/** Possible values that a reference can be resolved to. */
|
|
5015
5029
|
type ReferenceTarget<DirectiveT> = {
|
|
5016
5030
|
directive: DirectiveT;
|
|
@@ -5023,6 +5037,7 @@ type TemplateEntity = Reference | Variable | LetDeclaration;
|
|
|
5023
5037
|
*/
|
|
5024
5038
|
interface Target {
|
|
5025
5039
|
template?: Node[];
|
|
5040
|
+
host?: HostElement;
|
|
5026
5041
|
}
|
|
5027
5042
|
/**
|
|
5028
5043
|
* A data structure which can indicate whether a given property name is present or not.
|
|
@@ -5195,22 +5210,6 @@ interface BoundTarget<DirectiveT extends DirectiveMeta> {
|
|
|
5195
5210
|
isDeferred(node: Element): boolean;
|
|
5196
5211
|
}
|
|
5197
5212
|
|
|
5198
|
-
/** Shorthand for a map between a binding AST node and the entity it's targeting. */
|
|
5199
|
-
type BindingsMap<DirectiveT> = Map<BoundAttribute | BoundEvent | TextAttribute, DirectiveT | Template | Element>;
|
|
5200
|
-
/** Shorthand for a map between a reference AST node and the entity it's targeting. */
|
|
5201
|
-
type ReferenceMap<DirectiveT> = Map<Reference, Template | Element | {
|
|
5202
|
-
directive: DirectiveT;
|
|
5203
|
-
node: Element | Template;
|
|
5204
|
-
}>;
|
|
5205
|
-
/** Mapping between AST nodes and the directives that have been matched on them. */
|
|
5206
|
-
type MatchedDirectives<DirectiveT> = Map<Template | Element, DirectiveT[]>;
|
|
5207
|
-
/**
|
|
5208
|
-
* Mapping between a scoped not and the template entities that exist in it.
|
|
5209
|
-
* `null` represents the root scope.
|
|
5210
|
-
*/
|
|
5211
|
-
type ScopedNodeEntities = Map<ScopedNode | null, Set<TemplateEntity>>;
|
|
5212
|
-
/** Shorthand tuple type where a defer block is paired with its corresponding scope. */
|
|
5213
|
-
type DeferBlockScopes = [DeferredBlock, Scope][];
|
|
5214
5213
|
/**
|
|
5215
5214
|
* Given a template string and a set of available directive selectors,
|
|
5216
5215
|
* computes a list of matching selectors and splits them into 2 buckets:
|
|
@@ -5249,125 +5248,6 @@ declare class R3TargetBinder<DirectiveT extends DirectiveMeta> implements Target
|
|
|
5249
5248
|
*/
|
|
5250
5249
|
bind(target: Target): BoundTarget<DirectiveT>;
|
|
5251
5250
|
}
|
|
5252
|
-
/**
|
|
5253
|
-
* Represents a binding scope within a template.
|
|
5254
|
-
*
|
|
5255
|
-
* Any variables, references, or other named entities declared within the template will
|
|
5256
|
-
* be captured and available by name in `namedEntities`. Additionally, child templates will
|
|
5257
|
-
* be analyzed and have their child `Scope`s available in `childScopes`.
|
|
5258
|
-
*/
|
|
5259
|
-
declare class Scope implements Visitor {
|
|
5260
|
-
readonly parentScope: Scope | null;
|
|
5261
|
-
readonly rootNode: ScopedNode | null;
|
|
5262
|
-
/**
|
|
5263
|
-
* Named members of the `Scope`, such as `Reference`s or `Variable`s.
|
|
5264
|
-
*/
|
|
5265
|
-
readonly namedEntities: Map<string, TemplateEntity>;
|
|
5266
|
-
/**
|
|
5267
|
-
* Set of elements that belong to this scope.
|
|
5268
|
-
*/
|
|
5269
|
-
readonly elementsInScope: Set<Element>;
|
|
5270
|
-
/**
|
|
5271
|
-
* Child `Scope`s for immediately nested `ScopedNode`s.
|
|
5272
|
-
*/
|
|
5273
|
-
readonly childScopes: Map<ScopedNode, Scope>;
|
|
5274
|
-
/** Whether this scope is deferred or if any of its ancestors are deferred. */
|
|
5275
|
-
readonly isDeferred: boolean;
|
|
5276
|
-
private constructor();
|
|
5277
|
-
static newRootScope(): Scope;
|
|
5278
|
-
/**
|
|
5279
|
-
* Process a template (either as a `Template` sub-template with variables, or a plain array of
|
|
5280
|
-
* template `Node`s) and construct its `Scope`.
|
|
5281
|
-
*/
|
|
5282
|
-
static apply(template: Node[]): Scope;
|
|
5283
|
-
/**
|
|
5284
|
-
* Internal method to process the scoped node and populate the `Scope`.
|
|
5285
|
-
*/
|
|
5286
|
-
private ingest;
|
|
5287
|
-
visitElement(element: Element): void;
|
|
5288
|
-
visitTemplate(template: Template): void;
|
|
5289
|
-
visitVariable(variable: Variable): void;
|
|
5290
|
-
visitReference(reference: Reference): void;
|
|
5291
|
-
visitDeferredBlock(deferred: DeferredBlock): void;
|
|
5292
|
-
visitDeferredBlockPlaceholder(block: DeferredBlockPlaceholder): void;
|
|
5293
|
-
visitDeferredBlockError(block: DeferredBlockError): void;
|
|
5294
|
-
visitDeferredBlockLoading(block: DeferredBlockLoading): void;
|
|
5295
|
-
visitSwitchBlock(block: SwitchBlock): void;
|
|
5296
|
-
visitSwitchBlockCase(block: SwitchBlockCase): void;
|
|
5297
|
-
visitForLoopBlock(block: ForLoopBlock): void;
|
|
5298
|
-
visitForLoopBlockEmpty(block: ForLoopBlockEmpty): void;
|
|
5299
|
-
visitIfBlock(block: IfBlock): void;
|
|
5300
|
-
visitIfBlockBranch(block: IfBlockBranch): void;
|
|
5301
|
-
visitContent(content: Content): void;
|
|
5302
|
-
visitLetDeclaration(decl: LetDeclaration): void;
|
|
5303
|
-
visitBoundAttribute(attr: BoundAttribute): void;
|
|
5304
|
-
visitBoundEvent(event: BoundEvent): void;
|
|
5305
|
-
visitBoundText(text: BoundText): void;
|
|
5306
|
-
visitText(text: Text): void;
|
|
5307
|
-
visitTextAttribute(attr: TextAttribute): void;
|
|
5308
|
-
visitIcu(icu: Icu): void;
|
|
5309
|
-
visitDeferredTrigger(trigger: DeferredTrigger): void;
|
|
5310
|
-
visitUnknownBlock(block: UnknownBlock): void;
|
|
5311
|
-
private maybeDeclare;
|
|
5312
|
-
/**
|
|
5313
|
-
* Look up a variable within this `Scope`.
|
|
5314
|
-
*
|
|
5315
|
-
* This can recurse into a parent `Scope` if it's available.
|
|
5316
|
-
*/
|
|
5317
|
-
lookup(name: string): TemplateEntity | null;
|
|
5318
|
-
/**
|
|
5319
|
-
* Get the child scope for a `ScopedNode`.
|
|
5320
|
-
*
|
|
5321
|
-
* This should always be defined.
|
|
5322
|
-
*/
|
|
5323
|
-
getChildScope(node: ScopedNode): Scope;
|
|
5324
|
-
private ingestScopedNode;
|
|
5325
|
-
}
|
|
5326
|
-
/**
|
|
5327
|
-
* Metadata container for a `Target` that allows queries for specific bits of metadata.
|
|
5328
|
-
*
|
|
5329
|
-
* See `BoundTarget` for documentation on the individual methods.
|
|
5330
|
-
*/
|
|
5331
|
-
declare class R3BoundTarget<DirectiveT extends DirectiveMeta> implements BoundTarget<DirectiveT> {
|
|
5332
|
-
readonly target: Target;
|
|
5333
|
-
private directives;
|
|
5334
|
-
private eagerDirectives;
|
|
5335
|
-
private bindings;
|
|
5336
|
-
private references;
|
|
5337
|
-
private exprTargets;
|
|
5338
|
-
private symbols;
|
|
5339
|
-
private nestingLevel;
|
|
5340
|
-
private scopedNodeEntities;
|
|
5341
|
-
private usedPipes;
|
|
5342
|
-
private eagerPipes;
|
|
5343
|
-
/** Deferred blocks, ordered as they appear in the template. */
|
|
5344
|
-
private deferredBlocks;
|
|
5345
|
-
/** Map of deferred blocks to their scope. */
|
|
5346
|
-
private deferredScopes;
|
|
5347
|
-
constructor(target: Target, directives: MatchedDirectives<DirectiveT>, eagerDirectives: DirectiveT[], bindings: BindingsMap<DirectiveT>, references: ReferenceMap<DirectiveT>, exprTargets: Map<AST, TemplateEntity>, symbols: Map<TemplateEntity, Template>, nestingLevel: Map<ScopedNode, number>, scopedNodeEntities: ScopedNodeEntities, usedPipes: Set<string>, eagerPipes: Set<string>, rawDeferred: DeferBlockScopes);
|
|
5348
|
-
getEntitiesInScope(node: ScopedNode | null): ReadonlySet<TemplateEntity>;
|
|
5349
|
-
getDirectivesOfNode(node: Element | Template): DirectiveT[] | null;
|
|
5350
|
-
getReferenceTarget(ref: Reference): ReferenceTarget<DirectiveT> | null;
|
|
5351
|
-
getConsumerOfBinding(binding: BoundAttribute | BoundEvent | TextAttribute): DirectiveT | Element | Template | null;
|
|
5352
|
-
getExpressionTarget(expr: AST): TemplateEntity | null;
|
|
5353
|
-
getDefinitionNodeOfSymbol(symbol: TemplateEntity): ScopedNode | null;
|
|
5354
|
-
getNestingLevel(node: ScopedNode): number;
|
|
5355
|
-
getUsedDirectives(): DirectiveT[];
|
|
5356
|
-
getEagerlyUsedDirectives(): DirectiveT[];
|
|
5357
|
-
getUsedPipes(): string[];
|
|
5358
|
-
getEagerlyUsedPipes(): string[];
|
|
5359
|
-
getDeferBlocks(): DeferredBlock[];
|
|
5360
|
-
getDeferredTriggerTarget(block: DeferredBlock, trigger: DeferredTrigger): Element | null;
|
|
5361
|
-
isDeferred(element: Element): boolean;
|
|
5362
|
-
/**
|
|
5363
|
-
* Finds an entity with a specific name in a scope.
|
|
5364
|
-
* @param rootNode Root node of the scope.
|
|
5365
|
-
* @param name Name of the entity.
|
|
5366
|
-
*/
|
|
5367
|
-
private findEntityInScope;
|
|
5368
|
-
/** Coerces a `ReferenceTarget` to an `Element`, if possible. */
|
|
5369
|
-
private referenceTargetToElement;
|
|
5370
|
-
}
|
|
5371
5251
|
|
|
5372
5252
|
declare class DomElementSchemaRegistry extends ElementSchemaRegistry {
|
|
5373
5253
|
private _schema;
|
|
@@ -5414,4 +5294,4 @@ declare class DomElementSchemaRegistry extends ElementSchemaRegistry {
|
|
|
5414
5294
|
|
|
5415
5295
|
declare const VERSION: Version;
|
|
5416
5296
|
|
|
5417
|
-
export { AST, ASTWithName, ASTWithSource, AbsoluteSourceSpan, type AnimationTriggerNames, ArrayType, ArrowFunctionExpr, type AstVisitor, Attribute, Binary, BinaryOperator, BinaryOperatorExpr, BindingPipe, BindingType, Block, BlockParameter, BoundElementProperty, type BoundTarget, BuiltinType, BuiltinTypeName, CUSTOM_ELEMENTS_SCHEMA, Call, Chain, ChangeDetectionStrategy, CommaExpr, Comment$1 as Comment, type CompileClassMetadataFn, type CompileIdentifierMetadata, CompilerConfig, Conditional, ConditionalExpr, ConstantPool, CssSelector, DEFAULT_INTERPOLATION_CONFIG, DYNAMIC_TYPE, DeclarationListEmitMode, type DeclareComponentTemplateInfo, DeclareFunctionStmt, DeclareVarStmt, DeferBlockDepsEmitMode, type DirectiveMeta, DomElementSchemaRegistry, DynamicImportExpr, EOF, Element$1 as Element, ElementSchemaRegistry, EmitterVisitorContext, EmptyExpr, Expansion, ExpansionCase, Expression, ExpressionBinding, ExpressionStatement, ExpressionType, type ExpressionVisitor, ExternalExpr, ExternalReference, FactoryTarget$1 as FactoryTarget, ForwardRefHandling, FunctionExpr, HtmlParser, HtmlTagDefinition, I18NHtmlParser, IfStmt, ImplicitReceiver, type InputOutputPropertySet, InstantiateExpr, Interpolation, InterpolationConfig, type InterpolationPiece, InvokeFunctionExpr, JSDocComment, JitEvaluator, KeyedRead, KeyedWrite, LeadingComment, type LegacyInputPartialMapping, LetDeclaration$1 as LetDeclaration, Lexer, type LexerRange, TokenType$1 as LexerTokenType, LiteralArray, LiteralArrayExpr, LiteralExpr, LiteralMap, LiteralMapExpr, type LiteralMapKey, LiteralPrimitive, LocalizedString, MapType, type MaybeForwardRefExpression, MessageBundle, NONE_TYPE, NO_ERRORS_SCHEMA, type Node$1 as Node, NodeWithI18n, NonNullAssert, NotExpr, ParenthesizedExpr, ParenthesizedExpression, ParseError, ParseErrorLevel, ParseFlags, ParseLocation, ParseSourceFile, ParseSourceSpan, ParseSpan, type ParseTemplateOptions, ParseTreeResult, ParsedEvent, ParsedEventType, type ParsedHostBindings, ParsedProperty, ParsedPropertyType, type ParsedTemplate, ParsedVariable, Parser, ParserError, PrefixNot, PropertyRead, PropertyWrite,
|
|
5297
|
+
export { AST, ASTWithName, ASTWithSource, AbsoluteSourceSpan, type AnimationTriggerNames, ArrayType, ArrowFunctionExpr, type AstVisitor, Attribute, Binary, BinaryOperator, BinaryOperatorExpr, BindingParser, BindingPipe, BindingType, Block, BlockParameter, BoundElementProperty, type BoundTarget, BuiltinType, BuiltinTypeName, CUSTOM_ELEMENTS_SCHEMA, Call, Chain, ChangeDetectionStrategy, CommaExpr, Comment$1 as Comment, type CompileClassMetadataFn, type CompileIdentifierMetadata, CompilerConfig, Conditional, ConditionalExpr, ConstantPool, CssSelector, DEFAULT_INTERPOLATION_CONFIG, DYNAMIC_TYPE, DeclarationListEmitMode, type DeclareComponentTemplateInfo, DeclareFunctionStmt, DeclareVarStmt, DeferBlockDepsEmitMode, type DirectiveMeta, DomElementSchemaRegistry, DynamicImportExpr, EOF, Element$1 as Element, ElementSchemaRegistry, EmitterVisitorContext, EmptyExpr, Expansion, ExpansionCase, Expression, ExpressionBinding, ExpressionStatement, ExpressionType, type ExpressionVisitor, ExternalExpr, ExternalReference, FactoryTarget$1 as FactoryTarget, ForwardRefHandling, FunctionExpr, HtmlParser, HtmlTagDefinition, I18NHtmlParser, IfStmt, ImplicitReceiver, type InputOutputPropertySet, InstantiateExpr, Interpolation, InterpolationConfig, type InterpolationPiece, InvokeFunctionExpr, JSDocComment, JitEvaluator, KeyedRead, KeyedWrite, LeadingComment, type LegacyInputPartialMapping, LetDeclaration$1 as LetDeclaration, Lexer, type LexerRange, TokenType$1 as LexerTokenType, LiteralArray, LiteralArrayExpr, LiteralExpr, LiteralMap, LiteralMapExpr, type LiteralMapKey, LiteralPrimitive, LocalizedString, MapType, type MaybeForwardRefExpression, MessageBundle, NONE_TYPE, NO_ERRORS_SCHEMA, type Node$1 as Node, NodeWithI18n, NonNullAssert, NotExpr, ParenthesizedExpr, ParenthesizedExpression, ParseError, ParseErrorLevel, ParseFlags, ParseLocation, ParseSourceFile, ParseSourceSpan, ParseSpan, type ParseTemplateOptions, ParseTreeResult, ParsedEvent, ParsedEventType, type ParsedHostBindings, ParsedProperty, ParsedPropertyType, type ParsedTemplate, ParsedVariable, Parser, ParserError, PrefixNot, PropertyRead, PropertyWrite, type R3ClassDebugInfo, type R3ClassMetadata, type R3CompiledExpression, type R3ComponentDeferMetadata, type R3ComponentMetadata, type R3DeclareClassMetadata, type R3DeclareClassMetadataAsync, type R3DeclareComponentMetadata, type R3DeclareDependencyMetadata, type R3DeclareDirectiveDependencyMetadata, type R3DeclareDirectiveMetadata, type R3DeclareFactoryMetadata, type R3DeclareHostDirectiveMetadata, type R3DeclareInjectableMetadata, type R3DeclareInjectorMetadata, type R3DeclareNgModuleDependencyMetadata, type R3DeclareNgModuleMetadata, type R3DeclarePipeDependencyMetadata, type R3DeclarePipeMetadata, type R3DeclareQueryMetadata, type R3DeclareTemplateDependencyMetadata, type R3DeferPerBlockDependency, type R3DeferPerComponentDependency, type R3DeferResolverFunctionMetadata, type R3DependencyMetadata, type R3DirectiveDependencyMetadata, type R3DirectiveMetadata, type R3FactoryMetadata, type R3HmrMetadata, type R3HmrNamespaceDependency, type R3HostDirectiveMetadata, type R3HostMetadata, Identifiers as R3Identifiers, type R3InjectableMetadata, type R3InjectorMetadata, type R3InputMetadata, type R3NgModuleDependencyMetadata, type R3NgModuleMetadata, type R3NgModuleMetadataGlobal, R3NgModuleMetadataKind, type R3PartialDeclaration, type R3PipeDependencyMetadata, type R3PipeMetadata, type R3QueryMetadata, type R3Reference, R3SelectorScopeMode, R3TargetBinder, type R3TemplateDependency, R3TemplateDependencyKind, type R3TemplateDependencyMetadata, ReadKeyExpr, ReadPropExpr, ReadVarExpr, RecursiveAstVisitor, RecursiveVisitor$1 as RecursiveVisitor, type ReferenceTarget, ResourceLoader, ReturnStatement, STRING_TYPE, SafeCall, SafeKeyedRead, SafePropertyRead, type SchemaMetadata, type ScopedNode, SelectorContext, SelectorListContext, SelectorMatcher, Serializer, type SourceMap, SplitInterpolation, Statement, type StatementVisitor, StmtModifier, StringToken, StringTokenKind, TagContentType, type TagDefinition, TaggedTemplateLiteral, TaggedTemplateLiteralExpr, type Target, type TargetBinder, type TemplateBinding, type TemplateBindingIdentifier, TemplateBindingParseResult, type TemplateEntity, TemplateLiteral, TemplateLiteralElement, TemplateLiteralElementExpr, TemplateLiteralExpr, Text$1 as Text, ThisReceiver, BlockNode as TmplAstBlockNode, BoundAttribute as TmplAstBoundAttribute, BoundDeferredTrigger as TmplAstBoundDeferredTrigger, BoundEvent as TmplAstBoundEvent, BoundText as TmplAstBoundText, Content as TmplAstContent, DeferredBlock as TmplAstDeferredBlock, DeferredBlockError as TmplAstDeferredBlockError, DeferredBlockLoading as TmplAstDeferredBlockLoading, DeferredBlockPlaceholder as TmplAstDeferredBlockPlaceholder, type DeferredBlockTriggers as TmplAstDeferredBlockTriggers, DeferredTrigger as TmplAstDeferredTrigger, Element as TmplAstElement, ForLoopBlock as TmplAstForLoopBlock, ForLoopBlockEmpty as TmplAstForLoopBlockEmpty, HostElement as TmplAstHostElement, HoverDeferredTrigger as TmplAstHoverDeferredTrigger, Icu as TmplAstIcu, IdleDeferredTrigger as TmplAstIdleDeferredTrigger, IfBlock as TmplAstIfBlock, IfBlockBranch as TmplAstIfBlockBranch, ImmediateDeferredTrigger as TmplAstImmediateDeferredTrigger, InteractionDeferredTrigger as TmplAstInteractionDeferredTrigger, LetDeclaration as TmplAstLetDeclaration, NeverDeferredTrigger as TmplAstNeverDeferredTrigger, type Node as TmplAstNode, RecursiveVisitor as TmplAstRecursiveVisitor, Reference as TmplAstReference, SwitchBlock as TmplAstSwitchBlock, SwitchBlockCase as TmplAstSwitchBlockCase, Template as TmplAstTemplate, Text as TmplAstText, TextAttribute as TmplAstTextAttribute, TimerDeferredTrigger as TmplAstTimerDeferredTrigger, UnknownBlock as TmplAstUnknownBlock, Variable as TmplAstVariable, ViewportDeferredTrigger as TmplAstViewportDeferredTrigger, type Visitor as TmplAstVisitor, Token, TokenType, TransplantedType, TreeError, Type, TypeModifier, type TypeVisitor, TypeofExpr, TypeofExpression, Unary, UnaryOperator, UnaryOperatorExpr, VERSION, VariableBinding, Version, ViewEncapsulation, type Visitor$1 as Visitor, 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_d as core, createCssSelectorFromNode, createInjectableType, createMayBeForwardRefExpression, devOnlyGuardedExpression, emitDistinctChangesOnlyDefaultValue, encapsulateStyle, findMatchingDirectivesAndPipes, getHtmlTagDefinition, getNsPrefix, getSafePropertyAccessString, identifierName, isNgContainer, isNgContent, isNgTemplate, jsDocComment, leadingComment, literal, literalMap, makeBindingParser, mergeNsAndName, output_ast_d as outputAst, parseHostBindings, parseTemplate, preserveWhitespacesDefault, publishFacade, r3JitTypeSourceSpan, sanitizeIdentifier, splitNsName, visitAll as tmplAstVisitAll, verifyHostBindings, visitAll$1 as visitAll };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/compiler",
|
|
3
|
-
"version": "20.0.0-next.
|
|
3
|
+
"version": "20.0.0-next.4",
|
|
4
4
|
"description": "Angular - the compiler library",
|
|
5
5
|
"author": "angular",
|
|
6
6
|
"license": "MIT",
|
|
@@ -10,14 +10,6 @@
|
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"tslib": "^2.3.0"
|
|
12
12
|
},
|
|
13
|
-
"peerDependencies": {
|
|
14
|
-
"@angular/core": "20.0.0-next.2"
|
|
15
|
-
},
|
|
16
|
-
"peerDependenciesMeta": {
|
|
17
|
-
"@angular/core": {
|
|
18
|
-
"optional": true
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
13
|
"repository": {
|
|
22
14
|
"type": "git",
|
|
23
15
|
"url": "https://github.com/angular/angular.git",
|