2020-06-02 16:10:20 +00:00
|
|
|
<div class="mat-typography mat-app-background" style="height: 100%;">
|
2021-02-25 10:33:38 +00: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 16:10:20 +00:00
|
|
|
<ng-devtools-tabs [angularVersion]="angularVersion"></ng-devtools-tabs>
|
|
|
|
|
</div>
|
2021-02-25 10:33:38 +00:00
|
|
|
<ng-template #notSupported>
|
|
|
|
|
<p class="text-message">
|
|
|
|
|
Angular Devtools only supports Angular versions 9 and above with
|
|
|
|
|
<a href="https://angular.io/guide/ivy" target="_blank">ivy</a> enabled.
|
|
|
|
|
</p>
|
|
|
|
|
</ng-template>
|
2020-06-02 16:10:20 +00:00
|
|
|
</ng-container>
|
2021-02-25 10:33:38 +00:00
|
|
|
<ng-template #angularIsInProdMode>
|
2020-06-02 16:10:20 +00:00
|
|
|
<p class="text-message">
|
2021-02-25 10:34:39 +00:00
|
|
|
We detected an application built with production configuration. Angular DevTools only supports development
|
|
|
|
|
builds.
|
2020-06-02 16:10:20 +00:00
|
|
|
</p>
|
|
|
|
|
</ng-template>
|
2020-02-07 18:39:15 +00:00
|
|
|
</ng-container>
|
2021-02-25 10:33:38 +00:00
|
|
|
<ng-template #errorOrLoading>
|
|
|
|
|
<ng-container *ngIf="angularExists === false; else loading">
|
2020-06-02 16:10:20 +00:00
|
|
|
<p class="text-message">
|
|
|
|
|
<span
|
|
|
|
|
class="info-icon"
|
|
|
|
|
matTooltip="You see this message because the app is still loading, or this is not an Angular application"
|
|
|
|
|
>i</span
|
|
|
|
|
>
|
2021-05-11 00:48:56 +00:00
|
|
|
Angular application not detected.
|
2020-06-02 16:10:20 +00:00
|
|
|
</p>
|
|
|
|
|
</ng-container>
|
2021-02-25 10:33:38 +00:00
|
|
|
<ng-template #loading>
|
2020-06-02 16:10:20 +00:00
|
|
|
<div class="initializing" *ngIf="angularExists === null">
|
|
|
|
|
<div class="loading"></div>
|
|
|
|
|
</div>
|
|
|
|
|
</ng-template>
|
2020-02-07 18:39:15 +00:00
|
|
|
</ng-template>
|
2020-06-02 16:10:20 +00:00
|
|
|
</div>
|