mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-26 09:12:16 +00:00
* cli, core * material cdk * schematics * chore(deps): bump ngx-color from 7.3.3 to 8.0.2 in /console (#4228) Bumps [ngx-color](https://github.com/scttcper/ngx-color) from 7.3.3 to 8.0.2. - [Release notes](https://github.com/scttcper/ngx-color/releases) - [Commits](https://github.com/scttcper/ngx-color/compare/v7.3.3...v8.0.2) --- updated-dependencies: - dependency-name: ngx-color dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * eslint-plugin * chore(deps): bump moment from 2.29.3 to 2.29.4 in /console (#3926) Bumps [moment](https://github.com/moment/moment) from 2.29.3 to 2.29.4. - [Release notes](https://github.com/moment/moment/releases) - [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md) - [Commits](https://github.com/moment/moment/compare/2.29.3...2.29.4) --- updated-dependencies: - dependency-name: moment dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump codemirror from 5.65.6 to 6.0.1 in /console (#3928) Bumps [codemirror](https://github.com/codemirror/basic-setup) from 5.65.6 to 6.0.1. - [Release notes](https://github.com/codemirror/basic-setup/releases) - [Changelog](https://github.com/codemirror/basic-setup/blob/main/CHANGELOG.md) - [Commits](https://github.com/codemirror/basic-setup/commits/6.0.1) --- updated-dependencies: - dependency-name: codemirror dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * lock * use codemirror 5 * remove redundant null undefined checks * i18n, undefined checks * remove redundant null and undefined checks * checks * fix: resolve null check warnings * commonjs deps Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Livio Spring <[email protected]>
40 lines
1.5 KiB
HTML
40 lines
1.5 KiB
HTML
<span class="title" mat-dialog-title>{{ 'USER.MACHINE.ADD.TITLE' | translate }}</span>
|
|
<div mat-dialog-content>
|
|
<p class="desc cnsl-secondary-text">{{ 'USER.MACHINE.ADD.DESCRIPTION' | translate }}</p>
|
|
|
|
<cnsl-form-field class="form-field">
|
|
<cnsl-label>{{ 'USER.MACHINE.TYPE' | translate }}</cnsl-label>
|
|
<mat-select [(ngModel)]="type">
|
|
<mat-option *ngFor="let t of types" [value]="t">
|
|
{{ 'USER.MACHINE.KEYTYPES.' + t | translate }}
|
|
</mat-option>
|
|
</mat-select>
|
|
</cnsl-form-field>
|
|
|
|
<cnsl-form-field class="add-key-form-field">
|
|
<cnsl-label>{{ 'USER.MACHINE.CHOOSEEXPIRY' | translate }} (optional)</cnsl-label>
|
|
<input cnslInput [matDatepicker]="picker" [min]="startDate" [formControl]="dateControl" />
|
|
<mat-datepicker-toggle style="top: 0" cnslSuffix [for]="picker"></mat-datepicker-toggle>
|
|
<mat-datepicker #picker [startAt]="startDate"></mat-datepicker>
|
|
<span cnslError *ngIf="dateControl?.errors?.matDatepickerMin?.min">
|
|
{{ 'USER.MACHINE.CHOOSEDATEAFTER' | translate }}:
|
|
{{ dateControl.errors?.matDatepickerMin.min.toDate() | localizedDate: 'EEE dd. MMM' }}
|
|
</span>
|
|
</cnsl-form-field>
|
|
</div>
|
|
<div mat-dialog-actions class="action">
|
|
<button mat-stroked-button (click)="closeDialog()">
|
|
{{ 'ACTIONS.CANCEL' | translate }}
|
|
</button>
|
|
|
|
<button
|
|
color="primary"
|
|
mat-raised-button
|
|
class="ok-button"
|
|
[disabled]="type === undefined || dateControl.invalid"
|
|
(click)="closeDialogWithSuccess()"
|
|
>
|
|
{{ 'ACTIONS.ADD' | translate }}
|
|
</button>
|
|
</div>
|