@@ -2014,6 +2014,152 @@ export declare class MyApp {
20142014 static ɵcmp : i0 . ɵɵComponentDeclaration < MyApp , "ng-component" , never , { } , { } , never , never , true , never > ;
20152015}
20162016
2017+ /****************************************************************************************************
2018+ * PARTIAL FILE: switch_element_root_node.js
2019+ ****************************************************************************************************/
2020+ import { Component, Directive, Input } from '@angular/core' ;
2021+ import * as i0 from "@angular/core" ;
2022+ export class Binding {
2023+ constructor ( ) {
2024+ this . binding = 0 ;
2025+ }
2026+ }
2027+ Binding . ɵfac = i0 . ɵɵngDeclareFactory ( { minVersion : "12.0.0" , version : "0.0.0-PLACEHOLDER" , ngImport : i0 , type : Binding , deps : [ ] , target : i0 . ɵɵFactoryTarget . Directive } ) ;
2028+ Binding . ɵdir = i0 . ɵɵngDeclareDirective ( { minVersion : "14.0.0" , version : "0.0.0-PLACEHOLDER" , type : Binding , isStandalone : true , selector : "[binding]" , inputs : { binding : "binding" } , ngImport : i0 } ) ;
2029+ i0 . ɵɵngDeclareClassMetadata ( { minVersion : "12.0.0" , version : "0.0.0-PLACEHOLDER" , ngImport : i0 , type : Binding , decorators : [ {
2030+ type : Directive ,
2031+ args : [ { standalone : true , selector : '[binding]' } ]
2032+ } ] , propDecorators : { binding : [ {
2033+ type : Input
2034+ } ] } } ) ;
2035+ export class MyApp {
2036+ constructor ( ) {
2037+ this . expr = 0 ;
2038+ }
2039+ }
2040+ MyApp . ɵfac = i0 . ɵɵngDeclareFactory ( { minVersion : "12.0.0" , version : "0.0.0-PLACEHOLDER" , ngImport : i0 , type : MyApp , deps : [ ] , target : i0 . ɵɵFactoryTarget . Component } ) ;
2041+ MyApp . ɵcmp = i0 . ɵɵngDeclareComponent ( { minVersion : "17.0.0" , version : "0.0.0-PLACEHOLDER" , type : MyApp , isStandalone : true , selector : "ng-component" , ngImport : i0 , template : `
2042+ @switch (expr) {
2043+ @case (0) {
2044+ <div foo="1" bar="2" [binding]="3">{{expr}}</div>
2045+ }
2046+ @case (1) {
2047+ <div foo="4" bar="5" [binding]="6">{{expr}}</div>
2048+ }
2049+ @default {
2050+ <div foo="7" bar="8" [binding]="9">{{expr}}</div>
2051+ }
2052+ }
2053+ ` , isInline : true , dependencies : [ { kind : "directive" , type : Binding , selector : "[binding]" , inputs : [ "binding" ] } ] } ) ;
2054+ i0 . ɵɵngDeclareClassMetadata ( { minVersion : "12.0.0" , version : "0.0.0-PLACEHOLDER" , ngImport : i0 , type : MyApp , decorators : [ {
2055+ type : Component ,
2056+ args : [ {
2057+ template : `
2058+ @switch (expr) {
2059+ @case (0) {
2060+ <div foo="1" bar="2" [binding]="3">{{expr}}</div>
2061+ }
2062+ @case (1) {
2063+ <div foo="4" bar="5" [binding]="6">{{expr}}</div>
2064+ }
2065+ @default {
2066+ <div foo="7" bar="8" [binding]="9">{{expr}}</div>
2067+ }
2068+ }
2069+ ` ,
2070+ standalone : true ,
2071+ imports : [ Binding ] ,
2072+ } ]
2073+ } ] } ) ;
2074+
2075+ /****************************************************************************************************
2076+ * PARTIAL FILE: switch_element_root_node.d.ts
2077+ ****************************************************************************************************/
2078+ import * as i0 from "@angular/core" ;
2079+ export declare class Binding {
2080+ binding : number ;
2081+ static ɵfac : i0 . ɵɵFactoryDeclaration < Binding , never > ;
2082+ static ɵdir : i0 . ɵɵDirectiveDeclaration < Binding , "[binding]" , never , { "binding" : { "alias" : "binding" ; "required" : false ; } ; } , { } , never , never , true , never > ;
2083+ }
2084+ export declare class MyApp {
2085+ expr : number ;
2086+ static ɵfac : i0 . ɵɵFactoryDeclaration < MyApp , never > ;
2087+ static ɵcmp : i0 . ɵɵComponentDeclaration < MyApp , "ng-component" , never , { } , { } , never , never , true , never > ;
2088+ }
2089+
2090+ /****************************************************************************************************
2091+ * PARTIAL FILE: switch_template_root_node.js
2092+ ****************************************************************************************************/
2093+ import { Component, Directive, Input } from '@angular/core' ;
2094+ import * as i0 from "@angular/core" ;
2095+ export class Binding {
2096+ constructor ( ) {
2097+ this . binding = 0 ;
2098+ }
2099+ }
2100+ Binding . ɵfac = i0 . ɵɵngDeclareFactory ( { minVersion : "12.0.0" , version : "0.0.0-PLACEHOLDER" , ngImport : i0 , type : Binding , deps : [ ] , target : i0 . ɵɵFactoryTarget . Directive } ) ;
2101+ Binding . ɵdir = i0 . ɵɵngDeclareDirective ( { minVersion : "14.0.0" , version : "0.0.0-PLACEHOLDER" , type : Binding , isStandalone : true , selector : "[binding]" , inputs : { binding : "binding" } , ngImport : i0 } ) ;
2102+ i0 . ɵɵngDeclareClassMetadata ( { minVersion : "12.0.0" , version : "0.0.0-PLACEHOLDER" , ngImport : i0 , type : Binding , decorators : [ {
2103+ type : Directive ,
2104+ args : [ { standalone : true , selector : '[binding]' } ]
2105+ } ] , propDecorators : { binding : [ {
2106+ type : Input
2107+ } ] } } ) ;
2108+ export class MyApp {
2109+ constructor ( ) {
2110+ this . expr = 0 ;
2111+ }
2112+ }
2113+ MyApp . ɵfac = i0 . ɵɵngDeclareFactory ( { minVersion : "12.0.0" , version : "0.0.0-PLACEHOLDER" , ngImport : i0 , type : MyApp , deps : [ ] , target : i0 . ɵɵFactoryTarget . Component } ) ;
2114+ MyApp . ɵcmp = i0 . ɵɵngDeclareComponent ( { minVersion : "17.0.0" , version : "0.0.0-PLACEHOLDER" , type : MyApp , isStandalone : true , selector : "ng-component" , ngImport : i0 , template : `
2115+ @switch (expr) {
2116+ @case (0) {
2117+ <ng-template foo="1" bar="2" [binding]="3">{{expr}}</ng-template>
2118+ }
2119+ @case (1) {
2120+ <ng-template foo="4" bar="5" [binding]="6">{{expr}}</ng-template>
2121+ }
2122+ @default {
2123+ <ng-template foo="7" bar="8" [binding]="9">{{expr}}</ng-template>
2124+ }
2125+ }
2126+ ` , isInline : true , dependencies : [ { kind : "directive" , type : Binding , selector : "[binding]" , inputs : [ "binding" ] } ] } ) ;
2127+ i0 . ɵɵngDeclareClassMetadata ( { minVersion : "12.0.0" , version : "0.0.0-PLACEHOLDER" , ngImport : i0 , type : MyApp , decorators : [ {
2128+ type : Component ,
2129+ args : [ {
2130+ template : `
2131+ @switch (expr) {
2132+ @case (0) {
2133+ <ng-template foo="1" bar="2" [binding]="3">{{expr}}</ng-template>
2134+ }
2135+ @case (1) {
2136+ <ng-template foo="4" bar="5" [binding]="6">{{expr}}</ng-template>
2137+ }
2138+ @default {
2139+ <ng-template foo="7" bar="8" [binding]="9">{{expr}}</ng-template>
2140+ }
2141+ }
2142+ ` ,
2143+ standalone : true ,
2144+ imports : [ Binding ] ,
2145+ } ]
2146+ } ] } ) ;
2147+
2148+ /****************************************************************************************************
2149+ * PARTIAL FILE: switch_template_root_node.d.ts
2150+ ****************************************************************************************************/
2151+ import * as i0 from "@angular/core" ;
2152+ export declare class Binding {
2153+ binding : number ;
2154+ static ɵfac : i0 . ɵɵFactoryDeclaration < Binding , never > ;
2155+ static ɵdir : i0 . ɵɵDirectiveDeclaration < Binding , "[binding]" , never , { "binding" : { "alias" : "binding" ; "required" : false ; } ; } , { } , never , never , true , never > ;
2156+ }
2157+ export declare class MyApp {
2158+ expr : number ;
2159+ static ɵfac : i0 . ɵɵFactoryDeclaration < MyApp , never > ;
2160+ static ɵcmp : i0 . ɵɵComponentDeclaration < MyApp , "ng-component" , never , { } , { } , never , never , true , never > ;
2161+ }
2162+
20172163/****************************************************************************************************
20182164 * PARTIAL FILE: nested_for_computed_template_variables.js
20192165 ****************************************************************************************************/
0 commit comments