@pisell/private-materials 6.5.27 → 6.7.1
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 +146 -165
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +24 -9
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +24 -9
- package/es/components/Sales/Event/Detail.js +4 -3
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -1
- package/es/components/appointmentBooking/components/Cart/Item/index.js +3 -2
- package/es/components/appointmentBooking/components/ConfirmInformation/index.js +273 -76
- package/es/components/appointmentBooking/components/ConfirmInformation/index.less +15 -0
- package/es/components/appointmentBooking/components/Services/index.js +22 -8
- package/es/components/appointmentBooking/hooks.d.ts +1 -0
- package/es/components/appointmentBooking/hooks.js +35 -30
- package/es/components/appointmentBooking/locales.d.ts +3 -0
- package/es/components/appointmentBooking/locales.js +9 -6
- 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 +23 -4
- package/es/components/booking/components/footer/index.js +4 -1
- package/es/components/booking/components/footer/utils.js +57 -44
- package/es/components/booking/forms/footer.js +24 -10
- package/es/components/booking/info/client/index.js +28 -13
- package/es/components/booking/info/clientVariant/hooks/useClientFn.js +16 -10
- package/es/components/booking/info/clientVariant/vertical/SelectDrawer.js +10 -2
- package/es/components/booking/info/clientVariant/vertical/index.js +1 -1
- package/es/components/booking/info/main.js +3 -2
- package/es/components/booking/info/model.js +5 -0
- package/es/components/booking/info/service/Lists.js +1 -1
- package/es/components/booking/info/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info2/index.js +3 -2
- package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info2/service/contactInfoMode/index.d.ts +2 -0
- package/es/components/booking/info2/service/contactInfoMode/index.js +94 -0
- package/es/components/booking/locales.d.ts +6 -0
- package/es/components/booking/locales.js +12 -3
- package/es/components/booking/model.d.ts +4 -0
- package/es/components/booking/model.js +3 -0
- package/es/components/checkout/hooks/useWalletPass.d.ts +1 -1
- 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/linkly/index.js +64 -2
- package/es/components/eftposPay/store/index.d.ts +4 -4
- package/es/components/index.d.ts +3 -2
- package/es/components/index.js +3 -2
- package/es/components/pay/toC/PaymentMethods/ApplePay/index.js +68 -35
- package/es/components/pay/toC/PaymentMethods/GooglePay/index.js +70 -42
- package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.js +72 -41
- package/es/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.d.ts +15 -0
- package/es/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.js +143 -0
- package/es/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.less +34 -0
- package/es/components/pay/toC/PaymentMethods/hooks/index.d.ts +19 -0
- package/es/components/pay/toC/PaymentMethods/hooks/index.js +126 -0
- package/es/components/pay/toC/index.js +26 -22
- package/es/components/pay/toC/locales.d.ts +9 -0
- package/es/components/pay/toC/locales.js +12 -3
- package/es/components/pay/toC/model.d.ts +1 -0
- package/es/components/pay/toC/serve.d.ts +5 -0
- package/es/components/pay/toC/serve.js +9 -1
- package/es/components/ticketBooking/components/ticketBooking/index.less +2 -1
- package/es/components/ticketBooking/utils/index.d.ts +1 -1
- package/es/components/walletList/index.js +92 -56
- package/es/components/walletList/serve.d.ts +4 -0
- package/es/components/walletList/serve.js +46 -13
- package/es/components/walletList/types/index.d.ts +12 -12
- package/es/components/walletList/types/index.js +2 -2
- package/es/index.d.ts +7 -1
- package/es/index.js +7 -2
- package/es/plus/contactInfo/components/Avatar/index.d.ts +10 -0
- package/es/plus/contactInfo/components/Avatar/index.js +30 -0
- package/es/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
- package/es/plus/contactInfo/components/SwipeAction/index.js +360 -0
- package/es/plus/contactInfo/components/SwipeAction/index.less +74 -0
- package/es/plus/contactInfo/index.d.ts +6 -0
- package/es/plus/contactInfo/index.js +198 -0
- package/es/plus/contactInfo/index.less +621 -0
- package/es/plus/contactInfo/locales.d.ts +15 -0
- package/es/plus/contactInfo/locales.js +14 -0
- package/es/plus/contactInfo/types.d.ts +91 -0
- package/es/plus/contactInfo/types.js +1 -0
- package/es/plus/contactInfo/utils.d.ts +7 -0
- package/es/plus/contactInfo/utils.js +50 -0
- package/es/plus/contactInfoModal/ContactInfoContent.d.ts +3 -0
- package/es/plus/contactInfoModal/ContactInfoContent.js +74 -0
- package/es/plus/contactInfoModal/index.d.ts +41 -0
- package/es/plus/contactInfoModal/index.js +155 -0
- package/es/plus/contactInfoModal/index.less +19 -0
- package/es/plus/contactInfoModal/locales.d.ts +66 -0
- package/es/plus/contactInfoModal/locales.js +65 -0
- package/es/plus/productSelect/CategoryTabs/index.d.ts +2 -0
- package/es/plus/productSelect/CategoryTabs/index.js +6 -3
- package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/index.d.ts +3 -1
- package/es/plus/productSelect/ProductCard/index.js +9 -1
- package/es/plus/productSelect/components/TabsStructure/TabsStructure.less +0 -11
- package/es/plus/productSelect/index.d.ts +3 -2
- package/es/plus/productSelect/index.js +33 -8
- package/es/plus/productSelect/index.less +4 -0
- package/es/plus/walletEditor/WalletEditor.d.ts +5 -0
- package/es/plus/walletEditor/WalletEditor.js +316 -0
- package/es/plus/walletEditor/WalletEditor.less +129 -0
- package/es/plus/walletEditor/components/ImageUpload/index.d.ts +8 -0
- package/es/plus/walletEditor/components/ImageUpload/index.js +223 -0
- package/es/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
- package/es/plus/walletEditor/components/JsonEditor/index.js +68 -0
- package/es/plus/walletEditor/components/JsonEditor/index.less +4 -0
- package/es/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +20 -0
- package/es/plus/walletEditor/components/ValidityPeriodSelector/index.js +222 -0
- package/es/plus/walletEditor/components/ValidityPeriodSelector/index.less +4 -0
- package/es/plus/walletEditor/components/relationProduct/index.d.ts +6 -0
- package/es/plus/walletEditor/components/relationProduct/index.js +49 -0
- package/es/plus/walletEditor/components/relationProduct/index.less +15 -0
- package/es/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +37 -0
- package/es/plus/walletEditor/components/sortableWalletPassTypes/index.js +193 -0
- package/es/plus/walletEditor/components/sortableWalletPassTypes/index.less +110 -0
- package/es/plus/walletEditor/index.d.ts +3 -0
- package/es/plus/walletEditor/index.js +3 -0
- package/es/plus/walletEditor/locales.d.ts +126 -0
- package/es/plus/walletEditor/locales.js +143 -0
- package/es/plus/walletEditor/types.d.ts +52 -0
- package/es/plus/walletEditor/types.js +1 -0
- package/es/plus/walletPassGallery/components/footerButton/index.d.ts +14 -0
- package/es/plus/walletPassGallery/components/footerButton/index.js +247 -0
- package/es/plus/walletPassGallery/components/footerButton/index.less +93 -0
- package/es/plus/walletPassGallery/components/passDetail/index.d.ts +8 -0
- package/es/plus/walletPassGallery/components/passDetail/index.js +274 -0
- package/es/plus/walletPassGallery/components/passDetail/index.less +57 -0
- package/es/plus/walletPassGallery/components/passList/index.d.ts +11 -0
- package/es/plus/walletPassGallery/components/passList/index.js +115 -0
- package/es/plus/walletPassGallery/components/recharge/index.d.ts +11 -0
- package/es/plus/walletPassGallery/components/recharge/index.js +134 -0
- package/es/plus/walletPassGallery/components/recharge/index.less +16 -0
- package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +8 -0
- package/es/plus/walletPassGallery/components/timelineSection/index.js +176 -0
- package/es/plus/walletPassGallery/components/timelineSection/index.less +67 -0
- package/es/plus/walletPassGallery/components/usageRule/index.d.ts +9 -0
- package/es/plus/walletPassGallery/components/usageRule/index.js +248 -0
- package/es/plus/walletPassGallery/components/usageRule/index.less +157 -0
- package/es/plus/walletPassGallery/index.d.ts +6 -0
- package/es/plus/walletPassGallery/index.js +602 -0
- package/es/plus/walletPassGallery/index.less +115 -0
- package/es/plus/walletPassGallery/locales.d.ts +270 -0
- package/es/plus/walletPassGallery/locales.js +279 -0
- package/es/plus/walletPassGallery/serve.d.ts +218 -0
- package/es/plus/walletPassGallery/serve.js +289 -0
- package/es/pro/Login2.0/AuthModal.d.ts +143 -0
- package/es/pro/Login2.0/AuthModal.js +630 -0
- package/es/pro/Login2.0/Login2.d.ts +61 -0
- package/es/pro/Login2.0/Login2.js +2236 -0
- package/es/pro/Login2.0/Register2.d.ts +65 -0
- package/es/pro/Login2.0/Register2.js +1502 -0
- package/es/pro/Login2.0/components/ForgotPasswordFlow.d.ts +31 -0
- package/es/pro/Login2.0/components/ForgotPasswordFlow.js +330 -0
- package/es/pro/Login2.0/components/LegalTerms.d.ts +8 -0
- package/es/pro/Login2.0/components/LegalTerms.js +51 -0
- package/es/pro/Login2.0/components/LegalTerms.less +74 -0
- package/es/pro/Login2.0/components/LoginCodeInput.d.ts +27 -0
- package/es/pro/Login2.0/components/LoginCodeInput.js +207 -0
- package/es/pro/Login2.0/components/OAuthButtonGroup.d.ts +22 -0
- package/es/pro/Login2.0/components/OAuthButtonGroup.js +55 -0
- package/es/pro/Login2.0/components/PhoneInput.d.ts +53 -0
- package/es/pro/Login2.0/components/PhoneInput.js +414 -0
- package/es/pro/Login2.0/components/PhoneInput.less +148 -0
- package/es/pro/Login2.0/components/phoneValidation.d.ts +17 -0
- package/es/pro/Login2.0/components/phoneValidation.js +228 -0
- package/es/pro/Login2.0/hooks/index.d.ts +2 -0
- package/es/pro/Login2.0/hooks/index.js +1 -0
- package/es/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +24 -0
- package/es/pro/Login2.0/hooks/usePasswordValidationRules.js +87 -0
- package/es/pro/Login2.0/hooks/useRegisterFlow.d.ts +39 -0
- package/es/pro/Login2.0/hooks/useRegisterFlow.js +158 -0
- package/es/pro/Login2.0/hooks/useRegistrationMethods.d.ts +9 -0
- package/es/pro/Login2.0/hooks/useRegistrationMethods.js +31 -0
- package/es/pro/Login2.0/index.js +8 -0
- package/es/pro/Login2.0/index.less +1002 -0
- package/es/pro/Login2.0/locales.d.ts +543 -0
- package/es/pro/Login2.0/locales.js +622 -0
- package/es/pro/Login2.0/shared/Header.d.ts +11 -0
- package/es/pro/Login2.0/shared/Header.js +42 -0
- package/es/pro/Login2.0/shared/OAuthButtons.d.ts +11 -0
- package/es/pro/Login2.0/shared/OAuthButtons.js +59 -0
- package/es/pro/Login2.0/shared/registerFlow.d.ts +116 -0
- package/es/pro/Login2.0/shared/registerFlow.js +171 -0
- package/es/pro/Login2.0/shared/types.d.ts +232 -0
- package/es/pro/Login2.0/shared/types.js +1 -0
- package/es/pro/Login2.0/steps/CodeInput.d.ts +24 -0
- package/es/pro/Login2.0/steps/CodeInput.js +209 -0
- package/es/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +12 -0
- package/es/pro/Login2.0/steps/EmailAlreadyRegistered.js +35 -0
- package/es/pro/Login2.0/steps/EmailLinkAlreadyUsed.d.ts +7 -0
- package/es/pro/Login2.0/steps/EmailLinkAlreadyUsed.js +25 -0
- package/es/pro/Login2.0/steps/EmailLinkExpired.d.ts +9 -0
- package/es/pro/Login2.0/steps/EmailLinkExpired.js +33 -0
- package/es/pro/Login2.0/steps/SetPassword.d.ts +19 -0
- package/es/pro/Login2.0/steps/SetPassword.js +148 -0
- package/es/pro/Login2.0/steps/VerificationSuccess.d.ts +8 -0
- package/es/pro/Login2.0/steps/VerificationSuccess.js +35 -0
- package/es/pro/Login2.0/steps/VerifyingEmailLink.d.ts +7 -0
- package/es/pro/Login2.0/steps/VerifyingEmailLink.js +17 -0
- package/es/pro/Login2.0/steps/WaitEmailLink.d.ts +18 -0
- package/es/pro/Login2.0/steps/WaitEmailLink.js +54 -0
- package/es/pro/Login2.0/steps/index.d.ts +19 -0
- package/es/pro/Login2.0/steps/index.js +11 -0
- package/es/pro/Login2.0/steps/steps.less +423 -0
- package/es/pro/Login2.0/types.d.ts +167 -0
- package/es/pro/Login2.0/types.js +1 -0
- package/es/pro/pisellPaymentList/example.d.ts +19 -0
- package/es/pro/pisellPaymentList/example.js +434 -0
- package/lib/components/Sales/Event/Detail.js +3 -2
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -1
- package/lib/components/appointmentBooking/components/Cart/Item/index.js +5 -3
- package/lib/components/appointmentBooking/components/ConfirmInformation/index.js +156 -13
- package/lib/components/appointmentBooking/components/ConfirmInformation/index.less +15 -0
- package/lib/components/appointmentBooking/components/Services/index.js +8 -3
- package/lib/components/appointmentBooking/hooks.d.ts +1 -0
- package/lib/components/appointmentBooking/hooks.js +76 -35
- package/lib/components/appointmentBooking/locales.d.ts +3 -0
- package/lib/components/appointmentBooking/locales.js +6 -3
- 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 +27 -4
- package/lib/components/booking/components/footer/index.js +4 -1
- package/lib/components/booking/components/footer/utils.js +54 -23
- package/lib/components/booking/forms/footer.js +29 -11
- package/lib/components/booking/info/client/index.js +14 -1
- package/lib/components/booking/info/clientVariant/hooks/useClientFn.js +7 -2
- package/lib/components/booking/info/clientVariant/vertical/SelectDrawer.js +11 -4
- package/lib/components/booking/info/clientVariant/vertical/index.js +34 -17
- package/lib/components/booking/info/main.js +5 -4
- package/lib/components/booking/info/model.js +5 -0
- package/lib/components/booking/info/service/Lists.js +1 -1
- package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info2/index.js +5 -4
- package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +2 -0
- package/lib/components/booking/info2/service/contactInfoMode/index.js +111 -0
- package/lib/components/booking/locales.d.ts +6 -0
- package/lib/components/booking/locales.js +12 -3
- package/lib/components/booking/model.d.ts +4 -0
- package/lib/components/booking/model.js +3 -0
- package/lib/components/checkout/hooks/useWalletPass.d.ts +1 -1
- 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/linkly/index.js +31 -1
- package/lib/components/eftposPay/store/index.d.ts +4 -4
- package/lib/components/index.d.ts +3 -2
- package/lib/components/index.js +20 -1
- package/lib/components/pay/toC/PaymentMethods/ApplePay/index.js +27 -7
- package/lib/components/pay/toC/PaymentMethods/GooglePay/index.js +32 -8
- package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.js +30 -4
- package/lib/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.d.ts +15 -0
- package/lib/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.js +88 -0
- package/lib/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.less +34 -0
- package/lib/components/pay/toC/PaymentMethods/hooks/index.d.ts +19 -0
- package/lib/components/pay/toC/PaymentMethods/hooks/index.js +90 -0
- package/lib/components/pay/toC/index.js +11 -2
- package/lib/components/pay/toC/locales.d.ts +9 -0
- package/lib/components/pay/toC/locales.js +12 -3
- package/lib/components/pay/toC/model.d.ts +1 -0
- package/lib/components/pay/toC/serve.d.ts +5 -0
- package/lib/components/pay/toC/serve.js +3 -0
- package/lib/components/ticketBooking/components/ticketBooking/index.less +2 -1
- package/lib/components/ticketBooking/utils/index.d.ts +1 -1
- package/lib/components/walletList/index.js +88 -47
- package/lib/components/walletList/serve.d.ts +4 -0
- package/lib/components/walletList/serve.js +12 -0
- package/lib/components/walletList/types/index.d.ts +12 -12
- package/lib/index.d.ts +7 -1
- package/lib/index.js +38 -3
- package/lib/plus/contactInfo/components/Avatar/index.d.ts +10 -0
- package/lib/plus/contactInfo/components/Avatar/index.js +56 -0
- package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
- package/lib/plus/contactInfo/components/SwipeAction/index.js +373 -0
- package/lib/plus/contactInfo/components/SwipeAction/index.less +74 -0
- package/lib/plus/contactInfo/index.d.ts +6 -0
- package/lib/plus/contactInfo/index.js +226 -0
- package/lib/plus/contactInfo/index.less +621 -0
- package/lib/plus/contactInfo/locales.d.ts +15 -0
- package/lib/plus/contactInfo/locales.js +38 -0
- package/lib/plus/contactInfo/types.d.ts +91 -0
- package/lib/plus/contactInfo/types.js +17 -0
- package/lib/plus/contactInfo/utils.d.ts +7 -0
- package/lib/plus/contactInfo/utils.js +64 -0
- package/lib/plus/contactInfoModal/ContactInfoContent.d.ts +3 -0
- package/lib/plus/contactInfoModal/ContactInfoContent.js +129 -0
- package/lib/plus/contactInfoModal/index.d.ts +41 -0
- package/lib/plus/contactInfoModal/index.js +139 -0
- package/lib/plus/contactInfoModal/index.less +19 -0
- package/lib/plus/contactInfoModal/locales.d.ts +66 -0
- package/lib/plus/contactInfoModal/locales.js +89 -0
- package/lib/plus/productSelect/CategoryTabs/index.d.ts +2 -0
- package/lib/plus/productSelect/CategoryTabs/index.js +86 -71
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/index.d.ts +3 -1
- package/lib/plus/productSelect/ProductCard/index.js +18 -1
- package/lib/plus/productSelect/components/TabsStructure/TabsStructure.less +0 -11
- package/lib/plus/productSelect/index.d.ts +3 -2
- package/lib/plus/productSelect/index.js +20 -6
- package/lib/plus/productSelect/index.less +4 -0
- package/lib/plus/walletEditor/WalletEditor.d.ts +5 -0
- package/lib/plus/walletEditor/WalletEditor.js +354 -0
- package/lib/plus/walletEditor/WalletEditor.less +129 -0
- package/lib/plus/walletEditor/components/ImageUpload/index.d.ts +8 -0
- package/lib/plus/walletEditor/components/ImageUpload/index.js +201 -0
- package/lib/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
- package/lib/plus/walletEditor/components/JsonEditor/index.js +89 -0
- package/lib/plus/walletEditor/components/JsonEditor/index.less +4 -0
- package/lib/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +20 -0
- package/lib/plus/walletEditor/components/ValidityPeriodSelector/index.js +176 -0
- package/lib/plus/walletEditor/components/ValidityPeriodSelector/index.less +4 -0
- package/lib/plus/walletEditor/components/relationProduct/index.d.ts +6 -0
- package/lib/plus/walletEditor/components/relationProduct/index.js +73 -0
- package/lib/plus/walletEditor/components/relationProduct/index.less +15 -0
- package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +37 -0
- package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.js +211 -0
- package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.less +110 -0
- package/lib/plus/walletEditor/index.d.ts +3 -0
- package/lib/plus/walletEditor/index.js +42 -0
- package/lib/plus/walletEditor/locales.d.ts +126 -0
- package/lib/plus/walletEditor/locales.js +167 -0
- package/lib/plus/walletEditor/types.d.ts +52 -0
- package/lib/plus/walletEditor/types.js +17 -0
- package/lib/plus/walletPassGallery/components/footerButton/index.d.ts +14 -0
- package/lib/plus/walletPassGallery/components/footerButton/index.js +187 -0
- package/lib/plus/walletPassGallery/components/footerButton/index.less +93 -0
- package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +8 -0
- package/lib/plus/walletPassGallery/components/passDetail/index.js +287 -0
- package/lib/plus/walletPassGallery/components/passDetail/index.less +57 -0
- package/lib/plus/walletPassGallery/components/passList/index.d.ts +11 -0
- package/lib/plus/walletPassGallery/components/passList/index.js +136 -0
- package/lib/plus/walletPassGallery/components/recharge/index.d.ts +11 -0
- package/lib/plus/walletPassGallery/components/recharge/index.js +146 -0
- package/lib/plus/walletPassGallery/components/recharge/index.less +16 -0
- package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +8 -0
- package/lib/plus/walletPassGallery/components/timelineSection/index.js +212 -0
- package/lib/plus/walletPassGallery/components/timelineSection/index.less +67 -0
- package/lib/plus/walletPassGallery/components/usageRule/index.d.ts +9 -0
- package/lib/plus/walletPassGallery/components/usageRule/index.js +209 -0
- package/lib/plus/walletPassGallery/components/usageRule/index.less +157 -0
- package/lib/plus/walletPassGallery/index.d.ts +6 -0
- package/lib/plus/walletPassGallery/index.js +498 -0
- package/lib/plus/walletPassGallery/index.less +115 -0
- package/lib/plus/walletPassGallery/locales.d.ts +270 -0
- package/lib/plus/walletPassGallery/locales.js +299 -0
- package/lib/plus/walletPassGallery/serve.d.ts +218 -0
- package/lib/plus/walletPassGallery/serve.js +98 -0
- package/lib/pro/Login2.0/AuthModal.d.ts +143 -0
- package/lib/pro/Login2.0/AuthModal.js +503 -0
- package/lib/pro/Login2.0/Login2.d.ts +61 -0
- package/lib/pro/Login2.0/Login2.js +1545 -0
- package/lib/pro/Login2.0/Register2.d.ts +65 -0
- package/lib/pro/Login2.0/Register2.js +1063 -0
- package/lib/pro/Login2.0/components/ForgotPasswordFlow.d.ts +31 -0
- package/lib/pro/Login2.0/components/ForgotPasswordFlow.js +213 -0
- package/lib/pro/Login2.0/components/LegalTerms.d.ts +8 -0
- package/lib/pro/Login2.0/components/LegalTerms.js +76 -0
- package/lib/pro/Login2.0/components/LegalTerms.less +74 -0
- package/lib/pro/Login2.0/components/LoginCodeInput.d.ts +27 -0
- package/lib/pro/Login2.0/components/LoginCodeInput.js +161 -0
- package/lib/pro/Login2.0/components/OAuthButtonGroup.d.ts +22 -0
- package/lib/pro/Login2.0/components/OAuthButtonGroup.js +87 -0
- package/lib/pro/Login2.0/components/PhoneInput.d.ts +53 -0
- package/lib/pro/Login2.0/components/PhoneInput.js +263 -0
- package/lib/pro/Login2.0/components/PhoneInput.less +148 -0
- package/lib/pro/Login2.0/components/phoneValidation.d.ts +17 -0
- package/lib/pro/Login2.0/components/phoneValidation.js +153 -0
- package/lib/pro/Login2.0/hooks/index.d.ts +2 -0
- package/lib/pro/Login2.0/hooks/index.js +29 -0
- package/lib/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +24 -0
- package/lib/pro/Login2.0/hooks/usePasswordValidationRules.js +140 -0
- package/lib/pro/Login2.0/hooks/useRegisterFlow.d.ts +39 -0
- package/lib/pro/Login2.0/hooks/useRegisterFlow.js +149 -0
- package/lib/pro/Login2.0/hooks/useRegistrationMethods.d.ts +9 -0
- package/lib/pro/Login2.0/hooks/useRegistrationMethods.js +51 -0
- package/lib/pro/Login2.0/index.js +45 -0
- package/lib/pro/Login2.0/index.less +1002 -0
- package/lib/pro/Login2.0/locales.d.ts +543 -0
- package/lib/pro/Login2.0/locales.js +646 -0
- package/lib/pro/Login2.0/shared/Header.d.ts +11 -0
- package/lib/pro/Login2.0/shared/Header.js +81 -0
- package/lib/pro/Login2.0/shared/OAuthButtons.d.ts +11 -0
- package/lib/pro/Login2.0/shared/OAuthButtons.js +78 -0
- package/lib/pro/Login2.0/shared/registerFlow.d.ts +116 -0
- package/lib/pro/Login2.0/shared/registerFlow.js +235 -0
- package/lib/pro/Login2.0/shared/types.d.ts +232 -0
- package/lib/pro/Login2.0/shared/types.js +17 -0
- package/lib/pro/Login2.0/steps/CodeInput.d.ts +24 -0
- package/lib/pro/Login2.0/steps/CodeInput.js +160 -0
- package/lib/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +12 -0
- package/lib/pro/Login2.0/steps/EmailAlreadyRegistered.js +46 -0
- package/lib/pro/Login2.0/steps/EmailLinkAlreadyUsed.d.ts +7 -0
- package/lib/pro/Login2.0/steps/EmailLinkAlreadyUsed.js +51 -0
- package/lib/pro/Login2.0/steps/EmailLinkExpired.d.ts +9 -0
- package/lib/pro/Login2.0/steps/EmailLinkExpired.js +51 -0
- package/lib/pro/Login2.0/steps/SetPassword.d.ts +19 -0
- package/lib/pro/Login2.0/steps/SetPassword.js +131 -0
- package/lib/pro/Login2.0/steps/VerificationSuccess.d.ts +8 -0
- package/lib/pro/Login2.0/steps/VerificationSuccess.js +49 -0
- package/lib/pro/Login2.0/steps/VerifyingEmailLink.d.ts +7 -0
- package/lib/pro/Login2.0/steps/VerifyingEmailLink.js +41 -0
- package/lib/pro/Login2.0/steps/WaitEmailLink.d.ts +18 -0
- package/lib/pro/Login2.0/steps/WaitEmailLink.js +67 -0
- package/lib/pro/Login2.0/steps/index.d.ts +19 -0
- package/lib/pro/Login2.0/steps/index.js +60 -0
- package/lib/pro/Login2.0/steps/steps.less +423 -0
- package/lib/pro/Login2.0/types.d.ts +167 -0
- package/lib/pro/Login2.0/types.js +17 -0
- 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/authmodal/meta.ts +395 -0
- package/lowcode/contact-info/fragments/cardStyle.ts +68 -0
- package/lowcode/contact-info/fragments/nameStyle.ts +33 -0
- package/lowcode/contact-info/fragments/pisellAvatar.ts +103 -0
- package/lowcode/contact-info/fragments/textStyle.ts +33 -0
- package/lowcode/contact-info/meta.ts +199 -0
- package/lowcode/contact-info-modal/meta.ts +98 -0
- package/lowcode/login2/CONFIG.md +447 -0
- package/lowcode/login2/TEST_CONFIG.md +324 -0
- package/lowcode/login2/VERIFICATION_METHODS.md +364 -0
- package/lowcode/login2/meta.ts +560 -0
- package/lowcode/login2/snippets.ts +124 -0
- package/lowcode/pro-register/meta.ts +385 -0
- package/lowcode/register2/meta.ts +562 -0
- package/lowcode/register2/snippets.ts +257 -0
- package/lowcode/sortable-wallet-pass-types/meta.ts +267 -0
- package/lowcode/wallet-editor/meta.ts +57 -0
- package/lowcode/wallet-editor/snippets.ts +13 -0
- package/lowcode/wallet-pass-gallery/meta.ts +35 -0
- package/package.json +6 -4
- package/lowcode/wallet/meta.ts +0 -79
package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/PageSettingItem.less
ADDED
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+
.page-setting-item {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
gap: 32px;
|
|
5
|
+
padding: 24px;
|
|
6
|
+
background: #ffffff;
|
|
7
|
+
border-radius: 8px;
|
|
8
|
+
border: 1px solid #e0e0e0;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.page-setting-item-section {
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
gap: 16px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.page-setting-item-section-header {
|
|
18
|
+
display: flex;
|
|
19
|
+
flex-direction: column;
|
|
20
|
+
gap: 4px;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.page-setting-item-section-title {
|
|
24
|
+
font-size: 16px;
|
|
25
|
+
font-weight: 600;
|
|
26
|
+
color: rgba(0, 0, 0, 0.88);
|
|
27
|
+
margin: 0;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.page-setting-item-section-subtitle {
|
|
31
|
+
font-size: 14px;
|
|
32
|
+
color: rgba(0, 0, 0, 0.45);
|
|
33
|
+
margin: 0;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.page-setting-item-section-description {
|
|
37
|
+
font-size: 13px;
|
|
38
|
+
color: rgba(0, 0, 0, 0.65);
|
|
39
|
+
margin: 8px 0 0;
|
|
40
|
+
line-height: 1.5;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/* Background Image Section */
|
|
44
|
+
.page-setting-item-background {
|
|
45
|
+
display: flex;
|
|
46
|
+
flex-direction: column;
|
|
47
|
+
gap: 12px;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.page-setting-item-background-upload {
|
|
51
|
+
width: 200px;
|
|
52
|
+
height: 200px;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.page-setting-item-background-upload .ant-upload {
|
|
56
|
+
width: 100%;
|
|
57
|
+
height: 100%;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.page-setting-item-background-upload-content {
|
|
61
|
+
display: flex;
|
|
62
|
+
flex-direction: column;
|
|
63
|
+
align-items: center;
|
|
64
|
+
justify-content: center;
|
|
65
|
+
height: 100%;
|
|
66
|
+
padding: 16px;
|
|
67
|
+
text-align: center;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.page-setting-item-background-upload-icon {
|
|
71
|
+
font-size: 48px;
|
|
72
|
+
color: rgba(0, 0, 0, 0.25);
|
|
73
|
+
margin-bottom: 8px;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.page-setting-item-background-upload-text {
|
|
77
|
+
font-size: 14px;
|
|
78
|
+
color: rgba(0, 0, 0, 0.65);
|
|
79
|
+
margin-bottom: 4px;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.page-setting-item-background-upload-hint {
|
|
83
|
+
font-size: 12px;
|
|
84
|
+
color: rgba(0, 0, 0, 0.45);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.page-setting-item-background-info {
|
|
88
|
+
display: flex;
|
|
89
|
+
flex-direction: column;
|
|
90
|
+
gap: 4px;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.page-setting-item-background-info-item {
|
|
94
|
+
font-size: 13px;
|
|
95
|
+
color: rgba(0, 0, 0, 0.65);
|
|
96
|
+
display: flex;
|
|
97
|
+
align-items: flex-start;
|
|
98
|
+
gap: 4px;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.page-setting-item-background-info-item::before {
|
|
102
|
+
content: '•';
|
|
103
|
+
color: rgba(0, 0, 0, 0.45);
|
|
104
|
+
margin-right: 4px;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/* Terms & Conditions Section */
|
|
108
|
+
.page-setting-item-terms {
|
|
109
|
+
display: flex;
|
|
110
|
+
flex-direction: column;
|
|
111
|
+
gap: 16px;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.page-setting-item-terms-table {
|
|
115
|
+
display: flex;
|
|
116
|
+
flex-direction: column;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.page-setting-item-terms-table-header {
|
|
120
|
+
display: grid;
|
|
121
|
+
grid-template-columns: 1fr 1fr 120px;
|
|
122
|
+
gap: 16px;
|
|
123
|
+
padding: 12px 16px;
|
|
124
|
+
background: #fafafa;
|
|
125
|
+
border: 1px solid #e0e0e0;
|
|
126
|
+
border-radius: 8px 8px 0 0;
|
|
127
|
+
font-weight: 600;
|
|
128
|
+
font-size: 14px;
|
|
129
|
+
color: rgba(0, 0, 0, 0.88);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.page-setting-item-terms-table-body {
|
|
133
|
+
display: flex;
|
|
134
|
+
flex-direction: column;
|
|
135
|
+
gap: 0;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.page-setting-item-terms-table-row {
|
|
139
|
+
display: grid;
|
|
140
|
+
grid-template-columns: 1fr 1fr 120px;
|
|
141
|
+
gap: 16px;
|
|
142
|
+
align-items: start;
|
|
143
|
+
padding: 16px;
|
|
144
|
+
border: 1px solid #e0e0e0;
|
|
145
|
+
border-top: none;
|
|
146
|
+
background: #ffffff;
|
|
147
|
+
position: relative;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.page-setting-item-terms-table-row:last-child {
|
|
151
|
+
border-radius: 0 0 8px 8px;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.page-setting-item-terms-table-cell {
|
|
155
|
+
display: flex;
|
|
156
|
+
flex-direction: column;
|
|
157
|
+
justify-content: flex-start;
|
|
158
|
+
gap: 8px;
|
|
159
|
+
font-size: 14px;
|
|
160
|
+
color: rgba(0, 0, 0, 0.88);
|
|
161
|
+
overflow: visible;
|
|
162
|
+
position: relative;
|
|
163
|
+
min-height: 32px;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.page-setting-item-terms-table-cell .ant-form-item {
|
|
167
|
+
position: relative;
|
|
168
|
+
margin-bottom: 0 !important;
|
|
169
|
+
width: 100%;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.page-setting-item-terms-table-cell .ant-form-item-label {
|
|
173
|
+
display: none;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.page-setting-item-terms-table-cell .ant-form-item-control {
|
|
177
|
+
position: relative;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.page-setting-item-terms-table-cell .ant-form-item-explain-error {
|
|
181
|
+
position: absolute;
|
|
182
|
+
top: 100%;
|
|
183
|
+
left: 0;
|
|
184
|
+
right: 0;
|
|
185
|
+
margin-top: 4px;
|
|
186
|
+
white-space: normal;
|
|
187
|
+
overflow: visible;
|
|
188
|
+
z-index: 10;
|
|
189
|
+
line-height: 1.4;
|
|
190
|
+
font-size: 12px;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.page-setting-item-terms-table-cell-icon {
|
|
194
|
+
flex-shrink: 0;
|
|
195
|
+
color: rgba(0, 0, 0, 0.45);
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.page-setting-item-terms-table-cell-text {
|
|
199
|
+
flex: 1;
|
|
200
|
+
overflow: hidden;
|
|
201
|
+
text-overflow: ellipsis;
|
|
202
|
+
white-space: nowrap;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.page-setting-item-terms-table-cell-url {
|
|
206
|
+
color: rgba(0, 0, 0, 0.65);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.page-setting-item-terms-table-actions {
|
|
210
|
+
display: flex;
|
|
211
|
+
justify-content: center;
|
|
212
|
+
align-items: flex-start;
|
|
213
|
+
padding-top: 4px;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
.page-setting-item-terms-add-row {
|
|
218
|
+
display: flex;
|
|
219
|
+
justify-content: flex-start;
|
|
220
|
+
padding-top: 16px;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.page-setting-item-terms-info {
|
|
224
|
+
display: flex;
|
|
225
|
+
flex-direction: column;
|
|
226
|
+
gap: 4px;
|
|
227
|
+
margin-top: 8px;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.page-setting-item-terms-info-item {
|
|
231
|
+
font-size: 13px;
|
|
232
|
+
color: rgba(0, 0, 0, 0.65);
|
|
233
|
+
display: flex;
|
|
234
|
+
align-items: flex-start;
|
|
235
|
+
gap: 4px;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.page-setting-item-terms-info-item::before {
|
|
239
|
+
content: '•';
|
|
240
|
+
color: rgba(0, 0, 0, 0.45);
|
|
241
|
+
margin-right: 4px;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
/* Empty State */
|
|
245
|
+
.page-setting-item-terms-empty {
|
|
246
|
+
padding: 32px;
|
|
247
|
+
text-align: center;
|
|
248
|
+
color: rgba(0, 0, 0, 0.45);
|
|
249
|
+
font-size: 14px;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
/* Input Error States */
|
|
253
|
+
.page-setting-item-terms-table-row.has-error .ant-input {
|
|
254
|
+
border-color: #ff4d4f;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.page-setting-item-terms-table-row.has-error .ant-input:focus {
|
|
258
|
+
border-color: #ff4d4f;
|
|
259
|
+
box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.1);
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
/* Responsive */
|
|
263
|
+
@media (max-width: 768px) {
|
|
264
|
+
.page-setting-item {
|
|
265
|
+
padding: 16px;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.page-setting-item-terms-table-row {
|
|
269
|
+
padding: 12px;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PageSettingItemProps } from './types';
|
|
3
|
+
import './PageSettingItem.less';
|
|
4
|
+
declare const PageSettingItem: React.ForwardRefExoticComponent<PageSettingItemProps & React.RefAttributes<{
|
|
5
|
+
validateFields: () => Promise<any>;
|
|
6
|
+
}>>;
|
|
7
|
+
export default PageSettingItem;
|
|
8
|
+
export type { PageSettingItemProps, PageSettingItemValue, TermsCondition, TranslationValue } from './types';
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
3
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
4
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
5
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
6
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
7
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
8
|
+
import React, { useEffect, useRef, forwardRef, useImperativeHandle } from 'react';
|
|
9
|
+
import { Button, Form, Input } from 'antd';
|
|
10
|
+
import { PlusOutlined, DeleteOutlined } from '@ant-design/icons';
|
|
11
|
+
import classNames from 'classnames';
|
|
12
|
+
import { locales } from '@pisell/utils';
|
|
13
|
+
import localeTexts from "./locales";
|
|
14
|
+
import useEngineContext from "../../../../../hooks/useEngineContext";
|
|
15
|
+
import { BaseTranslation, FormItemUpload } from '@pisell/materials';
|
|
16
|
+
import "./PageSettingItem.less";
|
|
17
|
+
var PageSettingItem = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
18
|
+
var _context$engine, _appHelper$constants, _appHelper$constants2;
|
|
19
|
+
var className = _ref.className,
|
|
20
|
+
style = _ref.style,
|
|
21
|
+
value = _ref.value,
|
|
22
|
+
onChange = _ref.onChange,
|
|
23
|
+
_ref$showImageUpload = _ref.showImageUpload,
|
|
24
|
+
showImageUpload = _ref$showImageUpload === void 0 ? true : _ref$showImageUpload;
|
|
25
|
+
var context = useEngineContext();
|
|
26
|
+
var appHelper = context === null || context === void 0 ? void 0 : context.appHelper;
|
|
27
|
+
locales.init(localeTexts, (context === null || context === void 0 || (_context$engine = context.engine) === null || _context$engine === void 0 || (_context$engine = _context$engine.props) === null || _context$engine === void 0 ? void 0 : _context$engine.locale) || 'en');
|
|
28
|
+
var _Form$useForm = Form.useForm(),
|
|
29
|
+
_Form$useForm2 = _slicedToArray(_Form$useForm, 1),
|
|
30
|
+
form = _Form$useForm2[0];
|
|
31
|
+
|
|
32
|
+
// 暴露校验方法给父组件
|
|
33
|
+
useImperativeHandle(ref, function () {
|
|
34
|
+
return {
|
|
35
|
+
validateFields: function validateFields() {
|
|
36
|
+
return form.validateFields();
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
// 初始化表单值,只在value发生实质性变化时更新
|
|
42
|
+
var previousValueRef = useRef(value);
|
|
43
|
+
useEffect(function () {
|
|
44
|
+
// 检查value是否发生了实质性变化
|
|
45
|
+
var prevValue = previousValueRef.current;
|
|
46
|
+
var hasValueChanged = (value === null || value === void 0 ? void 0 : value.backgroundImage) !== (prevValue === null || prevValue === void 0 ? void 0 : prevValue.backgroundImage) || JSON.stringify(value === null || value === void 0 ? void 0 : value.termsConditions) !== JSON.stringify(prevValue === null || prevValue === void 0 ? void 0 : prevValue.termsConditions);
|
|
47
|
+
if (hasValueChanged) {
|
|
48
|
+
var defaultName = {
|
|
49
|
+
en: '',
|
|
50
|
+
'zh-CN': '',
|
|
51
|
+
'zh-HK': '',
|
|
52
|
+
original: ''
|
|
53
|
+
};
|
|
54
|
+
form.setFieldsValue({
|
|
55
|
+
backgroundImage: (value === null || value === void 0 ? void 0 : value.backgroundImage) || '',
|
|
56
|
+
termsConditions: (value === null || value === void 0 ? void 0 : value.termsConditions) || [{
|
|
57
|
+
name: {
|
|
58
|
+
en: 'Terms of Service',
|
|
59
|
+
'zh-CN': '服务条款',
|
|
60
|
+
'zh-HK': '服務條款',
|
|
61
|
+
original: 'Terms of Service'
|
|
62
|
+
},
|
|
63
|
+
url: 'https://example.com/terms'
|
|
64
|
+
}, {
|
|
65
|
+
name: {
|
|
66
|
+
en: 'Privacy Policy',
|
|
67
|
+
'zh-CN': '隐私政策',
|
|
68
|
+
'zh-HK': '隱私政策',
|
|
69
|
+
original: 'Privacy Policy'
|
|
70
|
+
},
|
|
71
|
+
url: 'https://example.com/privacy'
|
|
72
|
+
}]
|
|
73
|
+
});
|
|
74
|
+
|
|
75
|
+
// 更新ref值
|
|
76
|
+
previousValueRef.current = value;
|
|
77
|
+
}
|
|
78
|
+
}, [value, form]);
|
|
79
|
+
|
|
80
|
+
// 表单值变化时触发
|
|
81
|
+
var handleFormChange = function handleFormChange() {
|
|
82
|
+
var formValues = form.getFieldsValue();
|
|
83
|
+
var newValue = {
|
|
84
|
+
backgroundImage: formValues.backgroundImage || '',
|
|
85
|
+
termsConditions: formValues.termsConditions || []
|
|
86
|
+
};
|
|
87
|
+
onChange === null || onChange === void 0 || onChange(newValue);
|
|
88
|
+
};
|
|
89
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
90
|
+
className: classNames('page-setting-item', className),
|
|
91
|
+
style: style
|
|
92
|
+
}, /*#__PURE__*/React.createElement(Form, {
|
|
93
|
+
form: form,
|
|
94
|
+
onValuesChange: handleFormChange
|
|
95
|
+
}, showImageUpload && /*#__PURE__*/React.createElement("div", {
|
|
96
|
+
className: "page-setting-item-section page-setting-item-background"
|
|
97
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
98
|
+
className: "page-setting-item-section-title"
|
|
99
|
+
}, locales.getText('page.setting.item.background.title')), /*#__PURE__*/React.createElement(Form.Item, {
|
|
100
|
+
name: "backgroundImage",
|
|
101
|
+
style: {
|
|
102
|
+
margin: 0
|
|
103
|
+
}
|
|
104
|
+
}, /*#__PURE__*/React.createElement(FormItemUpload, {
|
|
105
|
+
renderMode: "edit",
|
|
106
|
+
mediaUploadUrl: appHelper === null || appHelper === void 0 || (_appHelper$constants = appHelper.constants) === null || _appHelper$constants === void 0 ? void 0 : _appHelper$constants.mediaUploadUrl,
|
|
107
|
+
getHeaders: appHelper === null || appHelper === void 0 || (_appHelper$constants2 = appHelper.constants) === null || _appHelper$constants2 === void 0 ? void 0 : _appHelper$constants2.getHeaders,
|
|
108
|
+
maxCount: 1,
|
|
109
|
+
multiple: false,
|
|
110
|
+
enableCustomType: true,
|
|
111
|
+
customType: ['.png', '.jpg', '.jpeg'],
|
|
112
|
+
allowPreview: true
|
|
113
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
114
|
+
className: "page-setting-item-section page-setting-item-terms"
|
|
115
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
116
|
+
className: "page-setting-item-section-header"
|
|
117
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
118
|
+
className: "page-setting-item-section-title"
|
|
119
|
+
}, locales.getText('page.setting.item.terms.title')), /*#__PURE__*/React.createElement("div", {
|
|
120
|
+
className: "page-setting-item-section-subtitle"
|
|
121
|
+
}, locales.getText('page.setting.item.terms.subtitle'))), /*#__PURE__*/React.createElement("div", {
|
|
122
|
+
className: "page-setting-item-terms-table"
|
|
123
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
124
|
+
className: "page-setting-item-terms-table-header"
|
|
125
|
+
}, /*#__PURE__*/React.createElement("div", null, locales.getText('page.setting.item.terms.table.name')), /*#__PURE__*/React.createElement("div", null, locales.getText('page.setting.item.terms.table.url')), /*#__PURE__*/React.createElement("div", {
|
|
126
|
+
style: {
|
|
127
|
+
textAlign: 'center'
|
|
128
|
+
}
|
|
129
|
+
}, locales.getText('page.setting.item.terms.table.action'))), /*#__PURE__*/React.createElement(Form.List, {
|
|
130
|
+
name: "termsConditions"
|
|
131
|
+
}, function (fields, _ref2) {
|
|
132
|
+
var add = _ref2.add,
|
|
133
|
+
remove = _ref2.remove;
|
|
134
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
135
|
+
className: "page-setting-item-terms-table-body"
|
|
136
|
+
}, fields.map(function (field) {
|
|
137
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
138
|
+
key: field.key,
|
|
139
|
+
className: "page-setting-item-terms-table-row"
|
|
140
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
141
|
+
className: "page-setting-item-terms-table-cell"
|
|
142
|
+
}, /*#__PURE__*/React.createElement(Form.Item, _extends({}, field, {
|
|
143
|
+
name: [field.name, 'name'],
|
|
144
|
+
validateTrigger: ['onChange', 'onBlur'],
|
|
145
|
+
rules: [{
|
|
146
|
+
validator: function validator(_, value) {
|
|
147
|
+
if (!value || !value.original || !value.original.trim()) {
|
|
148
|
+
return Promise.reject(new Error(locales.getText('page.setting.item.terms.error.name.required')));
|
|
149
|
+
}
|
|
150
|
+
return Promise.resolve();
|
|
151
|
+
}
|
|
152
|
+
}],
|
|
153
|
+
style: {
|
|
154
|
+
margin: 0,
|
|
155
|
+
flex: 1
|
|
156
|
+
}
|
|
157
|
+
}), /*#__PURE__*/React.createElement(BaseTranslation, {
|
|
158
|
+
renderMode: "edit",
|
|
159
|
+
placeholder: locales.getText('page.setting.item.terms.table.name.placeholder')
|
|
160
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
161
|
+
className: "page-setting-item-terms-table-cell"
|
|
162
|
+
}, /*#__PURE__*/React.createElement(Form.Item, _extends({}, field, {
|
|
163
|
+
name: [field.name, 'url'],
|
|
164
|
+
validateTrigger: ['onChange', 'onBlur'],
|
|
165
|
+
rules: [{
|
|
166
|
+
validator: function validator(_, value) {
|
|
167
|
+
if (!value || !value.trim()) {
|
|
168
|
+
return Promise.reject(new Error(locales.getText('page.setting.item.terms.error.url.required')));
|
|
169
|
+
}
|
|
170
|
+
return Promise.resolve();
|
|
171
|
+
}
|
|
172
|
+
}, {
|
|
173
|
+
type: 'url',
|
|
174
|
+
message: locales.getText('page.setting.item.terms.error.url.invalid')
|
|
175
|
+
}],
|
|
176
|
+
style: {
|
|
177
|
+
margin: 0,
|
|
178
|
+
flex: 1
|
|
179
|
+
}
|
|
180
|
+
}), /*#__PURE__*/React.createElement(Input, {
|
|
181
|
+
placeholder: locales.getText('page.setting.item.terms.table.url.placeholder')
|
|
182
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
183
|
+
className: "page-setting-item-terms-table-actions"
|
|
184
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
185
|
+
type: "text",
|
|
186
|
+
danger: true,
|
|
187
|
+
icon: /*#__PURE__*/React.createElement(DeleteOutlined, null),
|
|
188
|
+
size: "small",
|
|
189
|
+
onClick: function onClick() {
|
|
190
|
+
return remove(field.name);
|
|
191
|
+
}
|
|
192
|
+
})));
|
|
193
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
194
|
+
className: "page-setting-item-terms-add-row"
|
|
195
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
196
|
+
type: "default",
|
|
197
|
+
icon: /*#__PURE__*/React.createElement(PlusOutlined, null),
|
|
198
|
+
onClick: function onClick() {
|
|
199
|
+
return add({
|
|
200
|
+
name: {
|
|
201
|
+
en: '',
|
|
202
|
+
'zh-CN': '',
|
|
203
|
+
'zh-HK': '',
|
|
204
|
+
original: ''
|
|
205
|
+
},
|
|
206
|
+
url: ''
|
|
207
|
+
});
|
|
208
|
+
},
|
|
209
|
+
className: "page-setting-item-terms-add-button"
|
|
210
|
+
}, locales.getText('page.setting.item.terms.button.add'))));
|
|
211
|
+
})))));
|
|
212
|
+
});
|
|
213
|
+
PageSettingItem.displayName = 'PageSettingItem';
|
|
214
|
+
export default PageSettingItem;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'page.setting.item.background.title': string;
|
|
4
|
+
'page.setting.item.background.upload.text': string;
|
|
5
|
+
'page.setting.item.background.upload.hint': string;
|
|
6
|
+
'page.setting.item.background.description': string;
|
|
7
|
+
'page.setting.item.background.usage': string;
|
|
8
|
+
'page.setting.item.background.error.format': string;
|
|
9
|
+
'page.setting.item.background.error.size': string;
|
|
10
|
+
'page.setting.item.terms.title': string;
|
|
11
|
+
'page.setting.item.terms.subtitle': string;
|
|
12
|
+
'page.setting.item.terms.usage': string;
|
|
13
|
+
'page.setting.item.terms.table.name': string;
|
|
14
|
+
'page.setting.item.terms.table.url': string;
|
|
15
|
+
'page.setting.item.terms.table.action': string;
|
|
16
|
+
'page.setting.item.terms.table.name.placeholder': string;
|
|
17
|
+
'page.setting.item.terms.table.url.placeholder': string;
|
|
18
|
+
'page.setting.item.terms.button.add': string;
|
|
19
|
+
'page.setting.item.terms.error.name.required': string;
|
|
20
|
+
'page.setting.item.terms.error.url.required': string;
|
|
21
|
+
'page.setting.item.terms.error.url.invalid': string;
|
|
22
|
+
};
|
|
23
|
+
'zh-CN': {
|
|
24
|
+
'page.setting.item.background.title': string;
|
|
25
|
+
'page.setting.item.background.upload.text': string;
|
|
26
|
+
'page.setting.item.background.upload.hint': string;
|
|
27
|
+
'page.setting.item.background.description': string;
|
|
28
|
+
'page.setting.item.background.usage': string;
|
|
29
|
+
'page.setting.item.background.error.format': string;
|
|
30
|
+
'page.setting.item.background.error.size': string;
|
|
31
|
+
'page.setting.item.terms.title': string;
|
|
32
|
+
'page.setting.item.terms.subtitle': string;
|
|
33
|
+
'page.setting.item.terms.usage': string;
|
|
34
|
+
'page.setting.item.terms.table.name': string;
|
|
35
|
+
'page.setting.item.terms.table.url': string;
|
|
36
|
+
'page.setting.item.terms.table.action': string;
|
|
37
|
+
'page.setting.item.terms.table.name.placeholder': string;
|
|
38
|
+
'page.setting.item.terms.table.url.placeholder': string;
|
|
39
|
+
'page.setting.item.terms.button.add': string;
|
|
40
|
+
'page.setting.item.terms.error.name.required': string;
|
|
41
|
+
'page.setting.item.terms.error.url.required': string;
|
|
42
|
+
'page.setting.item.terms.error.url.invalid': string;
|
|
43
|
+
};
|
|
44
|
+
'zh-HK': {
|
|
45
|
+
'page.setting.item.background.title': string;
|
|
46
|
+
'page.setting.item.background.upload.text': string;
|
|
47
|
+
'page.setting.item.background.upload.hint': string;
|
|
48
|
+
'page.setting.item.background.description': string;
|
|
49
|
+
'page.setting.item.background.usage': string;
|
|
50
|
+
'page.setting.item.background.error.format': string;
|
|
51
|
+
'page.setting.item.background.error.size': string;
|
|
52
|
+
'page.setting.item.terms.title': string;
|
|
53
|
+
'page.setting.item.terms.subtitle': string;
|
|
54
|
+
'page.setting.item.terms.usage': string;
|
|
55
|
+
'page.setting.item.terms.table.name': string;
|
|
56
|
+
'page.setting.item.terms.table.url': string;
|
|
57
|
+
'page.setting.item.terms.table.action': string;
|
|
58
|
+
'page.setting.item.terms.table.name.placeholder': string;
|
|
59
|
+
'page.setting.item.terms.table.url.placeholder': string;
|
|
60
|
+
'page.setting.item.terms.button.add': string;
|
|
61
|
+
'page.setting.item.terms.error.name.required': string;
|
|
62
|
+
'page.setting.item.terms.error.url.required': string;
|
|
63
|
+
'page.setting.item.terms.error.url.invalid': string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
export default _default;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
en: {
|
|
3
|
+
// Background Image section
|
|
4
|
+
'page.setting.item.background.title': 'Background Image',
|
|
5
|
+
'page.setting.item.background.upload.text': 'Click or drag file to upload',
|
|
6
|
+
'page.setting.item.background.upload.hint': 'Support JPG, PNG format, max 2MB',
|
|
7
|
+
'page.setting.item.background.description': 'Background image for registration page',
|
|
8
|
+
'page.setting.item.background.usage': 'Used for brand display and visual enhancement',
|
|
9
|
+
'page.setting.item.background.error.format': 'Only JPG and PNG formats are supported',
|
|
10
|
+
'page.setting.item.background.error.size': 'File size must not exceed 2MB',
|
|
11
|
+
// Terms & Conditions section
|
|
12
|
+
'page.setting.item.terms.title': 'Terms & Conditions',
|
|
13
|
+
'page.setting.item.terms.subtitle': 'Legal agreements and policy links displayed on registration page',
|
|
14
|
+
'page.setting.item.terms.usage': 'Support adding terms of service, privacy policy, etc.',
|
|
15
|
+
'page.setting.item.terms.table.name': 'Name',
|
|
16
|
+
'page.setting.item.terms.table.url': 'URL',
|
|
17
|
+
'page.setting.item.terms.table.action': 'Action',
|
|
18
|
+
'page.setting.item.terms.table.name.placeholder': 'Terms of Service',
|
|
19
|
+
'page.setting.item.terms.table.url.placeholder': 'https://example.com/terms',
|
|
20
|
+
'page.setting.item.terms.button.add': 'Add',
|
|
21
|
+
'page.setting.item.terms.error.name.required': 'Name is required',
|
|
22
|
+
'page.setting.item.terms.error.url.required': 'URL is required',
|
|
23
|
+
'page.setting.item.terms.error.url.invalid': 'Please enter a valid URL'
|
|
24
|
+
},
|
|
25
|
+
'zh-CN': {
|
|
26
|
+
// Background Image section
|
|
27
|
+
'page.setting.item.background.title': '背景图片',
|
|
28
|
+
'page.setting.item.background.upload.text': '点击或拖拽文件上传',
|
|
29
|
+
'page.setting.item.background.upload.hint': '支持 JPG、PNG 格式,最大 2MB',
|
|
30
|
+
'page.setting.item.background.description': '注册页面的背景图片',
|
|
31
|
+
'page.setting.item.background.usage': '用于品牌展示和视觉美化',
|
|
32
|
+
'page.setting.item.background.error.format': '只支持 JPG 和 PNG 格式',
|
|
33
|
+
'page.setting.item.background.error.size': '文件大小不能超过 2MB',
|
|
34
|
+
// Terms & Conditions section
|
|
35
|
+
'page.setting.item.terms.title': '条款与条件',
|
|
36
|
+
'page.setting.item.terms.subtitle': '注册页面展示的法律协议和政策链接',
|
|
37
|
+
'page.setting.item.terms.usage': '支持添加服务条款、隐私政策等',
|
|
38
|
+
'page.setting.item.terms.table.name': '名称',
|
|
39
|
+
'page.setting.item.terms.table.url': 'URL',
|
|
40
|
+
'page.setting.item.terms.table.action': '操作',
|
|
41
|
+
'page.setting.item.terms.table.name.placeholder': '服务条款',
|
|
42
|
+
'page.setting.item.terms.table.url.placeholder': 'https://example.com/terms',
|
|
43
|
+
'page.setting.item.terms.button.add': '添加',
|
|
44
|
+
'page.setting.item.terms.error.name.required': '名称不能为空',
|
|
45
|
+
'page.setting.item.terms.error.url.required': 'URL不能为空',
|
|
46
|
+
'page.setting.item.terms.error.url.invalid': '请输入有效的URL'
|
|
47
|
+
},
|
|
48
|
+
'zh-HK': {
|
|
49
|
+
// Background Image section
|
|
50
|
+
'page.setting.item.background.title': '背景圖片',
|
|
51
|
+
'page.setting.item.background.upload.text': '點擊或拖拽文件上傳',
|
|
52
|
+
'page.setting.item.background.upload.hint': '支持 JPG、PNG 格式,最大 2MB',
|
|
53
|
+
'page.setting.item.background.description': '註冊頁面的背景圖片',
|
|
54
|
+
'page.setting.item.background.usage': '用於品牌展示和視覺美化',
|
|
55
|
+
'page.setting.item.background.error.format': '只支持 JPG 和 PNG 格式',
|
|
56
|
+
'page.setting.item.background.error.size': '文件大小不能超過 2MB',
|
|
57
|
+
// Terms & Conditions section
|
|
58
|
+
'page.setting.item.terms.title': '條款與條件',
|
|
59
|
+
'page.setting.item.terms.subtitle': '註冊頁面展示的法律協議和政策鏈接',
|
|
60
|
+
'page.setting.item.terms.usage': '支持添加服務條款、隱私政策等',
|
|
61
|
+
'page.setting.item.terms.table.name': '名稱',
|
|
62
|
+
'page.setting.item.terms.table.url': 'URL',
|
|
63
|
+
'page.setting.item.terms.table.action': '操作',
|
|
64
|
+
'page.setting.item.terms.table.name.placeholder': '服務條款',
|
|
65
|
+
'page.setting.item.terms.table.url.placeholder': 'https://example.com/terms',
|
|
66
|
+
'page.setting.item.terms.button.add': '添加',
|
|
67
|
+
'page.setting.item.terms.error.name.required': '名稱不能為空',
|
|
68
|
+
'page.setting.item.terms.error.url.required': 'URL不能為空',
|
|
69
|
+
'page.setting.item.terms.error.url.invalid': '請輸入有效的URL'
|
|
70
|
+
}
|
|
71
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface TranslationValue {
|
|
3
|
+
en: string;
|
|
4
|
+
'zh-CN': string;
|
|
5
|
+
'zh-HK': string;
|
|
6
|
+
original: string;
|
|
7
|
+
}
|
|
8
|
+
export interface TermsCondition {
|
|
9
|
+
name: TranslationValue;
|
|
10
|
+
url: string;
|
|
11
|
+
}
|
|
12
|
+
export interface PageSettingItemValue {
|
|
13
|
+
backgroundImage?: string;
|
|
14
|
+
termsConditions: TermsCondition[];
|
|
15
|
+
}
|
|
16
|
+
export interface PageSettingItemProps {
|
|
17
|
+
className?: string;
|
|
18
|
+
style?: React.CSSProperties;
|
|
19
|
+
value?: PageSettingItemValue;
|
|
20
|
+
onChange?: (value: PageSettingItemValue) => void;
|
|
21
|
+
/**
|
|
22
|
+
* 是否显示图片上传组件
|
|
23
|
+
* 默认为true,设置为false时隐藏背景图片上传功能
|
|
24
|
+
*/
|
|
25
|
+
showImageUpload?: boolean;
|
|
26
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ChannelAuthSettingProps } from '../types';
|
|
3
|
+
import './index.less';
|
|
4
|
+
declare const SaaSManagermentAuth: React.FC<ChannelAuthSettingProps>;
|
|
5
|
+
export default SaaSManagermentAuth;
|
|
6
|
+
export type { ChannelAuthSettingProps, ChannelAuthSettingValue, ChannelAuthSettingSaveParams, TabKey } from '../types';
|