@authing/guard-shim-react18 4.5.19-adsy.2 → 4.5.19
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.
|
@@ -3,7 +3,7 @@ import './style.less';
|
|
|
3
3
|
import { Agreement } from '../../../Type/application';
|
|
4
4
|
export interface AgreementsProps {
|
|
5
5
|
value?: boolean;
|
|
6
|
-
onChange?: (value: boolean) => void;
|
|
6
|
+
onChange?: (value: boolean, acceptList: (string | number)[]) => void;
|
|
7
7
|
style?: React.CSSProperties;
|
|
8
8
|
agreements: Agreement[];
|
|
9
9
|
showError?: boolean;
|
|
@@ -16,6 +16,7 @@ export declare const isAlipayBrowser: () => boolean | null;
|
|
|
16
16
|
export declare const isBaiduBrowser: () => boolean | null;
|
|
17
17
|
export declare const isWeComeBrowser: () => boolean;
|
|
18
18
|
export declare const isMobile: () => RegExpMatchArray | null;
|
|
19
|
-
export declare const isWebview: () =>
|
|
19
|
+
export declare const isWebview: () => boolean | null;
|
|
20
|
+
export declare const isLenovoNetdisk: () => boolean | null;
|
|
20
21
|
export declare const isSpecialBrowser: () => boolean;
|
|
21
22
|
export declare const getPhoneInLoginPageContext: () => any;
|
package/package.json
CHANGED