@authing/react-ui-components 2.4.55-alpha.5 → 2.4.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.ts +9 -7
- package/lib/index.min.css +1 -1
- package/lib/index.min.js +1 -1
- package/package.json +2 -2
- package/src/components/AuthingGuard/Forms/QrCodeLoginForm/index.tsx +1 -3
- package/src/components/AuthingGuard/Forms/SocialAndIdpLogin/index.tsx +3 -3
- package/src/components/AuthingGuard/GuardLayout/index.tsx +5 -5
- package/src/components/AuthingGuard/LoginLayout/index.tsx +22 -53
- package/src/components/AuthingGuard/api/appConfig.ts +17 -2
- package/src/components/AuthingGuard/api/userPoolConfig.ts +0 -2
- package/src/components/AuthingGuard/style.less +1 -0
- package/src/components/AuthingGuard/types/Forms.ts +0 -1
- package/src/components/AuthingGuard/types/GuardConfig.ts +2 -1
- package/src/index.tsx +3 -3
- package/build/asset-manifest.json +0 -25
- package/build/favicon.ico +0 -0
- package/build/index.html +0 -1
- package/build/logo192.png +0 -0
- package/build/logo512.png +0 -0
- package/build/manifest.json +0 -25
- package/build/robots.txt +0 -3
- package/build/static/css/2.e5f4a1ca.chunk.css +0 -2
- package/build/static/css/2.e5f4a1ca.chunk.css.map +0 -1
- package/build/static/css/main.4dd73333.chunk.css +0 -2
- package/build/static/css/main.4dd73333.chunk.css.map +0 -1
- package/build/static/js/2.b28e1968.chunk.js +0 -3
- package/build/static/js/2.b28e1968.chunk.js.LICENSE.txt +0 -70
- package/build/static/js/2.b28e1968.chunk.js.map +0 -1
- package/build/static/js/3.584da164.chunk.js +0 -2
- package/build/static/js/3.584da164.chunk.js.map +0 -1
- package/build/static/js/main.eeb41586.chunk.js +0 -2
- package/build/static/js/main.eeb41586.chunk.js.map +0 -1
- package/build/static/js/runtime-main.6174f3e9.js +0 -2
- package/build/static/js/runtime-main.6174f3e9.js.map +0 -1
- package/yarn-error.log +0 -19616
package/lib/index.d.ts
CHANGED
|
@@ -395,13 +395,18 @@ declare module '@authing/react-ui-components/components/AuthingGuard/ToggleLang/
|
|
|
395
395
|
|
|
396
396
|
}
|
|
397
397
|
declare module '@authing/react-ui-components/components/AuthingGuard/api/appConfig' {
|
|
398
|
-
import { Lang, Protocol } from '@authing/react-ui-components/components/AuthingGuard/types/index';
|
|
398
|
+
import { Lang, LoginMethods, Protocol } from '@authing/react-ui-components/components/AuthingGuard/types/index';
|
|
399
399
|
import { IAzureAdConnectionConfig, ICasConnectionConfig, ISamlConnectionConfig, OIDCConnectionConfig, SocialConnectionItem } from '@authing/react-ui-components/components/AuthingGuard/api/userPoolConfig';
|
|
400
400
|
export enum ApplicationMfaType {
|
|
401
401
|
SMS = "SMS",
|
|
402
402
|
EMAIL = "EMAIL"
|
|
403
403
|
}
|
|
404
404
|
export const ApplicationMfaTypeLabel: () => Record<ApplicationMfaType, string>;
|
|
405
|
+
export type QrcodeTabsSettings = Record<LoginMethods, {
|
|
406
|
+
id: string;
|
|
407
|
+
title: string;
|
|
408
|
+
isDefault?: boolean;
|
|
409
|
+
}>;
|
|
405
410
|
export interface OidcClientMetadata {
|
|
406
411
|
grant_types: string[];
|
|
407
412
|
client_id: string;
|
|
@@ -452,10 +457,10 @@ declare module '@authing/react-ui-components/components/AuthingGuard/api/appConf
|
|
|
452
457
|
[x: string]: string;
|
|
453
458
|
};
|
|
454
459
|
};
|
|
460
|
+
qrcodeTabsSettings: QrcodeTabsSettings;
|
|
455
461
|
loginTabs: {
|
|
456
462
|
list: string[];
|
|
457
463
|
default: string;
|
|
458
|
-
defaultV2?: string;
|
|
459
464
|
title: {
|
|
460
465
|
[x: string]: string;
|
|
461
466
|
};
|
|
@@ -602,10 +607,8 @@ declare module '@authing/react-ui-components/components/AuthingGuard/api/userPoo
|
|
|
602
607
|
}
|
|
603
608
|
export interface SocialConnectionItem {
|
|
604
609
|
name: string;
|
|
605
|
-
displayName: string;
|
|
606
610
|
logo: string;
|
|
607
611
|
description: string;
|
|
608
|
-
identifier: string;
|
|
609
612
|
provider: SocialConnectionProvider;
|
|
610
613
|
authorizationUrl: string;
|
|
611
614
|
tooltip: Record<Lang, string>;
|
|
@@ -766,7 +769,6 @@ declare module '@authing/react-ui-components/components/AuthingGuard/types/Forms
|
|
|
766
769
|
}
|
|
767
770
|
export interface QrLoginFormProps extends BaseFormProps {
|
|
768
771
|
type: LoginMethods.AppQr | LoginMethods.WxMinQr | LoginMethods.WechatMpQrcode;
|
|
769
|
-
idpId?: string;
|
|
770
772
|
}
|
|
771
773
|
export interface EmailRegisterFormProps extends BaseFormProps {
|
|
772
774
|
onValidateFail?: (error: any) => void;
|
|
@@ -826,7 +828,7 @@ declare module '@authing/react-ui-components/components/AuthingGuard/types/Forms
|
|
|
826
828
|
declare module '@authing/react-ui-components/components/AuthingGuard/types/GuardConfig' {
|
|
827
829
|
import { AuthenticationClient, AuthenticationClientOptions, CommonMessage, SocialConnectionProvider, User } from 'authing-js-sdk';
|
|
828
830
|
import { QrCodeAuthenticationClient } from 'authing-js-sdk/build/main/lib/authentication/QrCodeAuthenticationClient';
|
|
829
|
-
import { SocialConnectionItem, EnterpriseConnectionItem, ApplicationConfig, PasswordLoginMethods, Agreement } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
831
|
+
import { SocialConnectionItem, EnterpriseConnectionItem, ApplicationConfig, PasswordLoginMethods, Agreement, QrcodeTabsSettings } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
830
832
|
import { Lang } from '@authing/react-ui-components/components/AuthingGuard/types/Locales';
|
|
831
833
|
export type { AuthenticationClient, CommonMessage, User } from 'authing-js-sdk';
|
|
832
834
|
export enum GuardMode {
|
|
@@ -1057,7 +1059,7 @@ declare module '@authing/react-ui-components/components/AuthingGuard/types/Guard
|
|
|
1057
1059
|
publicKey: ApplicationConfig['publicKey'];
|
|
1058
1060
|
agreementEnabled: boolean;
|
|
1059
1061
|
agreements: Agreement[];
|
|
1060
|
-
|
|
1062
|
+
qrcodeTabsSettings: QrcodeTabsSettings;
|
|
1061
1063
|
}
|
|
1062
1064
|
export interface LocalesConfig {
|
|
1063
1065
|
defaultLang?: Lang;
|