@pisell/private-materials 6.3.140 → 6.3.142
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/meta.js +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
- package/es/components/appointmentBooking/components/Cart/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Footer/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
- package/es/components/booking/forms/footer.d.ts +1 -0
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
- package/es/components/booking/hooks/useClearCart.d.ts +1 -0
- package/es/components/booking/info/dateRange/index.d.ts +1 -0
- package/es/components/booking/notes/NoteBlock/index.d.ts +1 -0
- package/es/components/ecocup/components/AddCustomerModal/index.d.ts +1 -0
- package/es/components/ecocup/components/CupActionList/index.d.ts +1 -0
- package/es/components/ecocup/components/CupActionModal/index.d.ts +1 -0
- package/es/components/ecocup/components/CupStatusModal/index.d.ts +1 -0
- package/es/components/ecocup/components/CustomerAndCupModal/index.d.ts +1 -0
- package/es/components/ecocup/components/MoreDropdown/index.d.ts +1 -0
- package/es/components/ecocup/components/SearchBar/index.d.ts +1 -0
- package/es/components/ecocup/components/SettingModal/index.d.ts +1 -0
- package/es/components/ecocup/cupList/hooks/useColumns.d.ts +1 -0
- package/es/components/ecocup/cupList/hooks/useSummary.d.ts +1 -0
- package/es/components/ecocup/cupList/index.d.ts +1 -0
- package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
- 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/bookingDetailModal/components/BookingOptions.d.ts +1 -0
- package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
- package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
- package/es/components/scanOrder/components/Content/index.js +47 -31
- package/es/components/scanOrder/components/Menu/index.d.ts +1 -0
- package/es/components/scanOrder/components/Menu/index.js +2 -1
- package/es/components/scanOrder/locales.d.ts +5 -0
- package/es/components/scanOrder/locales.js +5 -0
- package/es/components/shoppingCart/hooks/useAddService.d.ts +1 -0
- package/es/components/shoppingCart/hooks/useClearCart.d.ts +1 -0
- package/es/components/workSpaceList/components/Modal/index.d.ts +1 -0
- package/es/plus/orderList/components/HandleActions.d.ts +1 -0
- package/es/plus/orderList/components/QuickFilter.d.ts +1 -0
- package/es/plus/orderList/components/Reset.d.ts +1 -0
- package/es/plus/orderList/components/Toolbar.d.ts +1 -0
- package/es/plus/pisellReservation/floorMap/useReservationFloorPlan.d.ts +1 -0
- package/es/plus/saasAttendance/settings/components/membersField/index.d.ts +1 -0
- package/es/plus/saasRegister/components/VertifyEmail.d.ts +1 -0
- package/es/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
- package/es/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +1 -0
- package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +1 -0
- package/es/pro/pisellPhoneKeyboard/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Cart/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
- package/lib/components/booking/forms/footer.d.ts +1 -0
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
- package/lib/components/booking/hooks/useClearCart.d.ts +1 -0
- package/lib/components/booking/info/dateRange/index.d.ts +1 -0
- package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -0
- package/lib/components/ecocup/components/AddCustomerModal/index.d.ts +1 -0
- package/lib/components/ecocup/components/CupActionList/index.d.ts +1 -0
- package/lib/components/ecocup/components/CupActionModal/index.d.ts +1 -0
- package/lib/components/ecocup/components/CupStatusModal/index.d.ts +1 -0
- package/lib/components/ecocup/components/CustomerAndCupModal/index.d.ts +1 -0
- package/lib/components/ecocup/components/MoreDropdown/index.d.ts +1 -0
- package/lib/components/ecocup/components/SearchBar/index.d.ts +1 -0
- package/lib/components/ecocup/components/SettingModal/index.d.ts +1 -0
- package/lib/components/ecocup/cupList/hooks/useColumns.d.ts +1 -0
- package/lib/components/ecocup/cupList/hooks/useSummary.d.ts +1 -0
- package/lib/components/ecocup/cupList/index.d.ts +1 -0
- package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
- 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/bookingDetailModal/components/BookingOptions.d.ts +1 -0
- package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
- package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
- package/lib/components/scanOrder/components/Content/index.js +8 -0
- package/lib/components/scanOrder/components/Menu/index.d.ts +1 -0
- package/lib/components/scanOrder/components/Menu/index.js +2 -2
- package/lib/components/scanOrder/locales.d.ts +5 -0
- package/lib/components/scanOrder/locales.js +5 -0
- package/lib/components/shoppingCart/hooks/useAddService.d.ts +1 -0
- package/lib/components/shoppingCart/hooks/useClearCart.d.ts +1 -0
- package/lib/components/workSpaceList/components/Modal/index.d.ts +1 -0
- package/lib/plus/orderList/components/HandleActions.d.ts +1 -0
- package/lib/plus/orderList/components/QuickFilter.d.ts +1 -0
- package/lib/plus/orderList/components/Reset.d.ts +1 -0
- package/lib/plus/orderList/components/Toolbar.d.ts +1 -0
- package/lib/plus/pisellReservation/floorMap/useReservationFloorPlan.d.ts +1 -0
- package/lib/plus/saasAttendance/settings/components/membersField/index.d.ts +1 -0
- package/lib/plus/saasRegister/components/VertifyEmail.d.ts +1 -0
- package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
- package/lib/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +1 -0
- package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +1 -0
- package/lib/pro/pisellPhoneKeyboard/index.d.ts +1 -0
- package/package.json +1 -1
- package/es/components/appointmentBooking/components/Form/index.d.ts +0 -4
- package/es/components/appointmentBooking/components/Services/index.d.ts +0 -4
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -3
- package/es/components/appointmentBooking/hooks.d.ts +0 -107
- package/es/components/appointmentBooking/utils.d.ts +0 -227
- package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +0 -6
- package/es/components/authentication/admin/ChannelAuthSetting/index.d.ts +0 -6
- package/es/components/booking/components/footer/utils.d.ts +0 -47
- package/es/components/booking/components/reloadResourceModal/index.d.ts +0 -9
- package/es/components/booking/components/voucher/index.d.ts +0 -3
- package/es/components/booking/info/service/editService/constants.d.ts +0 -1
- package/es/components/booking/info/service/editService/index.d.ts +0 -7
- package/es/components/booking/info/service2/utils.d.ts +0 -248
- package/es/components/booking/info2/index.d.ts +0 -12
- package/es/components/booking/info2/service/addService/index.d.ts +0 -11
- package/es/components/booking/locales.d.ts +0 -1489
- package/es/components/booking/model.d.ts +0 -120
- package/es/components/eftposPay/amount.d.ts +0 -21
- package/es/components/eftposPay/app.d.ts +0 -10
- package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -3
- package/es/components/eftposPay/component/fail/index.d.ts +0 -3
- package/es/components/eftposPay/component/fail/network.d.ts +0 -9
- package/es/components/eftposPay/component/fail/unknow.d.ts +0 -10
- package/es/components/eftposPay/component/manual/index.d.ts +0 -9
- package/es/components/eftposPay/component/signature/index.d.ts +0 -9
- package/es/components/eftposPay/device.d.ts +0 -23
- package/es/components/eftposPay/index.d.ts +0 -4
- package/es/components/eftposPay/linkly/hooks/normal.d.ts +0 -30
- package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +0 -4
- package/es/components/eftposPay/linkly/index.d.ts +0 -2
- package/es/components/eftposPay/pay.d.ts +0 -20
- package/es/components/eftposPay/payo/config.d.ts +0 -13
- package/es/components/eftposPay/payo/hooks.d.ts +0 -10
- package/es/components/eftposPay/payo/payment.d.ts +0 -66
- package/es/components/eftposPay/tip.d.ts +0 -10
- package/es/components/eftposPay/tyro/index.d.ts +0 -9
- package/es/components/eftposPay/utils/payLog.d.ts +0 -81
- package/es/components/eftposPay/windcave/receiptAction.d.ts +0 -23
- package/es/components/eftposPay/windcave/windcave.d.ts +0 -7
- package/es/components/kioskSkuDetail/index.d.ts +0 -39
- package/es/components/kioskSkuDetail/locales.d.ts +0 -48
- package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +0 -10
- package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +0 -10
- package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +0 -10
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +0 -16
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +0 -15
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +0 -83
- package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +0 -10
- package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +0 -10
- package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +0 -22
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +0 -25
- package/es/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +0 -16
- package/es/components/pay/toC/PaymentMethods/index.d.ts +0 -9
- package/es/components/pay/toC/index.d.ts +0 -3
- package/es/components/pay/toC/locales.d.ts +0 -631
- package/es/components/pay/toC/payGroup.d.ts +0 -59
- package/es/components/pay/toC/serve.d.ts +0 -87
- package/es/components/pay/toC/utils.d.ts +0 -65
- package/es/components/ruleSetting/locales.d.ts +0 -78
- package/es/components/systemSettings/registry/components/GroupModal.d.ts +0 -4
- package/es/components/systemSettings/registry/components/ItemModal.d.ts +0 -4
- package/es/components/systemSettings/registry/index.d.ts +0 -5
- package/es/components/systemSettings/registry/services.d.ts +0 -99
- package/es/components/systemSettings/registry/types.d.ts +0 -143
- package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -9
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +0 -4
- package/es/components/ticketBooking/components/timeBar/index.d.ts +0 -12
- package/es/components/ticketBooking/index.d.ts +0 -7
- package/es/index.d.ts +0 -87
- package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -6
- package/es/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +0 -3
- package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -15
- package/es/plus/skuOptionsSelection/index.d.ts +0 -5
- package/es/plus/skuOptionsSelection/locales.d.ts +0 -58
- package/es/plus/skuOptionsSelection/types.d.ts +0 -458
- package/es/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +0 -19
- package/es/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +0 -1
- package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +0 -4
- package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
- package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +0 -1
- package/es/pro/Cards/components/SKUCard/index.d.ts +0 -5
- package/es/pro/Login2.0/components/phoneValidation.d.ts +0 -17
- package/lib/components/appointmentBooking/components/Form/index.d.ts +0 -4
- package/lib/components/appointmentBooking/components/Services/index.d.ts +0 -4
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -3
- package/lib/components/appointmentBooking/hooks.d.ts +0 -107
- package/lib/components/appointmentBooking/utils.d.ts +0 -227
- package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +0 -6
- package/lib/components/authentication/admin/ChannelAuthSetting/index.d.ts +0 -6
- package/lib/components/booking/components/footer/utils.d.ts +0 -47
- package/lib/components/booking/components/reloadResourceModal/index.d.ts +0 -9
- package/lib/components/booking/components/voucher/index.d.ts +0 -3
- package/lib/components/booking/info/service/editService/constants.d.ts +0 -1
- package/lib/components/booking/info/service/editService/index.d.ts +0 -7
- package/lib/components/booking/info/service2/utils.d.ts +0 -248
- package/lib/components/booking/info2/index.d.ts +0 -12
- package/lib/components/booking/info2/service/addService/index.d.ts +0 -11
- package/lib/components/booking/locales.d.ts +0 -1489
- package/lib/components/booking/model.d.ts +0 -120
- package/lib/components/eftposPay/amount.d.ts +0 -21
- package/lib/components/eftposPay/app.d.ts +0 -10
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -3
- package/lib/components/eftposPay/component/fail/index.d.ts +0 -3
- package/lib/components/eftposPay/component/fail/network.d.ts +0 -9
- package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -10
- package/lib/components/eftposPay/component/manual/index.d.ts +0 -9
- package/lib/components/eftposPay/component/signature/index.d.ts +0 -9
- package/lib/components/eftposPay/device.d.ts +0 -23
- package/lib/components/eftposPay/index.d.ts +0 -4
- package/lib/components/eftposPay/linkly/hooks/normal.d.ts +0 -30
- package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +0 -4
- package/lib/components/eftposPay/linkly/index.d.ts +0 -2
- package/lib/components/eftposPay/pay.d.ts +0 -20
- package/lib/components/eftposPay/payo/config.d.ts +0 -13
- package/lib/components/eftposPay/payo/hooks.d.ts +0 -10
- package/lib/components/eftposPay/payo/payment.d.ts +0 -66
- package/lib/components/eftposPay/tip.d.ts +0 -10
- package/lib/components/eftposPay/tyro/index.d.ts +0 -9
- package/lib/components/eftposPay/utils/payLog.d.ts +0 -81
- package/lib/components/eftposPay/windcave/receiptAction.d.ts +0 -23
- package/lib/components/eftposPay/windcave/windcave.d.ts +0 -7
- package/lib/components/kioskSkuDetail/index.d.ts +0 -39
- package/lib/components/kioskSkuDetail/locales.d.ts +0 -48
- package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +0 -10
- package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +0 -10
- package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +0 -10
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +0 -16
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +0 -15
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +0 -83
- package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +0 -10
- package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +0 -10
- package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +0 -22
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +0 -25
- package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +0 -16
- package/lib/components/pay/toC/PaymentMethods/index.d.ts +0 -9
- package/lib/components/pay/toC/index.d.ts +0 -3
- package/lib/components/pay/toC/locales.d.ts +0 -631
- package/lib/components/pay/toC/payGroup.d.ts +0 -59
- package/lib/components/pay/toC/serve.d.ts +0 -87
- package/lib/components/pay/toC/utils.d.ts +0 -65
- package/lib/components/ruleSetting/locales.d.ts +0 -78
- package/lib/components/systemSettings/registry/components/GroupModal.d.ts +0 -4
- package/lib/components/systemSettings/registry/components/ItemModal.d.ts +0 -4
- package/lib/components/systemSettings/registry/index.d.ts +0 -5
- package/lib/components/systemSettings/registry/services.d.ts +0 -99
- package/lib/components/systemSettings/registry/types.d.ts +0 -143
- package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -9
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +0 -4
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +0 -12
- package/lib/components/ticketBooking/index.d.ts +0 -7
- package/lib/index.d.ts +0 -87
- package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -6
- package/lib/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +0 -3
- package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -15
- package/lib/plus/skuOptionsSelection/index.d.ts +0 -5
- package/lib/plus/skuOptionsSelection/locales.d.ts +0 -58
- package/lib/plus/skuOptionsSelection/types.d.ts +0 -458
- package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +0 -19
- package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +0 -1
- package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +0 -4
- package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
- package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +0 -1
- package/lib/pro/Cards/components/SKUCard/index.d.ts +0 -5
- package/lib/pro/Login2.0/components/phoneValidation.d.ts +0 -17
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface FormState {
|
|
3
|
-
amountSymbol: string;
|
|
4
|
-
apis: {
|
|
5
|
-
getClients: (par?: any) => any;
|
|
6
|
-
getClientsEs: (par?: any) => any;
|
|
7
|
-
getServices: (par?: any) => any;
|
|
8
|
-
getResources: (par?: any) => any;
|
|
9
|
-
getProducts: (par?: any) => any;
|
|
10
|
-
getPets: (par?: any) => any;
|
|
11
|
-
getForms: (par?: any) => any;
|
|
12
|
-
getFormData: (par?: any) => any;
|
|
13
|
-
getAddonsByOrderId: (par?: any) => any;
|
|
14
|
-
saveAddonsByOrderId: (par?: any) => any;
|
|
15
|
-
getNotesByOrder: (par?: any) => any;
|
|
16
|
-
saveBookingFormData: (par?: any) => any;
|
|
17
|
-
getPetsData: (par?: any) => any;
|
|
18
|
-
};
|
|
19
|
-
client: {
|
|
20
|
-
showModal: boolean;
|
|
21
|
-
value: any;
|
|
22
|
-
clients: any[];
|
|
23
|
-
clientsParams: {
|
|
24
|
-
skip: number;
|
|
25
|
-
num: number;
|
|
26
|
-
search: string;
|
|
27
|
-
};
|
|
28
|
-
edit: boolean;
|
|
29
|
-
};
|
|
30
|
-
contacts_info: {
|
|
31
|
-
edit: boolean;
|
|
32
|
-
value: any;
|
|
33
|
-
};
|
|
34
|
-
date: {
|
|
35
|
-
value: any;
|
|
36
|
-
end_date: any;
|
|
37
|
-
edit: boolean;
|
|
38
|
-
};
|
|
39
|
-
service: {
|
|
40
|
-
addModal: boolean;
|
|
41
|
-
editModal: boolean;
|
|
42
|
-
services: any[];
|
|
43
|
-
resources: any[];
|
|
44
|
-
resourcesOrigin: any[];
|
|
45
|
-
reloadResourceModal: false;
|
|
46
|
-
value: any[];
|
|
47
|
-
cacheItem: any;
|
|
48
|
-
edit: boolean;
|
|
49
|
-
addTimeModal: boolean;
|
|
50
|
-
changeService: any;
|
|
51
|
-
};
|
|
52
|
-
pet: {
|
|
53
|
-
showModal: boolean;
|
|
54
|
-
pets: any[];
|
|
55
|
-
value: any[];
|
|
56
|
-
formData: any;
|
|
57
|
-
originValue: any;
|
|
58
|
-
edit: boolean;
|
|
59
|
-
};
|
|
60
|
-
addons: {
|
|
61
|
-
showModal: boolean;
|
|
62
|
-
value: any[];
|
|
63
|
-
productList: any[];
|
|
64
|
-
originData: any[];
|
|
65
|
-
edit: boolean;
|
|
66
|
-
};
|
|
67
|
-
notes: {
|
|
68
|
-
orderNote: string;
|
|
69
|
-
internalNotes: any[];
|
|
70
|
-
edit: boolean;
|
|
71
|
-
};
|
|
72
|
-
form: {
|
|
73
|
-
value: any;
|
|
74
|
-
forms: any[];
|
|
75
|
-
edit: boolean;
|
|
76
|
-
};
|
|
77
|
-
setGlobalState: () => void;
|
|
78
|
-
disabledEdit: boolean;
|
|
79
|
-
bookingConfig: any;
|
|
80
|
-
action: any;
|
|
81
|
-
bookingId: string | number;
|
|
82
|
-
bookingDetail: any;
|
|
83
|
-
channelDisabledEdit: boolean;
|
|
84
|
-
renderType?: 'eventBooking' | 'dayBooking';
|
|
85
|
-
modalOpen?: boolean;
|
|
86
|
-
isTerminal?: boolean;
|
|
87
|
-
isFranchisee?: boolean;
|
|
88
|
-
addTimeProducts: any[];
|
|
89
|
-
eventOtherParams?: {
|
|
90
|
-
relation_id: number;
|
|
91
|
-
number: number;
|
|
92
|
-
registration_type: 'single' | 'all' | 'extra_include';
|
|
93
|
-
start_date: string;
|
|
94
|
-
start_time: string;
|
|
95
|
-
end_date: string;
|
|
96
|
-
end_time: string;
|
|
97
|
-
productIds: number[];
|
|
98
|
-
};
|
|
99
|
-
disableEventBookingEdit?: boolean;
|
|
100
|
-
/** 关闭自动打开选择服务弹窗 */
|
|
101
|
-
closeAutoOpenService?: boolean;
|
|
102
|
-
/** 是否terminal创建booking页面 */
|
|
103
|
-
isBookingCreatePage?: boolean;
|
|
104
|
-
loading: boolean;
|
|
105
|
-
isTerminalDayBookingPage?: boolean;
|
|
106
|
-
activeCartId?: any[];
|
|
107
|
-
isDayBooking: boolean;
|
|
108
|
-
}
|
|
109
|
-
export declare const walkInData: {
|
|
110
|
-
id: number;
|
|
111
|
-
nickname: string;
|
|
112
|
-
};
|
|
113
|
-
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
114
|
-
state: FormState;
|
|
115
|
-
} & {
|
|
116
|
-
dispatch: (params: {
|
|
117
|
-
type: string;
|
|
118
|
-
payload: any;
|
|
119
|
-
}) => void;
|
|
120
|
-
}>;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { PosProps } from './const';
|
|
3
|
-
/**
|
|
4
|
-
* @title: 支付金额信息配置页
|
|
5
|
-
* @description: 配置支付金额与手续费
|
|
6
|
-
* @return React.Element
|
|
7
|
-
* @Author: hongbing.wang
|
|
8
|
-
* @Date: 2024-08-12 11:35
|
|
9
|
-
*/
|
|
10
|
-
declare const _default: ({ className, onChange, onClose, formatAmount, isMobile, net, client }: {
|
|
11
|
-
className?: string | undefined;
|
|
12
|
-
onChange?: ((status: "success" | "page" | "print" | "fail" | "mark_tx_processed", params?: string | {
|
|
13
|
-
[keys: string]: unknown;
|
|
14
|
-
} | undefined, other?: any) => void) | undefined;
|
|
15
|
-
onClose: () => void;
|
|
16
|
-
formatAmount(amount: number | string, precision: number, symbol: string): string;
|
|
17
|
-
isMobile: boolean;
|
|
18
|
-
net: boolean;
|
|
19
|
-
client: string;
|
|
20
|
-
}) => JSX.Element;
|
|
21
|
-
export default _default;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { PosProps, RouteType } from './const';
|
|
2
|
-
declare const App: ({ action, api, device_number, terminal, tyroUrl, tyroVersion, onChangeParams, isMobile, channel, formatAmount, ...props }: Omit<PosProps, "type" | "mode" | "getApi"> & {
|
|
3
|
-
action: RouteType;
|
|
4
|
-
device_number: string | number;
|
|
5
|
-
api: ReturnType<PosProps['getApi']>;
|
|
6
|
-
isMobile: boolean;
|
|
7
|
-
channel?: string | undefined;
|
|
8
|
-
formatAmount(amount: number | string, precision: number, symbol: string): string;
|
|
9
|
-
}) => JSX.Element;
|
|
10
|
-
export default App;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ActionProps } from '../../const';
|
|
3
|
-
/**
|
|
4
|
-
* @title: 支付状态未知页面
|
|
5
|
-
* @description:
|
|
6
|
-
* @Author: hongbing.wang
|
|
7
|
-
* @Date: 2024-08-20 11:42
|
|
8
|
-
*/
|
|
9
|
-
declare const _default: ({ onChange, className }: ActionProps) => JSX.Element;
|
|
10
|
-
export default _default;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ActionProps } from '../../const';
|
|
2
|
-
import './index.less';
|
|
3
|
-
/**
|
|
4
|
-
* @title: 结果标记页面
|
|
5
|
-
* @Author: hongbing.wang
|
|
6
|
-
* @Date: 2024-08-20 11:46
|
|
7
|
-
*/
|
|
8
|
-
declare const _default: ({ onChange, className, formatAmount }: ActionProps) => JSX.Element;
|
|
9
|
-
export default _default;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ActionProps } from '../../const';
|
|
3
|
-
/**
|
|
4
|
-
* @title: 取消签名确认页
|
|
5
|
-
* @Author: hongbing.wang
|
|
6
|
-
* @Date: 2024-08-20 11:49
|
|
7
|
-
*/
|
|
8
|
-
declare const _default: ({ api, className }: ActionProps) => JSX.Element;
|
|
9
|
-
export default _default;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { PayProps, PosProps } from './const';
|
|
2
|
-
import './device.less';
|
|
3
|
-
/**
|
|
4
|
-
* @title: 设备选择页
|
|
5
|
-
* @description: 选择设备信息,无设备增加提示;仅有一条,默认选中跳走;多条记录则停留等待用户选择
|
|
6
|
-
* @return React.Element
|
|
7
|
-
* @Author: hongbing.wang
|
|
8
|
-
* @Date: 2024-08-12 11:40
|
|
9
|
-
*/
|
|
10
|
-
declare const _default: ({ api, onChange, onClose, className, device_number, isMobile, net, client, formatAmount, }: {
|
|
11
|
-
api: PayProps['api'];
|
|
12
|
-
className?: string | undefined;
|
|
13
|
-
onChange?: ((status: "success" | "page" | "print" | "fail" | "mark_tx_processed", params?: string | {
|
|
14
|
-
[keys: string]: unknown;
|
|
15
|
-
} | undefined, other?: any) => void) | undefined;
|
|
16
|
-
onClose: () => void;
|
|
17
|
-
device_number?: string | number | undefined;
|
|
18
|
-
isMobile: boolean;
|
|
19
|
-
net: boolean;
|
|
20
|
-
client: string;
|
|
21
|
-
formatAmount(amount: number | string, precision: number, symbol: string): string;
|
|
22
|
-
}) => JSX.Element;
|
|
23
|
-
export default _default;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 支付或退款
|
|
3
|
-
* @param failAction 失败回调
|
|
4
|
-
*/
|
|
5
|
-
export declare const useLinklyPayOrRefund: (handleCheck: () => boolean) => {
|
|
6
|
-
action: {
|
|
7
|
-
pay: import("ahooks/lib/useRequest/src/types").Result<any, [data: any]>;
|
|
8
|
-
};
|
|
9
|
-
payOrRefund: (resultQuery: any, handleLinklySuccess: any) => void;
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* @title: 取消支付或退款
|
|
13
|
-
* @description: 取消支付或退款调用接口后不管成功还是失败都需要调用支付查询接口
|
|
14
|
-
*/
|
|
15
|
-
export declare const useLinklyCancel: (handleCheck: () => boolean) => {
|
|
16
|
-
action: {
|
|
17
|
-
cancel: import("ahooks/lib/useRequest/src/types").Result<any, [param: any]>;
|
|
18
|
-
};
|
|
19
|
-
linklyCancel: (resultQuery: any) => void;
|
|
20
|
-
};
|
|
21
|
-
/**
|
|
22
|
-
* @title: 支付或退款签名
|
|
23
|
-
* @description: 支付或退款签名调用接口后不管成功还是失败都需要调用支付查询接口
|
|
24
|
-
*/
|
|
25
|
-
export declare const useLinklySignature: (handleCheck: () => boolean) => {
|
|
26
|
-
action: {
|
|
27
|
-
signature: import("ahooks/lib/useRequest/src/types").Result<any, [param: any]>;
|
|
28
|
-
};
|
|
29
|
-
linklySignature: (status: number, resultQuery: any) => void;
|
|
30
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { PayProps } from './const';
|
|
2
|
-
import './index.less';
|
|
3
|
-
/**
|
|
4
|
-
* @title: 支付组件
|
|
5
|
-
* @description:
|
|
6
|
-
* @Author: hongbing.wang
|
|
7
|
-
* @Date: 2024-08-20 14:59
|
|
8
|
-
*/
|
|
9
|
-
declare const Pay: ({ api, onChange: onChangeStatus, className, terminal, net, isMobile, tyroUrl, tyroVersion, formatAmount, client, }: PayProps & {
|
|
10
|
-
terminal: {
|
|
11
|
-
network: boolean;
|
|
12
|
-
};
|
|
13
|
-
net: boolean;
|
|
14
|
-
isMobile: boolean;
|
|
15
|
-
tyroUrl?: string | undefined;
|
|
16
|
-
tyroVersion?: string | undefined;
|
|
17
|
-
formatAmount(amount: number | string, precision: number, symbol: string): string;
|
|
18
|
-
client: string;
|
|
19
|
-
}) => JSX.Element;
|
|
20
|
-
export default Pay;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { StatusEnum } from '../const';
|
|
3
|
-
export declare const POS: ({ api, onChange, }: {
|
|
4
|
-
api: {
|
|
5
|
-
[key: string]: (...agrn: unknown[]) => Promise<unknown>;
|
|
6
|
-
};
|
|
7
|
-
onChange: (status: `${StatusEnum.Success}` | `${StatusEnum.Fail}`, params?: {
|
|
8
|
-
[keys: string]: unknown;
|
|
9
|
-
} | undefined) => void;
|
|
10
|
-
}) => JSX.Element;
|
|
11
|
-
export declare const Action: ({ onChange }: {
|
|
12
|
-
onChange: any;
|
|
13
|
-
}) => JSX.Element;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { PayStatus } from '../const';
|
|
2
|
-
/**
|
|
3
|
-
* @title: 循环查询 接口状态
|
|
4
|
-
* @Author: hongbing.wang
|
|
5
|
-
* @Date: 2024-08-20 13:29
|
|
6
|
-
*/
|
|
7
|
-
export declare const useValidate: (timeout: number) => readonly [(params_0: (...agrn: unknown[]) => Promise<any>, params_1: number, params_2?: number | undefined) => Promise<{
|
|
8
|
-
[key: string]: unknown;
|
|
9
|
-
code: `${PayStatus}`;
|
|
10
|
-
}>, () => void];
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
interface RunApiParams {
|
|
2
|
-
[key: string]: any;
|
|
3
|
-
}
|
|
4
|
-
export declare enum ActionType {
|
|
5
|
-
Pay = "pay",
|
|
6
|
-
Refund = "refund",
|
|
7
|
-
Query = "query"
|
|
8
|
-
}
|
|
9
|
-
interface UsePaymentOptions {
|
|
10
|
-
/**
|
|
11
|
-
* 支付接口
|
|
12
|
-
*/
|
|
13
|
-
payApi: (params: RunApiParams, options?: {
|
|
14
|
-
signal?: AbortSignal;
|
|
15
|
-
}) => Promise<any>;
|
|
16
|
-
/**
|
|
17
|
-
* 退款接口
|
|
18
|
-
*/
|
|
19
|
-
refundApi?: (params: RunApiParams, options?: {
|
|
20
|
-
signal?: AbortSignal;
|
|
21
|
-
}) => Promise<any>;
|
|
22
|
-
/**
|
|
23
|
-
* 查询接口
|
|
24
|
-
*/
|
|
25
|
-
checkApi: (params: {
|
|
26
|
-
number: string;
|
|
27
|
-
}, options?: {
|
|
28
|
-
signal?: AbortSignal;
|
|
29
|
-
}) => Promise<any>;
|
|
30
|
-
/**
|
|
31
|
-
* 检查是否应该继续处理结果(用于处理网络断开、组件卸载等情况)
|
|
32
|
-
*/
|
|
33
|
-
shouldContinue?: () => boolean;
|
|
34
|
-
}
|
|
35
|
-
interface RunParams {
|
|
36
|
-
/** 支付类型 */
|
|
37
|
-
paymentType: ActionType;
|
|
38
|
-
/** 支付交易号 */
|
|
39
|
-
paymentNum: string;
|
|
40
|
-
/** 订单ID */
|
|
41
|
-
orderId?: string | number;
|
|
42
|
-
/** 设备ID */
|
|
43
|
-
deviceId?: string | number;
|
|
44
|
-
/** 支付参数 */
|
|
45
|
-
params: RunApiParams;
|
|
46
|
-
/** 回调方法 */
|
|
47
|
-
callbacks: RunCallbacks;
|
|
48
|
-
}
|
|
49
|
-
interface RunCallbacks {
|
|
50
|
-
/**
|
|
51
|
-
* 成功回调
|
|
52
|
-
*/
|
|
53
|
-
onSuccess: (res: any) => void;
|
|
54
|
-
/**
|
|
55
|
-
* 失败回调
|
|
56
|
-
*/
|
|
57
|
-
onError: (error: any) => void;
|
|
58
|
-
}
|
|
59
|
-
export declare const usePayment: (options: UsePaymentOptions) => {
|
|
60
|
-
run: (options: RunParams) => Promise<void>;
|
|
61
|
-
stop: () => void;
|
|
62
|
-
clean: (params?: {
|
|
63
|
-
clearCallbacks?: boolean;
|
|
64
|
-
}) => void;
|
|
65
|
-
};
|
|
66
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import './tip.less';
|
|
3
|
-
/**
|
|
4
|
-
* @title: 支付状态未知页面
|
|
5
|
-
* @description:
|
|
6
|
-
* @Author: hongbing.wang
|
|
7
|
-
* @Date: 2024-08-20 11:42
|
|
8
|
-
*/
|
|
9
|
-
declare const _default: ({ onChangeStatus, className, formatAmount, cardSurcharge, receipts, successTime, onChangeParams, }: any) => JSX.Element;
|
|
10
|
-
export default _default;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const _default: ({ api, onChange, children, url, version, }: {
|
|
3
|
-
api: any;
|
|
4
|
-
onChange: any;
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
url?: string | undefined;
|
|
7
|
-
version?: string | undefined;
|
|
8
|
-
}) => JSX.Element;
|
|
9
|
-
export default _default;
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
export interface PayLogContext {
|
|
2
|
-
/** 渠道 */
|
|
3
|
-
channel?: string;
|
|
4
|
-
/** 订单ID */
|
|
5
|
-
orderId?: string | number;
|
|
6
|
-
/** 设备ID */
|
|
7
|
-
deviceId?: string | number;
|
|
8
|
-
/** 支付类型:PAYO / WINDCAVE / LINKLY / TYRO */
|
|
9
|
-
paymentType?: string;
|
|
10
|
-
/** 交易记录号 */
|
|
11
|
-
transactionNumber?: string;
|
|
12
|
-
/** 模式:pay / refund / query */
|
|
13
|
-
mode?: string;
|
|
14
|
-
/** 其他扩展信息 */
|
|
15
|
-
extra?: Record<string, any>;
|
|
16
|
-
}
|
|
17
|
-
declare class PayLog {
|
|
18
|
-
private static instance;
|
|
19
|
-
private sessionKey;
|
|
20
|
-
private context;
|
|
21
|
-
private logs;
|
|
22
|
-
private startTime;
|
|
23
|
-
private flushed;
|
|
24
|
-
private constructor();
|
|
25
|
-
static getInstance(): PayLog;
|
|
26
|
-
/**
|
|
27
|
-
* 初始化一次交易会话
|
|
28
|
-
* - 生成唯一 sessionKey
|
|
29
|
-
* - 恢复上报 localStorage 中残留的旧日志
|
|
30
|
-
* - 接受部分 context(后续可通过 setContext 补充)
|
|
31
|
-
*/
|
|
32
|
-
init(context?: Partial<PayLogContext>): void;
|
|
33
|
-
/**
|
|
34
|
-
* 补充/更新上下文信息
|
|
35
|
-
* 新值覆盖旧值,extra 做浅合并
|
|
36
|
-
*/
|
|
37
|
-
setContext(partial: Partial<PayLogContext>): void;
|
|
38
|
-
/**
|
|
39
|
-
* 记录一条日志
|
|
40
|
-
*/
|
|
41
|
-
log(title: string, data?: any): void;
|
|
42
|
-
/**
|
|
43
|
-
* 上报日志到飞书并清理 localStorage
|
|
44
|
-
*/
|
|
45
|
-
flush(customTitle?: string): void;
|
|
46
|
-
/**
|
|
47
|
-
* flush + 重置内部状态
|
|
48
|
-
*/
|
|
49
|
-
destroy(): void;
|
|
50
|
-
/**
|
|
51
|
-
* 构建 sendWarningLog 所需的 content 数组
|
|
52
|
-
*/
|
|
53
|
-
private buildContent;
|
|
54
|
-
/**
|
|
55
|
-
* 持久化当前会话到 localStorage
|
|
56
|
-
*/
|
|
57
|
-
private persistToStorage;
|
|
58
|
-
/**
|
|
59
|
-
* 从 localStorage 移除指定 session
|
|
60
|
-
*/
|
|
61
|
-
private removeFromStorage;
|
|
62
|
-
/**
|
|
63
|
-
* 获取 localStorage 中所有 session
|
|
64
|
-
*/
|
|
65
|
-
private getAllSessions;
|
|
66
|
-
/**
|
|
67
|
-
* 恢复上报 localStorage 中残留的旧日志(崩溃/异常退出场景)
|
|
68
|
-
*/
|
|
69
|
-
private recoverOrphanedLogs;
|
|
70
|
-
}
|
|
71
|
-
declare const payLog: PayLog;
|
|
72
|
-
export default payLog;
|
|
73
|
-
/**
|
|
74
|
-
* 在根组件中使用,管理 PayLog 生命周期
|
|
75
|
-
* - mount 时 init(+ 恢复上报残留日志)
|
|
76
|
-
* - unmount 时 flush
|
|
77
|
-
*/
|
|
78
|
-
export declare function usePayLog(context?: Partial<PayLogContext>): {
|
|
79
|
-
log: (title: string, data?: any) => void;
|
|
80
|
-
setContext: (partial: Partial<PayLogContext>) => void;
|
|
81
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
/**
|
|
3
|
-
* @title: 按钮操作区
|
|
4
|
-
* @description: 仅包含签名
|
|
5
|
-
* @Author: hongbing.wang
|
|
6
|
-
* @Date: 2024-08-20 12:33
|
|
7
|
-
*/
|
|
8
|
-
export declare const ReceiptAction: ({ api, onChange, }: {
|
|
9
|
-
api: any;
|
|
10
|
-
onChange: (status: boolean) => void;
|
|
11
|
-
}) => JSX.Element;
|
|
12
|
-
/**
|
|
13
|
-
* @title: 按钮操作区
|
|
14
|
-
* @description: 不包含签名
|
|
15
|
-
* @Author: hongbing.wang
|
|
16
|
-
* @Date: 2024-08-20 12:32
|
|
17
|
-
*/
|
|
18
|
-
declare const Action: ({ index, onCancel, disabled, }: {
|
|
19
|
-
index: number;
|
|
20
|
-
onCancel: () => void;
|
|
21
|
-
disabled: boolean;
|
|
22
|
-
}) => JSX.Element | null;
|
|
23
|
-
export default Action;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { SkuValue } from '../../plus/skuOptionsSelection/types';
|
|
3
|
-
import './index.less';
|
|
4
|
-
/**
|
|
5
|
-
* @description Kiosk 商品详情(参考 Figma: Kiosk / Launchpad screen)
|
|
6
|
-
* - 默认从 URL query 读取商品 id(productId / product_id / id),内部通过 getProductDetail 拉取详情
|
|
7
|
-
* - 中间区域用 SKUOptionsSelection 做 SKU 选择
|
|
8
|
-
* - 底部用 PisellNumberSelector 做数量编辑
|
|
9
|
-
*/
|
|
10
|
-
declare function KioskSkuDetail(props: KioskSkuDetailProps): JSX.Element;
|
|
11
|
-
export default KioskSkuDetail;
|
|
12
|
-
/**
|
|
13
|
-
* @description 从原生回调 payload 中提取 productId
|
|
14
|
-
*/
|
|
15
|
-
export interface KioskSkuDetailProps {
|
|
16
|
-
/** 商品 id(可选:目前默认从 URL 读取,props 仅作为兜底以兼容老用法) */
|
|
17
|
-
productId?: number | string;
|
|
18
|
-
/**
|
|
19
|
-
* 可选:用于商品报价的日期(预约类商品)
|
|
20
|
-
* @deprecated 目前 kiosk 详情暂时固定取当天,这个参数暂不生效
|
|
21
|
-
*/
|
|
22
|
-
scheduleDate?: string;
|
|
23
|
-
/** 自定义类名 */
|
|
24
|
-
className?: string;
|
|
25
|
-
/** 自定义样式 */
|
|
26
|
-
style?: React.CSSProperties;
|
|
27
|
-
/** 返回 */
|
|
28
|
-
onBack?: () => void;
|
|
29
|
-
/** 加入购物车 */
|
|
30
|
-
onAddToCart?: (params: {
|
|
31
|
-
product: any;
|
|
32
|
-
skuValue: SkuValue;
|
|
33
|
-
quantity: number;
|
|
34
|
-
unitPrice: number;
|
|
35
|
-
total: number;
|
|
36
|
-
currencySymbol: string;
|
|
37
|
-
bookingConfig?: any;
|
|
38
|
-
}) => void;
|
|
39
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
en: {
|
|
3
|
-
'pisell2.text.kiosk.sku.detail.btn.back': string;
|
|
4
|
-
'pisell2.text.kiosk.sku.detail.item.total': string;
|
|
5
|
-
'pisell2.text.kiosk.sku.detail.btn.add.to.cart': string;
|
|
6
|
-
'pisell2.text.kiosk.sku.detail.btn.update': string;
|
|
7
|
-
'pisell2.text.kiosk.sku.detail.loading.options': string;
|
|
8
|
-
'pisell2.text.kiosk.sku.detail.toast.select.variant': string;
|
|
9
|
-
'pisell2.text.kiosk.sku.detail.balance': string;
|
|
10
|
-
};
|
|
11
|
-
'zh-CN': {
|
|
12
|
-
'pisell2.text.kiosk.sku.detail.btn.back': string;
|
|
13
|
-
'pisell2.text.kiosk.sku.detail.item.total': string;
|
|
14
|
-
'pisell2.text.kiosk.sku.detail.btn.add.to.cart': string;
|
|
15
|
-
'pisell2.text.kiosk.sku.detail.btn.update': string;
|
|
16
|
-
'pisell2.text.kiosk.sku.detail.loading.options': string;
|
|
17
|
-
'pisell2.text.kiosk.sku.detail.toast.select.variant': string;
|
|
18
|
-
'pisell2.text.kiosk.sku.detail.balance': string;
|
|
19
|
-
};
|
|
20
|
-
'zh-TW': {
|
|
21
|
-
'pisell2.text.kiosk.sku.detail.btn.back': string;
|
|
22
|
-
'pisell2.text.kiosk.sku.detail.item.total': string;
|
|
23
|
-
'pisell2.text.kiosk.sku.detail.btn.add.to.cart': string;
|
|
24
|
-
'pisell2.text.kiosk.sku.detail.btn.update': string;
|
|
25
|
-
'pisell2.text.kiosk.sku.detail.loading.options': string;
|
|
26
|
-
'pisell2.text.kiosk.sku.detail.toast.select.variant': string;
|
|
27
|
-
'pisell2.text.kiosk.sku.detail.balance': string;
|
|
28
|
-
};
|
|
29
|
-
ja: {
|
|
30
|
-
'pisell2.text.kiosk.sku.detail.btn.back': string;
|
|
31
|
-
'pisell2.text.kiosk.sku.detail.item.total': string;
|
|
32
|
-
'pisell2.text.kiosk.sku.detail.btn.add.to.cart': string;
|
|
33
|
-
'pisell2.text.kiosk.sku.detail.btn.update': string;
|
|
34
|
-
'pisell2.text.kiosk.sku.detail.loading.options': string;
|
|
35
|
-
'pisell2.text.kiosk.sku.detail.toast.select.variant': string;
|
|
36
|
-
'pisell2.text.kiosk.sku.detail.balance': string;
|
|
37
|
-
};
|
|
38
|
-
pt: {
|
|
39
|
-
'pisell2.text.kiosk.sku.detail.btn.back': string;
|
|
40
|
-
'pisell2.text.kiosk.sku.detail.item.total': string;
|
|
41
|
-
'pisell2.text.kiosk.sku.detail.btn.add.to.cart': string;
|
|
42
|
-
'pisell2.text.kiosk.sku.detail.btn.update': string;
|
|
43
|
-
'pisell2.text.kiosk.sku.detail.loading.options': string;
|
|
44
|
-
'pisell2.text.kiosk.sku.detail.toast.select.variant': string;
|
|
45
|
-
'pisell2.text.kiosk.sku.detail.balance': string;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
export default _default;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
export interface GlobePayAliPayH5Ref {
|
|
4
|
-
init: (res: any) => void;
|
|
5
|
-
}
|
|
6
|
-
export interface GlobePayAliPayH5Props {
|
|
7
|
-
onChange?: (values: any) => void;
|
|
8
|
-
}
|
|
9
|
-
declare const _default: React.ForwardRefExoticComponent<GlobePayAliPayH5Props & React.RefAttributes<any>>;
|
|
10
|
-
export default _default;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
export interface GlobePayPaypalH5Ref {
|
|
4
|
-
init: (res: any) => void;
|
|
5
|
-
}
|
|
6
|
-
export interface GlobePayPaypalH5Props {
|
|
7
|
-
onChange?: (values: any) => void;
|
|
8
|
-
}
|
|
9
|
-
declare const _default: React.ForwardRefExoticComponent<GlobePayPaypalH5Props & React.RefAttributes<any>>;
|
|
10
|
-
export default _default;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
export interface GlobePayWxH5Ref {
|
|
4
|
-
init: (res: any) => void;
|
|
5
|
-
}
|
|
6
|
-
export interface GlobePayWxH5Props {
|
|
7
|
-
onChange?: (values: any) => void;
|
|
8
|
-
}
|
|
9
|
-
declare const _default: React.ForwardRefExoticComponent<GlobePayWxH5Props & React.RefAttributes<any>>;
|
|
10
|
-
export default _default;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
export interface TDSPayRef {
|
|
4
|
-
/** 初始化 3DS 支付流程
|
|
5
|
-
* @param res 卡信息(已保存卡含 id,新卡含表单字段)
|
|
6
|
-
* @param order 订单信息
|
|
7
|
-
* @param preCheckData 可选,外部预检查已获取的数据(跳过内部 fastPayNew / checkEnrollment)
|
|
8
|
-
*/
|
|
9
|
-
init: (res: any, order: any, preCheckData?: any) => void;
|
|
10
|
-
}
|
|
11
|
-
export interface TDSPayProps {
|
|
12
|
-
onChange?: (values: any) => void;
|
|
13
|
-
closeAll: () => void;
|
|
14
|
-
}
|
|
15
|
-
declare const _default: React.ForwardRefExoticComponent<TDSPayProps & React.RefAttributes<any>>;
|
|
16
|
-
export default _default;
|