@authing/guard-shim-react18 4.5.1-alpha.2 → 4.5.1-alpha.4
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/dist/guard.min.css +1 -2
- package/dist/guard.min.js +5354 -7492
- package/dist/typings/shim-antd4/index.d.ts +5 -1
- package/dist/typings/src/Login/core/withPassword/FormItemAccount.d.ts +1 -0
- package/dist/typings/src/Login/core/withPassword/GraphicVerifyCode.d.ts +1 -0
- package/dist/typings/src/Login/core/withPassword/InputAccount.d.ts +1 -0
- package/dist/typings/src/Login/core/withPassword/index.d.ts +1 -0
- package/dist/typings/src/Login/hooks/useLoginMultiple.d.ts +1 -1
- package/dist/typings/src/Login/index.d.ts +5 -0
- package/dist/typings/src/_utils/config/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,3 +1,7 @@
|
|
|
1
|
-
import 'antd/dist/antd.less';
|
|
2
1
|
export * from 'antd';
|
|
3
2
|
export * from '@ant-design/icons';
|
|
3
|
+
export declare const antdLocales: {
|
|
4
|
+
zhCN: import("antd/es/locale-provider").Locale;
|
|
5
|
+
enUS: import("antd/es/locale-provider").Locale;
|
|
6
|
+
jaJP: import("antd/es/locale-provider").Locale;
|
|
7
|
+
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '@antd-es-style/form/style/index.less';
|
|
1
2
|
import { AuthingResponse } from '../../../_utils/http';
|
|
2
3
|
import { Agreement, LoginMethods } from '../../../Type/application';
|
|
3
4
|
import { BackFillMultipleState, StoreInstance } from '../../../Guard/core/hooks/useMultipleAccounts';
|
|
@@ -58,7 +58,7 @@ declare function useLoginMultiple(setLoginWay: React.Dispatch<any>): {
|
|
|
58
58
|
getOriginAccount: () => string;
|
|
59
59
|
getOriginWay: () => string;
|
|
60
60
|
} | undefined;
|
|
61
|
-
referMultipleState: ((type: "
|
|
61
|
+
referMultipleState: ((type: "login" | "multiple") => void) | undefined;
|
|
62
62
|
backfillData: BackFillMultipleState | undefined;
|
|
63
63
|
defaultQrWay: string | undefined;
|
|
64
64
|
};
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import { React } from 'shim-react';
|
|
2
|
+
import '@antd-es-style/message/style/index.less';
|
|
3
|
+
import '@antd-es-style/popover/style/index.less';
|
|
4
|
+
import '@antd-es-style/tabs/style/index.less';
|
|
5
|
+
import '@antd-es-style/tag/style/index.less';
|
|
6
|
+
import '@antd-es-style/tooltip/style/index.less';
|
|
2
7
|
import './styles.less';
|
|
3
8
|
export declare const GuardLoginView: React.FC<{
|
|
4
9
|
isResetPage?: boolean;
|
|
@@ -53,7 +53,7 @@ export declare const useFetchConsoleConfig: (forceUpdate: number, appId?: string
|
|
|
53
53
|
loginMethods?: LoginMethods[] | undefined;
|
|
54
54
|
passwordLoginMethods?: string[] | undefined;
|
|
55
55
|
socialConnections?: import("../../Type").SocialConnectionProvider[] | undefined;
|
|
56
|
-
socialConnectionsBtnShape?: "button" | "
|
|
56
|
+
socialConnectionsBtnShape?: "button" | "default" | "icon" | undefined;
|
|
57
57
|
enterpriseConnections?: string[] | undefined;
|
|
58
58
|
qrCodeScanOptions?: {
|
|
59
59
|
extIdpConnId?: string | undefined;
|
package/package.json
CHANGED