@regenbio/regenbio-components-react 1.3.28 → 1.3.30

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.
@@ -1,5 +1,16 @@
1
1
  import { ParamsType } from '@ant-design/pro-provider';
2
2
  import { SortOrder } from 'antd/es/table/interface';
3
+ /**
4
+ * 授权页面获取外部统一登录地址
5
+ *
6
+ * @param redirectUrl 回调URL地址
7
+ * @param authUrl 授权URL地址
8
+ * @param locale 国际化语言
9
+ * @param theme 主题
10
+ * @param externalGuid 外部平台主键ID
11
+ * @return 统一登录地址
12
+ */
13
+ export declare function getExternalAuthUrl4Auth(redirectUrl: string, authUrl: string, locale: string, theme: 'realDark' | 'light', externalGuid: string): string;
3
14
  declare const _default: {
4
15
  convertPageParam: (func: (any: any) => any, params: ParamsType & {
5
16
  pageSize?: number;
@@ -14,5 +25,6 @@ declare const _default: {
14
25
  executeLogout: (history: any, loginLoadPath: string) => void;
15
26
  getOAuth2Url: (locale: string, theme: "realDark" | "light", gatewayUrl: string, clientConfig: any, redirectRoute?: string) => string;
16
27
  getExternalAuthUrl: (authUrl: string, locale: string, theme: "realDark" | "light", externalGuid: string, loginLoadPath: string, userGuid?: string) => string;
28
+ getExternalAuthUrl4Auth: typeof getExternalAuthUrl4Auth;
17
29
  };
18
30
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regenbio/regenbio-components-react",
3
- "version": "1.3.28",
3
+ "version": "1.3.30",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },