@pisell/private-materials 6.3.113 → 6.3.114
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 +152 -152
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +10 -18
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +10 -18
- package/es/components/appointmentBooking/components/Date/state.js +1 -3
- package/es/components/appointmentBooking/locales.d.ts +0 -240
- package/es/components/appointmentBooking/locales.js +0 -276
- package/es/components/authentication/admin/AuthMethods/locales.d.ts +0 -164
- package/es/components/authentication/admin/AuthMethods/locales.js +0 -164
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.js +9 -27
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +0 -54
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.js +0 -54
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +0 -2
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.js +0 -2
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +0 -46
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.js +0 -46
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +0 -2
- package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.js +9 -17
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +0 -16
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.js +0 -16
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.js +2 -10
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +0 -42
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.js +0 -42
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +0 -2
- package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.js +9 -17
- package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +0 -24
- package/es/components/authentication/admin/ChannelAuthSetting/locales.js +0 -24
- package/es/components/authentication/admin/CustomerAuth/locales.d.ts +0 -42
- package/es/components/authentication/admin/CustomerAuth/locales.js +0 -42
- package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +0 -70
- package/es/components/authentication/admin/CustomerOAuthConfig/locales.js +0 -70
- package/es/components/authentication/admin/DeviceAuth/locales.d.ts +0 -36
- package/es/components/authentication/admin/DeviceAuth/locales.js +0 -36
- package/es/components/authentication/admin/OAuthConfig/locales.d.ts +0 -58
- package/es/components/authentication/admin/OAuthConfig/locales.js +0 -58
- package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +0 -34
- package/es/components/authentication/admin/OrgAdminAuth/locales.js +0 -34
- package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +0 -30
- package/es/components/authentication/admin/POSOperatorAuth/locales.js +0 -30
- package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +0 -34
- package/es/components/authentication/admin/SaaSAdminAuth/locales.js +0 -34
- package/es/components/booking/components/footer/index.js +20 -26
- package/es/components/booking/components/footer/utils.js +4 -4
- package/es/components/booking/editBookingModal/locales.d.ts +0 -12
- package/es/components/booking/editBookingModal/locales.js +0 -12
- package/es/components/booking/editBookingModal/mock.d.ts +2 -186
- package/es/components/booking/editBookingModal/mock.js +0 -22
- package/es/components/booking/hooks/useClearCart.d.ts +1 -1
- package/es/components/booking/hooks/useClearCart.js +9 -39
- package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/es/components/booking/info/header/index.js +7 -7
- package/es/components/booking/info/header/index.less +5 -5
- package/es/components/booking/info/service/index.less +2 -4
- package/es/components/booking/info2/service/addService/mock.d.ts +0 -2
- package/es/components/booking/info2/service/addService/mock.js +0 -4
- package/es/components/booking/info2/service/editService/index.js +6 -36
- package/es/components/booking/info2/service/editService/utils.d.ts +0 -15
- package/es/components/booking/info2/service/editService/utils.js +0 -76
- package/es/components/booking/locales.d.ts +0 -648
- package/es/components/booking/locales.js +0 -742
- package/es/components/booking/notes/NoteBlock/index.js +2 -3
- package/es/components/eftpos/PairModal/hooks.d.ts +27 -0
- package/es/components/eftpos/PairModal/hooks.js +67 -0
- package/es/components/eftpos/PairModal/index.d.ts +11 -0
- package/es/components/{ecocup/components/AddCustomerModal → eftpos/PairModal}/index.js +189 -159
- package/es/components/eftpos/PairModal/index.less +70 -0
- package/es/components/eftpos/SettlementModal/Action.d.ts +8 -0
- package/es/components/eftpos/SettlementModal/Action.js +141 -0
- package/es/components/eftpos/SettlementModal/index.d.ts +8 -0
- package/es/components/eftpos/SettlementModal/index.js +135 -0
- package/es/components/eftpos/SettlementModal/index.less +33 -0
- package/es/components/eftpos/SettlementModal/serve.d.ts +8 -0
- package/es/components/eftpos/SettlementModal/serve.js +171 -0
- package/es/components/eftpos/SettlementModal/types.d.ts +138 -0
- package/es/components/eftpos/SettlementModal/types.js +35 -0
- package/es/components/eftpos/SettlementModal/utils.d.ts +18 -0
- package/es/components/eftpos/SettlementModal/utils.js +351 -0
- package/es/components/eftpos/assets/mx51SCI.svg +15 -0
- package/es/components/eftpos/const.d.ts +3 -1
- package/es/components/eftpos/const.js +2 -0
- package/es/components/eftpos/device.d.ts +3 -1
- package/es/components/eftpos/device.js +5 -3
- package/es/components/eftpos/hooks.d.ts +13 -0
- package/es/components/eftpos/hooks.js +35 -0
- package/es/components/eftpos/index.js +184 -25
- package/es/components/eftpos/index.less +26 -1
- package/es/components/eftpos/locales.d.ts +39 -64
- package/es/components/eftpos/locales.js +104 -85
- package/es/components/eftpos/table.js +47 -3
- package/es/components/eftposPay/aggregatePayment/hooks/usePayment.d.ts +6 -0
- package/es/components/eftposPay/aggregatePayment/hooks/usePayment.js +125 -0
- package/es/components/eftposPay/aggregatePayment/index.d.ts +3 -0
- package/es/components/eftposPay/aggregatePayment/index.js +3 -0
- package/es/components/eftposPay/aggregatePayment/mock.d.ts +495 -0
- package/es/components/eftposPay/aggregatePayment/mock.js +567 -0
- package/es/components/eftposPay/aggregatePayment/service.d.ts +24 -0
- package/es/components/eftposPay/aggregatePayment/service.js +70 -0
- package/es/components/eftposPay/aggregatePayment/types.d.ts +101 -0
- package/es/components/eftposPay/aggregatePayment/types.js +61 -0
- package/es/components/eftposPay/aggregatePayment/utils/logs.d.ts +110 -0
- package/es/components/eftposPay/aggregatePayment/utils/logs.js +385 -0
- package/es/components/eftposPay/aggregatePayment/utils/payment.d.ts +132 -0
- package/es/components/eftposPay/aggregatePayment/utils/payment.js +1140 -0
- package/es/components/eftposPay/app.d.ts +1 -1
- package/es/components/eftposPay/component/fail/failCustom.js +12 -17
- package/es/components/eftposPay/component/fail/index.js +4 -5
- package/es/components/eftposPay/const.d.ts +7 -2
- package/es/components/eftposPay/const.js +2 -0
- package/es/components/eftposPay/device.js +36 -208
- package/es/components/eftposPay/hooks.d.ts +1 -1
- package/es/components/eftposPay/index.js +1 -5
- package/es/components/eftposPay/linkly/const.js +1 -1
- package/es/components/eftposPay/linkly/index.js +1 -0
- package/es/components/eftposPay/locales.d.ts +3 -242
- package/es/components/eftposPay/locales.js +5 -328
- package/es/components/eftposPay/manufacturer.d.ts +1 -0
- package/es/components/eftposPay/manufacturer.js +4 -0
- package/es/components/eftposPay/mx51/Action.d.ts +7 -0
- package/es/components/eftposPay/mx51/Action.js +139 -0
- package/es/components/eftposPay/mx51/Result.d.ts +5 -0
- package/es/components/eftposPay/mx51/Result.js +46 -0
- package/es/components/eftposPay/mx51/const.d.ts +5 -0
- package/es/components/eftposPay/mx51/const.js +69 -0
- package/es/components/eftposPay/mx51/index.d.ts +6 -0
- package/es/components/eftposPay/mx51/index.js +401 -0
- package/es/components/eftposPay/mx51/types.d.ts +138 -0
- package/es/components/eftposPay/mx51/types.js +30 -0
- package/es/components/eftposPay/mx51/utils.d.ts +10 -0
- package/es/components/eftposPay/mx51/utils.js +121 -0
- package/es/components/eftposPay/pay.js +7 -2
- package/es/components/eftposPay/payo/config.js +0 -1
- package/es/components/eftposPay/payo/const.js +1 -1
- package/es/components/eftposPay/store/index.d.ts +2 -5
- package/es/components/eftposPay/tyro/const.js +1 -1
- package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/es/components/eftposPay/windcave/const.js +1 -1
- package/es/components/eftposPay/windcave/windcave.js +9 -9
- package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
- package/es/components/eventBooking/components/Voucher/components/locales.d.ts +0 -22
- package/es/components/eventBooking/components/Voucher/components/locales.js +0 -22
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/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/eventBooking/locales.d.ts +0 -162
- package/es/components/eventBooking/locales.js +0 -186
- package/es/components/kioskSkuDetail/index.js +10 -39
- package/es/components/kioskSkuDetail/locales.d.ts +0 -21
- package/es/components/kioskSkuDetail/locales.js +3 -24
- package/es/components/login/locales.d.ts +0 -14
- package/es/components/login/locales.js +0 -14
- package/es/components/pay/toC/PaymentList/serve.js +2 -2
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.d.ts +0 -6
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.js +21 -65
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.less +9 -110
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/List/index.d.ts +0 -2
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/List/index.js +18 -46
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -20
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.js +1 -14
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.less +0 -20
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +1 -7
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.js +56 -167
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.less +0 -47
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +1 -9
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/index.js +33 -260
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +3 -23
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +126 -309
- package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.js +7 -18
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +0 -5
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.js +145 -167
- package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +0 -6
- package/es/components/pay/toC/PaymentMethods/WalletPass/utils.js +3 -3
- package/es/components/pay/toC/PaymentMethods/index.js +2 -12
- package/es/components/pay/toC/WalletPassBlock/index.js +1 -3
- package/es/components/pay/toC/index.js +48 -117
- package/es/components/pay/toC/locales.d.ts +0 -319
- package/es/components/pay/toC/locales.js +12 -381
- package/es/components/pay/toC/model.d.ts +0 -1
- package/es/components/pay/toC/serve.d.ts +0 -30
- package/es/components/pay/toC/serve.js +3 -69
- package/es/components/pay/toC/utils.d.ts +2 -7
- package/es/components/pay/toC/utils.js +0 -14
- package/es/components/pinModal/locales.d.ts +0 -16
- package/es/components/pinModal/locales.js +0 -16
- package/es/components/pinVerifyModal/locales.d.ts +0 -14
- package/es/components/pinVerifyModal/locales.js +0 -14
- package/es/components/pisellSelectCustomerModal/locales.d.ts +0 -52
- package/es/components/pisellSelectCustomerModal/locales.js +0 -52
- package/es/components/productExtension/locales.d.ts +0 -30
- package/es/components/productExtension/locales.js +0 -30
- package/es/components/productSelect/components/pisellPriceText/index.js +4 -8
- package/es/components/productSelect/locales.d.ts +0 -20
- package/es/components/productSelect/locales.js +3 -23
- package/es/components/ruleSetting/locales.d.ts +0 -30
- package/es/components/ruleSetting/locales.js +0 -30
- package/es/components/schedules/locales.d.ts +0 -56
- package/es/components/schedules/locales.js +0 -56
- package/es/components/shoppingCart/components/Cart/index.less +0 -1
- package/es/components/shoppingCart/hooks/useClearCart.d.ts +1 -1
- package/es/components/shoppingCart/hooks/useClearCart.js +11 -41
- package/es/components/shoppingCart/locales.d.ts +0 -20
- package/es/components/shoppingCart/locales.js +0 -24
- package/es/components/stepController/locales.d.ts +0 -16
- package/es/components/stepController/locales.js +0 -20
- package/es/components/subTotal/locales.d.ts +0 -26
- package/es/components/subTotal/locales.js +0 -26
- package/es/components/systemSettings/registry/components/ItemModal.js +47 -251
- package/es/components/systemSettings/registry/index.js +16 -20
- package/es/components/systemSettings/registry/index.less +7 -6
- package/es/components/systemSettings/registry/locales.d.ts +0 -262
- package/es/components/systemSettings/registry/locales.js +3 -274
- package/es/components/systemSettings/registry/services.d.ts +0 -20
- package/es/components/systemSettings/registry/types.d.ts +2 -16
- package/es/components/taxSelect/locales.d.ts +0 -14
- package/es/components/taxSelect/locales.js +0 -14
- package/es/components/ticketBooking/locales.d.ts +0 -130
- package/es/components/ticketBooking/locales.js +0 -156
- package/es/components/ticketBooking/utils/formatTime.d.ts +0 -2
- package/es/components/ticketBooking/utils/formatTime.js +2 -8
- package/es/components/wallet/utils.d.ts +1 -1
- package/es/components/walletList/index.js +0 -10
- package/es/components/walletList/locales.d.ts +0 -16
- package/es/components/walletList/locales.js +0 -16
- package/es/components/walletList/types/index.d.ts +0 -2
- package/es/hooks/useEngineContext.d.ts +0 -1
- package/es/hooks/useEngineContext.js +0 -7
- package/es/hooks/useLocale.js +1 -8
- package/es/index.d.ts +3 -16
- package/es/index.js +1 -13
- package/es/plus/contactInfo/components/SwipeAction/index.js +1 -1
- package/es/plus/contactInfo/locales.d.ts +0 -8
- package/es/plus/contactInfo/locales.js +0 -8
- package/es/plus/contactInfoModal/locales.d.ts +0 -42
- package/es/plus/contactInfoModal/locales.js +0 -42
- package/es/plus/productSelect/components/pisellPriceText/index.js +4 -8
- package/es/plus/productSelect/locales.d.ts +0 -20
- package/es/plus/productSelect/locales.js +3 -23
- package/es/plus/saasCreateOrganization/locales.d.ts +0 -8
- package/es/plus/saasCreateOrganization/locales.js +0 -8
- package/es/plus/saasLogin/locales.d.ts +0 -32
- package/es/plus/saasLogin/locales.js +0 -32
- package/es/plus/saasRegister/locales.d.ts +0 -76
- package/es/plus/saasRegister/locales.js +0 -76
- package/es/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
- package/es/plus/selectHolder/locales.d.ts +0 -14
- package/es/plus/selectHolder/locales.js +0 -18
- package/es/plus/skuOptionsSelection/components/NormalCard/index.js +5 -6
- package/es/plus/skuOptionsSelection/components/OptionsCard/index.js +2 -3
- package/es/plus/skuOptionsSelection/components/OptionsCard/index.less +0 -2
- package/es/plus/skuOptionsSelection/index.js +2 -2
- package/es/plus/skuOptionsSelection/locales.d.ts +0 -20
- package/es/plus/skuOptionsSelection/locales.js +0 -20
- package/es/plus/skuOptionsSelection/store/store.js +1 -2
- package/es/plus/skuOptionsSelection/types.d.ts +0 -14
- package/es/plus/skuOptionsSelection/types.js +0 -4
- package/es/plus/skuOptionsSelection/utils/transformBundleGroup.js +1 -10
- package/es/plus/skuOptionsSelection/utils/transformOptionGroup.js +1 -10
- package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.js +2 -9
- package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.js +4 -8
- package/es/plus/skuOptionsSelection/utils/transformVariantGroup.js +2 -8
- package/es/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +0 -2
- package/es/plus/walletEditor/components/sortableWalletPassTypes/index.js +4 -12
- package/es/plus/walletEditor/locales.d.ts +0 -88
- package/es/plus/walletEditor/locales.js +0 -100
- package/es/plus/walletEditor/types.d.ts +0 -2
- package/es/plus/walletPassGallery/components/passDetail/index.d.ts +0 -1
- package/es/plus/walletPassGallery/components/passDetail/index.js +39 -80
- package/es/plus/walletPassGallery/components/passList/index.js +4 -12
- package/es/plus/walletPassGallery/components/recharge/index.js +5 -13
- package/es/plus/walletPassGallery/components/recharge/index.less +1 -70
- package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -2
- package/es/plus/walletPassGallery/components/timelineSection/index.js +2 -19
- package/es/plus/walletPassGallery/index.d.ts +0 -4
- package/es/plus/walletPassGallery/index.js +46 -95
- package/es/plus/walletPassGallery/locales.d.ts +0 -198
- package/es/plus/walletPassGallery/locales.js +3 -216
- package/es/plus/walletPassGallery/serve.d.ts +1 -3
- package/es/plus/walletPassGallery/serve.js +13 -13
- package/es/plus/walletPassGallery/utils.d.ts +1 -1
- package/es/pro/Cards/components/SKUCard/index.d.ts +56 -1
- package/es/pro/Cards/components/SKUCard/index.js +20 -50
- package/es/pro/Cards/components/SKUCard/index.less +2 -23
- package/es/pro/Login2.0/Login2.js +8 -8
- package/es/pro/Login2.0/locales.d.ts +0 -365
- package/es/pro/Login2.0/locales.js +0 -365
- package/es/pro/Login2.0/shared/types.d.ts +0 -2
- package/es/pro/NumericStepper/index.d.ts +3 -33
- package/es/pro/NumericStepper/index.js +107 -181
- package/es/pro/NumericStepper/index.less +143 -287
- package/es/pro/Selector/BatchSelectorDemo.js +12 -2
- package/es/pro/Selector/Selector.js +30 -39
- package/es/pro/Selector/SelectorGroup.d.ts +1 -1
- package/es/pro/Selector/SelectorGroup.js +1 -5
- package/es/pro/Selector/components/Card/index.js +10 -11
- package/es/pro/Selector/components/Card/index.less +14 -30
- package/es/pro/Selector/components/Indicator/index.d.ts +0 -1
- package/es/pro/Selector/components/Indicator/index.js +2 -3
- package/es/pro/Selector/components/Indicator/index.less +13 -16
- package/es/pro/Selector/components/LayoutContainer/index.d.ts +3 -5
- package/es/pro/Selector/components/LayoutContainer/index.js +9 -226
- package/es/pro/Selector/components/Media/index.d.ts +1 -1
- package/es/pro/Selector/components/Media/index.less +1 -1
- package/es/pro/Selector/demo.js +1 -1
- package/es/pro/Selector/hooks/usePresetItemProps.js +0 -2
- package/es/pro/Selector/hooks/usePresetProps.js +6 -60
- package/es/pro/Selector/locales.d.ts +0 -22
- package/es/pro/Selector/locales.js +0 -58
- package/es/pro/Selector/selector.less +64 -0
- package/es/pro/Selector/selectorGroup.less +1 -9
- package/es/pro/Selector/types.d.ts +0 -50
- package/es/pro/numberKeyboard/locales.d.ts +0 -6
- package/es/pro/numberKeyboard/locales.js +0 -6
- package/lib/components/appointmentBooking/components/Date/state.js +1 -3
- package/lib/components/appointmentBooking/locales.d.ts +0 -240
- package/lib/components/appointmentBooking/locales.js +0 -240
- package/lib/components/authentication/admin/AuthMethods/locales.d.ts +0 -164
- package/lib/components/authentication/admin/AuthMethods/locales.js +0 -164
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.js +9 -17
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +0 -54
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.js +0 -54
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +0 -2
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.js +0 -2
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +0 -46
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.js +0 -46
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +0 -2
- package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.js +6 -14
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +0 -16
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.js +0 -16
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.js +2 -10
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +0 -42
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.js +0 -42
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +0 -2
- package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.js +6 -14
- package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +0 -24
- package/lib/components/authentication/admin/ChannelAuthSetting/locales.js +0 -24
- package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +0 -42
- package/lib/components/authentication/admin/CustomerAuth/locales.js +0 -42
- package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +0 -70
- package/lib/components/authentication/admin/CustomerOAuthConfig/locales.js +0 -70
- package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +0 -36
- package/lib/components/authentication/admin/DeviceAuth/locales.js +0 -36
- package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +0 -58
- package/lib/components/authentication/admin/OAuthConfig/locales.js +0 -58
- package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +0 -34
- package/lib/components/authentication/admin/OrgAdminAuth/locales.js +0 -34
- package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +0 -30
- package/lib/components/authentication/admin/POSOperatorAuth/locales.js +0 -30
- package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +0 -34
- package/lib/components/authentication/admin/SaaSAdminAuth/locales.js +0 -34
- package/lib/components/booking/components/footer/index.js +0 -5
- package/lib/components/booking/components/footer/utils.js +2 -2
- package/lib/components/booking/editBookingModal/locales.d.ts +0 -12
- package/lib/components/booking/editBookingModal/locales.js +0 -12
- package/lib/components/booking/editBookingModal/mock.d.ts +2 -186
- package/lib/components/booking/editBookingModal/mock.js +0 -22
- package/lib/components/booking/hooks/useClearCart.d.ts +1 -1
- package/lib/components/booking/hooks/useClearCart.js +6 -28
- package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/lib/components/booking/info/header/index.js +7 -7
- package/lib/components/booking/info/header/index.less +5 -5
- package/lib/components/booking/info/service/index.less +2 -4
- package/lib/components/booking/info2/service/addService/mock.d.ts +0 -2
- package/lib/components/booking/info2/service/addService/mock.js +0 -4
- package/lib/components/booking/info2/service/editService/index.js +1 -24
- package/lib/components/booking/info2/service/editService/utils.d.ts +0 -15
- package/lib/components/booking/info2/service/editService/utils.js +2 -38
- package/lib/components/booking/locales.d.ts +0 -648
- package/lib/components/booking/locales.js +0 -700
- package/lib/components/booking/notes/NoteBlock/index.js +1 -2
- package/lib/components/eftpos/PairModal/hooks.d.ts +27 -0
- package/lib/components/eftpos/PairModal/hooks.js +70 -0
- package/lib/components/eftpos/PairModal/index.d.ts +11 -0
- package/lib/components/eftpos/PairModal/index.js +197 -0
- package/lib/components/eftpos/PairModal/index.less +70 -0
- package/lib/components/eftpos/SettlementModal/Action.d.ts +8 -0
- package/lib/components/eftpos/SettlementModal/Action.js +153 -0
- package/lib/components/eftpos/SettlementModal/index.d.ts +8 -0
- package/lib/components/eftpos/SettlementModal/index.js +170 -0
- package/lib/components/eftpos/SettlementModal/index.less +33 -0
- package/lib/components/eftpos/SettlementModal/serve.d.ts +8 -0
- package/lib/{plus/saasAttendance/settings → components/eftpos/SettlementModal}/serve.js +16 -25
- package/lib/components/eftpos/SettlementModal/types.d.ts +138 -0
- package/lib/components/eftpos/SettlementModal/types.js +43 -0
- package/lib/components/eftpos/SettlementModal/utils.d.ts +18 -0
- package/lib/components/eftpos/SettlementModal/utils.js +248 -0
- package/lib/components/eftpos/assets/mx51SCI.svg +15 -0
- package/lib/components/eftpos/const.d.ts +3 -1
- package/lib/components/eftpos/const.js +2 -0
- package/lib/components/eftpos/device.d.ts +3 -1
- package/lib/components/eftpos/device.js +3 -3
- package/lib/components/eftpos/hooks.d.ts +13 -0
- package/lib/components/eftpos/hooks.js +30 -0
- package/lib/components/eftpos/index.js +106 -8
- package/lib/components/eftpos/index.less +26 -1
- package/lib/components/eftpos/locales.d.ts +39 -64
- package/lib/components/eftpos/locales.js +101 -78
- package/lib/components/eftpos/table.js +30 -2
- package/lib/components/eftposPay/aggregatePayment/hooks/usePayment.d.ts +6 -0
- package/lib/components/eftposPay/aggregatePayment/hooks/usePayment.js +152 -0
- package/lib/components/eftposPay/aggregatePayment/index.d.ts +3 -0
- package/lib/{plus/clinetSearch/serve.js → components/eftposPay/aggregatePayment/index.js} +10 -11
- package/lib/components/eftposPay/aggregatePayment/mock.d.ts +495 -0
- package/lib/components/eftposPay/aggregatePayment/mock.js +679 -0
- package/lib/components/eftposPay/aggregatePayment/service.d.ts +24 -0
- package/lib/components/eftposPay/aggregatePayment/service.js +81 -0
- package/lib/components/eftposPay/aggregatePayment/types.d.ts +101 -0
- package/lib/components/eftposPay/aggregatePayment/types.js +74 -0
- package/lib/components/eftposPay/aggregatePayment/utils/logs.d.ts +110 -0
- package/lib/components/eftposPay/aggregatePayment/utils/logs.js +302 -0
- package/lib/components/eftposPay/aggregatePayment/utils/payment.d.ts +132 -0
- package/lib/components/eftposPay/aggregatePayment/utils/payment.js +755 -0
- package/lib/components/eftposPay/app.d.ts +1 -1
- package/lib/components/eftposPay/component/fail/failCustom.js +9 -15
- package/lib/components/eftposPay/component/fail/index.js +1 -4
- package/lib/components/eftposPay/const.d.ts +7 -2
- package/lib/components/eftposPay/const.js +2 -0
- package/lib/components/eftposPay/device.js +23 -108
- package/lib/components/eftposPay/hooks.d.ts +1 -1
- package/lib/components/eftposPay/index.js +1 -5
- package/lib/components/eftposPay/linkly/const.js +1 -1
- package/lib/components/eftposPay/linkly/index.js +1 -0
- package/lib/components/eftposPay/locales.d.ts +3 -242
- package/lib/components/eftposPay/locales.js +5 -252
- package/lib/components/eftposPay/manufacturer.d.ts +1 -0
- package/lib/components/eftposPay/manufacturer.js +6 -0
- package/lib/components/eftposPay/mx51/Action.d.ts +7 -0
- package/lib/components/eftposPay/mx51/Action.js +152 -0
- package/lib/components/eftposPay/mx51/Result.d.ts +5 -0
- package/lib/components/{ecocup/components/MoreDropdown/index.js → eftposPay/mx51/Result.js} +43 -31
- package/lib/components/eftposPay/mx51/const.d.ts +5 -0
- package/lib/components/eftposPay/mx51/const.js +85 -0
- package/lib/components/eftposPay/mx51/index.d.ts +6 -0
- package/lib/components/eftposPay/mx51/index.js +360 -0
- package/lib/components/eftposPay/mx51/types.d.ts +138 -0
- package/lib/components/{ecocup/customerList/hooks/index.js → eftposPay/mx51/types.js} +18 -10
- package/lib/components/eftposPay/mx51/utils.d.ts +10 -0
- package/lib/components/eftposPay/mx51/utils.js +115 -0
- package/lib/components/eftposPay/pay.js +4 -2
- package/lib/components/eftposPay/payo/config.js +0 -1
- package/lib/components/eftposPay/payo/const.js +1 -1
- package/lib/components/eftposPay/store/index.d.ts +2 -5
- package/lib/components/eftposPay/tyro/const.js +1 -1
- package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/lib/components/eftposPay/windcave/const.js +1 -1
- package/lib/components/eftposPay/windcave/windcave.js +9 -9
- package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Voucher/components/locales.d.ts +0 -22
- package/lib/components/eventBooking/components/Voucher/components/locales.js +0 -22
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/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/eventBooking/locales.d.ts +0 -162
- package/lib/components/eventBooking/locales.js +0 -162
- package/lib/components/kioskSkuDetail/index.js +3 -27
- package/lib/components/kioskSkuDetail/locales.d.ts +0 -21
- package/lib/components/kioskSkuDetail/locales.js +3 -24
- package/lib/components/login/locales.d.ts +0 -14
- package/lib/components/login/locales.js +0 -14
- package/lib/components/pay/toC/PaymentList/serve.js +1 -1
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.d.ts +0 -6
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.js +17 -40
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.less +9 -110
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/List/index.d.ts +0 -2
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/List/index.js +12 -32
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -20
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.js +2 -8
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.less +0 -20
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +1 -7
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.js +24 -98
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.less +0 -47
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +1 -9
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/index.js +5 -149
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +3 -23
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +39 -121
- package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.js +1 -7
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +0 -5
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.js +103 -92
- package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +0 -6
- package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.js +2 -2
- package/lib/components/pay/toC/PaymentMethods/index.js +12 -17
- package/lib/components/pay/toC/WalletPassBlock/index.js +1 -3
- package/lib/components/pay/toC/index.js +22 -86
- package/lib/components/pay/toC/locales.d.ts +0 -319
- package/lib/components/pay/toC/locales.js +12 -331
- package/lib/components/pay/toC/model.d.ts +0 -1
- package/lib/components/pay/toC/serve.d.ts +0 -30
- package/lib/components/pay/toC/serve.js +1 -17
- package/lib/components/pay/toC/utils.d.ts +2 -7
- package/lib/components/pay/toC/utils.js +0 -21
- package/lib/components/pinModal/locales.d.ts +0 -16
- package/lib/components/pinModal/locales.js +0 -16
- package/lib/components/pinVerifyModal/locales.d.ts +0 -14
- package/lib/components/pinVerifyModal/locales.js +0 -14
- package/lib/components/pisellSelectCustomerModal/locales.d.ts +0 -52
- package/lib/components/pisellSelectCustomerModal/locales.js +0 -52
- package/lib/components/productExtension/locales.d.ts +0 -30
- package/lib/components/productExtension/locales.js +0 -30
- package/lib/components/productSelect/components/pisellPriceText/index.js +4 -6
- package/lib/components/productSelect/locales.d.ts +0 -20
- package/lib/components/productSelect/locales.js +3 -23
- package/lib/components/ruleSetting/locales.d.ts +0 -30
- package/lib/components/ruleSetting/locales.js +0 -30
- package/lib/components/schedules/locales.d.ts +0 -56
- package/lib/components/schedules/locales.js +0 -56
- package/lib/components/shoppingCart/components/Cart/index.less +0 -1
- package/lib/components/shoppingCart/hooks/useClearCart.d.ts +1 -1
- package/lib/components/shoppingCart/hooks/useClearCart.js +11 -42
- package/lib/components/shoppingCart/locales.d.ts +0 -20
- package/lib/components/shoppingCart/locales.js +0 -20
- package/lib/components/stepController/locales.d.ts +0 -16
- package/lib/components/stepController/locales.js +0 -16
- package/lib/components/subTotal/locales.d.ts +0 -26
- package/lib/components/subTotal/locales.js +0 -26
- package/lib/components/systemSettings/registry/components/ItemModal.js +224 -347
- package/lib/components/systemSettings/registry/index.js +16 -20
- package/lib/components/systemSettings/registry/index.less +7 -6
- package/lib/components/systemSettings/registry/locales.d.ts +0 -262
- package/lib/components/systemSettings/registry/locales.js +3 -274
- package/lib/components/systemSettings/registry/services.d.ts +0 -20
- package/lib/components/systemSettings/registry/types.d.ts +2 -16
- package/lib/components/taxSelect/locales.d.ts +0 -14
- package/lib/components/taxSelect/locales.js +0 -14
- package/lib/components/ticketBooking/locales.d.ts +0 -130
- package/lib/components/ticketBooking/locales.js +0 -136
- package/lib/components/ticketBooking/utils/formatTime.d.ts +0 -2
- package/lib/components/ticketBooking/utils/formatTime.js +2 -8
- package/lib/components/wallet/utils.d.ts +1 -1
- package/lib/components/walletList/index.js +0 -10
- package/lib/components/walletList/locales.d.ts +0 -16
- package/lib/components/walletList/locales.js +0 -16
- package/lib/components/walletList/types/index.d.ts +0 -2
- package/lib/hooks/useEngineContext.d.ts +0 -1
- package/lib/hooks/useEngineContext.js +2 -10
- package/lib/hooks/useLocale.js +2 -7
- package/lib/index.d.ts +3 -16
- package/lib/index.js +3 -39
- package/lib/plus/contactInfo/components/SwipeAction/index.js +23 -23
- package/lib/plus/contactInfo/locales.d.ts +0 -8
- package/lib/plus/contactInfo/locales.js +0 -8
- package/lib/plus/contactInfoModal/locales.d.ts +0 -42
- package/lib/plus/contactInfoModal/locales.js +0 -42
- package/lib/plus/productSelect/components/pisellPriceText/index.js +4 -6
- package/lib/plus/productSelect/locales.d.ts +0 -20
- package/lib/plus/productSelect/locales.js +3 -23
- package/lib/plus/saasCreateOrganization/locales.d.ts +0 -8
- package/lib/plus/saasCreateOrganization/locales.js +0 -8
- package/lib/plus/saasLogin/locales.d.ts +0 -32
- package/lib/plus/saasLogin/locales.js +0 -32
- package/lib/plus/saasRegister/locales.d.ts +0 -76
- package/lib/plus/saasRegister/locales.js +0 -76
- package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
- package/lib/plus/selectHolder/locales.d.ts +0 -14
- package/lib/plus/selectHolder/locales.js +0 -14
- package/lib/plus/skuOptionsSelection/components/NormalCard/index.js +10 -11
- package/lib/plus/skuOptionsSelection/components/OptionsCard/index.js +2 -3
- package/lib/plus/skuOptionsSelection/components/OptionsCard/index.less +0 -2
- package/lib/plus/skuOptionsSelection/index.js +2 -2
- package/lib/plus/skuOptionsSelection/locales.d.ts +0 -20
- package/lib/plus/skuOptionsSelection/locales.js +0 -20
- package/lib/plus/skuOptionsSelection/store/store.js +1 -2
- package/lib/plus/skuOptionsSelection/types.d.ts +0 -14
- package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.js +9 -15
- package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.js +6 -9
- package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.js +2 -9
- package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.js +3 -7
- package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.js +7 -8
- package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +0 -2
- package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.js +4 -12
- package/lib/plus/walletEditor/locales.d.ts +0 -88
- package/lib/plus/walletEditor/locales.js +0 -100
- package/lib/plus/walletEditor/types.d.ts +0 -2
- package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +0 -1
- package/lib/plus/walletPassGallery/components/passDetail/index.js +5 -42
- package/lib/plus/walletPassGallery/components/passList/index.js +5 -12
- package/lib/plus/walletPassGallery/components/recharge/index.js +5 -7
- package/lib/plus/walletPassGallery/components/recharge/index.less +1 -70
- package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -2
- package/lib/plus/walletPassGallery/components/timelineSection/index.js +2 -17
- package/lib/plus/walletPassGallery/index.d.ts +0 -4
- package/lib/plus/walletPassGallery/index.js +45 -116
- package/lib/plus/walletPassGallery/locales.d.ts +0 -198
- package/lib/plus/walletPassGallery/locales.js +3 -210
- package/lib/plus/walletPassGallery/serve.d.ts +1 -3
- package/lib/plus/walletPassGallery/serve.js +2 -2
- package/lib/plus/walletPassGallery/utils.d.ts +1 -1
- package/lib/pro/Cards/components/SKUCard/index.d.ts +56 -1
- package/lib/pro/Cards/components/SKUCard/index.js +15 -59
- package/lib/pro/Cards/components/SKUCard/index.less +2 -23
- package/lib/pro/Login2.0/Login2.js +8 -8
- package/lib/pro/Login2.0/locales.d.ts +0 -365
- package/lib/pro/Login2.0/locales.js +0 -365
- package/lib/pro/Login2.0/shared/types.d.ts +0 -2
- package/lib/pro/NumericStepper/index.d.ts +3 -33
- package/lib/pro/NumericStepper/index.js +88 -184
- package/lib/pro/NumericStepper/index.less +143 -287
- package/lib/pro/Selector/BatchSelectorDemo.js +19 -13
- package/lib/pro/Selector/Selector.js +17 -34
- package/lib/pro/Selector/SelectorGroup.d.ts +1 -1
- package/lib/pro/Selector/SelectorGroup.js +1 -7
- package/lib/pro/Selector/components/Card/index.js +8 -19
- package/lib/pro/Selector/components/Card/index.less +14 -30
- package/lib/pro/Selector/components/Indicator/index.d.ts +0 -1
- package/lib/pro/Selector/components/Indicator/index.js +2 -2
- package/lib/pro/Selector/components/Indicator/index.less +13 -16
- package/lib/pro/Selector/components/LayoutContainer/index.d.ts +3 -5
- package/lib/pro/Selector/components/LayoutContainer/index.js +2 -130
- package/lib/pro/Selector/components/Media/index.d.ts +1 -1
- package/lib/pro/Selector/components/Media/index.js +4 -7
- package/lib/pro/Selector/components/Media/index.less +1 -1
- package/lib/pro/Selector/demo.js +1 -1
- package/lib/pro/Selector/hooks/usePresetItemProps.js +0 -2
- package/lib/pro/Selector/hooks/usePresetProps.js +6 -28
- package/lib/pro/Selector/locales.d.ts +0 -22
- package/lib/pro/Selector/locales.js +0 -50
- package/lib/pro/Selector/selector.less +64 -0
- package/lib/pro/Selector/selectorGroup.less +1 -9
- package/lib/pro/Selector/types.d.ts +0 -50
- package/lib/pro/numberKeyboard/locales.d.ts +0 -6
- package/lib/pro/numberKeyboard/locales.js +0 -6
- package/lowcode/selector/meta.ts +2 -15
- package/lowcode/selector.group/meta.ts +2 -15
- package/lowcode/sku-options-selection/meta.ts +2 -106
- package/lowcode/wallet-pass-gallery/meta.ts +1 -66
- package/package.json +6 -6
- package/es/components/ecocup/components/AddCustomerModal/index.d.ts +0 -10
- package/es/components/ecocup/components/AddCustomerModal/index.less +0 -9
- package/es/components/ecocup/components/CupActionList/index.d.ts +0 -14
- package/es/components/ecocup/components/CupActionList/index.js +0 -91
- package/es/components/ecocup/components/CupActionList/index.less +0 -102
- package/es/components/ecocup/components/CupActionModal/hooks.d.ts +0 -5
- package/es/components/ecocup/components/CupActionModal/hooks.js +0 -68
- package/es/components/ecocup/components/CupActionModal/index.d.ts +0 -15
- package/es/components/ecocup/components/CupActionModal/index.js +0 -92
- package/es/components/ecocup/components/CupActionModal/index.less +0 -38
- package/es/components/ecocup/components/CupInfoCard/index.d.ts +0 -10
- package/es/components/ecocup/components/CupInfoCard/index.js +0 -14
- package/es/components/ecocup/components/CupInfoCard/index.less +0 -11
- package/es/components/ecocup/components/CupStatusModal/hooks.d.ts +0 -36
- package/es/components/ecocup/components/CupStatusModal/hooks.js +0 -176
- package/es/components/ecocup/components/CupStatusModal/index.d.ts +0 -14
- package/es/components/ecocup/components/CupStatusModal/index.js +0 -281
- package/es/components/ecocup/components/CupStatusModal/index.less +0 -73
- package/es/components/ecocup/components/CustomerAndCupModal/hooks.d.ts +0 -14
- package/es/components/ecocup/components/CustomerAndCupModal/hooks.js +0 -133
- package/es/components/ecocup/components/CustomerAndCupModal/index.d.ts +0 -20
- package/es/components/ecocup/components/CustomerAndCupModal/index.js +0 -227
- package/es/components/ecocup/components/CustomerAndCupModal/index.less +0 -68
- package/es/components/ecocup/components/CustomerCard/index.d.ts +0 -9
- package/es/components/ecocup/components/CustomerCard/index.js +0 -37
- package/es/components/ecocup/components/CustomerCard/index.less +0 -50
- package/es/components/ecocup/components/MoreDropdown/index.d.ts +0 -9
- package/es/components/ecocup/components/MoreDropdown/index.js +0 -33
- package/es/components/ecocup/components/PageHeader/index.d.ts +0 -9
- package/es/components/ecocup/components/PageHeader/index.js +0 -47
- package/es/components/ecocup/components/PageHeader/index.less +0 -31
- package/es/components/ecocup/components/SearchBar/const.d.ts +0 -4
- package/es/components/ecocup/components/SearchBar/const.js +0 -16
- package/es/components/ecocup/components/SearchBar/hooks.d.ts +0 -44
- package/es/components/ecocup/components/SearchBar/hooks.js +0 -184
- package/es/components/ecocup/components/SearchBar/index.d.ts +0 -14
- package/es/components/ecocup/components/SearchBar/index.js +0 -248
- package/es/components/ecocup/components/SearchBar/index.less +0 -88
- package/es/components/ecocup/components/SettingModal/const.d.ts +0 -6
- package/es/components/ecocup/components/SettingModal/const.js +0 -17
- package/es/components/ecocup/components/SettingModal/index.d.ts +0 -9
- package/es/components/ecocup/components/SettingModal/index.js +0 -253
- package/es/components/ecocup/components/SettingModal/index.less +0 -9
- package/es/components/ecocup/cupList/const.d.ts +0 -140
- package/es/components/ecocup/cupList/const.js +0 -319
- package/es/components/ecocup/cupList/hooks/index.d.ts +0 -4
- package/es/components/ecocup/cupList/hooks/index.js +0 -4
- package/es/components/ecocup/cupList/hooks/useColumns.d.ts +0 -45
- package/es/components/ecocup/cupList/hooks/useColumns.js +0 -166
- package/es/components/ecocup/cupList/hooks/useCupApi.d.ts +0 -41
- package/es/components/ecocup/cupList/hooks/useCupApi.js +0 -312
- package/es/components/ecocup/cupList/hooks/useSummary.d.ts +0 -3
- package/es/components/ecocup/cupList/hooks/useSummary.js +0 -42
- package/es/components/ecocup/cupList/index.d.ts +0 -7
- package/es/components/ecocup/cupList/index.js +0 -268
- package/es/components/ecocup/cupList/index.less +0 -159
- package/es/components/ecocup/cupProject/const.d.ts +0 -7
- package/es/components/ecocup/cupProject/const.js +0 -33
- package/es/components/ecocup/cupProject/index.d.ts +0 -3
- package/es/components/ecocup/cupProject/index.js +0 -112
- package/es/components/ecocup/cupProject/index.less +0 -41
- package/es/components/ecocup/customerList/const.d.ts +0 -44
- package/es/components/ecocup/customerList/const.js +0 -67
- package/es/components/ecocup/customerList/hooks/index.d.ts +0 -3
- package/es/components/ecocup/customerList/hooks/index.js +0 -3
- package/es/components/ecocup/customerList/hooks/useColumns.d.ts +0 -15
- package/es/components/ecocup/customerList/hooks/useColumns.js +0 -44
- package/es/components/ecocup/customerList/hooks/useCustomerApi.d.ts +0 -15
- package/es/components/ecocup/customerList/hooks/useCustomerApi.js +0 -70
- package/es/components/ecocup/customerList/index.d.ts +0 -7
- package/es/components/ecocup/customerList/index.js +0 -127
- package/es/components/ecocup/customerList/index.less +0 -15
- package/es/components/ecocup/hooks.d.ts +0 -57
- package/es/components/ecocup/hooks.js +0 -168
- package/es/components/ecocup/locales.d.ts +0 -653
- package/es/components/ecocup/locales.js +0 -699
- package/es/components/ecocup/types.d.ts +0 -103
- package/es/components/ecocup/types.js +0 -36
- package/es/components/ecocup/utils/download.d.ts +0 -7
- package/es/components/ecocup/utils/download.js +0 -34
- package/es/components/ecocup/utils/index.d.ts +0 -2
- package/es/components/ecocup/utils/index.js +0 -2
- package/es/components/ecocup/utils/scanListener.d.ts +0 -20
- package/es/components/ecocup/utils/scanListener.js +0 -107
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/components/TDSErrorModal/index.d.ts +0 -34
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/components/TDSErrorModal/index.js +0 -83
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/components/TDSErrorModal/index.less +0 -52
- package/es/components/systemSettings/registry/components/DataSourceTreeSelect/index.d.ts +0 -59
- package/es/components/systemSettings/registry/components/DataSourceTreeSelect/index.js +0 -390
- package/es/components/systemSettings/registry/components/DataSourceTreeSelect/serve.d.ts +0 -70
- package/es/components/systemSettings/registry/components/DataSourceTreeSelect/serve.js +0 -367
- package/es/components/systemSettings/registry/components/OptionDataSource/OptionTable.d.ts +0 -8
- package/es/components/systemSettings/registry/components/OptionDataSource/OptionTable.js +0 -163
- package/es/components/systemSettings/registry/components/OptionDataSource/index.d.ts +0 -10
- package/es/components/systemSettings/registry/components/OptionDataSource/index.js +0 -127
- package/es/components/systemSettings/registry/components/OptionDataSource/index.less +0 -37
- package/es/hooks/useThemeTokens.d.ts +0 -7
- package/es/hooks/useThemeTokens.js +0 -20
- package/es/hooks/useTranslationOriginal.d.ts +0 -1
- package/es/hooks/useTranslationOriginal.js +0 -10
- package/es/plus/clientCard/index.d.ts +0 -7
- package/es/plus/clientCard/index.js +0 -462
- package/es/plus/clientCard/index.less +0 -515
- package/es/plus/clientCard/line/index.d.ts +0 -9
- package/es/plus/clientCard/line/index.js +0 -157
- package/es/plus/clientCard/line/index.less +0 -142
- package/es/plus/clientCard/locales.d.ts +0 -28
- package/es/plus/clientCard/locales.js +0 -27
- package/es/plus/clientCard/types.d.ts +0 -135
- package/es/plus/clientCard/types.js +0 -1
- package/es/plus/clientCard/utils.d.ts +0 -8
- package/es/plus/clientCard/utils.js +0 -59
- package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +0 -3
- package/es/plus/clinetSearch/Add/BirthdayField/index.js +0 -277
- package/es/plus/clinetSearch/Add/GenderField/index.d.ts +0 -3
- package/es/plus/clinetSearch/Add/GenderField/index.js +0 -18
- package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -3
- package/es/plus/clinetSearch/Add/PhoneField/index.js +0 -52
- package/es/plus/clinetSearch/Add/PhoneField/serve.d.ts +0 -2
- package/es/plus/clinetSearch/Add/PhoneField/serve.js +0 -166
- package/es/plus/clinetSearch/Add/index.d.ts +0 -18
- package/es/plus/clinetSearch/Add/index.js +0 -213
- package/es/plus/clinetSearch/Add/index.less +0 -30
- package/es/plus/clinetSearch/InfiniteScroll/InfiniteScroll.d.ts +0 -5
- package/es/plus/clinetSearch/InfiniteScroll/InfiniteScroll.js +0 -265
- package/es/plus/clinetSearch/InfiniteScroll/index.d.ts +0 -2
- package/es/plus/clinetSearch/InfiniteScroll/index.js +0 -1
- package/es/plus/clinetSearch/InfiniteScroll/types.d.ts +0 -46
- package/es/plus/clinetSearch/InfiniteScroll/types.js +0 -1
- package/es/plus/clinetSearch/index.d.ts +0 -18
- package/es/plus/clinetSearch/index.js +0 -234
- package/es/plus/clinetSearch/index.less +0 -95
- package/es/plus/clinetSearch/locales.d.ts +0 -178
- package/es/plus/clinetSearch/locales.js +0 -177
- package/es/plus/clinetSearch/serve.d.ts +0 -1
- package/es/plus/clinetSearch/serve.js +0 -31
- package/es/plus/clinetSearch/types.d.ts +0 -70
- package/es/plus/clinetSearch/types.js +0 -1
- package/es/plus/orderList/components/BatchActionBar.d.ts +0 -9
- package/es/plus/orderList/components/BatchActionBar.js +0 -835
- package/es/plus/orderList/components/FilterList.d.ts +0 -8
- package/es/plus/orderList/components/FilterList.js +0 -78
- package/es/plus/orderList/components/HandleActions.d.ts +0 -6
- package/es/plus/orderList/components/HandleActions.js +0 -27
- package/es/plus/orderList/components/QuickFilter.d.ts +0 -5
- package/es/plus/orderList/components/QuickFilter.js +0 -14
- package/es/plus/orderList/components/Reset.d.ts +0 -7
- package/es/plus/orderList/components/Reset.js +0 -23
- package/es/plus/orderList/components/Toolbar.d.ts +0 -7
- package/es/plus/orderList/components/Toolbar.js +0 -59
- package/es/plus/orderList/config.d.ts +0 -155
- package/es/plus/orderList/config.js +0 -786
- package/es/plus/orderList/index.d.ts +0 -10
- package/es/plus/orderList/index.js +0 -133
- package/es/plus/orderList/index.less +0 -125
- package/es/plus/orderList/locales.d.ts +0 -618
- package/es/plus/orderList/locales.js +0 -733
- package/es/plus/orderList/serve.d.ts +0 -42
- package/es/plus/orderList/serve.js +0 -351
- package/es/plus/pisellSalesGrid/PisellSalesGrid.d.ts +0 -5
- package/es/plus/pisellSalesGrid/PisellSalesGrid.js +0 -363
- package/es/plus/pisellSalesGrid/PisellSalesGrid.less +0 -16
- package/es/plus/pisellSalesGrid/PisellSalesGrid.stories.d.ts +0 -14
- package/es/plus/pisellSalesGrid/PisellSalesGrid.stories.js +0 -559
- package/es/plus/pisellSalesGrid/hooks/useActions.d.ts +0 -19
- package/es/plus/pisellSalesGrid/hooks/useActions.js +0 -723
- package/es/plus/pisellSalesGrid/index.d.ts +0 -4
- package/es/plus/pisellSalesGrid/index.js +0 -3
- package/es/plus/pisellSalesGrid/locales.d.ts +0 -9
- package/es/plus/pisellSalesGrid/locales.js +0 -8
- package/es/plus/pisellSalesGrid/serve.d.ts +0 -19
- package/es/plus/pisellSalesGrid/serve.js +0 -151
- package/es/plus/pisellSalesGrid/types.d.ts +0 -170
- package/es/plus/pisellSalesGrid/types.js +0 -1
- package/es/plus/pisellSalesManagement/components/BookingFormsPreview.d.ts +0 -15
- package/es/plus/pisellSalesManagement/components/BookingFormsPreview.js +0 -221
- package/es/plus/pisellSalesManagement/components/BookingNotesPreview.d.ts +0 -19
- package/es/plus/pisellSalesManagement/components/BookingNotesPreview.js +0 -167
- package/es/plus/pisellSalesManagement/components/ResourceSelector.d.ts +0 -9
- package/es/plus/pisellSalesManagement/components/ResourceSelector.js +0 -102
- package/es/plus/pisellSalesManagement/config/booking.d.ts +0 -185
- package/es/plus/pisellSalesManagement/config/booking.js +0 -380
- package/es/plus/pisellSalesManagement/config/index.d.ts +0 -2
- package/es/plus/pisellSalesManagement/config/index.js +0 -11
- package/es/plus/pisellSalesManagement/config/order.d.ts +0 -172
- package/es/plus/pisellSalesManagement/config/order.js +0 -460
- package/es/plus/pisellSalesManagement/hooks/perspectiveUtils.d.ts +0 -15
- package/es/plus/pisellSalesManagement/hooks/perspectiveUtils.js +0 -66
- package/es/plus/pisellSalesManagement/hooks/useBookingPerspective.d.ts +0 -2
- package/es/plus/pisellSalesManagement/hooks/useBookingPerspective.js +0 -651
- package/es/plus/pisellSalesManagement/hooks/useOrderPerspective.d.ts +0 -2
- package/es/plus/pisellSalesManagement/hooks/useOrderPerspective.js +0 -656
- package/es/plus/pisellSalesManagement/hooks/usePerspectives.d.ts +0 -5
- package/es/plus/pisellSalesManagement/hooks/usePerspectives.js +0 -12
- package/es/plus/pisellSalesManagement/index.d.ts +0 -10
- package/es/plus/pisellSalesManagement/index.js +0 -84
- package/es/plus/pisellSalesManagement/locales.d.ts +0 -303
- package/es/plus/pisellSalesManagement/locales.js +0 -302
- package/es/plus/pisellSalesManagement/serve.d.ts +0 -26
- package/es/plus/pisellSalesManagement/serve.js +0 -222
- package/es/plus/saasAttendance/index.d.ts +0 -6
- package/es/plus/saasAttendance/index.js +0 -5
- package/es/plus/saasAttendance/locales.d.ts +0 -591
- package/es/plus/saasAttendance/locales.js +0 -657
- package/es/plus/saasAttendance/settings/BasicInfoTab.d.ts +0 -5
- package/es/plus/saasAttendance/settings/BasicInfoTab.js +0 -96
- package/es/plus/saasAttendance/settings/ClockInMethodTab.d.ts +0 -8
- package/es/plus/saasAttendance/settings/ClockInMethodTab.js +0 -81
- package/es/plus/saasAttendance/settings/CorrectionPolicyTab.d.ts +0 -8
- package/es/plus/saasAttendance/settings/CorrectionPolicyTab.js +0 -293
- package/es/plus/saasAttendance/settings/PermissonTab.d.ts +0 -5
- package/es/plus/saasAttendance/settings/PermissonTab.js +0 -79
- package/es/plus/saasAttendance/settings/ShiftScheduleTab.d.ts +0 -5
- package/es/plus/saasAttendance/settings/ShiftScheduleTab.js +0 -115
- package/es/plus/saasAttendance/settings/components/MapField.d.ts +0 -78
- package/es/plus/saasAttendance/settings/components/MapField.js +0 -848
- package/es/plus/saasAttendance/settings/components/index.d.ts +0 -3
- package/es/plus/saasAttendance/settings/components/index.js +0 -2
- package/es/plus/saasAttendance/settings/components/membersField/index.d.ts +0 -8
- package/es/plus/saasAttendance/settings/components/membersField/index.js +0 -216
- package/es/plus/saasAttendance/settings/components/membersField/index.less +0 -70
- package/es/plus/saasAttendance/settings/components/shiftModal/ShiftPreview.d.ts +0 -7
- package/es/plus/saasAttendance/settings/components/shiftModal/ShiftPreview.js +0 -149
- package/es/plus/saasAttendance/settings/components/shiftModal/ShiftPreview.less +0 -119
- package/es/plus/saasAttendance/settings/components/shiftModal/index.d.ts +0 -18
- package/es/plus/saasAttendance/settings/components/shiftModal/index.js +0 -438
- package/es/plus/saasAttendance/settings/index.d.ts +0 -18
- package/es/plus/saasAttendance/settings/index.js +0 -262
- package/es/plus/saasAttendance/settings/index.less +0 -510
- package/es/plus/saasAttendance/settings/serve.d.ts +0 -27
- package/es/plus/saasAttendance/settings/serve.js +0 -83
- package/es/plus/saasAttendance/settings/types.d.ts +0 -136
- package/es/plus/saasAttendance/settings/types.js +0 -1
- package/es/plus/saasRole/components/PermissionManager/index.d.ts +0 -19
- package/es/plus/saasRole/components/PermissionManager/index.js +0 -211
- package/es/plus/saasRole/components/PermissionManager/index.less +0 -71
- package/es/plus/saasRole/index.d.ts +0 -14
- package/es/plus/saasRole/index.js +0 -1036
- package/es/plus/saasRole/index.less +0 -196
- package/es/plus/saasRole/locales.d.ts +0 -319
- package/es/plus/saasRole/locales.js +0 -319
- package/es/plus/saasRole/serve.d.ts +0 -72
- package/es/plus/saasRole/serve.js +0 -304
- package/es/plus/saasRole/types.d.ts +0 -177
- package/es/plus/saasRole/types.js +0 -1
- package/es/plus/saasRole/utils.d.ts +0 -0
- package/es/plus/saasRole/utils.js +0 -0
- package/es/plus/saasTeamMembers/components/MemberDrawer/ExtensionFormTabContent.d.ts +0 -31
- package/es/plus/saasTeamMembers/components/MemberDrawer/ExtensionFormTabContent.js +0 -503
- package/es/plus/saasTeamMembers/components/MemberDrawer/index.d.ts +0 -23
- package/es/plus/saasTeamMembers/components/MemberDrawer/index.js +0 -634
- package/es/plus/saasTeamMembers/components/MemberDrawer/index.less +0 -178
- package/es/plus/saasTeamMembers/index.d.ts +0 -5
- package/es/plus/saasTeamMembers/index.js +0 -529
- package/es/plus/saasTeamMembers/index.less +0 -87
- package/es/plus/saasTeamMembers/locales.d.ts +0 -546
- package/es/plus/saasTeamMembers/locales.js +0 -591
- package/es/plus/saasTeamMembers/serve.d.ts +0 -95
- package/es/plus/saasTeamMembers/serve.js +0 -374
- package/es/plus/saasTeamMembers/type.d.ts +0 -158
- package/es/plus/saasTeamMembers/type.js +0 -1
- package/es/pro/Cards/components/SKUCard/locales.d.ts +0 -12
- package/es/pro/Cards/components/SKUCard/locales.js +0 -11
- package/es/pro/Cards/components/SKUCard/types.d.ts +0 -73
- package/es/pro/Cards/components/SKUCard/types.js +0 -1
- package/es/pro/Selector/components/LayoutContainer/index.less +0 -19
- package/es/pro/comprehensiveSearch/components/deviceIconGroup/index.d.ts +0 -11
- package/es/pro/comprehensiveSearch/components/deviceIconGroup/index.js +0 -54
- package/es/pro/comprehensiveSearch/components/deviceIconGroup/index.less +0 -28
- package/es/pro/comprehensiveSearch/components/index.d.ts +0 -2
- package/es/pro/comprehensiveSearch/components/index.js +0 -2
- package/es/pro/comprehensiveSearch/components/searchSection/index.d.ts +0 -24
- package/es/pro/comprehensiveSearch/components/searchSection/index.js +0 -141
- package/es/pro/comprehensiveSearch/components/searchSection/index.less +0 -100
- package/es/pro/comprehensiveSearch/components/searchSection/locales.d.ts +0 -23
- package/es/pro/comprehensiveSearch/components/searchSection/locales.js +0 -22
- package/es/pro/comprehensiveSearch/hooks/useNativeScanner.d.ts +0 -5
- package/es/pro/comprehensiveSearch/hooks/useNativeScanner.js +0 -24
- package/es/pro/comprehensiveSearch/hooks/useTerminalPeripherals.d.ts +0 -9
- package/es/pro/comprehensiveSearch/hooks/useTerminalPeripherals.js +0 -44
- package/es/pro/comprehensiveSearch/index.d.ts +0 -7
- package/es/pro/comprehensiveSearch/index.js +0 -207
- package/es/pro/comprehensiveSearch/index.less +0 -196
- package/es/pro/comprehensiveSearch/locales.d.ts +0 -23
- package/es/pro/comprehensiveSearch/locales.js +0 -22
- package/es/pro/comprehensiveSearch/types.d.ts +0 -32
- package/es/pro/comprehensiveSearch/types.js +0 -1
- package/es/pro/keyboards/index.d.ts +0 -2
- package/es/pro/keyboards/index.js +0 -1
- package/es/pro/keyboards/locales.d.ts +0 -38
- package/es/pro/keyboards/locales.js +0 -57
- package/es/pro/keyboards/numberKeyboard/index.d.ts +0 -16
- package/es/pro/keyboards/numberKeyboard/index.js +0 -523
- package/es/pro/keyboards/numberKeyboard/index.less +0 -59
- package/es/pro/keyboards/numberKeyboard/types.d.ts +0 -63
- package/es/pro/keyboards/numberKeyboard/types.js +0 -1
- package/es/pro/pisellPhoneKeyboard/index.d.ts +0 -13
- package/es/pro/pisellPhoneKeyboard/index.js +0 -210
- package/es/pro/pisellPhoneKeyboard/index.less +0 -157
- package/es/pro/pisellPhoneKeyboard/locales.d.ts +0 -18
- package/es/pro/pisellPhoneKeyboard/locales.js +0 -17
- package/lib/components/ecocup/components/AddCustomerModal/index.d.ts +0 -10
- package/lib/components/ecocup/components/AddCustomerModal/index.js +0 -212
- package/lib/components/ecocup/components/AddCustomerModal/index.less +0 -9
- package/lib/components/ecocup/components/CupActionList/index.d.ts +0 -14
- package/lib/components/ecocup/components/CupActionList/index.js +0 -116
- package/lib/components/ecocup/components/CupActionList/index.less +0 -102
- package/lib/components/ecocup/components/CupActionModal/hooks.d.ts +0 -5
- package/lib/components/ecocup/components/CupActionModal/hooks.js +0 -55
- package/lib/components/ecocup/components/CupActionModal/index.d.ts +0 -15
- package/lib/components/ecocup/components/CupActionModal/index.js +0 -125
- package/lib/components/ecocup/components/CupActionModal/index.less +0 -38
- package/lib/components/ecocup/components/CupInfoCard/index.d.ts +0 -10
- package/lib/components/ecocup/components/CupInfoCard/index.js +0 -43
- package/lib/components/ecocup/components/CupInfoCard/index.less +0 -11
- package/lib/components/ecocup/components/CupStatusModal/hooks.d.ts +0 -36
- package/lib/components/ecocup/components/CupStatusModal/hooks.js +0 -115
- package/lib/components/ecocup/components/CupStatusModal/index.d.ts +0 -14
- package/lib/components/ecocup/components/CupStatusModal/index.js +0 -221
- package/lib/components/ecocup/components/CupStatusModal/index.less +0 -73
- package/lib/components/ecocup/components/CustomerAndCupModal/hooks.d.ts +0 -14
- package/lib/components/ecocup/components/CustomerAndCupModal/hooks.js +0 -89
- package/lib/components/ecocup/components/CustomerAndCupModal/index.d.ts +0 -20
- package/lib/components/ecocup/components/CustomerAndCupModal/index.js +0 -178
- package/lib/components/ecocup/components/CustomerAndCupModal/index.less +0 -68
- package/lib/components/ecocup/components/CustomerCard/index.d.ts +0 -9
- package/lib/components/ecocup/components/CustomerCard/index.js +0 -58
- package/lib/components/ecocup/components/CustomerCard/index.less +0 -50
- package/lib/components/ecocup/components/MoreDropdown/index.d.ts +0 -9
- package/lib/components/ecocup/components/PageHeader/index.d.ts +0 -9
- package/lib/components/ecocup/components/PageHeader/index.js +0 -66
- package/lib/components/ecocup/components/PageHeader/index.less +0 -31
- package/lib/components/ecocup/components/SearchBar/const.d.ts +0 -4
- package/lib/components/ecocup/components/SearchBar/const.js +0 -50
- package/lib/components/ecocup/components/SearchBar/hooks.d.ts +0 -44
- package/lib/components/ecocup/components/SearchBar/hooks.js +0 -135
- package/lib/components/ecocup/components/SearchBar/index.d.ts +0 -14
- package/lib/components/ecocup/components/SearchBar/index.js +0 -226
- package/lib/components/ecocup/components/SearchBar/index.less +0 -88
- package/lib/components/ecocup/components/SettingModal/const.d.ts +0 -6
- package/lib/components/ecocup/components/SettingModal/const.js +0 -48
- package/lib/components/ecocup/components/SettingModal/index.d.ts +0 -9
- package/lib/components/ecocup/components/SettingModal/index.js +0 -199
- package/lib/components/ecocup/components/SettingModal/index.less +0 -9
- package/lib/components/ecocup/cupList/const.d.ts +0 -140
- package/lib/components/ecocup/cupList/const.js +0 -344
- package/lib/components/ecocup/cupList/hooks/index.d.ts +0 -4
- package/lib/components/ecocup/cupList/hooks/index.js +0 -43
- package/lib/components/ecocup/cupList/hooks/useColumns.d.ts +0 -45
- package/lib/components/ecocup/cupList/hooks/useColumns.js +0 -200
- package/lib/components/ecocup/cupList/hooks/useCupApi.d.ts +0 -41
- package/lib/components/ecocup/cupList/hooks/useCupApi.js +0 -227
- package/lib/components/ecocup/cupList/hooks/useSummary.d.ts +0 -3
- package/lib/components/ecocup/cupList/hooks/useSummary.js +0 -83
- package/lib/components/ecocup/cupList/index.d.ts +0 -7
- package/lib/components/ecocup/cupList/index.js +0 -262
- package/lib/components/ecocup/cupList/index.less +0 -159
- package/lib/components/ecocup/cupProject/const.d.ts +0 -7
- package/lib/components/ecocup/cupProject/const.js +0 -65
- package/lib/components/ecocup/cupProject/index.d.ts +0 -3
- package/lib/components/ecocup/cupProject/index.js +0 -135
- package/lib/components/ecocup/cupProject/index.less +0 -41
- package/lib/components/ecocup/customerList/const.d.ts +0 -44
- package/lib/components/ecocup/customerList/const.js +0 -93
- package/lib/components/ecocup/customerList/hooks/index.d.ts +0 -3
- package/lib/components/ecocup/customerList/hooks/useColumns.d.ts +0 -15
- package/lib/components/ecocup/customerList/hooks/useColumns.js +0 -89
- package/lib/components/ecocup/customerList/hooks/useCustomerApi.d.ts +0 -15
- package/lib/components/ecocup/customerList/hooks/useCustomerApi.js +0 -56
- package/lib/components/ecocup/customerList/index.d.ts +0 -7
- package/lib/components/ecocup/customerList/index.js +0 -138
- package/lib/components/ecocup/customerList/index.less +0 -15
- package/lib/components/ecocup/hooks.d.ts +0 -57
- package/lib/components/ecocup/hooks.js +0 -169
- package/lib/components/ecocup/locales.d.ts +0 -653
- package/lib/components/ecocup/locales.js +0 -706
- package/lib/components/ecocup/types.d.ts +0 -103
- package/lib/components/ecocup/types.js +0 -57
- package/lib/components/ecocup/utils/download.d.ts +0 -7
- package/lib/components/ecocup/utils/download.js +0 -47
- package/lib/components/ecocup/utils/index.d.ts +0 -2
- package/lib/components/ecocup/utils/index.js +0 -42
- package/lib/components/ecocup/utils/scanListener.d.ts +0 -20
- package/lib/components/ecocup/utils/scanListener.js +0 -90
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/components/TDSErrorModal/index.d.ts +0 -34
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/components/TDSErrorModal/index.js +0 -107
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/components/TDSErrorModal/index.less +0 -52
- package/lib/components/systemSettings/registry/components/DataSourceTreeSelect/index.d.ts +0 -59
- package/lib/components/systemSettings/registry/components/DataSourceTreeSelect/index.js +0 -228
- package/lib/components/systemSettings/registry/components/DataSourceTreeSelect/serve.d.ts +0 -70
- package/lib/components/systemSettings/registry/components/DataSourceTreeSelect/serve.js +0 -195
- package/lib/components/systemSettings/registry/components/OptionDataSource/OptionTable.d.ts +0 -8
- package/lib/components/systemSettings/registry/components/OptionDataSource/OptionTable.js +0 -166
- package/lib/components/systemSettings/registry/components/OptionDataSource/index.d.ts +0 -10
- package/lib/components/systemSettings/registry/components/OptionDataSource/index.js +0 -210
- package/lib/components/systemSettings/registry/components/OptionDataSource/index.less +0 -37
- package/lib/hooks/useThemeTokens.d.ts +0 -7
- package/lib/hooks/useThemeTokens.js +0 -40
- package/lib/hooks/useTranslationOriginal.d.ts +0 -1
- package/lib/hooks/useTranslationOriginal.js +0 -42
- package/lib/plus/clientCard/index.d.ts +0 -7
- package/lib/plus/clientCard/index.js +0 -457
- package/lib/plus/clientCard/index.less +0 -515
- package/lib/plus/clientCard/line/index.d.ts +0 -9
- package/lib/plus/clientCard/line/index.js +0 -153
- package/lib/plus/clientCard/line/index.less +0 -142
- package/lib/plus/clientCard/locales.d.ts +0 -28
- package/lib/plus/clientCard/locales.js +0 -51
- package/lib/plus/clientCard/types.d.ts +0 -135
- package/lib/plus/clientCard/types.js +0 -17
- package/lib/plus/clientCard/utils.d.ts +0 -8
- package/lib/plus/clientCard/utils.js +0 -75
- package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +0 -3
- package/lib/plus/clinetSearch/Add/BirthdayField/index.js +0 -256
- package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +0 -3
- package/lib/plus/clinetSearch/Add/GenderField/index.js +0 -52
- package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -3
- package/lib/plus/clinetSearch/Add/PhoneField/index.js +0 -78
- package/lib/plus/clinetSearch/Add/PhoneField/serve.d.ts +0 -2
- package/lib/plus/clinetSearch/Add/PhoneField/serve.js +0 -193
- package/lib/plus/clinetSearch/Add/index.d.ts +0 -18
- package/lib/plus/clinetSearch/Add/index.js +0 -244
- package/lib/plus/clinetSearch/Add/index.less +0 -30
- package/lib/plus/clinetSearch/InfiniteScroll/InfiniteScroll.d.ts +0 -5
- package/lib/plus/clinetSearch/InfiniteScroll/InfiniteScroll.js +0 -235
- package/lib/plus/clinetSearch/InfiniteScroll/index.d.ts +0 -2
- package/lib/plus/clinetSearch/InfiniteScroll/index.js +0 -35
- package/lib/plus/clinetSearch/InfiniteScroll/types.d.ts +0 -46
- package/lib/plus/clinetSearch/InfiniteScroll/types.js +0 -17
- package/lib/plus/clinetSearch/index.d.ts +0 -18
- package/lib/plus/clinetSearch/index.js +0 -237
- package/lib/plus/clinetSearch/index.less +0 -95
- package/lib/plus/clinetSearch/locales.d.ts +0 -178
- package/lib/plus/clinetSearch/locales.js +0 -201
- package/lib/plus/clinetSearch/serve.d.ts +0 -1
- package/lib/plus/clinetSearch/types.d.ts +0 -70
- package/lib/plus/clinetSearch/types.js +0 -17
- package/lib/plus/orderList/components/BatchActionBar.d.ts +0 -9
- package/lib/plus/orderList/components/BatchActionBar.js +0 -567
- package/lib/plus/orderList/components/FilterList.d.ts +0 -8
- package/lib/plus/orderList/components/FilterList.js +0 -121
- package/lib/plus/orderList/components/HandleActions.d.ts +0 -6
- package/lib/plus/orderList/components/HandleActions.js +0 -52
- package/lib/plus/orderList/components/QuickFilter.d.ts +0 -5
- package/lib/plus/orderList/components/QuickFilter.js +0 -43
- package/lib/plus/orderList/components/Reset.d.ts +0 -7
- package/lib/plus/orderList/components/Reset.js +0 -58
- package/lib/plus/orderList/components/Toolbar.d.ts +0 -7
- package/lib/plus/orderList/components/Toolbar.js +0 -68
- package/lib/plus/orderList/config.d.ts +0 -155
- package/lib/plus/orderList/config.js +0 -764
- package/lib/plus/orderList/index.d.ts +0 -10
- package/lib/plus/orderList/index.js +0 -132
- package/lib/plus/orderList/index.less +0 -125
- package/lib/plus/orderList/locales.d.ts +0 -618
- package/lib/plus/orderList/locales.js +0 -737
- package/lib/plus/orderList/serve.d.ts +0 -42
- package/lib/plus/orderList/serve.js +0 -177
- package/lib/plus/pisellSalesGrid/PisellSalesGrid.d.ts +0 -5
- package/lib/plus/pisellSalesGrid/PisellSalesGrid.js +0 -339
- package/lib/plus/pisellSalesGrid/PisellSalesGrid.less +0 -16
- package/lib/plus/pisellSalesGrid/PisellSalesGrid.stories.d.ts +0 -14
- package/lib/plus/pisellSalesGrid/PisellSalesGrid.stories.js +0 -455
- package/lib/plus/pisellSalesGrid/hooks/useActions.d.ts +0 -19
- package/lib/plus/pisellSalesGrid/hooks/useActions.js +0 -545
- package/lib/plus/pisellSalesGrid/index.d.ts +0 -4
- package/lib/plus/pisellSalesGrid/index.js +0 -42
- package/lib/plus/pisellSalesGrid/locales.d.ts +0 -9
- package/lib/plus/pisellSalesGrid/locales.js +0 -29
- package/lib/plus/pisellSalesGrid/serve.d.ts +0 -19
- package/lib/plus/pisellSalesGrid/serve.js +0 -142
- package/lib/plus/pisellSalesGrid/types.d.ts +0 -170
- package/lib/plus/pisellSalesGrid/types.js +0 -17
- package/lib/plus/pisellSalesManagement/components/BookingFormsPreview.d.ts +0 -15
- package/lib/plus/pisellSalesManagement/components/BookingFormsPreview.js +0 -253
- package/lib/plus/pisellSalesManagement/components/BookingNotesPreview.d.ts +0 -19
- package/lib/plus/pisellSalesManagement/components/BookingNotesPreview.js +0 -193
- package/lib/plus/pisellSalesManagement/components/ResourceSelector.d.ts +0 -9
- package/lib/plus/pisellSalesManagement/components/ResourceSelector.js +0 -106
- package/lib/plus/pisellSalesManagement/config/booking.d.ts +0 -185
- package/lib/plus/pisellSalesManagement/config/booking.js +0 -500
- package/lib/plus/pisellSalesManagement/config/index.d.ts +0 -2
- package/lib/plus/pisellSalesManagement/config/index.js +0 -43
- package/lib/plus/pisellSalesManagement/config/order.d.ts +0 -172
- package/lib/plus/pisellSalesManagement/config/order.js +0 -492
- package/lib/plus/pisellSalesManagement/hooks/perspectiveUtils.d.ts +0 -15
- package/lib/plus/pisellSalesManagement/hooks/perspectiveUtils.js +0 -113
- package/lib/plus/pisellSalesManagement/hooks/useBookingPerspective.d.ts +0 -2
- package/lib/plus/pisellSalesManagement/hooks/useBookingPerspective.js +0 -699
- package/lib/plus/pisellSalesManagement/hooks/useOrderPerspective.d.ts +0 -2
- package/lib/plus/pisellSalesManagement/hooks/useOrderPerspective.js +0 -700
- package/lib/plus/pisellSalesManagement/hooks/usePerspectives.d.ts +0 -5
- package/lib/plus/pisellSalesManagement/hooks/usePerspectives.js +0 -42
- package/lib/plus/pisellSalesManagement/index.d.ts +0 -10
- package/lib/plus/pisellSalesManagement/index.js +0 -113
- package/lib/plus/pisellSalesManagement/locales.d.ts +0 -303
- package/lib/plus/pisellSalesManagement/locales.js +0 -326
- package/lib/plus/pisellSalesManagement/serve.d.ts +0 -26
- package/lib/plus/pisellSalesManagement/serve.js +0 -120
- package/lib/plus/saasAttendance/index.d.ts +0 -6
- package/lib/plus/saasAttendance/index.js +0 -39
- package/lib/plus/saasAttendance/locales.d.ts +0 -591
- package/lib/plus/saasAttendance/locales.js +0 -615
- package/lib/plus/saasAttendance/settings/BasicInfoTab.d.ts +0 -5
- package/lib/plus/saasAttendance/settings/BasicInfoTab.js +0 -152
- package/lib/plus/saasAttendance/settings/ClockInMethodTab.d.ts +0 -8
- package/lib/plus/saasAttendance/settings/ClockInMethodTab.js +0 -88
- package/lib/plus/saasAttendance/settings/CorrectionPolicyTab.d.ts +0 -8
- package/lib/plus/saasAttendance/settings/CorrectionPolicyTab.js +0 -369
- package/lib/plus/saasAttendance/settings/PermissonTab.d.ts +0 -5
- package/lib/plus/saasAttendance/settings/PermissonTab.js +0 -128
- package/lib/plus/saasAttendance/settings/ShiftScheduleTab.d.ts +0 -5
- package/lib/plus/saasAttendance/settings/ShiftScheduleTab.js +0 -107
- package/lib/plus/saasAttendance/settings/components/MapField.d.ts +0 -78
- package/lib/plus/saasAttendance/settings/components/MapField.js +0 -670
- package/lib/plus/saasAttendance/settings/components/index.d.ts +0 -3
- package/lib/plus/saasAttendance/settings/components/index.js +0 -42
- package/lib/plus/saasAttendance/settings/components/membersField/index.d.ts +0 -8
- package/lib/plus/saasAttendance/settings/components/membersField/index.js +0 -247
- package/lib/plus/saasAttendance/settings/components/membersField/index.less +0 -70
- package/lib/plus/saasAttendance/settings/components/shiftModal/ShiftPreview.d.ts +0 -7
- package/lib/plus/saasAttendance/settings/components/shiftModal/ShiftPreview.js +0 -150
- package/lib/plus/saasAttendance/settings/components/shiftModal/ShiftPreview.less +0 -119
- package/lib/plus/saasAttendance/settings/components/shiftModal/index.d.ts +0 -18
- package/lib/plus/saasAttendance/settings/components/shiftModal/index.js +0 -447
- package/lib/plus/saasAttendance/settings/index.d.ts +0 -18
- package/lib/plus/saasAttendance/settings/index.js +0 -295
- package/lib/plus/saasAttendance/settings/index.less +0 -510
- package/lib/plus/saasAttendance/settings/serve.d.ts +0 -27
- package/lib/plus/saasAttendance/settings/types.d.ts +0 -136
- package/lib/plus/saasAttendance/settings/types.js +0 -17
- package/lib/plus/saasRole/components/PermissionManager/index.d.ts +0 -19
- package/lib/plus/saasRole/components/PermissionManager/index.js +0 -159
- package/lib/plus/saasRole/components/PermissionManager/index.less +0 -71
- package/lib/plus/saasRole/index.d.ts +0 -14
- package/lib/plus/saasRole/index.js +0 -780
- package/lib/plus/saasRole/index.less +0 -196
- package/lib/plus/saasRole/locales.d.ts +0 -319
- package/lib/plus/saasRole/locales.js +0 -345
- package/lib/plus/saasRole/serve.d.ts +0 -72
- package/lib/plus/saasRole/serve.js +0 -100
- package/lib/plus/saasRole/types.d.ts +0 -177
- package/lib/plus/saasRole/types.js +0 -17
- package/lib/plus/saasRole/utils.d.ts +0 -0
- package/lib/plus/saasRole/utils.js +0 -0
- package/lib/plus/saasTeamMembers/components/MemberDrawer/ExtensionFormTabContent.d.ts +0 -31
- package/lib/plus/saasTeamMembers/components/MemberDrawer/ExtensionFormTabContent.js +0 -393
- package/lib/plus/saasTeamMembers/components/MemberDrawer/index.d.ts +0 -23
- package/lib/plus/saasTeamMembers/components/MemberDrawer/index.js +0 -672
- package/lib/plus/saasTeamMembers/components/MemberDrawer/index.less +0 -178
- package/lib/plus/saasTeamMembers/index.d.ts +0 -5
- package/lib/plus/saasTeamMembers/index.js +0 -448
- package/lib/plus/saasTeamMembers/index.less +0 -87
- package/lib/plus/saasTeamMembers/locales.d.ts +0 -546
- package/lib/plus/saasTeamMembers/locales.js +0 -617
- package/lib/plus/saasTeamMembers/serve.d.ts +0 -95
- package/lib/plus/saasTeamMembers/serve.js +0 -132
- package/lib/plus/saasTeamMembers/type.d.ts +0 -158
- package/lib/plus/saasTeamMembers/type.js +0 -17
- package/lib/pro/Cards/components/SKUCard/locales.d.ts +0 -12
- package/lib/pro/Cards/components/SKUCard/locales.js +0 -35
- package/lib/pro/Cards/components/SKUCard/types.d.ts +0 -73
- package/lib/pro/Cards/components/SKUCard/types.js +0 -17
- package/lib/pro/Selector/components/LayoutContainer/index.less +0 -19
- package/lib/pro/comprehensiveSearch/components/deviceIconGroup/index.d.ts +0 -11
- package/lib/pro/comprehensiveSearch/components/deviceIconGroup/index.js +0 -64
- package/lib/pro/comprehensiveSearch/components/deviceIconGroup/index.less +0 -28
- package/lib/pro/comprehensiveSearch/components/index.d.ts +0 -2
- package/lib/pro/comprehensiveSearch/components/index.js +0 -42
- package/lib/pro/comprehensiveSearch/components/searchSection/index.d.ts +0 -24
- package/lib/pro/comprehensiveSearch/components/searchSection/index.js +0 -154
- package/lib/pro/comprehensiveSearch/components/searchSection/index.less +0 -100
- package/lib/pro/comprehensiveSearch/components/searchSection/locales.d.ts +0 -23
- package/lib/pro/comprehensiveSearch/components/searchSection/locales.js +0 -46
- package/lib/pro/comprehensiveSearch/hooks/useNativeScanner.d.ts +0 -5
- package/lib/pro/comprehensiveSearch/hooks/useNativeScanner.js +0 -56
- package/lib/pro/comprehensiveSearch/hooks/useTerminalPeripherals.d.ts +0 -9
- package/lib/pro/comprehensiveSearch/hooks/useTerminalPeripherals.js +0 -70
- package/lib/pro/comprehensiveSearch/index.d.ts +0 -7
- package/lib/pro/comprehensiveSearch/index.js +0 -190
- package/lib/pro/comprehensiveSearch/index.less +0 -196
- package/lib/pro/comprehensiveSearch/locales.d.ts +0 -23
- package/lib/pro/comprehensiveSearch/locales.js +0 -46
- package/lib/pro/comprehensiveSearch/types.d.ts +0 -32
- package/lib/pro/comprehensiveSearch/types.js +0 -17
- package/lib/pro/keyboards/index.d.ts +0 -2
- package/lib/pro/keyboards/index.js +0 -39
- package/lib/pro/keyboards/locales.d.ts +0 -38
- package/lib/pro/keyboards/locales.js +0 -61
- package/lib/pro/keyboards/numberKeyboard/index.d.ts +0 -16
- package/lib/pro/keyboards/numberKeyboard/index.js +0 -400
- package/lib/pro/keyboards/numberKeyboard/index.less +0 -59
- package/lib/pro/keyboards/numberKeyboard/types.d.ts +0 -63
- package/lib/pro/keyboards/numberKeyboard/types.js +0 -17
- package/lib/pro/pisellPhoneKeyboard/index.d.ts +0 -13
- package/lib/pro/pisellPhoneKeyboard/index.js +0 -219
- package/lib/pro/pisellPhoneKeyboard/index.less +0 -157
- package/lib/pro/pisellPhoneKeyboard/locales.d.ts +0 -18
- package/lib/pro/pisellPhoneKeyboard/locales.js +0 -41
- package/lowcode/client-card/fragments/cardStyle.ts +0 -63
- package/lowcode/client-card/fragments/nameStyle.ts +0 -34
- package/lowcode/client-card/fragments/pisellAvatar.ts +0 -87
- package/lowcode/client-card/fragments/tagConfig.ts +0 -88
- package/lowcode/client-card/meta.ts +0 -343
- package/lowcode/client-search/meta.ts +0 -316
- package/lowcode/eco-cup-list/meta.ts +0 -27
- package/lowcode/eco-customer-list/meta.ts +0 -27
- package/lowcode/ecocup-cup-list/meta.ts +0 -38
- package/lowcode/ecocup-cup-project/meta.ts +0 -35
- package/lowcode/ecocup-customer-list/meta.ts +0 -38
- package/lowcode/order-list/meta.ts +0 -87
- package/lowcode/pisell-sales-management/meta.ts +0 -88
- package/lowcode/saas-attendance-settings/meta.ts +0 -56
- package/lowcode/saas-role/meta.ts +0 -35
- package/lowcode/saas-team-members/meta.ts +0 -35
|
@@ -12,7 +12,6 @@ import dayjs from 'dayjs';
|
|
|
12
12
|
import { sendWarningLog } from '@pisell/utils';
|
|
13
13
|
import { PisellToast } from '@pisell/materials';
|
|
14
14
|
import { setPayNumber } from "../../payGroup";
|
|
15
|
-
import { getUniqueIdempotencyToken } from "../../utils";
|
|
16
15
|
var REACT_APP_API_ENV = process.env.REACT_APP_API_ENV;
|
|
17
16
|
var paymentInfo = {
|
|
18
17
|
transactionInfo: {
|
|
@@ -31,25 +30,6 @@ var paymentInfo = {
|
|
|
31
30
|
};
|
|
32
31
|
var paymentData = {};
|
|
33
32
|
var postmessageUrl = 'merchantwarrior';
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* 当前活跃的 message 监听器清理函数。
|
|
37
|
-
* 步骤3(createThreeDSMethodIframe)和步骤5(createChallengeIframe)
|
|
38
|
-
* 各自注册 window message 监听器时会存入此变量,
|
|
39
|
-
* 供组件卸载或新流程启动时清理残留监听器 + reject 挂起的 Promise。
|
|
40
|
-
*/
|
|
41
|
-
var activeCleanup = null;
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* 取消当前支付流程中残留的 message 监听器和定时器,
|
|
45
|
-
* 并 reject 挂起的 Promise 使 startPayment 的 await 结束。
|
|
46
|
-
* reject 值为 0,startPayment catch 中 `if (err === 0) return` 会静默处理。
|
|
47
|
-
*/
|
|
48
|
-
export var cancelCurrentPayment = function cancelCurrentPayment() {
|
|
49
|
-
var _activeCleanup;
|
|
50
|
-
(_activeCleanup = activeCleanup) === null || _activeCleanup === void 0 || _activeCleanup();
|
|
51
|
-
activeCleanup = null;
|
|
52
|
-
};
|
|
53
33
|
var log = function log(data) {
|
|
54
34
|
var _template = {
|
|
55
35
|
module: module,
|
|
@@ -76,6 +56,7 @@ var setHistoryLog = function setHistoryLog(log) {
|
|
|
76
56
|
var getCurrentTime = function getCurrentTime() {
|
|
77
57
|
return dayjs().format('YYYY-MM-DD HH:mm:ss');
|
|
78
58
|
};
|
|
59
|
+
|
|
79
60
|
/**
|
|
80
61
|
* @title: 点击支付
|
|
81
62
|
* @description:
|
|
@@ -85,18 +66,17 @@ var getCurrentTime = function getCurrentTime() {
|
|
|
85
66
|
* @Date: 2022-10-22 10:05
|
|
86
67
|
*/
|
|
87
68
|
export var startPayment = /*#__PURE__*/function () {
|
|
88
|
-
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(_ref,
|
|
89
|
-
var orderId, cardInfo, payData,
|
|
69
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(_ref, callback) {
|
|
70
|
+
var orderId, cardInfo, payData, paymentInfo, step2, step3, step4, step5;
|
|
90
71
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
91
72
|
while (1) switch (_context.prev = _context.next) {
|
|
92
73
|
case 0:
|
|
93
74
|
orderId = _ref.orderId, cardInfo = _ref.cardInfo, payData = _ref.payData;
|
|
94
|
-
_ref3 = options || {}, callback = _ref3.callback, isCancelled = _ref3.isCancelled;
|
|
95
75
|
paymentInfo = {
|
|
96
76
|
amount: 0,
|
|
97
77
|
order_id: 0
|
|
98
78
|
};
|
|
99
|
-
_context.prev =
|
|
79
|
+
_context.prev = 2;
|
|
100
80
|
paymentData = {
|
|
101
81
|
orderId: orderId,
|
|
102
82
|
logList: []
|
|
@@ -111,40 +91,30 @@ export var startPayment = /*#__PURE__*/function () {
|
|
|
111
91
|
|
|
112
92
|
// 提交卡信息到后端, 如果有 payData, 则直接使用传入数据
|
|
113
93
|
if (!payData) {
|
|
114
|
-
_context.next =
|
|
94
|
+
_context.next = 9;
|
|
115
95
|
break;
|
|
116
96
|
}
|
|
117
97
|
_context.t0 = payData;
|
|
118
|
-
_context.next = 13;
|
|
119
|
-
break;
|
|
120
|
-
case 10:
|
|
121
98
|
_context.next = 12;
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
case
|
|
99
|
+
break;
|
|
100
|
+
case 9:
|
|
101
|
+
_context.next = 11;
|
|
102
|
+
return checkEnrollment(orderId, cardInfo, callback);
|
|
103
|
+
case 11:
|
|
127
104
|
_context.t0 = _context.sent;
|
|
128
|
-
case
|
|
105
|
+
case 12:
|
|
129
106
|
step2 = _context.t0;
|
|
130
|
-
if (!(isCancelled !== null && isCancelled !== void 0 && isCancelled())) {
|
|
131
|
-
_context.next = 17;
|
|
132
|
-
break;
|
|
133
|
-
}
|
|
134
|
-
closeIframe();
|
|
135
|
-
return _context.abrupt("return");
|
|
136
|
-
case 17:
|
|
137
107
|
setHistoryLog({
|
|
138
108
|
msg: '步骤2完成: 提交卡信息到后端',
|
|
139
109
|
time: getCurrentTime(),
|
|
140
110
|
hasStep2: !!step2
|
|
141
111
|
});
|
|
142
112
|
if (!(step2 === 0)) {
|
|
143
|
-
_context.next =
|
|
113
|
+
_context.next = 16;
|
|
144
114
|
break;
|
|
145
115
|
}
|
|
146
116
|
return _context.abrupt("return");
|
|
147
|
-
case
|
|
117
|
+
case 16:
|
|
148
118
|
paymentData.step2 = step2;
|
|
149
119
|
paymentInfo.amount = step2.amount;
|
|
150
120
|
paymentInfo.order_id = step2.order_id;
|
|
@@ -155,17 +125,10 @@ export var startPayment = /*#__PURE__*/function () {
|
|
|
155
125
|
});
|
|
156
126
|
|
|
157
127
|
// 监听postMessage
|
|
158
|
-
_context.next =
|
|
128
|
+
_context.next = 23;
|
|
159
129
|
return createThreeDSMethodIframe(step2, callback);
|
|
160
|
-
case
|
|
130
|
+
case 23:
|
|
161
131
|
step3 = _context.sent;
|
|
162
|
-
if (!(isCancelled !== null && isCancelled !== void 0 && isCancelled())) {
|
|
163
|
-
_context.next = 31;
|
|
164
|
-
break;
|
|
165
|
-
}
|
|
166
|
-
closeIframe();
|
|
167
|
-
return _context.abrupt("return");
|
|
168
|
-
case 31:
|
|
169
132
|
paymentData.step3 = step3;
|
|
170
133
|
setHistoryLog({
|
|
171
134
|
msg: '步骤3完成: iframe监听结束',
|
|
@@ -173,11 +136,11 @@ export var startPayment = /*#__PURE__*/function () {
|
|
|
173
136
|
step3Result: step3
|
|
174
137
|
});
|
|
175
138
|
if (!(step3 === 'N')) {
|
|
176
|
-
_context.next =
|
|
139
|
+
_context.next = 28;
|
|
177
140
|
break;
|
|
178
141
|
}
|
|
179
142
|
return _context.abrupt("return");
|
|
180
|
-
case
|
|
143
|
+
case 28:
|
|
181
144
|
setHistoryLog({
|
|
182
145
|
msg: '步骤4开始: 调用checkTDSAuth',
|
|
183
146
|
time: getCurrentTime(),
|
|
@@ -186,53 +149,36 @@ export var startPayment = /*#__PURE__*/function () {
|
|
|
186
149
|
});
|
|
187
150
|
|
|
188
151
|
// 提交token至后端
|
|
189
|
-
_context.next =
|
|
190
|
-
return checkTDSAuth(step2, step3,
|
|
191
|
-
|
|
192
|
-
isCancelled: isCancelled
|
|
193
|
-
});
|
|
194
|
-
case 38:
|
|
152
|
+
_context.next = 31;
|
|
153
|
+
return checkTDSAuth(step2, step3, callback);
|
|
154
|
+
case 31:
|
|
195
155
|
step4 = _context.sent;
|
|
196
|
-
if (!(isCancelled !== null && isCancelled !== void 0 && isCancelled())) {
|
|
197
|
-
_context.next = 42;
|
|
198
|
-
break;
|
|
199
|
-
}
|
|
200
|
-
closeIframe();
|
|
201
|
-
return _context.abrupt("return");
|
|
202
|
-
case 42:
|
|
203
156
|
setHistoryLog({
|
|
204
157
|
msg: '步骤4完成: checkTDSAuth 返回',
|
|
205
158
|
time: getCurrentTime(),
|
|
206
159
|
hasStep4: !!step4
|
|
207
160
|
});
|
|
208
161
|
if (!(step4 === 0)) {
|
|
209
|
-
_context.next =
|
|
162
|
+
_context.next = 35;
|
|
210
163
|
break;
|
|
211
164
|
}
|
|
212
165
|
return _context.abrupt("return");
|
|
213
|
-
case
|
|
166
|
+
case 35:
|
|
214
167
|
paymentData.step4 = step4;
|
|
215
168
|
|
|
216
169
|
// 返回数据执行步骤5, 没有则略过 5&6
|
|
217
170
|
if (!step4) {
|
|
218
|
-
_context.next =
|
|
171
|
+
_context.next = 47;
|
|
219
172
|
break;
|
|
220
173
|
}
|
|
221
174
|
setHistoryLog({
|
|
222
175
|
msg: '步骤5开始: 创建challenge iframe',
|
|
223
176
|
time: getCurrentTime()
|
|
224
177
|
});
|
|
225
|
-
_context.next =
|
|
178
|
+
_context.next = 40;
|
|
226
179
|
return createChallengeIframe(step4, callback);
|
|
227
|
-
case
|
|
180
|
+
case 40:
|
|
228
181
|
step5 = _context.sent;
|
|
229
|
-
if (!(isCancelled !== null && isCancelled !== void 0 && isCancelled())) {
|
|
230
|
-
_context.next = 54;
|
|
231
|
-
break;
|
|
232
|
-
}
|
|
233
|
-
closeIframe();
|
|
234
|
-
return _context.abrupt("return");
|
|
235
|
-
case 54:
|
|
236
182
|
paymentData.step5 = step5;
|
|
237
183
|
setHistoryLog({
|
|
238
184
|
msg: '步骤5完成: challenge iframe结束',
|
|
@@ -244,29 +190,15 @@ export var startPayment = /*#__PURE__*/function () {
|
|
|
244
190
|
});
|
|
245
191
|
|
|
246
192
|
// 步骤6, 换取token
|
|
247
|
-
_context.next =
|
|
193
|
+
_context.next = 46;
|
|
248
194
|
return checkPARes(step2, step4, step5);
|
|
249
|
-
case
|
|
250
|
-
if (!(isCancelled !== null && isCancelled !== void 0 && isCancelled())) {
|
|
251
|
-
_context.next = 62;
|
|
252
|
-
break;
|
|
253
|
-
}
|
|
254
|
-
closeIframe();
|
|
255
|
-
return _context.abrupt("return");
|
|
256
|
-
case 62:
|
|
195
|
+
case 46:
|
|
257
196
|
setHistoryLog({
|
|
258
197
|
msg: '步骤6完成: check_pares接口返回',
|
|
259
198
|
time: getCurrentTime()
|
|
260
199
|
});
|
|
261
|
-
case
|
|
262
|
-
|
|
263
|
-
_context.next = 66;
|
|
264
|
-
break;
|
|
265
|
-
}
|
|
266
|
-
closeIframe();
|
|
267
|
-
return _context.abrupt("return");
|
|
268
|
-
case 66:
|
|
269
|
-
callback === null || callback === void 0 || callback({
|
|
200
|
+
case 47:
|
|
201
|
+
callback({
|
|
270
202
|
key: 'hideModal'
|
|
271
203
|
});
|
|
272
204
|
setHistoryLog({
|
|
@@ -279,67 +211,50 @@ export var startPayment = /*#__PURE__*/function () {
|
|
|
279
211
|
status: 'success'
|
|
280
212
|
}, paymentInfo), callback);
|
|
281
213
|
return _context.abrupt("return", true);
|
|
282
|
-
case
|
|
283
|
-
_context.prev =
|
|
284
|
-
_context.t1 = _context["catch"](
|
|
214
|
+
case 53:
|
|
215
|
+
_context.prev = 53;
|
|
216
|
+
_context.t1 = _context["catch"](2);
|
|
285
217
|
console.log('error', _context.t1);
|
|
286
218
|
setHistoryLog({
|
|
287
219
|
msg: '支付异常',
|
|
288
220
|
time: getCurrentTime(),
|
|
289
|
-
error: _context.t1
|
|
290
|
-
errorCode: _context.t1 === null || _context.t1 === void 0 ? void 0 : _context.t1.code
|
|
221
|
+
error: _context.t1
|
|
291
222
|
});
|
|
292
|
-
|
|
293
|
-
if (!(isCancelled !== null && isCancelled !== void 0 && isCancelled())) {
|
|
294
|
-
_context.next = 79;
|
|
295
|
-
break;
|
|
296
|
-
}
|
|
297
|
-
return _context.abrupt("return");
|
|
298
|
-
case 79:
|
|
299
|
-
callback === null || callback === void 0 || callback({
|
|
223
|
+
callback({
|
|
300
224
|
key: 'hideModal'
|
|
301
225
|
});
|
|
226
|
+
closeIframe();
|
|
302
227
|
if (!(_context.t1 === 0)) {
|
|
303
|
-
_context.next =
|
|
228
|
+
_context.next = 61;
|
|
304
229
|
break;
|
|
305
230
|
}
|
|
306
231
|
return _context.abrupt("return");
|
|
307
|
-
case
|
|
308
|
-
if (!((_context.t1 === null || _context.t1 === void 0 ? void 0 : _context.t1.code) === 700500)) {
|
|
309
|
-
_context.next = 85;
|
|
310
|
-
break;
|
|
311
|
-
}
|
|
312
|
-
callback === null || callback === void 0 || callback({
|
|
313
|
-
key: 'bankVerifyFailed'
|
|
314
|
-
});
|
|
315
|
-
return _context.abrupt("return", false);
|
|
316
|
-
case 85:
|
|
232
|
+
case 61:
|
|
317
233
|
paymentData.error = _context.t1;
|
|
318
234
|
paymentEnd(_objectSpread({
|
|
319
235
|
status: 'fail'
|
|
320
236
|
}, paymentInfo), callback);
|
|
321
237
|
return _context.abrupt("return", false);
|
|
322
|
-
case
|
|
238
|
+
case 64:
|
|
323
239
|
case "end":
|
|
324
240
|
return _context.stop();
|
|
325
241
|
}
|
|
326
|
-
}, _callee, null, [[
|
|
242
|
+
}, _callee, null, [[2, 53]]);
|
|
327
243
|
}));
|
|
328
244
|
return function startPayment(_x, _x2) {
|
|
329
245
|
return _ref2.apply(this, arguments);
|
|
330
246
|
};
|
|
331
247
|
}();
|
|
332
248
|
|
|
333
|
-
|
|
334
|
-
* @title:
|
|
335
|
-
* @description:
|
|
336
|
-
*
|
|
337
|
-
* @
|
|
338
|
-
* @
|
|
339
|
-
* @return {Promise<any>} 返回后端数据(含 pay_info),失败则 throw
|
|
249
|
+
/*******
|
|
250
|
+
* @title: 步骤2
|
|
251
|
+
* @description: 提交卡信息到后端
|
|
252
|
+
* @return {*}
|
|
253
|
+
* @Author: Wzw
|
|
254
|
+
* @Date: 2022-10-18 10:26
|
|
340
255
|
*/
|
|
341
|
-
export var
|
|
342
|
-
var
|
|
256
|
+
export var checkEnrollment = /*#__PURE__*/function () {
|
|
257
|
+
var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(orderId, cardInfo, callback) {
|
|
343
258
|
var _yield$request$getReq, data;
|
|
344
259
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
345
260
|
while (1) switch (_context2.prev = _context2.next) {
|
|
@@ -355,102 +270,38 @@ export var preCheckEnrollment = /*#__PURE__*/function () {
|
|
|
355
270
|
_context2.next = 8;
|
|
356
271
|
break;
|
|
357
272
|
}
|
|
358
|
-
|
|
273
|
+
return _context2.abrupt("return", null);
|
|
359
274
|
case 8:
|
|
360
275
|
return _context2.abrupt("return", data);
|
|
361
276
|
case 11:
|
|
362
277
|
_context2.prev = 11;
|
|
363
278
|
_context2.t0 = _context2["catch"](0);
|
|
364
|
-
// 记录失败日志
|
|
365
|
-
log({
|
|
366
|
-
msg: _context2.t0,
|
|
367
|
-
data: {
|
|
368
|
-
orderId: orderId,
|
|
369
|
-
cardInfo: cardInfo
|
|
370
|
-
}
|
|
371
|
-
});
|
|
372
|
-
// 直接向上抛出,由调用方处理
|
|
373
|
-
throw _context2.t0;
|
|
374
|
-
case 15:
|
|
375
|
-
case "end":
|
|
376
|
-
return _context2.stop();
|
|
377
|
-
}
|
|
378
|
-
}, _callee2, null, [[0, 11]]);
|
|
379
|
-
}));
|
|
380
|
-
return function preCheckEnrollment(_x3, _x4) {
|
|
381
|
-
return _ref4.apply(this, arguments);
|
|
382
|
-
};
|
|
383
|
-
}();
|
|
384
|
-
|
|
385
|
-
/*******
|
|
386
|
-
* @title: 步骤2
|
|
387
|
-
* @description: 提交卡信息到后端
|
|
388
|
-
* @return {*}
|
|
389
|
-
* @Author: Wzw
|
|
390
|
-
* @Date: 2022-10-18 10:26
|
|
391
|
-
*/
|
|
392
|
-
export var checkEnrollment = /*#__PURE__*/function () {
|
|
393
|
-
var _ref5 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(orderId, cardInfo, options) {
|
|
394
|
-
var _ref6, callback, isCancelled, _yield$request$getReq2, data;
|
|
395
|
-
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
396
|
-
while (1) switch (_context3.prev = _context3.next) {
|
|
397
|
-
case 0:
|
|
398
|
-
_ref6 = options || {}, callback = _ref6.callback, isCancelled = _ref6.isCancelled;
|
|
399
|
-
_context3.prev = 1;
|
|
400
|
-
_context3.next = 4;
|
|
401
|
-
return request.getRequest().post('/h5/pay/order/mw-3ds-pay/v2/' + orderId, _objectSpread({}, cardInfo));
|
|
402
|
-
case 4:
|
|
403
|
-
_yield$request$getReq2 = _context3.sent;
|
|
404
|
-
data = _yield$request$getReq2.data;
|
|
405
|
-
if (!(isCancelled !== null && isCancelled !== void 0 && isCancelled())) {
|
|
406
|
-
_context3.next = 8;
|
|
407
|
-
break;
|
|
408
|
-
}
|
|
409
|
-
return _context3.abrupt("return", 0);
|
|
410
|
-
case 8:
|
|
411
|
-
setPayNumber(orderId, data === null || data === void 0 ? void 0 : data.pay_number);
|
|
412
|
-
if (data !== null && data !== void 0 && data.pay_info) {
|
|
413
|
-
_context3.next = 11;
|
|
414
|
-
break;
|
|
415
|
-
}
|
|
416
|
-
return _context3.abrupt("return", null);
|
|
417
|
-
case 11:
|
|
418
|
-
return _context3.abrupt("return", data);
|
|
419
|
-
case 14:
|
|
420
|
-
_context3.prev = 14;
|
|
421
|
-
_context3.t0 = _context3["catch"](1);
|
|
422
279
|
// 记录卡失败的原因
|
|
423
280
|
log({
|
|
424
|
-
msg:
|
|
281
|
+
msg: _context2.t0,
|
|
425
282
|
data: {
|
|
426
283
|
orderId: orderId,
|
|
427
284
|
cardInfo: cardInfo
|
|
428
285
|
}
|
|
429
286
|
});
|
|
430
|
-
|
|
431
|
-
_context3.next = 19;
|
|
432
|
-
break;
|
|
433
|
-
}
|
|
434
|
-
return _context3.abrupt("return", 0);
|
|
435
|
-
case 19:
|
|
436
|
-
callback === null || callback === void 0 || callback({
|
|
287
|
+
callback({
|
|
437
288
|
key: 'hideModal'
|
|
438
289
|
});
|
|
439
290
|
closeIframe();
|
|
440
291
|
PisellToast({
|
|
441
|
-
content: (
|
|
292
|
+
content: (_context2.t0 === null || _context2.t0 === void 0 ? void 0 : _context2.t0.message) || '',
|
|
442
293
|
duration: 2
|
|
443
294
|
});
|
|
444
|
-
console.log('error',
|
|
445
|
-
return
|
|
446
|
-
case
|
|
295
|
+
console.log('error', _context2.t0);
|
|
296
|
+
return _context2.abrupt("return", 0);
|
|
297
|
+
case 19:
|
|
447
298
|
case "end":
|
|
448
|
-
return
|
|
299
|
+
return _context2.stop();
|
|
449
300
|
}
|
|
450
|
-
},
|
|
301
|
+
}, _callee2, null, [[0, 11]]);
|
|
451
302
|
}));
|
|
452
|
-
return function checkEnrollment(
|
|
453
|
-
return
|
|
303
|
+
return function checkEnrollment(_x3, _x4, _x5) {
|
|
304
|
+
return _ref3.apply(this, arguments);
|
|
454
305
|
};
|
|
455
306
|
}();
|
|
456
307
|
|
|
@@ -463,27 +314,27 @@ export var checkEnrollment = /*#__PURE__*/function () {
|
|
|
463
314
|
* @Date: 2022-10-18 10:36
|
|
464
315
|
*/
|
|
465
316
|
export var createThreeDSMethodIframe = /*#__PURE__*/function () {
|
|
466
|
-
var
|
|
317
|
+
var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(threeDSMethodData, callback) {
|
|
467
318
|
var _threeDSMethodData$pa, _threeDSMethodData$pa2, _threeDSMethodData$pa3, _threeDSMethodData$pa4, _threeDSMethodData$pa5, _threeDSMethodData$pa6;
|
|
468
319
|
var defaultReturnParams, displayBox, iframe, form, input, timer;
|
|
469
|
-
return _regeneratorRuntime().wrap(function
|
|
470
|
-
while (1) switch (
|
|
320
|
+
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
321
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
471
322
|
case 0:
|
|
472
323
|
defaultReturnParams = {
|
|
473
324
|
threeDSServerTransID: (threeDSMethodData === null || threeDSMethodData === void 0 || (_threeDSMethodData$pa = threeDSMethodData.pay_info) === null || _threeDSMethodData$pa === void 0 ? void 0 : _threeDSMethodData$pa.threeDSServerTransID) || (threeDSMethodData === null || threeDSMethodData === void 0 || (_threeDSMethodData$pa2 = threeDSMethodData.pay_info) === null || _threeDSMethodData$pa2 === void 0 ? void 0 : _threeDSMethodData$pa2.paReq) || '',
|
|
474
325
|
threeDSCompInd: (threeDSMethodData === null || threeDSMethodData === void 0 || (_threeDSMethodData$pa3 = threeDSMethodData.pay_info) === null || _threeDSMethodData$pa3 === void 0 ? void 0 : _threeDSMethodData$pa3.threeDSCompInd) || 'N'
|
|
475
326
|
}; // 有返回 threeDSServerTransID 直接走第4步
|
|
476
327
|
if (!(threeDSMethodData !== null && threeDSMethodData !== void 0 && (_threeDSMethodData$pa4 = threeDSMethodData.pay_info) !== null && _threeDSMethodData$pa4 !== void 0 && _threeDSMethodData$pa4.threeDSServerTransID && threeDSMethodData !== null && threeDSMethodData !== void 0 && (_threeDSMethodData$pa5 = threeDSMethodData.pay_info) !== null && _threeDSMethodData$pa5 !== void 0 && _threeDSMethodData$pa5.threeDSCompInd)) {
|
|
477
|
-
|
|
328
|
+
_context3.next = 3;
|
|
478
329
|
break;
|
|
479
330
|
}
|
|
480
|
-
return
|
|
331
|
+
return _context3.abrupt("return", defaultReturnParams);
|
|
481
332
|
case 3:
|
|
482
333
|
if (!(!(threeDSMethodData !== null && threeDSMethodData !== void 0 && threeDSMethodData.pay_info.acsURL) || typeof (threeDSMethodData === null || threeDSMethodData === void 0 || (_threeDSMethodData$pa6 = threeDSMethodData.pay_info) === null || _threeDSMethodData$pa6 === void 0 ? void 0 : _threeDSMethodData$pa6.acsURL) !== 'string')) {
|
|
483
|
-
|
|
334
|
+
_context3.next = 5;
|
|
484
335
|
break;
|
|
485
336
|
}
|
|
486
|
-
return
|
|
337
|
+
return _context3.abrupt("return", defaultReturnParams);
|
|
487
338
|
case 5:
|
|
488
339
|
displayBox = document.getElementById('threeds-container'); // 清空dom中的内容
|
|
489
340
|
displayBox.innerHTML = '';
|
|
@@ -514,9 +365,17 @@ export var createThreeDSMethodIframe = /*#__PURE__*/function () {
|
|
|
514
365
|
form.method = 'post';
|
|
515
366
|
form.submit();
|
|
516
367
|
timer = null; // 返回promise
|
|
517
|
-
return
|
|
368
|
+
return _context3.abrupt("return", new Promise(function (res, rej) {
|
|
518
369
|
var _threeDSMethodData$pa7;
|
|
519
|
-
|
|
370
|
+
// 10秒内没有成功则走N逻辑
|
|
371
|
+
timer = setTimeout(function () {
|
|
372
|
+
res(defaultReturnParams);
|
|
373
|
+
log({
|
|
374
|
+
msg: '第三步: 10秒超时则走N逻辑',
|
|
375
|
+
data: threeDSMethodData
|
|
376
|
+
});
|
|
377
|
+
}, (threeDSMethodData === null || threeDSMethodData === void 0 || (_threeDSMethodData$pa7 = threeDSMethodData.pay_info) === null || _threeDSMethodData$pa7 === void 0 ? void 0 : _threeDSMethodData$pa7.tdsMethodTimeoutMS) || 10000);
|
|
378
|
+
window.addEventListener('message', function (event) {
|
|
520
379
|
// 判断域名
|
|
521
380
|
if (event.origin.indexOf(postmessageUrl) !== -1 || event.origin.indexOf('securesuite') !== -1) {
|
|
522
381
|
// 返回 threeDSServerTransID 则 res
|
|
@@ -529,8 +388,6 @@ export var createThreeDSMethodIframe = /*#__PURE__*/function () {
|
|
|
529
388
|
if (timer) {
|
|
530
389
|
clearTimeout(timer);
|
|
531
390
|
}
|
|
532
|
-
// 移除监听器,防止重复触发
|
|
533
|
-
window.removeEventListener('message', handleMessage);
|
|
534
391
|
// 10秒内成功则走Y逻辑
|
|
535
392
|
res({
|
|
536
393
|
threeDSServerTransID: event.data.threeDSServerTransID,
|
|
@@ -538,33 +395,16 @@ export var createThreeDSMethodIframe = /*#__PURE__*/function () {
|
|
|
538
395
|
});
|
|
539
396
|
}
|
|
540
397
|
}
|
|
541
|
-
};
|
|
542
|
-
|
|
543
|
-
// 10秒内没有成功则走N逻辑
|
|
544
|
-
timer = setTimeout(function () {
|
|
545
|
-
// 超时也要移除监听器
|
|
546
|
-
window.removeEventListener('message', handleMessage);
|
|
547
|
-
res(defaultReturnParams);
|
|
548
|
-
log({
|
|
549
|
-
msg: '第三步: 10秒超时则走N逻辑',
|
|
550
|
-
data: threeDSMethodData
|
|
551
|
-
});
|
|
552
|
-
}, (threeDSMethodData === null || threeDSMethodData === void 0 || (_threeDSMethodData$pa7 = threeDSMethodData.pay_info) === null || _threeDSMethodData$pa7 === void 0 ? void 0 : _threeDSMethodData$pa7.tdsMethodTimeoutMS) || 10000);
|
|
553
|
-
window.addEventListener('message', handleMessage, false);
|
|
554
|
-
activeCleanup = function activeCleanup() {
|
|
555
|
-
window.removeEventListener('message', handleMessage);
|
|
556
|
-
if (timer) clearTimeout(timer);
|
|
557
|
-
rej(0);
|
|
558
|
-
};
|
|
398
|
+
}, false);
|
|
559
399
|
}));
|
|
560
400
|
case 28:
|
|
561
401
|
case "end":
|
|
562
|
-
return
|
|
402
|
+
return _context3.stop();
|
|
563
403
|
}
|
|
564
|
-
},
|
|
404
|
+
}, _callee3);
|
|
565
405
|
}));
|
|
566
|
-
return function createThreeDSMethodIframe(
|
|
567
|
-
return
|
|
406
|
+
return function createThreeDSMethodIframe(_x6, _x7) {
|
|
407
|
+
return _ref4.apply(this, arguments);
|
|
568
408
|
};
|
|
569
409
|
}();
|
|
570
410
|
|
|
@@ -577,13 +417,12 @@ export var createThreeDSMethodIframe = /*#__PURE__*/function () {
|
|
|
577
417
|
* @Date: 2022-10-18 10:43
|
|
578
418
|
*/
|
|
579
419
|
export var checkTDSAuth = /*#__PURE__*/function () {
|
|
580
|
-
var
|
|
581
|
-
var
|
|
582
|
-
return _regeneratorRuntime().wrap(function
|
|
583
|
-
while (1) switch (
|
|
420
|
+
var _ref5 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(step2, step3, callback) {
|
|
421
|
+
var pay_number, order_id, pay_info, amount, notifyURL, threeDSServerTransID, threeDSCompInd, currentData, isPre, _yield$request$getReq2, data;
|
|
422
|
+
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
423
|
+
while (1) switch (_context4.prev = _context4.next) {
|
|
584
424
|
case 0:
|
|
585
|
-
|
|
586
|
-
_context5.prev = 1;
|
|
425
|
+
_context4.prev = 0;
|
|
587
426
|
pay_number = step2.pay_number, order_id = step2.order_id, pay_info = step2.pay_info, amount = step2.amount, notifyURL = step2.notifyURL;
|
|
588
427
|
threeDSServerTransID = step3.threeDSServerTransID, threeDSCompInd = step3.threeDSCompInd;
|
|
589
428
|
currentData = new Date();
|
|
@@ -591,21 +430,16 @@ export var checkTDSAuth = /*#__PURE__*/function () {
|
|
|
591
430
|
if (REACT_APP_API_ENV === 'pre' && pay_info.check_tds_auth.card_name === 'aa bb') {
|
|
592
431
|
isPre = true;
|
|
593
432
|
}
|
|
594
|
-
|
|
595
|
-
// 获取唯一幂等token 方式浏览器自动重试
|
|
596
|
-
request_unique_idempotency_token = getUniqueIdempotencyToken();
|
|
597
433
|
setHistoryLog({
|
|
598
434
|
msg: '步骤4开始: 调用tds_auth_pay接口',
|
|
599
435
|
time: getCurrentTime(),
|
|
600
436
|
order_id: order_id,
|
|
601
|
-
pay_number: pay_number
|
|
602
|
-
request_unique_idempotency_token: request_unique_idempotency_token
|
|
437
|
+
pay_number: pay_number
|
|
603
438
|
});
|
|
604
|
-
|
|
439
|
+
_context4.next = 9;
|
|
605
440
|
return request.getRequest().post('/h5/pay/order/mw-3ds-pay/v2/tds_auth_pay', {
|
|
606
441
|
order_id: order_id,
|
|
607
442
|
pay_number: pay_number,
|
|
608
|
-
request_unique_idempotency_token: request_unique_idempotency_token,
|
|
609
443
|
mw_data: {
|
|
610
444
|
accessToken: pay_info.check_tds_auth.access_token,
|
|
611
445
|
method: 'checkTDSAuth',
|
|
@@ -633,16 +467,16 @@ export var checkTDSAuth = /*#__PURE__*/function () {
|
|
|
633
467
|
billAddrLine1: paymentInfo.billingAddress.billAddrLine1,
|
|
634
468
|
billAddrPostCode: paymentInfo.billingAddress.billAddrPostCode,
|
|
635
469
|
billAddrState: paymentInfo.billingAddress.billAddrState,
|
|
636
|
-
threeDSCompInd: isPre ? '' : threeDSCompInd
|
|
470
|
+
threeDSCompInd: isPre ? '' : threeDSCompInd,
|
|
637
471
|
threeDSServerTransID: isPre ? '' : threeDSServerTransID,
|
|
638
472
|
threeDSRequestorAuthenticationInd: '01',
|
|
639
473
|
threeDSRequestorURL: window.location.href,
|
|
640
474
|
notifyURL: notifyURL
|
|
641
475
|
}
|
|
642
476
|
});
|
|
643
|
-
case
|
|
644
|
-
_yield$request$
|
|
645
|
-
data = _yield$request$
|
|
477
|
+
case 9:
|
|
478
|
+
_yield$request$getReq2 = _context4.sent;
|
|
479
|
+
data = _yield$request$getReq2.data;
|
|
646
480
|
setHistoryLog({
|
|
647
481
|
msg: '步骤4完成: tds_auth_pay接口返回',
|
|
648
482
|
time: getCurrentTime(),
|
|
@@ -650,55 +484,44 @@ export var checkTDSAuth = /*#__PURE__*/function () {
|
|
|
650
484
|
});
|
|
651
485
|
// 有threeDSToken 则走步骤7 直接支付
|
|
652
486
|
if (data) {
|
|
653
|
-
|
|
487
|
+
_context4.next = 14;
|
|
654
488
|
break;
|
|
655
489
|
}
|
|
656
|
-
return
|
|
657
|
-
case
|
|
658
|
-
return
|
|
659
|
-
case
|
|
660
|
-
|
|
661
|
-
|
|
490
|
+
return _context4.abrupt("return", null);
|
|
491
|
+
case 14:
|
|
492
|
+
return _context4.abrupt("return", data);
|
|
493
|
+
case 17:
|
|
494
|
+
_context4.prev = 17;
|
|
495
|
+
_context4.t0 = _context4["catch"](0);
|
|
662
496
|
setHistoryLog({
|
|
663
497
|
msg: '步骤4异常',
|
|
664
|
-
time: getCurrentTime()
|
|
665
|
-
errorCode: _context5.t0 === null || _context5.t0 === void 0 ? void 0 : _context5.t0.code
|
|
498
|
+
time: getCurrentTime()
|
|
666
499
|
});
|
|
667
500
|
|
|
668
501
|
// 记录卡失败的原因
|
|
669
502
|
log({
|
|
670
|
-
msg:
|
|
503
|
+
msg: _context4.t0,
|
|
671
504
|
data: paymentData
|
|
672
505
|
});
|
|
673
|
-
if (!(isCancelled !== null && isCancelled !== void 0 && isCancelled())) {
|
|
674
|
-
_context5.next = 25;
|
|
675
|
-
break;
|
|
676
|
-
}
|
|
677
|
-
return _context5.abrupt("return", 0);
|
|
678
|
-
case 25:
|
|
679
|
-
if (!((_context5.t0 === null || _context5.t0 === void 0 ? void 0 : _context5.t0.code) === 700500)) {
|
|
680
|
-
_context5.next = 27;
|
|
681
|
-
break;
|
|
682
|
-
}
|
|
683
|
-
throw _context5.t0;
|
|
684
|
-
case 27:
|
|
685
506
|
PisellToast({
|
|
686
|
-
content: (
|
|
687
|
-
duration: 1000 *
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
507
|
+
content: (_context4.t0 === null || _context4.t0 === void 0 ? void 0 : _context4.t0.message) || '',
|
|
508
|
+
duration: 1000 * 200,
|
|
509
|
+
onClose: function onClose() {
|
|
510
|
+
callback({
|
|
511
|
+
key: 'hideModal'
|
|
512
|
+
});
|
|
513
|
+
closeIframe();
|
|
514
|
+
}
|
|
691
515
|
});
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
case 31:
|
|
516
|
+
return _context4.abrupt("return", 0);
|
|
517
|
+
case 23:
|
|
695
518
|
case "end":
|
|
696
|
-
return
|
|
519
|
+
return _context4.stop();
|
|
697
520
|
}
|
|
698
|
-
},
|
|
521
|
+
}, _callee4, null, [[0, 17]]);
|
|
699
522
|
}));
|
|
700
|
-
return function checkTDSAuth(
|
|
701
|
-
return
|
|
523
|
+
return function checkTDSAuth(_x8, _x9, _x10) {
|
|
524
|
+
return _ref5.apply(this, arguments);
|
|
702
525
|
};
|
|
703
526
|
}();
|
|
704
527
|
|
|
@@ -757,7 +580,6 @@ export var createChallengeIframe = function createChallengeIframe(challengeData,
|
|
|
757
580
|
if (timer) {
|
|
758
581
|
clearTimeout(timer);
|
|
759
582
|
}
|
|
760
|
-
window.removeEventListener('message', handleMessage);
|
|
761
583
|
res(event.data.cres);
|
|
762
584
|
closeIframe();
|
|
763
585
|
}
|
|
@@ -774,11 +596,6 @@ export var createChallengeIframe = function createChallengeIframe(challengeData,
|
|
|
774
596
|
rej('time out');
|
|
775
597
|
}, 2 * 60 * 1000);
|
|
776
598
|
window.addEventListener('message', handleMessage, false);
|
|
777
|
-
activeCleanup = function activeCleanup() {
|
|
778
|
-
window.removeEventListener('message', handleMessage);
|
|
779
|
-
if (timer) clearTimeout(timer);
|
|
780
|
-
rej(0);
|
|
781
|
-
};
|
|
782
599
|
});
|
|
783
600
|
};
|
|
784
601
|
|
|
@@ -791,15 +608,15 @@ export var createChallengeIframe = function createChallengeIframe(challengeData,
|
|
|
791
608
|
* @Date: 2022-10-18 10:48
|
|
792
609
|
*/
|
|
793
610
|
export var checkPARes = /*#__PURE__*/function () {
|
|
794
|
-
var
|
|
795
|
-
var pay_number, order_id, pay_info, amount, tdsPayKey, tdsPayToken, cres, _yield$request$
|
|
796
|
-
return _regeneratorRuntime().wrap(function
|
|
797
|
-
while (1) switch (
|
|
611
|
+
var _ref6 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5(step2, step4, step5) {
|
|
612
|
+
var pay_number, order_id, pay_info, amount, tdsPayKey, tdsPayToken, cres, _yield$request$getReq3, data;
|
|
613
|
+
return _regeneratorRuntime().wrap(function _callee5$(_context5) {
|
|
614
|
+
while (1) switch (_context5.prev = _context5.next) {
|
|
798
615
|
case 0:
|
|
799
616
|
pay_number = step2.pay_number, order_id = step2.order_id, pay_info = step2.pay_info, amount = step2.amount;
|
|
800
617
|
tdsPayKey = step4.tdsPayKey, tdsPayToken = step4.tdsPayToken;
|
|
801
618
|
cres = step5;
|
|
802
|
-
|
|
619
|
+
_context5.next = 5;
|
|
803
620
|
return request.getRequest().post('/h5/pay/order/mw-3ds-pay/v2/check_pares', {
|
|
804
621
|
order_id: order_id,
|
|
805
622
|
pay_number: pay_number,
|
|
@@ -815,17 +632,17 @@ export var checkPARes = /*#__PURE__*/function () {
|
|
|
815
632
|
}
|
|
816
633
|
});
|
|
817
634
|
case 5:
|
|
818
|
-
_yield$request$
|
|
819
|
-
data = _yield$request$
|
|
820
|
-
return
|
|
635
|
+
_yield$request$getReq3 = _context5.sent;
|
|
636
|
+
data = _yield$request$getReq3.data;
|
|
637
|
+
return _context5.abrupt("return", data);
|
|
821
638
|
case 8:
|
|
822
639
|
case "end":
|
|
823
|
-
return
|
|
640
|
+
return _context5.stop();
|
|
824
641
|
}
|
|
825
|
-
},
|
|
642
|
+
}, _callee5);
|
|
826
643
|
}));
|
|
827
|
-
return function checkPARes(
|
|
828
|
-
return
|
|
644
|
+
return function checkPARes(_x11, _x12, _x13) {
|
|
645
|
+
return _ref6.apply(this, arguments);
|
|
829
646
|
};
|
|
830
647
|
}();
|
|
831
648
|
|