@authing/react-ui-components 4.3.1 → 4.3.2-alpha.0

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 (49) hide show
  1. package/lib/index.min.css +2 -2
  2. package/lib/index.min.js +1 -1
  3. package/package.json +2 -3
  4. package/types/AppOtpVerify/DownloadVerifier.d.ts +2 -0
  5. package/types/AppOtpVerify/LoginApp.d.ts +2 -0
  6. package/types/AppOtpVerify/ScanQrcode.d.ts +2 -0
  7. package/types/AppOtpVerify/Steps.d.ts +11 -0
  8. package/types/AppOtpVerify/index.d.ts +3 -0
  9. package/types/Guard/core/hooks/useAgreements.d.ts +15 -0
  10. package/types/Guard/core/hooks/useGuardView.d.ts +7 -0
  11. package/types/Guard/core/hooks/useMultipleAccounts.d.ts +3 -3
  12. package/types/Guard/event.d.ts +11 -1
  13. package/types/Guard/module.d.ts +2 -3
  14. package/types/IdentityBinding/IdentityBinding.d.ts +1 -3
  15. package/types/IdentityBinding/businessRequest.d.ts +2 -5
  16. package/types/LazyloadImage/index.d.ts +12 -0
  17. package/types/Login/core/withAuthingOtpPush/BeforeLogin.d.ts +17 -0
  18. package/types/Login/core/withAuthingOtpPush/PendingLogin.d.ts +7 -0
  19. package/types/Login/core/withAuthingOtpPush/index.d.ts +3 -0
  20. package/types/Login/core/withAuthingOtpPush/types.d.ts +18 -0
  21. package/types/Login/hooks/useLoginMultiple.d.ts +1 -1
  22. package/types/Login/hooks/useOtpPushLogin.d.ts +10 -0
  23. package/types/Login/index.d.ts +2 -4
  24. package/types/Login/multipleAccounts/panel.d.ts +1 -0
  25. package/types/Type/application.d.ts +7 -1
  26. package/types/_utils/context.d.ts +2 -1
  27. package/types/_utils/index.d.ts +1 -1
  28. package/types/_utils/responseManagement/interface.d.ts +1 -3
  29. package/types/index.d.ts +1 -0
  30. package/types/version/version.d.ts +1 -1
  31. package/LICENSE +0 -21
  32. package/dist/asset-manifest.json +0 -26
  33. package/dist/index.html +0 -1
  34. package/dist/static/css/2.31681d53.chunk.css +0 -3
  35. package/dist/static/css/2.31681d53.chunk.css.map +0 -1
  36. package/dist/static/css/main.5aec6972.chunk.css +0 -2
  37. package/dist/static/css/main.5aec6972.chunk.css.map +0 -1
  38. package/dist/static/js/2.d2a1168e.chunk.js +0 -3
  39. package/dist/static/js/2.d2a1168e.chunk.js.LICENSE.txt +0 -86
  40. package/dist/static/js/2.d2a1168e.chunk.js.map +0 -1
  41. package/dist/static/js/3.b3dd7130.chunk.js +0 -2
  42. package/dist/static/js/3.b3dd7130.chunk.js.map +0 -1
  43. package/dist/static/js/main.b635a15a.chunk.js +0 -2
  44. package/dist/static/js/main.b635a15a.chunk.js.map +0 -1
  45. package/dist/static/js/runtime-main.6f6a6483.js +0 -2
  46. package/dist/static/js/runtime-main.6f6a6483.js.map +0 -1
  47. package/dist/static/media/loading.3cf0104f.svg +0 -32
  48. package/types/Login/resetAccountName/businessRequest.d.ts +0 -6
  49. package/types/Login/resetAccountName/index.d.ts +0 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@authing/react-ui-components",
3
- "version": "4.3.1",
3
+ "version": "4.3.2-alpha.0",
4
4
  "private": false,
5
5
  "main": "lib/index.min.js",
6
6
  "typings": "types/index.d.ts",
@@ -235,6 +235,5 @@
235
235
  "webpack-dev-server": "3.11.0",
236
236
  "webpack-manifest-plugin": "2.2.0",
237
237
  "workbox-webpack-plugin": "5.1.4"
238
- },
239
- "gitHead": "d464051d33c7350b716615a3836bfd9998eb8a13"
238
+ }
240
239
  }
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare function DownloadVerifier(): JSX.Element;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare function LoginApp(): JSX.Element;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const ScanQrcode: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>;
@@ -0,0 +1,11 @@
1
+ import { ReactNode } from 'react';
2
+ import './steps.styles.less';
3
+ interface StepsProps {
4
+ current: number;
5
+ items: StepItem[];
6
+ }
7
+ interface StepItem {
8
+ title: ReactNode;
9
+ }
10
+ export declare function Steps(props: StepsProps): JSX.Element;
11
+ export {};
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import './styles.less';
3
+ export declare function AppOtpVerify(): JSX.Element;
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ import { Agreement } from '../../../Type';
3
+ interface Options {
4
+ agreements: Agreement[];
5
+ checkedAgreements: (string | number)[];
6
+ checkAllAgreements: () => void;
7
+ noCheckAllAgreements: () => void;
8
+ }
9
+ export declare function useAgreements(options: Options): {
10
+ agreements: Agreement[];
11
+ checkedAgreements: import("react").ReactText[];
12
+ checkAllAgreements: () => void;
13
+ noCheckAllAgreements: () => void;
14
+ };
15
+ export {};
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ interface Options {
3
+ changeTab?: React.Dispatch<any>;
4
+ currentTab?: string;
5
+ }
6
+ export declare function useGuardView(options?: Options): void;
7
+ export {};
@@ -13,7 +13,7 @@ export declare const QR_CODE_WAY: LoginWay[];
13
13
  * 登录时所有支持的登录列表(前端定义列表)
14
14
  * 这里稍微有点乱 因为Login中的登录方式和这里的不匹配,暂时放在了一起
15
15
  */
16
- export declare type LoginWay = 'email' | 'phone' | 'password' | 'phone-code' | 'email-code' | 'social' | 'wechat-miniprogram-qrcode' | 'wechatmp-qrcode' | 'app-qrcode' | 'ad' | 'ldap' | 'ldap-password' | 'ldap-email' | 'ldap-phone';
16
+ export declare type LoginWay = 'email' | 'phone' | 'password' | 'phone-code' | 'email-code' | 'social' | 'wechat-miniprogram-qrcode' | 'wechatmp-qrcode' | 'app-qrcode' | 'ad' | 'ldap' | 'ldap-password' | 'ldap-email' | 'ldap-phone' | 'authing-otp-push';
17
17
  /**
18
18
  * when: 多账号页面跳转进入登录页面
19
19
  * 携带的回填数据信息
@@ -249,7 +249,7 @@ declare class MultipleAccount {
249
249
  setUserInfo: (user: Pick<User & {
250
250
  id: string;
251
251
  loginAccount?: string | undefined;
252
- }, "email" | "username" | "phone" | "photo" | "id" | "name" | "nickname" | "_updateTime" | "qrCodeId" | "areaCode" | "loginAccount">) => void;
252
+ }, "email" | "username" | "phone" | "photo" | "id" | "name" | "nickname" | "qrCodeId" | "areaCode" | "_updateTime" | "loginAccount">) => void;
253
253
  setLoginWayByHttpData: (account: string, data: {
254
254
  username?: string | undefined;
255
255
  phone?: string | undefined;
@@ -292,7 +292,7 @@ declare const useMultipleAccounts: ({ appId, finallyConfig, }: {
292
292
  setUserInfo: (user: Pick<User & {
293
293
  id: string;
294
294
  loginAccount?: string | undefined;
295
- }, "email" | "username" | "phone" | "photo" | "id" | "name" | "nickname" | "_updateTime" | "qrCodeId" | "areaCode" | "loginAccount">) => void;
295
+ }, "email" | "username" | "phone" | "photo" | "id" | "name" | "nickname" | "qrCodeId" | "areaCode" | "_updateTime" | "loginAccount">) => void;
296
296
  setLoginWayByHttpData: (account: string, data: {
297
297
  username?: string | undefined;
298
298
  phone?: string | undefined;
@@ -5,8 +5,15 @@ import { IdentityBindingEvents } from '../IdentityBinding/interface';
5
5
  import { IdentityBindingAskEvents } from '../IdentityBindingAsk';
6
6
  import { LoginEvents } from '../Login/interface';
7
7
  import { RegisterEvents } from '../Register/interface';
8
+ interface OnAfterChangeModuleOptions {
9
+ currentView: string;
10
+ currentModule: GuardModuleType;
11
+ currentTab?: string;
12
+ data?: any;
13
+ }
8
14
  export interface GuardEvents extends LoginEvents, RegisterEvents, CompleteInfoEvents, ForgetPasswordEvents, IdentityBindingEvents, IdentityBindingAskEvents {
9
15
  onBeforeChangeModule?: (key: GuardModuleType, initData?: any) => boolean | Promise<boolean>;
16
+ onAfterChangeModule?: (options: OnAfterChangeModuleOptions) => void;
10
17
  }
11
18
  export declare const guardEventsFilter: (props: any, multipleInstance?: {
12
19
  initStore: (appId: string, options: {
@@ -20,7 +27,7 @@ export declare const guardEventsFilter: (props: any, multipleInstance?: {
20
27
  setUserInfo: (user: Pick<import("./core/hooks/useMultipleAccounts").User & {
21
28
  id: string;
22
29
  loginAccount?: string | undefined;
23
- }, "email" | "username" | "phone" | "photo" | "id" | "name" | "nickname" | "_updateTime" | "qrCodeId" | "areaCode" | "loginAccount">) => void;
30
+ }, "email" | "username" | "phone" | "photo" | "id" | "name" | "nickname" | "qrCodeId" | "areaCode" | "_updateTime" | "loginAccount">) => void;
24
31
  setLoginWayByHttpData: (account: string, data: {
25
32
  username?: string | undefined;
26
33
  phone?: string | undefined;
@@ -65,6 +72,7 @@ export declare const GuardEventsCamelToKebabMapping: {
65
72
  readonly onRegisterInfoCompletedError: "register-info-completed-error";
66
73
  readonly onLangChange: "lang-change";
67
74
  readonly onBeforeChangeModule: "before-change-module";
75
+ readonly onAfterChangeModule: "after-change-module";
68
76
  };
69
77
  export interface GuardEventsKebabToCamelType {
70
78
  load: GuardEvents['onLoad'];
@@ -88,4 +96,6 @@ export interface GuardEventsKebabToCamelType {
88
96
  'register-info-completed-error': GuardEvents['onRegisterInfoCompletedError'];
89
97
  'lang-change': GuardEvents['onLangChange'];
90
98
  'before-change-module': GuardEvents['onBeforeChangeModule'];
99
+ 'after-change-module': GuardEvents['onAfterChangeModule'];
91
100
  }
101
+ export {};
@@ -18,13 +18,12 @@ export declare enum GuardModuleType {
18
18
  SUBMIT_SUCCESS = "submitSuccess",
19
19
  IDENTITY_BINDING_ASK = "identityBindingAsk",
20
20
  IDENTITY_BINDING = "identityBinding",
21
- IDENTITY_BINDING_NO_ASK = "identityBindingNoAsk",
22
21
  SELF_UNLOCK = "selfUnlock",
23
22
  FLOW_SELECT_ACCOUNT = "flowSelectAccount",
23
+ APP_OTP_VERIFY = "appOtpVerify",
24
24
  /** 多租户门户选择页 */
25
25
  TENANT_PORTAL = "tenant-portal",
26
- New_SUBMIT_SUCCESS = "newSubmitSuccess",
27
- RESET_ACCOUNT_NAME = "resetAccountName"
26
+ New_SUBMIT_SUCCESS = "newSubmitSuccess"
28
27
  }
29
28
  export interface GuardModuleAction {
30
29
  action: string;
@@ -1,5 +1,3 @@
1
1
  import React from 'react';
2
2
  import './styles.less';
3
- export declare const GuardIdentityBindingView: React.FC<{
4
- skipAsk?: boolean;
5
- }>;
3
+ export declare const GuardIdentityBindingView: React.FC;
@@ -21,15 +21,12 @@ export declare enum IdentityBindingAction {
21
21
  CreateUser = "create-federation-account",
22
22
  BindByPassword = "bind-identity-by-password",
23
23
  BindByPhoneCode = "bind-identity-by-phone-code",
24
- BindByEmailCode = "bind-identity-by-email-code",
25
- RegisterByPassword = "register-bind-by-password",
26
- RegisterByPhoneCode = "register-bind-by-phone-code",
27
- RegisterByEmailCode = "register-bind-by-email-code"
24
+ BindByEmailCode = "bind-identity-by-email-code"
28
25
  }
29
26
  export declare const PhoneCode: (params: PhoneCodeParams) => Promise<import("../_utils/http").AuthingGuardResponse<any>>;
30
27
  export declare const EmailCode: (params: EmailCodeParams) => Promise<import("../_utils/http").AuthingGuardResponse<any>>;
31
28
  export declare const Password: (params: PasswordParams) => Promise<import("../_utils/http").AuthingGuardResponse<any>>;
32
- export declare const useIdentityBindingBusinessRequest: (type?: 'register' | 'bind') => {
29
+ export declare const useIdentityBindingBusinessRequest: () => {
33
30
  "phone-code": (params: PhoneCodeParams) => Promise<import("../_utils/http").AuthingGuardResponse<any>>;
34
31
  "emial-code": (params: EmailCodeParams) => Promise<import("../_utils/http").AuthingGuardResponse<any>>;
35
32
  password: (params: PasswordParams) => Promise<import("../_utils/http").AuthingGuardResponse<any>>;
@@ -0,0 +1,12 @@
1
+ import { CSSProperties, ReactNode } from 'react';
2
+ interface LazyloadImageProps {
3
+ src: string;
4
+ placeholder: ReactNode;
5
+ className?: string;
6
+ style?: CSSProperties;
7
+ alt?: string;
8
+ width?: string;
9
+ height?: string;
10
+ }
11
+ export declare function LazyloadImage(props: LazyloadImageProps): JSX.Element;
12
+ export {};
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import { OnPushSuccessProps, OnLoginProps } from './types';
3
+ import { AuthingGuardResponse } from '../../../_utils/http';
4
+ import { Agreement } from '../../../Type';
5
+ interface BeforeLoginProps {
6
+ onPushSuccess: (props: OnPushSuccessProps) => void;
7
+ signinByPush: (props: OnLoginProps) => Promise<AuthingGuardResponse<{
8
+ pushCodeId: string;
9
+ }>>;
10
+ pushLoginStatus: boolean;
11
+ onchangePushLoginStatus: () => void;
12
+ defaultAccount: string;
13
+ setAccount: React.Dispatch<any>;
14
+ agreements: Agreement[];
15
+ }
16
+ export declare function BeforeLogin(props: BeforeLoginProps): JSX.Element;
17
+ export {};
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import './styles.less';
3
+ interface PendingLoginProps {
4
+ onCancelLogin: () => void;
5
+ }
6
+ export declare function PendingLogin(props: PendingLoginProps): JSX.Element;
7
+ export {};
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { LoginWithAuthingOtpPushProps } from './types';
3
+ export declare function LoginWithAuthingOtpPush(props: LoginWithAuthingOtpPushProps): JSX.Element;
@@ -0,0 +1,18 @@
1
+ import { BackFillMultipleState, StoreInstance } from '../../../Guard/core/hooks/useMultipleAccounts';
2
+ import { Agreement } from '../../../Type';
3
+ export interface OnPushSuccessProps {
4
+ pushCodeId: string;
5
+ }
6
+ export interface CheckPushCodeStatusProps {
7
+ pushCodeId: string;
8
+ }
9
+ export interface OnLoginProps {
10
+ account: string;
11
+ }
12
+ export declare type LoginStatus = 'before' | 'pending';
13
+ export interface LoginWithAuthingOtpPushProps {
14
+ onLoginSuccess?: any;
15
+ multipleInstance?: StoreInstance;
16
+ initData?: BackFillMultipleState;
17
+ agreements: Agreement[];
18
+ }
@@ -35,7 +35,7 @@ declare function useLoginMultiple(setLoginWay: React.Dispatch<any>): {
35
35
  setUserInfo: (user: Pick<import("../../Guard/core/hooks/useMultipleAccounts").User & {
36
36
  id: string;
37
37
  loginAccount?: string | undefined;
38
- }, "email" | "username" | "phone" | "photo" | "id" | "name" | "nickname" | "_updateTime" | "qrCodeId" | "areaCode" | "loginAccount">) => void;
38
+ }, "email" | "username" | "phone" | "photo" | "id" | "name" | "nickname" | "qrCodeId" | "areaCode" | "_updateTime" | "loginAccount">) => void;
39
39
  setLoginWayByHttpData: (account: string, data: {
40
40
  username?: string | undefined;
41
41
  phone?: string | undefined;
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ export declare function useOtpPushLoginWay(setLoginWay: React.Dispatch<any>): void;
3
+ export declare function useOtpPushLoginCache(): {
4
+ getCachedOtpLoginAccount: typeof getCachedOtpLoginAccount;
5
+ cacheOtpLoginAccount: typeof cacheOtpLoginAccount;
6
+ clearOtpLoginAccountCache: typeof clearOtpLoginAccountCache;
7
+ };
8
+ export declare function cacheOtpLoginAccount(account: string): void;
9
+ export declare function getCachedOtpLoginAccount(): string;
10
+ export declare function clearOtpLoginAccountCache(): void;
@@ -1,5 +1,3 @@
1
- import { FC } from 'react';
1
+ /// <reference types="react" />
2
2
  import './styles.less';
3
- export declare const GuardLoginView: FC<{
4
- isResetPage?: boolean;
5
- }>;
3
+ export declare const GuardLoginView: () => JSX.Element;
@@ -40,6 +40,7 @@ export interface SelectOptions {
40
40
  * 替代图片元素
41
41
  */
42
42
  element?: React.ReactElement;
43
+ way: string;
43
44
  }
44
45
  declare const SelectPanel: React.FC<SelectPanelProps>;
45
46
  export { SelectPanel };
@@ -8,7 +8,8 @@ export declare enum LoginMethods {
8
8
  PhoneCode = "phone-code",
9
9
  WxMinQr = "wechat-miniprogram-qrcode",
10
10
  AD = "ad",
11
- WechatMpQrcode = "wechatmp-qrcode"
11
+ WechatMpQrcode = "wechatmp-qrcode",
12
+ AuthingOtpPush = "authing-otp-push"
12
13
  }
13
14
  export declare enum OIDCConnectionMode {
14
15
  FRONT_CHANNEL = "FRONT_CHANNEL",
@@ -307,4 +308,9 @@ export interface ApplicationConfig {
307
308
  mfa: {
308
309
  faceScore: number;
309
310
  };
311
+ authingOtpPushTabConfig: {
312
+ enabledLoginMethods: Array<string> | null;
313
+ validLoginMethods: Array<string> | null;
314
+ validRegisterMethods: Array<string> | null;
315
+ };
310
316
  }
@@ -83,6 +83,7 @@ export declare const useGuardEvents: () => Partial<GuardEvents>;
83
83
  export declare const useGuardModule: () => {
84
84
  changeModule: ((moduleName: GuardModuleType, initData?: any) => Promise<void>) | undefined;
85
85
  backModule: (() => void) | undefined;
86
+ currentModule: ModuleState;
86
87
  };
87
88
  export declare const useGuardFinallyConfig: () => GuardLocalConfig;
88
89
  export declare const useGuardContextLoaded: () => boolean;
@@ -116,7 +117,7 @@ export declare const useGuardMultipleInstance: () => {
116
117
  setUserInfo: (user: Pick<import("../Guard/core/hooks/useMultipleAccounts").User & {
117
118
  id: string;
118
119
  loginAccount?: string | undefined;
119
- }, "email" | "username" | "phone" | "photo" | "id" | "name" | "nickname" | "_updateTime" | "qrCodeId" | "areaCode" | "loginAccount">) => void;
120
+ }, "email" | "username" | "phone" | "photo" | "id" | "name" | "nickname" | "qrCodeId" | "areaCode" | "_updateTime" | "loginAccount">) => void;
120
121
  setLoginWayByHttpData: (account: string, data: {
121
122
  username?: string | undefined;
122
123
  phone?: string | undefined;
@@ -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.
@@ -7,7 +7,6 @@ export declare enum CodeAction {
7
7
  export declare enum ApiCode {
8
8
  IDENTITY_BINDING_ASK = 1641,
9
9
  IDENTITY_BINDING = 1640,
10
- IDENTITY_BINDING_NO_ASK = 1666,
11
10
  APP_MFA = 1636,
12
11
  MFA = 1635,
13
12
  ABORT_FLOW = 1699,
@@ -19,7 +18,6 @@ export declare enum ApiCode {
19
18
  UNSAFE_PASSWORD_TIP = 2061,
20
19
  UNSAFE_PASSWORD_RESET = 2071,
21
20
  FLOW_SELECT_ACCOUNT = 2921,
22
- TENANT_PORTAL = 1644,
23
- RESET_ACCOUNT_NAME = 1108
21
+ TENANT_PORTAL = 1644
24
22
  }
25
23
  export declare const ChangeModuleApiCodeMapping: Record<string, GuardModuleType>;
package/types/index.d.ts CHANGED
@@ -4,3 +4,4 @@ export * from './AuthClientProvider';
4
4
  export * from './Guard';
5
5
  export * from './Type';
6
6
  export * from './version';
7
+ export * from './Guard/core/hooks/useGuardView';
@@ -1,2 +1,2 @@
1
- declare const _default: "4.3.1";
1
+ declare const _default: "4.2.3-alpha.14";
2
2
  export default _default;
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2019-present Authing
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
@@ -1,26 +0,0 @@
1
- {
2
- "files": {
3
- "main.css": "/static/css/main.5aec6972.chunk.css",
4
- "main.js": "/static/js/main.b635a15a.chunk.js",
5
- "main.js.map": "/static/js/main.b635a15a.chunk.js.map",
6
- "runtime-main.js": "/static/js/runtime-main.6f6a6483.js",
7
- "runtime-main.js.map": "/static/js/runtime-main.6f6a6483.js.map",
8
- "static/css/2.31681d53.chunk.css": "/static/css/2.31681d53.chunk.css",
9
- "static/js/2.d2a1168e.chunk.js": "/static/js/2.d2a1168e.chunk.js",
10
- "static/js/2.d2a1168e.chunk.js.map": "/static/js/2.d2a1168e.chunk.js.map",
11
- "static/js/3.b3dd7130.chunk.js": "/static/js/3.b3dd7130.chunk.js",
12
- "static/js/3.b3dd7130.chunk.js.map": "/static/js/3.b3dd7130.chunk.js.map",
13
- "index.html": "/index.html",
14
- "static/css/2.31681d53.chunk.css.map": "/static/css/2.31681d53.chunk.css.map",
15
- "static/css/main.5aec6972.chunk.css.map": "/static/css/main.5aec6972.chunk.css.map",
16
- "static/js/2.d2a1168e.chunk.js.LICENSE.txt": "/static/js/2.d2a1168e.chunk.js.LICENSE.txt",
17
- "static/media/loading.3cf0104f.svg": "/static/media/loading.3cf0104f.svg"
18
- },
19
- "entrypoints": [
20
- "static/js/runtime-main.6f6a6483.js",
21
- "static/css/2.31681d53.chunk.css",
22
- "static/js/2.d2a1168e.chunk.js",
23
- "static/css/main.5aec6972.chunk.css",
24
- "static/js/main.b635a15a.chunk.js"
25
- ]
26
- }
package/dist/index.html DELETED
@@ -1 +0,0 @@
1
- <!doctype html><html lang="zh-TW"><head><meta charset="utf-8"/><link rel="icon" href="https://files.authing.co/authing-console/login_logo.svg"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><title>Guard Examples</title><link href="/static/css/2.31681d53.chunk.css" rel="stylesheet"><link href="/static/css/main.5aec6972.chunk.css" rel="stylesheet"></head><body><div id="root"></div><script>!function(e){function t(t){for(var n,i,a=t[0],c=t[1],l=t[2],s=0,p=[];s<a.length;s++)i=a[s],Object.prototype.hasOwnProperty.call(o,i)&&o[i]&&p.push(o[i][0]),o[i]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(f&&f(t);p.length;)p.shift()();return u.push.apply(u,l||[]),r()}function r(){for(var e,t=0;t<u.length;t++){for(var r=u[t],n=!0,a=1;a<r.length;a++){var c=r[a];0!==o[c]&&(n=!1)}n&&(u.splice(t--,1),e=i(i.s=r[0]))}return e}var n={},o={1:0},u=[];function i(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.e=function(e){var t=[],r=o[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=o[e]=[t,n]}));t.push(r[2]=n);var u,a=document.createElement("script");a.charset="utf-8",a.timeout=120,i.nc&&a.setAttribute("nonce",i.nc),a.src=function(e){return i.p+"static/js/"+({}[e]||e)+"."+{3:"b3dd7130"}[e]+".chunk.js"}(e);var c=new Error;u=function(t){a.onerror=a.onload=null,clearTimeout(l);var r=o[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),u=t&&t.target&&t.target.src;c.message="Loading chunk "+e+" failed.\n("+n+": "+u+")",c.name="ChunkLoadError",c.type=n,c.request=u,r[1](c)}o[e]=void 0}};var l=setTimeout((function(){u({type:"timeout",target:a})}),12e4);a.onerror=a.onload=u,document.head.appendChild(a)}return Promise.all(t)},i.m=e,i.c=n,i.d=function(e,t,r){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(i.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)i.d(r,n,function(t){return e[t]}.bind(null,n));return r},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="/",i.oe=function(e){throw console.error(e),e};var a=this["webpackJsonp@authing/react-ui-components"]=this["webpackJsonp@authing/react-ui-components"]||[],c=a.push.bind(a);a.push=t,a=a.slice();for(var l=0;l<a.length;l++)t(a[l]);var f=c;r()}([])</script><script src="/static/js/2.d2a1168e.chunk.js"></script><script src="/static/js/main.b635a15a.chunk.js"></script></body></html>