@pisell/private-materials 6.0.25 → 6.1.2
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 +1 -1
- package/build/lowcode/preview.js +148 -144
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +9 -9
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +9 -9
- package/es/businessModel/SalesModel/Sales/index.js +37 -4
- package/es/businessModel/SalesModel/index.d.ts +0 -1
- package/es/components/Sales/Cart/index.js +26 -13
- package/es/components/Sales/Cart/types.d.ts +12 -0
- package/es/components/Sales/Cart/utils.d.ts +23 -0
- package/es/components/Sales/Cart/utils.js +161 -0
- package/es/components/Sales/Checkout/utils.d.ts +9 -1
- package/es/components/Sales/Checkout/utils.js +25 -3
- package/es/components/Sales/Customer/index.js +3 -1
- package/es/components/Sales/Event/Detail.d.ts +2 -0
- package/es/components/Sales/Event/Detail.js +60 -13
- package/es/components/Sales/Event/index.js +7 -7
- package/es/components/Sales/Event/serve.d.ts +13 -0
- package/es/components/Sales/Event/serve.js +26 -1
- package/es/components/Sales/Init/index.d.ts +1 -0
- package/es/components/Sales/Init/index.js +3 -2
- package/es/components/Sales/Resource/index.js +2 -2
- package/es/components/Sales/Resource/serve.d.ts +7 -0
- package/es/components/Sales/Resource/serve.js +10 -0
- package/es/components/Sales/Step/index.d.ts +2 -0
- package/es/components/Sales/Step/index.js +13 -4
- package/es/components/Sales/Summary/utils.d.ts +1 -1
- package/es/components/Sales/Summary/utils.js +1 -0
- package/es/components/appointmentBooking/assets/alert-circle.png +0 -0
- package/es/components/appointmentBooking/assets/calendar-heart.svg +5 -0
- package/es/components/appointmentBooking/assets/compass.svg +13 -0
- package/es/components/appointmentBooking/assets/guests.svg +1 -0
- package/es/components/appointmentBooking/assets/image.svg +5 -0
- package/es/components/appointmentBooking/assets/phone.svg +5 -0
- package/es/components/appointmentBooking/assets/resource.svg +1 -0
- package/es/components/appointmentBooking/assets/shopping-cart.svg +10 -0
- package/es/components/appointmentBooking/components/Cart/ContinueButton/index.d.ts +7 -0
- package/es/components/appointmentBooking/components/Cart/ContinueButton/index.js +152 -0
- package/es/components/appointmentBooking/components/Cart/ContinueButton/index.less +0 -0
- package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +3 -0
- package/es/components/appointmentBooking/components/Cart/Item/Total.js +45 -0
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +3 -0
- package/es/components/appointmentBooking/components/Cart/Item/index.js +261 -0
- package/es/components/appointmentBooking/components/Cart/Item/index.less +108 -0
- package/es/components/appointmentBooking/components/Cart/index.d.ts +3 -0
- package/es/components/appointmentBooking/components/Cart/index.js +29 -0
- package/es/components/appointmentBooking/components/Cart/index.less +2 -0
- package/es/components/appointmentBooking/components/Cart/utils.d.ts +56 -0
- package/es/components/appointmentBooking/components/Cart/utils.js +170 -0
- package/es/components/appointmentBooking/components/ConfirmInformation/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/ConfirmInformation/index.js +277 -0
- package/es/components/appointmentBooking/components/ConfirmInformation/index.less +35 -0
- package/es/components/appointmentBooking/components/ConfirmInformation/utils.d.ts +12 -0
- package/es/components/appointmentBooking/components/ConfirmInformation/utils.js +17 -0
- package/es/components/appointmentBooking/components/Content/index.d.ts +3 -0
- package/es/components/appointmentBooking/components/Content/index.js +243 -0
- package/es/components/appointmentBooking/components/Content/index.less +113 -0
- package/es/components/appointmentBooking/components/Date/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Date/index.js +403 -0
- package/es/components/appointmentBooking/components/Date/index.less +142 -0
- package/es/components/appointmentBooking/components/Date/state.d.ts +63 -0
- package/es/components/appointmentBooking/components/Date/state.js +223 -0
- package/es/components/appointmentBooking/components/Deposit/index.d.ts +3 -0
- package/es/components/appointmentBooking/components/Deposit/index.js +30 -0
- package/es/components/appointmentBooking/components/Deposit/index.less +17 -0
- package/es/components/appointmentBooking/components/Footer/index.d.ts +3 -0
- package/es/components/appointmentBooking/components/Footer/index.js +63 -0
- package/es/components/appointmentBooking/components/Footer/index.less +64 -0
- package/es/components/appointmentBooking/components/Form/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Form/index.js +157 -0
- package/es/components/appointmentBooking/components/Form/index.less +3 -0
- package/es/components/appointmentBooking/components/Form/utils.d.ts +8 -0
- package/es/components/appointmentBooking/components/Form/utils.js +36 -0
- package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +3 -0
- package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.js +50 -0
- package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.less +28 -0
- package/es/components/appointmentBooking/components/Guest/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Guest/index.js +185 -0
- package/es/components/appointmentBooking/components/Guest/index.less +92 -0
- package/es/components/appointmentBooking/components/Header/index.d.ts +3 -0
- package/es/components/appointmentBooking/components/Header/index.js +199 -0
- package/es/components/appointmentBooking/components/Header/index.less +0 -0
- package/es/components/appointmentBooking/components/Resource/index.d.ts +7 -0
- package/es/components/appointmentBooking/components/Resource/index.js +285 -0
- package/es/components/appointmentBooking/components/Resource/index.less +10 -0
- package/es/components/appointmentBooking/components/Resource/utils.d.ts +5 -0
- package/es/components/appointmentBooking/components/Resource/utils.js +16 -0
- package/es/components/appointmentBooking/components/Services/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Services/index.js +257 -0
- package/es/components/appointmentBooking/components/Services/index.less +3 -0
- package/es/components/appointmentBooking/components/TimeSlicing/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/TimeSlicing/index.js +118 -0
- package/es/components/appointmentBooking/components/TimeSlicing/index.less +33 -0
- package/es/components/appointmentBooking/components/Voucher/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Voucher/index.js +267 -0
- package/es/components/appointmentBooking/components/Voucher/index.less +116 -0
- package/es/components/appointmentBooking/context.d.ts +35 -0
- package/es/components/appointmentBooking/context.js +241 -0
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +3 -0
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.js +134 -0
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.less +18 -0
- package/es/components/appointmentBooking/deposit/index.d.ts +3 -0
- package/es/components/appointmentBooking/deposit/index.js +101 -0
- package/es/components/appointmentBooking/deposit/index.less +57 -0
- package/es/components/appointmentBooking/hooks.d.ts +106 -0
- package/es/components/appointmentBooking/hooks.js +976 -0
- package/es/components/appointmentBooking/index.d.ts +3 -0
- package/es/components/appointmentBooking/index.js +48 -0
- package/es/components/appointmentBooking/index.less +23 -0
- package/es/components/appointmentBooking/locales.d.ts +360 -0
- package/es/components/appointmentBooking/locales.js +413 -0
- package/es/components/appointmentBooking/mock.d.ts +627 -0
- package/es/components/appointmentBooking/mock.js +1172 -0
- package/es/components/appointmentBooking/status.d.ts +21 -0
- package/es/components/appointmentBooking/status.js +51 -0
- package/es/components/appointmentBooking/type.d.ts +17 -0
- package/es/components/appointmentBooking/type.js +1 -0
- package/es/components/appointmentBooking/utils.d.ts +203 -0
- package/es/components/appointmentBooking/utils.js +768 -0
- package/es/components/booking/addons/index.js +56 -35
- package/es/components/booking/addons/model.js +5 -0
- package/es/components/booking/components/TabProduct/index.d.ts +0 -1
- package/es/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
- package/es/components/booking/components/TabProduct/productItem/index.js +14 -2
- package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
- package/es/components/booking/components/TabProduct/selectProductItem/index.js +3 -1
- package/es/components/booking/components/TabProduct/selectProductItem/index.less +6 -0
- package/es/components/booking/components/TabProduct/tabs/index.js +1 -5
- package/es/components/booking/components/browserSelect/index.js +1 -1
- package/es/components/booking/components/collapsibleList/utils.d.ts +0 -1
- package/es/components/booking/components/customSelect/index.js +3 -0
- package/es/components/booking/components/drawer/index.js +4 -2
- package/es/components/booking/components/emptyBooking/index.d.ts +0 -1
- package/es/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
- package/es/components/booking/components/footer/amount.d.ts +1 -0
- package/es/components/booking/components/footer/amount.js +5 -4
- package/es/components/booking/components/footer/index.d.ts +0 -1
- package/es/components/booking/components/footer/index.js +227 -123
- package/es/components/booking/components/footer/index.less +6 -1
- package/es/components/booking/components/footer/utils.d.ts +22 -0
- package/es/components/booking/components/footer/utils.js +213 -62
- package/es/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
- package/es/components/booking/components/voucher/index.d.ts +3 -0
- package/es/components/booking/components/voucher/index.js +319 -0
- package/es/components/booking/components/voucher/index.less +87 -0
- package/es/components/booking/components/voucher/utils.d.ts +4 -0
- package/es/components/booking/components/voucher/utils.js +15 -0
- package/es/components/booking/deposit/DepositItem/index.js +1 -0
- package/es/components/booking/deposit/index.d.ts +0 -1
- package/es/components/booking/deposit/index.js +5 -3
- package/es/components/booking/editBookingModal/index.d.ts +5 -0
- package/es/components/booking/editBookingModal/index.js +386 -0
- package/es/components/booking/editBookingModal/index.less +8 -0
- package/es/components/booking/editBookingModal/locales.d.ts +21 -0
- package/es/components/booking/editBookingModal/locales.js +20 -0
- package/es/components/booking/editBookingModal/mock.d.ts +807 -0
- package/es/components/booking/editBookingModal/mock.js +2993 -0
- package/es/components/booking/editBookingModal/serve.d.ts +51 -0
- package/es/components/booking/editBookingModal/serve.js +288 -0
- package/es/components/booking/editBookingModal/type.d.ts +12 -0
- package/es/components/booking/editBookingModal/type.js +1 -0
- package/es/components/booking/editBookingModal/utils.d.ts +12 -0
- package/es/components/booking/editBookingModal/utils.js +157 -0
- package/es/components/booking/forms/footer.d.ts +6 -0
- package/es/components/booking/forms/footer.js +88 -0
- package/es/components/booking/forms/forms.d.ts +4 -0
- package/es/components/booking/forms/forms.js +15 -3
- package/es/components/booking/forms/index.d.ts +1 -1
- package/es/components/booking/forms/index.js +25 -20
- package/es/components/booking/forms/index.less +7 -0
- package/es/components/booking/forms/model.js +5 -5
- package/es/components/booking/forms/sendModal/index.d.ts +27 -0
- package/es/components/booking/forms/sendModal/index.js +82 -0
- package/es/components/booking/forms/sendModal/index.less +9 -0
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +9 -0
- package/es/components/booking/forms/sendModal/useSendModal.js +79 -0
- package/es/components/booking/forms/serve.d.ts +9 -0
- package/es/components/booking/forms/serve.js +20 -0
- package/es/components/booking/forms/single/index.d.ts +1 -2
- package/es/components/booking/forms/single/index.js +83 -27
- package/es/components/booking/forms/table/index.d.ts +0 -1
- package/es/components/booking/hooks/useClearCart.js +11 -8
- package/es/components/booking/hooks/useCreateBookingPageHeader.js +3 -0
- package/es/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
- package/es/components/booking/hooks/useIsBooking4Shop.js +10 -0
- package/es/components/booking/hooks/useQuotation.d.ts +5 -0
- package/es/components/booking/hooks/useQuotation.js +266 -0
- package/es/components/booking/info/addServiceVariant/index.d.ts +0 -1
- package/es/components/booking/info/addServiceVariant/index.js +2 -2
- package/es/components/booking/info/client/index.js +43 -10
- package/es/components/booking/info/client/index.less +39 -0
- package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
- package/es/components/booking/info/clientVariant/hooks/useClientFn.js +10 -1
- package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
- package/es/components/booking/info/clientVariant/utils.d.ts +1 -0
- package/es/components/booking/info/clientVariant/utils.js +6 -0
- package/es/components/booking/info/clientVariant/vertical/SelectDrawer.js +17 -2
- package/es/components/booking/info/clientVariant/vertical/SelectDrawer.less +17 -0
- package/es/components/booking/info/clientVariant/vertical/index.js +33 -7
- package/es/components/booking/info/clientVariant/vertical/index.less +18 -0
- package/es/components/booking/info/date/index.d.ts +0 -1
- package/es/components/booking/info/header/index.d.ts +0 -1
- package/es/components/booking/info/hooks/useAddHolder.d.ts +9 -0
- package/es/components/booking/info/hooks/useAddHolder.js +171 -0
- package/es/components/booking/info/hooks/useGetHolderList.d.ts +2 -0
- package/es/components/booking/info/hooks/useGetHolderList.js +48 -0
- package/es/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
- package/es/components/booking/info/hooks/useHolderConfig.js +40 -0
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +9 -0
- package/es/components/booking/info/hooks/useInfoHolder.js +76 -0
- package/es/components/booking/info/index.d.ts +0 -1
- package/es/components/booking/info/index.js +16 -2
- package/es/components/booking/info/main.js +1 -1
- package/es/components/booking/info/model.js +5 -0
- package/es/components/booking/info/notes/index.d.ts +0 -1
- package/es/components/booking/info/pet/index.js +107 -25
- package/es/components/booking/info/pet/serve.d.ts +1 -0
- package/es/components/booking/info/pet/serve.js +27 -0
- package/es/components/booking/info/service/Lists.d.ts +2 -0
- package/es/components/booking/info/service/Lists.js +131 -0
- package/es/components/booking/info/service/actions/index.d.ts +0 -1
- package/es/components/booking/info/service/addService/index.js +35 -33
- package/es/components/booking/info/service/editService/index.d.ts +1 -1
- package/es/components/booking/info/service/editService/index.js +115 -61
- package/es/components/booking/info/service/index.js +8 -5
- package/es/components/booking/info/service/like/index.d.ts +0 -1
- package/es/components/booking/info/service/like/index.js +1 -1
- package/es/components/booking/info/service/serve.d.ts +9 -0
- package/es/components/booking/info/service/serve.js +21 -0
- package/es/components/booking/info/service/serviceList/index.d.ts +0 -1
- package/es/components/booking/info/service/serviceList/index.js +1 -0
- package/es/components/booking/info/service/serviceManager/index.js +12 -7
- package/es/components/booking/info/service2/Group/utils.js +3 -2
- package/es/components/booking/info/service2/Lists.d.ts +0 -1
- package/es/components/booking/info/service2/hooks/useSelectPet.js +13 -5
- package/es/components/booking/info/service2/index.js +6 -3
- package/es/components/booking/info/service2/utils.d.ts +14 -7
- package/es/components/booking/info/service2/utils.js +421 -112
- package/es/components/booking/info/utils.d.ts +6 -0
- package/es/components/booking/info/utils.js +62 -1
- package/es/components/booking/info2/index.js +19 -11
- package/es/components/booking/info2/serve.d.ts +2 -2
- package/es/components/booking/info2/serve.js +9 -12
- package/es/components/booking/info2/service/actions/index.d.ts +0 -1
- package/es/components/booking/info2/service/addService/index.d.ts +0 -1
- package/es/components/booking/info2/service/addService/index.js +81 -37
- package/es/components/booking/info2/service/addService/utils.d.ts +30 -3
- package/es/components/booking/info2/service/addService/utils.js +198 -78
- package/es/components/booking/info2/service/addTimeModal/index.d.ts +0 -1
- package/es/components/booking/info2/service/addTimeModal/index.js +7 -5
- package/es/components/booking/info2/service/editService/Resources/MaxLengthSelect/index.js +2 -4
- package/es/components/booking/info2/service/editService/Resources/index.js +49 -11
- package/es/components/booking/info2/service/editService/Resources/index.less +6 -0
- package/es/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.d.ts +7 -0
- package/es/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.js +26 -0
- package/es/components/booking/info2/service/editService/ResourcesV2/index.d.ts +10 -0
- package/es/components/booking/info2/service/editService/ResourcesV2/index.js +308 -0
- package/es/components/booking/info2/service/editService/ResourcesV2/index.less +44 -0
- package/es/components/booking/info2/service/editService/index.js +338 -161
- package/es/components/booking/info2/service/editService/utils.d.ts +4 -2
- package/es/components/booking/info2/service/editService/utils.js +18 -0
- package/es/components/booking/info2/service/index.js +30 -42
- package/es/components/booking/info2/service/serviceList/index.d.ts +0 -1
- package/es/components/booking/info2/utils.d.ts +4 -0
- package/es/components/booking/info2/utils.js +45 -0
- package/es/components/booking/info2/utilsByBooking.d.ts +2 -1
- package/es/components/booking/info2/utilsByBooking.js +54 -15
- package/es/components/booking/locales.d.ts +90 -0
- package/es/components/booking/locales.js +111 -3
- package/es/components/booking/materiels/contacts/index.d.ts +0 -1
- package/es/components/booking/materiels/duration/index.d.ts +0 -1
- package/es/components/booking/materiels/duration/index.js +9 -2
- package/es/components/booking/materiels/holder/index.d.ts +0 -1
- package/es/components/booking/materiels/holder/index.js +2 -2
- package/es/components/booking/materiels/startTime/index.d.ts +0 -1
- package/es/components/booking/materiels/startTime/index.js +1 -1
- package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
- package/es/components/booking/notes/NoteBlock/NoteItem/index.js +1 -1
- package/es/components/booking/notes/NoteBlock/index.d.ts +0 -1
- package/es/components/booking/notes/NoteBlock/index.js +11 -11
- package/es/components/booking/notes/addNote/index.d.ts +0 -1
- package/es/components/booking/notes/addNote/index.js +1 -1
- package/es/components/booking/notes/addNote/index.less +3 -0
- package/es/components/booking/notes/model.js +5 -5
- package/es/components/booking/payments/index.js +2 -1
- package/es/components/booking/payments/model.js +5 -5
- package/es/components/booking/utils.d.ts +3 -0
- package/es/components/booking/utils.js +66 -21
- package/es/components/eftpos/deviceList/index.d.ts +0 -1
- package/es/components/eftpos/form/index.d.ts +0 -1
- package/es/components/eftpos/group/index.d.ts +0 -1
- package/es/components/eftpos/hooks.d.ts +0 -1
- package/es/components/eftpos/icon/apiKey.d.ts +0 -1
- package/es/components/eftpos/icon/device.d.ts +0 -1
- package/es/components/eftpos/index.d.ts +0 -1
- package/es/components/eftpos/pos.d.ts +0 -1
- package/es/components/eftpos/receipt/index.d.ts +0 -1
- package/es/components/eftpos/surcharge/index.d.ts +0 -1
- package/es/components/eftposPay/amount.d.ts +1 -2
- package/es/components/eftposPay/app.d.ts +0 -1
- package/es/components/eftposPay/component/alert/warn.d.ts +0 -1
- package/es/components/eftposPay/component/fail/network.d.ts +0 -1
- package/es/components/eftposPay/component/header/titlebar.d.ts +0 -1
- package/es/components/eftposPay/component/manual/index.d.ts +0 -1
- package/es/components/eftposPay/component/signature/index.d.ts +0 -1
- package/es/components/eftposPay/component/step/index.d.ts +0 -1
- package/es/components/eftposPay/component/step/step.d.ts +0 -1
- package/es/components/eftposPay/device.d.ts +1 -2
- package/es/components/eftposPay/hooks.d.ts +2 -2
- package/es/components/eftposPay/payo/config.js +44 -6
- package/es/components/eftposPay/payo/hooks.js +12 -1
- package/es/components/eftposPay/store/index.d.ts +4 -4
- package/es/components/eftposPay/tip.d.ts +0 -1
- package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
- package/es/components/eftposPay/windcave/receiptAction.d.ts +0 -1
- package/es/components/eftposPay/windcave/windcave.d.ts +0 -1
- package/es/components/eftposPay/windcave/windcave.js +12 -2
- package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.js +292 -49
- package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Event/index.js +32 -7
- package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Resource/index.js +26 -5
- package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.less +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.less +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.d.ts +2 -2
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.js +1 -1
- package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +3 -1
- package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.js +30 -8
- package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
- package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
- package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.js +6 -3
- package/es/components/eventBooking/components/bookingDetailModal/index.js +89 -16
- package/es/components/eventBooking/components/progressBar/index.js +17 -1
- package/es/components/eventBooking/components/resourceDisplay/index.js +2 -2
- package/es/components/eventBooking/components/resourceDisplay/index.less +1 -0
- package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
- package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
- package/es/components/eventBooking/components/scheduleCalendar/calendarItem.js +7 -2
- package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +3 -0
- package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.js +60 -0
- package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.less +63 -0
- package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimes/index.d.ts +9 -0
- package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimes/index.js +59 -0
- package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimes/index.less +7 -0
- package/es/components/eventBooking/components/scheduleCalendar/index.d.ts +1 -0
- package/es/components/eventBooking/components/scheduleCalendar/index.js +30 -21
- package/es/components/eventBooking/components/scheduleCalendar/index.less +2 -0
- package/es/components/eventBooking/components/timeResourceSelector/index.less +0 -1
- package/es/components/eventBooking/index.d.ts +0 -1
- package/es/components/eventBooking/index.js +23 -9
- package/es/components/eventBooking/locales.d.ts +6 -0
- package/es/components/eventBooking/locales.js +172 -166
- package/es/components/eventBooking/utils.js +8 -8
- package/es/components/index.d.ts +4 -1
- package/es/components/index.js +4 -1
- package/es/components/listComponent/index.js +5 -5
- package/es/components/login/index.d.ts +0 -1
- package/es/components/pay/toB/components/Cache/index.d.ts +10 -0
- package/es/components/pay/toB/components/Cache/index.js +94 -0
- package/es/components/pay/toB/components/Cache/index.less +41 -0
- package/es/components/pay/toB/components/Card/index.d.ts +7 -0
- package/es/components/pay/toB/components/Card/index.js +32 -0
- package/es/components/pay/toB/components/Card/index.less +26 -0
- package/es/components/pay/toB/components/CardGroup/index.d.ts +7 -0
- package/es/components/pay/toB/components/CardGroup/index.js +22 -0
- package/es/components/pay/toB/components/CardGroup/index.less +18 -0
- package/es/components/pay/toB/components/ConfirmedPayment/index.d.ts +6 -0
- package/es/components/pay/toB/components/ConfirmedPayment/index.js +67 -0
- package/es/components/pay/toB/components/ConfirmedPayment/index.less +69 -0
- package/es/components/pay/toB/components/Content/Footer.d.ts +7 -0
- package/es/components/pay/toB/components/Content/Footer.js +36 -0
- package/es/components/pay/toB/components/Content/Header.d.ts +4 -0
- package/es/components/pay/toB/components/Content/Header.js +12 -0
- package/es/components/pay/toB/components/Content/index.d.ts +4 -0
- package/es/components/pay/toB/components/Content/index.js +260 -0
- package/es/components/pay/toB/components/Content/index.less +9 -0
- package/es/components/pay/toB/components/Content/utils.d.ts +16 -0
- package/es/components/pay/toB/components/Content/utils.js +76 -0
- package/es/components/pay/toB/components/index.d.ts +5 -0
- package/es/components/pay/toB/components/index.js +5 -0
- package/es/components/pay/toB/hooks.d.ts +12 -0
- package/es/components/pay/toB/hooks.js +30 -0
- package/es/components/pay/toB/index.d.ts +3 -0
- package/es/components/pay/toB/index.js +24 -0
- package/es/components/pay/toB/locales.d.ts +54 -0
- package/es/components/pay/toB/locales.js +65 -0
- package/es/components/pay/toB/store/context.d.ts +3 -0
- package/es/components/pay/toB/store/context.js +2 -0
- package/es/components/pay/toB/store/hooks.d.ts +15 -0
- package/es/components/pay/toB/store/hooks.js +89 -0
- package/es/components/pay/toB/store/index.d.ts +3 -0
- package/es/components/pay/toB/store/index.js +3 -0
- package/es/components/pay/toB/store/provider.d.ts +4 -0
- package/es/components/pay/toB/store/provider.js +78 -0
- package/es/components/pay/toB/store/utils.d.ts +13 -0
- package/es/components/pay/toB/store/utils.js +66 -0
- package/es/components/pay/toB/types/index.d.ts +1 -0
- package/es/components/pay/toB/types/index.js +1 -0
- package/es/components/pay/toB/types/storeTypes.d.ts +143 -0
- package/es/components/pay/toB/types/storeTypes.js +24 -0
- package/es/components/pay/toC/PaymentList/index.js +10 -4
- package/es/components/pay/toC/PaymentList/serve.d.ts +1 -1
- package/es/components/pay/toC/PaymentList/serve.js +9 -3
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.js +30 -13
- package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.js +30 -13
- package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +3 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.js +3 -2
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +5 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.js +73 -20
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.less +30 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/utils.js +2 -1
- package/es/components/pay/toC/PaymentMethods/index.js +29 -2
- package/es/components/pay/toC/WalletPassBlock/components/WalletAvailable/index.d.ts +16 -0
- package/es/components/pay/toC/WalletPassBlock/components/WalletAvailable/index.js +60 -0
- package/es/components/pay/toC/WalletPassBlock/components/WalletAvailable/index.less +38 -0
- package/es/components/pay/toC/WalletPassBlock/components/WalletBestValueFound/index.d.ts +17 -0
- package/es/components/pay/toC/WalletPassBlock/components/WalletBestValueFound/index.js +98 -0
- package/es/components/pay/toC/WalletPassBlock/components/WalletBestValueFound/index.less +133 -0
- package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +7 -0
- package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.js +34 -0
- package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.less +23 -0
- package/es/components/pay/toC/WalletPassBlock/index.d.ts +9 -2
- package/es/components/pay/toC/WalletPassBlock/index.js +119 -21
- package/es/components/pay/toC/WalletPassBlock/index.less +86 -13
- package/es/components/pay/toC/index.js +173 -116
- package/es/components/pay/toC/locales.d.ts +69 -3
- package/es/components/pay/toC/locales.js +132 -6
- package/es/components/pay/toC/model.d.ts +4 -0
- package/es/components/pay/toC/model.js +9 -0
- package/es/components/pay/toC/serve.d.ts +23 -0
- package/es/components/pay/toC/serve.js +36 -4
- package/es/components/pay/toC/utils.d.ts +9 -1
- package/es/components/pay/toC/utils.js +29 -3
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.js +4 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
- package/es/components/productExtension/card/index.js +3 -3
- package/es/components/productExtension/fields/Actor/CutOffTime/index.js +1 -1
- package/es/components/productExtension/fields/Actor/index.d.ts +0 -1
- package/es/components/productExtension/fields/Forms/index.d.ts +0 -1
- package/es/components/productExtension/fields/Forms/index.js +12 -12
- package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -2
- package/es/components/productExtension/fields/SelectProducts/ProductItem/index.js +18 -6
- package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
- package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.js +1 -1
- package/es/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
- package/es/components/productExtension/fields/SelectProducts/server.js +2 -2
- package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
- package/es/components/productExtension/fields/SelectResourcesTable/server.js +2 -2
- package/es/components/productExtension/index.d.ts +0 -1
- package/es/components/productExtension/server.js +2 -2
- package/es/components/productSelect/components/TabProduct/index.d.ts +2 -0
- package/es/components/productSelect/components/TabProduct/index.js +196 -0
- package/es/components/productSelect/components/TabProduct/tabs/index.d.ts +21 -0
- package/es/components/productSelect/components/TabProduct/tabs/index.js +243 -0
- package/es/components/productSelect/components/TabProduct/tabs/index.less +126 -0
- package/es/components/productSelect/components/gridLayout/index.d.ts +9 -0
- package/es/components/productSelect/components/gridLayout/index.js +28 -0
- package/es/components/productSelect/components/gridLayout/index.less +6 -0
- package/es/components/productSelect/components/pisellPriceText/index.d.ts +11 -0
- package/es/components/productSelect/components/pisellPriceText/index.js +44 -0
- package/es/components/productSelect/components/productGroup/index.d.ts +38 -0
- package/es/components/productSelect/components/productGroup/index.js +171 -0
- package/es/components/productSelect/components/productGroup/index.less +227 -0
- package/es/components/productSelect/hooks/useToken.d.ts +18 -0
- package/es/components/productSelect/hooks/useToken.js +35 -0
- package/es/components/productSelect/index.d.ts +24 -0
- package/es/components/productSelect/index.js +107 -0
- package/es/components/productSelect/index.less +75 -0
- package/es/components/productSelect/locales.d.ts +18 -0
- package/es/components/productSelect/locales.js +17 -0
- package/es/components/productSelect/mock.d.ts +134 -0
- package/es/components/productSelect/mock.js +202 -0
- package/es/components/productSelect/theme/token.d.ts +17 -0
- package/es/components/productSelect/theme/token.js +19 -0
- package/es/components/ruleSetting/ruleBorder/index.d.ts +0 -1
- package/es/components/ruleSetting/ruleBorder/index.js +1 -1
- package/es/components/schedules/calendar/calendarItem.d.ts +0 -1
- package/es/components/schedules/calendar/index.d.ts +0 -1
- package/es/components/schedules/calendar/index.js +4 -4
- package/es/components/schedules/calendar/index.less +158 -152
- package/es/components/schedules/calendar/serve.js +2 -2
- package/es/components/schedules/components/CurrentDay/index.d.ts +0 -1
- package/es/components/schedules/components/CurrentDay/index.js +5 -5
- package/es/components/schedules/components/CurrentDay/serve.js +2 -2
- package/es/components/schedules/components/DropdownSort/index.js +1 -1
- package/es/components/schedules/components/ResourceList/index.js +1 -1
- package/es/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
- package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
- package/es/components/schedules/components/ScheduleList/index.d.ts +0 -1
- package/es/components/schedules/components/Search/index.js +5 -5
- package/es/components/schedules/model.js +5 -5
- package/es/components/schedules/openHours/index.js +1 -1
- package/es/components/schedules/openHours/serve.js +2 -2
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.js +1 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.js +5 -5
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.js +4 -4
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/index.js +3 -3
- package/es/components/schedules/products/index.d.ts +0 -1
- package/es/components/schedules/products/list/ProductItem/index.d.ts +0 -1
- package/es/components/schedules/products/list/index.d.ts +0 -1
- package/es/components/schedules/products/serve.js +2 -2
- package/es/components/schedules/products/utils.js +5 -5
- package/es/components/schedules/resources/detail/detailContent.js +2 -2
- package/es/components/schedules/resources/detail/index.js +10 -10
- package/es/components/schedules/resources/index.d.ts +0 -1
- package/es/components/schedules/resources/list/index.d.ts +0 -1
- package/es/components/schedules/resources/list/index.js +2 -2
- package/es/components/schedules/resources/relationProduct/index.d.ts +0 -1
- package/es/components/schedules/resources/relationProduct/index.js +1 -1
- package/es/components/schedules/resources/serve.js +2 -2
- package/es/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
- package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
- package/es/components/schedules/schedules/ScheduleDetailDrawer/index.js +9 -9
- package/es/components/schedules/schedules/index.d.ts +0 -1
- package/es/components/schedules/schedules/utils.js +1 -1
- package/es/components/schedules/utils.js +4 -4
- package/es/components/selectModal/index.js +2 -2
- package/es/components/shoppingCart/Provider.d.ts +1 -1
- package/es/components/shoppingCart/Provider.js +3 -2
- package/es/components/shoppingCart/components/Cart/Product.js +63 -32
- package/es/components/shoppingCart/components/Cart/index.js +21 -18
- package/es/components/shoppingCart/components/Cart/index.less +15 -15
- package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
- package/es/components/shoppingCart/components/Render/index.d.ts +0 -1
- package/es/components/shoppingCart/components/Render/index.js +0 -1
- package/es/components/shoppingCart/components/Render/index.less +15 -0
- package/es/components/shoppingCart/hooks/useAddService.js +7 -1
- package/es/components/shoppingCart/hooks/useClearCart.js +3 -4
- package/es/components/shoppingCart/index.d.ts +1 -2
- package/es/components/shoppingCart/index.js +3 -1
- package/es/components/shoppingCart/status.js +5 -1
- package/es/components/shoppingCart/type.d.ts +8 -0
- package/es/components/stepController/components/Content/index.d.ts +7 -0
- package/es/components/stepController/components/Content/index.js +9 -0
- package/es/components/stepController/components/Content/index.less +8 -0
- package/es/components/stepController/components/Footer/index.d.ts +8 -0
- package/es/components/stepController/components/Footer/index.js +15 -0
- package/es/components/stepController/components/Footer/index.less +39 -0
- package/es/components/stepController/components/Header/index.d.ts +20 -0
- package/es/components/stepController/components/Header/index.js +97 -0
- package/es/components/stepController/components/Header/index.less +21 -0
- package/es/components/stepController/index.d.ts +5 -0
- package/es/components/stepController/index.js +64 -0
- package/es/components/stepController/index.less +11 -0
- package/es/components/stepController/locales.d.ts +27 -0
- package/es/components/stepController/locales.js +32 -0
- package/es/components/stepController/types.d.ts +23 -0
- package/es/components/stepController/types.js +1 -0
- package/es/components/subTotal/index.d.ts +22 -0
- package/es/components/subTotal/index.js +234 -0
- package/es/components/subTotal/index.less +70 -0
- package/es/components/subTotal/locales.d.ts +42 -0
- package/es/components/subTotal/locales.js +41 -0
- package/es/components/taxSelect/index.d.ts +0 -1
- package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +9 -0
- package/es/components/ticketBooking/components/addServiceVariant/addService.js +508 -0
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +6 -0
- package/es/components/ticketBooking/components/addServiceVariant/index.js +28 -0
- package/es/components/ticketBooking/components/addServiceVariant/index.less +10 -0
- package/es/components/ticketBooking/components/menuBar/index.d.ts +3 -0
- package/es/components/ticketBooking/components/menuBar/index.js +54 -0
- package/es/components/ticketBooking/components/menuBar/index.less +83 -0
- package/es/components/ticketBooking/components/notAvailable/index.d.ts +3 -0
- package/es/components/ticketBooking/components/notAvailable/index.js +39 -0
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +4 -0
- package/es/components/ticketBooking/components/ticketBooking/index.js +955 -0
- package/es/components/ticketBooking/components/ticketBooking/index.less +16 -0
- package/es/components/ticketBooking/components/timeBar/index.d.ts +12 -0
- package/es/components/ticketBooking/components/timeBar/index.js +115 -0
- package/es/components/ticketBooking/components/timeBar/index.less +22 -0
- package/es/components/ticketBooking/data.d.ts +58 -0
- package/es/components/ticketBooking/data.js +82 -0
- package/es/components/ticketBooking/hooks/useNetworkStatus.d.ts +11 -0
- package/es/components/ticketBooking/hooks/useNetworkStatus.js +52 -0
- package/es/components/ticketBooking/index.d.ts +7 -0
- package/es/components/ticketBooking/index.js +156 -0
- package/es/components/ticketBooking/index.less +4 -0
- package/es/components/ticketBooking/locales.d.ts +171 -0
- package/es/components/ticketBooking/locales.js +206 -0
- package/es/components/ticketBooking/miniRedux.d.ts +22 -0
- package/es/components/ticketBooking/miniRedux.js +105 -0
- package/es/components/ticketBooking/serve.d.ts +288 -0
- package/es/components/ticketBooking/serve.js +1016 -0
- package/es/components/ticketBooking/utils/formatProductMessage.d.ts +2 -0
- package/es/components/ticketBooking/utils/formatProductMessage.js +62 -0
- package/es/components/ticketBooking/utils/formatTime.d.ts +31 -0
- package/es/components/ticketBooking/utils/formatTime.js +144 -0
- package/es/components/ticketBooking/utils/index.d.ts +23 -0
- package/es/components/ticketBooking/utils/index.js +220 -0
- package/es/components/wallet/Detail/index.js +21 -15
- package/es/components/wallet/DiscountCard/index.less +0 -1
- package/es/components/wallet/PointCard/index.less +0 -1
- package/es/components/wallet/RechargeableCard/index.less +5 -9
- package/es/components/wallet/Voucher/index.js +1 -0
- package/es/components/wallet/Voucher/index.less +0 -1
- package/es/components/wallet/components/WalletCard.js +2 -2
- package/es/components/wallet/hooks/useWalletCard.d.ts +0 -1
- package/es/components/wallet/index.js +66 -6
- package/es/components/wallet/index.less +0 -4
- package/es/components/wallet/locales.d.ts +3 -0
- package/es/components/wallet/locales.js +3 -0
- package/es/components/wallet/model.d.ts +1 -1
- package/es/components/wallet/utils/formatUtils.js +1 -1
- package/es/components/walletList/index.js +60 -8
- package/es/components/walletList/index.less +17 -15
- package/es/components/walletList/locales.d.ts +18 -0
- package/es/components/walletList/locales.js +17 -0
- package/es/components/walletList/serve.d.ts +8 -0
- package/es/components/walletList/serve.js +38 -0
- package/es/components/walletList/status.d.ts +38 -0
- package/es/components/walletList/status.js +47 -0
- package/es/components/workSpaceList/components/AppearanceEdit/IconPanel.js +1 -1
- package/es/components/workSpaceList/components/AppearanceEdit/constants.js +1 -11
- package/es/components/workSpaceList/components/Card/constants.js +1 -2
- package/es/components/workSpaceList/components/EditableString/index.js +1 -1
- package/es/components/workSpaceList/components/SearchBar/index.js +1 -4
- package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.js +1 -1
- package/es/components/workSpaceList/components/Sort/index.js +1 -1
- package/es/components/workSpaceList/components/WorkspaceItem/index.js +1 -1
- package/es/hooks/useComponents.js +1 -1
- package/es/hooks/useEngineContext.d.ts +1 -0
- package/es/hooks/useEngineContext.js +7 -0
- package/es/hooks/useLocale.d.ts +2 -0
- package/es/hooks/useLocale.js +7 -0
- package/es/hooks/useLoginUser.d.ts +2 -0
- package/es/hooks/useLoginUser.js +19 -0
- package/es/hooks/useWindowSize.d.ts +5 -0
- package/es/hooks/useWindowSize.js +26 -0
- package/es/index.d.ts +7 -0
- package/es/index.js +8 -1
- package/es/utils/date.d.ts +11 -0
- package/es/utils/date.js +49 -0
- package/es/utils/tasks/index.d.ts +16 -0
- package/es/utils/tasks/index.js +114 -0
- package/es/utils/tasks/type.d.ts +4 -0
- package/es/utils/tasks/type.js +1 -0
- package/lib/businessModel/SalesModel/Sales/index.js +22 -8
- package/lib/businessModel/SalesModel/index.d.ts +0 -1
- package/lib/components/Sales/Cart/index.js +30 -18
- package/lib/components/Sales/Cart/types.d.ts +12 -0
- package/lib/components/Sales/Cart/utils.d.ts +23 -0
- package/lib/components/Sales/Cart/utils.js +149 -0
- package/lib/components/Sales/Checkout/utils.d.ts +9 -1
- package/lib/components/Sales/Checkout/utils.js +18 -4
- package/lib/components/Sales/Customer/index.js +3 -1
- package/lib/components/Sales/Event/Detail.d.ts +2 -0
- package/lib/components/Sales/Event/Detail.js +38 -10
- package/lib/components/Sales/Event/index.js +1 -5
- package/lib/components/Sales/Event/serve.d.ts +13 -0
- package/lib/components/Sales/Event/serve.js +5 -2
- package/lib/components/Sales/Init/index.d.ts +1 -0
- package/lib/components/Sales/Init/index.js +3 -2
- package/lib/components/Sales/Resource/index.js +1 -1
- package/lib/components/Sales/Resource/serve.d.ts +7 -0
- package/lib/components/Sales/Resource/serve.js +9 -2
- package/lib/components/Sales/Step/index.d.ts +2 -0
- package/lib/components/Sales/Step/index.js +13 -4
- package/lib/components/Sales/Summary/utils.d.ts +1 -1
- package/lib/components/Sales/Summary/utils.js +1 -0
- package/lib/components/appointmentBooking/assets/alert-circle.png +0 -0
- package/lib/components/appointmentBooking/assets/calendar-heart.svg +5 -0
- package/lib/components/appointmentBooking/assets/compass.svg +13 -0
- package/lib/components/appointmentBooking/assets/guests.svg +1 -0
- package/lib/components/appointmentBooking/assets/image.svg +5 -0
- package/lib/components/appointmentBooking/assets/phone.svg +5 -0
- package/lib/components/appointmentBooking/assets/resource.svg +1 -0
- package/lib/components/appointmentBooking/assets/shopping-cart.svg +10 -0
- package/lib/components/appointmentBooking/components/Cart/ContinueButton/index.d.ts +7 -0
- package/lib/components/appointmentBooking/components/Cart/ContinueButton/index.js +113 -0
- package/lib/components/appointmentBooking/components/Cart/ContinueButton/index.less +0 -0
- package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +3 -0
- package/lib/components/appointmentBooking/components/Cart/Item/Total.js +79 -0
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/Cart/Item/index.js +212 -0
- package/lib/components/appointmentBooking/components/Cart/Item/index.less +108 -0
- package/lib/components/appointmentBooking/components/Cart/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/Cart/index.js +60 -0
- package/lib/components/appointmentBooking/components/Cart/index.less +2 -0
- package/lib/components/appointmentBooking/components/Cart/utils.d.ts +56 -0
- package/lib/components/appointmentBooking/components/Cart/utils.js +125 -0
- package/lib/components/appointmentBooking/components/ConfirmInformation/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/ConfirmInformation/index.js +155 -0
- package/lib/components/appointmentBooking/components/ConfirmInformation/index.less +35 -0
- package/lib/components/appointmentBooking/components/ConfirmInformation/utils.d.ts +12 -0
- package/lib/components/appointmentBooking/components/ConfirmInformation/utils.js +37 -0
- package/lib/components/appointmentBooking/components/Content/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/Content/index.js +221 -0
- package/lib/components/appointmentBooking/components/Content/index.less +113 -0
- package/lib/components/appointmentBooking/components/Date/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Date/index.js +247 -0
- package/lib/components/appointmentBooking/components/Date/index.less +142 -0
- package/lib/components/appointmentBooking/components/Date/state.d.ts +63 -0
- package/lib/components/appointmentBooking/components/Date/state.js +202 -0
- package/lib/components/appointmentBooking/components/Deposit/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/Deposit/index.js +61 -0
- package/lib/components/appointmentBooking/components/Deposit/index.less +17 -0
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/Footer/index.js +78 -0
- package/lib/components/appointmentBooking/components/Footer/index.less +64 -0
- package/lib/components/appointmentBooking/components/Form/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Form/index.js +127 -0
- package/lib/components/appointmentBooking/components/Form/index.less +3 -0
- package/lib/components/appointmentBooking/components/Form/utils.d.ts +8 -0
- package/lib/components/appointmentBooking/components/Form/utils.js +49 -0
- package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.js +74 -0
- package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.less +28 -0
- package/lib/components/appointmentBooking/components/Guest/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Guest/index.js +166 -0
- package/lib/components/appointmentBooking/components/Guest/index.less +92 -0
- package/lib/components/appointmentBooking/components/Header/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/Header/index.js +151 -0
- package/lib/components/appointmentBooking/components/Header/index.less +0 -0
- package/lib/components/appointmentBooking/components/Resource/index.d.ts +7 -0
- package/lib/components/appointmentBooking/components/Resource/index.js +225 -0
- package/lib/components/appointmentBooking/components/Resource/index.less +10 -0
- package/lib/components/appointmentBooking/components/Resource/utils.d.ts +5 -0
- package/lib/components/appointmentBooking/components/Resource/utils.js +36 -0
- package/lib/components/appointmentBooking/components/Services/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Services/index.js +193 -0
- package/lib/components/appointmentBooking/components/Services/index.less +3 -0
- package/lib/components/appointmentBooking/components/TimeSlicing/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/TimeSlicing/index.js +102 -0
- package/lib/components/appointmentBooking/components/TimeSlicing/index.less +33 -0
- package/lib/components/appointmentBooking/components/Voucher/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Voucher/index.js +241 -0
- package/lib/components/appointmentBooking/components/Voucher/index.less +116 -0
- package/lib/components/appointmentBooking/context.d.ts +35 -0
- package/lib/components/appointmentBooking/context.js +192 -0
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +3 -0
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.js +131 -0
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.less +18 -0
- package/lib/components/appointmentBooking/deposit/index.d.ts +3 -0
- package/lib/components/appointmentBooking/deposit/index.js +109 -0
- package/lib/components/appointmentBooking/deposit/index.less +57 -0
- package/lib/components/appointmentBooking/hooks.d.ts +106 -0
- package/lib/components/appointmentBooking/hooks.js +559 -0
- package/lib/components/appointmentBooking/index.d.ts +3 -0
- package/lib/components/appointmentBooking/index.js +80 -0
- package/lib/components/appointmentBooking/index.less +23 -0
- package/lib/components/appointmentBooking/locales.d.ts +360 -0
- package/lib/components/appointmentBooking/locales.js +383 -0
- package/lib/components/appointmentBooking/mock.d.ts +627 -0
- package/lib/components/appointmentBooking/mock.js +1352 -0
- package/lib/components/appointmentBooking/status.d.ts +21 -0
- package/lib/components/appointmentBooking/status.js +70 -0
- package/lib/components/appointmentBooking/type.d.ts +17 -0
- package/lib/components/appointmentBooking/type.js +17 -0
- package/lib/components/appointmentBooking/utils.d.ts +203 -0
- package/lib/components/appointmentBooking/utils.js +519 -0
- package/lib/components/booking/addons/index.js +53 -31
- package/lib/components/booking/addons/model.js +3 -0
- package/lib/components/booking/components/TabProduct/index.d.ts +0 -1
- package/lib/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
- package/lib/components/booking/components/TabProduct/productItem/index.js +8 -1
- package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
- package/lib/components/booking/components/TabProduct/selectProductItem/index.js +5 -1
- package/lib/components/booking/components/TabProduct/selectProductItem/index.less +6 -0
- package/lib/components/booking/components/collapsibleList/utils.d.ts +0 -1
- package/lib/components/booking/components/customSelect/index.js +3 -0
- package/lib/components/booking/components/drawer/index.js +2 -2
- package/lib/components/booking/components/emptyBooking/index.d.ts +0 -1
- package/lib/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
- package/lib/components/booking/components/footer/amount.d.ts +1 -0
- package/lib/components/booking/components/footer/amount.js +5 -2
- package/lib/components/booking/components/footer/index.d.ts +0 -1
- package/lib/components/booking/components/footer/index.js +208 -71
- package/lib/components/booking/components/footer/index.less +6 -1
- package/lib/components/booking/components/footer/utils.d.ts +22 -0
- package/lib/components/booking/components/footer/utils.js +148 -36
- package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
- package/lib/components/booking/components/voucher/index.d.ts +3 -0
- package/lib/components/booking/components/voucher/index.js +305 -0
- package/lib/components/booking/components/voucher/index.less +87 -0
- package/lib/components/booking/components/voucher/utils.d.ts +4 -0
- package/lib/components/booking/components/voucher/utils.js +43 -0
- package/lib/components/booking/deposit/DepositItem/index.js +1 -0
- package/lib/components/booking/deposit/index.d.ts +0 -1
- package/lib/components/booking/deposit/index.js +5 -3
- package/lib/components/booking/editBookingModal/index.d.ts +5 -0
- package/lib/components/booking/editBookingModal/index.js +363 -0
- package/lib/components/booking/editBookingModal/index.less +8 -0
- package/lib/components/booking/editBookingModal/locales.d.ts +21 -0
- package/lib/components/booking/editBookingModal/locales.js +44 -0
- package/lib/components/booking/editBookingModal/mock.d.ts +807 -0
- package/lib/components/booking/editBookingModal/mock.js +3314 -0
- package/lib/components/booking/editBookingModal/serve.d.ts +51 -0
- package/lib/components/booking/editBookingModal/serve.js +178 -0
- package/lib/components/booking/editBookingModal/type.d.ts +12 -0
- package/lib/components/booking/editBookingModal/type.js +17 -0
- package/lib/components/booking/editBookingModal/utils.d.ts +12 -0
- package/lib/components/booking/editBookingModal/utils.js +158 -0
- package/lib/components/booking/forms/footer.d.ts +6 -0
- package/lib/components/booking/forms/footer.js +81 -0
- package/lib/components/booking/forms/forms.d.ts +4 -0
- package/lib/components/booking/forms/forms.js +13 -3
- package/lib/components/booking/forms/index.d.ts +1 -1
- package/lib/components/booking/forms/index.js +4 -2
- package/lib/components/booking/forms/index.less +7 -0
- package/lib/components/booking/forms/sendModal/index.d.ts +27 -0
- package/lib/components/booking/forms/sendModal/index.js +128 -0
- package/lib/components/booking/forms/sendModal/index.less +9 -0
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +9 -0
- package/lib/components/booking/forms/sendModal/useSendModal.js +70 -0
- package/lib/components/booking/forms/serve.d.ts +9 -0
- package/lib/components/booking/forms/serve.js +5 -2
- package/lib/components/booking/forms/single/index.d.ts +1 -2
- package/lib/components/booking/forms/single/index.js +35 -1
- package/lib/components/booking/forms/table/index.d.ts +0 -1
- package/lib/components/booking/hooks/useClearCart.js +16 -13
- package/lib/components/booking/hooks/useCreateBookingPageHeader.js +3 -0
- package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
- package/lib/components/booking/hooks/useIsBooking4Shop.js +51 -0
- package/lib/components/booking/hooks/useQuotation.d.ts +5 -0
- package/lib/components/booking/hooks/useQuotation.js +214 -0
- package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -1
- package/lib/components/booking/info/addServiceVariant/index.js +3 -3
- package/lib/components/booking/info/client/index.js +75 -10
- package/lib/components/booking/info/client/index.less +39 -0
- package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
- package/lib/components/booking/info/clientVariant/hooks/useClientFn.js +8 -1
- package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
- package/lib/components/booking/info/clientVariant/utils.d.ts +1 -0
- package/lib/components/booking/info/clientVariant/utils.js +34 -0
- package/lib/components/booking/info/clientVariant/vertical/SelectDrawer.js +11 -3
- package/lib/components/booking/info/clientVariant/vertical/SelectDrawer.less +17 -0
- package/lib/components/booking/info/clientVariant/vertical/index.js +32 -7
- package/lib/components/booking/info/clientVariant/vertical/index.less +18 -0
- package/lib/components/booking/info/date/index.d.ts +0 -1
- package/lib/components/booking/info/header/index.d.ts +0 -1
- package/lib/components/booking/info/hooks/useAddHolder.d.ts +9 -0
- package/lib/components/booking/info/hooks/useAddHolder.js +145 -0
- package/lib/components/booking/info/hooks/useGetHolderList.d.ts +2 -0
- package/lib/components/booking/info/hooks/useGetHolderList.js +61 -0
- package/lib/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
- package/lib/components/booking/info/hooks/useHolderConfig.js +59 -0
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +9 -0
- package/lib/components/booking/info/hooks/useInfoHolder.js +93 -0
- package/lib/components/booking/info/index.d.ts +0 -1
- package/lib/components/booking/info/index.js +9 -5
- package/lib/components/booking/info/main.js +1 -1
- package/lib/components/booking/info/model.js +3 -0
- package/lib/components/booking/info/notes/index.d.ts +0 -1
- package/lib/components/booking/info/pet/index.js +66 -12
- package/lib/components/booking/info/pet/serve.d.ts +1 -0
- package/lib/components/booking/info/pet/serve.js +33 -0
- package/lib/components/booking/info/service/Lists.d.ts +2 -0
- package/lib/components/booking/info/service/Lists.js +132 -0
- package/lib/components/booking/info/service/actions/index.d.ts +0 -1
- package/lib/components/booking/info/service/addService/index.js +29 -26
- package/lib/components/booking/info/service/editService/index.d.ts +1 -1
- package/lib/components/booking/info/service/editService/index.js +71 -27
- package/lib/components/booking/info/service/index.js +5 -3
- package/lib/components/booking/info/service/like/index.d.ts +0 -1
- package/lib/components/booking/info/service/serve.d.ts +9 -0
- package/lib/components/booking/info/service/serve.js +3 -0
- package/lib/components/booking/info/service/serviceList/index.d.ts +0 -1
- package/lib/components/booking/info/service/serviceList/index.js +1 -0
- package/lib/components/booking/info/service/serviceManager/index.js +6 -1
- package/lib/components/booking/info/service2/Group/utils.js +4 -3
- package/lib/components/booking/info/service2/Lists.d.ts +0 -1
- package/lib/components/booking/info/service2/hooks/useSelectPet.js +13 -6
- package/lib/components/booking/info/service2/index.js +5 -3
- package/lib/components/booking/info/service2/utils.d.ts +14 -7
- package/lib/components/booking/info/service2/utils.js +373 -60
- package/lib/components/booking/info/utils.d.ts +6 -0
- package/lib/components/booking/info/utils.js +96 -1
- package/lib/components/booking/info2/index.js +12 -4
- package/lib/components/booking/info2/serve.d.ts +2 -2
- package/lib/components/booking/info2/serve.js +3 -10
- package/lib/components/booking/info2/service/actions/index.d.ts +0 -1
- package/lib/components/booking/info2/service/addService/index.d.ts +0 -1
- package/lib/components/booking/info2/service/addService/index.js +68 -37
- package/lib/components/booking/info2/service/addService/utils.d.ts +30 -3
- package/lib/components/booking/info2/service/addService/utils.js +142 -32
- package/lib/components/booking/info2/service/addTimeModal/index.d.ts +0 -1
- package/lib/components/booking/info2/service/addTimeModal/index.js +8 -6
- package/lib/components/booking/info2/service/editService/Resources/MaxLengthSelect/index.js +1 -2
- package/lib/components/booking/info2/service/editService/Resources/index.js +72 -9
- package/lib/components/booking/info2/service/editService/Resources/index.less +6 -0
- package/lib/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.d.ts +7 -0
- package/lib/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.js +53 -0
- package/lib/components/booking/info2/service/editService/ResourcesV2/index.d.ts +10 -0
- package/lib/components/booking/info2/service/editService/ResourcesV2/index.js +311 -0
- package/lib/components/booking/info2/service/editService/ResourcesV2/index.less +44 -0
- package/lib/components/booking/info2/service/editService/index.js +275 -102
- package/lib/components/booking/info2/service/editService/utils.d.ts +4 -2
- package/lib/components/booking/info2/service/editService/utils.js +48 -0
- package/lib/components/booking/info2/service/index.js +24 -28
- package/lib/components/booking/info2/service/serviceList/index.d.ts +0 -1
- package/lib/components/booking/info2/utils.d.ts +4 -0
- package/lib/components/booking/info2/utils.js +66 -0
- package/lib/components/booking/info2/utilsByBooking.d.ts +2 -1
- package/lib/components/booking/info2/utilsByBooking.js +35 -14
- package/lib/components/booking/locales.d.ts +90 -0
- package/lib/components/booking/locales.js +111 -3
- package/lib/components/booking/materiels/contacts/index.d.ts +0 -1
- package/lib/components/booking/materiels/duration/index.d.ts +0 -1
- package/lib/components/booking/materiels/duration/index.js +7 -2
- package/lib/components/booking/materiels/holder/index.d.ts +0 -1
- package/lib/components/booking/materiels/holder/index.js +2 -2
- package/lib/components/booking/materiels/startTime/index.d.ts +0 -1
- package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
- package/lib/components/booking/notes/NoteBlock/index.d.ts +0 -1
- package/lib/components/booking/notes/addNote/index.d.ts +0 -1
- package/lib/components/booking/notes/addNote/index.js +1 -1
- package/lib/components/booking/notes/addNote/index.less +3 -0
- package/lib/components/booking/payments/index.js +2 -2
- package/lib/components/booking/utils.d.ts +3 -0
- package/lib/components/booking/utils.js +58 -13
- package/lib/components/eftpos/deviceList/index.d.ts +0 -1
- package/lib/components/eftpos/form/index.d.ts +0 -1
- package/lib/components/eftpos/group/index.d.ts +0 -1
- package/lib/components/eftpos/hooks.d.ts +0 -1
- package/lib/components/eftpos/icon/apiKey.d.ts +0 -1
- package/lib/components/eftpos/icon/device.d.ts +0 -1
- package/lib/components/eftpos/index.d.ts +0 -1
- package/lib/components/eftpos/pos.d.ts +0 -1
- package/lib/components/eftpos/receipt/index.d.ts +0 -1
- package/lib/components/eftpos/surcharge/index.d.ts +0 -1
- package/lib/components/eftposPay/amount.d.ts +1 -2
- package/lib/components/eftposPay/app.d.ts +0 -1
- package/lib/components/eftposPay/component/alert/warn.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/network.d.ts +0 -1
- package/lib/components/eftposPay/component/header/titlebar.d.ts +0 -1
- package/lib/components/eftposPay/component/manual/index.d.ts +0 -1
- package/lib/components/eftposPay/component/signature/index.d.ts +0 -1
- package/lib/components/eftposPay/component/step/index.d.ts +0 -1
- package/lib/components/eftposPay/component/step/step.d.ts +0 -1
- package/lib/components/eftposPay/device.d.ts +1 -2
- package/lib/components/eftposPay/hooks.d.ts +2 -2
- package/lib/components/eftposPay/payo/config.js +34 -3
- package/lib/components/eftposPay/payo/hooks.js +10 -0
- package/lib/components/eftposPay/store/index.d.ts +4 -4
- package/lib/components/eftposPay/tip.d.ts +0 -1
- package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
- package/lib/components/eftposPay/windcave/receiptAction.d.ts +0 -1
- package/lib/components/eftposPay/windcave/windcave.d.ts +0 -1
- package/lib/components/eftposPay/windcave/windcave.js +11 -0
- package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.js +149 -12
- package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Event/index.js +25 -6
- package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Resource/index.js +16 -3
- package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.less +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.less +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.d.ts +2 -2
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.js +7 -7
- package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +3 -1
- package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.js +25 -10
- package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.js +4 -2
- package/lib/components/eventBooking/components/bookingDetailModal/index.js +88 -27
- package/lib/components/eventBooking/components/progressBar/index.js +16 -1
- package/lib/components/eventBooking/components/resourceDisplay/index.js +2 -2
- package/lib/components/eventBooking/components/resourceDisplay/index.less +1 -0
- package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
- package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
- package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.js +6 -5
- package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +3 -0
- package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.js +75 -0
- package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.less +63 -0
- package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimes/index.d.ts +9 -0
- package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimes/index.js +64 -0
- package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimes/index.less +7 -0
- package/lib/components/eventBooking/components/scheduleCalendar/index.d.ts +1 -0
- package/lib/components/eventBooking/components/scheduleCalendar/index.js +17 -11
- package/lib/components/eventBooking/components/scheduleCalendar/index.less +2 -0
- package/lib/components/eventBooking/components/timeResourceSelector/index.less +0 -1
- package/lib/components/eventBooking/index.d.ts +0 -1
- package/lib/components/eventBooking/index.js +13 -9
- package/lib/components/eventBooking/locales.d.ts +6 -0
- package/lib/components/eventBooking/locales.js +23 -17
- package/lib/components/eventBooking/utils.js +5 -3
- package/lib/components/index.d.ts +4 -1
- package/lib/components/index.js +9 -0
- package/lib/components/login/index.d.ts +0 -1
- package/lib/components/pay/toB/components/Cache/index.d.ts +10 -0
- package/lib/components/pay/toB/components/Cache/index.js +108 -0
- package/lib/components/pay/toB/components/Cache/index.less +41 -0
- package/lib/components/pay/toB/components/Card/index.d.ts +7 -0
- package/lib/components/pay/toB/components/Card/index.js +66 -0
- package/lib/components/pay/toB/components/Card/index.less +26 -0
- package/lib/components/pay/toB/components/CardGroup/index.d.ts +7 -0
- package/lib/components/pay/toB/components/CardGroup/index.js +43 -0
- package/lib/components/pay/toB/components/CardGroup/index.less +18 -0
- package/lib/components/pay/toB/components/ConfirmedPayment/index.d.ts +6 -0
- package/lib/components/pay/toB/components/ConfirmedPayment/index.js +77 -0
- package/lib/components/pay/toB/components/ConfirmedPayment/index.less +69 -0
- package/lib/components/pay/toB/components/Content/Footer.d.ts +7 -0
- package/lib/components/pay/toB/components/Content/Footer.js +63 -0
- package/lib/components/pay/toB/components/Content/Header.d.ts +4 -0
- package/lib/components/pay/toB/components/Content/Header.js +40 -0
- package/lib/components/pay/toB/components/Content/index.d.ts +4 -0
- package/lib/components/pay/toB/components/Content/index.js +209 -0
- package/lib/components/pay/toB/components/Content/index.less +9 -0
- package/lib/components/pay/toB/components/Content/utils.d.ts +16 -0
- package/lib/components/pay/toB/components/Content/utils.js +91 -0
- package/lib/components/pay/toB/components/index.d.ts +5 -0
- package/lib/components/pay/toB/components/index.js +51 -0
- package/lib/components/pay/toB/hooks.d.ts +12 -0
- package/lib/components/pay/toB/hooks.js +60 -0
- package/lib/components/pay/toB/index.d.ts +3 -0
- package/lib/components/pay/toB/index.js +54 -0
- package/lib/components/pay/toB/locales.d.ts +54 -0
- package/lib/components/pay/toB/locales.js +77 -0
- package/lib/components/pay/toB/store/context.d.ts +3 -0
- package/lib/components/pay/toB/store/context.js +32 -0
- package/lib/components/pay/toB/store/hooks.d.ts +15 -0
- package/lib/components/pay/toB/store/hooks.js +92 -0
- package/lib/components/pay/toB/store/index.d.ts +3 -0
- package/lib/components/pay/toB/store/index.js +27 -0
- package/lib/components/pay/toB/store/provider.d.ts +4 -0
- package/lib/components/pay/toB/store/provider.js +71 -0
- package/lib/components/pay/toB/store/utils.d.ts +13 -0
- package/lib/components/pay/toB/store/utils.js +72 -0
- package/lib/components/pay/toB/types/index.d.ts +1 -0
- package/lib/components/pay/toB/types/index.js +23 -0
- package/lib/components/pay/toB/types/storeTypes.d.ts +143 -0
- package/lib/components/pay/toB/types/storeTypes.js +36 -0
- package/lib/components/pay/toC/PaymentList/index.js +11 -6
- package/lib/components/pay/toC/PaymentList/serve.d.ts +1 -1
- package/lib/components/pay/toC/PaymentList/serve.js +6 -3
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.js +10 -1
- package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.js +10 -1
- package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +3 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.js +2 -2
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +5 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.js +52 -11
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.less +30 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.js +2 -1
- package/lib/components/pay/toC/PaymentMethods/index.js +30 -6
- package/lib/components/pay/toC/WalletPassBlock/components/WalletAvailable/index.d.ts +16 -0
- package/lib/components/pay/toC/WalletPassBlock/components/WalletAvailable/index.js +87 -0
- package/lib/components/pay/toC/WalletPassBlock/components/WalletAvailable/index.less +38 -0
- package/lib/components/pay/toC/WalletPassBlock/components/WalletBestValueFound/index.d.ts +17 -0
- package/lib/components/pay/toC/WalletPassBlock/components/WalletBestValueFound/index.js +103 -0
- package/lib/components/pay/toC/WalletPassBlock/components/WalletBestValueFound/index.less +133 -0
- package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +7 -0
- package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.js +52 -0
- package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.less +23 -0
- package/lib/components/pay/toC/WalletPassBlock/index.d.ts +9 -2
- package/lib/components/pay/toC/WalletPassBlock/index.js +115 -20
- package/lib/components/pay/toC/WalletPassBlock/index.less +86 -13
- package/lib/components/pay/toC/index.js +55 -22
- package/lib/components/pay/toC/locales.d.ts +69 -3
- package/lib/components/pay/toC/locales.js +72 -6
- package/lib/components/pay/toC/model.d.ts +4 -0
- package/lib/components/pay/toC/model.js +10 -0
- package/lib/components/pay/toC/serve.d.ts +23 -0
- package/lib/components/pay/toC/serve.js +13 -7
- package/lib/components/pay/toC/utils.d.ts +9 -1
- package/lib/components/pay/toC/utils.js +23 -3
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.js +4 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
- package/lib/components/productExtension/fields/Actor/index.d.ts +0 -1
- package/lib/components/productExtension/fields/Forms/index.d.ts +0 -1
- package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -2
- package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.js +8 -1
- package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
- package/lib/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
- package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
- package/lib/components/productExtension/index.d.ts +0 -1
- package/lib/components/productSelect/components/TabProduct/index.d.ts +2 -0
- package/lib/components/productSelect/components/TabProduct/index.js +189 -0
- package/lib/components/productSelect/components/TabProduct/tabs/index.d.ts +21 -0
- package/lib/components/productSelect/components/TabProduct/tabs/index.js +202 -0
- package/lib/components/productSelect/components/TabProduct/tabs/index.less +126 -0
- package/lib/components/productSelect/components/gridLayout/index.d.ts +9 -0
- package/lib/components/productSelect/components/gridLayout/index.js +58 -0
- package/lib/components/productSelect/components/gridLayout/index.less +6 -0
- package/lib/components/productSelect/components/pisellPriceText/index.d.ts +11 -0
- package/lib/components/productSelect/components/pisellPriceText/index.js +78 -0
- package/lib/components/productSelect/components/productGroup/index.d.ts +38 -0
- package/lib/components/productSelect/components/productGroup/index.js +144 -0
- package/lib/components/productSelect/components/productGroup/index.less +227 -0
- package/lib/components/productSelect/hooks/useToken.d.ts +18 -0
- package/lib/components/productSelect/hooks/useToken.js +51 -0
- package/lib/components/productSelect/index.d.ts +24 -0
- package/lib/components/productSelect/index.js +133 -0
- package/lib/components/productSelect/index.less +75 -0
- package/lib/components/productSelect/locales.d.ts +18 -0
- package/lib/components/productSelect/locales.js +41 -0
- package/lib/components/productSelect/mock.d.ts +134 -0
- package/lib/components/productSelect/mock.js +276 -0
- package/lib/components/productSelect/theme/token.d.ts +17 -0
- package/lib/components/productSelect/theme/token.js +47 -0
- package/lib/components/ruleSetting/ruleBorder/index.d.ts +0 -1
- package/lib/components/schedules/calendar/calendarItem.d.ts +0 -1
- package/lib/components/schedules/calendar/index.d.ts +0 -1
- package/lib/components/schedules/calendar/index.less +158 -152
- package/lib/components/schedules/components/CurrentDay/index.d.ts +0 -1
- package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
- package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
- package/lib/components/schedules/components/ScheduleList/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
- package/lib/components/schedules/products/index.d.ts +0 -1
- package/lib/components/schedules/products/list/ProductItem/index.d.ts +0 -1
- package/lib/components/schedules/products/list/index.d.ts +0 -1
- package/lib/components/schedules/resources/index.d.ts +0 -1
- package/lib/components/schedules/resources/list/index.d.ts +0 -1
- package/lib/components/schedules/resources/relationProduct/index.d.ts +0 -1
- package/lib/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
- package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
- package/lib/components/schedules/schedules/index.d.ts +0 -1
- package/lib/components/schedules/schedules/utils.js +1 -1
- package/lib/components/schedules/utils.js +1 -1
- package/lib/components/shoppingCart/Provider.d.ts +1 -1
- package/lib/components/shoppingCart/Provider.js +3 -2
- package/lib/components/shoppingCart/components/Cart/Product.js +62 -20
- package/lib/components/shoppingCart/components/Cart/index.js +18 -15
- package/lib/components/shoppingCart/components/Cart/index.less +15 -15
- package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
- package/lib/components/shoppingCart/components/Render/index.d.ts +0 -1
- package/lib/components/shoppingCart/components/Render/index.js +0 -1
- package/lib/components/shoppingCart/components/Render/index.less +15 -0
- package/lib/components/shoppingCart/hooks/useAddService.js +1 -2
- package/lib/components/shoppingCart/hooks/useClearCart.js +3 -3
- package/lib/components/shoppingCart/index.d.ts +1 -2
- package/lib/components/shoppingCart/index.js +2 -0
- package/lib/components/shoppingCart/status.js +5 -1
- package/lib/components/shoppingCart/type.d.ts +8 -0
- package/lib/components/stepController/components/Content/index.d.ts +7 -0
- package/lib/components/stepController/components/Content/index.js +40 -0
- package/lib/components/stepController/components/Content/index.less +8 -0
- package/lib/components/stepController/components/Footer/index.d.ts +8 -0
- package/lib/components/stepController/components/Footer/index.js +49 -0
- package/lib/components/stepController/components/Footer/index.less +39 -0
- package/lib/components/stepController/components/Header/index.d.ts +20 -0
- package/lib/components/stepController/components/Header/index.js +104 -0
- package/lib/components/stepController/components/Header/index.less +21 -0
- package/lib/components/stepController/index.d.ts +5 -0
- package/lib/components/stepController/index.js +89 -0
- package/lib/components/stepController/index.less +11 -0
- package/lib/components/stepController/locales.d.ts +27 -0
- package/lib/components/stepController/locales.js +50 -0
- package/lib/components/stepController/types.d.ts +23 -0
- package/lib/components/stepController/types.js +17 -0
- package/lib/components/subTotal/index.d.ts +22 -0
- package/lib/components/subTotal/index.js +175 -0
- package/lib/components/subTotal/index.less +70 -0
- package/lib/components/subTotal/locales.d.ts +42 -0
- package/lib/components/subTotal/locales.js +65 -0
- package/lib/components/taxSelect/index.d.ts +0 -1
- package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +9 -0
- package/lib/components/ticketBooking/components/addServiceVariant/addService.js +431 -0
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +6 -0
- package/lib/components/ticketBooking/components/addServiceVariant/index.js +56 -0
- package/lib/components/ticketBooking/components/addServiceVariant/index.less +10 -0
- package/lib/components/ticketBooking/components/menuBar/index.d.ts +3 -0
- package/lib/components/ticketBooking/components/menuBar/index.js +87 -0
- package/lib/components/ticketBooking/components/menuBar/index.less +83 -0
- package/lib/components/ticketBooking/components/notAvailable/index.d.ts +3 -0
- package/lib/components/ticketBooking/components/notAvailable/index.js +61 -0
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +4 -0
- package/lib/components/ticketBooking/components/ticketBooking/index.js +915 -0
- package/lib/components/ticketBooking/components/ticketBooking/index.less +16 -0
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +12 -0
- package/lib/components/ticketBooking/components/timeBar/index.js +149 -0
- package/lib/components/ticketBooking/components/timeBar/index.less +22 -0
- package/lib/components/ticketBooking/data.d.ts +58 -0
- package/lib/components/ticketBooking/data.js +0 -0
- package/lib/components/ticketBooking/hooks/useNetworkStatus.d.ts +11 -0
- package/lib/components/ticketBooking/hooks/useNetworkStatus.js +80 -0
- package/lib/components/ticketBooking/index.d.ts +7 -0
- package/lib/components/ticketBooking/index.js +206 -0
- package/lib/components/ticketBooking/index.less +4 -0
- package/lib/components/ticketBooking/locales.d.ts +171 -0
- package/lib/components/ticketBooking/locales.js +194 -0
- package/lib/components/ticketBooking/miniRedux.d.ts +22 -0
- package/lib/components/ticketBooking/miniRedux.js +96 -0
- package/lib/components/ticketBooking/serve.d.ts +288 -0
- package/lib/components/ticketBooking/serve.js +235 -0
- package/lib/components/ticketBooking/utils/formatProductMessage.d.ts +2 -0
- package/lib/components/ticketBooking/utils/formatProductMessage.js +84 -0
- package/lib/components/ticketBooking/utils/formatTime.d.ts +31 -0
- package/lib/components/ticketBooking/utils/formatTime.js +139 -0
- package/lib/components/ticketBooking/utils/index.d.ts +23 -0
- package/lib/components/ticketBooking/utils/index.js +240 -0
- package/lib/components/wallet/Detail/index.js +7 -2
- package/lib/components/wallet/DiscountCard/index.less +0 -1
- package/lib/components/wallet/PointCard/index.less +0 -1
- package/lib/components/wallet/RechargeableCard/index.less +5 -9
- package/lib/components/wallet/Voucher/index.js +1 -0
- package/lib/components/wallet/Voucher/index.less +0 -1
- package/lib/components/wallet/components/WalletCard.js +2 -2
- package/lib/components/wallet/hooks/useWalletCard.d.ts +0 -1
- package/lib/components/wallet/index.js +41 -2
- package/lib/components/wallet/index.less +0 -4
- package/lib/components/wallet/locales.d.ts +3 -0
- package/lib/components/wallet/locales.js +3 -0
- package/lib/components/wallet/model.d.ts +1 -1
- package/lib/components/wallet/utils/formatUtils.js +1 -1
- package/lib/components/walletList/index.js +48 -16
- package/lib/components/walletList/index.less +17 -15
- package/lib/components/walletList/locales.d.ts +18 -0
- package/lib/components/walletList/locales.js +41 -0
- package/lib/components/walletList/serve.d.ts +8 -0
- package/lib/components/walletList/serve.js +15 -2
- package/lib/components/walletList/status.d.ts +38 -0
- package/lib/components/walletList/status.js +66 -0
- package/lib/components/workSpaceList/components/AppearanceEdit/IconPanel.js +2 -2
- package/lib/components/workSpaceList/components/AppearanceEdit/constants.js +12 -32
- package/lib/components/workSpaceList/components/Card/constants.js +3 -4
- package/lib/components/workSpaceList/components/EditableString/index.js +2 -2
- package/lib/components/workSpaceList/components/SearchBar/index.js +5 -8
- package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.js +2 -2
- package/lib/components/workSpaceList/components/Sort/index.js +2 -2
- package/lib/components/workSpaceList/components/WorkspaceItem/index.js +2 -2
- package/lib/hooks/useEngineContext.d.ts +1 -0
- package/lib/hooks/useEngineContext.js +14 -1
- package/lib/hooks/useLocale.d.ts +2 -0
- package/lib/hooks/useLocale.js +41 -0
- package/lib/hooks/useLoginUser.d.ts +2 -0
- package/lib/hooks/useLoginUser.js +50 -0
- package/lib/hooks/useWindowSize.d.ts +5 -0
- package/lib/hooks/useWindowSize.js +51 -0
- package/lib/index.d.ts +7 -0
- package/lib/index.js +21 -0
- package/lib/utils/date.d.ts +11 -0
- package/lib/utils/date.js +57 -0
- package/lib/utils/tasks/index.d.ts +16 -0
- package/lib/utils/tasks/index.js +63 -0
- package/lib/utils/tasks/type.d.ts +4 -0
- package/lib/utils/tasks/type.js +17 -0
- package/lowcode/appointment-deposit/meta.ts +58 -0
- package/lowcode/edit-booking-modal/meta.ts +53 -0
- package/lowcode/parallel-resource-booking/meta.ts +69 -0
- package/lowcode/product-select/meta.ts +201 -0
- package/lowcode/step-controller/meta.ts +88 -0
- package/lowcode/sub-total/meta.ts +134 -0
- package/lowcode/ticket-booking/meta.ts +55 -0
- package/lowcode/tob-pay/meta.ts +44 -0
- package/package.json +4 -4
@@ -0,0 +1,1016 @@
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
4
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
5
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
6
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
7
|
+
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
8
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
9
|
+
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
10
|
+
import { request } from "./../../utils";
|
11
|
+
var prefix = '/shop';
|
12
|
+
|
13
|
+
/**
|
14
|
+
* @title: 获取客户列表
|
15
|
+
* @description: 获取客户列表
|
16
|
+
* @param {any} params
|
17
|
+
* @return {*}
|
18
|
+
* @Author: cong.shao
|
19
|
+
* @Date: 2025-04-24 16:28
|
20
|
+
*/
|
21
|
+
export var getClients = /*#__PURE__*/function () {
|
22
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
|
23
|
+
var _yield$request$getReq, data;
|
24
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
25
|
+
while (1) switch (_context.prev = _context.next) {
|
26
|
+
case 0:
|
27
|
+
_context.next = 2;
|
28
|
+
return request.getRequest().get(prefix + '/customer/select-list', params);
|
29
|
+
case 2:
|
30
|
+
_yield$request$getReq = _context.sent;
|
31
|
+
data = _yield$request$getReq.data;
|
32
|
+
return _context.abrupt("return", data);
|
33
|
+
case 5:
|
34
|
+
case "end":
|
35
|
+
return _context.stop();
|
36
|
+
}
|
37
|
+
}, _callee);
|
38
|
+
}));
|
39
|
+
return function getClients(_x) {
|
40
|
+
return _ref.apply(this, arguments);
|
41
|
+
};
|
42
|
+
}();
|
43
|
+
|
44
|
+
/**
|
45
|
+
* @title: 获取服务列表
|
46
|
+
* @description: 查询服务列表
|
47
|
+
* @param {any} params
|
48
|
+
* @return {*}
|
49
|
+
* @Author: cong.shao
|
50
|
+
* @Date: 2025-04-24 16:28
|
51
|
+
*/
|
52
|
+
export var getServices = /*#__PURE__*/function () {
|
53
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(params) {
|
54
|
+
var _config, res;
|
55
|
+
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
56
|
+
while (1) switch (_context2.prev = _context2.next) {
|
57
|
+
case 0:
|
58
|
+
_config = params._config;
|
59
|
+
_context2.next = 3;
|
60
|
+
return request.getRequest().post(prefix + '/product/query', params, _config);
|
61
|
+
case 3:
|
62
|
+
res = _context2.sent;
|
63
|
+
if (!(_config !== null && _config !== void 0 && _config.fullResult)) {
|
64
|
+
_context2.next = 6;
|
65
|
+
break;
|
66
|
+
}
|
67
|
+
return _context2.abrupt("return", res);
|
68
|
+
case 6:
|
69
|
+
return _context2.abrupt("return", res.data);
|
70
|
+
case 7:
|
71
|
+
case "end":
|
72
|
+
return _context2.stop();
|
73
|
+
}
|
74
|
+
}, _callee2);
|
75
|
+
}));
|
76
|
+
return function getServices(_x2) {
|
77
|
+
return _ref2.apply(this, arguments);
|
78
|
+
};
|
79
|
+
}();
|
80
|
+
|
81
|
+
/**
|
82
|
+
* @title: 获取资源列表
|
83
|
+
* @description: 资源列表
|
84
|
+
* @param {any} params
|
85
|
+
* @return {*}
|
86
|
+
* @Author: cong.shao
|
87
|
+
* @Date: 2025-04-24 16:28
|
88
|
+
*/
|
89
|
+
export var getResources = /*#__PURE__*/function () {
|
90
|
+
var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(params) {
|
91
|
+
var _yield$request$getReq2, data;
|
92
|
+
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
93
|
+
while (1) switch (_context3.prev = _context3.next) {
|
94
|
+
case 0:
|
95
|
+
_context3.next = 2;
|
96
|
+
return request.getRequest().get(prefix + '/form/schedule', params);
|
97
|
+
case 2:
|
98
|
+
_yield$request$getReq2 = _context3.sent;
|
99
|
+
data = _yield$request$getReq2.data;
|
100
|
+
return _context3.abrupt("return", data);
|
101
|
+
case 5:
|
102
|
+
case "end":
|
103
|
+
return _context3.stop();
|
104
|
+
}
|
105
|
+
}, _callee3);
|
106
|
+
}));
|
107
|
+
return function getResources(_x3) {
|
108
|
+
return _ref3.apply(this, arguments);
|
109
|
+
};
|
110
|
+
}();
|
111
|
+
|
112
|
+
/**
|
113
|
+
* @title: 获取产品列表
|
114
|
+
* @description: 查询产品列表
|
115
|
+
* @param {any} params
|
116
|
+
* @return {*}
|
117
|
+
* @Author: cong.shao
|
118
|
+
* @Date: 2025-04-24 16:28
|
119
|
+
*/
|
120
|
+
export var getProducts = /*#__PURE__*/function () {
|
121
|
+
var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(params) {
|
122
|
+
var _yield$request$getReq3, data;
|
123
|
+
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
124
|
+
while (1) switch (_context4.prev = _context4.next) {
|
125
|
+
case 0:
|
126
|
+
_context4.next = 2;
|
127
|
+
return request.getRequest().post(prefix + '/product/query', params);
|
128
|
+
case 2:
|
129
|
+
_yield$request$getReq3 = _context4.sent;
|
130
|
+
data = _yield$request$getReq3.data;
|
131
|
+
return _context4.abrupt("return", data);
|
132
|
+
case 5:
|
133
|
+
case "end":
|
134
|
+
return _context4.stop();
|
135
|
+
}
|
136
|
+
}, _callee4);
|
137
|
+
}));
|
138
|
+
return function getProducts(_x4) {
|
139
|
+
return _ref4.apply(this, arguments);
|
140
|
+
};
|
141
|
+
}();
|
142
|
+
|
143
|
+
/**
|
144
|
+
* @title: 获取表单列表
|
145
|
+
* @description: 获取关联记录表单列表
|
146
|
+
* @param {any} params
|
147
|
+
* @return {*}
|
148
|
+
* @Author: cong.shao
|
149
|
+
* @Date: 2025-04-24 16:28
|
150
|
+
*/
|
151
|
+
export var getForms = /*#__PURE__*/function () {
|
152
|
+
var _ref5 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5(params) {
|
153
|
+
var _yield$request$getReq4, data;
|
154
|
+
return _regeneratorRuntime().wrap(function _callee5$(_context5) {
|
155
|
+
while (1) switch (_context5.prev = _context5.next) {
|
156
|
+
case 0:
|
157
|
+
_context5.next = 2;
|
158
|
+
return request.getRequest().get(prefix + '/form/relation/record', params);
|
159
|
+
case 2:
|
160
|
+
_yield$request$getReq4 = _context5.sent;
|
161
|
+
data = _yield$request$getReq4.data;
|
162
|
+
return _context5.abrupt("return", data);
|
163
|
+
case 5:
|
164
|
+
case "end":
|
165
|
+
return _context5.stop();
|
166
|
+
}
|
167
|
+
}, _callee5);
|
168
|
+
}));
|
169
|
+
return function getForms(_x5) {
|
170
|
+
return _ref5.apply(this, arguments);
|
171
|
+
};
|
172
|
+
}();
|
173
|
+
|
174
|
+
/**
|
175
|
+
* @title: 获取预约配置
|
176
|
+
* @description: 获取预约相关配置信息
|
177
|
+
* @param {any} params
|
178
|
+
* @return {*}
|
179
|
+
* @Author: cong.shao
|
180
|
+
* @Date: 2025-04-24 16:28
|
181
|
+
*/
|
182
|
+
export var getBookingConfig = /*#__PURE__*/function () {
|
183
|
+
var _ref6 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6(params) {
|
184
|
+
var _yield$request$getReq5, data;
|
185
|
+
return _regeneratorRuntime().wrap(function _callee6$(_context6) {
|
186
|
+
while (1) switch (_context6.prev = _context6.next) {
|
187
|
+
case 0:
|
188
|
+
_context6.next = 2;
|
189
|
+
return request.getRequest().get(prefix + '/core/board/management/config', _objectSpread({
|
190
|
+
item_type: 'appointment_booking'
|
191
|
+
}, params));
|
192
|
+
case 2:
|
193
|
+
_yield$request$getReq5 = _context6.sent;
|
194
|
+
data = _yield$request$getReq5.data;
|
195
|
+
return _context6.abrupt("return", data);
|
196
|
+
case 5:
|
197
|
+
case "end":
|
198
|
+
return _context6.stop();
|
199
|
+
}
|
200
|
+
}, _callee6);
|
201
|
+
}));
|
202
|
+
return function getBookingConfig(_x6) {
|
203
|
+
return _ref6.apply(this, arguments);
|
204
|
+
};
|
205
|
+
}();
|
206
|
+
|
207
|
+
/**
|
208
|
+
* @title: 获取宠物信息
|
209
|
+
* @description: 根据ID获取宠物信息
|
210
|
+
* @param {string} formId
|
211
|
+
* @param {any} params
|
212
|
+
* @return {*}
|
213
|
+
* @Author: cong.shao
|
214
|
+
* @Date: 2025-04-24 16:28
|
215
|
+
*/
|
216
|
+
export var getPets = /*#__PURE__*/function () {
|
217
|
+
var _ref7 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee7(formId, params) {
|
218
|
+
var _yield$request$getReq6, data;
|
219
|
+
return _regeneratorRuntime().wrap(function _callee7$(_context7) {
|
220
|
+
while (1) switch (_context7.prev = _context7.next) {
|
221
|
+
case 0:
|
222
|
+
_context7.next = 2;
|
223
|
+
return request.getRequest().get("/form/".concat(formId), params);
|
224
|
+
case 2:
|
225
|
+
_yield$request$getReq6 = _context7.sent;
|
226
|
+
data = _yield$request$getReq6.data;
|
227
|
+
return _context7.abrupt("return", data);
|
228
|
+
case 5:
|
229
|
+
case "end":
|
230
|
+
return _context7.stop();
|
231
|
+
}
|
232
|
+
}, _callee7);
|
233
|
+
}));
|
234
|
+
return function getPets(_x7, _x8) {
|
235
|
+
return _ref7.apply(this, arguments);
|
236
|
+
};
|
237
|
+
}();
|
238
|
+
|
239
|
+
/**
|
240
|
+
* @title: 获取宠物数据
|
241
|
+
* @description: 获取宠物数据
|
242
|
+
* @param {any} params
|
243
|
+
* @return {*}
|
244
|
+
* @Author: cong.shao
|
245
|
+
* @Date: 2025-04-24 16:28
|
246
|
+
*/
|
247
|
+
export var getPetsData = /*#__PURE__*/function () {
|
248
|
+
var _ref8 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee8(params) {
|
249
|
+
var _yield$request$getReq7, data;
|
250
|
+
return _regeneratorRuntime().wrap(function _callee8$(_context8) {
|
251
|
+
while (1) switch (_context8.prev = _context8.next) {
|
252
|
+
case 0:
|
253
|
+
_context8.next = 2;
|
254
|
+
return request.getRequest().get(prefix + '/form/data/v1', params);
|
255
|
+
case 2:
|
256
|
+
_yield$request$getReq7 = _context8.sent;
|
257
|
+
data = _yield$request$getReq7.data;
|
258
|
+
return _context8.abrupt("return", data);
|
259
|
+
case 5:
|
260
|
+
case "end":
|
261
|
+
return _context8.stop();
|
262
|
+
}
|
263
|
+
}, _callee8);
|
264
|
+
}));
|
265
|
+
return function getPetsData(_x9) {
|
266
|
+
return _ref8.apply(this, arguments);
|
267
|
+
};
|
268
|
+
}();
|
269
|
+
|
270
|
+
/**
|
271
|
+
* @title: 创建预约
|
272
|
+
* @description: 创建新的预约记录
|
273
|
+
* @param {any} params
|
274
|
+
* @return {*}
|
275
|
+
* @Author: cong.shao
|
276
|
+
* @Date: 2025-04-24 16:28
|
277
|
+
*/
|
278
|
+
export var createBooking = /*#__PURE__*/function () {
|
279
|
+
var _ref9 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee9(params) {
|
280
|
+
var _yield$request$getReq8, data;
|
281
|
+
return _regeneratorRuntime().wrap(function _callee9$(_context9) {
|
282
|
+
while (1) switch (_context9.prev = _context9.next) {
|
283
|
+
case 0:
|
284
|
+
_context9.next = 2;
|
285
|
+
return request.getRequest().post(prefix + '/order/appointment', params);
|
286
|
+
case 2:
|
287
|
+
_yield$request$getReq8 = _context9.sent;
|
288
|
+
data = _yield$request$getReq8.data;
|
289
|
+
return _context9.abrupt("return", data);
|
290
|
+
case 5:
|
291
|
+
case "end":
|
292
|
+
return _context9.stop();
|
293
|
+
}
|
294
|
+
}, _callee9);
|
295
|
+
}));
|
296
|
+
return function createBooking(_x10) {
|
297
|
+
return _ref9.apply(this, arguments);
|
298
|
+
};
|
299
|
+
}();
|
300
|
+
|
301
|
+
/**
|
302
|
+
* @title: 获取预约附加服务
|
303
|
+
* @description: 根据预约ID获取附加服务信息
|
304
|
+
* @param {string} bookingId
|
305
|
+
* @param {any} params
|
306
|
+
* @return {*}
|
307
|
+
* @Author: cong.shao
|
308
|
+
* @Date: 2025-04-24 16:28
|
309
|
+
*/
|
310
|
+
export var getAddonsByOrderId = /*#__PURE__*/function () {
|
311
|
+
var _ref10 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee10(bookingId, params) {
|
312
|
+
var _yield$request$getReq9, data;
|
313
|
+
return _regeneratorRuntime().wrap(function _callee10$(_context10) {
|
314
|
+
while (1) switch (_context10.prev = _context10.next) {
|
315
|
+
case 0:
|
316
|
+
_context10.next = 2;
|
317
|
+
return request.getRequest().get("/order/appointment/addons/".concat(bookingId), params);
|
318
|
+
case 2:
|
319
|
+
_yield$request$getReq9 = _context10.sent;
|
320
|
+
data = _yield$request$getReq9.data;
|
321
|
+
return _context10.abrupt("return", data);
|
322
|
+
case 5:
|
323
|
+
case "end":
|
324
|
+
return _context10.stop();
|
325
|
+
}
|
326
|
+
}, _callee10);
|
327
|
+
}));
|
328
|
+
return function getAddonsByOrderId(_x11, _x12) {
|
329
|
+
return _ref10.apply(this, arguments);
|
330
|
+
};
|
331
|
+
}();
|
332
|
+
|
333
|
+
/**
|
334
|
+
* @title: 保存预约附加服务
|
335
|
+
* @description: 保存预约的附加服务信息
|
336
|
+
* @param {string} bookingId
|
337
|
+
* @param {any} params
|
338
|
+
* @return {*}
|
339
|
+
* @Author: cong.shao
|
340
|
+
* @Date: 2025-04-24 16:28
|
341
|
+
*/
|
342
|
+
export var saveAddonsByOrderId = /*#__PURE__*/function () {
|
343
|
+
var _ref11 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee11(bookingId, params) {
|
344
|
+
var _yield$request$getReq10, data;
|
345
|
+
return _regeneratorRuntime().wrap(function _callee11$(_context11) {
|
346
|
+
while (1) switch (_context11.prev = _context11.next) {
|
347
|
+
case 0:
|
348
|
+
_context11.next = 2;
|
349
|
+
return request.getRequest().put("/order/appointment/addons/".concat(bookingId), params);
|
350
|
+
case 2:
|
351
|
+
_yield$request$getReq10 = _context11.sent;
|
352
|
+
data = _yield$request$getReq10.data;
|
353
|
+
return _context11.abrupt("return", data);
|
354
|
+
case 5:
|
355
|
+
case "end":
|
356
|
+
return _context11.stop();
|
357
|
+
}
|
358
|
+
}, _callee11);
|
359
|
+
}));
|
360
|
+
return function saveAddonsByOrderId(_x13, _x14) {
|
361
|
+
return _ref11.apply(this, arguments);
|
362
|
+
};
|
363
|
+
}();
|
364
|
+
|
365
|
+
/**
|
366
|
+
* @title: 获取预约详情
|
367
|
+
* @description: 获取预约详细信息
|
368
|
+
* @param {number} bookingId
|
369
|
+
* @param {any} params
|
370
|
+
* @return {*}
|
371
|
+
* @Author: cong.shao
|
372
|
+
* @Date: 2025-04-24 16:28
|
373
|
+
*/
|
374
|
+
export var getBookingDetail = /*#__PURE__*/function () {
|
375
|
+
var _ref12 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee12(bookingId, params) {
|
376
|
+
var _yield$request$getReq11, data;
|
377
|
+
return _regeneratorRuntime().wrap(function _callee12$(_context12) {
|
378
|
+
while (1) switch (_context12.prev = _context12.next) {
|
379
|
+
case 0:
|
380
|
+
_context12.next = 2;
|
381
|
+
return request.getRequest().get("/order/appointment/".concat(bookingId), params);
|
382
|
+
case 2:
|
383
|
+
_yield$request$getReq11 = _context12.sent;
|
384
|
+
data = _yield$request$getReq11.data;
|
385
|
+
return _context12.abrupt("return", data);
|
386
|
+
case 5:
|
387
|
+
case "end":
|
388
|
+
return _context12.stop();
|
389
|
+
}
|
390
|
+
}, _callee12);
|
391
|
+
}));
|
392
|
+
return function getBookingDetail(_x15, _x16) {
|
393
|
+
return _ref12.apply(this, arguments);
|
394
|
+
};
|
395
|
+
}();
|
396
|
+
|
397
|
+
/**
|
398
|
+
* @title: 编辑预约状态
|
399
|
+
* @description: 更新预约状态
|
400
|
+
* @param {string} bookingId
|
401
|
+
* @param {any} params
|
402
|
+
* @return {*}
|
403
|
+
* @Author: cong.shao
|
404
|
+
* @Date: 2025-04-24 16:28
|
405
|
+
*/
|
406
|
+
export var editBookingStatus = /*#__PURE__*/function () {
|
407
|
+
var _ref13 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee13(bookingId, params) {
|
408
|
+
var _yield$request$getReq12, data;
|
409
|
+
return _regeneratorRuntime().wrap(function _callee13$(_context13) {
|
410
|
+
while (1) switch (_context13.prev = _context13.next) {
|
411
|
+
case 0:
|
412
|
+
_context13.next = 2;
|
413
|
+
return request.getRequest().put("/schedule/booking/appointment-status/".concat(bookingId), params);
|
414
|
+
case 2:
|
415
|
+
_yield$request$getReq12 = _context13.sent;
|
416
|
+
data = _yield$request$getReq12.data;
|
417
|
+
return _context13.abrupt("return", data);
|
418
|
+
case 5:
|
419
|
+
case "end":
|
420
|
+
return _context13.stop();
|
421
|
+
}
|
422
|
+
}, _callee13);
|
423
|
+
}));
|
424
|
+
return function editBookingStatus(_x17, _x18) {
|
425
|
+
return _ref13.apply(this, arguments);
|
426
|
+
};
|
427
|
+
}();
|
428
|
+
|
429
|
+
/**
|
430
|
+
* @title: 编辑预约信息
|
431
|
+
* @description: 更新预约信息
|
432
|
+
* @param {string} bookingId
|
433
|
+
* @param {any} params
|
434
|
+
* @return {*}
|
435
|
+
* @Author: cong.shao
|
436
|
+
* @Date: 2025-04-24 16:28
|
437
|
+
*/
|
438
|
+
export var editBooking = /*#__PURE__*/function () {
|
439
|
+
var _ref14 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee14(bookingId, params) {
|
440
|
+
var _yield$request$getReq13, data;
|
441
|
+
return _regeneratorRuntime().wrap(function _callee14$(_context14) {
|
442
|
+
while (1) switch (_context14.prev = _context14.next) {
|
443
|
+
case 0:
|
444
|
+
_context14.next = 2;
|
445
|
+
return request.getRequest().put("/order/appointment/".concat(bookingId), params);
|
446
|
+
case 2:
|
447
|
+
_yield$request$getReq13 = _context14.sent;
|
448
|
+
data = _yield$request$getReq13.data;
|
449
|
+
return _context14.abrupt("return", data);
|
450
|
+
case 5:
|
451
|
+
case "end":
|
452
|
+
return _context14.stop();
|
453
|
+
}
|
454
|
+
}, _callee14);
|
455
|
+
}));
|
456
|
+
return function editBooking(_x19, _x20) {
|
457
|
+
return _ref14.apply(this, arguments);
|
458
|
+
};
|
459
|
+
}();
|
460
|
+
|
461
|
+
/**
|
462
|
+
* @title: 获取预约备注
|
463
|
+
* @description: 获取预约相关备注信息
|
464
|
+
* @param {any} params
|
465
|
+
* @return {*}
|
466
|
+
* @Author: cong.shao
|
467
|
+
* @Date: 2025-04-24 16:28
|
468
|
+
*/
|
469
|
+
export var getNotesByOrder = /*#__PURE__*/function () {
|
470
|
+
var _ref15 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee15(params) {
|
471
|
+
var _yield$request$getReq14, data;
|
472
|
+
return _regeneratorRuntime().wrap(function _callee15$(_context15) {
|
473
|
+
while (1) switch (_context15.prev = _context15.next) {
|
474
|
+
case 0:
|
475
|
+
_context15.next = 2;
|
476
|
+
return request.getRequest().get(prefix + '/schedule/event-note', params);
|
477
|
+
case 2:
|
478
|
+
_yield$request$getReq14 = _context15.sent;
|
479
|
+
data = _yield$request$getReq14.data;
|
480
|
+
return _context15.abrupt("return", data);
|
481
|
+
case 5:
|
482
|
+
case "end":
|
483
|
+
return _context15.stop();
|
484
|
+
}
|
485
|
+
}, _callee15);
|
486
|
+
}));
|
487
|
+
return function getNotesByOrder(_x21) {
|
488
|
+
return _ref15.apply(this, arguments);
|
489
|
+
};
|
490
|
+
}();
|
491
|
+
|
492
|
+
/**
|
493
|
+
* @title: 添加预约备注
|
494
|
+
* @description: 添加预约相关备注
|
495
|
+
* @param {any} params
|
496
|
+
* @return {*}
|
497
|
+
* @Author: cong.shao
|
498
|
+
* @Date: 2025-04-24 16:28
|
499
|
+
*/
|
500
|
+
export var addNotesByOrder = /*#__PURE__*/function () {
|
501
|
+
var _ref16 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee16(params) {
|
502
|
+
var _yield$request$getReq15, data;
|
503
|
+
return _regeneratorRuntime().wrap(function _callee16$(_context16) {
|
504
|
+
while (1) switch (_context16.prev = _context16.next) {
|
505
|
+
case 0:
|
506
|
+
_context16.next = 2;
|
507
|
+
return request.getRequest().post(prefix + '/schedule/event-note', params);
|
508
|
+
case 2:
|
509
|
+
_yield$request$getReq15 = _context16.sent;
|
510
|
+
data = _yield$request$getReq15.data;
|
511
|
+
return _context16.abrupt("return", data);
|
512
|
+
case 5:
|
513
|
+
case "end":
|
514
|
+
return _context16.stop();
|
515
|
+
}
|
516
|
+
}, _callee16);
|
517
|
+
}));
|
518
|
+
return function addNotesByOrder(_x22) {
|
519
|
+
return _ref16.apply(this, arguments);
|
520
|
+
};
|
521
|
+
}();
|
522
|
+
|
523
|
+
/**
|
524
|
+
* @title: 编辑预约备注
|
525
|
+
* @description: 更新预约备注信息
|
526
|
+
* @param {string} bookingId
|
527
|
+
* @param {any} params
|
528
|
+
* @return {*}
|
529
|
+
* @Author: cong.shao
|
530
|
+
* @Date: 2025-04-24 16:28
|
531
|
+
*/
|
532
|
+
export var editNoteByOrder = /*#__PURE__*/function () {
|
533
|
+
var _ref17 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee17(bookingId, params) {
|
534
|
+
var _yield$request$getReq16, data;
|
535
|
+
return _regeneratorRuntime().wrap(function _callee17$(_context17) {
|
536
|
+
while (1) switch (_context17.prev = _context17.next) {
|
537
|
+
case 0:
|
538
|
+
_context17.next = 2;
|
539
|
+
return request.getRequest().put("/schedule/event-note/".concat(bookingId), params);
|
540
|
+
case 2:
|
541
|
+
_yield$request$getReq16 = _context17.sent;
|
542
|
+
data = _yield$request$getReq16.data;
|
543
|
+
return _context17.abrupt("return", data);
|
544
|
+
case 5:
|
545
|
+
case "end":
|
546
|
+
return _context17.stop();
|
547
|
+
}
|
548
|
+
}, _callee17);
|
549
|
+
}));
|
550
|
+
return function editNoteByOrder(_x23, _x24) {
|
551
|
+
return _ref17.apply(this, arguments);
|
552
|
+
};
|
553
|
+
}();
|
554
|
+
|
555
|
+
/**
|
556
|
+
* @title: 删除预约备注
|
557
|
+
* @description: 删除预约相关备注
|
558
|
+
* @param {string} bookingId
|
559
|
+
* @param {any} params
|
560
|
+
* @return {*}
|
561
|
+
* @Author: cong.shao
|
562
|
+
* @Date: 2025-04-24 16:28
|
563
|
+
*/
|
564
|
+
export var removeNoteByOrder = /*#__PURE__*/function () {
|
565
|
+
var _ref18 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee18(bookingId, params) {
|
566
|
+
var _yield$request$getReq17, data;
|
567
|
+
return _regeneratorRuntime().wrap(function _callee18$(_context18) {
|
568
|
+
while (1) switch (_context18.prev = _context18.next) {
|
569
|
+
case 0:
|
570
|
+
_context18.next = 2;
|
571
|
+
return request.getRequest().remove("/schedule/event-note/".concat(bookingId), params);
|
572
|
+
case 2:
|
573
|
+
_yield$request$getReq17 = _context18.sent;
|
574
|
+
data = _yield$request$getReq17.data;
|
575
|
+
return _context18.abrupt("return", data);
|
576
|
+
case 5:
|
577
|
+
case "end":
|
578
|
+
return _context18.stop();
|
579
|
+
}
|
580
|
+
}, _callee18);
|
581
|
+
}));
|
582
|
+
return function removeNoteByOrder(_x25, _x26) {
|
583
|
+
return _ref18.apply(this, arguments);
|
584
|
+
};
|
585
|
+
}();
|
586
|
+
|
587
|
+
/**
|
588
|
+
* @title: 保存预约表单数据
|
589
|
+
* @description: 保存预约相关的表单数据
|
590
|
+
* @param {any} params
|
591
|
+
* @return {*}
|
592
|
+
* @Author: cong.shao
|
593
|
+
* @Date: 2025-04-24 16:28
|
594
|
+
*/
|
595
|
+
export var saveBookingFormData = /*#__PURE__*/function () {
|
596
|
+
var _ref19 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee19(params) {
|
597
|
+
var _yield$request$getReq18, data;
|
598
|
+
return _regeneratorRuntime().wrap(function _callee19$(_context19) {
|
599
|
+
while (1) switch (_context19.prev = _context19.next) {
|
600
|
+
case 0:
|
601
|
+
_context19.next = 2;
|
602
|
+
return request.getRequest().post(prefix + '/form/relation/record/form', params);
|
603
|
+
case 2:
|
604
|
+
_yield$request$getReq18 = _context19.sent;
|
605
|
+
data = _yield$request$getReq18.data;
|
606
|
+
return _context19.abrupt("return", data);
|
607
|
+
case 5:
|
608
|
+
case "end":
|
609
|
+
return _context19.stop();
|
610
|
+
}
|
611
|
+
}, _callee19);
|
612
|
+
}));
|
613
|
+
return function saveBookingFormData(_x27) {
|
614
|
+
return _ref19.apply(this, arguments);
|
615
|
+
};
|
616
|
+
}();
|
617
|
+
|
618
|
+
/**
|
619
|
+
* @title: 获取支付列表
|
620
|
+
* @description: 获取支付相关列表数据
|
621
|
+
* @param {any} params
|
622
|
+
* @return {*}
|
623
|
+
* @Author: cong.shao
|
624
|
+
* @Date: 2025-04-24 16:28
|
625
|
+
*/
|
626
|
+
export var getPaymentList = /*#__PURE__*/function () {
|
627
|
+
var _ref20 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee20(params) {
|
628
|
+
var _yield$request$getReq19, data;
|
629
|
+
return _regeneratorRuntime().wrap(function _callee20$(_context20) {
|
630
|
+
while (1) switch (_context20.prev = _context20.next) {
|
631
|
+
case 0:
|
632
|
+
_context20.next = 2;
|
633
|
+
return request.getRequest().get(prefix + '/order/payment', params);
|
634
|
+
case 2:
|
635
|
+
_yield$request$getReq19 = _context20.sent;
|
636
|
+
data = _yield$request$getReq19.data;
|
637
|
+
return _context20.abrupt("return", data);
|
638
|
+
case 5:
|
639
|
+
case "end":
|
640
|
+
return _context20.stop();
|
641
|
+
}
|
642
|
+
}, _callee20);
|
643
|
+
}));
|
644
|
+
return function getPaymentList(_x28) {
|
645
|
+
return _ref20.apply(this, arguments);
|
646
|
+
};
|
647
|
+
}();
|
648
|
+
|
649
|
+
/**
|
650
|
+
* @title: 编辑订单备注
|
651
|
+
* @description: 更新订单备注信息
|
652
|
+
* @param {string} bookingId
|
653
|
+
* @param {any} params
|
654
|
+
* @return {*}
|
655
|
+
* @Author: cong.shao
|
656
|
+
* @Date: 2025-04-24 16:28
|
657
|
+
*/
|
658
|
+
export var editOrderNote = /*#__PURE__*/function () {
|
659
|
+
var _ref21 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee21(bookingId, params) {
|
660
|
+
var _yield$request$getReq20, data;
|
661
|
+
return _regeneratorRuntime().wrap(function _callee21$(_context21) {
|
662
|
+
while (1) switch (_context21.prev = _context21.next) {
|
663
|
+
case 0:
|
664
|
+
_context21.next = 2;
|
665
|
+
return request.getRequest().put("/order/order/".concat(bookingId, "/note"), params);
|
666
|
+
case 2:
|
667
|
+
_yield$request$getReq20 = _context21.sent;
|
668
|
+
data = _yield$request$getReq20.data;
|
669
|
+
return _context21.abrupt("return", data);
|
670
|
+
case 5:
|
671
|
+
case "end":
|
672
|
+
return _context21.stop();
|
673
|
+
}
|
674
|
+
}, _callee21);
|
675
|
+
}));
|
676
|
+
return function editOrderNote(_x29, _x30) {
|
677
|
+
return _ref21.apply(this, arguments);
|
678
|
+
};
|
679
|
+
}();
|
680
|
+
|
681
|
+
/**
|
682
|
+
* @title: 获取退款信息
|
683
|
+
* @description: 获取退款相关信息
|
684
|
+
* @param {string} bookingId
|
685
|
+
* @param {any} params
|
686
|
+
* @return {*}
|
687
|
+
* @Author: cong.shao
|
688
|
+
* @Date: 2025-04-24 16:28
|
689
|
+
*/
|
690
|
+
export var getRefundInfo = /*#__PURE__*/function () {
|
691
|
+
var _ref22 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee22(bookingId, params) {
|
692
|
+
var _yield$request$getReq21, data;
|
693
|
+
return _regeneratorRuntime().wrap(function _callee22$(_context22) {
|
694
|
+
while (1) switch (_context22.prev = _context22.next) {
|
695
|
+
case 0:
|
696
|
+
_context22.next = 2;
|
697
|
+
return request.getRequest().get("/order/refund-info/".concat(bookingId), params);
|
698
|
+
case 2:
|
699
|
+
_yield$request$getReq21 = _context22.sent;
|
700
|
+
data = _yield$request$getReq21.data;
|
701
|
+
return _context22.abrupt("return", data);
|
702
|
+
case 5:
|
703
|
+
case "end":
|
704
|
+
return _context22.stop();
|
705
|
+
}
|
706
|
+
}, _callee22);
|
707
|
+
}));
|
708
|
+
return function getRefundInfo(_x31, _x32) {
|
709
|
+
return _ref22.apply(this, arguments);
|
710
|
+
};
|
711
|
+
}();
|
712
|
+
|
713
|
+
/**
|
714
|
+
* @title: 创建活动预约
|
715
|
+
* @description: 创建新的活动预约记录
|
716
|
+
* @param {any} params
|
717
|
+
* @return {*}
|
718
|
+
* @Author: cong.shao
|
719
|
+
* @Date: 2025-04-24 16:28
|
720
|
+
*/
|
721
|
+
export var createEventBooking = /*#__PURE__*/function () {
|
722
|
+
var _ref23 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee23(params) {
|
723
|
+
var _yield$request$getReq22, data;
|
724
|
+
return _regeneratorRuntime().wrap(function _callee23$(_context23) {
|
725
|
+
while (1) switch (_context23.prev = _context23.next) {
|
726
|
+
case 0:
|
727
|
+
_context23.next = 2;
|
728
|
+
return request.getRequest().post(prefix + '/eventbookingv2/order', params);
|
729
|
+
case 2:
|
730
|
+
_yield$request$getReq22 = _context23.sent;
|
731
|
+
data = _yield$request$getReq22.data;
|
732
|
+
return _context23.abrupt("return", data);
|
733
|
+
case 5:
|
734
|
+
case "end":
|
735
|
+
return _context23.stop();
|
736
|
+
}
|
737
|
+
}, _callee23);
|
738
|
+
}));
|
739
|
+
return function createEventBooking(_x33) {
|
740
|
+
return _ref23.apply(this, arguments);
|
741
|
+
};
|
742
|
+
}();
|
743
|
+
|
744
|
+
/**
|
745
|
+
* @title: 获取活动预约详情
|
746
|
+
* @description: 获取活动预约详细信息
|
747
|
+
* @param {number} bookingId
|
748
|
+
* @param {any} params
|
749
|
+
* @return {*}
|
750
|
+
* @Author: cong.shao
|
751
|
+
* @Date: 2025-04-24 16:28
|
752
|
+
*/
|
753
|
+
export var getEventBookingDetail = /*#__PURE__*/function () {
|
754
|
+
var _ref24 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee24(bookingId, params) {
|
755
|
+
var _yield$request$getReq23, data;
|
756
|
+
return _regeneratorRuntime().wrap(function _callee24$(_context24) {
|
757
|
+
while (1) switch (_context24.prev = _context24.next) {
|
758
|
+
case 0:
|
759
|
+
_context24.next = 2;
|
760
|
+
return request.getRequest().get("/eventbookingv2/order/".concat(bookingId), params);
|
761
|
+
case 2:
|
762
|
+
_yield$request$getReq23 = _context24.sent;
|
763
|
+
data = _yield$request$getReq23.data;
|
764
|
+
return _context24.abrupt("return", data);
|
765
|
+
case 5:
|
766
|
+
case "end":
|
767
|
+
return _context24.stop();
|
768
|
+
}
|
769
|
+
}, _callee24);
|
770
|
+
}));
|
771
|
+
return function getEventBookingDetail(_x34, _x35) {
|
772
|
+
return _ref24.apply(this, arguments);
|
773
|
+
};
|
774
|
+
}();
|
775
|
+
|
776
|
+
/**
|
777
|
+
* @title: 编辑活动预约
|
778
|
+
* @description: 更新活动预约信息
|
779
|
+
* @param {string} bookingId
|
780
|
+
* @param {any} params
|
781
|
+
* @return {*}
|
782
|
+
* @Author: cong.shao
|
783
|
+
* @Date: 2025-04-24 16:28
|
784
|
+
*/
|
785
|
+
export var editEventBooking = /*#__PURE__*/function () {
|
786
|
+
var _ref25 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee25(bookingId, params) {
|
787
|
+
var _yield$request$getReq24, data;
|
788
|
+
return _regeneratorRuntime().wrap(function _callee25$(_context25) {
|
789
|
+
while (1) switch (_context25.prev = _context25.next) {
|
790
|
+
case 0:
|
791
|
+
_context25.next = 2;
|
792
|
+
return request.getRequest().put("/eventbookingv2/order/".concat(bookingId), params);
|
793
|
+
case 2:
|
794
|
+
_yield$request$getReq24 = _context25.sent;
|
795
|
+
data = _yield$request$getReq24.data;
|
796
|
+
return _context25.abrupt("return", data);
|
797
|
+
case 5:
|
798
|
+
case "end":
|
799
|
+
return _context25.stop();
|
800
|
+
}
|
801
|
+
}, _callee25);
|
802
|
+
}));
|
803
|
+
return function editEventBooking(_x36, _x37) {
|
804
|
+
return _ref25.apply(this, arguments);
|
805
|
+
};
|
806
|
+
}();
|
807
|
+
|
808
|
+
/**
|
809
|
+
* @title: 获取定金显示配置
|
810
|
+
* @description: 获取定金相关显示配置
|
811
|
+
* @param {any} params
|
812
|
+
* @return {*}
|
813
|
+
* @Author: cong.shao
|
814
|
+
* @Date: 2025-04-24 16:28
|
815
|
+
*/
|
816
|
+
export var getDepositShow = /*#__PURE__*/function () {
|
817
|
+
var _ref26 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee26(params) {
|
818
|
+
var _yield$request$getReq25, data;
|
819
|
+
return _regeneratorRuntime().wrap(function _callee26$(_context26) {
|
820
|
+
while (1) switch (_context26.prev = _context26.next) {
|
821
|
+
case 0:
|
822
|
+
_context26.next = 2;
|
823
|
+
return request.getRequest().get(prefix + '/metadata', _objectSpread({
|
824
|
+
key: 'bookingv2_deposit'
|
825
|
+
}, params));
|
826
|
+
case 2:
|
827
|
+
_yield$request$getReq25 = _context26.sent;
|
828
|
+
data = _yield$request$getReq25.data;
|
829
|
+
return _context26.abrupt("return", data);
|
830
|
+
case 5:
|
831
|
+
case "end":
|
832
|
+
return _context26.stop();
|
833
|
+
}
|
834
|
+
}, _callee26);
|
835
|
+
}));
|
836
|
+
return function getDepositShow(_x38) {
|
837
|
+
return _ref26.apply(this, arguments);
|
838
|
+
};
|
839
|
+
}();
|
840
|
+
|
841
|
+
/**
|
842
|
+
* @title: 获取表单记录
|
843
|
+
* @description: 获取表单记录数据
|
844
|
+
* @param {any} params
|
845
|
+
* @return {*}
|
846
|
+
* @Author: cong.shao
|
847
|
+
* @Date: 2025-04-24 16:28
|
848
|
+
*/
|
849
|
+
export var getFormRecords = /*#__PURE__*/function () {
|
850
|
+
var _ref27 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee27(params) {
|
851
|
+
var _yield$request$getReq26, data;
|
852
|
+
return _regeneratorRuntime().wrap(function _callee27$(_context27) {
|
853
|
+
while (1) switch (_context27.prev = _context27.next) {
|
854
|
+
case 0:
|
855
|
+
_context27.next = 2;
|
856
|
+
return request.getRequest().get(prefix + '/form/records', params);
|
857
|
+
case 2:
|
858
|
+
_yield$request$getReq26 = _context27.sent;
|
859
|
+
data = _yield$request$getReq26.data;
|
860
|
+
return _context27.abrupt("return", data);
|
861
|
+
case 5:
|
862
|
+
case "end":
|
863
|
+
return _context27.stop();
|
864
|
+
}
|
865
|
+
}, _callee27);
|
866
|
+
}));
|
867
|
+
return function getFormRecords(_x39) {
|
868
|
+
return _ref27.apply(this, arguments);
|
869
|
+
};
|
870
|
+
}();
|
871
|
+
|
872
|
+
/**
|
873
|
+
* @title: 获取预约列表
|
874
|
+
* @description: 获取预约列表数据
|
875
|
+
* @param {any} params
|
876
|
+
* @return {*}
|
877
|
+
* @Author: cong.shao
|
878
|
+
* @Date: 2025-04-24 16:28
|
879
|
+
*/
|
880
|
+
export var getBookingList2 = /*#__PURE__*/function () {
|
881
|
+
var _ref28 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee28(params) {
|
882
|
+
var _yield$request$getReq27, data;
|
883
|
+
return _regeneratorRuntime().wrap(function _callee28$(_context28) {
|
884
|
+
while (1) switch (_context28.prev = _context28.next) {
|
885
|
+
case 0:
|
886
|
+
_context28.next = 2;
|
887
|
+
return request.getRequest().get(prefix + '/schedule/booking', params);
|
888
|
+
case 2:
|
889
|
+
_yield$request$getReq27 = _context28.sent;
|
890
|
+
data = _yield$request$getReq27.data;
|
891
|
+
return _context28.abrupt("return", data);
|
892
|
+
case 5:
|
893
|
+
case "end":
|
894
|
+
return _context28.stop();
|
895
|
+
}
|
896
|
+
}, _callee28);
|
897
|
+
}));
|
898
|
+
return function getBookingList2(_x40) {
|
899
|
+
return _ref28.apply(this, arguments);
|
900
|
+
};
|
901
|
+
}();
|
902
|
+
|
903
|
+
/**
|
904
|
+
* @title: 获取订单信息
|
905
|
+
* @description: 根据机器码获取订单信息
|
906
|
+
* @param {any} params
|
907
|
+
* @return {*}
|
908
|
+
* @Author: cong.shao
|
909
|
+
* @Date: 2025-04-24 16:28
|
910
|
+
*/
|
911
|
+
export var getOrderInfoByCode = /*#__PURE__*/function () {
|
912
|
+
var _ref29 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee29(params) {
|
913
|
+
var _yield$request$getReq28, data;
|
914
|
+
return _regeneratorRuntime().wrap(function _callee29$(_context29) {
|
915
|
+
while (1) switch (_context29.prev = _context29.next) {
|
916
|
+
case 0:
|
917
|
+
_context29.next = 2;
|
918
|
+
return request.getRequest().get(prefix + '/machinecode/order-info', params);
|
919
|
+
case 2:
|
920
|
+
_yield$request$getReq28 = _context29.sent;
|
921
|
+
data = _yield$request$getReq28.data;
|
922
|
+
return _context29.abrupt("return", data);
|
923
|
+
case 5:
|
924
|
+
case "end":
|
925
|
+
return _context29.stop();
|
926
|
+
}
|
927
|
+
}, _callee29);
|
928
|
+
}));
|
929
|
+
return function getOrderInfoByCode(_x41) {
|
930
|
+
return _ref29.apply(this, arguments);
|
931
|
+
};
|
932
|
+
}();
|
933
|
+
|
934
|
+
/**
|
935
|
+
* @title: 获取ES客户数据
|
936
|
+
* @description: 从ES获取客户数据
|
937
|
+
* @param {any} params
|
938
|
+
* @return {*}
|
939
|
+
* @Author: cong.shao
|
940
|
+
* @Date: 2025-04-24 16:28
|
941
|
+
*/
|
942
|
+
export var getClientsEs = /*#__PURE__*/function () {
|
943
|
+
var _ref30 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee30(params) {
|
944
|
+
var _yield$request$getReq29, data;
|
945
|
+
return _regeneratorRuntime().wrap(function _callee30$(_context30) {
|
946
|
+
while (1) switch (_context30.prev = _context30.next) {
|
947
|
+
case 0:
|
948
|
+
_context30.next = 2;
|
949
|
+
return request.getRequest().get(prefix + '/customer/es/data', params);
|
950
|
+
case 2:
|
951
|
+
_yield$request$getReq29 = _context30.sent;
|
952
|
+
data = _yield$request$getReq29.data;
|
953
|
+
return _context30.abrupt("return", data);
|
954
|
+
case 5:
|
955
|
+
case "end":
|
956
|
+
return _context30.stop();
|
957
|
+
}
|
958
|
+
}, _callee30);
|
959
|
+
}));
|
960
|
+
return function getClientsEs(_x42) {
|
961
|
+
return _ref30.apply(this, arguments);
|
962
|
+
};
|
963
|
+
}();
|
964
|
+
|
965
|
+
/**
|
966
|
+
* 作废2.0预约订单
|
967
|
+
* @param order_id
|
968
|
+
*/
|
969
|
+
export var voidAppointment = /*#__PURE__*/function () {
|
970
|
+
var _ref31 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee31(order_id) {
|
971
|
+
var _yield$request$getReq30, data;
|
972
|
+
return _regeneratorRuntime().wrap(function _callee31$(_context31) {
|
973
|
+
while (1) switch (_context31.prev = _context31.next) {
|
974
|
+
case 0:
|
975
|
+
_context31.next = 2;
|
976
|
+
return request.getRequest().put(prefix + "/order/void/appointment/".concat(order_id), {});
|
977
|
+
case 2:
|
978
|
+
_yield$request$getReq30 = _context31.sent;
|
979
|
+
data = _yield$request$getReq30.data;
|
980
|
+
return _context31.abrupt("return", data);
|
981
|
+
case 5:
|
982
|
+
case "end":
|
983
|
+
return _context31.stop();
|
984
|
+
}
|
985
|
+
}, _callee31);
|
986
|
+
}));
|
987
|
+
return function voidAppointment(_x43) {
|
988
|
+
return _ref31.apply(this, arguments);
|
989
|
+
};
|
990
|
+
}();
|
991
|
+
export var getProductList = /*#__PURE__*/function () {
|
992
|
+
var _ref32 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee32(params) {
|
993
|
+
var data;
|
994
|
+
return _regeneratorRuntime().wrap(function _callee32$(_context32) {
|
995
|
+
while (1) switch (_context32.prev = _context32.next) {
|
996
|
+
case 0:
|
997
|
+
_context32.next = 2;
|
998
|
+
return request.getRequest().post(prefix + '/product/query', params, {
|
999
|
+
// cache: {
|
1000
|
+
// type: "indexDB",
|
1001
|
+
// updateCache: true,
|
1002
|
+
// }
|
1003
|
+
});
|
1004
|
+
case 2:
|
1005
|
+
data = _context32.sent;
|
1006
|
+
return _context32.abrupt("return", data);
|
1007
|
+
case 4:
|
1008
|
+
case "end":
|
1009
|
+
return _context32.stop();
|
1010
|
+
}
|
1011
|
+
}, _callee32);
|
1012
|
+
}));
|
1013
|
+
return function getProductList(_x44) {
|
1014
|
+
return _ref32.apply(this, arguments);
|
1015
|
+
};
|
1016
|
+
}();
|