@authing/react-ui-components 3.1.3-rc.1 → 3.1.4-rc.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/lib/index.d.ts +17 -2
- package/lib/index.min.js +1 -1
- package/package.json +2 -2
package/lib/index.d.ts
CHANGED
|
@@ -2502,6 +2502,13 @@ declare module '@authing/react-ui-components/components/Type/index' {
|
|
|
2502
2502
|
config?: Partial<IG2Config>;
|
|
2503
2503
|
visible?: boolean;
|
|
2504
2504
|
initData?: any;
|
|
2505
|
+
appendConfig?: GuardAppendConfig;
|
|
2506
|
+
}
|
|
2507
|
+
export interface GuardAppendConfig {
|
|
2508
|
+
window?: Window;
|
|
2509
|
+
internalRequest?: boolean;
|
|
2510
|
+
singleComponent?: boolean;
|
|
2511
|
+
unAuthFlow?: boolean;
|
|
2505
2512
|
}
|
|
2506
2513
|
export interface IG2FCViewProps extends IG2FCProps {
|
|
2507
2514
|
config: IG2Config;
|
|
@@ -2624,6 +2631,14 @@ declare module '@authing/react-ui-components/components/_utils/GuardErrorCode' {
|
|
|
2624
2631
|
ACCOUNT_LOCK = 2005
|
|
2625
2632
|
}
|
|
2626
2633
|
|
|
2634
|
+
}
|
|
2635
|
+
declare module '@authing/react-ui-components/components/_utils/appendConfog' {
|
|
2636
|
+
import { GuardAppendConfig } from '@authing/react-ui-components/components/index';
|
|
2637
|
+
export const getAppendConfig: () => GuardAppendConfig;
|
|
2638
|
+
export const useAppendConfig: () => GuardAppendConfig;
|
|
2639
|
+
export const initAppendConfig: (appendConfig?: GuardAppendConfig) => void;
|
|
2640
|
+
export const getGuardWindow: () => Window | undefined;
|
|
2641
|
+
|
|
2627
2642
|
}
|
|
2628
2643
|
declare module '@authing/react-ui-components/components/_utils/clipboard' {
|
|
2629
2644
|
export const copyToClipboard: (str: string) => void;
|
|
@@ -2938,7 +2953,7 @@ declare module '@authing/react-ui-components/components/_utils/index' {
|
|
|
2938
2953
|
export const validate: (type: keyof typeof VALIDATE_PATTERN, val: string) => boolean;
|
|
2939
2954
|
export const getRequiredRules: (msg: string) => Rule[];
|
|
2940
2955
|
export const fieldRequiredRule: (fieldRequiredRule: string, fieldRequiredRuleMessage?: string | undefined) => Rule[];
|
|
2941
|
-
export function getDeviceName(): string | null;
|
|
2956
|
+
export function getDeviceName(): string | null | undefined;
|
|
2942
2957
|
export type STYLE_RECORD_KEY = 'appConfig' | 'userConfig';
|
|
2943
2958
|
export const insertStyles: (styles: string | any, recordKey?: "userConfig" | "appConfig" | undefined) => void;
|
|
2944
2959
|
export const removeStyles: (recordKey: STYLE_RECORD_KEY) => void;
|
|
@@ -3174,7 +3189,7 @@ declare module '@authing/react-ui-components/components/version/index' {
|
|
|
3174
3189
|
|
|
3175
3190
|
}
|
|
3176
3191
|
declare module '@authing/react-ui-components/components/version/version' {
|
|
3177
|
-
const _default: "3.1.
|
|
3192
|
+
const _default: "3.1.4-rc.4";
|
|
3178
3193
|
export default _default;
|
|
3179
3194
|
|
|
3180
3195
|
}
|