@authing/react-ui-components 4.3.16-fosun.0 → 4.3.16-rc.2

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.
Files changed (32) hide show
  1. package/dist/asset-manifest.json +18 -18
  2. package/dist/index.html +1 -1
  3. package/dist/static/css/2.0591d96b.chunk.css +3 -0
  4. package/dist/static/css/2.0591d96b.chunk.css.map +1 -0
  5. package/dist/static/css/main.5aec6972.chunk.css +2 -0
  6. package/dist/static/css/main.5aec6972.chunk.css.map +1 -0
  7. package/dist/static/js/2.c0b1f485.chunk.js +3 -0
  8. package/dist/static/js/{2.acd455a5.chunk.js.LICENSE.txt → 2.c0b1f485.chunk.js.LICENSE.txt} +0 -6
  9. package/dist/static/js/2.c0b1f485.chunk.js.map +1 -0
  10. package/dist/static/js/{3.ca746d7e.chunk.js → 3.b0e21367.chunk.js} +2 -2
  11. package/dist/static/js/{3.ca746d7e.chunk.js.map → 3.b0e21367.chunk.js.map} +1 -1
  12. package/dist/static/js/main.4fc21070.chunk.js +2 -0
  13. package/dist/static/js/main.4fc21070.chunk.js.map +1 -0
  14. package/dist/static/js/runtime-main.23d7bc1c.js +2 -0
  15. package/dist/static/js/{runtime-main.5d2cd96c.js.map → runtime-main.23d7bc1c.js.map} +1 -1
  16. package/lib/index.min.js +1 -1
  17. package/package.json +2 -2
  18. package/types/Type/application.d.ts +1 -7
  19. package/types/_utils/index.d.ts +5 -4
  20. package/types/version/version.d.ts +1 -1
  21. package/dist/static/css/2.839329b5.chunk.css +0 -3
  22. package/dist/static/css/2.839329b5.chunk.css.map +0 -1
  23. package/dist/static/css/main.98fc077f.chunk.css +0 -2
  24. package/dist/static/css/main.98fc077f.chunk.css.map +0 -1
  25. package/dist/static/js/2.acd455a5.chunk.js +0 -3
  26. package/dist/static/js/2.acd455a5.chunk.js.map +0 -1
  27. package/dist/static/js/main.59425d4f.chunk.js +0 -2
  28. package/dist/static/js/main.59425d4f.chunk.js.map +0 -1
  29. package/dist/static/js/runtime-main.5d2cd96c.js +0 -2
  30. package/types/Login/core/withDingTalkQrcode.d.ts +0 -2
  31. package/types/Login/hooks/useOtpPushLogin.d.ts +0 -10
  32. package/types/_utils/workflowHandleStorage.d.ts +0 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@authing/react-ui-components",
3
- "version": "4.3.16-fosun.0",
3
+ "version": "4.3.16-rc.2",
4
4
  "private": false,
5
5
  "main": "lib/index.min.js",
6
6
  "typings": "types/index.d.ts",
@@ -237,4 +237,4 @@
237
237
  "webpack-manifest-plugin": "2.2.0",
238
238
  "workbox-webpack-plugin": "5.1.4"
239
239
  }
240
- }
240
+ }
@@ -9,8 +9,7 @@ export declare enum LoginMethods {
9
9
  WxMinQr = "wechat-miniprogram-qrcode",
10
10
  AD = "ad",
11
11
  WechatMpQrcode = "wechatmp-qrcode",
12
- AuthingOtpPush = "authing-otp-push",
13
- DingtalkQrcode = "dingtalk-qrcode"
12
+ AuthingOtpPush = "authing-otp-push"
14
13
  }
15
14
  export declare enum OIDCConnectionMode {
16
15
  FRONT_CHANNEL = "FRONT_CHANNEL",
@@ -114,11 +113,6 @@ export interface QrCodeItem {
114
113
  id: string;
115
114
  title: string;
116
115
  isDefault?: boolean;
117
- QRConfig?: {
118
- clientId: string;
119
- redirectUrl: string;
120
- identifier: string;
121
- };
122
116
  }
123
117
  export declare type QrcodeTabsSettings = Record<LoginMethods, Array<QrCodeItem>>;
124
118
  export interface OidcClientMetadata {
@@ -27,7 +27,7 @@ export declare const getClassnames: (classnames: (string | boolean | undefined)[
27
27
  * @param item
28
28
  * @returns {boolean}
29
29
  */
30
- export declare function isObject(item: any): boolean;
30
+ export declare function isObject(item: any): any;
31
31
  /**
32
32
  * https://www.itranslater.com/qa/details/2115518846294557696
33
33
  * Deep merge two objects.
@@ -65,15 +65,16 @@ export declare enum PasswordStrength {
65
65
  Low = 1,
66
66
  Middle = 2,
67
67
  High = 3,
68
- AUTO = 4
68
+ AUTO = 4,
69
+ Custom = 5
69
70
  }
70
71
  export declare const PASSWORD_STRENGTH_TEXT_MAP: Record<PasswordStrength, {
71
72
  placeholder: () => string;
72
73
  validateMessage: () => string;
73
74
  }>;
74
75
  export declare const getSymbolTypeLength: (pwd: string) => number;
75
- export declare const getPasswordValidate: (strength?: PasswordStrength, customPasswordStrength?: any, fieldRequiredRuleMessage?: string | undefined) => Rule[];
76
- export declare const getPasswordValidateRules: (strength?: PasswordStrength, customPasswordStrength?: any, customValidateTrigger?: string | undefined, fieldRequiredRuleMessage?: string | undefined) => Rule[];
76
+ export declare const getPasswordValidate: (strength?: PasswordStrength, customPasswordStrength?: any, fieldRequiredRuleMessage?: string | undefined, token?: string | undefined) => Rule[];
77
+ export declare const getPasswordValidateRules: (strength?: PasswordStrength, customPasswordStrength?: any, customValidateTrigger?: string | undefined, fieldRequiredRuleMessage?: string | undefined, token?: string | undefined) => Rule[];
77
78
  export declare const sleep: (delay: number) => Promise<unknown>;
78
79
  export declare const shoudGoToComplete: (user: User, contextType: ComplateFiledsPlace, config: ApplicationConfig | undefined, autoRegister?: boolean | undefined) => boolean;
79
80
  export declare const transformMethod: (method: RegisterMethods | string) => string;
@@ -1,2 +1,2 @@
1
- declare const _default: "4.3.16-fosun.0";
1
+ declare const _default: "4.3.16-rc.2";
2
2
  export default _default;