From 05d09aa6f0f0dd0f90e1559b92955e72a3d56ce4 Mon Sep 17 00:00:00 2001 From: shimingxy Date: Thu, 23 Oct 2025 10:09:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E7=AB=AF=E5=9B=BE=E7=89=87=E6=93=8D?= =?UTF-8?q?=E4=BD=9C=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../config/profile/profile.component.html | 734 +++++++++++------- .../app-basic-details-editer.component.html | 1 + .../app-cas-details-editer.component.html | 1 + ...p-extend-api-details-editer.component.html | 1 + ...p-form-based-details-editer.component.html | 1 + .../app-jwt-details-editer.component.html | 1 + .../app-oauth20-details-editer.component.html | 432 ++++++----- .../app-saml20-details-editer.component.html | 1 + ...-token-based-details-editer.component.html | 1 + .../user-editer/user-editer.component.html | 1 + 10 files changed, 690 insertions(+), 484 deletions(-) diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/profile/profile.component.html b/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/profile/profile.component.html index e34d3410c..957ad092b 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/profile/profile.component.html +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/profile/profile.component.html @@ -10,36 +10,46 @@ {{ 'mxk.text.id' | i18n }} - - + +
- {{ 'mxk.users.displayName' | i18n }} - - - + {{ 'mxk.users.displayName' | i18n }} + +
- {{ 'mxk.users.username' | i18n }} - - - + {{ 'mxk.users.username' | i18n }} + +
{{ 'mxk.users.gender' | i18n }} - + @@ -48,19 +58,29 @@ - {{ 'mxk.users.picture' | i18n }} - + {{ 'mxk.users.picture' | i18n }}
- +
Upload
- + @@ -70,55 +90,77 @@
- {{ 'mxk.users.employeeNumber' | i18n }} - - - + {{ 'mxk.users.employeeNumber' | i18n }} + + - {{ 'mxk.users.windowsAccount' | i18n }} - + {{ 'mxk.users.windowsAccount' | i18n }} - +
{{ 'mxk.users.mobile' | i18n }} - - + + {{ 'mxk.users.email' | i18n }} - - + +
- {{ 'mxk.users.userType' | i18n }} - - - + {{ 'mxk.users.userType' | i18n }} + + - - + @@ -128,15 +170,17 @@ - {{ 'mxk.users.userstate' | i18n }} - - - + {{ 'mxk.users.userstate' | i18n }} + + - - + @@ -146,21 +190,28 @@
- {{ 'mxk.text.sortIndex' | i18n }} - - - + {{ 'mxk.text.sortIndex' | i18n }} + + - {{ 'mxk.text.status' | i18n }} - - - + {{ 'mxk.text.status' | i18n }} + + @@ -174,37 +225,53 @@
- {{ 'mxk.users.familyName' | i18n }} - + {{ 'mxk.users.familyName' | i18n }} - + - {{ 'mxk.users.middleName' | i18n }} - + {{ 'mxk.users.middleName' | i18n }} - +
- {{ 'mxk.users.givenName' | i18n }} - + {{ 'mxk.users.givenName' | i18n }} - + - {{ 'mxk.users.nickName' | i18n }} - + {{ 'mxk.users.nickName' | i18n }} - +
@@ -212,8 +279,7 @@ {{ 'mxk.users.idtype' | i18n }} - + @@ -223,11 +289,15 @@ - {{ 'mxk.users.idCardNo' | i18n }} - + {{ 'mxk.users.idCardNo' | i18n }} - +
@@ -235,8 +305,7 @@ {{ 'mxk.users.married' | i18n }} - + @@ -246,66 +315,71 @@ - {{ 'mxk.users.birthDate' | i18n }} - + {{ 'mxk.users.birthDate' | i18n }} - +
- {{ 'mxk.users.education' | i18n - }} + {{ 'mxk.users.education' | i18n }} - + - {{ 'mxk.users.graduateFrom' | i18n - }} + {{ 'mxk.users.graduateFrom' | i18n }} - +
- {{ 'mxk.users.graduateDate' | i18n - }} + {{ 'mxk.users.graduateDate' | i18n }} - + - {{ 'mxk.users.startWorkDate' | i18n }} - + {{ 'mxk.users.startWorkDate' | i18n }} - +
- {{ 'mxk.users.timeZone' | i18n - }} + {{ 'mxk.users.timeZone' | i18n }} - + - {{ 'mxk.users.preferredLanguage' | - i18n }} + {{ 'mxk.users.preferredLanguage' | i18n }} - +
@@ -313,15 +387,19 @@ {{ 'mxk.users.website' | i18n }} - + {{ 'mxk.users.ims' | i18n }} - +
@@ -329,120 +407,169 @@
- {{ 'mxk.users.organization' | i18n }} - - - + {{ 'mxk.users.organization' | i18n }} + + - {{ 'mxk.users.division' | i18n }} - - - + {{ 'mxk.users.division' | i18n }} + +
- {{ 'mxk.users.departmentId' | i18n }} - - - + {{ 'mxk.users.departmentId' | i18n }} + + - {{ 'mxk.users.department' | i18n }} - - - + {{ 'mxk.users.department' | i18n }} + +
- {{ 'mxk.users.costCenter' | i18n }} - - - + {{ 'mxk.users.costCenter' | i18n }} + + - {{ 'mxk.users.jobLevel' | i18n }} - - - + {{ 'mxk.users.jobLevel' | i18n }} + +
- {{ 'mxk.users.jobTitle' | i18n }} - - - + {{ 'mxk.users.jobTitle' | i18n }} + + {{ 'mxk.users.manager' | i18n }} - - + +
- {{ 'mxk.users.assistant' | i18n }} - - - + {{ 'mxk.users.assistant' | i18n }} + + - {{ 'mxk.users.workOfficeName' | i18n }} - - - + {{ 'mxk.users.workOfficeName' | i18n }} + +
- {{ 'mxk.users.entryDate' | i18n }} - - - + {{ 'mxk.users.entryDate' | i18n }} + + - {{ 'mxk.users.quitDate' | i18n }} - - - + {{ 'mxk.users.quitDate' | i18n }} + +
@@ -450,80 +577,93 @@
- {{ 'mxk.users.workPhoneNumber' | i18n }} - - - + {{ 'mxk.users.workPhoneNumber' | i18n }} + + - {{ 'mxk.users.workEmail' | i18n }} - - - + {{ 'mxk.users.workEmail' | i18n }} + +
- {{ 'mxk.users.workCountry' | i18n }} - - - + {{ 'mxk.users.workCountry' | i18n }} + + - {{ 'mxk.users.workRegion' | i18n }} - - - + {{ 'mxk.users.workRegion' | i18n }} + +
- {{ 'mxk.users.workLocality' | i18n }} - - - + {{ 'mxk.users.workLocality' | i18n }} + + - {{ 'mxk.users.workStreetAddress' | i18n }} - - - + {{ 'mxk.users.workStreetAddress' | i18n }} + +
- {{ 'mxk.users.workPostalCode' | i18n }} - - - + {{ 'mxk.users.workPostalCode' | i18n }} + + {{ 'mxk.users.workFax' | i18n }} - - + +
@@ -531,81 +671,95 @@
- {{ 'mxk.users.homeEmail' | i18n }} - - - + {{ 'mxk.users.homeEmail' | i18n }} + + - {{ 'mxk.users.homePhoneNumber' | i18n }} - - - + {{ 'mxk.users.homePhoneNumber' | i18n }} + +
{{ 'mxk.users.homeFax' | i18n }} - - + + - {{ 'mxk.users.homePostalCode' | i18n }} - - - + {{ 'mxk.users.homePostalCode' | i18n }} + +
- {{ 'mxk.users.homeCountry' | i18n }} - - - + {{ 'mxk.users.homeCountry' | i18n }} + + - {{ 'mxk.users.homeRegion' | i18n }} - - - + {{ 'mxk.users.homeRegion' | i18n }} + +
- {{ 'mxk.users.homeLocality' | i18n }} - - - + {{ 'mxk.users.homeLocality' | i18n }} + + - {{ 'mxk.users.homeStreetAddress' | - i18n }} + {{ 'mxk.users.homeStreetAddress' | i18n }} - - + +
@@ -624,4 +778,4 @@
- \ No newline at end of file + diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-basic-details-editer/app-basic-details-editer.component.html b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-basic-details-editer/app-basic-details-editer.component.html index 211ef53af..e3f737b22 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-basic-details-editer/app-basic-details-editer.component.html +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-basic-details-editer/app-basic-details-editer.component.html @@ -40,6 +40,7 @@ [(nzFileList)]="fileList" nzName="uploadFile" [nzShowButton]="fileList.length < 1" + [nzShowUploadList]="{ showPreviewIcon: true, showRemoveIcon: true }" [nzPreview]="handlePreview" (nzChange)="uploadImageChange($event)" > diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-cas-details-editer/app-cas-details-editer.component.html b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-cas-details-editer/app-cas-details-editer.component.html index 37006139c..35d96da91 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-cas-details-editer/app-cas-details-editer.component.html +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-cas-details-editer/app-cas-details-editer.component.html @@ -40,6 +40,7 @@ [(nzFileList)]="fileList" nzName="uploadFile" [nzShowButton]="fileList.length < 1" + [nzShowUploadList]="{ showPreviewIcon: true, showRemoveIcon: true }" [nzPreview]="handlePreview" (nzChange)="uploadImageChange($event)" > diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-extend-api-details-editer/app-extend-api-details-editer.component.html b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-extend-api-details-editer/app-extend-api-details-editer.component.html index e0cca5c0a..0f582ee48 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-extend-api-details-editer/app-extend-api-details-editer.component.html +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-extend-api-details-editer/app-extend-api-details-editer.component.html @@ -40,6 +40,7 @@ [(nzFileList)]="fileList" nzName="uploadFile" [nzShowButton]="fileList.length < 1" + [nzShowUploadList]="{ showPreviewIcon: true, showRemoveIcon: true }" [nzPreview]="handlePreview" (nzChange)="uploadImageChange($event)" > diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-form-based-details-editer/app-form-based-details-editer.component.html b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-form-based-details-editer/app-form-based-details-editer.component.html index 47ffd96a6..15fa1803d 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-form-based-details-editer/app-form-based-details-editer.component.html +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-form-based-details-editer/app-form-based-details-editer.component.html @@ -40,6 +40,7 @@ [(nzFileList)]="fileList" nzName="uploadFile" [nzShowButton]="fileList.length < 1" + [nzShowUploadList]="{ showPreviewIcon: true, showRemoveIcon: true }" [nzPreview]="handlePreview" (nzChange)="uploadImageChange($event)" > diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-jwt-details-editer/app-jwt-details-editer.component.html b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-jwt-details-editer/app-jwt-details-editer.component.html index fc73f1f51..59bfd8c1f 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-jwt-details-editer/app-jwt-details-editer.component.html +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-jwt-details-editer/app-jwt-details-editer.component.html @@ -40,6 +40,7 @@ [(nzFileList)]="fileList" nzName="uploadFile" [nzShowButton]="fileList.length < 1" + [nzShowUploadList]="{ showPreviewIcon: true, showRemoveIcon: true }" [nzPreview]="handlePreview" (nzChange)="uploadImageChange($event)" > diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-oauth20-details-editer/app-oauth20-details-editer.component.html b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-oauth20-details-editer/app-oauth20-details-editer.component.html index 53b5280b2..e038027b6 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-oauth20-details-editer/app-oauth20-details-editer.component.html +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-oauth20-details-editer/app-oauth20-details-editer.component.html @@ -8,22 +8,24 @@ {{ 'mxk.text.id' | i18n }} - + - {{ 'mxk.apps.secret' | i18n }} - - + {{ 'mxk.apps.secret' | i18n }} + - + - + @@ -32,44 +34,58 @@ {{ 'mxk.apps.icon' | i18n }}
- +
Upload
- +
- - + +
- {{ 'mxk.apps.name' | i18n }} - + {{ 'mxk.apps.name' | i18n }} - + {{ 'mxk.apps.frequently' | i18n }} - - + + @@ -78,10 +94,8 @@
- {{ 'mxk.apps.protocol' | i18n }} - - + {{ 'mxk.apps.protocol' | i18n }} + @@ -91,10 +105,8 @@ {{ 'mxk.apps.category' | i18n }} - - + + @@ -129,33 +141,31 @@
- {{ 'mxk.apps.loginUrl' | i18n }} - - - + {{ 'mxk.apps.loginUrl' | i18n }} + +
- {{ 'mxk.text.status' | i18n }} - + {{ 'mxk.text.status' | i18n }} - + - {{ 'mxk.apps.isExtendAttr' | i18n }} - - - + {{ 'mxk.apps.isExtendAttr' | i18n }} + + @@ -168,22 +178,29 @@ {{ 'mxk.apps.oauth.registeredRedirectUris' | i18n - }} - - + }} + +
- {{ 'mxk.apps.oauth.GrantTypes' | i18n }} - - - + {{ 'mxk.apps.oauth.GrantTypes' | i18n }} + + @@ -197,12 +214,9 @@
- {{ 'mxk.apps.oauth.subject' | i18n }} - - - + {{ 'mxk.apps.oauth.subject' | i18n }} + + @@ -213,11 +227,14 @@ - {{ 'mxk.apps.oauth.scope' | i18n }} - + {{ 'mxk.apps.oauth.scope' | i18n }} - + @@ -235,12 +252,10 @@ {{ 'mxk.apps.oauth.approvalPrompt' | i18n - }} - + }} + - + @@ -251,8 +266,7 @@ PKCE - + @@ -264,24 +278,38 @@ {{ 'mxk.apps.oauth.accessTokenValiditySeconds' | i18n - }} - + }} + - + {{ 'mxk.apps.oauth.refreshTokenValiditySeconds' | i18n - }} - + }} + - + @@ -290,33 +318,30 @@
- {{ 'mxk.apps.oauth.connect.issuer' | i18n }} - - - + {{ 'mxk.apps.oauth.connect.issuer' | i18n }} + + - {{ 'mxk.apps.oauth.connect.audience' | i18n }} - - - + {{ 'mxk.apps.oauth.connect.audience' | i18n }} + +
- {{ 'mxk.apps.oauth.connect.signature' | i18n }} - - - + {{ 'mxk.apps.oauth.connect.signature' | i18n }} + + @@ -330,11 +355,14 @@ {{ 'mxk.apps.oauth.connect.userInfoResponse' | i18n - }} - - + }} + + @@ -345,23 +373,29 @@
- {{ 'mxk.apps.oauth.connect.signatureKey' | i18n - }} - - + {{ 'mxk.apps.oauth.connect.signatureKey' | i18n }} + +
- {{ 'mxk.apps.oauth.connect.algorithm' | i18n }} - - - + {{ 'mxk.apps.oauth.connect.algorithm' | i18n }} + + @@ -378,11 +412,14 @@ {{ 'mxk.apps.oauth.connect.encryptionMethod' | i18n - }} - - + }} + + @@ -396,12 +433,15 @@
- {{ 'mxk.apps.oauth.connect.algorithmKey' | i18n - }} - - + {{ 'mxk.apps.oauth.connect.algorithmKey' | i18n }} + +
@@ -410,18 +450,14 @@
{{ 'mxk.apps.logoutUrl' | i18n }} - - + + {{ 'mxk.apps.logoutType' | i18n }} - - + + @@ -433,10 +469,8 @@
{{ 'mxk.apps.visible' | i18n }} - - + + @@ -446,38 +480,30 @@ {{ 'mxk.text.sortIndex' | i18n }} - - + +
{{ 'mxk.apps.vendor' | i18n }} - - + + {{ 'mxk.apps.vendor.url' | i18n }} - - + +
{{ 'mxk.apps.isAdapter' | i18n }} - - + + @@ -485,30 +511,43 @@ {{ 'mxk.apps.adapter' | i18n }} - + - + - + - - + +
{{ 'mxk.apps.inducer' | i18n }} - - + + @@ -518,12 +557,15 @@
- {{ 'mxk.text.description' | i18n }} - - - + {{ 'mxk.text.description' | i18n }} + +
@@ -548,22 +590,24 @@ - + }} + - - - + + + + }} @@ -577,4 +621,4 @@
-
\ No newline at end of file +
diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-saml20-details-editer/app-saml20-details-editer.component.html b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-saml20-details-editer/app-saml20-details-editer.component.html index 8899b0bde..dc2bebd31 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-saml20-details-editer/app-saml20-details-editer.component.html +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-saml20-details-editer/app-saml20-details-editer.component.html @@ -35,6 +35,7 @@ [(nzFileList)]="fileList" nzName="uploadFile" [nzShowButton]="fileList.length < 1" + [nzShowUploadList]="{ showPreviewIcon: true, showRemoveIcon: true }" [nzPreview]="handlePreview" (nzChange)="uploadImageChange($event)" > diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-token-based-details-editer/app-token-based-details-editer.component.html b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-token-based-details-editer/app-token-based-details-editer.component.html index 26db36f76..35f57bc65 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-token-based-details-editer/app-token-based-details-editer.component.html +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-token-based-details-editer/app-token-based-details-editer.component.html @@ -40,6 +40,7 @@ [(nzFileList)]="fileList" nzName="uploadFile" [nzShowButton]="fileList.length < 1" + [nzShowUploadList]="{ showPreviewIcon: true, showRemoveIcon: true }" [nzPreview]="handlePreview" (nzChange)="uploadImageChange($event)" > diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/idm/users/user-editer/user-editer.component.html b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/idm/users/user-editer/user-editer.component.html index b930c9088..edb2785e0 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/idm/users/user-editer/user-editer.component.html +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/idm/users/user-editer/user-editer.component.html @@ -84,6 +84,7 @@ nzName="uploadFile" [nzShowButton]="fileList.length < 1" [nzPreview]="handlePreview" + [nzShowUploadList]="{ showPreviewIcon: true, showRemoveIcon: true }" (nzChange)="uploadImageChange($event)" >