mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-20 20:08:46 +00:00
chore: deps update (#11968)
# Which Problems Are Solved This pr updates major and minor dependencies and is the first step on getting our dependabot alerts cut down. # How the Problems Are Solved Depedency updates across the board eg: - Upgrade Angular to v21 - Upgrade next.js to v16.2 - Upgrade tailwind to v4 in the login - Upgrade vitest to v4 in the login This is an uncompleted list refer to the changed files for a full overview of all the updates. # Additional Changes Migrated all control flow in the console to the modern control flow syntax. Fixed the dependsOn setting for the @zitadel/login:test-unit nx target. # Additional Context - Closes https://github.com/zitadel/zitadel/issues/11274 --------- Co-authored-by: Max Peintner <[email protected]>
This commit is contained in:
+38
-31
@@ -1,5 +1,5 @@
|
||||
<div class="auth-method-radio-button-wrapper" [ngClass]="{ compact: compact }">
|
||||
<ng-container *ngFor="let method of authMethods; index as i">
|
||||
@for (method of authMethods; track method; let i = $index) {
|
||||
<input
|
||||
type="radio"
|
||||
[disabled]="method.disabled"
|
||||
@@ -13,43 +13,50 @@
|
||||
[ngClass]="{ compact: compact, first: i === 0, last: i === authMethods.length - 1 }"
|
||||
[for]="method.key"
|
||||
>
|
||||
<div
|
||||
class="recommended"
|
||||
[ngClass]="{ not: method.notRecommended }"
|
||||
*ngIf="method.recommended || method.notRecommended"
|
||||
>
|
||||
{{ (method.recommended ? 'APP.OIDC.RECOMMENDED' : 'APP.OIDC.NOTRECOMMENDED') | translate }}
|
||||
</div>
|
||||
|
||||
@if (method.recommended || method.notRecommended) {
|
||||
<div class="recommended" [ngClass]="{ not: method.notRecommended }">
|
||||
{{ (method.recommended ? 'APP.OIDC.RECOMMENDED' : 'APP.OIDC.NOTRECOMMENDED') | translate }}
|
||||
</div>
|
||||
}
|
||||
<div class="cnsl-radio-header" [ngStyle]="{ background: method.background }">
|
||||
<span>{{ method.prefix }}</span>
|
||||
<div class="current" *ngIf="current === method.key">{{ 'APP.OIDC.CURRENT' | translate }}</div>
|
||||
@if (current === method.key) {
|
||||
<div class="current">{{ 'APP.OIDC.CURRENT' | translate }}</div>
|
||||
}
|
||||
</div>
|
||||
<p>{{ method.titleI18nKey | translate }}</p>
|
||||
<p class="type-desc cnsl-secondary-text">{{ method.descI18nKey | translate }}</p>
|
||||
<span class="fill-space"></span>
|
||||
<div class="app-specs cnsl-secondary-text">
|
||||
<div class="row" *ngIf="isOIDC && method && method.responseType !== undefined">
|
||||
<span class="row-entry">{{ 'APP.OIDC.RESPONSETYPE' | translate }}</span>
|
||||
<span>{{ 'APP.OIDC.RESPONSE.' + method.responseType.toString() | translate }}</span>
|
||||
</div>
|
||||
<div class="row" *ngIf="isOIDC && method.grantType !== undefined">
|
||||
<span class="row-entry">{{ 'APP.GRANT' | translate }}</span>
|
||||
<span
|
||||
><span class="space" *ngFor="let grant of method.grantType">{{
|
||||
'APP.OIDC.GRANT.' + grant.toString() | translate
|
||||
}}</span></span
|
||||
>
|
||||
</div>
|
||||
<div class="row" *ngIf="isOIDC && method.authMethod !== undefined">
|
||||
<span class="row-entry">{{ 'APP.AUTHMETHOD' | translate }}</span>
|
||||
<span>{{ 'APP.OIDC.AUTHMETHOD.' + method.authMethod.toString() | translate }}</span>
|
||||
</div>
|
||||
<div class="row" *ngIf="!isOIDC && method.apiAuthMethod !== undefined">
|
||||
<span class="row-entry">{{ 'APP.AUTHMETHOD' | translate }}</span>
|
||||
<span>{{ 'APP.API.AUTHMETHOD.' + method.apiAuthMethod.toString() | translate }}</span>
|
||||
</div>
|
||||
@if (isOIDC && method && method.responseType !== undefined) {
|
||||
<div class="row">
|
||||
<span class="row-entry">{{ 'APP.OIDC.RESPONSETYPE' | translate }}</span>
|
||||
<span>{{ 'APP.OIDC.RESPONSE.' + method.responseType.toString() | translate }}</span>
|
||||
</div>
|
||||
}
|
||||
@if (isOIDC && method.grantType !== undefined) {
|
||||
<div class="row">
|
||||
<span class="row-entry">{{ 'APP.GRANT' | translate }}</span>
|
||||
<span>
|
||||
@for (grant of method.grantType; track grant) {
|
||||
<span class="space">{{ 'APP.OIDC.GRANT.' + grant.toString() | translate }}</span>
|
||||
}
|
||||
</span>
|
||||
</div>
|
||||
}
|
||||
@if (isOIDC && method.authMethod !== undefined) {
|
||||
<div class="row">
|
||||
<span class="row-entry">{{ 'APP.AUTHMETHOD' | translate }}</span>
|
||||
<span>{{ 'APP.OIDC.AUTHMETHOD.' + method.authMethod.toString() | translate }}</span>
|
||||
</div>
|
||||
}
|
||||
@if (!isOIDC && method.apiAuthMethod !== undefined) {
|
||||
<div class="row">
|
||||
<span class="row-entry">{{ 'APP.AUTHMETHOD' | translate }}</span>
|
||||
<span>{{ 'APP.API.AUTHMETHOD.' + method.apiAuthMethod.toString() | translate }}</span>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
</label>
|
||||
</ng-container>
|
||||
}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user