@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
|
@@ -35,7 +35,6 @@ module.exports = __toCommonJS(List_exports);
|
|
|
35
35
|
var import_react = __toESM(require("react"));
|
|
36
36
|
var import_antd = require("antd");
|
|
37
37
|
var import_utils = require("@pisell/utils");
|
|
38
|
-
var import_ahooks = require("ahooks");
|
|
39
38
|
var import_materials = require("@pisell/materials");
|
|
40
39
|
var import_classnames = __toESM(require("classnames"));
|
|
41
40
|
var import_model = require("../../../model");
|
|
@@ -50,13 +49,7 @@ var MWCreditCardList = (props, ref) => {
|
|
|
50
49
|
const [manage, setManage] = (0, import_react.useState)(false);
|
|
51
50
|
const [order, setOrder] = (0, import_react.useState)(null);
|
|
52
51
|
const _getCreditCardList = async () => {
|
|
53
|
-
var _a;
|
|
54
52
|
const cardList = await (0, import_serve.getCreditCardList)();
|
|
55
|
-
if (!cardList.length) {
|
|
56
|
-
(_a = props.onAdd) == null ? void 0 : _a.call(props);
|
|
57
|
-
setLoading(false);
|
|
58
|
-
return;
|
|
59
|
-
}
|
|
60
53
|
setCreditCardList(cardList);
|
|
61
54
|
if (cardList.length) {
|
|
62
55
|
setCurrentCard(cardList[0].id);
|
|
@@ -76,12 +69,8 @@ var MWCreditCardList = (props, ref) => {
|
|
|
76
69
|
const cardChange = (id) => {
|
|
77
70
|
setCurrentCard(id);
|
|
78
71
|
};
|
|
79
|
-
const close = () => {
|
|
80
|
-
setOpen(false);
|
|
81
|
-
};
|
|
82
72
|
(0, import_react.useImperativeHandle)(ref, () => ({
|
|
83
|
-
init
|
|
84
|
-
close
|
|
73
|
+
init
|
|
85
74
|
}));
|
|
86
75
|
const renderOption = (d, active) => {
|
|
87
76
|
return /* @__PURE__ */ import_react.default.createElement(
|
|
@@ -148,19 +137,16 @@ var MWCreditCardList = (props, ref) => {
|
|
|
148
137
|
});
|
|
149
138
|
}
|
|
150
139
|
};
|
|
151
|
-
const
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
},
|
|
162
|
-
{ wait: 300 }
|
|
163
|
-
);
|
|
140
|
+
const onOk = () => {
|
|
141
|
+
var _a;
|
|
142
|
+
if (manage) {
|
|
143
|
+
setManage(false);
|
|
144
|
+
handleBatchDeleteCards();
|
|
145
|
+
return;
|
|
146
|
+
}
|
|
147
|
+
let cur = creditCardList.find((d) => d.id === currentCard);
|
|
148
|
+
(_a = props.onChange) == null ? void 0 : _a.call(props, cur);
|
|
149
|
+
};
|
|
164
150
|
const renderList = (0, import_react.useMemo)(() => {
|
|
165
151
|
return creditCardList.filter((d) => d.delete !== 1);
|
|
166
152
|
}, [creditCardList]);
|
|
@@ -192,13 +178,7 @@ var MWCreditCardList = (props, ref) => {
|
|
|
192
178
|
okText: manage ? import_utils.locales.getText("tocPay.text.done") : okText,
|
|
193
179
|
onOk,
|
|
194
180
|
okButtonProps: {
|
|
195
|
-
disabled: !currentCard
|
|
196
|
-
loading: props.btnLoading,
|
|
197
|
-
style: {
|
|
198
|
-
display: "flex",
|
|
199
|
-
justifyContent: "center",
|
|
200
|
-
alignItems: "center"
|
|
201
|
-
}
|
|
181
|
+
disabled: !currentCard
|
|
202
182
|
},
|
|
203
183
|
bodyStyle: { padding: 24 }
|
|
204
184
|
},
|
|
@@ -1,23 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import './index.less';
|
|
3
|
-
|
|
4
|
-
/** 主标题(单行模式使用,覆盖默认文案) */
|
|
5
|
-
title?: string;
|
|
6
|
-
/** 副标题(多行模式第二行,可选) */
|
|
7
|
-
subtitle?: string;
|
|
8
|
-
/** 描述说明(多行模式第三行,可选) */
|
|
9
|
-
description?: string;
|
|
10
|
-
/** 是否展示"支付完成返回"按钮 */
|
|
11
|
-
showSuccessBackButton?: boolean;
|
|
12
|
-
/** "支付完成返回"按钮点击回调 */
|
|
13
|
-
onSuccessBack?: () => void;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* @title: 等待加载页
|
|
17
|
-
* @description: 通用的支付等待 loading 页面。
|
|
18
|
-
* - 默认单行文案模式(传 title 或使用默认文案)
|
|
19
|
-
* - 传入 subtitle / description 后进入多行文案模式
|
|
20
|
-
* 向后兼容:不传新 props 时行为与原来完全一致。
|
|
21
|
-
*/
|
|
22
|
-
declare const ThreedsLoading: React.FC<ThreedsLoadingProps>;
|
|
3
|
+
declare const ThreedsLoading: ({ title, showSuccessBackButton, onSuccessBack }: any) => React.JSX.Element;
|
|
23
4
|
export default ThreedsLoading;
|
|
@@ -36,13 +36,7 @@ var import_react = __toESM(require("react"));
|
|
|
36
36
|
var import_useEngineContext = __toESM(require("../../../../../../../hooks/useEngineContext"));
|
|
37
37
|
var import_index = require("./index.less");
|
|
38
38
|
var import_utils = require("@pisell/utils");
|
|
39
|
-
var ThreedsLoading = ({
|
|
40
|
-
title,
|
|
41
|
-
subtitle,
|
|
42
|
-
description,
|
|
43
|
-
showSuccessBackButton,
|
|
44
|
-
onSuccessBack
|
|
45
|
-
}) => {
|
|
39
|
+
var ThreedsLoading = ({ title, showSuccessBackButton, onSuccessBack }) => {
|
|
46
40
|
var _a;
|
|
47
41
|
const context = (0, import_useEngineContext.default)();
|
|
48
42
|
const { config } = ((_a = context.appHelper) == null ? void 0 : _a.constants) || {};
|
|
@@ -53,6 +47,6 @@ var ThreedsLoading = ({
|
|
|
53
47
|
src: config.static + "/static/stripe_loading.gif",
|
|
54
48
|
alt: ""
|
|
55
49
|
}
|
|
56
|
-
), /* @__PURE__ */ import_react.default.createElement("div", { className: "threeds-loading-title" }, title || import_utils.locales.getText("tocPay.text.waitingForBankVerification")),
|
|
50
|
+
), /* @__PURE__ */ import_react.default.createElement("div", { className: "threeds-loading-title" }, title || import_utils.locales.getText("tocPay.text.waitingForBankVerification")), showSuccessBackButton && /* @__PURE__ */ import_react.default.createElement("div", { onClick: onSuccessBack, className: "threeds-loading-success-back-button" }, import_utils.locales.getText("tocPay.text.successBack")));
|
|
57
51
|
};
|
|
58
52
|
var ThreedsLoading_default = ThreedsLoading;
|
|
@@ -22,26 +22,6 @@
|
|
|
22
22
|
color: #353535;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
.threeds-loading-subtitle {
|
|
26
|
-
margin-top: 8px;
|
|
27
|
-
padding: 0 40px;
|
|
28
|
-
text-align: center;
|
|
29
|
-
font-size: 14px;
|
|
30
|
-
font-weight: 400;
|
|
31
|
-
line-height: 20px;
|
|
32
|
-
color: #475467;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.threeds-loading-description {
|
|
36
|
-
margin-top: 4px;
|
|
37
|
-
padding: 0 40px;
|
|
38
|
-
text-align: center;
|
|
39
|
-
font-size: 13px;
|
|
40
|
-
font-weight: 400;
|
|
41
|
-
line-height: 18px;
|
|
42
|
-
color: #667085;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
25
|
.threeds-loading-success-back-button {
|
|
46
26
|
margin-top: 20px;
|
|
47
27
|
color: #4b6b99;
|
|
@@ -1,16 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import './index.less';
|
|
3
3
|
export interface TDSPayRef {
|
|
4
|
-
|
|
5
|
-
* @param res 卡信息(已保存卡含 id,新卡含表单字段)
|
|
6
|
-
* @param order 订单信息
|
|
7
|
-
* @param preCheckData 可选,外部预检查已获取的数据(跳过内部 fastPayNew / checkEnrollment)
|
|
8
|
-
*/
|
|
9
|
-
init: (res: any, order: any, preCheckData?: any) => void;
|
|
4
|
+
init: (res: any, order: any) => void;
|
|
10
5
|
}
|
|
11
6
|
export interface TDSPayProps {
|
|
12
7
|
onChange?: (values: any) => void;
|
|
13
|
-
closeAll: () => void;
|
|
14
8
|
}
|
|
15
9
|
declare const _default: React.ForwardRefExoticComponent<TDSPayProps & React.RefAttributes<any>>;
|
|
16
10
|
export default _default;
|
|
@@ -33,7 +33,6 @@ __export(TDSPay_exports, {
|
|
|
33
33
|
});
|
|
34
34
|
module.exports = __toCommonJS(TDSPay_exports);
|
|
35
35
|
var import_react = __toESM(require("react"));
|
|
36
|
-
var import_antd = require("antd");
|
|
37
36
|
var import_materials = require("@pisell/materials");
|
|
38
37
|
var import_ThreedsLoading = __toESM(require("./ThreedsLoading"));
|
|
39
38
|
var import_tds2 = require("../tds2");
|
|
@@ -43,69 +42,35 @@ var import_payGroup = require("../../../payGroup");
|
|
|
43
42
|
var import_index = require("./index.less");
|
|
44
43
|
var import_utils = require("@pisell/utils");
|
|
45
44
|
var TDSPay = (props, ref) => {
|
|
46
|
-
const { onChange
|
|
45
|
+
const { onChange } = props;
|
|
47
46
|
const [open, setOpen] = (0, import_react.useState)(false);
|
|
48
|
-
const [showCloseConfirm, setShowCloseConfirm] = (0, import_react.useState)(false);
|
|
49
|
-
const sessionIdRef = (0, import_react.useRef)(0);
|
|
50
|
-
const payingRef = (0, import_react.useRef)(false);
|
|
51
47
|
const { state } = (0, import_react.useContext)(import_model.Context);
|
|
52
|
-
(
|
|
53
|
-
return () => {
|
|
54
|
-
sessionIdRef.current += 1;
|
|
55
|
-
(0, import_tds2.cancelCurrentPayment)();
|
|
56
|
-
};
|
|
57
|
-
}, []);
|
|
58
|
-
const createSessionCallback = (session) => (res) => {
|
|
59
|
-
if (sessionIdRef.current !== session) return;
|
|
60
|
-
setOpen(false);
|
|
61
|
-
setShowCloseConfirm(false);
|
|
62
|
-
payingRef.current = false;
|
|
63
|
-
if (res.key === "hideModal") return;
|
|
64
|
-
onChange == null ? void 0 : onChange(res);
|
|
65
|
-
};
|
|
66
|
-
const init = async (res, order, preCheckData) => {
|
|
67
|
-
if (payingRef.current) return;
|
|
68
|
-
payingRef.current = true;
|
|
69
|
-
sessionIdRef.current += 1;
|
|
70
|
-
(0, import_tds2.cancelCurrentPayment)();
|
|
71
|
-
const session = sessionIdRef.current;
|
|
48
|
+
const init = async (res, order) => {
|
|
72
49
|
setOpen(true);
|
|
73
|
-
const isCancelled = () => sessionIdRef.current !== session;
|
|
74
|
-
const callback = createSessionCallback(session);
|
|
75
|
-
if (preCheckData) {
|
|
76
|
-
(0, import_tds2.startPayment)({ payData: preCheckData }, { callback, isCancelled });
|
|
77
|
-
return;
|
|
78
|
-
}
|
|
79
50
|
if (res.id) {
|
|
80
|
-
_fastPayNew(res
|
|
51
|
+
_fastPayNew(res);
|
|
81
52
|
} else {
|
|
82
|
-
newCardPay(res
|
|
53
|
+
newCardPay(res);
|
|
83
54
|
}
|
|
84
55
|
};
|
|
85
|
-
const
|
|
86
|
-
setShowCloseConfirm(true);
|
|
87
|
-
};
|
|
88
|
-
const handleContinueWaiting = () => {
|
|
89
|
-
setShowCloseConfirm(false);
|
|
90
|
-
};
|
|
91
|
-
const handleViewOrder = () => {
|
|
92
|
-
sessionIdRef.current += 1;
|
|
93
|
-
(0, import_tds2.cancelCurrentPayment)();
|
|
94
|
-
payingRef.current = false;
|
|
95
|
-
setShowCloseConfirm(false);
|
|
56
|
+
const payCallback = (res) => {
|
|
96
57
|
setOpen(false);
|
|
97
|
-
|
|
98
|
-
|
|
58
|
+
if (res.key === "hideModal") {
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
61
|
+
onChange == null ? void 0 : onChange(res);
|
|
99
62
|
};
|
|
100
|
-
const _fastPayNew = async (res
|
|
63
|
+
const _fastPayNew = async (res) => {
|
|
101
64
|
var _a, _b, _c;
|
|
102
65
|
try {
|
|
103
66
|
const params = (0, import_payGroup.getPayGroupParamsFromStorage)(
|
|
104
67
|
(_a = state.payGroup) == null ? void 0 : _a.order_id,
|
|
105
|
-
{
|
|
68
|
+
{
|
|
69
|
+
card_id: res.id
|
|
70
|
+
}
|
|
106
71
|
);
|
|
107
72
|
if (!params) {
|
|
108
|
-
|
|
73
|
+
payCallback == null ? void 0 : payCallback({
|
|
109
74
|
key: "fail",
|
|
110
75
|
data: {
|
|
111
76
|
res,
|
|
@@ -119,16 +84,15 @@ var TDSPay = (props, ref) => {
|
|
|
119
84
|
order_id: (_b = state.payGroup) == null ? void 0 : _b.order_id,
|
|
120
85
|
params
|
|
121
86
|
});
|
|
122
|
-
if (isCancelled()) return;
|
|
123
87
|
(0, import_payGroup.setPayNumber)((_c = state.payGroup) == null ? void 0 : _c.order_id, data == null ? void 0 : data.pay_number);
|
|
124
88
|
if ((data == null ? void 0 : data.type) === "token") {
|
|
125
|
-
|
|
89
|
+
payCallback == null ? void 0 : payCallback({ key: "success", data });
|
|
126
90
|
}
|
|
127
91
|
if ((data == null ? void 0 : data.type) === "3ds") {
|
|
128
|
-
(0, import_tds2.startPayment)({ payData: data },
|
|
92
|
+
(0, import_tds2.startPayment)({ payData: data }, payCallback);
|
|
129
93
|
}
|
|
130
94
|
} catch (e) {
|
|
131
|
-
|
|
95
|
+
payCallback == null ? void 0 : payCallback({
|
|
132
96
|
key: "fail",
|
|
133
97
|
data: {
|
|
134
98
|
res,
|
|
@@ -138,7 +102,7 @@ var TDSPay = (props, ref) => {
|
|
|
138
102
|
});
|
|
139
103
|
}
|
|
140
104
|
};
|
|
141
|
-
const newCardPay = (res
|
|
105
|
+
const newCardPay = (res) => {
|
|
142
106
|
var _a, _b;
|
|
143
107
|
let _cardInfo = {
|
|
144
108
|
card_name: res.card_name,
|
|
@@ -153,7 +117,7 @@ var TDSPay = (props, ref) => {
|
|
|
153
117
|
_cardInfo
|
|
154
118
|
);
|
|
155
119
|
if (!_cardInfo) {
|
|
156
|
-
|
|
120
|
+
payCallback == null ? void 0 : payCallback({
|
|
157
121
|
key: "fail",
|
|
158
122
|
data: {
|
|
159
123
|
_cardInfo,
|
|
@@ -165,7 +129,7 @@ var TDSPay = (props, ref) => {
|
|
|
165
129
|
}
|
|
166
130
|
(0, import_tds2.startPayment)(
|
|
167
131
|
{ orderId: (_b = state.payGroup) == null ? void 0 : _b.order_id, cardInfo: _cardInfo },
|
|
168
|
-
|
|
132
|
+
payCallback
|
|
169
133
|
);
|
|
170
134
|
};
|
|
171
135
|
(0, import_react.useImperativeHandle)(
|
|
@@ -174,55 +138,17 @@ var TDSPay = (props, ref) => {
|
|
|
174
138
|
init
|
|
175
139
|
})
|
|
176
140
|
);
|
|
177
|
-
return /* @__PURE__ */ import_react.default.createElement(
|
|
141
|
+
return /* @__PURE__ */ import_react.default.createElement(
|
|
178
142
|
import_materials.PisellModal,
|
|
179
143
|
{
|
|
180
144
|
platform: "h5",
|
|
181
145
|
open,
|
|
182
146
|
footer: false,
|
|
183
147
|
header: false,
|
|
184
|
-
closable: true,
|
|
185
|
-
onCancel: handleCloseClick,
|
|
186
|
-
bodyStyle: { padding: 0 }
|
|
187
|
-
},
|
|
188
|
-
/* @__PURE__ */ import_react.default.createElement("div", { className: "" }, /* @__PURE__ */ import_react.default.createElement(
|
|
189
|
-
import_ThreedsLoading.default,
|
|
190
|
-
{
|
|
191
|
-
title: import_utils.locales.getText("tocPay.text.processingPayment"),
|
|
192
|
-
subtitle: import_utils.locales.getText("tocPay.text.securityCheckRequired"),
|
|
193
|
-
description: import_utils.locales.getText("tocPay.text.doNotClosePage")
|
|
194
|
-
}
|
|
195
|
-
), /* @__PURE__ */ import_react.default.createElement("div", { id: "threeds-container" }))
|
|
196
|
-
), /* @__PURE__ */ import_react.default.createElement(
|
|
197
|
-
import_materials.PisellModal,
|
|
198
|
-
{
|
|
199
|
-
open: showCloseConfirm,
|
|
200
148
|
closable: false,
|
|
201
|
-
|
|
202
|
-
header: false,
|
|
203
|
-
mobileModalHeight: "auto",
|
|
204
|
-
headerDivider: false,
|
|
205
|
-
footerDivider: false,
|
|
206
|
-
bodyStyle: { padding: 24 },
|
|
207
|
-
transitionName: "pisell-move-down"
|
|
149
|
+
bodyStyle: { padding: 0 }
|
|
208
150
|
},
|
|
209
|
-
/* @__PURE__ */ import_react.default.createElement("div", { className: "
|
|
210
|
-
|
|
211
|
-
{
|
|
212
|
-
type: "primary",
|
|
213
|
-
block: true,
|
|
214
|
-
className: "tds-close-confirm-btn-primary",
|
|
215
|
-
onClick: handleContinueWaiting
|
|
216
|
-
},
|
|
217
|
-
import_utils.locales.getText("tocPay.text.continueWaiting")
|
|
218
|
-
), /* @__PURE__ */ import_react.default.createElement(
|
|
219
|
-
"div",
|
|
220
|
-
{
|
|
221
|
-
className: "tds-close-confirm-link",
|
|
222
|
-
onClick: handleViewOrder
|
|
223
|
-
},
|
|
224
|
-
import_utils.locales.getText("tocPay.text.viewOrder")
|
|
225
|
-
)))
|
|
226
|
-
));
|
|
151
|
+
/* @__PURE__ */ import_react.default.createElement("div", { className: "" }, /* @__PURE__ */ import_react.default.createElement(import_ThreedsLoading.default, null), /* @__PURE__ */ import_react.default.createElement("div", { id: "threeds-container" }))
|
|
152
|
+
);
|
|
227
153
|
};
|
|
228
154
|
var TDSPay_default = (0, import_react.forwardRef)(TDSPay);
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/** 关闭确认弹窗样式 */
|
|
2
|
-
.tds-close-confirm-modal {
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
gap: 0;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.tds-close-confirm-title {
|
|
9
|
-
color: var(--Gray-900, #101828);
|
|
10
|
-
font-size: 20px;
|
|
11
|
-
font-weight: 600;
|
|
12
|
-
line-height: 28px;
|
|
13
|
-
margin-bottom: 8px;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.tds-close-confirm-desc {
|
|
17
|
-
color: var(--Gray-600, #475467);
|
|
18
|
-
font-size: 14px;
|
|
19
|
-
font-weight: 400;
|
|
20
|
-
line-height: 20px;
|
|
21
|
-
margin-bottom: 24px;
|
|
22
|
-
white-space: pre-line;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.tds-close-confirm-actions {
|
|
26
|
-
display: flex;
|
|
27
|
-
flex-direction: column;
|
|
28
|
-
align-items: center;
|
|
29
|
-
gap: 12px;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.tds-close-confirm-btn-primary {
|
|
33
|
-
height: 44px;
|
|
34
|
-
font-size: 16px;
|
|
35
|
-
font-weight: 500;
|
|
36
|
-
border-radius: 8px;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.tds-close-confirm-link {
|
|
40
|
-
color: var(--Gray-500, #667085);
|
|
41
|
-
font-size: 14px;
|
|
42
|
-
font-weight: 400;
|
|
43
|
-
line-height: 20px;
|
|
44
|
-
cursor: pointer;
|
|
45
|
-
text-decoration: underline;
|
|
46
|
-
padding: 4px 0;
|
|
47
|
-
}
|
|
@@ -1,15 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import './index.less';
|
|
3
|
-
interface MWCreditCardProps {
|
|
4
|
-
/** 店铺名称,用于授权说明文案 */
|
|
5
|
-
shopName?: string;
|
|
6
|
-
/** 商家联系电话(用于 3DS 错误弹窗联系方式) */
|
|
7
|
-
shopPhone?: string;
|
|
8
|
-
/** 商家联系邮箱(用于 3DS 错误弹窗联系方式) */
|
|
9
|
-
shopEmail?: string;
|
|
10
|
-
}
|
|
11
3
|
export interface MWCreditCardRef {
|
|
12
4
|
init: (res: any) => void;
|
|
13
5
|
}
|
|
14
|
-
declare const _default: React.ForwardRefExoticComponent<
|
|
6
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>;
|
|
15
7
|
export default _default;
|
|
@@ -35,148 +35,27 @@ module.exports = __toCommonJS(MWCreditCard_exports);
|
|
|
35
35
|
var import_react = __toESM(require("react"));
|
|
36
36
|
var import_List = __toESM(require("./List"));
|
|
37
37
|
var import_Add = __toESM(require("./Add"));
|
|
38
|
-
var import_serve = require("./List/serve");
|
|
39
38
|
var import_TDSPay = __toESM(require("./TDSPay"));
|
|
40
39
|
var import_model = require("../../model");
|
|
41
|
-
var import_tds2 = require("./tds2");
|
|
42
|
-
var import_payGroup = require("../../payGroup");
|
|
43
|
-
var import_utils = require("@pisell/utils");
|
|
44
|
-
var import_materials = require("@pisell/materials");
|
|
45
|
-
var import_TDSErrorModal = __toESM(require("./components/TDSErrorModal"));
|
|
46
40
|
var import_index = require("./index.less");
|
|
47
|
-
var import_useEngineContext = __toESM(require("../../../../../hooks/useEngineContext"));
|
|
48
41
|
var MWCreditCard = (props, ref) => {
|
|
49
42
|
const MWCreditCardListRef2 = (0, import_react.useRef)();
|
|
50
43
|
const AddMWCreditCardRef2 = (0, import_react.useRef)();
|
|
51
44
|
const TDSPayRef2 = (0, import_react.useRef)();
|
|
52
|
-
const context = (0, import_useEngineContext.default)();
|
|
53
|
-
const utils = context.appHelper.utils || {};
|
|
54
45
|
const [order, setOrder] = (0, import_react.useState)(null);
|
|
55
|
-
const [tdsErrorVisible, setTdsErrorVisible] = (0, import_react.useState)(false);
|
|
56
|
-
const [bankVerifyFailVisible, setBankVerifyFailVisible] = (0, import_react.useState)(false);
|
|
57
|
-
const [loading, setLoading] = (0, import_react.useState)(false);
|
|
58
46
|
const { state } = (0, import_react.useContext)(import_model.Context);
|
|
59
47
|
const init = async (res) => {
|
|
60
48
|
var _a;
|
|
61
49
|
setOrder(res.order);
|
|
62
50
|
(_a = MWCreditCardListRef2.current) == null ? void 0 : _a.init(order);
|
|
63
51
|
};
|
|
64
|
-
const closeAll = () => {
|
|
65
|
-
var _a, _b;
|
|
66
|
-
(_a = MWCreditCardListRef2.current) == null ? void 0 : _a.close();
|
|
67
|
-
(_b = AddMWCreditCardRef2.current) == null ? void 0 : _b.close();
|
|
68
|
-
};
|
|
69
52
|
const fastPay = async (card) => {
|
|
70
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
|
|
71
|
-
try {
|
|
72
|
-
setLoading(true);
|
|
73
|
-
(_b = (_a = utils == null ? void 0 : utils.Toast) == null ? void 0 : _a.loading) == null ? void 0 : _b.call(_a, import_utils.locales.getText("tocPay.text.checkingCard"), 0, void 0, true);
|
|
74
|
-
const params = (0, import_payGroup.getPayGroupParamsFromStorage)(
|
|
75
|
-
(_c = state.payGroup) == null ? void 0 : _c.order_id,
|
|
76
|
-
{ card_id: card.id }
|
|
77
|
-
);
|
|
78
|
-
if (!params) {
|
|
79
|
-
(_d = state.payCallback) == null ? void 0 : _d.call(state, {
|
|
80
|
-
key: "fail",
|
|
81
|
-
data: {
|
|
82
|
-
res: card,
|
|
83
|
-
fn: "MWCreditCard.fastPay.noParams",
|
|
84
|
-
message: import_utils.locales.getText("tocPay.text.getParamsFail")
|
|
85
|
-
}
|
|
86
|
-
});
|
|
87
|
-
return;
|
|
88
|
-
}
|
|
89
|
-
const { data } = await (0, import_serve.fastPayNew)({
|
|
90
|
-
order_id: (_e = state.payGroup) == null ? void 0 : _e.order_id,
|
|
91
|
-
params
|
|
92
|
-
});
|
|
93
|
-
(0, import_payGroup.setPayNumber)((_f = state.payGroup) == null ? void 0 : _f.order_id, data == null ? void 0 : data.pay_number);
|
|
94
|
-
if ((data == null ? void 0 : data.type) === "token") {
|
|
95
|
-
(_g = TDSPayRef2.current) == null ? void 0 : _g.init(card, order, data);
|
|
96
|
-
return;
|
|
97
|
-
}
|
|
98
|
-
if ((data == null ? void 0 : data.type) === "3ds") {
|
|
99
|
-
(_h = TDSPayRef2.current) == null ? void 0 : _h.init(card, order, data);
|
|
100
|
-
return;
|
|
101
|
-
}
|
|
102
|
-
} catch (e) {
|
|
103
|
-
if ((e == null ? void 0 : e.code) === 700500) {
|
|
104
|
-
setTdsErrorVisible(true);
|
|
105
|
-
} else {
|
|
106
|
-
(0, import_materials.PisellToast)({ content: (e == null ? void 0 : e.message) || "", duration: 2 });
|
|
107
|
-
}
|
|
108
|
-
} finally {
|
|
109
|
-
setLoading(false);
|
|
110
|
-
(_j = (_i = utils == null ? void 0 : utils.Toast) == null ? void 0 : _i.hide) == null ? void 0 : _j.call(_i);
|
|
111
|
-
}
|
|
112
|
-
};
|
|
113
|
-
const onCreate = async (res) => {
|
|
114
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
115
|
-
try {
|
|
116
|
-
setLoading(true);
|
|
117
|
-
(_b = (_a = utils == null ? void 0 : utils.Toast) == null ? void 0 : _a.loading) == null ? void 0 : _b.call(_a, import_utils.locales.getText("tocPay.text.checkingCard"), 0, void 0, true);
|
|
118
|
-
let _cardInfo = {
|
|
119
|
-
card_name: res.card_name,
|
|
120
|
-
card_number: res.card_number,
|
|
121
|
-
card_expiry_month: res.date.format("MM"),
|
|
122
|
-
card_expiry_year: res.date.format("YY"),
|
|
123
|
-
card_ccv: res.card_ccv,
|
|
124
|
-
is_save: res.is_save ? 1 : 0
|
|
125
|
-
};
|
|
126
|
-
_cardInfo = (0, import_payGroup.getPayGroupParamsFromStorage)(
|
|
127
|
-
(_c = state.payGroup) == null ? void 0 : _c.order_id,
|
|
128
|
-
_cardInfo
|
|
129
|
-
);
|
|
130
|
-
if (!_cardInfo) {
|
|
131
|
-
(_d = state.payCallback) == null ? void 0 : _d.call(state, {
|
|
132
|
-
key: "fail",
|
|
133
|
-
data: {
|
|
134
|
-
_cardInfo,
|
|
135
|
-
message: import_utils.locales.getText("tocPay.text.getParamsFail"),
|
|
136
|
-
fn: "MWCreditCard.onCreate.noCardInfo"
|
|
137
|
-
}
|
|
138
|
-
});
|
|
139
|
-
return;
|
|
140
|
-
}
|
|
141
|
-
const preCheckData = await (0, import_tds2.preCheckEnrollment)(
|
|
142
|
-
(_e = state.payGroup) == null ? void 0 : _e.order_id,
|
|
143
|
-
_cardInfo
|
|
144
|
-
);
|
|
145
|
-
(_f = TDSPayRef2.current) == null ? void 0 : _f.init(res, order, preCheckData);
|
|
146
|
-
} catch (e) {
|
|
147
|
-
if ((e == null ? void 0 : e.code) === 700500) {
|
|
148
|
-
setTdsErrorVisible(true);
|
|
149
|
-
} else {
|
|
150
|
-
(0, import_materials.PisellToast)({ content: (e == null ? void 0 : e.message) || "", duration: 2 });
|
|
151
|
-
}
|
|
152
|
-
} finally {
|
|
153
|
-
setLoading(false);
|
|
154
|
-
(_h = (_g = utils == null ? void 0 : utils.Toast) == null ? void 0 : _g.hide) == null ? void 0 : _h.call(_g);
|
|
155
|
-
}
|
|
156
|
-
};
|
|
157
|
-
const handleTDSPayChange = (res) => {
|
|
158
53
|
var _a;
|
|
159
|
-
|
|
160
|
-
setBankVerifyFailVisible(true);
|
|
161
|
-
return;
|
|
162
|
-
}
|
|
163
|
-
(_a = state.payCallback) == null ? void 0 : _a.call(state, res);
|
|
54
|
+
(_a = TDSPayRef2.current) == null ? void 0 : _a.init(card, order);
|
|
164
55
|
};
|
|
165
|
-
const
|
|
166
|
-
setTdsErrorVisible(false);
|
|
167
|
-
setBankVerifyFailVisible(false);
|
|
168
|
-
};
|
|
169
|
-
const handleUseAnotherPayment = () => {
|
|
170
|
-
setTdsErrorVisible(false);
|
|
171
|
-
setBankVerifyFailVisible(false);
|
|
172
|
-
closeAll();
|
|
173
|
-
};
|
|
174
|
-
const handlePayLater = () => {
|
|
56
|
+
const onCreate = (res) => {
|
|
175
57
|
var _a;
|
|
176
|
-
|
|
177
|
-
setBankVerifyFailVisible(false);
|
|
178
|
-
closeAll();
|
|
179
|
-
(_a = state.payCallback) == null ? void 0 : _a.call(state, { key: "cancel" });
|
|
58
|
+
(_a = TDSPayRef2.current) == null ? void 0 : _a.init(res, order);
|
|
180
59
|
};
|
|
181
60
|
(0, import_react.useImperativeHandle)(
|
|
182
61
|
ref,
|
|
@@ -194,31 +73,8 @@ var MWCreditCard = (props, ref) => {
|
|
|
194
73
|
var _a;
|
|
195
74
|
(_a = AddMWCreditCardRef2.current) == null ? void 0 : _a.init();
|
|
196
75
|
},
|
|
197
|
-
onChange: fastPay
|
|
198
|
-
btnLoading: loading
|
|
199
|
-
}
|
|
200
|
-
), /* @__PURE__ */ import_react.default.createElement(import_Add.default, { ref: AddMWCreditCardRef2, onCreate, shopName: props.shopName, btnLoading: loading }), /* @__PURE__ */ import_react.default.createElement(import_TDSPay.default, { ref: TDSPayRef2, onChange: handleTDSPayChange, closeAll }), /* @__PURE__ */ import_react.default.createElement(
|
|
201
|
-
import_TDSErrorModal.default,
|
|
202
|
-
{
|
|
203
|
-
open: tdsErrorVisible,
|
|
204
|
-
type: "tds-not-supported",
|
|
205
|
-
shopPhone: props.shopPhone,
|
|
206
|
-
shopEmail: props.shopEmail,
|
|
207
|
-
onUseAnotherCard: handleUseAnotherCard,
|
|
208
|
-
onUseAnotherPayment: handleUseAnotherPayment,
|
|
209
|
-
onPayLater: handlePayLater
|
|
210
|
-
}
|
|
211
|
-
), /* @__PURE__ */ import_react.default.createElement(
|
|
212
|
-
import_TDSErrorModal.default,
|
|
213
|
-
{
|
|
214
|
-
open: bankVerifyFailVisible,
|
|
215
|
-
type: "bank-verify-failed",
|
|
216
|
-
shopPhone: props.shopPhone,
|
|
217
|
-
shopEmail: props.shopEmail,
|
|
218
|
-
onUseAnotherCard: handleUseAnotherCard,
|
|
219
|
-
onUseAnotherPayment: handleUseAnotherPayment,
|
|
220
|
-
onPayLater: handlePayLater
|
|
76
|
+
onChange: fastPay
|
|
221
77
|
}
|
|
222
|
-
));
|
|
78
|
+
), /* @__PURE__ */ import_react.default.createElement(import_Add.default, { ref: AddMWCreditCardRef2, onCreate }), /* @__PURE__ */ import_react.default.createElement(import_TDSPay.default, { ref: TDSPayRef2, onChange: state.payCallback }));
|
|
223
79
|
};
|
|
224
80
|
var MWCreditCard_default = (0, import_react.forwardRef)(MWCreditCard);
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 取消当前支付流程中残留的 message 监听器和定时器,
|
|
3
|
-
* 并 reject 挂起的 Promise 使 startPayment 的 await 结束。
|
|
4
|
-
* reject 值为 0,startPayment catch 中 `if (err === 0) return` 会静默处理。
|
|
5
|
-
*/
|
|
6
|
-
export declare const cancelCurrentPayment: () => void;
|
|
7
|
-
interface PaymentOptions {
|
|
8
|
-
callback?: (res: any) => void;
|
|
9
|
-
isCancelled?: () => boolean;
|
|
10
|
-
}
|
|
11
1
|
/**
|
|
12
2
|
* @title: 点击支付
|
|
13
3
|
* @description:
|
|
@@ -16,16 +6,7 @@ interface PaymentOptions {
|
|
|
16
6
|
* @Author: Wzw
|
|
17
7
|
* @Date: 2022-10-22 10:05
|
|
18
8
|
*/
|
|
19
|
-
export declare const startPayment: ({ orderId, cardInfo, payData }: any,
|
|
20
|
-
/**
|
|
21
|
-
* @title: 前置检查 - 提交卡信息到后端(预检查版本)
|
|
22
|
-
* @description: 与 checkEnrollment 调用相同 API,但不包含 Toast/callback/closeIframe 等副作用。
|
|
23
|
-
* 失败时直接 throw error,由调用方(MWCreditCard)捕获并展示 3DS 错误弹窗。
|
|
24
|
-
* @param {string} orderId 订单ID
|
|
25
|
-
* @param {any} cardInfo 卡信息
|
|
26
|
-
* @return {Promise<any>} 返回后端数据(含 pay_info),失败则 throw
|
|
27
|
-
*/
|
|
28
|
-
export declare const preCheckEnrollment: (orderId: string, cardInfo: any) => Promise<any>;
|
|
9
|
+
export declare const startPayment: ({ orderId, cardInfo, payData }: any, callback?: any) => Promise<boolean | undefined>;
|
|
29
10
|
/*******
|
|
30
11
|
* @title: 步骤2
|
|
31
12
|
* @description: 提交卡信息到后端
|
|
@@ -33,7 +14,7 @@ export declare const preCheckEnrollment: (orderId: string, cardInfo: any) => Pro
|
|
|
33
14
|
* @Author: Wzw
|
|
34
15
|
* @Date: 2022-10-18 10:26
|
|
35
16
|
*/
|
|
36
|
-
export declare const checkEnrollment: (orderId: string, cardInfo: any,
|
|
17
|
+
export declare const checkEnrollment: (orderId: string, cardInfo: any, callback: any) => Promise<any>;
|
|
37
18
|
/**
|
|
38
19
|
* @title: 步骤3
|
|
39
20
|
* @description: 创建iframe, 监听
|
|
@@ -51,7 +32,7 @@ export declare const createThreeDSMethodIframe: (threeDSMethodData: any, callbac
|
|
|
51
32
|
* @Author: Wzw
|
|
52
33
|
* @Date: 2022-10-18 10:43
|
|
53
34
|
*/
|
|
54
|
-
export declare const checkTDSAuth: (step2: any, step3: any,
|
|
35
|
+
export declare const checkTDSAuth: (step2: any, step3: any, callback?: any) => Promise<any>;
|
|
55
36
|
/**
|
|
56
37
|
* @title: 步骤5
|
|
57
38
|
* @description: 监听
|
|
@@ -78,4 +59,3 @@ export declare const checkPARes: (step2: any, step4: any, step5: any) => Promise
|
|
|
78
59
|
* @Date: 2022-10-18 14:28
|
|
79
60
|
*/
|
|
80
61
|
export declare const paymentEnd: (props: any, callback: any) => void;
|
|
81
|
-
export {};
|