@pisell/private-materials 6.2.51 → 6.2.52
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 +145 -143
- 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/TabProduct/index.d.ts +1 -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 +63 -48
- package/es/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
- package/es/components/booking/forms/footer.js +26 -21
- 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/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- 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/hooks/useInfoHolder.d.ts +1 -0
- package/es/components/booking/info/main.js +3 -2
- package/es/components/booking/info/model.js +5 -0
- package/es/components/booking/info/service/like/index.d.ts +1 -0
- package/es/components/booking/info2/index.js +3 -2
- 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/eftpos/deviceList/index.d.ts +1 -0
- package/es/components/eftpos/group/index.d.ts +1 -0
- package/es/components/eftpos/icon/apiKey.d.ts +1 -0
- package/es/components/eftpos/icon/device.d.ts +1 -0
- package/es/components/eftpos/receipt/index.d.ts +1 -0
- package/es/components/eftposPay/component/alert/warn.d.ts +1 -0
- package/es/components/eftposPay/component/header/titlebar.d.ts +1 -0
- package/es/components/eftposPay/component/step/index.d.ts +1 -0
- package/es/components/eftposPay/component/step/step.d.ts +1 -0
- package/es/components/eftposPay/hooks.d.ts +1 -1
- package/es/components/eftposPay/linkly/hooks/useTimeQuery.js +14 -6
- package/es/components/eftposPay/linkly/index.js +64 -2
- package/es/components/eftposPay/payo/config.js +70 -32
- package/es/components/eftposPay/payo/payment.d.ts +66 -0
- package/es/components/eftposPay/payo/payment.js +579 -0
- package/es/components/eftposPay/store/index.d.ts +1 -1
- package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/es/components/eftposPay/utils/log/index.d.ts +110 -0
- package/es/components/eftposPay/utils/log/index.js +371 -0
- package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
- package/es/components/index.d.ts +4 -2
- package/es/components/index.js +4 -2
- package/es/components/pay/toC/PaymentMethods/ApplePay/index.js +100 -21
- package/es/components/pay/toC/PaymentMethods/BankDeposit/index.js +58 -8
- package/es/components/pay/toC/PaymentMethods/CashManual/index.js +74 -12
- package/es/components/pay/toC/PaymentMethods/CustomPayment/index.js +73 -12
- package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.js +93 -11
- package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.js +90 -12
- package/es/components/pay/toC/PaymentMethods/GlobePayQrcode/index.js +46 -7
- package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/index.js +90 -12
- package/es/components/pay/toC/PaymentMethods/GooglePay/index.js +107 -28
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +13 -11
- package/es/components/pay/toC/PaymentMethods/OfflinePayment/index.js +73 -8
- package/es/components/pay/toC/PaymentMethods/StripePay/index.js +68 -17
- package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.js +126 -23
- package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.js +89 -15
- package/es/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.d.ts +15 -0
- package/es/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.js +145 -0
- package/es/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.less +44 -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 +290 -123
- package/es/components/pay/toC/locales.d.ts +12 -0
- package/es/components/pay/toC/locales.js +15 -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/pay/toC/status.d.ts +1 -0
- package/es/components/pay/toC/status.js +3 -0
- package/es/components/productExtension/fields/Forms/index.d.ts +1 -0
- package/es/components/systemSettings/registry/components/GroupModal.d.ts +4 -0
- package/es/components/systemSettings/registry/components/GroupModal.js +160 -0
- package/es/components/systemSettings/registry/components/ItemModal.d.ts +4 -0
- package/es/components/systemSettings/registry/components/ItemModal.js +547 -0
- package/es/components/systemSettings/registry/components/ModuleList.d.ts +4 -0
- package/es/components/systemSettings/registry/components/ModuleList.js +54 -0
- package/es/components/systemSettings/registry/components/SectionList.d.ts +4 -0
- package/es/components/systemSettings/registry/components/SectionList.js +174 -0
- package/es/components/systemSettings/registry/components/SettingsTable.d.ts +4 -0
- package/es/components/systemSettings/registry/components/SettingsTable.js +765 -0
- package/es/components/systemSettings/registry/components/index.d.ts +4 -0
- package/es/components/systemSettings/registry/components/index.js +4 -0
- package/es/components/systemSettings/registry/index.d.ts +5 -0
- package/es/components/systemSettings/registry/index.js +1059 -0
- package/es/components/systemSettings/registry/index.less +410 -0
- package/es/components/systemSettings/registry/locales.d.ts +272 -0
- package/es/components/systemSettings/registry/locales.js +300 -0
- package/es/components/systemSettings/registry/services.d.ts +77 -0
- package/es/components/systemSettings/registry/services.js +472 -0
- package/es/components/systemSettings/registry/types.d.ts +126 -0
- package/es/components/systemSettings/registry/types.js +1 -0
- package/es/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
- package/es/components/systemSettings/registry/utils/typeValidation.js +284 -0
- package/es/components/systemSettings/registry/utils/validators.d.ts +8 -0
- package/es/components/systemSettings/registry/utils/validators.js +44 -0
- 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.d.ts +0 -25
- package/es/components/walletList/index.js +93 -61
- 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/hooks/usePaymentLogger.d.ts +22 -0
- package/es/hooks/usePaymentLogger.js +78 -0
- package/es/index.d.ts +8 -0
- package/es/index.js +8 -1
- package/es/plus/clientName/index.d.ts +1 -0
- 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/index.d.ts +3 -1
- package/es/plus/productSelect/ProductCard/index.js +14 -5
- 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/productSelect/utils.js +0 -1
- 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 +245 -0
- package/es/plus/walletPassGallery/components/footerButton/index.less +48 -0
- package/es/plus/walletPassGallery/components/passDetail/index.d.ts +8 -0
- package/es/plus/walletPassGallery/components/passDetail/index.js +278 -0
- package/es/plus/walletPassGallery/components/passDetail/index.less +61 -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 +145 -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 +604 -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 +1009 -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 +20 -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/TabProduct/index.d.ts +1 -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 +67 -36
- package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
- package/lib/components/booking/forms/footer.js +26 -14
- 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/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- 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/hooks/useInfoHolder.d.ts +1 -0
- package/lib/components/booking/info/main.js +5 -4
- package/lib/components/booking/info/model.js +5 -0
- package/lib/components/booking/info/service/like/index.d.ts +1 -0
- package/lib/components/booking/info2/index.js +5 -4
- 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/eftpos/deviceList/index.d.ts +1 -0
- package/lib/components/eftpos/group/index.d.ts +1 -0
- package/lib/components/eftpos/icon/apiKey.d.ts +1 -0
- package/lib/components/eftpos/icon/device.d.ts +1 -0
- package/lib/components/eftpos/receipt/index.d.ts +1 -0
- package/lib/components/eftposPay/component/alert/warn.d.ts +1 -0
- package/lib/components/eftposPay/component/header/titlebar.d.ts +1 -0
- package/lib/components/eftposPay/component/step/index.d.ts +1 -0
- package/lib/components/eftposPay/component/step/step.d.ts +1 -0
- package/lib/components/eftposPay/hooks.d.ts +1 -1
- package/lib/components/eftposPay/linkly/hooks/useTimeQuery.js +12 -6
- package/lib/components/eftposPay/linkly/index.js +31 -1
- package/lib/components/eftposPay/payo/config.js +98 -73
- package/lib/components/eftposPay/payo/payment.d.ts +66 -0
- package/lib/components/eftposPay/payo/payment.js +357 -0
- package/lib/components/eftposPay/store/index.d.ts +1 -1
- package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/lib/components/eftposPay/utils/log/index.d.ts +110 -0
- package/lib/components/eftposPay/utils/log/index.js +294 -0
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
- package/lib/components/index.d.ts +4 -2
- package/lib/components/index.js +23 -1
- package/lib/components/pay/toC/PaymentMethods/ApplePay/index.js +67 -8
- package/lib/components/pay/toC/PaymentMethods/BankDeposit/index.js +52 -15
- package/lib/components/pay/toC/PaymentMethods/CashManual/index.js +60 -2
- package/lib/components/pay/toC/PaymentMethods/CustomPayment/index.js +60 -2
- package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.js +66 -2
- package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.js +61 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayQrcode/index.js +29 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/index.js +61 -0
- package/lib/components/pay/toC/PaymentMethods/GooglePay/index.js +77 -9
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +13 -11
- package/lib/components/pay/toC/PaymentMethods/OfflinePayment/index.js +72 -10
- package/lib/components/pay/toC/PaymentMethods/StripePay/index.js +47 -5
- package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.js +90 -6
- package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.js +63 -3
- 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 +44 -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 +198 -51
- package/lib/components/pay/toC/locales.d.ts +12 -0
- package/lib/components/pay/toC/locales.js +15 -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/pay/toC/status.d.ts +1 -0
- package/lib/components/pay/toC/status.js +5 -0
- package/lib/components/productExtension/fields/Forms/index.d.ts +1 -0
- package/lib/components/systemSettings/registry/components/GroupModal.d.ts +4 -0
- package/lib/components/systemSettings/registry/components/GroupModal.js +177 -0
- package/lib/components/systemSettings/registry/components/ItemModal.d.ts +4 -0
- package/lib/components/systemSettings/registry/components/ItemModal.js +508 -0
- package/lib/components/systemSettings/registry/components/ModuleList.d.ts +4 -0
- package/lib/components/systemSettings/registry/components/ModuleList.js +71 -0
- package/lib/components/systemSettings/registry/components/SectionList.d.ts +4 -0
- package/lib/components/systemSettings/registry/components/SectionList.js +181 -0
- package/lib/components/systemSettings/registry/components/SettingsTable.d.ts +4 -0
- package/lib/components/systemSettings/registry/components/SettingsTable.js +575 -0
- package/lib/components/systemSettings/registry/components/index.d.ts +4 -0
- package/lib/components/systemSettings/registry/components/index.js +48 -0
- package/lib/components/systemSettings/registry/index.d.ts +5 -0
- package/lib/components/systemSettings/registry/index.js +529 -0
- package/lib/components/systemSettings/registry/index.less +410 -0
- package/lib/components/systemSettings/registry/locales.d.ts +272 -0
- package/lib/components/systemSettings/registry/locales.js +324 -0
- package/lib/components/systemSettings/registry/services.d.ts +77 -0
- package/lib/components/systemSettings/registry/services.js +290 -0
- package/lib/components/systemSettings/registry/types.d.ts +126 -0
- package/lib/components/systemSettings/registry/types.js +17 -0
- package/lib/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
- package/lib/components/systemSettings/registry/utils/typeValidation.js +228 -0
- package/lib/components/systemSettings/registry/utils/validators.d.ts +8 -0
- package/lib/components/systemSettings/registry/utils/validators.js +54 -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.d.ts +0 -25
- 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/hooks/usePaymentLogger.d.ts +22 -0
- package/lib/hooks/usePaymentLogger.js +69 -0
- package/lib/index.d.ts +8 -0
- package/lib/index.js +41 -0
- package/lib/plus/clientName/index.d.ts +1 -0
- 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 +84 -69
- package/lib/plus/productSelect/ProductCard/index.d.ts +3 -1
- package/lib/plus/productSelect/ProductCard/index.js +18 -4
- 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/productSelect/utils.js +0 -1
- 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 +48 -0
- package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +8 -0
- package/lib/plus/walletPassGallery/components/passDetail/index.js +290 -0
- package/lib/plus/walletPassGallery/components/passDetail/index.less +61 -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 +152 -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 +500 -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 +1009 -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 +20 -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/settings-registry/meta.ts +29 -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 +7 -5
- package/lowcode/wallet/meta.ts +0 -79
|
@@ -11,10 +11,13 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
|
11
11
|
import React, { useState, useImperativeHandle, forwardRef, useContext } from 'react';
|
|
12
12
|
import { PisellModal } from '@pisell/materials';
|
|
13
13
|
import ThreedsLoading from "../MWCreditCard/TDSPay/ThreedsLoading";
|
|
14
|
+
import PaymentReturnContent from "../components/PaymentReturnContent";
|
|
14
15
|
import { Context } from "../../model";
|
|
15
16
|
import { locales } from '@pisell/utils';
|
|
16
17
|
import { getPayGroupParamsFromStorage } from "../../payGroup";
|
|
17
18
|
import useEngineContext from "../../../../../hooks/useEngineContext";
|
|
19
|
+
import usePaymentLogger from "../../../../../hooks/usePaymentLogger";
|
|
20
|
+
import { usePaymentRedirect } from "../hooks";
|
|
18
21
|
import "./index.less";
|
|
19
22
|
import { formatFranchiseeRoute } from "../../utils";
|
|
20
23
|
/**
|
|
@@ -27,7 +30,7 @@ import { formatFranchiseeRoute } from "../../utils";
|
|
|
27
30
|
* @Date: 2024-08-16 10:58
|
|
28
31
|
*/
|
|
29
32
|
var ApplePay = function ApplePay(props, ref) {
|
|
30
|
-
var _context$appHelper;
|
|
33
|
+
var _context$appHelper, _state$payGroup, _state$payGroup2, _state$payGroup4;
|
|
31
34
|
var _useContext = useContext(Context),
|
|
32
35
|
state = _useContext.state;
|
|
33
36
|
var _useState = useState(false),
|
|
@@ -38,6 +41,21 @@ var ApplePay = function ApplePay(props, ref) {
|
|
|
38
41
|
var _ref = ((_context$appHelper = context.appHelper) === null || _context$appHelper === void 0 ? void 0 : _context$appHelper.constants) || {},
|
|
39
42
|
config = _ref.config;
|
|
40
43
|
|
|
44
|
+
// ApplePay支付日志记录器
|
|
45
|
+
var paymentLogger = usePaymentLogger({
|
|
46
|
+
orderId: ((_state$payGroup = state.payGroup) === null || _state$payGroup === void 0 ? void 0 : _state$payGroup.order_id) || 'unknown',
|
|
47
|
+
step: '2'
|
|
48
|
+
});
|
|
49
|
+
|
|
50
|
+
// 使用支付跳转 hooks
|
|
51
|
+
var _usePaymentRedirect = usePaymentRedirect({
|
|
52
|
+
orderId: (_state$payGroup2 = state.payGroup) === null || _state$payGroup2 === void 0 ? void 0 : _state$payGroup2.order_id,
|
|
53
|
+
paymentType: 'applePay'
|
|
54
|
+
}),
|
|
55
|
+
isReturned = _usePaymentRedirect.isReturned,
|
|
56
|
+
handleRedirect = _usePaymentRedirect.handleRedirect,
|
|
57
|
+
resetState = _usePaymentRedirect.resetState;
|
|
58
|
+
|
|
41
59
|
/**
|
|
42
60
|
* @title: 初始化
|
|
43
61
|
* @description:
|
|
@@ -49,43 +67,89 @@ var ApplePay = function ApplePay(props, ref) {
|
|
|
49
67
|
var init = /*#__PURE__*/function () {
|
|
50
68
|
var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(_ref2) {
|
|
51
69
|
var _utils$getStore;
|
|
52
|
-
var payGroup, utils, dvaStore, values, _dvaStore$core, _dvaStore$core2, _state$
|
|
70
|
+
var payGroup, utils, dvaStore, values, _dvaStore$core, _dvaStore$core2, _state$payGroup3, locale, shopId, currentURL, linkElement, shop_domain, _href;
|
|
53
71
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
54
72
|
while (1) switch (_context.prev = _context.next) {
|
|
55
73
|
case 0:
|
|
56
74
|
payGroup = _ref2.payGroup;
|
|
75
|
+
// 记录ApplePay初始化开始
|
|
76
|
+
paymentLogger.addLog({
|
|
77
|
+
key: 'ApplePay初始化开始',
|
|
78
|
+
value: ""
|
|
79
|
+
});
|
|
80
|
+
|
|
57
81
|
// 打开loading
|
|
58
82
|
setOpen(true);
|
|
59
83
|
utils = context.appHelper.utils || {};
|
|
60
84
|
dvaStore = utils === null || utils === void 0 || (_utils$getStore = utils.getStore) === null || _utils$getStore === void 0 || (_utils$getStore = _utils$getStore.call(utils)) === null || _utils$getStore === void 0 ? void 0 : _utils$getStore.getState(); // 获取交易组
|
|
61
85
|
values = getPayGroupParamsFromStorage(payGroup.order_id);
|
|
62
86
|
if (values) {
|
|
63
|
-
_context.next =
|
|
87
|
+
_context.next = 11;
|
|
64
88
|
break;
|
|
65
89
|
}
|
|
90
|
+
// 记录获取支付参数失败
|
|
91
|
+
paymentLogger.addLog({
|
|
92
|
+
key: 'ApplePay获取支付参数失败',
|
|
93
|
+
value: {
|
|
94
|
+
title: "\u8BA2\u5355".concat(payGroup === null || payGroup === void 0 ? void 0 : payGroup.order_id, " \u672A\u627E\u5230\u5B58\u50A8\u7684\u652F\u4ED8\u53C2\u6570"),
|
|
95
|
+
data: {
|
|
96
|
+
payGroup: payGroup
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
paymentLogger.sendLogs('ApplePay获取支付参数失败');
|
|
66
101
|
setOpen(false);
|
|
67
102
|
return _context.abrupt("return");
|
|
68
|
-
case
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
103
|
+
case 11:
|
|
104
|
+
// 记录获取支付参数成功
|
|
105
|
+
paymentLogger.addLog({
|
|
106
|
+
key: 'ApplePay获取支付参数成功',
|
|
107
|
+
value: ""
|
|
108
|
+
});
|
|
109
|
+
_context.prev = 12;
|
|
110
|
+
// 语言
|
|
111
|
+
locale = ((_dvaStore$core = dvaStore.core) === null || _dvaStore$core === void 0 ? void 0 : _dvaStore$core.translateLocale) || 'en'; // 店铺id
|
|
112
|
+
shopId = (_dvaStore$core2 = dvaStore.core) === null || _dvaStore$core2 === void 0 || (_dvaStore$core2 = _dvaStore$core2.core) === null || _dvaStore$core2 === void 0 || (_dvaStore$core2 = _dvaStore$core2.shop) === null || _dvaStore$core2 === void 0 ? void 0 : _dvaStore$core2.id; // 当前url
|
|
113
|
+
currentURL = window.location.href; // 创建一个a元素,用于解析URL
|
|
114
|
+
linkElement = document.createElement('a');
|
|
115
|
+
linkElement.href = currentURL;
|
|
76
116
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
}
|
|
84
|
-
|
|
117
|
+
// 提取域名
|
|
118
|
+
shop_domain = linkElement.hostname;
|
|
119
|
+
_href = "".concat(config.pay).concat(formatFranchiseeRoute("/apple-pay?order_id=".concat((_state$payGroup3 = state.payGroup) === null || _state$payGroup3 === void 0 ? void 0 : _state$payGroup3.order_id, "&shop_id=").concat(shopId, "&locale=").concat(locale, "&shop_domain=").concat(shop_domain, "&total_amount=").concat(values.amount, "&payment_group_id=").concat(values.payment_group_id, "&front_order_uuid=").concat(state.front_order_uuid, "&is_replace_router=1"), state.history)); // 记录即将跳转到ApplePay
|
|
120
|
+
paymentLogger.addLog({
|
|
121
|
+
key: 'ApplePay准备跳转',
|
|
122
|
+
value: ""
|
|
123
|
+
});
|
|
124
|
+
paymentLogger.sendLogs('ApplePay跳转成功');
|
|
125
|
+
|
|
126
|
+
// 使用 hooks 提供的跳转方法
|
|
127
|
+
_context.next = 24;
|
|
128
|
+
return handleRedirect(_href);
|
|
129
|
+
case 24:
|
|
130
|
+
_context.next = 31;
|
|
131
|
+
break;
|
|
132
|
+
case 26:
|
|
133
|
+
_context.prev = 26;
|
|
134
|
+
_context.t0 = _context["catch"](12);
|
|
135
|
+
// 记录ApplePay处理错误
|
|
136
|
+
paymentLogger.addLog({
|
|
137
|
+
key: 'ApplePay处理错误',
|
|
138
|
+
value: {
|
|
139
|
+
title: "\u8BA2\u5355".concat(payGroup === null || payGroup === void 0 ? void 0 : payGroup.order_id, " ApplePay\u5904\u7406\u5931\u8D25: ").concat((_context.t0 === null || _context.t0 === void 0 ? void 0 : _context.t0.message) || '未知错误'),
|
|
140
|
+
data: {
|
|
141
|
+
payGroup: payGroup,
|
|
142
|
+
values: values
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
});
|
|
146
|
+
paymentLogger.sendLogs('ApplePay处理失败', _context.t0);
|
|
147
|
+
setOpen(false);
|
|
148
|
+
case 31:
|
|
85
149
|
case "end":
|
|
86
150
|
return _context.stop();
|
|
87
151
|
}
|
|
88
|
-
}, _callee);
|
|
152
|
+
}, _callee, null, [[12, 26]]);
|
|
89
153
|
}));
|
|
90
154
|
return function init(_x) {
|
|
91
155
|
return _ref3.apply(this, arguments);
|
|
@@ -96,6 +160,10 @@ var ApplePay = function ApplePay(props, ref) {
|
|
|
96
160
|
init: init
|
|
97
161
|
};
|
|
98
162
|
});
|
|
163
|
+
var handleReturn = function handleReturn() {
|
|
164
|
+
setOpen(false);
|
|
165
|
+
resetState();
|
|
166
|
+
};
|
|
99
167
|
return /*#__PURE__*/React.createElement(PisellModal, {
|
|
100
168
|
platform: 'h5',
|
|
101
169
|
open: open,
|
|
@@ -107,8 +175,19 @@ var ApplePay = function ApplePay(props, ref) {
|
|
|
107
175
|
}
|
|
108
176
|
}, /*#__PURE__*/React.createElement("div", {
|
|
109
177
|
className: ""
|
|
110
|
-
},
|
|
178
|
+
}, !isReturned &&
|
|
179
|
+
/*#__PURE__*/
|
|
180
|
+
// 跳转前展示 Loading
|
|
181
|
+
React.createElement(ThreedsLoading, {
|
|
111
182
|
title: locales.getText('tocPay.text.connectingApplePay')
|
|
183
|
+
}), isReturned &&
|
|
184
|
+
/*#__PURE__*/
|
|
185
|
+
// 跳转后返回时展示新组件内容
|
|
186
|
+
React.createElement(PaymentReturnContent, {
|
|
187
|
+
handleReturn: handleReturn,
|
|
188
|
+
state: state,
|
|
189
|
+
orderId: (_state$payGroup4 = state.payGroup) === null || _state$payGroup4 === void 0 ? void 0 : _state$payGroup4.order_id,
|
|
190
|
+
unique_payment_number: state === null || state === void 0 ? void 0 : state.front_order_uuid
|
|
112
191
|
})));
|
|
113
192
|
};
|
|
114
193
|
export default /*#__PURE__*/forwardRef(ApplePay);
|
|
@@ -5,6 +5,7 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
|
|
|
5
5
|
import { useImperativeHandle, forwardRef, useContext } from 'react';
|
|
6
6
|
import { Context } from "../../model";
|
|
7
7
|
import useEngineContext from "../../../../../hooks/useEngineContext";
|
|
8
|
+
import usePaymentLogger from "../../../../../hooks/usePaymentLogger";
|
|
8
9
|
import { formatFranchiseeRoute } from "../../utils";
|
|
9
10
|
import "./index.less";
|
|
10
11
|
/**
|
|
@@ -17,10 +18,17 @@ import "./index.less";
|
|
|
17
18
|
* @Date: 2024-08-16 10:59
|
|
18
19
|
*/
|
|
19
20
|
var BankDeposit = function BankDeposit(props, ref) {
|
|
21
|
+
var _state$payGroup;
|
|
20
22
|
var _useContext = useContext(Context),
|
|
21
23
|
state = _useContext.state;
|
|
22
24
|
var context = useEngineContext();
|
|
23
25
|
|
|
26
|
+
// BankDeposit支付日志记录器
|
|
27
|
+
var paymentLogger = usePaymentLogger({
|
|
28
|
+
orderId: ((_state$payGroup = state.payGroup) === null || _state$payGroup === void 0 ? void 0 : _state$payGroup.order_id) || 'unknown',
|
|
29
|
+
step: '2'
|
|
30
|
+
});
|
|
31
|
+
|
|
24
32
|
/**
|
|
25
33
|
* @title: 初始化
|
|
26
34
|
* @description:
|
|
@@ -31,19 +39,35 @@ var BankDeposit = function BankDeposit(props, ref) {
|
|
|
31
39
|
*/
|
|
32
40
|
var init = /*#__PURE__*/function () {
|
|
33
41
|
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(_ref) {
|
|
34
|
-
var _context$appHelper;
|
|
35
|
-
var payGroup, platform, _item, _href;
|
|
42
|
+
var payGroup, _context$appHelper, platform, _item, _href;
|
|
36
43
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
37
44
|
while (1) switch (_context.prev = _context.next) {
|
|
38
45
|
case 0:
|
|
39
46
|
payGroup = _ref.payGroup;
|
|
47
|
+
// 记录BankDeposit初始化开始
|
|
48
|
+
paymentLogger.addLog({
|
|
49
|
+
key: 'BankDeposit初始化开始',
|
|
50
|
+
value: ""
|
|
51
|
+
});
|
|
52
|
+
_context.prev = 2;
|
|
40
53
|
// 当前设备类型
|
|
41
54
|
platform = ((_context$appHelper = context.appHelper) === null || _context$appHelper === void 0 || (_context$appHelper = _context$appHelper.constants) === null || _context$appHelper === void 0 ? void 0 : _context$appHelper.platform) || 'h5';
|
|
42
|
-
_item = payGroup === null || payGroup === void 0 ? void 0 : payGroup.otherPayment; //
|
|
55
|
+
_item = payGroup === null || payGroup === void 0 ? void 0 : payGroup.otherPayment; // 记录平台检测结果
|
|
56
|
+
paymentLogger.addLog({
|
|
57
|
+
key: 'BankDeposit平台检测',
|
|
58
|
+
value: ""
|
|
59
|
+
});
|
|
60
|
+
|
|
61
|
+
// pc的话打开stripe弹窗
|
|
43
62
|
if (!(platform === 'pc')) {
|
|
44
|
-
_context.next =
|
|
63
|
+
_context.next = 11;
|
|
45
64
|
break;
|
|
46
65
|
}
|
|
66
|
+
// 记录PC平台处理
|
|
67
|
+
paymentLogger.addLog({
|
|
68
|
+
key: 'BankDepositPC处理',
|
|
69
|
+
value: ""
|
|
70
|
+
});
|
|
47
71
|
state.payCallback({
|
|
48
72
|
key: _item.service,
|
|
49
73
|
data: {
|
|
@@ -51,15 +75,41 @@ var BankDeposit = function BankDeposit(props, ref) {
|
|
|
51
75
|
payment_method: _item.title
|
|
52
76
|
}
|
|
53
77
|
});
|
|
78
|
+
paymentLogger.sendLogs('BankDepositPC处理成功');
|
|
54
79
|
return _context.abrupt("return");
|
|
55
|
-
case
|
|
56
|
-
_href = "".concat(formatFranchiseeRoute("/pay/manual-transfer?id=".concat((payGroup === null || payGroup === void 0 ? void 0 : payGroup.order_id) || (payGroup === null || payGroup === void 0 ? void 0 : payGroup.order_id)), state.history)); //
|
|
80
|
+
case 11:
|
|
81
|
+
_href = "".concat(formatFranchiseeRoute("/pay/manual-transfer?id=".concat((payGroup === null || payGroup === void 0 ? void 0 : payGroup.order_id) || (payGroup === null || payGroup === void 0 ? void 0 : payGroup.order_id)), state.history)); // 记录H5跳转准备
|
|
82
|
+
paymentLogger.addLog({
|
|
83
|
+
key: 'BankDepositH5准备跳转',
|
|
84
|
+
value: ""
|
|
85
|
+
});
|
|
86
|
+
|
|
87
|
+
// 在跳转前发送日志
|
|
88
|
+
paymentLogger.sendLogs('BankDepositH5跳转成功');
|
|
89
|
+
|
|
90
|
+
// h5打开银行转账页面
|
|
57
91
|
state.history.push(_href);
|
|
58
|
-
|
|
92
|
+
_context.next = 21;
|
|
93
|
+
break;
|
|
94
|
+
case 17:
|
|
95
|
+
_context.prev = 17;
|
|
96
|
+
_context.t0 = _context["catch"](2);
|
|
97
|
+
// 记录BankDeposit处理错误
|
|
98
|
+
paymentLogger.addLog({
|
|
99
|
+
key: 'BankDeposit处理错误',
|
|
100
|
+
value: {
|
|
101
|
+
title: "\u8BA2\u5355".concat(payGroup === null || payGroup === void 0 ? void 0 : payGroup.order_id, " BankDeposit\u5904\u7406\u5931\u8D25: ").concat((_context.t0 === null || _context.t0 === void 0 ? void 0 : _context.t0.message) || '未知错误'),
|
|
102
|
+
data: {
|
|
103
|
+
payGroup: payGroup
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
});
|
|
107
|
+
paymentLogger.sendLogs('BankDeposit处理失败', _context.t0);
|
|
108
|
+
case 21:
|
|
59
109
|
case "end":
|
|
60
110
|
return _context.stop();
|
|
61
111
|
}
|
|
62
|
-
}, _callee);
|
|
112
|
+
}, _callee, null, [[2, 17]]);
|
|
63
113
|
}));
|
|
64
114
|
return function init(_x) {
|
|
65
115
|
return _ref2.apply(this, arguments);
|
|
@@ -11,6 +11,7 @@ import { useImperativeHandle, forwardRef, useContext } from 'react';
|
|
|
11
11
|
import { customPaymentApi } from "./serve";
|
|
12
12
|
import { Context } from "../../model";
|
|
13
13
|
import { getPayGroupParamsFromStorage } from "../../payGroup";
|
|
14
|
+
import usePaymentLogger from "../../../../../hooks/usePaymentLogger";
|
|
14
15
|
import "./index.less";
|
|
15
16
|
/**
|
|
16
17
|
* @title: cash 支付
|
|
@@ -22,9 +23,16 @@ import "./index.less";
|
|
|
22
23
|
* @Date: 2024-08-16 11:00
|
|
23
24
|
*/
|
|
24
25
|
var CashManual = function CashManual(props, ref) {
|
|
26
|
+
var _state$payGroup;
|
|
25
27
|
var _useContext = useContext(Context),
|
|
26
28
|
state = _useContext.state;
|
|
27
29
|
|
|
30
|
+
// CashManual支付日志记录器
|
|
31
|
+
var paymentLogger = usePaymentLogger({
|
|
32
|
+
orderId: ((_state$payGroup = state.payGroup) === null || _state$payGroup === void 0 ? void 0 : _state$payGroup.order_id) || 'unknown',
|
|
33
|
+
step: '2'
|
|
34
|
+
});
|
|
35
|
+
|
|
28
36
|
/**
|
|
29
37
|
* @title: 初始化
|
|
30
38
|
* @description:
|
|
@@ -35,35 +43,89 @@ var CashManual = function CashManual(props, ref) {
|
|
|
35
43
|
*/
|
|
36
44
|
var init = /*#__PURE__*/function () {
|
|
37
45
|
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(_ref) {
|
|
38
|
-
var _state$
|
|
46
|
+
var _state$payGroup2, _state$payGroup3;
|
|
39
47
|
var payGroup, current, orderId, values;
|
|
40
48
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
41
49
|
while (1) switch (_context.prev = _context.next) {
|
|
42
50
|
case 0:
|
|
43
51
|
payGroup = _ref.payGroup;
|
|
44
|
-
|
|
45
|
-
|
|
52
|
+
// 记录CashManual初始化开始
|
|
53
|
+
paymentLogger.addLog({
|
|
54
|
+
key: 'CashManual初始化开始',
|
|
55
|
+
value: ""
|
|
56
|
+
});
|
|
57
|
+
current = ((_state$payGroup2 = state.payGroup) === null || _state$payGroup2 === void 0 ? void 0 : _state$payGroup2.otherPayment) || {};
|
|
58
|
+
orderId = (payGroup === null || payGroup === void 0 ? void 0 : payGroup.order_id) || ((_state$payGroup3 = state.payGroup) === null || _state$payGroup3 === void 0 ? void 0 : _state$payGroup3.order_id); // 交易组信息
|
|
46
59
|
values = getPayGroupParamsFromStorage(orderId);
|
|
47
|
-
|
|
48
|
-
|
|
60
|
+
if (values) {
|
|
61
|
+
_context.next = 9;
|
|
62
|
+
break;
|
|
63
|
+
}
|
|
64
|
+
// 记录获取支付参数失败
|
|
65
|
+
paymentLogger.addLog({
|
|
66
|
+
key: 'CashManual获取支付参数失败',
|
|
67
|
+
value: {
|
|
68
|
+
title: "\u8BA2\u5355".concat(orderId, " \u672A\u627E\u5230\u5B58\u50A8\u7684\u652F\u4ED8\u53C2\u6570"),
|
|
69
|
+
data: {
|
|
70
|
+
payGroup: payGroup
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
paymentLogger.sendLogs('CashManual获取支付参数失败');
|
|
75
|
+
return _context.abrupt("return");
|
|
76
|
+
case 9:
|
|
77
|
+
// 记录获取支付参数成功
|
|
78
|
+
paymentLogger.addLog({
|
|
79
|
+
key: 'CashManual获取支付参数成功',
|
|
80
|
+
value: ""
|
|
81
|
+
});
|
|
82
|
+
_context.prev = 10;
|
|
83
|
+
// 记录开始调用支付API
|
|
84
|
+
paymentLogger.addLog({
|
|
85
|
+
key: 'CashManual开始支付API调用',
|
|
86
|
+
value: ""
|
|
87
|
+
});
|
|
88
|
+
|
|
89
|
+
// 支付
|
|
90
|
+
_context.next = 14;
|
|
49
91
|
return customPaymentApi(orderId, _objectSpread({
|
|
50
92
|
params: current.params
|
|
51
93
|
}, values));
|
|
52
|
-
case
|
|
94
|
+
case 14:
|
|
95
|
+
// 记录支付API调用成功
|
|
96
|
+
paymentLogger.addLog({
|
|
97
|
+
key: 'CashManual支付API调用成功',
|
|
98
|
+
value: ""
|
|
99
|
+
});
|
|
100
|
+
paymentLogger.sendLogs('CashManual支付成功');
|
|
101
|
+
|
|
53
102
|
// 回调
|
|
54
103
|
state.payCallback({
|
|
55
104
|
key: 'success'
|
|
56
105
|
});
|
|
57
|
-
_context.next =
|
|
106
|
+
_context.next = 23;
|
|
58
107
|
break;
|
|
59
|
-
case
|
|
60
|
-
_context.prev =
|
|
61
|
-
_context.t0 = _context["catch"](
|
|
62
|
-
|
|
108
|
+
case 19:
|
|
109
|
+
_context.prev = 19;
|
|
110
|
+
_context.t0 = _context["catch"](10);
|
|
111
|
+
// 记录CashManual支付错误
|
|
112
|
+
paymentLogger.addLog({
|
|
113
|
+
key: 'CashManual支付错误',
|
|
114
|
+
value: {
|
|
115
|
+
title: "\u8BA2\u5355".concat(orderId, " CashManual\u652F\u4ED8\u5931\u8D25: ").concat((_context.t0 === null || _context.t0 === void 0 ? void 0 : _context.t0.message) || '未知错误'),
|
|
116
|
+
data: {
|
|
117
|
+
payGroup: payGroup,
|
|
118
|
+
current: current,
|
|
119
|
+
values: values
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
});
|
|
123
|
+
paymentLogger.sendLogs('CashManual支付失败', _context.t0);
|
|
124
|
+
case 23:
|
|
63
125
|
case "end":
|
|
64
126
|
return _context.stop();
|
|
65
127
|
}
|
|
66
|
-
}, _callee, null, [[
|
|
128
|
+
}, _callee, null, [[10, 19]]);
|
|
67
129
|
}));
|
|
68
130
|
return function init(_x) {
|
|
69
131
|
return _ref2.apply(this, arguments);
|
|
@@ -11,6 +11,7 @@ import { useImperativeHandle, forwardRef, useContext } from 'react';
|
|
|
11
11
|
import { customPaymentApi } from "./serve";
|
|
12
12
|
import { Context } from "../../model";
|
|
13
13
|
import { getPayGroupParamsFromStorage } from "../../payGroup";
|
|
14
|
+
import usePaymentLogger from "../../../../../hooks/usePaymentLogger";
|
|
14
15
|
import "./index.less";
|
|
15
16
|
/**
|
|
16
17
|
* @title: 自定义支付
|
|
@@ -22,9 +23,16 @@ import "./index.less";
|
|
|
22
23
|
* @Date: 2024-08-16 11:01
|
|
23
24
|
*/
|
|
24
25
|
var CustomPayment = function CustomPayment(props, ref) {
|
|
26
|
+
var _state$payGroup;
|
|
25
27
|
var _useContext = useContext(Context),
|
|
26
28
|
state = _useContext.state;
|
|
27
29
|
|
|
30
|
+
// CustomPayment支付日志记录器
|
|
31
|
+
var paymentLogger = usePaymentLogger({
|
|
32
|
+
orderId: ((_state$payGroup = state.payGroup) === null || _state$payGroup === void 0 ? void 0 : _state$payGroup.order_id) || 'unknown',
|
|
33
|
+
step: '2'
|
|
34
|
+
});
|
|
35
|
+
|
|
28
36
|
/**
|
|
29
37
|
* @title: 初始化
|
|
30
38
|
* @description:
|
|
@@ -35,34 +43,87 @@ var CustomPayment = function CustomPayment(props, ref) {
|
|
|
35
43
|
*/
|
|
36
44
|
var init = /*#__PURE__*/function () {
|
|
37
45
|
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(_ref) {
|
|
38
|
-
var _state$
|
|
46
|
+
var _state$payGroup2, _state$payGroup3;
|
|
39
47
|
var payGroup, current, orderId, values;
|
|
40
48
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
41
49
|
while (1) switch (_context.prev = _context.next) {
|
|
42
50
|
case 0:
|
|
43
51
|
payGroup = _ref.payGroup;
|
|
44
|
-
|
|
45
|
-
|
|
52
|
+
// 记录CustomPayment初始化开始
|
|
53
|
+
paymentLogger.addLog({
|
|
54
|
+
key: 'CustomPayment初始化开始',
|
|
55
|
+
value: ""
|
|
56
|
+
});
|
|
57
|
+
current = ((_state$payGroup2 = state.payGroup) === null || _state$payGroup2 === void 0 ? void 0 : _state$payGroup2.otherPayment) || {};
|
|
58
|
+
orderId = (payGroup === null || payGroup === void 0 ? void 0 : payGroup.order_id) || ((_state$payGroup3 = state.payGroup) === null || _state$payGroup3 === void 0 ? void 0 : _state$payGroup3.order_id); // 获取交易组
|
|
46
59
|
values = getPayGroupParamsFromStorage(orderId);
|
|
47
|
-
|
|
48
|
-
|
|
60
|
+
if (values) {
|
|
61
|
+
_context.next = 9;
|
|
62
|
+
break;
|
|
63
|
+
}
|
|
64
|
+
// 记录获取支付参数失败
|
|
65
|
+
paymentLogger.addLog({
|
|
66
|
+
key: 'CustomPayment获取支付参数失败',
|
|
67
|
+
value: {
|
|
68
|
+
title: "\u8BA2\u5355".concat(orderId, " \u672A\u627E\u5230\u5B58\u50A8\u7684\u652F\u4ED8\u53C2\u6570"),
|
|
69
|
+
data: {
|
|
70
|
+
payGroup: payGroup
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
paymentLogger.sendLogs('CustomPayment获取支付参数失败');
|
|
75
|
+
return _context.abrupt("return");
|
|
76
|
+
case 9:
|
|
77
|
+
// 记录获取支付参数成功
|
|
78
|
+
paymentLogger.addLog({
|
|
79
|
+
key: 'CustomPayment获取支付参数成功',
|
|
80
|
+
value: ""
|
|
81
|
+
});
|
|
82
|
+
_context.prev = 10;
|
|
83
|
+
// 记录开始调用支付API
|
|
84
|
+
paymentLogger.addLog({
|
|
85
|
+
key: 'CustomPayment开始支付API调用',
|
|
86
|
+
value: ""
|
|
87
|
+
});
|
|
88
|
+
_context.next = 14;
|
|
49
89
|
return customPaymentApi(orderId, _objectSpread({
|
|
50
90
|
params: current.params
|
|
51
91
|
}, values));
|
|
52
|
-
case
|
|
92
|
+
case 14:
|
|
93
|
+
// 记录支付API调用成功
|
|
94
|
+
paymentLogger.addLog({
|
|
95
|
+
key: 'CustomPayment支付API调用成功',
|
|
96
|
+
value: ""
|
|
97
|
+
});
|
|
98
|
+
paymentLogger.sendLogs('CustomPayment支付成功');
|
|
99
|
+
|
|
100
|
+
// 回调
|
|
53
101
|
state.payCallback({
|
|
54
102
|
key: 'success'
|
|
55
103
|
});
|
|
56
|
-
_context.next =
|
|
104
|
+
_context.next = 23;
|
|
57
105
|
break;
|
|
58
|
-
case
|
|
59
|
-
_context.prev =
|
|
60
|
-
_context.t0 = _context["catch"](
|
|
61
|
-
|
|
106
|
+
case 19:
|
|
107
|
+
_context.prev = 19;
|
|
108
|
+
_context.t0 = _context["catch"](10);
|
|
109
|
+
// 记录CustomPayment支付错误
|
|
110
|
+
paymentLogger.addLog({
|
|
111
|
+
key: 'CustomPayment支付错误',
|
|
112
|
+
value: {
|
|
113
|
+
title: "\u8BA2\u5355".concat(orderId, " CustomPayment\u652F\u4ED8\u5931\u8D25: ").concat((_context.t0 === null || _context.t0 === void 0 ? void 0 : _context.t0.message) || '未知错误'),
|
|
114
|
+
data: {
|
|
115
|
+
payGroup: payGroup,
|
|
116
|
+
current: current,
|
|
117
|
+
values: values
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
});
|
|
121
|
+
paymentLogger.sendLogs('CustomPayment支付失败', _context.t0);
|
|
122
|
+
case 23:
|
|
62
123
|
case "end":
|
|
63
124
|
return _context.stop();
|
|
64
125
|
}
|
|
65
|
-
}, _callee, null, [[
|
|
126
|
+
}, _callee, null, [[10, 19]]);
|
|
66
127
|
}));
|
|
67
128
|
return function init(_x) {
|
|
68
129
|
return _ref2.apply(this, arguments);
|