@@ -1964,6 +1964,70 @@ export declare class MyApp {
19641964 static ɵcmp : i0 . ɵɵComponentDeclaration < MyApp , "ng-component" , never , { } , { } , never , never , true , never > ;
19651965}
19661966
1967+ /****************************************************************************************************
1968+ * PARTIAL FILE: if_element_root_node_at_end.js
1969+ ****************************************************************************************************/
1970+ import { Component, Directive, Input } from '@angular/core' ;
1971+ import * as i0 from "@angular/core" ;
1972+ export class Binding {
1973+ constructor ( ) {
1974+ this . binding = 0 ;
1975+ }
1976+ }
1977+ Binding . ɵfac = i0 . ɵɵngDeclareFactory ( { minVersion : "12.0.0" , version : "0.0.0-PLACEHOLDER" , ngImport : i0 , type : Binding , deps : [ ] , target : i0 . ɵɵFactoryTarget . Directive } ) ;
1978+ Binding . ɵdir = i0 . ɵɵngDeclareDirective ( { minVersion : "14.0.0" , version : "0.0.0-PLACEHOLDER" , type : Binding , isStandalone : true , selector : "[binding]" , inputs : { binding : "binding" } , ngImport : i0 } ) ;
1979+ i0 . ɵɵngDeclareClassMetadata ( { minVersion : "12.0.0" , version : "0.0.0-PLACEHOLDER" , ngImport : i0 , type : Binding , decorators : [ {
1980+ type : Directive ,
1981+ args : [ { selector : '[binding]' } ]
1982+ } ] , propDecorators : { binding : [ {
1983+ type : Input
1984+ } ] } } ) ;
1985+ export class MyApp {
1986+ constructor ( ) {
1987+ this . expr = 0 ;
1988+ }
1989+ }
1990+ MyApp . ɵfac = i0 . ɵɵngDeclareFactory ( { minVersion : "12.0.0" , version : "0.0.0-PLACEHOLDER" , ngImport : i0 , type : MyApp , deps : [ ] , target : i0 . ɵɵFactoryTarget . Component } ) ;
1991+ MyApp . ɵcmp = i0 . ɵɵngDeclareComponent ( { minVersion : "17.0.0" , version : "0.0.0-PLACEHOLDER" , type : MyApp , isStandalone : true , selector : "ng-component" , ngImport : i0 , template : `
1992+ @if (expr === 0) {
1993+ Hello <div foo="1" bar="2" [binding]="3">{{expr}}</div>
1994+ } @else if (expr === 1) {
1995+ Hello <div foo="4" bar="5" [binding]="6">{{expr}}</div>
1996+ } @else {
1997+ Hello <div foo="7" bar="8" [binding]="9">{{expr}}</div>
1998+ }
1999+ ` , isInline : true , dependencies : [ { kind : "directive" , type : Binding , selector : "[binding]" , inputs : [ "binding" ] } ] } ) ;
2000+ i0 . ɵɵngDeclareClassMetadata ( { minVersion : "12.0.0" , version : "0.0.0-PLACEHOLDER" , ngImport : i0 , type : MyApp , decorators : [ {
2001+ type : Component ,
2002+ args : [ {
2003+ template : `
2004+ @if (expr === 0) {
2005+ Hello <div foo="1" bar="2" [binding]="3">{{expr}}</div>
2006+ } @else if (expr === 1) {
2007+ Hello <div foo="4" bar="5" [binding]="6">{{expr}}</div>
2008+ } @else {
2009+ Hello <div foo="7" bar="8" [binding]="9">{{expr}}</div>
2010+ }
2011+ ` ,
2012+ imports : [ Binding ] ,
2013+ } ]
2014+ } ] } ) ;
2015+
2016+ /****************************************************************************************************
2017+ * PARTIAL FILE: if_element_root_node_at_end.d.ts
2018+ ****************************************************************************************************/
2019+ import * as i0 from "@angular/core" ;
2020+ export declare class Binding {
2021+ binding : number ;
2022+ static ɵfac : i0 . ɵɵFactoryDeclaration < Binding , never > ;
2023+ static ɵdir : i0 . ɵɵDirectiveDeclaration < Binding , "[binding]" , never , { "binding" : { "alias" : "binding" ; "required" : false ; } ; } , { } , never , never , true , never > ;
2024+ }
2025+ export declare class MyApp {
2026+ expr : number ;
2027+ static ɵfac : i0 . ɵɵFactoryDeclaration < MyApp , never > ;
2028+ static ɵcmp : i0 . ɵɵComponentDeclaration < MyApp , "ng-component" , never , { } , { } , never , never , true , never > ;
2029+ }
2030+
19672031/****************************************************************************************************
19682032 * PARTIAL FILE: for_element_root_node.js
19692033 ****************************************************************************************************/
@@ -2084,6 +2148,66 @@ export declare class MyApp {
20842148 static ɵcmp : i0 . ɵɵComponentDeclaration < MyApp , "ng-component" , never , { } , { } , never , never , true , never > ;
20852149}
20862150
2151+ /****************************************************************************************************
2152+ * PARTIAL FILE: for_element_root_node_at_end.js
2153+ ****************************************************************************************************/
2154+ import { Component, Directive, Input } from '@angular/core' ;
2155+ import * as i0 from "@angular/core" ;
2156+ export class Binding {
2157+ constructor ( ) {
2158+ this . binding = 0 ;
2159+ }
2160+ }
2161+ Binding . ɵfac = i0 . ɵɵngDeclareFactory ( { minVersion : "12.0.0" , version : "0.0.0-PLACEHOLDER" , ngImport : i0 , type : Binding , deps : [ ] , target : i0 . ɵɵFactoryTarget . Directive } ) ;
2162+ Binding . ɵdir = i0 . ɵɵngDeclareDirective ( { minVersion : "14.0.0" , version : "0.0.0-PLACEHOLDER" , type : Binding , isStandalone : true , selector : "[binding]" , inputs : { binding : "binding" } , ngImport : i0 } ) ;
2163+ i0 . ɵɵngDeclareClassMetadata ( { minVersion : "12.0.0" , version : "0.0.0-PLACEHOLDER" , ngImport : i0 , type : Binding , decorators : [ {
2164+ type : Directive ,
2165+ args : [ { selector : '[binding]' } ]
2166+ } ] , propDecorators : { binding : [ {
2167+ type : Input
2168+ } ] } } ) ;
2169+ export class MyApp {
2170+ constructor ( ) {
2171+ this . items = [ 1 , 2 , 3 ] ;
2172+ }
2173+ }
2174+ MyApp . ɵfac = i0 . ɵɵngDeclareFactory ( { minVersion : "12.0.0" , version : "0.0.0-PLACEHOLDER" , ngImport : i0 , type : MyApp , deps : [ ] , target : i0 . ɵɵFactoryTarget . Component } ) ;
2175+ MyApp . ɵcmp = i0 . ɵɵngDeclareComponent ( { minVersion : "17.0.0" , version : "0.0.0-PLACEHOLDER" , type : MyApp , isStandalone : true , selector : "ng-component" , ngImport : i0 , template : `
2176+ @for (item of items; track item) {
2177+ Hello <div foo="1" bar="2" [binding]="3">{{item}}</div>
2178+ } @empty {
2179+ Hello <span empty-foo="1" empty-bar="2" [binding]="3">Empty!</span>
2180+ }
2181+ ` , isInline : true , dependencies : [ { kind : "directive" , type : Binding , selector : "[binding]" , inputs : [ "binding" ] } ] } ) ;
2182+ i0 . ɵɵngDeclareClassMetadata ( { minVersion : "12.0.0" , version : "0.0.0-PLACEHOLDER" , ngImport : i0 , type : MyApp , decorators : [ {
2183+ type : Component ,
2184+ args : [ {
2185+ template : `
2186+ @for (item of items; track item) {
2187+ Hello <div foo="1" bar="2" [binding]="3">{{item}}</div>
2188+ } @empty {
2189+ Hello <span empty-foo="1" empty-bar="2" [binding]="3">Empty!</span>
2190+ }
2191+ ` ,
2192+ imports : [ Binding ] ,
2193+ } ]
2194+ } ] } ) ;
2195+
2196+ /****************************************************************************************************
2197+ * PARTIAL FILE: for_element_root_node_at_end.d.ts
2198+ ****************************************************************************************************/
2199+ import * as i0 from "@angular/core" ;
2200+ export declare class Binding {
2201+ binding : number ;
2202+ static ɵfac : i0 . ɵɵFactoryDeclaration < Binding , never > ;
2203+ static ɵdir : i0 . ɵɵDirectiveDeclaration < Binding , "[binding]" , never , { "binding" : { "alias" : "binding" ; "required" : false ; } ; } , { } , never , never , true , never > ;
2204+ }
2205+ export declare class MyApp {
2206+ items : number [ ] ;
2207+ static ɵfac : i0 . ɵɵFactoryDeclaration < MyApp , never > ;
2208+ static ɵcmp : i0 . ɵɵComponentDeclaration < MyApp , "ng-component" , never , { } , { } , never , never , true , never > ;
2209+ }
2210+
20872211/****************************************************************************************************
20882212 * PARTIAL FILE: switch_element_root_node.js
20892213 ****************************************************************************************************/
@@ -2156,6 +2280,78 @@ export declare class MyApp {
21562280 static ɵcmp : i0 . ɵɵComponentDeclaration < MyApp , "ng-component" , never , { } , { } , never , never , true , never > ;
21572281}
21582282
2283+ /****************************************************************************************************
2284+ * PARTIAL FILE: switch_element_root_node_at_end.js
2285+ ****************************************************************************************************/
2286+ import { Component, Directive, Input } from '@angular/core' ;
2287+ import * as i0 from "@angular/core" ;
2288+ export class Binding {
2289+ constructor ( ) {
2290+ this . binding = 0 ;
2291+ }
2292+ }
2293+ Binding . ɵfac = i0 . ɵɵngDeclareFactory ( { minVersion : "12.0.0" , version : "0.0.0-PLACEHOLDER" , ngImport : i0 , type : Binding , deps : [ ] , target : i0 . ɵɵFactoryTarget . Directive } ) ;
2294+ Binding . ɵdir = i0 . ɵɵngDeclareDirective ( { minVersion : "14.0.0" , version : "0.0.0-PLACEHOLDER" , type : Binding , isStandalone : true , selector : "[binding]" , inputs : { binding : "binding" } , ngImport : i0 } ) ;
2295+ i0 . ɵɵngDeclareClassMetadata ( { minVersion : "12.0.0" , version : "0.0.0-PLACEHOLDER" , ngImport : i0 , type : Binding , decorators : [ {
2296+ type : Directive ,
2297+ args : [ { selector : '[binding]' } ]
2298+ } ] , propDecorators : { binding : [ {
2299+ type : Input
2300+ } ] } } ) ;
2301+ export class MyApp {
2302+ constructor ( ) {
2303+ this . expr = 0 ;
2304+ }
2305+ }
2306+ MyApp . ɵfac = i0 . ɵɵngDeclareFactory ( { minVersion : "12.0.0" , version : "0.0.0-PLACEHOLDER" , ngImport : i0 , type : MyApp , deps : [ ] , target : i0 . ɵɵFactoryTarget . Component } ) ;
2307+ MyApp . ɵcmp = i0 . ɵɵngDeclareComponent ( { minVersion : "17.0.0" , version : "0.0.0-PLACEHOLDER" , type : MyApp , isStandalone : true , selector : "ng-component" , ngImport : i0 , template : `
2308+ @switch (expr) {
2309+ @case (0) {
2310+ Hello <div foo="1" bar="2" [binding]="3">{{expr}}</div>
2311+ }
2312+ @case (1) {
2313+ Hello <div foo="4" bar="5" [binding]="6">{{expr}}</div>
2314+ }
2315+ @default {
2316+ Hello <div foo="7" bar="8" [binding]="9">{{expr}}</div>
2317+ }
2318+ }
2319+ ` , isInline : true , dependencies : [ { kind : "directive" , type : Binding , selector : "[binding]" , inputs : [ "binding" ] } ] } ) ;
2320+ i0 . ɵɵngDeclareClassMetadata ( { minVersion : "12.0.0" , version : "0.0.0-PLACEHOLDER" , ngImport : i0 , type : MyApp , decorators : [ {
2321+ type : Component ,
2322+ args : [ {
2323+ template : `
2324+ @switch (expr) {
2325+ @case (0) {
2326+ Hello <div foo="1" bar="2" [binding]="3">{{expr}}</div>
2327+ }
2328+ @case (1) {
2329+ Hello <div foo="4" bar="5" [binding]="6">{{expr}}</div>
2330+ }
2331+ @default {
2332+ Hello <div foo="7" bar="8" [binding]="9">{{expr}}</div>
2333+ }
2334+ }
2335+ ` ,
2336+ imports : [ Binding ] ,
2337+ } ]
2338+ } ] } ) ;
2339+
2340+ /****************************************************************************************************
2341+ * PARTIAL FILE: switch_element_root_node_at_end.d.ts
2342+ ****************************************************************************************************/
2343+ import * as i0 from "@angular/core" ;
2344+ export declare class Binding {
2345+ binding : number ;
2346+ static ɵfac : i0 . ɵɵFactoryDeclaration < Binding , never > ;
2347+ static ɵdir : i0 . ɵɵDirectiveDeclaration < Binding , "[binding]" , never , { "binding" : { "alias" : "binding" ; "required" : false ; } ; } , { } , never , never , true , never > ;
2348+ }
2349+ export declare class MyApp {
2350+ expr : number ;
2351+ static ɵfac : i0 . ɵɵFactoryDeclaration < MyApp , never > ;
2352+ static ɵcmp : i0 . ɵɵComponentDeclaration < MyApp , "ng-component" , never , { } , { } , never , never , true , never > ;
2353+ }
2354+
21592355/****************************************************************************************************
21602356 * PARTIAL FILE: switch_template_root_node.js
21612357 ****************************************************************************************************/
0 commit comments