2020-06-02 12:10:20 -04:00
< div class = "mat-typography mat-app-background" style = "height: 100%;" >
2021-02-25 05:33:38 -05:00
< ng-container * ngIf = "angularExists === true; else errorOrLoading" >
< ng-container * ngIf = "angularIsInDevMode; else angularIsInProdMode" >
< div * ngIf = "supportedVersion; else notSupported" class = "devtools-wrapper noselect" [@ enterAnimation ] >
2020-06-02 12:10:20 -04:00
< ng-devtools-tabs [ angularVersion ]=" angularVersion " ></ ng-devtools-tabs >
</ div >
2021-02-25 05:33:38 -05:00
< ng-template # notSupported >
< p class = "text-message" >
2022-05-04 17:03:02 -07:00
Angular Devtools only supports Angular versions 12 and above
2021-02-25 05:33:38 -05:00
</ p >
</ ng-template >
2020-06-02 12:10:20 -04:00
</ ng-container >
2021-02-25 05:33:38 -05:00
< ng-template # angularIsInProdMode >
2020-06-02 12:10:20 -04:00
< p class = "text-message" >
2023-02-06 15:38:14 +01:00
We detected an application built with production configuration. Angular DevTools only supports builds where < code > optimization</ code > is set to < code > false</ code > .
2020-06-02 12:10:20 -04:00
</ p >
</ ng-template >
2020-02-07 13:39:15 -05:00
</ ng-container >
2021-02-25 05:33:38 -05:00
< ng-template # errorOrLoading >
< ng-container * ngIf = "angularExists === false; else loading" >
2020-06-02 12:10:20 -04:00
< p class = "text-message" >
2022-04-25 17:50:43 -04:00
< span class = "info-icon" matTooltip = "You see this message because the app is still loading, or this is not an Angular application" > i</ span
2020-06-02 12:10:20 -04:00
>
2021-05-10 17:48:56 -07:00
Angular application not detected.
2020-06-02 12:10:20 -04:00
</ p >
</ ng-container >
2021-02-25 05:33:38 -05:00
< ng-template # loading >
2020-06-02 12:10:20 -04:00
< div class = "initializing" * ngIf = "angularExists === null" >
2022-04-25 17:50:43 -04:00
< div class = "loading" >
< svg version = "1.1" id = "Layer_1" xmlns = "http://www.w3.org/2000/svg" xmlns:xlink = "http://www.w3.org/1999/xlink" x = "0px" y = "0px"
viewBox = "0 0 250 250" style = "enable-background:new 0 0 250 250;" xml:space = "preserve" >
< style type = "text/css" >
. st0 { fill : #DD0031 ;}
. st1 { fill : #C3002F ;}
. st2 { fill : #FFFFFF ;}
</ style >
< g >
< polygon class = "st0" points = "125,30 125,30 125,30 31.9,63.2 46.1,186.3 125,230 125,230 125,230 203.9,186.3 218.1,63.2 " />
< polygon class = "st1" points = "125,30 125,52.2 125,52.1 125,153.4 125,153.4 125,230 125,230 203.9,186.3 218.1,63.2 125,30 " />
< path class = "st2" d = "M125,52.1L66.8,182.6h0h21.7h0l11.7-29.2h49.4l11.7,29.2h0h21.7h0L125,52.1L125,52.1L125,52.1L125,52.1
L125,52.1z M142,135.4H108l17-40.9L142,135.4z" />
</ g >
</ svg >
</ div >
2020-06-02 12:10:20 -04:00
</ div >
</ ng-template >
2020-02-07 13:39:15 -05:00
</ ng-template >
2023-02-06 15:38:14 +01:00
</ div >