@pisell/private-materials 6.3.115 → 6.3.116
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/Sales/Cart/index.d.ts +53 -0
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Services/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Voucher/index.d.ts +5 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +8 -0
- package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
- package/es/components/booking/addons/index.d.ts +17 -0
- package/es/components/booking/addons/model.d.ts +1 -10
- package/es/components/booking/components/footer/amount.d.ts +25 -0
- package/es/components/booking/components/footer/index.d.ts +12 -0
- package/es/components/booking/components/footer/utils.d.ts +47 -0
- package/es/components/booking/components/voucher/index.d.ts +4 -0
- package/es/components/booking/dashboard/index.d.ts +20 -0
- package/es/components/booking/deposit/ClientItem/index.d.ts +18 -0
- package/es/components/booking/deposit/DepositItem/index.d.ts +25 -0
- package/es/components/booking/deposit/index.d.ts +3 -0
- package/es/components/booking/forms/forms.d.ts +30 -0
- package/es/components/booking/forms/model.d.ts +1 -10
- package/es/components/booking/hooks/useQuotation.d.ts +6 -0
- package/es/components/booking/info/addServiceVariant/index.d.ts +7 -0
- package/es/components/booking/info/client/index.d.ts +4 -0
- package/es/components/booking/info/clientVariant/utils.d.ts +1 -0
- package/es/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
- package/es/components/booking/info/date/index.d.ts +5 -0
- package/es/components/booking/info/header/index.d.ts +4 -0
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +10 -0
- package/es/components/booking/info/index.d.ts +4 -0
- package/es/components/booking/info/main.d.ts +12 -0
- package/es/components/booking/info/model.d.ts +5 -0
- package/es/components/booking/info/pet/index.d.ts +14 -0
- package/es/components/booking/info/service/Lists.d.ts +3 -0
- package/es/components/booking/info/service/addService/index.d.ts +12 -0
- package/es/components/booking/info/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info/service/editService/BookingList/index.d.ts +5 -0
- package/es/components/booking/info/service/editService/index.d.ts +7 -0
- package/es/components/booking/info/service/serviceItem/index.d.ts +4 -0
- package/es/components/booking/info/service/serviceList/index.d.ts +6 -0
- package/es/components/booking/info/service/serviceManager/index.d.ts +20 -0
- package/es/components/booking/info/service2/Group/utils.d.ts +14 -0
- package/es/components/booking/info/service2/Lists.d.ts +3 -0
- package/es/components/booking/info/service2/utils.d.ts +248 -0
- package/es/components/booking/info/utils.d.ts +50 -0
- package/es/components/booking/info2/index.d.ts +12 -0
- package/es/components/booking/info2/service/addService/index.d.ts +12 -0
- package/es/components/booking/info2/service/addService/utils.d.ts +98 -0
- package/es/components/booking/info2/service/addTimeModal/index.d.ts +4 -0
- package/es/components/booking/info2/service/editService/index.d.ts +7 -0
- package/es/components/booking/info2/service/editService/utils.d.ts +13 -0
- package/es/components/booking/info2/service/index.d.ts +4 -0
- package/es/components/booking/info2/service/serviceItem/index.d.ts +4 -0
- package/es/components/booking/info2/service/serviceList/index.d.ts +6 -0
- package/es/components/booking/info2/utilsByBooking.d.ts +35 -0
- package/es/components/booking/model.d.ts +112 -0
- package/es/components/booking/notes/NoteBlock/index.d.ts +17 -0
- package/es/components/booking/notes/addNote/index.d.ts +4 -0
- package/es/components/booking/notes/model.d.ts +1 -10
- package/es/components/booking/payments/model.d.ts +1 -10
- package/es/components/booking/utils.d.ts +175 -0
- package/es/components/eftpos/PairModal/index.d.ts +11 -0
- package/es/components/eftpos/SettlementModal/index.d.ts +8 -0
- package/es/components/eftpos/SettlementModal/serve.d.ts +8 -0
- package/es/components/eftpos/SettlementModal/utils.d.ts +18 -0
- package/es/components/eftpos/device.d.ts +11 -0
- package/es/components/eftpos/index.d.ts +47 -0
- package/es/components/eftpos/index.js +3 -3
- package/es/components/eftpos/table.d.ts +21 -0
- package/es/components/eftposPay/aggregatePayment/hooks/usePayment.d.ts +6 -0
- package/es/components/eftposPay/aggregatePayment/service.d.ts +24 -0
- package/es/components/eftposPay/aggregatePayment/utils/logs.d.ts +110 -0
- package/es/components/eftposPay/aggregatePayment/utils/payment.d.ts +132 -0
- package/es/components/eftposPay/aggregatePayment/utils/payment.js +7 -1
- package/es/components/eftposPay/component/fail/failCustom.d.ts +4 -0
- package/es/components/eftposPay/component/fail/index.d.ts +4 -0
- package/es/components/eftposPay/device.d.ts +24 -0
- package/es/components/eftposPay/device.js +7 -3
- package/es/components/eftposPay/hooks.d.ts +2 -2
- package/es/components/eftposPay/index.d.ts +5 -0
- package/es/components/eftposPay/linkly/const.d.ts +23 -0
- package/es/components/eftposPay/linkly/index.d.ts +3 -0
- package/es/components/eftposPay/manufacturer.d.ts +8 -0
- package/es/components/eftposPay/mx51/Result.d.ts +5 -0
- package/es/components/eftposPay/mx51/const.d.ts +5 -0
- package/es/components/eftposPay/mx51/index.d.ts +6 -0
- package/es/components/eftposPay/pay.d.ts +21 -0
- package/es/components/eftposPay/payo/config.d.ts +13 -0
- package/es/components/eftposPay/payo/const.d.ts +26 -0
- package/es/components/eftposPay/tyro/const.d.ts +17 -0
- package/es/components/eftposPay/tyro/index.d.ts +9 -0
- package/es/components/eftposPay/windcave/const.d.ts +119 -0
- package/es/components/eftposPay/windcave/windcave.d.ts +7 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +11 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/List/index.d.ts +11 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +61 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +25 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +155 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +9 -0
- package/es/components/pay/toC/WalletPassBlock/index.d.ts +21 -0
- package/es/components/pay/toC/index.d.ts +3 -0
- package/es/components/pay/toC/model.d.ts +32 -0
- package/es/components/pay/toC/serve.d.ts +62 -0
- package/es/components/pay/toC/utils.d.ts +57 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +3 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
- package/es/components/productSelect/components/TabProduct/index.d.ts +3 -0
- package/es/components/productSelect/components/pisellPriceText/index.d.ts +11 -0
- package/es/components/productSelect/components/productGroup/index.d.ts +39 -0
- package/es/components/schedules/model.d.ts +1 -9
- package/es/components/shoppingCart/components/Cart/Product.d.ts +4 -0
- package/es/components/shoppingCart/components/Cart/index.d.ts +4 -0
- package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
- package/es/components/subTotal/index.d.ts +24 -0
- package/es/components/systemSettings/registry/components/ItemModal.d.ts +4 -0
- package/es/components/systemSettings/registry/index.d.ts +5 -0
- package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +10 -0
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +7 -0
- package/es/components/ticketBooking/components/menuBar/index.d.ts +4 -0
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +5 -0
- package/es/components/ticketBooking/components/timeBar/index.d.ts +13 -0
- package/es/components/ticketBooking/index.d.ts +8 -0
- package/es/components/ticketBooking/serve.d.ts +287 -0
- package/es/components/ticketBooking/utils/formatTime.d.ts +31 -0
- package/es/components/ticketBooking/utils/index.d.ts +25 -0
- package/es/components/walletList/index.d.ts +4 -0
- package/es/index.d.ts +66 -0
- package/es/plus/productSelect/CategoryTabs/index.d.ts +21 -0
- package/es/plus/productSelect/ProductCard/index.d.ts +47 -0
- package/es/plus/productSelect/components/pisellPriceText/index.d.ts +12 -0
- package/es/plus/productSelect/index.d.ts +32 -0
- package/es/plus/selectHolder/index.d.ts +7 -0
- package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +6 -0
- package/es/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +4 -0
- package/es/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +11 -0
- package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +16 -0
- package/es/plus/skuOptionsSelection/index.d.ts +5 -0
- package/es/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
- package/es/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +37 -0
- package/es/plus/walletPassGallery/components/passDetail/index.d.ts +10 -0
- package/es/plus/walletPassGallery/components/passList/index.d.ts +13 -0
- package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +10 -0
- package/es/plus/walletPassGallery/index.d.ts +7 -0
- package/es/plus/walletPassGallery/serve.d.ts +243 -0
- package/es/pro/Cards/components/SKUCard/index.d.ts +60 -0
- package/es/pro/Login2.0/Login2.d.ts +61 -0
- package/es/pro/Selector/Selector.d.ts +14 -0
- package/es/pro/Selector/SelectorGroup.d.ts +11 -0
- package/es/pro/skuDetailModal/index.d.ts +4 -0
- package/lib/components/Sales/Cart/index.d.ts +53 -0
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Services/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Voucher/index.d.ts +5 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +8 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
- package/lib/components/booking/addons/index.d.ts +17 -0
- package/lib/components/booking/addons/model.d.ts +1 -10
- package/lib/components/booking/components/footer/amount.d.ts +25 -0
- package/lib/components/booking/components/footer/index.d.ts +12 -0
- package/lib/components/booking/components/footer/utils.d.ts +47 -0
- package/lib/components/booking/components/voucher/index.d.ts +4 -0
- package/lib/components/booking/dashboard/index.d.ts +20 -0
- package/lib/components/booking/deposit/ClientItem/index.d.ts +18 -0
- package/lib/components/booking/deposit/DepositItem/index.d.ts +25 -0
- package/lib/components/booking/deposit/index.d.ts +3 -0
- package/lib/components/booking/forms/forms.d.ts +30 -0
- package/lib/components/booking/forms/model.d.ts +1 -10
- package/lib/components/booking/hooks/useQuotation.d.ts +6 -0
- package/lib/components/booking/info/addServiceVariant/index.d.ts +7 -0
- package/lib/components/booking/info/client/index.d.ts +4 -0
- package/lib/components/booking/info/clientVariant/utils.d.ts +1 -0
- package/lib/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
- package/lib/components/booking/info/date/index.d.ts +5 -0
- package/lib/components/booking/info/header/index.d.ts +4 -0
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +10 -0
- package/lib/components/booking/info/index.d.ts +4 -0
- package/lib/components/booking/info/main.d.ts +12 -0
- package/lib/components/booking/info/model.d.ts +5 -0
- package/lib/components/booking/info/pet/index.d.ts +14 -0
- package/lib/components/booking/info/service/Lists.d.ts +3 -0
- package/lib/components/booking/info/service/addService/index.d.ts +12 -0
- package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info/service/editService/BookingList/index.d.ts +5 -0
- package/lib/components/booking/info/service/editService/index.d.ts +7 -0
- package/lib/components/booking/info/service/serviceItem/index.d.ts +4 -0
- package/lib/components/booking/info/service/serviceList/index.d.ts +6 -0
- package/lib/components/booking/info/service/serviceManager/index.d.ts +20 -0
- package/lib/components/booking/info/service2/Group/utils.d.ts +14 -0
- package/lib/components/booking/info/service2/Lists.d.ts +3 -0
- package/lib/components/booking/info/service2/utils.d.ts +248 -0
- package/lib/components/booking/info/utils.d.ts +50 -0
- package/lib/components/booking/info2/index.d.ts +12 -0
- package/lib/components/booking/info2/service/addService/index.d.ts +12 -0
- package/lib/components/booking/info2/service/addService/utils.d.ts +98 -0
- package/lib/components/booking/info2/service/addTimeModal/index.d.ts +4 -0
- package/lib/components/booking/info2/service/editService/index.d.ts +7 -0
- package/lib/components/booking/info2/service/editService/utils.d.ts +13 -0
- package/lib/components/booking/info2/service/index.d.ts +4 -0
- package/lib/components/booking/info2/service/serviceItem/index.d.ts +4 -0
- package/lib/components/booking/info2/service/serviceList/index.d.ts +6 -0
- package/lib/components/booking/info2/utilsByBooking.d.ts +35 -0
- package/lib/components/booking/model.d.ts +112 -0
- package/lib/components/booking/notes/NoteBlock/index.d.ts +17 -0
- package/lib/components/booking/notes/addNote/index.d.ts +4 -0
- package/lib/components/booking/notes/model.d.ts +1 -10
- package/lib/components/booking/payments/model.d.ts +1 -10
- package/lib/components/booking/utils.d.ts +175 -0
- package/lib/components/eftpos/PairModal/index.d.ts +11 -0
- package/lib/components/eftpos/SettlementModal/index.d.ts +8 -0
- package/lib/components/eftpos/SettlementModal/serve.d.ts +8 -0
- package/lib/components/eftpos/SettlementModal/utils.d.ts +18 -0
- package/lib/components/eftpos/device.d.ts +11 -0
- package/lib/components/eftpos/index.d.ts +47 -0
- package/lib/components/eftpos/index.js +3 -3
- package/lib/components/eftpos/table.d.ts +21 -0
- package/lib/components/eftposPay/aggregatePayment/hooks/usePayment.d.ts +6 -0
- package/lib/components/eftposPay/aggregatePayment/service.d.ts +24 -0
- package/lib/components/eftposPay/aggregatePayment/utils/logs.d.ts +110 -0
- package/lib/components/eftposPay/aggregatePayment/utils/payment.d.ts +132 -0
- package/lib/components/eftposPay/aggregatePayment/utils/payment.js +6 -1
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +4 -0
- package/lib/components/eftposPay/component/fail/index.d.ts +4 -0
- package/lib/components/eftposPay/device.d.ts +24 -0
- package/lib/components/eftposPay/device.js +24 -21
- package/lib/components/eftposPay/hooks.d.ts +2 -2
- package/lib/components/eftposPay/index.d.ts +5 -0
- package/lib/components/eftposPay/linkly/const.d.ts +23 -0
- package/lib/components/eftposPay/linkly/index.d.ts +3 -0
- package/lib/components/eftposPay/manufacturer.d.ts +8 -0
- package/lib/components/eftposPay/mx51/Result.d.ts +5 -0
- package/lib/components/eftposPay/mx51/const.d.ts +5 -0
- package/lib/components/eftposPay/mx51/index.d.ts +6 -0
- package/lib/components/eftposPay/pay.d.ts +21 -0
- package/lib/components/eftposPay/payo/config.d.ts +13 -0
- package/lib/components/eftposPay/payo/const.d.ts +26 -0
- package/lib/components/eftposPay/tyro/const.d.ts +17 -0
- package/lib/components/eftposPay/tyro/index.d.ts +9 -0
- package/lib/components/eftposPay/windcave/const.d.ts +119 -0
- package/lib/components/eftposPay/windcave/windcave.d.ts +7 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +11 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/List/index.d.ts +11 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +61 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +25 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +155 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +9 -0
- package/lib/components/pay/toC/WalletPassBlock/index.d.ts +21 -0
- package/lib/components/pay/toC/index.d.ts +3 -0
- package/lib/components/pay/toC/model.d.ts +32 -0
- package/lib/components/pay/toC/serve.d.ts +62 -0
- package/lib/components/pay/toC/utils.d.ts +57 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +3 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
- package/lib/components/productSelect/components/TabProduct/index.d.ts +3 -0
- package/lib/components/productSelect/components/pisellPriceText/index.d.ts +11 -0
- package/lib/components/productSelect/components/productGroup/index.d.ts +39 -0
- package/lib/components/schedules/model.d.ts +1 -9
- package/lib/components/shoppingCart/components/Cart/Product.d.ts +4 -0
- package/lib/components/shoppingCart/components/Cart/index.d.ts +4 -0
- package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
- package/lib/components/subTotal/index.d.ts +24 -0
- package/lib/components/systemSettings/registry/components/ItemModal.d.ts +4 -0
- package/lib/components/systemSettings/registry/index.d.ts +5 -0
- package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +10 -0
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +7 -0
- package/lib/components/ticketBooking/components/menuBar/index.d.ts +4 -0
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +5 -0
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +13 -0
- package/lib/components/ticketBooking/index.d.ts +8 -0
- package/lib/components/ticketBooking/serve.d.ts +287 -0
- package/lib/components/ticketBooking/utils/formatTime.d.ts +31 -0
- package/lib/components/ticketBooking/utils/index.d.ts +25 -0
- package/lib/components/walletList/index.d.ts +4 -0
- package/lib/index.d.ts +66 -0
- package/lib/plus/productSelect/CategoryTabs/index.d.ts +21 -0
- package/lib/plus/productSelect/ProductCard/index.d.ts +47 -0
- package/lib/plus/productSelect/components/pisellPriceText/index.d.ts +12 -0
- package/lib/plus/productSelect/index.d.ts +32 -0
- package/lib/plus/selectHolder/index.d.ts +7 -0
- package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +6 -0
- package/lib/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +4 -0
- package/lib/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +11 -0
- package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +16 -0
- package/lib/plus/skuOptionsSelection/index.d.ts +5 -0
- package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
- package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +37 -0
- package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +10 -0
- package/lib/plus/walletPassGallery/components/passList/index.d.ts +13 -0
- package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +10 -0
- package/lib/plus/walletPassGallery/index.d.ts +7 -0
- package/lib/plus/walletPassGallery/serve.d.ts +243 -0
- package/lib/pro/Cards/components/SKUCard/index.d.ts +60 -0
- package/lib/pro/Login2.0/Login2.d.ts +61 -0
- package/lib/pro/Selector/Selector.d.ts +14 -0
- package/lib/pro/Selector/SelectorGroup.d.ts +11 -0
- package/lib/pro/skuDetailModal/index.d.ts +4 -0
- package/package.json +3 -3
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export interface FormState {
|
|
2
|
+
platform: 'pc' | 'h5' | '' | undefined;
|
|
3
|
+
order: any;
|
|
4
|
+
status: 'init' | 'ready' | 'loading' | 'success' | 'error';
|
|
5
|
+
payCallback: (res?: any) => void;
|
|
6
|
+
history?: any;
|
|
7
|
+
payGroup?: PayGroup;
|
|
8
|
+
walletSetting: {
|
|
9
|
+
name: string;
|
|
10
|
+
popup_status: 0 | 1 | null;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
export interface PayGroup {
|
|
14
|
+
order_id?: string;
|
|
15
|
+
total_amount?: number;
|
|
16
|
+
walletPass?: {
|
|
17
|
+
amount: number;
|
|
18
|
+
cards: any[];
|
|
19
|
+
[key: string]: any;
|
|
20
|
+
paid?: boolean;
|
|
21
|
+
};
|
|
22
|
+
otherPayment?: {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
};
|
|
25
|
+
wait_amount?: number;
|
|
26
|
+
payment_group_id?: number;
|
|
27
|
+
payment_priority?: string[];
|
|
28
|
+
pay_number?: string;
|
|
29
|
+
_order: any;
|
|
30
|
+
front_order_uuid?: string;
|
|
31
|
+
}
|
|
32
|
+
export declare const Provider: any, Context: any;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
export declare const getPaymentList: (values: any) => Promise<{
|
|
2
|
+
message: string;
|
|
3
|
+
status: string;
|
|
4
|
+
paymentList?: undefined;
|
|
5
|
+
} | {
|
|
6
|
+
message: string;
|
|
7
|
+
status: string;
|
|
8
|
+
paymentList: any;
|
|
9
|
+
}>;
|
|
10
|
+
/**
|
|
11
|
+
* @title: 聚合接口, 根据订单 返回支付列表和钱包
|
|
12
|
+
* @description:
|
|
13
|
+
* @param {object} values
|
|
14
|
+
* @return {*}
|
|
15
|
+
* @Author: zhiwei.Wang
|
|
16
|
+
* @Date: 2024-08-15 11:52
|
|
17
|
+
*/
|
|
18
|
+
export declare const getPaymentsAndWalletPass: (values: {
|
|
19
|
+
order_id: string;
|
|
20
|
+
total_amount: number;
|
|
21
|
+
sale_channel: string;
|
|
22
|
+
}) => Promise<any>;
|
|
23
|
+
/**
|
|
24
|
+
* @title: 初始化交易组
|
|
25
|
+
* @description:
|
|
26
|
+
* @param {object} values
|
|
27
|
+
* @return {*}
|
|
28
|
+
* @Author: zhiwei.Wang
|
|
29
|
+
* @Date: 2024-08-16 10:42
|
|
30
|
+
*/
|
|
31
|
+
export declare const getPaymentInit: (values: {
|
|
32
|
+
order_id?: string;
|
|
33
|
+
amount?: number;
|
|
34
|
+
}) => Promise<any>;
|
|
35
|
+
/**
|
|
36
|
+
* @title: 获取钱包名称和弹窗状态
|
|
37
|
+
* @description:
|
|
38
|
+
* @param {object} values
|
|
39
|
+
* @return {*}
|
|
40
|
+
* @Author: shengjie.zuo
|
|
41
|
+
* @member: 马天宇
|
|
42
|
+
* @Date: 2025-02-21 10:42
|
|
43
|
+
*/
|
|
44
|
+
export declare const getWalletNameAndPopupStatus: (values: {
|
|
45
|
+
setting_type?: string;
|
|
46
|
+
}) => Promise<{
|
|
47
|
+
wallet: {
|
|
48
|
+
name?: {
|
|
49
|
+
en: string;
|
|
50
|
+
'zh-CN': string;
|
|
51
|
+
'zh-HK': string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
wallet_setting: {
|
|
55
|
+
popup_status?: 1 | 0;
|
|
56
|
+
};
|
|
57
|
+
}>;
|
|
58
|
+
/**
|
|
59
|
+
* @title: 获取支付结果
|
|
60
|
+
* @description: 获取支付结果
|
|
61
|
+
*/
|
|
62
|
+
export declare const getPaymentResult: (values: any) => Promise<any>;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { PayGroup } from "./model";
|
|
2
|
+
import { WalletPassDataType } from "./PaymentMethods/WalletPass/serve";
|
|
3
|
+
/**
|
|
4
|
+
* 计算walletPass列表数据的总金额
|
|
5
|
+
* @param list
|
|
6
|
+
*/
|
|
7
|
+
export declare const calcWalletPassListAmount: (list: any[]) => any;
|
|
8
|
+
/**
|
|
9
|
+
* 将walletPass列表数据转换为prepare_payments需要的数据格式
|
|
10
|
+
* @param list
|
|
11
|
+
*/
|
|
12
|
+
export declare const formatWalletPassList2PreparePayments: (list?: any[]) => {
|
|
13
|
+
voucher_id: any;
|
|
14
|
+
amount: number;
|
|
15
|
+
tag: any;
|
|
16
|
+
}[];
|
|
17
|
+
/**
|
|
18
|
+
* walletPass支付params
|
|
19
|
+
* @param payGroup
|
|
20
|
+
*/
|
|
21
|
+
export declare const formatWalletPassParams: (payGroup: PayGroup) => {
|
|
22
|
+
order_id: string;
|
|
23
|
+
payment_group_id: number;
|
|
24
|
+
payments: {
|
|
25
|
+
amount: string;
|
|
26
|
+
wallet_pass_use_value: any;
|
|
27
|
+
voucher_id: any;
|
|
28
|
+
tag: any;
|
|
29
|
+
wallet_pass_usage_unit: any;
|
|
30
|
+
}[];
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* @title: 获取是否walletPass和三方支付的组合支付
|
|
34
|
+
* @description: 三方支付 (stripe 支付宝 微信 苹果 谷歌)
|
|
35
|
+
* @return: *
|
|
36
|
+
* @Author: shengjie.zuo
|
|
37
|
+
* @Date: 2024-08-30 10:06:17
|
|
38
|
+
*/
|
|
39
|
+
export declare const getIsWalletPassAndTripartitePayment: (payGroup: PayGroup) => boolean | 0 | undefined;
|
|
40
|
+
export declare const isFranchiseeShop: (path?: any, history?: any) => any;
|
|
41
|
+
/**
|
|
42
|
+
* @title: 获取当前连锁加盟店铺shopid
|
|
43
|
+
* @description:
|
|
44
|
+
* @param {any} param1
|
|
45
|
+
* @return {*}
|
|
46
|
+
* @Author: chensheng.gu
|
|
47
|
+
* @Date: 2024-08-07 10:04
|
|
48
|
+
*/
|
|
49
|
+
export declare const getFranchiseeShopId: (path?: any, history?: any) => number;
|
|
50
|
+
export declare const formatFranchiseeRoute: (url: string, history?: any) => string;
|
|
51
|
+
export declare const getAvailableMaxAmount: (data: WalletPassDataType) => string;
|
|
52
|
+
export declare const clientPayment: (params: {
|
|
53
|
+
order_id: number;
|
|
54
|
+
type: "aliPay" | "wxPay" | 'google_pay';
|
|
55
|
+
values: any;
|
|
56
|
+
interaction?: any;
|
|
57
|
+
}) => void;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IProps {
|
|
3
|
+
value: string | number;
|
|
4
|
+
isMini?: boolean;
|
|
5
|
+
className?: string;
|
|
6
|
+
style?: React.CSSProperties;
|
|
7
|
+
prefix?: React.ReactElement;
|
|
8
|
+
suffix?: React.ReactElement;
|
|
9
|
+
}
|
|
10
|
+
declare const index: (props: IProps) => React.JSX.Element;
|
|
11
|
+
export default index;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
declare type BoolConfigVal = 0 | 1;
|
|
4
|
+
export interface ProductCardConfig {
|
|
5
|
+
isProductCover: BoolConfigVal;
|
|
6
|
+
imgWidth: string;
|
|
7
|
+
imgHeight: string;
|
|
8
|
+
radius?: number;
|
|
9
|
+
isTitle: BoolConfigVal;
|
|
10
|
+
isSubtitle: BoolConfigVal;
|
|
11
|
+
showSpec: boolean;
|
|
12
|
+
isTag: BoolConfigVal;
|
|
13
|
+
isPrice: BoolConfigVal;
|
|
14
|
+
isOriginPrice: BoolConfigVal;
|
|
15
|
+
showZeroPrice: boolean;
|
|
16
|
+
showMarketingTag: boolean;
|
|
17
|
+
showRemark: boolean;
|
|
18
|
+
isStock: BoolConfigVal;
|
|
19
|
+
list_max_length: 0 | 1;
|
|
20
|
+
}
|
|
21
|
+
interface ProductGroupProps {
|
|
22
|
+
data: {
|
|
23
|
+
icon: string;
|
|
24
|
+
id: number;
|
|
25
|
+
name: string;
|
|
26
|
+
products: any[];
|
|
27
|
+
slug: string;
|
|
28
|
+
sort: number;
|
|
29
|
+
};
|
|
30
|
+
layout: {
|
|
31
|
+
grid: boolean;
|
|
32
|
+
config?: string;
|
|
33
|
+
};
|
|
34
|
+
onSelectProduct?: (id: number) => void;
|
|
35
|
+
currentProductId?: number;
|
|
36
|
+
}
|
|
37
|
+
declare const ProductGroup: ({ data, layout, onSelectProduct, currentProductId, isProductCover, imgWidth, imgHeight, radius, isTitle, isSubtitle, showSpec, isTag, isPrice, isOriginPrice, showZeroPrice, showMarketingTag, showRemark, isStock, }: ProductGroupProps & ProductCardConfig) => React.JSX.Element;
|
|
38
|
+
export declare const ProductGroupSkeleton: ({ layout }: any) => React.JSX.Element;
|
|
39
|
+
export default ProductGroup;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { CalendarDataItem, ScheduleItem } from "./type";
|
|
3
2
|
import dayjs from "dayjs";
|
|
4
3
|
export interface FormState {
|
|
@@ -69,11 +68,4 @@ export interface FormState {
|
|
|
69
68
|
};
|
|
70
69
|
setGlobalState: Function | null;
|
|
71
70
|
}
|
|
72
|
-
export declare const Provider:
|
|
73
|
-
state: FormState;
|
|
74
|
-
} & {
|
|
75
|
-
dispatch: (params: {
|
|
76
|
-
type: string;
|
|
77
|
-
payload: any;
|
|
78
|
-
}) => void;
|
|
79
|
-
}>;
|
|
71
|
+
export declare const Provider: any, Context: any;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
declare type SubTotalKey = 'deposit' | 'total' | 'sub_total' | 'tax' | 'delivery_fee' | 'discount' | 'point_deduction' | 'member_deduction' | 'custom' | string;
|
|
4
|
+
export interface SubTotalItem extends React.HTMLAttributes<HTMLDivElement> {
|
|
5
|
+
key: SubTotalKey;
|
|
6
|
+
label?: string | React.ReactNode;
|
|
7
|
+
value: number;
|
|
8
|
+
count?: number;
|
|
9
|
+
hidden?: boolean;
|
|
10
|
+
tax?: {
|
|
11
|
+
rate?: number;
|
|
12
|
+
is_price_include_tax?: boolean;
|
|
13
|
+
title?: string;
|
|
14
|
+
};
|
|
15
|
+
bold?: boolean;
|
|
16
|
+
}
|
|
17
|
+
interface SubTotalProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
18
|
+
list: SubTotalItem[];
|
|
19
|
+
mode?: 'column1' | 'column2';
|
|
20
|
+
describe?: string;
|
|
21
|
+
children?: React.ReactNode;
|
|
22
|
+
}
|
|
23
|
+
declare const SubTotal: (props: SubTotalProps) => React.JSX.Element;
|
|
24
|
+
export default SubTotal;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
interface AddServiceProps {
|
|
4
|
+
onEdit?: any;
|
|
5
|
+
dispatch?: any;
|
|
6
|
+
state?: any;
|
|
7
|
+
renderMode?: 'current' | 'drawer';
|
|
8
|
+
}
|
|
9
|
+
declare const AddSerivce: (props: AddServiceProps) => React.JSX.Element | null;
|
|
10
|
+
export default AddSerivce;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { Dayjs } from 'dayjs';
|
|
3
|
+
import './index.less';
|
|
4
|
+
interface ITimeBarProps {
|
|
5
|
+
globalState: any;
|
|
6
|
+
setGlobalState: any;
|
|
7
|
+
onDateChange: (date: Dayjs, dateString?: string) => void;
|
|
8
|
+
onDateTimeChange: (date: Dayjs, timeString: string) => void;
|
|
9
|
+
setIntervalTime: (value: boolean) => void;
|
|
10
|
+
locale: string;
|
|
11
|
+
}
|
|
12
|
+
declare const TimeBar: (props: ITimeBarProps) => React.JSX.Element;
|
|
13
|
+
export default TimeBar;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
interface TicketBookingProps {
|
|
4
|
+
productExtensionType: string[];
|
|
5
|
+
bookingConfigParams: Record<string, any>;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: (props: TicketBookingProps) => React.JSX.Element;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @title: 获取客户列表
|
|
3
|
+
* @description: 获取客户列表
|
|
4
|
+
* @param {any} params
|
|
5
|
+
* @return {*}
|
|
6
|
+
* @Author: cong.shao
|
|
7
|
+
* @Date: 2025-04-24 16:28
|
|
8
|
+
*/
|
|
9
|
+
export declare const getClients: (params: any) => Promise<any>;
|
|
10
|
+
/**
|
|
11
|
+
* @title: 获取服务列表
|
|
12
|
+
* @description: 查询服务列表
|
|
13
|
+
* @param {any} params
|
|
14
|
+
* @return {*}
|
|
15
|
+
* @Author: cong.shao
|
|
16
|
+
* @Date: 2025-04-24 16:28
|
|
17
|
+
*/
|
|
18
|
+
export declare const getServices: (params: any) => Promise<any>;
|
|
19
|
+
/**
|
|
20
|
+
* @title: 获取资源列表
|
|
21
|
+
* @description: 资源列表
|
|
22
|
+
* @param {any} params
|
|
23
|
+
* @return {*}
|
|
24
|
+
* @Author: cong.shao
|
|
25
|
+
* @Date: 2025-04-24 16:28
|
|
26
|
+
*/
|
|
27
|
+
export declare const getResources: (params: any) => Promise<any>;
|
|
28
|
+
/**
|
|
29
|
+
* @title: 获取产品列表
|
|
30
|
+
* @description: 查询产品列表
|
|
31
|
+
* @param {any} params
|
|
32
|
+
* @return {*}
|
|
33
|
+
* @Author: cong.shao
|
|
34
|
+
* @Date: 2025-04-24 16:28
|
|
35
|
+
*/
|
|
36
|
+
export declare const getProducts: (params: any) => Promise<any>;
|
|
37
|
+
/**
|
|
38
|
+
* @title: 获取表单列表
|
|
39
|
+
* @description: 获取关联记录表单列表
|
|
40
|
+
* @param {any} params
|
|
41
|
+
* @return {*}
|
|
42
|
+
* @Author: cong.shao
|
|
43
|
+
* @Date: 2025-04-24 16:28
|
|
44
|
+
*/
|
|
45
|
+
export declare const getForms: (params: any) => Promise<any>;
|
|
46
|
+
/**
|
|
47
|
+
* @title: 获取预约配置
|
|
48
|
+
* @description: 获取预约相关配置信息
|
|
49
|
+
* @param {any} params
|
|
50
|
+
* @return {*}
|
|
51
|
+
* @Author: cong.shao
|
|
52
|
+
* @Date: 2025-04-24 16:28
|
|
53
|
+
*/
|
|
54
|
+
export declare const getBookingConfig: (params: any) => Promise<any>;
|
|
55
|
+
/**
|
|
56
|
+
* @title: 获取宠物信息
|
|
57
|
+
* @description: 根据ID获取宠物信息
|
|
58
|
+
* @param {string} formId
|
|
59
|
+
* @param {any} params
|
|
60
|
+
* @return {*}
|
|
61
|
+
* @Author: cong.shao
|
|
62
|
+
* @Date: 2025-04-24 16:28
|
|
63
|
+
*/
|
|
64
|
+
export declare const getPets: (formId: string, params: any) => Promise<any>;
|
|
65
|
+
/**
|
|
66
|
+
* @title: 获取宠物数据
|
|
67
|
+
* @description: 获取宠物数据
|
|
68
|
+
* @param {any} params
|
|
69
|
+
* @return {*}
|
|
70
|
+
* @Author: cong.shao
|
|
71
|
+
* @Date: 2025-04-24 16:28
|
|
72
|
+
*/
|
|
73
|
+
export declare const getPetsData: (params: any) => Promise<any>;
|
|
74
|
+
/**
|
|
75
|
+
* @title: 创建预约
|
|
76
|
+
* @description: 创建新的预约记录
|
|
77
|
+
* @param {any} params
|
|
78
|
+
* @return {*}
|
|
79
|
+
* @Author: cong.shao
|
|
80
|
+
* @Date: 2025-04-24 16:28
|
|
81
|
+
*/
|
|
82
|
+
export declare const createBooking: (params: any) => Promise<any>;
|
|
83
|
+
/**
|
|
84
|
+
* @title: 获取预约附加服务
|
|
85
|
+
* @description: 根据预约ID获取附加服务信息
|
|
86
|
+
* @param {string} bookingId
|
|
87
|
+
* @param {any} params
|
|
88
|
+
* @return {*}
|
|
89
|
+
* @Author: cong.shao
|
|
90
|
+
* @Date: 2025-04-24 16:28
|
|
91
|
+
*/
|
|
92
|
+
export declare const getAddonsByOrderId: (bookingId: string, params: any) => Promise<any>;
|
|
93
|
+
/**
|
|
94
|
+
* @title: 保存预约附加服务
|
|
95
|
+
* @description: 保存预约的附加服务信息
|
|
96
|
+
* @param {string} bookingId
|
|
97
|
+
* @param {any} params
|
|
98
|
+
* @return {*}
|
|
99
|
+
* @Author: cong.shao
|
|
100
|
+
* @Date: 2025-04-24 16:28
|
|
101
|
+
*/
|
|
102
|
+
export declare const saveAddonsByOrderId: (bookingId: string, params: any) => Promise<any>;
|
|
103
|
+
/**
|
|
104
|
+
* @title: 获取预约详情
|
|
105
|
+
* @description: 获取预约详细信息
|
|
106
|
+
* @param {number} bookingId
|
|
107
|
+
* @param {any} params
|
|
108
|
+
* @return {*}
|
|
109
|
+
* @Author: cong.shao
|
|
110
|
+
* @Date: 2025-04-24 16:28
|
|
111
|
+
*/
|
|
112
|
+
export declare const getBookingDetail: (bookingId: number, params?: any) => Promise<any>;
|
|
113
|
+
/**
|
|
114
|
+
* @title: 编辑预约状态
|
|
115
|
+
* @description: 更新预约状态
|
|
116
|
+
* @param {string} bookingId
|
|
117
|
+
* @param {any} params
|
|
118
|
+
* @return {*}
|
|
119
|
+
* @Author: cong.shao
|
|
120
|
+
* @Date: 2025-04-24 16:28
|
|
121
|
+
*/
|
|
122
|
+
export declare const editBookingStatus: (bookingId: string, params: any) => Promise<any>;
|
|
123
|
+
/**
|
|
124
|
+
* @title: 编辑预约信息
|
|
125
|
+
* @description: 更新预约信息
|
|
126
|
+
* @param {string} bookingId
|
|
127
|
+
* @param {any} params
|
|
128
|
+
* @return {*}
|
|
129
|
+
* @Author: cong.shao
|
|
130
|
+
* @Date: 2025-04-24 16:28
|
|
131
|
+
*/
|
|
132
|
+
export declare const editBooking: (bookingId: string, params: any) => Promise<any>;
|
|
133
|
+
/**
|
|
134
|
+
* @title: 获取预约备注
|
|
135
|
+
* @description: 获取预约相关备注信息
|
|
136
|
+
* @param {any} params
|
|
137
|
+
* @return {*}
|
|
138
|
+
* @Author: cong.shao
|
|
139
|
+
* @Date: 2025-04-24 16:28
|
|
140
|
+
*/
|
|
141
|
+
export declare const getNotesByOrder: (params: any) => Promise<any>;
|
|
142
|
+
/**
|
|
143
|
+
* @title: 添加预约备注
|
|
144
|
+
* @description: 添加预约相关备注
|
|
145
|
+
* @param {any} params
|
|
146
|
+
* @return {*}
|
|
147
|
+
* @Author: cong.shao
|
|
148
|
+
* @Date: 2025-04-24 16:28
|
|
149
|
+
*/
|
|
150
|
+
export declare const addNotesByOrder: (params: any) => Promise<any>;
|
|
151
|
+
/**
|
|
152
|
+
* @title: 编辑预约备注
|
|
153
|
+
* @description: 更新预约备注信息
|
|
154
|
+
* @param {string} bookingId
|
|
155
|
+
* @param {any} params
|
|
156
|
+
* @return {*}
|
|
157
|
+
* @Author: cong.shao
|
|
158
|
+
* @Date: 2025-04-24 16:28
|
|
159
|
+
*/
|
|
160
|
+
export declare const editNoteByOrder: (bookingId: string, params: any) => Promise<any>;
|
|
161
|
+
/**
|
|
162
|
+
* @title: 删除预约备注
|
|
163
|
+
* @description: 删除预约相关备注
|
|
164
|
+
* @param {string} bookingId
|
|
165
|
+
* @param {any} params
|
|
166
|
+
* @return {*}
|
|
167
|
+
* @Author: cong.shao
|
|
168
|
+
* @Date: 2025-04-24 16:28
|
|
169
|
+
*/
|
|
170
|
+
export declare const removeNoteByOrder: (bookingId: string, params: any) => Promise<any>;
|
|
171
|
+
/**
|
|
172
|
+
* @title: 保存预约表单数据
|
|
173
|
+
* @description: 保存预约相关的表单数据
|
|
174
|
+
* @param {any} params
|
|
175
|
+
* @return {*}
|
|
176
|
+
* @Author: cong.shao
|
|
177
|
+
* @Date: 2025-04-24 16:28
|
|
178
|
+
*/
|
|
179
|
+
export declare const saveBookingFormData: (params: any) => Promise<any>;
|
|
180
|
+
/**
|
|
181
|
+
* @title: 获取支付列表
|
|
182
|
+
* @description: 获取支付相关列表数据
|
|
183
|
+
* @param {any} params
|
|
184
|
+
* @return {*}
|
|
185
|
+
* @Author: cong.shao
|
|
186
|
+
* @Date: 2025-04-24 16:28
|
|
187
|
+
*/
|
|
188
|
+
export declare const getPaymentList: (params: any) => Promise<any>;
|
|
189
|
+
/**
|
|
190
|
+
* @title: 编辑订单备注
|
|
191
|
+
* @description: 更新订单备注信息
|
|
192
|
+
* @param {string} bookingId
|
|
193
|
+
* @param {any} params
|
|
194
|
+
* @return {*}
|
|
195
|
+
* @Author: cong.shao
|
|
196
|
+
* @Date: 2025-04-24 16:28
|
|
197
|
+
*/
|
|
198
|
+
export declare const editOrderNote: (bookingId: string, params: any) => Promise<any>;
|
|
199
|
+
/**
|
|
200
|
+
* @title: 获取退款信息
|
|
201
|
+
* @description: 获取退款相关信息
|
|
202
|
+
* @param {string} bookingId
|
|
203
|
+
* @param {any} params
|
|
204
|
+
* @return {*}
|
|
205
|
+
* @Author: cong.shao
|
|
206
|
+
* @Date: 2025-04-24 16:28
|
|
207
|
+
*/
|
|
208
|
+
export declare const getRefundInfo: (bookingId: string, params: any) => Promise<any>;
|
|
209
|
+
/**
|
|
210
|
+
* @title: 创建活动预约
|
|
211
|
+
* @description: 创建新的活动预约记录
|
|
212
|
+
* @param {any} params
|
|
213
|
+
* @return {*}
|
|
214
|
+
* @Author: cong.shao
|
|
215
|
+
* @Date: 2025-04-24 16:28
|
|
216
|
+
*/
|
|
217
|
+
export declare const createEventBooking: (params: any) => Promise<any>;
|
|
218
|
+
/**
|
|
219
|
+
* @title: 获取活动预约详情
|
|
220
|
+
* @description: 获取活动预约详细信息
|
|
221
|
+
* @param {number} bookingId
|
|
222
|
+
* @param {any} params
|
|
223
|
+
* @return {*}
|
|
224
|
+
* @Author: cong.shao
|
|
225
|
+
* @Date: 2025-04-24 16:28
|
|
226
|
+
*/
|
|
227
|
+
export declare const getEventBookingDetail: (bookingId: number, params?: any) => Promise<any>;
|
|
228
|
+
/**
|
|
229
|
+
* @title: 编辑活动预约
|
|
230
|
+
* @description: 更新活动预约信息
|
|
231
|
+
* @param {string} bookingId
|
|
232
|
+
* @param {any} params
|
|
233
|
+
* @return {*}
|
|
234
|
+
* @Author: cong.shao
|
|
235
|
+
* @Date: 2025-04-24 16:28
|
|
236
|
+
*/
|
|
237
|
+
export declare const editEventBooking: (bookingId: string, params: any) => Promise<any>;
|
|
238
|
+
/**
|
|
239
|
+
* @title: 获取定金显示配置
|
|
240
|
+
* @description: 获取定金相关显示配置
|
|
241
|
+
* @param {any} params
|
|
242
|
+
* @return {*}
|
|
243
|
+
* @Author: cong.shao
|
|
244
|
+
* @Date: 2025-04-24 16:28
|
|
245
|
+
*/
|
|
246
|
+
export declare const getDepositShow: (params: any) => Promise<any>;
|
|
247
|
+
/**
|
|
248
|
+
* @title: 获取表单记录
|
|
249
|
+
* @description: 获取表单记录数据
|
|
250
|
+
* @param {any} params
|
|
251
|
+
* @return {*}
|
|
252
|
+
* @Author: cong.shao
|
|
253
|
+
* @Date: 2025-04-24 16:28
|
|
254
|
+
*/
|
|
255
|
+
export declare const getFormRecords: (params: any) => Promise<any>;
|
|
256
|
+
/**
|
|
257
|
+
* @title: 获取预约列表
|
|
258
|
+
* @description: 获取预约列表数据
|
|
259
|
+
* @param {any} params
|
|
260
|
+
* @return {*}
|
|
261
|
+
* @Author: cong.shao
|
|
262
|
+
* @Date: 2025-04-24 16:28
|
|
263
|
+
*/
|
|
264
|
+
export declare const getBookingList2: (params: any) => Promise<any>;
|
|
265
|
+
/**
|
|
266
|
+
* @title: 获取订单信息
|
|
267
|
+
* @description: 根据机器码获取订单信息
|
|
268
|
+
* @param {any} params
|
|
269
|
+
* @return {*}
|
|
270
|
+
* @Author: cong.shao
|
|
271
|
+
* @Date: 2025-04-24 16:28
|
|
272
|
+
*/
|
|
273
|
+
export declare const getOrderInfoByCode: (params: any) => Promise<any>;
|
|
274
|
+
/**
|
|
275
|
+
* @title: 获取ES客户数据
|
|
276
|
+
* @description: 从ES获取客户数据
|
|
277
|
+
* @param {any} params
|
|
278
|
+
* @return {*}
|
|
279
|
+
* @Author: cong.shao
|
|
280
|
+
* @Date: 2025-04-24 16:28
|
|
281
|
+
*/
|
|
282
|
+
export declare const getClientsEs: (params: any) => Promise<any>;
|
|
283
|
+
/**
|
|
284
|
+
* 作废2.0预约订单
|
|
285
|
+
* @param order_id
|
|
286
|
+
*/
|
|
287
|
+
export declare const voidAppointment: (order_id: number) => Promise<any>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import 'dayjs/locale/zh-cn';
|
|
2
|
+
import 'dayjs/locale/en';
|
|
3
|
+
import 'dayjs/locale/zh-tw';
|
|
4
|
+
/**
|
|
5
|
+
* @title: 是否英文
|
|
6
|
+
* @description:
|
|
7
|
+
* @param {any} item
|
|
8
|
+
* @return {*}
|
|
9
|
+
* @Author: WangHan
|
|
10
|
+
* @Date: 2024-12-28 22:49
|
|
11
|
+
*/
|
|
12
|
+
export declare const isEn: (item: any) => boolean;
|
|
13
|
+
/**
|
|
14
|
+
* @title: 跨日预约时间
|
|
15
|
+
* @description:
|
|
16
|
+
* @param {any} item
|
|
17
|
+
* @return {*}
|
|
18
|
+
* @Author: WangHan
|
|
19
|
+
* @Date: 2024-12-28 22:50
|
|
20
|
+
*/
|
|
21
|
+
export declare const formatMultiDayDate: (item: any) => string;
|
|
22
|
+
/**
|
|
23
|
+
* @title: 格式化服务的 开始时间-结束时间-时长, 用于展示
|
|
24
|
+
* @description:
|
|
25
|
+
* @param {any} item
|
|
26
|
+
* @param {any} currentDate
|
|
27
|
+
* @return {*}
|
|
28
|
+
* @Author: zhiwei.Wang
|
|
29
|
+
* @Date: 2024-04-26 14:04
|
|
30
|
+
*/
|
|
31
|
+
export declare const getServiceTime: (item: any, currentDate: any, utils: any) => string;
|