@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
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
.pisell-wallet-pass-gallery_footer {
|
|
2
|
+
position: relative;
|
|
3
|
+
left: 0;
|
|
4
|
+
right: 0;
|
|
5
|
+
bottom: 0;
|
|
6
|
+
background-color: #fff;
|
|
7
|
+
padding: 24px;
|
|
8
|
+
z-index: 100;
|
|
9
|
+
border-top: 1px solid #d0d5de;
|
|
10
|
+
margin-left: -20px;
|
|
11
|
+
margin-right: -20px;
|
|
12
|
+
&-buttons {
|
|
13
|
+
display: flex;
|
|
14
|
+
gap: 12px;
|
|
15
|
+
width: 100%;
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
.pisell-wallet-pass-gallery_footer-buttons-item-secondary{
|
|
19
|
+
overflow: hidden;
|
|
20
|
+
display: flex;
|
|
21
|
+
>span{
|
|
22
|
+
display: block;
|
|
23
|
+
// width: 100%;
|
|
24
|
+
flex:1;
|
|
25
|
+
white-space: nowrap;
|
|
26
|
+
overflow: hidden;
|
|
27
|
+
text-overflow: ellipsis;
|
|
28
|
+
text-wrap: nowrap;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
// 按钮数量样式
|
|
34
|
+
// 单个按钮占满宽度
|
|
35
|
+
&-count-1 {
|
|
36
|
+
.pisell-wallet-pass-gallery_footer-buttons-item {
|
|
37
|
+
flex: 1;
|
|
38
|
+
width: 100%;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
// 两个按钮各占一半
|
|
43
|
+
&-count-2 {
|
|
44
|
+
.pisell-wallet-pass-gallery_footer-buttons-item {
|
|
45
|
+
flex: 1;
|
|
46
|
+
width: calc(50% - 6px);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
// 三个按钮各占三分之一
|
|
51
|
+
&-count-3 {
|
|
52
|
+
.pisell-wallet-pass-gallery_footer-buttons-item {
|
|
53
|
+
flex: 1;
|
|
54
|
+
width: calc(33.33% - 8px);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
// 四个按钮各占四分之一
|
|
59
|
+
&-count-4 {
|
|
60
|
+
.pisell-wallet-pass-gallery_footer-buttons-item {
|
|
61
|
+
flex: 1;
|
|
62
|
+
width: calc(25% - 9px);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// Ant Design按钮覆盖样式
|
|
67
|
+
:global(.ant-btn) {
|
|
68
|
+
height: 48px;
|
|
69
|
+
border-radius: 6px;
|
|
70
|
+
font-size: 16px;
|
|
71
|
+
font-weight: 500;
|
|
72
|
+
width: 100%;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&-item {
|
|
76
|
+
// 修饰符:主按钮
|
|
77
|
+
&-primary {
|
|
78
|
+
background-color: var(--theme-color, #7F56D9);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
// 修饰符:次按钮
|
|
82
|
+
&-secondary {
|
|
83
|
+
background-color: #fff;
|
|
84
|
+
border-color: #d0d5de;
|
|
85
|
+
color: var(--Gray-700, #344054);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.pisell-wallet-pass-gallery_footer:empty {
|
|
92
|
+
display: none;
|
|
93
|
+
}
|
|
@@ -0,0 +1,274 @@
|
|
|
1
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
2
|
+
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."); }
|
|
3
|
+
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); }
|
|
4
|
+
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; }
|
|
5
|
+
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; } }
|
|
6
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
7
|
+
import React, { useCallback, useMemo, useState, useRef, useEffect } from 'react';
|
|
8
|
+
import { Button, Empty, Typography } from 'antd';
|
|
9
|
+
import { useRequest } from 'ahooks';
|
|
10
|
+
import classNames from 'classnames';
|
|
11
|
+
import { locales } from '@pisell/utils';
|
|
12
|
+
import { PisellStatisticList, usePisellConfig } from '@pisell/materials';
|
|
13
|
+
import { getOffsetTopRelativeToScrollContainer } from "../../../productSelect/utils";
|
|
14
|
+
import CategoryTabs from "../../../productSelect/CategoryTabs";
|
|
15
|
+
import IntersectionObserverProvider, { IntersectionTrigger } from "../../../productSelect/components/IntersectionObserver";
|
|
16
|
+
import { getDetailApi } from "../../serve";
|
|
17
|
+
import UsageRules from "../usageRule";
|
|
18
|
+
import TimelineSection from "../timelineSection";
|
|
19
|
+
import Recharge from "../recharge";
|
|
20
|
+
import FooterButtons from "../footerButton";
|
|
21
|
+
import useEngineContext from "../../../../hooks/useEngineContext";
|
|
22
|
+
import "./index.less";
|
|
23
|
+
var Text = Typography.Text;
|
|
24
|
+
var PassDetail = function PassDetail(props) {
|
|
25
|
+
var _context$appHelper, _store$getState, _dataSource$machineco, _getDetail$data, _getDetail$data2, _dataSource$machineco2;
|
|
26
|
+
if (!props.dataSource) return null;
|
|
27
|
+
var _usePisellConfig = usePisellConfig(),
|
|
28
|
+
_usePisellConfig$symb = _usePisellConfig.symbol,
|
|
29
|
+
symbol = _usePisellConfig$symb === void 0 ? '$' : _usePisellConfig$symb;
|
|
30
|
+
var dataSource = props.dataSource,
|
|
31
|
+
_props$platform = props.platform,
|
|
32
|
+
platform = _props$platform === void 0 ? 'pc' : _props$platform;
|
|
33
|
+
var _useState = useState('detail'),
|
|
34
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
35
|
+
activeKey = _useState2[0],
|
|
36
|
+
setActiveKey = _useState2[1];
|
|
37
|
+
var _useState3 = useState(false),
|
|
38
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
39
|
+
rechargeOpen = _useState4[0],
|
|
40
|
+
setRechargeOpen = _useState4[1];
|
|
41
|
+
|
|
42
|
+
// tab相关
|
|
43
|
+
var containerRef = useRef(null);
|
|
44
|
+
var isIndicatorVisibleRef = useRef(false);
|
|
45
|
+
var context = useEngineContext();
|
|
46
|
+
var _ref = ((_context$appHelper = context.appHelper) === null || _context$appHelper === void 0 ? void 0 : _context$appHelper.utils) || {
|
|
47
|
+
store: {}
|
|
48
|
+
},
|
|
49
|
+
store = _ref.store;
|
|
50
|
+
var timezone = (store === null || store === void 0 || (_store$getState = store.getState) === null || _store$getState === void 0 || (_store$getState = _store$getState.call(store)) === null || _store$getState === void 0 || (_store$getState = _store$getState.global) === null || _store$getState === void 0 || (_store$getState = _store$getState.symbol) === null || _store$getState === void 0 ? void 0 : _store$getState.shop.timezone) || 'Asia/Shanghai';
|
|
51
|
+
var _ref2 = dataSource || {},
|
|
52
|
+
_ref2$id = _ref2.id,
|
|
53
|
+
id = _ref2$id === void 0 ? '' : _ref2$id,
|
|
54
|
+
_ref2$code = _ref2.code,
|
|
55
|
+
code = _ref2$code === void 0 ? '' : _ref2$code,
|
|
56
|
+
_ref2$tag = _ref2.tag,
|
|
57
|
+
tag = _ref2$tag === void 0 ? '' : _ref2$tag,
|
|
58
|
+
_ref2$product_title = _ref2.product_title,
|
|
59
|
+
product_title = _ref2$product_title === void 0 ? '' : _ref2$product_title,
|
|
60
|
+
_ref2$encoded = _ref2.encoded,
|
|
61
|
+
encoded = _ref2$encoded === void 0 ? '' : _ref2$encoded,
|
|
62
|
+
balance = _ref2.balance,
|
|
63
|
+
_ref2$expire_date = _ref2.expire_date,
|
|
64
|
+
expire_date = _ref2$expire_date === void 0 ? '' : _ref2$expire_date,
|
|
65
|
+
_ref2$product = _ref2.product,
|
|
66
|
+
product = _ref2$product === void 0 ? {} : _ref2$product;
|
|
67
|
+
var _ref3 = product || {},
|
|
68
|
+
_ref3$description = _ref3.description,
|
|
69
|
+
description = _ref3$description === void 0 ? '' : _ref3$description,
|
|
70
|
+
_ref3$extension_data = _ref3.extension_data,
|
|
71
|
+
extension_data = _ref3$extension_data === void 0 ? [] : _ref3$extension_data,
|
|
72
|
+
_ref3$customer_order_ = _ref3.customer_order_behavior_count,
|
|
73
|
+
customer_order_behavior_count = _ref3$customer_order_ === void 0 ? 0 : _ref3$customer_order_;
|
|
74
|
+
var _getDetail = useRequest(function () {
|
|
75
|
+
return getDetailApi({
|
|
76
|
+
id: id
|
|
77
|
+
});
|
|
78
|
+
}, {
|
|
79
|
+
ready: !!id,
|
|
80
|
+
refreshDeps: [id]
|
|
81
|
+
});
|
|
82
|
+
useEffect(function () {
|
|
83
|
+
if (tag === 'product_discount_card') {
|
|
84
|
+
setActiveKey('detail');
|
|
85
|
+
}
|
|
86
|
+
if (containerRef.current) {
|
|
87
|
+
containerRef.current.scrollTop = 0;
|
|
88
|
+
}
|
|
89
|
+
}, [id, tag]);
|
|
90
|
+
var _anchorOptions = useMemo(function () {
|
|
91
|
+
// 始终包含detail选项
|
|
92
|
+
var options = [{
|
|
93
|
+
key: 'detail',
|
|
94
|
+
label: locales.getText('wallet-pass-gallery.detail')
|
|
95
|
+
}];
|
|
96
|
+
|
|
97
|
+
// 仅在tag不等于product_discount_card时添加activityLog选项
|
|
98
|
+
if (tag !== 'product_discount_card') {
|
|
99
|
+
options.push({
|
|
100
|
+
key: 'activityLog',
|
|
101
|
+
label: locales.getText('wallet-pass-gallery.activelog')
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
return options;
|
|
105
|
+
}, [dataSource === null || dataSource === void 0 ? void 0 : dataSource.tag]);
|
|
106
|
+
var debounceIndicator = useCallback(function (delay) {
|
|
107
|
+
isIndicatorVisibleRef.current = true;
|
|
108
|
+
var timeoutId = setTimeout(function () {
|
|
109
|
+
isIndicatorVisibleRef.current = false;
|
|
110
|
+
}, delay);
|
|
111
|
+
return function () {
|
|
112
|
+
return clearTimeout(timeoutId);
|
|
113
|
+
};
|
|
114
|
+
}, []);
|
|
115
|
+
var descs = useMemo(function () {
|
|
116
|
+
var data = [{
|
|
117
|
+
label: locales.getText('wallet-pass-gallery.cardName'),
|
|
118
|
+
value: product_title
|
|
119
|
+
}, {
|
|
120
|
+
label: locales.getText('wallet-pass-gallery.carNumber'),
|
|
121
|
+
value: encoded,
|
|
122
|
+
isLink: false
|
|
123
|
+
}, {
|
|
124
|
+
label: locales.getText('wallet-pass-gallery.validDate'),
|
|
125
|
+
value: expire_date ? expire_date : locales.getText('wallet-pass-gallery.expireDate')
|
|
126
|
+
}];
|
|
127
|
+
//折扣卡显示折扣字段 其他显示余额字段
|
|
128
|
+
if (tag === 'product_discount_card') {
|
|
129
|
+
var _dataSource$metadata;
|
|
130
|
+
var isFixedAmount = ((_dataSource$metadata = dataSource.metadata) === null || _dataSource$metadata === void 0 ? void 0 : _dataSource$metadata.discount_card_type) === 'fixed_amount';
|
|
131
|
+
data.splice(2, 0, {
|
|
132
|
+
label: locales.getText('wallet-pass-gallery.discount'),
|
|
133
|
+
value: balance ? isFixedAmount ? "".concat(symbol).concat(Number(balance)) : "".concat(Number(balance), "%") : ''
|
|
134
|
+
});
|
|
135
|
+
} else if (tag === 'point_card') {
|
|
136
|
+
data.splice(2, 0, {
|
|
137
|
+
label: locales.getText('wallet-pass-gallery.points'),
|
|
138
|
+
value: balance ? "".concat(Number(balance)) : ''
|
|
139
|
+
});
|
|
140
|
+
} else if (tag === 'good_pass') {
|
|
141
|
+
data.splice(2, 0, {
|
|
142
|
+
label: locales.getText('wallet-pass-gallery.goodPass'),
|
|
143
|
+
value: balance ? "".concat(Number(balance)) : ''
|
|
144
|
+
});
|
|
145
|
+
} else {
|
|
146
|
+
data.splice(2, 0, {
|
|
147
|
+
label: locales.getText('wallet-pass-gallery.balance'),
|
|
148
|
+
value: balance ? "".concat(symbol).concat(Number(balance)) : ''
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
return data;
|
|
152
|
+
}, [dataSource]);
|
|
153
|
+
|
|
154
|
+
// 项目进入视口时的回调
|
|
155
|
+
var handleItemIntersectionIn = useCallback(function (_key) {
|
|
156
|
+
if (!isIndicatorVisibleRef.current && _key) {
|
|
157
|
+
setActiveKey(_key);
|
|
158
|
+
}
|
|
159
|
+
}, []);
|
|
160
|
+
if (!dataSource) {
|
|
161
|
+
return /*#__PURE__*/React.createElement(Empty, null);
|
|
162
|
+
}
|
|
163
|
+
var _switchCategory = function _switchCategory(key) {
|
|
164
|
+
setActiveKey(key);
|
|
165
|
+
debounceIndicator(300);
|
|
166
|
+
var categoryIndex = _anchorOptions.findIndex(function (item) {
|
|
167
|
+
return item.key === key;
|
|
168
|
+
});
|
|
169
|
+
// 获取可滚动祖先元素
|
|
170
|
+
var _scrollParent = containerRef.current;
|
|
171
|
+
if (!_scrollParent) return;
|
|
172
|
+
var target = document.querySelector("[data-anchor=\"".concat(key, "\"]"));
|
|
173
|
+
if (!target) return;
|
|
174
|
+
// 获取产品选择器包装容器
|
|
175
|
+
var detailWrapper = document.querySelector(".pisell-wallet-pass-gallery_detail-content");
|
|
176
|
+
// 获取标签页包装容器
|
|
177
|
+
var tabsWrapper = document.querySelector(".pisell-wallet-pass-gallery-tabs-wrapper");
|
|
178
|
+
var tabsHeight = (tabsWrapper === null || tabsWrapper === void 0 ? void 0 : tabsWrapper.offsetHeight) || 0;
|
|
179
|
+
if (categoryIndex === 0) {
|
|
180
|
+
// 如果是第一个tab,滚动到产品选择器包装容器的位置
|
|
181
|
+
if (detailWrapper) {
|
|
182
|
+
var wrapperOffsetTop = getOffsetTopRelativeToScrollContainer(detailWrapper, _scrollParent);
|
|
183
|
+
_scrollParent.scrollTop = wrapperOffsetTop;
|
|
184
|
+
}
|
|
185
|
+
return;
|
|
186
|
+
} else {
|
|
187
|
+
// 其他tab,滚动到对应列表元素位置,需要减去标签页高度
|
|
188
|
+
var listOffsetTop = getOffsetTopRelativeToScrollContainer(target, _scrollParent);
|
|
189
|
+
_scrollParent.scrollTop = listOffsetTop - tabsHeight;
|
|
190
|
+
}
|
|
191
|
+
};
|
|
192
|
+
var renderTimeLine = function renderTimeLine() {
|
|
193
|
+
if (tag === 'product_discount_card') return null;
|
|
194
|
+
return /*#__PURE__*/React.createElement(TimelineSection, {
|
|
195
|
+
code: code,
|
|
196
|
+
tag: tag,
|
|
197
|
+
timezone: timezone
|
|
198
|
+
});
|
|
199
|
+
};
|
|
200
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
201
|
+
className: classNames("pisell-wallet-pass-gallery_detail", "pisell-wallet-pass-gallery_detail-".concat(platform))
|
|
202
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
203
|
+
className: "pisell-wallet-pass-gallery_detail-content",
|
|
204
|
+
ref: containerRef
|
|
205
|
+
}, _anchorOptions.length > 1 && /*#__PURE__*/React.createElement(CategoryTabs, {
|
|
206
|
+
key: id,
|
|
207
|
+
className: "pisell-wallet-pass-gallery-tabs-wrapper",
|
|
208
|
+
activeKey: activeKey,
|
|
209
|
+
items: _anchorOptions,
|
|
210
|
+
onChange: _switchCategory,
|
|
211
|
+
loading: false,
|
|
212
|
+
style: {
|
|
213
|
+
padding: 0
|
|
214
|
+
}
|
|
215
|
+
}), /*#__PURE__*/React.createElement(IntersectionObserverProvider, {
|
|
216
|
+
rootMargin: "-70px 0px -270px 0px",
|
|
217
|
+
priorityMode: "top"
|
|
218
|
+
}, /*#__PURE__*/React.createElement(IntersectionTrigger, {
|
|
219
|
+
style: {
|
|
220
|
+
height: '1px'
|
|
221
|
+
},
|
|
222
|
+
onShow: function onShow() {
|
|
223
|
+
return handleItemIntersectionIn('detail');
|
|
224
|
+
}
|
|
225
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
226
|
+
"data-anchor": "detail"
|
|
227
|
+
})), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Text, {
|
|
228
|
+
className: "pisell-wallet-pass-gallery_detail-title"
|
|
229
|
+
}, locales.getText('wallet-pass-gallery.details')), platform === 'pc' && tag === 'gift_card' && (dataSource === null || dataSource === void 0 || (_dataSource$machineco = dataSource.machinecode_config) === null || _dataSource$machineco === void 0 ? void 0 : _dataSource$machineco.hide_recharge) === 0 && /*#__PURE__*/React.createElement(Button, {
|
|
230
|
+
type: "primary",
|
|
231
|
+
size: "large",
|
|
232
|
+
onClick: function onClick() {
|
|
233
|
+
return setRechargeOpen(true);
|
|
234
|
+
}
|
|
235
|
+
}, locales.getText('wallet-pass-gallery.recharge')), /*#__PURE__*/React.createElement(PisellStatisticList, {
|
|
236
|
+
data: descs,
|
|
237
|
+
labelColor: "#667085",
|
|
238
|
+
valueColor: "#101828",
|
|
239
|
+
backgroundColors: ['#fff'],
|
|
240
|
+
isHasBorder: false
|
|
241
|
+
}), description && /*#__PURE__*/React.createElement("div", {
|
|
242
|
+
className: "pisell-wallet-pass-gallery_detail-card-content-tip"
|
|
243
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
244
|
+
dangerouslySetInnerHTML: {
|
|
245
|
+
__html: description
|
|
246
|
+
}
|
|
247
|
+
})), /*#__PURE__*/React.createElement(UsageRules, {
|
|
248
|
+
dataSource: _getDetail.data
|
|
249
|
+
})), /*#__PURE__*/React.createElement(IntersectionTrigger, {
|
|
250
|
+
style: {
|
|
251
|
+
height: '1px'
|
|
252
|
+
},
|
|
253
|
+
onShow: function onShow() {
|
|
254
|
+
return handleItemIntersectionIn('activityLog');
|
|
255
|
+
}
|
|
256
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
257
|
+
"data-anchor": "activityLog"
|
|
258
|
+
})), /*#__PURE__*/React.createElement("div", null, renderTimeLine())))), platform === 'h5' && tag === 'gift_card' ? /*#__PURE__*/React.createElement(FooterButtons, {
|
|
259
|
+
appleWalletUrl: (_getDetail$data = _getDetail.data) === null || _getDetail$data === void 0 ? void 0 : _getDetail$data.apple_wallet_url,
|
|
260
|
+
googleWalletUrl: (_getDetail$data2 = _getDetail.data) === null || _getDetail$data2 === void 0 ? void 0 : _getDetail$data2.google_wallet_url,
|
|
261
|
+
onRechargeClick: (dataSource === null || dataSource === void 0 || (_dataSource$machineco2 = dataSource.machinecode_config) === null || _dataSource$machineco2 === void 0 ? void 0 : _dataSource$machineco2.hide_recharge) === 0 ? function () {
|
|
262
|
+
return setRechargeOpen(true);
|
|
263
|
+
} : undefined,
|
|
264
|
+
platform: platform
|
|
265
|
+
}) : null, /*#__PURE__*/React.createElement(Recharge, {
|
|
266
|
+
platform: platform,
|
|
267
|
+
detailData: _getDetail.data,
|
|
268
|
+
open: rechargeOpen,
|
|
269
|
+
onClose: function onClose() {
|
|
270
|
+
return setRechargeOpen(false);
|
|
271
|
+
}
|
|
272
|
+
}));
|
|
273
|
+
};
|
|
274
|
+
export default PassDetail;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
.pisell-wallet-pass-gallery_detail {
|
|
2
|
+
background-color: white;
|
|
3
|
+
overflow: hidden;
|
|
4
|
+
|
|
5
|
+
&-pc {
|
|
6
|
+
height: 800px;
|
|
7
|
+
max-height: calc(100vh - 128px);
|
|
8
|
+
border: 1px solid #d0d5de;
|
|
9
|
+
padding: 20px;
|
|
10
|
+
z-index: 1;
|
|
11
|
+
border-radius: 12px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&-h5 {
|
|
15
|
+
height: 100%;
|
|
16
|
+
overflow: hidden;
|
|
17
|
+
border: none;
|
|
18
|
+
padding: 20px 0px;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.pisell-wallet-pass-gallery_detail-content {
|
|
22
|
+
overflow-y: auto;
|
|
23
|
+
height: 100%;
|
|
24
|
+
&::-webkit-scrollbar {
|
|
25
|
+
width: 0 !important;
|
|
26
|
+
height: 0 !important;
|
|
27
|
+
background: transparent !important;
|
|
28
|
+
display: none !important;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.pisell-wallet-pass-gallery_detail-title {
|
|
33
|
+
color: #101828;
|
|
34
|
+
font-size: 20px;
|
|
35
|
+
font-weight: 600;
|
|
36
|
+
line-height: 30px;
|
|
37
|
+
margin: 10px 0;
|
|
38
|
+
display: block;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
// 覆盖 tab 默认样式
|
|
42
|
+
.pisell-tabstruct-item[aria-selected='true'] {
|
|
43
|
+
background-color: var(--theme-color);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.pisell-tabstruct-selection {
|
|
47
|
+
background-color: var(--theme-color);
|
|
48
|
+
transition: none !important;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.pisell-wallet-pass-gallery_detail-card-content-tip {
|
|
52
|
+
color: #667085;
|
|
53
|
+
font-size: 14px;
|
|
54
|
+
line-height: 22px;
|
|
55
|
+
margin: 12px 0;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
interface IPassListProps {
|
|
2
|
+
dataSource: any[];
|
|
3
|
+
value?: string | number;
|
|
4
|
+
onChange?: (newId: string | number) => void;
|
|
5
|
+
valuePropName?: string;
|
|
6
|
+
hasMore?: boolean;
|
|
7
|
+
onLoadMore?: () => void;
|
|
8
|
+
loading?: boolean;
|
|
9
|
+
}
|
|
10
|
+
declare const PassList: (props: IPassListProps) => JSX.Element;
|
|
11
|
+
export default PassList;
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
var _excluded = ["id", "tag", "product_title", "balance", "code", "encoded", "expire_date", "shop", "limit_status", "product_cover", "par_value", "unified_messages"];
|
|
2
|
+
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); }
|
|
3
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
4
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import { Button, List } from 'antd';
|
|
7
|
+
import { PisellWalletPassCard } from '@pisell/materials';
|
|
8
|
+
import { locales } from '@pisell/utils';
|
|
9
|
+
var PassList = function PassList(props) {
|
|
10
|
+
var _props$dataSource = props.dataSource,
|
|
11
|
+
dataSource = _props$dataSource === void 0 ? [] : _props$dataSource,
|
|
12
|
+
value = props.value,
|
|
13
|
+
onChange = props.onChange,
|
|
14
|
+
_props$valuePropName = props.valuePropName,
|
|
15
|
+
valuePropName = _props$valuePropName === void 0 ? 'id' : _props$valuePropName,
|
|
16
|
+
hasMore = props.hasMore,
|
|
17
|
+
onLoadMore = props.onLoadMore,
|
|
18
|
+
loading = props.loading;
|
|
19
|
+
var _loadMore = /*#__PURE__*/React.createElement("div", {
|
|
20
|
+
style: {
|
|
21
|
+
textAlign: 'center',
|
|
22
|
+
marginBottom: 12,
|
|
23
|
+
height: 32,
|
|
24
|
+
lineHeight: '32px'
|
|
25
|
+
}
|
|
26
|
+
}, hasMore ? /*#__PURE__*/React.createElement(Button, {
|
|
27
|
+
onClick: onLoadMore,
|
|
28
|
+
loading: loading
|
|
29
|
+
}, locales.getText('wallet-pass-gallery.viewMore')) : /*#__PURE__*/React.createElement("div", {
|
|
30
|
+
style: {
|
|
31
|
+
color: '#999'
|
|
32
|
+
}
|
|
33
|
+
}, locales.getText('wallet-pass-gallery.allLoaded')));
|
|
34
|
+
return /*#__PURE__*/React.createElement(List, {
|
|
35
|
+
className: "pisell-wallet-pass-gallery_list",
|
|
36
|
+
itemLayout: "horizontal",
|
|
37
|
+
dataSource: dataSource,
|
|
38
|
+
split: false,
|
|
39
|
+
loadMore: _loadMore,
|
|
40
|
+
loading: loading,
|
|
41
|
+
renderItem: function renderItem(item, index) {
|
|
42
|
+
var id = item.id,
|
|
43
|
+
tag = item.tag,
|
|
44
|
+
_item$product_title = item.product_title,
|
|
45
|
+
product_title = _item$product_title === void 0 ? '' : _item$product_title,
|
|
46
|
+
_item$balance = item.balance,
|
|
47
|
+
balance = _item$balance === void 0 ? 0 : _item$balance,
|
|
48
|
+
_item$code = item.code,
|
|
49
|
+
code = _item$code === void 0 ? '' : _item$code,
|
|
50
|
+
_item$encoded = item.encoded,
|
|
51
|
+
encoded = _item$encoded === void 0 ? '' : _item$encoded,
|
|
52
|
+
_item$expire_date = item.expire_date,
|
|
53
|
+
expire_date = _item$expire_date === void 0 ? '' : _item$expire_date,
|
|
54
|
+
_item$shop = item.shop,
|
|
55
|
+
shop = _item$shop === void 0 ? {
|
|
56
|
+
name: ''
|
|
57
|
+
} : _item$shop,
|
|
58
|
+
limit_status = item.limit_status,
|
|
59
|
+
_item$product_cover = item.product_cover,
|
|
60
|
+
product_cover = _item$product_cover === void 0 ? '' : _item$product_cover,
|
|
61
|
+
_item$par_value = item.par_value,
|
|
62
|
+
par_value = _item$par_value === void 0 ? '' : _item$par_value,
|
|
63
|
+
_item$unified_message = item.unified_messages,
|
|
64
|
+
unified_messages = _item$unified_message === void 0 ? {} : _item$unified_message,
|
|
65
|
+
rest = _objectWithoutProperties(item, _excluded);
|
|
66
|
+
// 用于选中状态和变更回调的值(支持自定义属性名)
|
|
67
|
+
var itemValue = item === null || item === void 0 ? void 0 : item[valuePropName];
|
|
68
|
+
// 获取提示信息
|
|
69
|
+
var _unified_messages$tit = unified_messages.title,
|
|
70
|
+
disabledReason = _unified_messages$tit === void 0 ? '' : _unified_messages$tit;
|
|
71
|
+
var _shop$name = shop.name,
|
|
72
|
+
storeName = _shop$name === void 0 ? '' : _shop$name;
|
|
73
|
+
var isDiscountCard = tag === 'product_discount_card';
|
|
74
|
+
return /*#__PURE__*/React.createElement(List.Item, {
|
|
75
|
+
style: {
|
|
76
|
+
padding: 0
|
|
77
|
+
}
|
|
78
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
79
|
+
style: {
|
|
80
|
+
cursor: 'pointer',
|
|
81
|
+
width: '100%'
|
|
82
|
+
},
|
|
83
|
+
role: "button",
|
|
84
|
+
onClick: function onClick() {
|
|
85
|
+
return onChange === null || onChange === void 0 ? void 0 : onChange(itemValue);
|
|
86
|
+
}
|
|
87
|
+
}, /*#__PURE__*/React.createElement(PisellWalletPassCard, _extends({}, rest, {
|
|
88
|
+
balanceTitle: tag === 'good_pass' ? locales.getText('wallet-pass-gallery.goodPass') : undefined,
|
|
89
|
+
showDetail: false,
|
|
90
|
+
showRedeem: false,
|
|
91
|
+
showQrCode: true,
|
|
92
|
+
showBalance: !isDiscountCard,
|
|
93
|
+
cover: product_cover,
|
|
94
|
+
disabled: limit_status !== 'enable',
|
|
95
|
+
showDisabledReason: limit_status !== 'enable',
|
|
96
|
+
disabledReason: disabledReason,
|
|
97
|
+
style: {
|
|
98
|
+
marginBottom: 16,
|
|
99
|
+
width: '100%'
|
|
100
|
+
},
|
|
101
|
+
showBalanceSymbol: !['point_card', 'good_pass'].includes(tag),
|
|
102
|
+
active: value === itemValue,
|
|
103
|
+
name: product_title,
|
|
104
|
+
qrCode: code,
|
|
105
|
+
storeName: storeName,
|
|
106
|
+
balance: Number(balance),
|
|
107
|
+
discount: isDiscountCard ? Number(par_value) : undefined,
|
|
108
|
+
showDiscount: isDiscountCard,
|
|
109
|
+
code: encoded,
|
|
110
|
+
validDate: expire_date
|
|
111
|
+
}))));
|
|
112
|
+
}
|
|
113
|
+
});
|
|
114
|
+
};
|
|
115
|
+
export default PassList;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { IDetailResponse } from '../../serve';
|
|
3
|
+
import './index.less';
|
|
4
|
+
interface RechargeProps {
|
|
5
|
+
platform?: 'pc' | 'h5';
|
|
6
|
+
detailData?: IDetailResponse | undefined;
|
|
7
|
+
open: boolean;
|
|
8
|
+
onClose: () => void;
|
|
9
|
+
}
|
|
10
|
+
declare const Recharge: React.FC<RechargeProps>;
|
|
11
|
+
export default Recharge;
|