@pisell/private-materials 6.3.36 → 6.3.38
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/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +2 -2
- package/build/lowcode/preview.js +10 -29
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +11 -11
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +11 -11
- package/es/components/Sales/Summary/utils.d.ts +1 -1
- package/es/components/authentication/admin/AuthMethods/AuthMethods.less +136 -0
- package/es/components/authentication/admin/AuthMethods/SettingList.d.ts +5 -0
- package/es/components/authentication/admin/AuthMethods/SettingList.js +62 -0
- package/es/components/authentication/admin/AuthMethods/SettingList.less +85 -0
- package/es/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +22 -0
- package/es/components/authentication/admin/AuthMethods/SettingsDrawer.js +121 -0
- package/es/components/authentication/admin/AuthMethods/SettingsDrawer.less +163 -0
- package/es/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
- package/es/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.js +15 -0
- package/es/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +13 -0
- package/es/components/authentication/admin/AuthMethods/components/EmailSettingsContent.js +152 -0
- package/es/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
- package/es/components/authentication/admin/AuthMethods/components/LoginMethodsList.js +114 -0
- package/es/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +14 -0
- package/es/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.js +170 -0
- package/es/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +13 -0
- package/es/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.js +116 -0
- package/es/components/authentication/admin/AuthMethods/components/index.d.ts +10 -0
- package/es/components/authentication/admin/AuthMethods/components/index.js +5 -0
- package/es/components/authentication/admin/AuthMethods/constants.d.ts +22 -0
- package/es/components/authentication/admin/AuthMethods/constants.js +121 -0
- package/es/components/authentication/admin/AuthMethods/index.d.ts +8 -0
- package/es/components/authentication/admin/AuthMethods/index.js +233 -0
- package/es/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
- package/es/components/authentication/admin/AuthMethods/locales.js +290 -0
- package/es/components/authentication/admin/AuthMethods/types.d.ts +76 -0
- package/es/components/authentication/admin/AuthMethods/types.js +23 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/AuthenticationMethods.less +231 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.js +447 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.js +107 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.js +1 -0
- package/es/components/authentication/admin/ChannelAuthSetting/ChannelAuthSetting.less +111 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/CollectInfo.less +259 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.js +530 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.js +86 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.js +1 -0
- package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.js +460 -0
- package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.less +111 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/PageSetting.less +105 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/index.d.ts +8 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/index.js +185 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.js +32 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/types.js +1 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/PageSettingItem.less +272 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +8 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.js +214 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.js +71 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.js +1 -0
- package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.js +287 -0
- package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.less +111 -0
- package/es/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/index.js +228 -0
- package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
- package/es/components/authentication/admin/ChannelAuthSetting/locales.js +50 -0
- package/es/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
- package/es/components/authentication/admin/ChannelAuthSetting/types.js +1 -0
- package/es/components/authentication/admin/CustomerAuth/CustomerAuth.less +104 -0
- package/es/components/authentication/admin/CustomerAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/CustomerAuth/index.js +711 -0
- package/es/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
- package/es/components/authentication/admin/CustomerAuth/locales.js +86 -0
- package/es/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
- package/es/components/authentication/admin/CustomerAuth/types.js +1 -0
- package/es/components/authentication/admin/CustomerOAuthConfig/CustomerOAuthConfig.less +164 -0
- package/es/components/authentication/admin/CustomerOAuthConfig/index.d.ts +6 -0
- package/es/components/authentication/admin/CustomerOAuthConfig/index.js +545 -0
- package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
- package/es/components/authentication/admin/CustomerOAuthConfig/locales.js +137 -0
- package/es/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
- package/es/components/authentication/admin/CustomerOAuthConfig/types.js +1 -0
- package/es/components/authentication/admin/DeviceAuth/DeviceAuth.less +104 -0
- package/es/components/authentication/admin/DeviceAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/DeviceAuth/index.js +366 -0
- package/es/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
- package/es/components/authentication/admin/DeviceAuth/locales.js +74 -0
- package/es/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
- package/es/components/authentication/admin/DeviceAuth/types.js +1 -0
- package/es/components/authentication/admin/OAuthConfig/OAuthConfig.less +165 -0
- package/es/components/authentication/admin/OAuthConfig/index.d.ts +6 -0
- package/es/components/authentication/admin/OAuthConfig/index.js +347 -0
- package/es/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
- package/es/components/authentication/admin/OAuthConfig/locales.js +116 -0
- package/es/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
- package/es/components/authentication/admin/OAuthConfig/types.js +1 -0
- package/es/components/authentication/admin/OrgAdminAuth/OrgAdminAuth.less +104 -0
- package/es/components/authentication/admin/OrgAdminAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/OrgAdminAuth/index.js +543 -0
- package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
- package/es/components/authentication/admin/OrgAdminAuth/locales.js +74 -0
- package/es/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
- package/es/components/authentication/admin/OrgAdminAuth/types.js +1 -0
- package/es/components/authentication/admin/POSOperatorAuth/POSOperatorAuth.less +104 -0
- package/es/components/authentication/admin/POSOperatorAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/POSOperatorAuth/index.js +374 -0
- package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
- package/es/components/authentication/admin/POSOperatorAuth/locales.js +65 -0
- package/es/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
- package/es/components/authentication/admin/POSOperatorAuth/types.js +1 -0
- package/es/components/authentication/admin/SaaSAdminAuth/SaaSAdminAuth.less +104 -0
- package/es/components/authentication/admin/SaaSAdminAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/SaaSAdminAuth/index.js +625 -0
- package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
- package/es/components/authentication/admin/SaaSAdminAuth/locales.js +74 -0
- package/es/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
- package/es/components/authentication/admin/SaaSAdminAuth/types.js +1 -0
- package/es/components/authentication/admin/index.d.ts +26 -0
- package/es/components/authentication/admin/index.js +23 -0
- package/es/components/authentication/index.d.ts +0 -0
- package/es/components/authentication/index.js +0 -0
- package/es/components/booking/components/customSelect/index.js +6 -2
- package/es/components/booking/components/footer/utils.js +1 -1
- package/es/components/booking/info/service2/utils.d.ts +1 -1
- package/es/components/booking/utils.d.ts +2 -2
- package/es/components/eftposPay/amount.d.ts +1 -1
- package/es/components/eftposPay/device.d.ts +1 -1
- package/es/components/eftposPay/hooks.d.ts +2 -2
- package/es/components/eftposPay/store/index.d.ts +6 -6
- package/es/components/index.d.ts +2 -1
- package/es/components/index.js +2 -1
- package/es/components/pay/toC/index.js +19 -14
- package/es/components/pay/toC/status.d.ts +1 -0
- package/es/components/pay/toC/status.js +3 -0
- package/es/index.d.ts +2 -0
- package/es/index.js +1 -0
- package/es/pro/Login2.0/Login2.js +78 -27
- package/es/pro/pisellPaymentList/example.d.ts +19 -0
- package/es/pro/pisellPaymentList/example.js +434 -0
- package/lib/components/Sales/Summary/utils.d.ts +1 -1
- package/lib/components/authentication/admin/AuthMethods/AuthMethods.less +136 -0
- package/lib/components/authentication/admin/AuthMethods/SettingList.d.ts +5 -0
- package/lib/components/authentication/admin/AuthMethods/SettingList.js +75 -0
- package/lib/components/authentication/admin/AuthMethods/SettingList.less +85 -0
- package/lib/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +22 -0
- package/lib/components/authentication/admin/AuthMethods/SettingsDrawer.js +126 -0
- package/lib/components/authentication/admin/AuthMethods/SettingsDrawer.less +163 -0
- package/lib/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
- package/lib/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.js +42 -0
- package/lib/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +13 -0
- package/lib/components/authentication/admin/AuthMethods/components/EmailSettingsContent.js +108 -0
- package/lib/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
- package/lib/components/authentication/admin/AuthMethods/components/LoginMethodsList.js +108 -0
- package/lib/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +14 -0
- package/lib/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.js +93 -0
- package/lib/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +13 -0
- package/lib/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.js +85 -0
- package/lib/components/authentication/admin/AuthMethods/components/index.d.ts +10 -0
- package/lib/components/authentication/admin/AuthMethods/components/index.js +51 -0
- package/lib/components/authentication/admin/AuthMethods/constants.d.ts +22 -0
- package/lib/components/authentication/admin/AuthMethods/constants.js +115 -0
- package/lib/components/authentication/admin/AuthMethods/index.d.ts +8 -0
- package/lib/components/authentication/admin/AuthMethods/index.js +196 -0
- package/lib/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
- package/lib/components/authentication/admin/AuthMethods/locales.js +314 -0
- package/lib/components/authentication/admin/AuthMethods/types.d.ts +76 -0
- package/lib/components/authentication/admin/AuthMethods/types.js +53 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/AuthenticationMethods.less +231 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.js +311 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.js +131 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.js +17 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/ChannelAuthSetting.less +111 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/CollectInfo.less +259 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.js +410 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.js +110 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.js +17 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.js +383 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.less +111 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/PageSetting.less +105 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/index.d.ts +8 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/index.js +148 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.js +56 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/types.js +17 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/PageSettingItem.less +272 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +8 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.js +206 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.js +95 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.js +17 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.js +246 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.less +111 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/index.js +177 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/locales.js +74 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/types.js +17 -0
- package/lib/components/authentication/admin/CustomerAuth/CustomerAuth.less +104 -0
- package/lib/components/authentication/admin/CustomerAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/CustomerAuth/index.js +507 -0
- package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
- package/lib/components/authentication/admin/CustomerAuth/locales.js +110 -0
- package/lib/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
- package/lib/components/authentication/admin/CustomerAuth/types.js +17 -0
- package/lib/components/authentication/admin/CustomerOAuthConfig/CustomerOAuthConfig.less +164 -0
- package/lib/components/authentication/admin/CustomerOAuthConfig/index.d.ts +6 -0
- package/lib/components/authentication/admin/CustomerOAuthConfig/index.js +331 -0
- package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
- package/lib/components/authentication/admin/CustomerOAuthConfig/locales.js +161 -0
- package/lib/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
- package/lib/components/authentication/admin/CustomerOAuthConfig/types.js +17 -0
- package/lib/components/authentication/admin/DeviceAuth/DeviceAuth.less +104 -0
- package/lib/components/authentication/admin/DeviceAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/DeviceAuth/index.js +254 -0
- package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
- package/lib/components/authentication/admin/DeviceAuth/locales.js +98 -0
- package/lib/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
- package/lib/components/authentication/admin/DeviceAuth/types.js +17 -0
- package/lib/components/authentication/admin/OAuthConfig/OAuthConfig.less +165 -0
- package/lib/components/authentication/admin/OAuthConfig/index.d.ts +6 -0
- package/lib/components/authentication/admin/OAuthConfig/index.js +226 -0
- package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
- package/lib/components/authentication/admin/OAuthConfig/locales.js +140 -0
- package/lib/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
- package/lib/components/authentication/admin/OAuthConfig/types.js +17 -0
- package/lib/components/authentication/admin/OrgAdminAuth/OrgAdminAuth.less +104 -0
- package/lib/components/authentication/admin/OrgAdminAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/OrgAdminAuth/index.js +398 -0
- package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
- package/lib/components/authentication/admin/OrgAdminAuth/locales.js +98 -0
- package/lib/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
- package/lib/components/authentication/admin/OrgAdminAuth/types.js +17 -0
- package/lib/components/authentication/admin/POSOperatorAuth/POSOperatorAuth.less +104 -0
- package/lib/components/authentication/admin/POSOperatorAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/POSOperatorAuth/index.js +262 -0
- package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
- package/lib/components/authentication/admin/POSOperatorAuth/locales.js +89 -0
- package/lib/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
- package/lib/components/authentication/admin/POSOperatorAuth/types.js +17 -0
- package/lib/components/authentication/admin/SaaSAdminAuth/SaaSAdminAuth.less +104 -0
- package/lib/components/authentication/admin/SaaSAdminAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/SaaSAdminAuth/index.js +481 -0
- package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
- package/lib/components/authentication/admin/SaaSAdminAuth/locales.js +98 -0
- package/lib/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
- package/lib/components/authentication/admin/SaaSAdminAuth/types.js +17 -0
- package/lib/components/authentication/admin/index.d.ts +26 -0
- package/lib/components/authentication/admin/index.js +83 -0
- package/lib/components/authentication/index.d.ts +0 -0
- package/lib/components/authentication/index.js +0 -0
- package/lib/components/booking/components/customSelect/index.js +6 -2
- package/lib/components/booking/components/footer/utils.js +1 -1
- package/lib/components/booking/info/service2/utils.d.ts +1 -1
- package/lib/components/booking/utils.d.ts +2 -2
- package/lib/components/eftposPay/amount.d.ts +1 -1
- package/lib/components/eftposPay/device.d.ts +1 -1
- package/lib/components/eftposPay/hooks.d.ts +2 -2
- package/lib/components/eftposPay/store/index.d.ts +6 -6
- package/lib/components/index.d.ts +2 -1
- package/lib/components/index.js +19 -0
- package/lib/components/pay/toC/index.js +10 -2
- package/lib/components/pay/toC/status.d.ts +1 -0
- package/lib/components/pay/toC/status.js +5 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +19 -0
- package/lib/pro/Login2.0/Login2.js +86 -23
- package/lib/pro/pisellPaymentList/example.d.ts +19 -0
- package/lib/pro/pisellPaymentList/example.js +416 -0
- package/lowcode/admin-auth-customer-auth/meta.ts +29 -0
- package/lowcode/admin-auth-customer-oauth-config/meta.ts +55 -0
- package/lowcode/admin-auth-device-auth/meta.ts +30 -0
- package/lowcode/admin-auth-methods/meta.ts +385 -0
- package/lowcode/admin-auth-oauth-config/meta.ts +29 -0
- package/lowcode/admin-auth-online-shop-auth/meta.ts +29 -0
- package/lowcode/admin-auth-org-admin-auth/meta.ts +29 -0
- package/lowcode/admin-auth-pos-operator-auth/meta.ts +30 -0
- package/lowcode/admin-auth-saas-admin-auth/meta.ts +29 -0
- package/lowcode/admin-auth-saas-managerment-auth/meta.ts +30 -0
- package/lowcode/admin-setting-list/meta.ts +125 -0
- package/lowcode/pro-register/meta.ts +385 -0
- package/package.json +2 -2
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
en: {
|
|
3
|
+
// Auth method titles and descriptions
|
|
4
|
+
'auth.method.email.title': 'Email',
|
|
5
|
+
'auth.method.email.description': 'Register and log in via email',
|
|
6
|
+
'auth.method.phone.title': 'Phone Number',
|
|
7
|
+
'auth.method.phone.description': 'Register and log in via phone number',
|
|
8
|
+
'auth.method.facebook.title': 'Facebook',
|
|
9
|
+
'auth.method.facebook.description': 'Log in with Facebook account',
|
|
10
|
+
'auth.method.apple.title': 'Apple',
|
|
11
|
+
'auth.method.apple.description': 'Log in with Apple ID',
|
|
12
|
+
'auth.method.guest.title': 'Guest',
|
|
13
|
+
'auth.method.guest.description': 'Allow guests to access without registration process',
|
|
14
|
+
// Login method titles and descriptions
|
|
15
|
+
'auth.login.method.password.title': 'Password',
|
|
16
|
+
'auth.login.method.password.email.description': 'Log in using email and password',
|
|
17
|
+
'auth.login.method.password.phone.description': 'Log in using phone and password',
|
|
18
|
+
'auth.login.method.magic-link.title': 'Magic Link',
|
|
19
|
+
'auth.login.method.magic-link.description': 'Send a magic link to email',
|
|
20
|
+
'auth.login.method.verification-code.title': 'Verification Code',
|
|
21
|
+
'auth.login.method.verification-code.description': 'Send a verification code to email',
|
|
22
|
+
'auth.login.method.sms.title': 'SMS Code',
|
|
23
|
+
'auth.login.method.sms.description': 'Send a verification code via SMS',
|
|
24
|
+
// Drawer title
|
|
25
|
+
'auth.email.settings': 'Email Settings',
|
|
26
|
+
'auth.phone.settings': 'Phone Number Settings',
|
|
27
|
+
// Email Registration section
|
|
28
|
+
'auth.email.registration.title': 'Email Registration',
|
|
29
|
+
'auth.email.registration.enable': 'Enable Email Registration',
|
|
30
|
+
'auth.email.registration.enable.description': 'Allow users to register using email address',
|
|
31
|
+
// Registration Verification section
|
|
32
|
+
'auth.email.verification.title': 'Registration Verification',
|
|
33
|
+
'auth.email.verification.description': 'Select email verification method for registration.',
|
|
34
|
+
'auth.email.verification.link': 'Verification Link',
|
|
35
|
+
'auth.email.verification.link.description': "Send verification link to user's email, user clicks link to complete registration",
|
|
36
|
+
'auth.email.verification.code': 'Verification Code',
|
|
37
|
+
'auth.email.verification.code.description': "Send verification code to user's email, user needs to input the verification code to complete registration",
|
|
38
|
+
'auth.email.verification.note': 'Note:',
|
|
39
|
+
'auth.email.verification.note.description': 'On self-service devices like Kiosk, the system will automatically use Verification Code mode instead of Verification Link for better user experience.',
|
|
40
|
+
// Login Verification Methods section
|
|
41
|
+
'auth.email.login.title': 'Login Verification Methods',
|
|
42
|
+
'auth.email.login.description': 'Drag to reorder login methods by priority.',
|
|
43
|
+
'auth.email.login.password': 'Password Login',
|
|
44
|
+
'auth.email.login.password.description': 'User inputs their password for authentication',
|
|
45
|
+
'auth.email.login.magic-link': 'Magic Link Login',
|
|
46
|
+
'auth.email.login.magic-link.description': "Send login link to user's email, click link to complete login",
|
|
47
|
+
'auth.email.login.verification-code': 'Email Verification Code',
|
|
48
|
+
'auth.email.login.verification-code.description': "Send verification code to user's email, user inputs the code to login",
|
|
49
|
+
// Phone Registration section
|
|
50
|
+
'auth.phone.registration.title': 'Phone Number Registration',
|
|
51
|
+
'auth.phone.registration.enable': 'Enable Phone Number Registration',
|
|
52
|
+
'auth.phone.registration.enable.description': 'Allow users to register using phone number',
|
|
53
|
+
// Phone Registration Verification section
|
|
54
|
+
'auth.phone.verification.title': 'Registration Verification',
|
|
55
|
+
'auth.phone.verification.description': 'Select phone verification method for registration.',
|
|
56
|
+
'auth.phone.verification.sms': 'SMS Verification Code',
|
|
57
|
+
'auth.phone.verification.sms.description': "Send verification code to user's phone number, user inputs the code to complete registration",
|
|
58
|
+
// Phone Login Verification Methods section
|
|
59
|
+
'auth.phone.login.title': 'Login Verification Methods',
|
|
60
|
+
'auth.phone.login.description': 'Drag to reorder login methods by priority.',
|
|
61
|
+
'auth.phone.login.password': 'Password Login',
|
|
62
|
+
'auth.phone.login.password.description': 'User inputs their password for authentication',
|
|
63
|
+
'auth.phone.login.sms': 'SMS Verification Code',
|
|
64
|
+
'auth.phone.login.sms.description': "Send verification code to user's phone number, user inputs the code to login",
|
|
65
|
+
// Password Settings
|
|
66
|
+
'auth.password.settings': 'Password Settings',
|
|
67
|
+
'auth.password.rules.title': 'Password Rules',
|
|
68
|
+
'auth.password.rules.description': 'Define password complexity requirements for accounts',
|
|
69
|
+
'auth.password.requirements.title': 'Password Requirements',
|
|
70
|
+
'auth.password.requirements.description': 'Define password complexity requirements for user accounts.',
|
|
71
|
+
'auth.password.min.length': 'Minimum Length',
|
|
72
|
+
'auth.password.min.length.description': 'Required password length',
|
|
73
|
+
'auth.password.requirements': 'Requirements',
|
|
74
|
+
'auth.password.requirements.character': 'Character type requirements',
|
|
75
|
+
'auth.password.require.uppercase': 'Require uppercase letters',
|
|
76
|
+
'auth.password.require.uppercase.description': 'At least one uppercase letter (A-Z)',
|
|
77
|
+
'auth.password.require.lowercase': 'Require lowercase letters',
|
|
78
|
+
'auth.password.require.lowercase.description': 'At least one lowercase letter (a-z)',
|
|
79
|
+
'auth.password.require.numbers': 'Require numbers',
|
|
80
|
+
'auth.password.require.numbers.description': 'At least one number (0-9)',
|
|
81
|
+
'auth.password.require.special': 'Require special characters',
|
|
82
|
+
'auth.password.require.special.description': 'At least one special character (!@#$%^&*)',
|
|
83
|
+
// Buttons
|
|
84
|
+
'auth.button.cancel': 'Cancel',
|
|
85
|
+
'auth.button.save': 'Save',
|
|
86
|
+
'auth.button.settings': 'Settings',
|
|
87
|
+
// Category badges
|
|
88
|
+
'auth.category.general': 'General',
|
|
89
|
+
'auth.category.password-free': 'Password-free',
|
|
90
|
+
'auth.category.auth-free': 'Auth-free',
|
|
91
|
+
'auth.category.oauth': 'OAuth',
|
|
92
|
+
// OAuth configuration
|
|
93
|
+
'auth.oauth.config.message': 'Configure OAuth settings in Auth Configuration page first',
|
|
94
|
+
'auth.oauth.config.link': 'click to config',
|
|
95
|
+
// Empty state
|
|
96
|
+
'auth.settings.no.additional': 'No additional settings available for this authentication method.'
|
|
97
|
+
},
|
|
98
|
+
'zh-CN': {
|
|
99
|
+
// Auth method titles and descriptions
|
|
100
|
+
'auth.method.email.title': '邮箱',
|
|
101
|
+
'auth.method.email.description': '通过邮箱注册和登录',
|
|
102
|
+
'auth.method.phone.title': '手机号码',
|
|
103
|
+
'auth.method.phone.description': '通过手机号码注册和登录',
|
|
104
|
+
'auth.method.facebook.title': 'Facebook',
|
|
105
|
+
'auth.method.facebook.description': '使用Facebook账号登录',
|
|
106
|
+
'auth.method.apple.title': 'Apple',
|
|
107
|
+
'auth.method.apple.description': '使用Apple ID登录',
|
|
108
|
+
'auth.method.guest.title': '访客',
|
|
109
|
+
'auth.method.guest.description': '允许访客无需注册即可访问',
|
|
110
|
+
// Login method titles and descriptions
|
|
111
|
+
'auth.login.method.password.title': '密码',
|
|
112
|
+
'auth.login.method.password.email.description': '使用邮箱和密码登录',
|
|
113
|
+
'auth.login.method.password.phone.description': '使用手机号和密码登录',
|
|
114
|
+
'auth.login.method.magic-link.title': '魔法链接',
|
|
115
|
+
'auth.login.method.magic-link.description': '向邮箱发送魔法链接',
|
|
116
|
+
'auth.login.method.verification-code.title': '验证码',
|
|
117
|
+
'auth.login.method.verification-code.description': '向邮箱发送验证码',
|
|
118
|
+
'auth.login.method.sms.title': '短信验证码',
|
|
119
|
+
'auth.login.method.sms.description': '通过短信发送验证码',
|
|
120
|
+
// Drawer title
|
|
121
|
+
'auth.email.settings': '邮箱设置',
|
|
122
|
+
'auth.phone.settings': '手机号码设置',
|
|
123
|
+
// Email Registration section
|
|
124
|
+
'auth.email.registration.title': '邮箱注册',
|
|
125
|
+
'auth.email.registration.enable': '启用邮箱注册',
|
|
126
|
+
'auth.email.registration.enable.description': '允许用户使用邮箱地址注册',
|
|
127
|
+
// Registration Verification section
|
|
128
|
+
'auth.email.verification.title': '注册验证',
|
|
129
|
+
'auth.email.verification.description': '选择注册时的邮箱验证方式。',
|
|
130
|
+
'auth.email.verification.link': '验证链接',
|
|
131
|
+
'auth.email.verification.link.description': '发送验证链接到用户邮箱,用户点击链接完成注册',
|
|
132
|
+
'auth.email.verification.code': '验证码',
|
|
133
|
+
'auth.email.verification.code.description': '发送验证码到用户邮箱,用户需要输入验证码完成注册',
|
|
134
|
+
'auth.email.verification.note': '注意:',
|
|
135
|
+
'auth.email.verification.note.description': '在自助设备如Kiosk上,系统将自动使用验证码模式而不是验证链接,以提供更好的用户体验。',
|
|
136
|
+
// Login Verification Methods section
|
|
137
|
+
'auth.email.login.title': '登录验证方法',
|
|
138
|
+
'auth.email.login.description': '拖拽调整登录方法优先级。',
|
|
139
|
+
'auth.email.login.password': '密码登录',
|
|
140
|
+
'auth.email.login.password.description': '用户输入密码进行身份验证',
|
|
141
|
+
'auth.email.login.magic-link': '魔法链接登录',
|
|
142
|
+
'auth.email.login.magic-link.description': '发送登录链接到用户邮箱,点击链接完成登录',
|
|
143
|
+
'auth.email.login.verification-code': '邮箱验证码',
|
|
144
|
+
'auth.email.login.verification-code.description': '发送验证码到用户邮箱,用户输入验证码登录',
|
|
145
|
+
// Phone Registration section
|
|
146
|
+
'auth.phone.registration.title': '手机号码注册',
|
|
147
|
+
'auth.phone.registration.enable': '启用手机号码注册',
|
|
148
|
+
'auth.phone.registration.enable.description': '允许用户使用手机号码注册',
|
|
149
|
+
// Phone Registration Verification section
|
|
150
|
+
'auth.phone.verification.title': '注册验证',
|
|
151
|
+
'auth.phone.verification.description': '选择注册时的手机验证方式。',
|
|
152
|
+
'auth.phone.verification.sms': '短信验证码',
|
|
153
|
+
'auth.phone.verification.sms.description': '发送验证码到用户手机,用户输入验证码完成注册',
|
|
154
|
+
// Phone Login Verification Methods section
|
|
155
|
+
'auth.phone.login.title': '登录验证方法',
|
|
156
|
+
'auth.phone.login.description': '拖拽调整登录方法优先级。',
|
|
157
|
+
'auth.phone.login.password': '密码登录',
|
|
158
|
+
'auth.phone.login.password.description': '用户输入密码进行身份验证',
|
|
159
|
+
'auth.phone.login.sms': '短信验证码',
|
|
160
|
+
'auth.phone.login.sms.description': '发送验证码到用户手机,用户输入验证码登录',
|
|
161
|
+
// Password Settings
|
|
162
|
+
'auth.password.settings': '密码设置',
|
|
163
|
+
'auth.password.rules.title': '密码规则',
|
|
164
|
+
'auth.password.rules.description': '定义账户的密码复杂度要求',
|
|
165
|
+
'auth.password.requirements.title': '密码要求',
|
|
166
|
+
'auth.password.requirements.description': '定义用户账户的密码复杂度要求。',
|
|
167
|
+
'auth.password.min.length': '最小长度',
|
|
168
|
+
'auth.password.min.length.description': '密码长度要求',
|
|
169
|
+
'auth.password.requirements': '要求',
|
|
170
|
+
'auth.password.requirements.character': '字符类型要求',
|
|
171
|
+
'auth.password.require.uppercase': '需要大写字母',
|
|
172
|
+
'auth.password.require.uppercase.description': '至少一个大写字母(A-Z)',
|
|
173
|
+
'auth.password.require.lowercase': '需要小写字母',
|
|
174
|
+
'auth.password.require.lowercase.description': '至少一个小写字母(a-z)',
|
|
175
|
+
'auth.password.require.numbers': '需要数字',
|
|
176
|
+
'auth.password.require.numbers.description': '至少一个数字(0-9)',
|
|
177
|
+
'auth.password.require.special': '需要特殊字符',
|
|
178
|
+
'auth.password.require.special.description': '至少一个特殊字符(!@#$%^&*)',
|
|
179
|
+
// Buttons
|
|
180
|
+
'auth.button.cancel': '取消',
|
|
181
|
+
'auth.button.save': '保存',
|
|
182
|
+
'auth.button.settings': '设置',
|
|
183
|
+
// Category badges
|
|
184
|
+
'auth.category.general': '通用',
|
|
185
|
+
'auth.category.password-free': '免密',
|
|
186
|
+
'auth.category.auth-free': '免认证',
|
|
187
|
+
'auth.category.oauth': 'OAuth',
|
|
188
|
+
// OAuth configuration
|
|
189
|
+
'auth.oauth.config.message': '请先在OAuth配置页面中配置OAuth设置',
|
|
190
|
+
'auth.oauth.config.link': '点击配置',
|
|
191
|
+
// Empty state
|
|
192
|
+
'auth.settings.no.additional': '此认证方法没有额外的设置选项。'
|
|
193
|
+
},
|
|
194
|
+
'zh-HK': {
|
|
195
|
+
// Auth method titles and descriptions
|
|
196
|
+
'auth.method.email.title': '郵箱',
|
|
197
|
+
'auth.method.email.description': '通過郵箱註冊和登錄',
|
|
198
|
+
'auth.method.phone.title': '手機號碼',
|
|
199
|
+
'auth.method.phone.description': '通過手機號碼註冊和登錄',
|
|
200
|
+
'auth.method.facebook.title': 'Facebook',
|
|
201
|
+
'auth.method.facebook.description': '使用Facebook賬號登錄',
|
|
202
|
+
'auth.method.apple.title': 'Apple',
|
|
203
|
+
'auth.method.apple.description': '使用Apple ID登錄',
|
|
204
|
+
'auth.method.guest.title': '訪客',
|
|
205
|
+
'auth.method.guest.description': '允許訪客無需註冊即可訪問',
|
|
206
|
+
// Login method titles and descriptions
|
|
207
|
+
'auth.login.method.password.title': '密碼',
|
|
208
|
+
'auth.login.method.password.email.description': '使用郵箱和密碼登錄',
|
|
209
|
+
'auth.login.method.password.phone.description': '使用手機號和密碼登錄',
|
|
210
|
+
'auth.login.method.magic-link.title': '魔法鏈接',
|
|
211
|
+
'auth.login.method.magic-link.description': '向郵箱發送魔法鏈接',
|
|
212
|
+
'auth.login.method.verification-code.title': '驗證碼',
|
|
213
|
+
'auth.login.method.verification-code.description': '向郵箱發送驗證碼',
|
|
214
|
+
'auth.login.method.sms.title': '短信驗證碼',
|
|
215
|
+
'auth.login.method.sms.description': '通過短信發送驗證碼',
|
|
216
|
+
// Drawer title
|
|
217
|
+
'auth.email.settings': '郵箱設置',
|
|
218
|
+
'auth.phone.settings': '手機號碼設置',
|
|
219
|
+
// Email Registration section
|
|
220
|
+
'auth.email.registration.title': '郵箱註冊',
|
|
221
|
+
'auth.email.registration.enable': '啟用郵箱註冊',
|
|
222
|
+
'auth.email.registration.enable.description': '允許用戶使用郵箱地址註冊',
|
|
223
|
+
// Registration Verification section
|
|
224
|
+
'auth.email.verification.title': '註冊驗證',
|
|
225
|
+
'auth.email.verification.description': '選擇註冊時的郵箱驗證方式。',
|
|
226
|
+
'auth.email.verification.link': '驗證鏈接',
|
|
227
|
+
'auth.email.verification.link.description': '發送驗證鏈接到用戶郵箱,用戶點擊鏈接完成註冊',
|
|
228
|
+
'auth.email.verification.code': '驗證碼',
|
|
229
|
+
'auth.email.verification.code.description': '發送驗證碼到用戶郵箱,用戶需要輸入驗證碼完成註冊',
|
|
230
|
+
'auth.email.verification.note': '注意:',
|
|
231
|
+
'auth.email.verification.note.description': '在自助設備如Kiosk上,系統將自動使用驗證碼模式而不是驗證鏈接,以提供更好的用戶體驗。',
|
|
232
|
+
// Login Verification Methods section
|
|
233
|
+
'auth.email.login.title': '登錄驗證方法',
|
|
234
|
+
'auth.email.login.description': '拖拽調整登錄方法優先級。',
|
|
235
|
+
'auth.email.login.password': '密碼登錄',
|
|
236
|
+
'auth.email.login.password.description': '用戶輸入密碼進行身份驗證',
|
|
237
|
+
'auth.email.login.magic-link': '魔法鏈接登錄',
|
|
238
|
+
'auth.email.login.magic-link.description': '發送登錄鏈接到用戶郵箱,點擊鏈接完成登錄',
|
|
239
|
+
'auth.email.login.verification-code': '郵箱驗證碼',
|
|
240
|
+
'auth.email.login.verification-code.description': '發送驗證碼到用戶郵箱,用戶輸入驗證碼登錄',
|
|
241
|
+
// Phone Registration section
|
|
242
|
+
'auth.phone.registration.title': '手機號碼註冊',
|
|
243
|
+
'auth.phone.registration.enable': '啟用手機號碼註冊',
|
|
244
|
+
'auth.phone.registration.enable.description': '允許用戶使用手機號碼註冊',
|
|
245
|
+
// Phone Registration Verification section
|
|
246
|
+
'auth.phone.verification.title': '註冊驗證',
|
|
247
|
+
'auth.phone.verification.description': '選擇註冊時的手機驗證方式。',
|
|
248
|
+
'auth.phone.verification.sms': '短信驗證碼',
|
|
249
|
+
'auth.phone.verification.sms.description': '發送驗證碼到用戶手機,用戶輸入驗證碼完成註冊',
|
|
250
|
+
// Phone Login Verification Methods section
|
|
251
|
+
'auth.phone.login.title': '登錄驗證方法',
|
|
252
|
+
'auth.phone.login.description': '拖拽調整登錄方法優先級。',
|
|
253
|
+
'auth.phone.login.password': '密碼登錄',
|
|
254
|
+
'auth.phone.login.password.description': '用戶輸入密碼進行身份驗證',
|
|
255
|
+
'auth.phone.login.sms': '短信驗證碼',
|
|
256
|
+
'auth.phone.login.sms.description': '發送驗證碼到用戶手機,用戶輸入驗證碼登錄',
|
|
257
|
+
// Password Settings
|
|
258
|
+
'auth.password.settings': '密碼設置',
|
|
259
|
+
'auth.password.rules.title': '密碼規則',
|
|
260
|
+
'auth.password.rules.description': '定義賬戶的密碼複雜度要求',
|
|
261
|
+
'auth.password.requirements.title': '密碼要求',
|
|
262
|
+
'auth.password.requirements.description': '定義用戶賬戶的密碼複雜度要求。',
|
|
263
|
+
'auth.password.min.length': '最小長度',
|
|
264
|
+
'auth.password.min.length.description': '密碼長度要求',
|
|
265
|
+
'auth.password.requirements': '要求',
|
|
266
|
+
'auth.password.requirements.character': '字符類型要求',
|
|
267
|
+
'auth.password.require.uppercase': '需要大寫字母',
|
|
268
|
+
'auth.password.require.uppercase.description': '至少一個大寫字母(A-Z)',
|
|
269
|
+
'auth.password.require.lowercase': '需要小寫字母',
|
|
270
|
+
'auth.password.require.lowercase.description': '至少一個小寫字母(a-z)',
|
|
271
|
+
'auth.password.require.numbers': '需要數字',
|
|
272
|
+
'auth.password.require.numbers.description': '至少一個數字(0-9)',
|
|
273
|
+
'auth.password.require.special': '需要特殊字符',
|
|
274
|
+
'auth.password.require.special.description': '至少一個特殊字符(!@#$%^&*)',
|
|
275
|
+
// Buttons
|
|
276
|
+
'auth.button.cancel': '取消',
|
|
277
|
+
'auth.button.save': '保存',
|
|
278
|
+
'auth.button.settings': '設置',
|
|
279
|
+
// Category badges
|
|
280
|
+
'auth.category.general': '通用',
|
|
281
|
+
'auth.category.password-free': '免密',
|
|
282
|
+
'auth.category.auth-free': '免認證',
|
|
283
|
+
'auth.category.oauth': 'OAuth',
|
|
284
|
+
// OAuth configuration
|
|
285
|
+
'auth.oauth.config.message': '請先在OAuth配置頁面中配置OAuth設置',
|
|
286
|
+
'auth.oauth.config.link': '點擊配置',
|
|
287
|
+
// Empty state
|
|
288
|
+
'auth.settings.no.additional': '此認證方法沒有額外的設置選項。'
|
|
289
|
+
}
|
|
290
|
+
};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare enum AuthMethodType {
|
|
3
|
+
EMAIL = "email",
|
|
4
|
+
PHONE = "phone",
|
|
5
|
+
WALLET_PIN = "wallet_pin",
|
|
6
|
+
CUSTOMER_PASSCODE = "customer_passcode",
|
|
7
|
+
DEVICE_PASSCODE = "device_passcode",
|
|
8
|
+
TEAM_MEMBER = "team_member",
|
|
9
|
+
PASSWORD_RULES = "password_rules",
|
|
10
|
+
GUEST = "guest",
|
|
11
|
+
WALK_IN = "walk_in",
|
|
12
|
+
GOOGLE = "google",
|
|
13
|
+
FACEBOOK = "facebook",
|
|
14
|
+
APPLE = "apple",
|
|
15
|
+
DIGIT_ID_PIN = "digit_id_pin"
|
|
16
|
+
}
|
|
17
|
+
export declare enum AuthMethodCategory {
|
|
18
|
+
GENERAL = "General",
|
|
19
|
+
PASSWORD_FREE = "Password-free",
|
|
20
|
+
AUTH_FREE = "Auth-free",
|
|
21
|
+
OAUTH = "OAuth"
|
|
22
|
+
}
|
|
23
|
+
export interface AuthMethod {
|
|
24
|
+
id: string;
|
|
25
|
+
type: AuthMethodType;
|
|
26
|
+
title: string;
|
|
27
|
+
category: AuthMethodCategory;
|
|
28
|
+
description: string;
|
|
29
|
+
icon: React.ReactNode;
|
|
30
|
+
enabled: boolean;
|
|
31
|
+
hasSettings: boolean;
|
|
32
|
+
sort?: number;
|
|
33
|
+
configLink?: string;
|
|
34
|
+
requiresOAuthConfig?: boolean;
|
|
35
|
+
inheritMessage?: string;
|
|
36
|
+
disableToggle?: boolean;
|
|
37
|
+
}
|
|
38
|
+
export interface AuthMethodsProps {
|
|
39
|
+
/**
|
|
40
|
+
* 自定义类名
|
|
41
|
+
*/
|
|
42
|
+
className?: string;
|
|
43
|
+
/**
|
|
44
|
+
* 自定义样式
|
|
45
|
+
*/
|
|
46
|
+
style?: React.CSSProperties;
|
|
47
|
+
/**
|
|
48
|
+
* 认证方法列表
|
|
49
|
+
*/
|
|
50
|
+
methods?: AuthMethod[];
|
|
51
|
+
/**
|
|
52
|
+
* 顺序变化回调
|
|
53
|
+
*/
|
|
54
|
+
onOrderChange?: (methods: AuthMethod[]) => void;
|
|
55
|
+
/**
|
|
56
|
+
* 启用/禁用回调
|
|
57
|
+
*/
|
|
58
|
+
onToggle?: (method: AuthMethod, enabled: boolean) => void;
|
|
59
|
+
/**
|
|
60
|
+
* 设置按钮点击回调
|
|
61
|
+
*/
|
|
62
|
+
onSettings?: (method: AuthMethod) => void;
|
|
63
|
+
/**
|
|
64
|
+
* 配置链接点击回调
|
|
65
|
+
*/
|
|
66
|
+
onConfigClick?: (method: AuthMethod) => void;
|
|
67
|
+
/**
|
|
68
|
+
* 是否启用设置按钮
|
|
69
|
+
* @default true
|
|
70
|
+
*/
|
|
71
|
+
enableSetting?: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* 自定义标题渲染函数
|
|
74
|
+
*/
|
|
75
|
+
renderTitle?: (method: AuthMethod) => React.ReactNode;
|
|
76
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export var AuthMethodType = /*#__PURE__*/function (AuthMethodType) {
|
|
2
|
+
AuthMethodType["EMAIL"] = "email";
|
|
3
|
+
AuthMethodType["PHONE"] = "phone";
|
|
4
|
+
AuthMethodType["WALLET_PIN"] = "wallet_pin";
|
|
5
|
+
AuthMethodType["CUSTOMER_PASSCODE"] = "customer_passcode";
|
|
6
|
+
AuthMethodType["DEVICE_PASSCODE"] = "device_passcode";
|
|
7
|
+
AuthMethodType["TEAM_MEMBER"] = "team_member";
|
|
8
|
+
AuthMethodType["PASSWORD_RULES"] = "password_rules";
|
|
9
|
+
AuthMethodType["GUEST"] = "guest";
|
|
10
|
+
AuthMethodType["WALK_IN"] = "walk_in";
|
|
11
|
+
AuthMethodType["GOOGLE"] = "google";
|
|
12
|
+
AuthMethodType["FACEBOOK"] = "facebook";
|
|
13
|
+
AuthMethodType["APPLE"] = "apple";
|
|
14
|
+
AuthMethodType["DIGIT_ID_PIN"] = "digit_id_pin";
|
|
15
|
+
return AuthMethodType;
|
|
16
|
+
}({});
|
|
17
|
+
export var AuthMethodCategory = /*#__PURE__*/function (AuthMethodCategory) {
|
|
18
|
+
AuthMethodCategory["GENERAL"] = "General";
|
|
19
|
+
AuthMethodCategory["PASSWORD_FREE"] = "Password-free";
|
|
20
|
+
AuthMethodCategory["AUTH_FREE"] = "Auth-free";
|
|
21
|
+
AuthMethodCategory["OAUTH"] = "OAuth";
|
|
22
|
+
return AuthMethodCategory;
|
|
23
|
+
}({});
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
.authentication-methods {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
gap: 24px;
|
|
5
|
+
padding: 24px;
|
|
6
|
+
background: #fff;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
/* Upper Section - Authentication Settings Mode */
|
|
10
|
+
.authentication-methods-upper {
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
gap: 16px;
|
|
14
|
+
border: 1px solid #f0f0f0;
|
|
15
|
+
padding: 16px;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.authentication-methods-header {
|
|
19
|
+
margin-bottom: 8px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.authentication-methods-title {
|
|
23
|
+
margin: 0 !important;
|
|
24
|
+
font-size: 20px;
|
|
25
|
+
font-weight: 600;
|
|
26
|
+
color: #000;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.authentication-methods-mode {
|
|
30
|
+
display: flex;
|
|
31
|
+
flex-direction: column;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.authentication-methods-mode .ant-radio-wrapper {
|
|
35
|
+
display: flex;
|
|
36
|
+
align-items: flex-start;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.authentication-methods-mode-wrapper {
|
|
40
|
+
display: flex;
|
|
41
|
+
flex-direction: column;
|
|
42
|
+
gap: 16px;
|
|
43
|
+
width: 100%;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.authentication-methods-mode-option {
|
|
47
|
+
padding: 16px;
|
|
48
|
+
border: 1px solid #d9d9d9;
|
|
49
|
+
border-radius: 8px;
|
|
50
|
+
transition: all 0.3s;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.authentication-methods-mode-option:hover {
|
|
54
|
+
border-color: #1890ff;
|
|
55
|
+
box-shadow: 0 2px 8px rgba(24, 144, 255, 0.1);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.authentication-methods-mode-option:has(.ant-radio-wrapper-checked) {
|
|
59
|
+
border-color: #1890ff;
|
|
60
|
+
background-color: #f0f7ff;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.authentication-methods-mode-content {
|
|
64
|
+
margin-left: 8px;
|
|
65
|
+
flex: 1;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.authentication-methods-mode-title {
|
|
69
|
+
display: block;
|
|
70
|
+
font-size: 16px;
|
|
71
|
+
color: #262626;
|
|
72
|
+
margin-bottom: 4px;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.authentication-methods-mode-description {
|
|
76
|
+
margin: 0 0 8px 0;
|
|
77
|
+
color: #8c8c8c;
|
|
78
|
+
font-size: 14px;
|
|
79
|
+
line-height: 1.5;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.authentication-methods-configure-link {
|
|
83
|
+
color: #1890ff;
|
|
84
|
+
font-size: 14px;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.authentication-methods-configure-link:hover {
|
|
88
|
+
text-decoration: underline;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
/* Lower Section - Customer (Left-Right Layout) */
|
|
93
|
+
.authentication-methods-lower {
|
|
94
|
+
display: flex;
|
|
95
|
+
flex-direction: column;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.authentication-methods-customer {
|
|
99
|
+
display: flex;
|
|
100
|
+
gap: 32px;
|
|
101
|
+
background: #fff;
|
|
102
|
+
padding: 20px;
|
|
103
|
+
border-radius: 8px;
|
|
104
|
+
border: 1px solid #f0f0f0;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.authentication-methods-customer-left {
|
|
108
|
+
flex: 0 0 250px;
|
|
109
|
+
display: flex;
|
|
110
|
+
flex-direction: column;
|
|
111
|
+
gap: 8px;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.authentication-methods-customer-header {
|
|
115
|
+
display: flex;
|
|
116
|
+
align-items: center;
|
|
117
|
+
gap: 12px;
|
|
118
|
+
margin-bottom: 4px;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.authentication-methods-customer-icon {
|
|
122
|
+
font-size: 24px;
|
|
123
|
+
color: #262626;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.authentication-methods-customer-title {
|
|
127
|
+
margin: 0 !important;
|
|
128
|
+
font-size: 16px;
|
|
129
|
+
font-weight: 600;
|
|
130
|
+
color: #262626;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.authentication-methods-customer-description {
|
|
134
|
+
margin: 0 !important;
|
|
135
|
+
font-size: 14px;
|
|
136
|
+
color: #8c8c8c;
|
|
137
|
+
line-height: 1.5;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.authentication-methods-customer-right {
|
|
141
|
+
flex: 1;
|
|
142
|
+
display: flex;
|
|
143
|
+
flex-direction: column;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.authentication-methods-customer-right .authentication-methods-inherited {
|
|
147
|
+
background: #f5f5f5;
|
|
148
|
+
padding: 20px;
|
|
149
|
+
border-radius: 8px;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.authentication-methods-customer-right .auth-methods {
|
|
153
|
+
padding: 0;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.authentication-methods-inherited {
|
|
157
|
+
display: flex;
|
|
158
|
+
flex-direction: column;
|
|
159
|
+
gap: 16px;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.authentication-methods-inherited-title {
|
|
163
|
+
font-size: 14px;
|
|
164
|
+
color: #595959;
|
|
165
|
+
margin: 0 !important;
|
|
166
|
+
font-weight: 400;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.authentication-methods-list {
|
|
170
|
+
display: flex;
|
|
171
|
+
flex-direction: column;
|
|
172
|
+
gap: 12px;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.authentication-methods .auth-method-item {
|
|
176
|
+
display: flex;
|
|
177
|
+
align-items: center;
|
|
178
|
+
gap: 12px;
|
|
179
|
+
padding: 0;
|
|
180
|
+
background: transparent;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.authentication-methods .auth-method-status {
|
|
184
|
+
display: inline-block;
|
|
185
|
+
padding: 4px 12px;
|
|
186
|
+
border-radius: 4px;
|
|
187
|
+
font-size: 12px;
|
|
188
|
+
min-width: 70px;
|
|
189
|
+
text-align: center;
|
|
190
|
+
font-weight: 500;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.authentication-methods .auth-method-status.enabled {
|
|
194
|
+
background: #52c41a;
|
|
195
|
+
color: #fff;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.authentication-methods .auth-method-status.disabled {
|
|
199
|
+
background: #8c8c8c;
|
|
200
|
+
color: #fff;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.authentication-methods .auth-method-item .ant-typography {
|
|
204
|
+
font-size: 14px;
|
|
205
|
+
color: #262626;
|
|
206
|
+
margin: 0;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
/* Footer */
|
|
210
|
+
.authentication-methods-footer {
|
|
211
|
+
display: flex;
|
|
212
|
+
justify-content: flex-end;
|
|
213
|
+
padding-top: 24px;
|
|
214
|
+
border-top: 1px solid #f0f0f0;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
/* Responsive */
|
|
218
|
+
@media (max-width: 768px) {
|
|
219
|
+
.authentication-methods {
|
|
220
|
+
padding: 16px;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.authentication-methods-customer {
|
|
224
|
+
flex-direction: column;
|
|
225
|
+
gap: 20px;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.authentication-methods-customer-left {
|
|
229
|
+
flex: 1;
|
|
230
|
+
}
|
|
231
|
+
}
|
package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AuthenticationMethodsProps } from './types';
|
|
3
|
+
import './AuthenticationMethods.less';
|
|
4
|
+
declare const AuthenticationMethods: React.FC<AuthenticationMethodsProps>;
|
|
5
|
+
export default AuthenticationMethods;
|
|
6
|
+
export type { AuthenticationMethodsProps, AuthenticationMethodsValue, GlobalAuthMethod } from './types';
|