@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
@@ -37,41 +37,37 @@ var import_addService = __toESM(require("./addService"));
|
|
37
37
|
var import_model = require("../../info/model");
|
38
38
|
var import_editService = __toESM(require("./editService"));
|
39
39
|
var import_service = require("../../info/service/index.less");
|
40
|
-
var import_serviceList = __toESM(require("./serviceList"));
|
41
40
|
var import_addTimeModal = __toESM(require("./addTimeModal"));
|
41
|
+
var import_useInfoHolder = __toESM(require("../../info/hooks/useInfoHolder"));
|
42
|
+
var import_Lists = __toESM(require("../../info/service/Lists"));
|
42
43
|
var import_useClearCart = __toESM(require("../../hooks/useClearCart"));
|
44
|
+
var import_useQuotation = __toESM(require("../../hooks/useQuotation"));
|
43
45
|
var Service = () => {
|
44
|
-
var _a, _b;
|
45
46
|
const { state, dispatch } = (0, import_react.useContext)(import_model.Context);
|
46
|
-
const
|
47
|
+
const {
|
48
|
+
detailRef,
|
49
|
+
handleEdit,
|
50
|
+
handleAction,
|
51
|
+
dispatchService,
|
52
|
+
showAddTimeModal
|
53
|
+
} = (0, import_useInfoHolder.default)(state, dispatch);
|
47
54
|
(0, import_react.useEffect)(() => {
|
48
55
|
document.body.id = "body";
|
49
56
|
}, []);
|
50
|
-
const appointment_card = (0, import_react.useMemo)(() => {
|
51
|
-
var _a2, _b2, _c;
|
52
|
-
return ((_c = (_b2 = (_a2 = state == null ? void 0 : state.bookingConfig) == null ? void 0 : _a2.config) == null ? void 0 : _b2.information_tab) == null ? void 0 : _c.appointment_card) || {
|
53
|
-
quick_time: 1
|
54
|
-
};
|
55
|
-
}, [(_b = (_a = state == null ? void 0 : state.bookingConfig) == null ? void 0 : _a.config) == null ? void 0 : _b.information_tab]);
|
56
|
-
const showAddTimeModal = (0, import_react.useMemo)(() => {
|
57
|
-
if ((state == null ? void 0 : state.renderType) === "eventBooking") {
|
58
|
-
return false;
|
59
|
-
}
|
60
|
-
if (state == null ? void 0 : state.disabledEdit) {
|
61
|
-
return false;
|
62
|
-
}
|
63
|
-
if (appointment_card.quick_time !== 1) {
|
64
|
-
return false;
|
65
|
-
}
|
66
|
-
return true;
|
67
|
-
}, [state, appointment_card.quick_time]);
|
68
|
-
const handleEdit = (cacheItem) => {
|
69
|
-
setTimeout(() => {
|
70
|
-
var _a2, _b2;
|
71
|
-
(_b2 = (_a2 = detailRef.current) == null ? void 0 : _a2.init) == null ? void 0 : _b2.call(_a2, cacheItem);
|
72
|
-
}, 100);
|
73
|
-
};
|
74
57
|
const clearCart = (0, import_useClearCart.default)(state, dispatch);
|
75
|
-
|
58
|
+
const { dom } = (0, import_useQuotation.default)(state, dispatch);
|
59
|
+
const renderMemo = (0, import_react.useMemo)(() => {
|
60
|
+
console.log("render info22222");
|
61
|
+
return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-service-wrap" }, clearCart, /* @__PURE__ */ import_react.default.createElement(
|
62
|
+
import_Lists.default,
|
63
|
+
{
|
64
|
+
isParallelResource: true,
|
65
|
+
onEdit: handleEdit,
|
66
|
+
onAction: handleAction,
|
67
|
+
onChange: (e, type) => dispatchService(type || "setService", e)
|
68
|
+
}
|
69
|
+
), !state.isBookingCreatePage ? /* @__PURE__ */ import_react.default.createElement(import_addService.default, { onEdit: handleEdit }) : null), /* @__PURE__ */ import_react.default.createElement(import_editService.default, { ref: detailRef }), showAddTimeModal && /* @__PURE__ */ import_react.default.createElement(import_addTimeModal.default, null), dom);
|
70
|
+
}, [clearCart, dom, showAddTimeModal, clearCart]);
|
71
|
+
return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, renderMemo);
|
76
72
|
};
|
77
73
|
var service_default = import_react.default.memo(Service);
|
@@ -0,0 +1,66 @@
|
|
1
|
+
var __defProp = Object.defineProperty;
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
5
|
+
var __export = (target, all) => {
|
6
|
+
for (var name in all)
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
8
|
+
};
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
11
|
+
for (let key of __getOwnPropNames(from))
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
14
|
+
}
|
15
|
+
return to;
|
16
|
+
};
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
18
|
+
|
19
|
+
// src/components/booking/info2/utils.ts
|
20
|
+
var utils_exports = {};
|
21
|
+
__export(utils_exports, {
|
22
|
+
getFormatResourceListAndMap: () => getFormatResourceListAndMap
|
23
|
+
});
|
24
|
+
module.exports = __toCommonJS(utils_exports);
|
25
|
+
var import_mock = require("../mock");
|
26
|
+
var getFormatResourceListAndMap = (data, bookingId = []) => {
|
27
|
+
let resourceList = (data || {}).concat([(0, import_mock.getNoResource2)({})]);
|
28
|
+
const map = resourceList.reduce((prev, item) => {
|
29
|
+
prev[item.id] = item;
|
30
|
+
return prev;
|
31
|
+
}, {});
|
32
|
+
const getCapacity = (item) => {
|
33
|
+
var _a, _b, _c, _d;
|
34
|
+
if (((_a = item.combined_resource) == null ? void 0 : _a.status) === 1 && ((_c = (_b = item.combined_resource) == null ? void 0 : _b.resource_ids) == null ? void 0 : _c.length)) {
|
35
|
+
return (_d = item.combined_resource) == null ? void 0 : _d.resource_ids.reduce((pre, cur) => {
|
36
|
+
var _a2;
|
37
|
+
let pax = 0;
|
38
|
+
(((_a2 = map[cur]) == null ? void 0 : _a2.times) || []).forEach((time) => {
|
39
|
+
time.event_list.forEach((event) => {
|
40
|
+
if (!bookingId.includes(event.id)) {
|
41
|
+
pax += (event == null ? void 0 : event.pax) || 0;
|
42
|
+
}
|
43
|
+
});
|
44
|
+
});
|
45
|
+
return pre - pax;
|
46
|
+
}, item.capacity);
|
47
|
+
}
|
48
|
+
return item.capacity;
|
49
|
+
};
|
50
|
+
resourceList = resourceList.map((item) => {
|
51
|
+
const newItem = {
|
52
|
+
...item,
|
53
|
+
capacity: getCapacity(item)
|
54
|
+
};
|
55
|
+
map[item.id] = newItem;
|
56
|
+
return newItem;
|
57
|
+
});
|
58
|
+
return {
|
59
|
+
list: resourceList,
|
60
|
+
listMap: map
|
61
|
+
};
|
62
|
+
};
|
63
|
+
// Annotate the CommonJS export names for ESM import in node:
|
64
|
+
0 && (module.exports = {
|
65
|
+
getFormatResourceListAndMap
|
66
|
+
});
|
@@ -1,5 +1,5 @@
|
|
1
1
|
export declare const getResourceTimeIsUsable: (item: any, cacheItem: any, resourceItem: any) => any;
|
2
|
-
export declare const getSumCapacity: ({ cacheItem }: any) => number;
|
2
|
+
export declare const getSumCapacity: ({ cacheItem }: any, isCalcQuantity?: boolean) => number;
|
3
3
|
/**
|
4
4
|
* @title: 查找是否有可用的time
|
5
5
|
* @description:
|
@@ -22,6 +22,7 @@ export declare const getErrorList: (resource: any, cacheItem: any) => {
|
|
22
22
|
* @Date: 2024-01-09 13:40
|
23
23
|
*/
|
24
24
|
export declare const formatResource: (resourceItem: any, cacheItem?: any, formatLabel?: any) => any;
|
25
|
+
export declare const getAppointmentTimingPreference: (state: any) => any;
|
25
26
|
/**
|
26
27
|
* @title: 创建服务的开始时间和结束时间
|
27
28
|
* @description:
|
@@ -31,6 +31,7 @@ var utilsByBooking_exports = {};
|
|
31
31
|
__export(utilsByBooking_exports, {
|
32
32
|
formatResource: () => formatResource,
|
33
33
|
formatTimes: () => formatTimes,
|
34
|
+
getAppointmentTimingPreference: () => getAppointmentTimingPreference,
|
34
35
|
getErrorList: () => getErrorList,
|
35
36
|
getResourceTimeIsUsable: () => getResourceTimeIsUsable,
|
36
37
|
getServiceStartTimeAndEndTime: () => getServiceStartTimeAndEndTime,
|
@@ -68,16 +69,10 @@ var getResourceTimeIsUsable = (item, cacheItem, resourceItem) => {
|
|
68
69
|
let timeEndDate = (0, import_dayjs.default)(time.end_date + " " + time.end_time).add(1, "second");
|
69
70
|
let totalCount = getUseableEventCount(time.event_list, resourceItem.capacity);
|
70
71
|
const currentCount = getSumCapacity({ cacheItem });
|
71
|
-
const eventList = time.event_list || [];
|
72
|
+
const eventList = (time.event_list || []).filter((event) => event.id !== (cacheItem == null ? void 0 : cacheItem.booking_id));
|
72
73
|
let endDate = null;
|
73
74
|
let isCalcCount = true;
|
74
75
|
if (isFlexible) {
|
75
|
-
if (eventList.length) {
|
76
|
-
timeStartDate = eventList.reduce((max, event) => {
|
77
|
-
const endAt = (0, import_dayjs.default)(event.end_at);
|
78
|
-
return endAt.isAfter(max) ? endAt : max;
|
79
|
-
}, (0, import_dayjs.default)(eventList[0].end_at));
|
80
|
-
}
|
81
76
|
isDateRange = startDate.isAfter(timeStartDate) && startDate.isBefore(timeEndDate);
|
82
77
|
if (!isDateRange && eventList.length) {
|
83
78
|
isCalcCount = false;
|
@@ -92,7 +87,7 @@ var getResourceTimeIsUsable = (item, cacheItem, resourceItem) => {
|
|
92
87
|
}
|
93
88
|
}
|
94
89
|
if (isCalcCount) {
|
95
|
-
let conflict = (
|
90
|
+
let conflict = (eventList || []).filter((d) => {
|
96
91
|
return isConflict({ start_at: d.start_at, end_at: d.end_at }, { start_at: startDate, end_at: endDate });
|
97
92
|
});
|
98
93
|
if (resourceItem.resourceType === "single") {
|
@@ -119,12 +114,13 @@ var getResourceTimeIsUsable = (item, cacheItem, resourceItem) => {
|
|
119
114
|
};
|
120
115
|
return time;
|
121
116
|
};
|
122
|
-
var getSumCapacity = ({ cacheItem }) => {
|
117
|
+
var getSumCapacity = ({ cacheItem }, isCalcQuantity = true) => {
|
118
|
+
var _a;
|
123
119
|
let sum = 0;
|
124
120
|
for (let item of cacheItem._extend.capacity || []) {
|
125
121
|
sum += item.value;
|
126
122
|
}
|
127
|
-
return sum;
|
123
|
+
return sum * (isCalcQuantity ? ((_a = cacheItem == null ? void 0 : cacheItem._extend) == null ? void 0 : _a.quantity) || 1 : 1);
|
128
124
|
};
|
129
125
|
var formatTimes = (resourceItem, cacheItem) => {
|
130
126
|
let usableTimes = [];
|
@@ -184,6 +180,12 @@ var getErrorList = (resource, cacheItem) => {
|
|
184
180
|
}
|
185
181
|
}
|
186
182
|
}
|
183
|
+
if (resource.unbound) {
|
184
|
+
list.push({
|
185
|
+
label: import_utils.locales.getText("pisell1.text.resource-error-message-unbound"),
|
186
|
+
type: "time"
|
187
|
+
});
|
188
|
+
}
|
187
189
|
return list;
|
188
190
|
};
|
189
191
|
var formatResource = (resourceItem, cacheItem, formatLabel) => {
|
@@ -198,8 +200,13 @@ var formatResource = (resourceItem, cacheItem, formatLabel) => {
|
|
198
200
|
}
|
199
201
|
return _resourceItem;
|
200
202
|
};
|
203
|
+
var getAppointmentTimingPreference = (state) => {
|
204
|
+
var _a, _b, _c;
|
205
|
+
return ((_c = (_b = (_a = state == null ? void 0 : state.bookingConfig) == null ? void 0 : _a.config) == null ? void 0 : _b.information_tab) == null ? void 0 : _c.appointment_timing_preference) || "sequential";
|
206
|
+
};
|
201
207
|
var getServiceStartTimeAndEndTime = (state, cacheItem, timeObj) => {
|
202
|
-
var _a;
|
208
|
+
var _a, _b, _c;
|
209
|
+
const appointmentTimingPreference = getAppointmentTimingPreference(state);
|
203
210
|
let lastServer = (0, import_utils2.getLastServer)(state.service.value);
|
204
211
|
let _extend = {
|
205
212
|
// 时长: 当前商品时长 > 第一个时长
|
@@ -212,10 +219,14 @@ var getServiceStartTimeAndEndTime = (state, cacheItem, timeObj) => {
|
|
212
219
|
if (lastServer) {
|
213
220
|
let lastServerStartDate = lastServer._extend.startDate;
|
214
221
|
let lastServerEndDate = lastServer._extend.endDate;
|
215
|
-
if (
|
216
|
-
_extend.start_time =
|
222
|
+
if (appointmentTimingPreference === "parallel") {
|
223
|
+
_extend.start_time = lastServerStartDate.format("HH:mm");
|
217
224
|
} else {
|
218
|
-
|
225
|
+
if ((0, import_dayjs.default)(lastServerEndDate).isAfter(lastServerStartDate, "day")) {
|
226
|
+
_extend.start_time = timeObj.timeSlices[timeObj.timeSlices.length - 1].value;
|
227
|
+
} else {
|
228
|
+
_extend.start_time = lastServerEndDate.format("HH:mm");
|
229
|
+
}
|
219
230
|
}
|
220
231
|
} else {
|
221
232
|
let findNextSliceProps = {
|
@@ -245,12 +256,22 @@ var getServiceStartTimeAndEndTime = (state, cacheItem, timeObj) => {
|
|
245
256
|
const { startDate, endDate } = (0, import_utils2.getServiceTimes)({ _extend });
|
246
257
|
_extend.startDate = startDate;
|
247
258
|
_extend.endDate = endDate;
|
259
|
+
const session = (_c = (_b = cacheItem == null ? void 0 : cacheItem._extend) == null ? void 0 : _b.other) == null ? void 0 : _c.session;
|
260
|
+
if ((0, import_utils2.isSessionProduct)(cacheItem) && session) {
|
261
|
+
_extend.start_date = session.start_at;
|
262
|
+
_extend.startDate = session.start_at;
|
263
|
+
_extend.start_time = session.start_time;
|
264
|
+
_extend.end_date = session.end_at;
|
265
|
+
_extend.endDate = session.end_at;
|
266
|
+
_extend.duration = (0, import_utils2.getDays)({ _extend }, "minutes");
|
267
|
+
}
|
248
268
|
return _extend;
|
249
269
|
};
|
250
270
|
// Annotate the CommonJS export names for ESM import in node:
|
251
271
|
0 && (module.exports = {
|
252
272
|
formatResource,
|
253
273
|
formatTimes,
|
274
|
+
getAppointmentTimingPreference,
|
254
275
|
getErrorList,
|
255
276
|
getResourceTimeIsUsable,
|
256
277
|
getServiceStartTimeAndEndTime,
|
@@ -22,6 +22,8 @@ declare const _default: {
|
|
22
22
|
'pisell2.text.leave-empty-for-walk-in': string;
|
23
23
|
'pisell2.text.select-customer': string;
|
24
24
|
'pisell2.text.create-new-customer': string;
|
25
|
+
'pisell2.text.filled': string;
|
26
|
+
'pisell2.text.not-filled': string;
|
25
27
|
'pisell2.text.create-new': string;
|
26
28
|
'pisell2.text.add-a-service': string;
|
27
29
|
'pisell2.text.add-another-service': string;
|
@@ -108,6 +110,7 @@ declare const _default: {
|
|
108
110
|
'pisell1.text.resource-error-message-1': (x: string, y: string) => string;
|
109
111
|
'pisell1.text.resource-error-message-2': (x: string, y: string, z: string) => string;
|
110
112
|
'pisell1.text.resource-error-message-3': (x: string, y: string, z: string) => string;
|
113
|
+
'pisell1.text.resource-error-message-unbound': string;
|
111
114
|
'pisell1.text.no-addons': string;
|
112
115
|
'pisell1.text.no-resource': string;
|
113
116
|
'pisell1.text.no-payments': string;
|
@@ -201,6 +204,7 @@ declare const _default: {
|
|
201
204
|
'page.booking.text.please-choose-an-option-1': string;
|
202
205
|
'page.booking.text.please-choose-an-option-2': string;
|
203
206
|
'page.booking.text.resource.min-length-error': (x: number, y: string) => string;
|
207
|
+
'page.booking.text.resource.check-auto-allocation-tip': string;
|
204
208
|
'page.booking.text.price-extra': (origin: string, current: string) => string;
|
205
209
|
'pisell2.booking.dashboard.groups-on-site-now': string;
|
206
210
|
'pisell2.booking.dashboard.groups-on-site-now-tip': string;
|
@@ -240,6 +244,32 @@ declare const _default: {
|
|
240
244
|
'pisell2.text.change.pet.cancel': string;
|
241
245
|
'pisell2.text.booking-list': string;
|
242
246
|
'pisell2.text.edit-booking': string;
|
247
|
+
'pisell2.text.email-error-message': string;
|
248
|
+
'pisell2.text.phone-required-error-message': string;
|
249
|
+
'pisell2.text.email-required-error-message': string;
|
250
|
+
'pisell2.text.send-form-reminder': string;
|
251
|
+
'pisell2.text.send-sms-reminder': string;
|
252
|
+
'pisell2.text.send-email-reminder': string;
|
253
|
+
'pisell2.text.send-form-ok': string;
|
254
|
+
'pisell2.text.send-form-toast': string;
|
255
|
+
'pisell2.text.send-form-reminder-completed': string;
|
256
|
+
'pisell2.text.send-form-reminder-tooltip': string;
|
257
|
+
'pisell2.text.send-form-reminder-refresh': string;
|
258
|
+
'pisell2.text.send-form-reminder-error-message': string;
|
259
|
+
'pisell2.text.goodpass': string;
|
260
|
+
'pisell2.text.goodpass.product-vouchers': string;
|
261
|
+
'pisell2.text.goodpass.view-more': string;
|
262
|
+
'pisell2.text.goodpass.code': string;
|
263
|
+
'pisell2.text.goodpass.enter-code': string;
|
264
|
+
'pisell2.text.goodpass.code-invalid': string;
|
265
|
+
'pisell2.text.goodpass.code-invalid-cart': string;
|
266
|
+
'pisell2.text.status.valid': string;
|
267
|
+
'pisell2.text.status.expired': string;
|
268
|
+
'pisell2.text.validity.expired': (str: string) => string;
|
269
|
+
'pisell2.text.validity.expiring_soon': (str: string) => string;
|
270
|
+
'pisell2.text.validity.valid_through': (str: string) => string;
|
271
|
+
'pisell2.text.quotation.product.change.title': string;
|
272
|
+
'pisell2.text.quotation.product.change.describe': string;
|
243
273
|
};
|
244
274
|
'zh-CN': {
|
245
275
|
'pisell2.text.refunded-amount': string;
|
@@ -269,6 +299,8 @@ declare const _default: {
|
|
269
299
|
'pisell2.text.leave-empty-for-walk-in': string;
|
270
300
|
'pisell2.text.select-customer': string;
|
271
301
|
'pisell2.text.create-new-customer': string;
|
302
|
+
'pisell2.text.filled': string;
|
303
|
+
'pisell2.text.not-filled': string;
|
272
304
|
'pisell2.text.create-new': string;
|
273
305
|
'pisell2.text.add-a-service': string;
|
274
306
|
'pisell2.text.add-another-service': string;
|
@@ -358,6 +390,7 @@ declare const _default: {
|
|
358
390
|
'pisell1.text.resource-error-message-1': (x: string, y: string) => string;
|
359
391
|
'pisell1.text.resource-error-message-2': (x: string, y: string, z: string) => string;
|
360
392
|
'pisell1.text.resource-error-message-3': (x: string, y: string, z: string) => string;
|
393
|
+
'pisell1.text.resource-error-message-unbound': string;
|
361
394
|
'pisell2.text.flexible': string;
|
362
395
|
'pisell2.text.order-discount': string;
|
363
396
|
'pisell2.text.no-product-added': string;
|
@@ -443,6 +476,7 @@ declare const _default: {
|
|
443
476
|
'page.booking.text.please-choose-an-option-1': string;
|
444
477
|
'page.booking.text.please-choose-an-option-2': string;
|
445
478
|
'page.booking.text.resource.min-length-error': (x: number, y: string) => string;
|
479
|
+
'page.booking.text.resource.check-auto-allocation-tip': string;
|
446
480
|
'page.booking.text.price-extra': (origin: string, current: string) => string;
|
447
481
|
'pisell2.booking.dashboard.groups-on-site-now': string;
|
448
482
|
'pisell2.booking.dashboard.groups-on-site-now-tip': string;
|
@@ -482,6 +516,32 @@ declare const _default: {
|
|
482
516
|
'pisell2.text.change.pet.cancel': string;
|
483
517
|
'pisell2.text.booking-list': string;
|
484
518
|
'pisell2.text.edit-booking': string;
|
519
|
+
'pisell2.text.email-error-message': string;
|
520
|
+
'pisell2.text.phone-required-error-message': string;
|
521
|
+
'pisell2.text.email-required-error-message': string;
|
522
|
+
'pisell2.text.send-form-reminder': string;
|
523
|
+
'pisell2.text.send-sms-reminder': string;
|
524
|
+
'pisell2.text.send-email-reminder': string;
|
525
|
+
'pisell2.text.send-form-ok': string;
|
526
|
+
'pisell2.text.send-form-toast': string;
|
527
|
+
'pisell2.text.send-form-reminder-completed': string;
|
528
|
+
'pisell2.text.send-form-reminder-tooltip': string;
|
529
|
+
'pisell2.text.send-form-reminder-refresh': string;
|
530
|
+
'pisell2.text.send-form-reminder-error-message': string;
|
531
|
+
'pisell2.text.goodpass': string;
|
532
|
+
'pisell2.text.goodpass.product-vouchers': string;
|
533
|
+
'pisell2.text.goodpass.view-more': string;
|
534
|
+
'pisell2.text.goodpass.code': string;
|
535
|
+
'pisell2.text.goodpass.enter-code': string;
|
536
|
+
'pisell2.text.goodpass.code-invalid': string;
|
537
|
+
'pisell2.text.goodpass.code-invalid-cart': string;
|
538
|
+
'pisell2.text.status.valid': string;
|
539
|
+
'pisell2.text.status.expired': string;
|
540
|
+
'pisell2.text.validity.expired': (str: string) => string;
|
541
|
+
'pisell2.text.validity.expiring_soon': (str: string) => string;
|
542
|
+
'pisell2.text.validity.valid_through': (str: string) => string;
|
543
|
+
'pisell2.text.quotation.product.change.title': string;
|
544
|
+
'pisell2.text.quotation.product.change.describe': string;
|
485
545
|
};
|
486
546
|
'zh-HK': {
|
487
547
|
'pisell2.text.refunded-amount': string;
|
@@ -511,6 +571,8 @@ declare const _default: {
|
|
511
571
|
'pisell2.text.leave-empty-for-walk-in': string;
|
512
572
|
'pisell2.text.select-customer': string;
|
513
573
|
'pisell2.text.create-new-customer': string;
|
574
|
+
'pisell2.text.filled': string;
|
575
|
+
'pisell2.text.not-filled': string;
|
514
576
|
'pisell2.text.create-new': string;
|
515
577
|
'pisell2.text.add-a-service': string;
|
516
578
|
'pisell2.text.add-another-service': string;
|
@@ -600,6 +662,7 @@ declare const _default: {
|
|
600
662
|
'pisell1.text.resource-error-message-1': (x: string, y: string) => string;
|
601
663
|
'pisell1.text.resource-error-message-2': (x: string, y: string, z: string) => string;
|
602
664
|
'pisell1.text.resource-error-message-3': (x: string, y: string, z: string) => string;
|
665
|
+
'pisell1.text.resource-error-message-unbound': string;
|
603
666
|
'pisell2.text.flexible': string;
|
604
667
|
'pisell2.text.order-discount': string;
|
605
668
|
'pisell2.text.no-product-added': string;
|
@@ -685,6 +748,7 @@ declare const _default: {
|
|
685
748
|
'page.booking.text.please-choose-an-option-1': string;
|
686
749
|
'page.booking.text.please-choose-an-option-2': string;
|
687
750
|
'page.booking.text.resource.min-length-error': (x: number, y: string) => string;
|
751
|
+
'page.booking.text.resource.check-auto-allocation-tip': string;
|
688
752
|
'page.booking.text.price-extra': (origin: string, current: string) => string;
|
689
753
|
'pisell2.booking.dashboard.groups-on-site-now': string;
|
690
754
|
'pisell2.booking.dashboard.groups-on-site-now-tip': string;
|
@@ -724,6 +788,32 @@ declare const _default: {
|
|
724
788
|
'pisell2.text.change.pet.cancel': string;
|
725
789
|
'pisell2.text.booking-list': string;
|
726
790
|
'pisell2.text.edit-booking': string;
|
791
|
+
'pisell2.text.email-error-message': string;
|
792
|
+
'pisell2.text.phone-required-error-message': string;
|
793
|
+
'pisell2.text.email-required-error-message': string;
|
794
|
+
'pisell2.text.send-form-reminder': string;
|
795
|
+
'pisell2.text.send-sms-reminder': string;
|
796
|
+
'pisell2.text.send-email-reminder': string;
|
797
|
+
'pisell2.text.send-form-ok': string;
|
798
|
+
'pisell2.text.send-form-toast': string;
|
799
|
+
'pisell2.text.send-form-reminder-completed': string;
|
800
|
+
'pisell2.text.send-form-reminder-tooltip': string;
|
801
|
+
'pisell2.text.send-form-reminder-refresh': string;
|
802
|
+
'pisell2.text.send-form-reminder-error-message': string;
|
803
|
+
'pisell2.text.goodpass': string;
|
804
|
+
'pisell2.text.goodpass.product-vouchers': string;
|
805
|
+
'pisell2.text.goodpass.view-more': string;
|
806
|
+
'pisell2.text.goodpass.code': string;
|
807
|
+
'pisell2.text.goodpass.enter-code': string;
|
808
|
+
'pisell2.text.goodpass.code-invalid': string;
|
809
|
+
'pisell2.text.goodpass.code-invalid-cart': string;
|
810
|
+
'pisell2.text.status.valid': string;
|
811
|
+
'pisell2.text.status.expired': string;
|
812
|
+
'pisell2.text.validity.expired': (str: string) => string;
|
813
|
+
'pisell2.text.validity.expiring_soon': (str: string) => string;
|
814
|
+
'pisell2.text.validity.valid_through': (str: string) => string;
|
815
|
+
'pisell2.text.quotation.product.change.title': string;
|
816
|
+
'pisell2.text.quotation.product.change.describe': string;
|
727
817
|
};
|
728
818
|
};
|
729
819
|
export default _default;
|
@@ -57,6 +57,8 @@ var locales_default = {
|
|
57
57
|
"pisell2.text.leave-empty-for-walk-in": "Leave empty for walk-in",
|
58
58
|
"pisell2.text.select-customer": "Select customer",
|
59
59
|
"pisell2.text.create-new-customer": "Create new customer",
|
60
|
+
"pisell2.text.filled": "Filled",
|
61
|
+
"pisell2.text.not-filled": "Not filled",
|
60
62
|
"pisell2.text.create-new": "Create new",
|
61
63
|
"pisell2.text.add-a-service": "Add a service",
|
62
64
|
"pisell2.text.add-another-service": "Add another service",
|
@@ -152,6 +154,7 @@ var locales_default = {
|
|
152
154
|
"pisell1.text.resource-error-message-1": (x, y) => `${x} doesn't provide ${y}, but your team member can still book appointments.`,
|
153
155
|
"pisell1.text.resource-error-message-2": (x, y, z) => `${x} isn't available between ${y} and ${z}, but your team member can still book appointments.`,
|
154
156
|
"pisell1.text.resource-error-message-3": (x, y, z) => `${x} is fully booked between ${y} and ${z}, but your team member can still book appointments.`,
|
157
|
+
"pisell1.text.resource-error-message-unbound": "This booking product is not associated with the target resource.",
|
155
158
|
"pisell1.text.no-addons": "No addons",
|
156
159
|
"pisell1.text.no-resource": "No resource",
|
157
160
|
"pisell1.text.no-payments": "No payments",
|
@@ -257,6 +260,7 @@ var locales_default = {
|
|
257
260
|
"page.booking.text.please-choose-an-option-1": "Refund: Cancel the appointment and process a refund.",
|
258
261
|
"page.booking.text.please-choose-an-option-2": "Cancel only: Cancel the appointment without processing a refund. (You can still process a refund after cancellation if needed)",
|
259
262
|
"page.booking.text.resource.min-length-error": (x, y) => `Select at least ${x} ${y}`,
|
263
|
+
"page.booking.text.resource.check-auto-allocation-tip": `When checked, content will be automatically filled in without manual selection`,
|
260
264
|
"page.booking.text.price-extra": (origin, current) => `Original price of the item:${origin},Current price of the item:${current}`,
|
261
265
|
"pisell2.booking.dashboard.groups-on-site-now": "Groups on-site now",
|
262
266
|
"pisell2.booking.dashboard.groups-on-site-now-tip": "Tip: Total number of groups who have checked in and are currently on-site",
|
@@ -295,7 +299,39 @@ var locales_default = {
|
|
295
299
|
"pisell2.text.change.pet.confirm": "Keep (Add to open items)",
|
296
300
|
"pisell2.text.change.pet.cancel": "Discard (Clear items)",
|
297
301
|
"pisell2.text.booking-list": "List",
|
298
|
-
"pisell2.text.edit-booking": "Edit"
|
302
|
+
"pisell2.text.edit-booking": "Edit",
|
303
|
+
"pisell2.text.email-error-message": "Email format error",
|
304
|
+
"pisell2.text.phone-required-error-message": "Please enter a phone number",
|
305
|
+
"pisell2.text.email-required-error-message": "Please enter an email address",
|
306
|
+
"pisell2.text.send-form-reminder": "Send Form Reminder",
|
307
|
+
"pisell2.text.send-sms-reminder": "Send SMS Reminder",
|
308
|
+
"pisell2.text.send-email-reminder": "Send Email Reminder",
|
309
|
+
"pisell2.text.send-form-ok": "Send",
|
310
|
+
"pisell2.text.send-form-toast": "Form reminder sent",
|
311
|
+
"pisell2.text.send-form-reminder-completed": "Requested Forms Completed",
|
312
|
+
"pisell2.text.send-form-reminder-tooltip": "Refresh forms",
|
313
|
+
"pisell2.text.send-form-reminder-refresh": "Forms refreshed successfully",
|
314
|
+
"pisell2.text.send-form-reminder-error-message": "Please select at least one reminder method",
|
315
|
+
"pisell2.text.goodpass": "Promotion",
|
316
|
+
"pisell2.text.goodpass.product-vouchers": "Product Vouchers",
|
317
|
+
"pisell2.text.goodpass.view-more": "View More",
|
318
|
+
"pisell2.text.goodpass.code": "Code",
|
319
|
+
"pisell2.text.goodpass.enter-code": "Enter Code",
|
320
|
+
"pisell2.text.goodpass.code-invalid": "Current code is invalid",
|
321
|
+
"pisell2.text.goodpass.code-invalid-cart": "No eligible items in the cart",
|
322
|
+
"pisell2.text.status.valid": "Valid",
|
323
|
+
"pisell2.text.status.expired": "Expired",
|
324
|
+
"pisell2.text.validity.expired": (str) => {
|
325
|
+
return `Expired on ${str}`;
|
326
|
+
},
|
327
|
+
"pisell2.text.validity.expiring_soon": (str) => {
|
328
|
+
return `Expiring soon: valid through ${str}`;
|
329
|
+
},
|
330
|
+
"pisell2.text.validity.valid_through": (str) => {
|
331
|
+
return `Valid through ${str}`;
|
332
|
+
},
|
333
|
+
"pisell2.text.quotation.product.change.title": "Notification",
|
334
|
+
"pisell2.text.quotation.product.change.describe": "Product updates available: Please refresh the following items to load the latest data."
|
299
335
|
},
|
300
336
|
"zh-CN": {
|
301
337
|
"pisell2.text.refunded-amount": "已退金额",
|
@@ -325,6 +361,8 @@ var locales_default = {
|
|
325
361
|
"pisell2.text.leave-empty-for-walk-in": "未选择表示 Walk-In",
|
326
362
|
"pisell2.text.select-customer": "选择客户",
|
327
363
|
"pisell2.text.create-new-customer": "创建新客户",
|
364
|
+
"pisell2.text.filled": "已填写",
|
365
|
+
"pisell2.text.not-filled": "未填写",
|
328
366
|
"pisell2.text.create-new": "创建新的",
|
329
367
|
"pisell2.text.add-a-service": "添加服务",
|
330
368
|
"pisell2.text.add-another-service": "添加其他服务",
|
@@ -428,6 +466,7 @@ var locales_default = {
|
|
428
466
|
"pisell1.text.resource-error-message-1": (x, y) => `${x} 不提供 ${y},但您的团队成员仍然可以预约。`,
|
429
467
|
"pisell1.text.resource-error-message-2": (x, y, z) => `${x}在${y}到${z}之间不提供服务,但您的团队成员仍然可以预约。`,
|
430
468
|
"pisell1.text.resource-error-message-3": (x, y, z) => `${x}在${y}到${z}之间已约满,但您的团队成员仍然可以预约。`,
|
469
|
+
"pisell1.text.resource-error-message-unbound": "该预约商品未关联目标资源。",
|
431
470
|
"pisell2.text.flexible": "灵活",
|
432
471
|
"pisell2.text.order-discount": "折扣",
|
433
472
|
"pisell2.text.no-product-added": "未添加商品",
|
@@ -525,6 +564,7 @@ var locales_default = {
|
|
525
564
|
"page.booking.text.please-choose-an-option-1": "退款:取消预约,同时处理退款。",
|
526
565
|
"page.booking.text.please-choose-an-option-2": "仅取消:仅取消预约,但不进行退款处理。(您仍然可以在取消后再进行退款操作)",
|
527
566
|
"page.booking.text.resource.min-length-error": (x, y) => `至少选择${x}项${y}`,
|
567
|
+
"page.booking.text.resource.check-auto-allocation-tip": `勾选后将自动填入内容,无需手动选择`,
|
528
568
|
"page.booking.text.price-extra": (origin, current) => `商品原价:${origin},商品现价:${current}`,
|
529
569
|
"pisell2.booking.dashboard.groups-on-site-now": "当前在场团体",
|
530
570
|
"pisell2.booking.dashboard.groups-on-site-now-tip": "提示:已检票并在场内的团体总数",
|
@@ -563,7 +603,39 @@ var locales_default = {
|
|
563
603
|
"pisell2.text.change.pet.confirm": "保留(添加到未分配中)",
|
564
604
|
"pisell2.text.change.pet.cancel": "不保留(清空商品)",
|
565
605
|
"pisell2.text.booking-list": "列表",
|
566
|
-
"pisell2.text.edit-booking": "编辑"
|
606
|
+
"pisell2.text.edit-booking": "编辑",
|
607
|
+
"pisell2.text.email-error-message": "电子邮件格式错误",
|
608
|
+
"pisell2.text.phone-required-error-message": "请输入手机号码",
|
609
|
+
"pisell2.text.email-required-error-message": "请输入邮箱地址",
|
610
|
+
"pisell2.text.send-form-reminder": "发送表单提醒",
|
611
|
+
"pisell2.text.send-sms-reminder": "发送短信提醒",
|
612
|
+
"pisell2.text.send-email-reminder": "发送邮件提醒",
|
613
|
+
"pisell2.text.send-form-ok": "发送",
|
614
|
+
"pisell2.text.send-form-toast": "表单提醒已发送",
|
615
|
+
"pisell2.text.send-form-reminder-completed": "已完成所需表单",
|
616
|
+
"pisell2.text.send-form-reminder-tooltip": "刷新表单",
|
617
|
+
"pisell2.text.send-form-reminder-refresh": "已刷新表单",
|
618
|
+
"pisell2.text.send-form-reminder-error-message": "请至少选择一种提醒方式",
|
619
|
+
"pisell2.text.goodpass": "促销",
|
620
|
+
"pisell2.text.goodpass.product-vouchers": "商品兑换券",
|
621
|
+
"pisell2.text.goodpass.view-more": "查看更多",
|
622
|
+
"pisell2.text.goodpass.code": "券码",
|
623
|
+
"pisell2.text.goodpass.enter-code": "请输入券码",
|
624
|
+
"pisell2.text.goodpass.code-invalid": "当前券码不可用",
|
625
|
+
"pisell2.text.goodpass.code-invalid-cart": "当前购物车中无可用商品",
|
626
|
+
"pisell2.text.status.valid": "有效",
|
627
|
+
"pisell2.text.status.expired": "已过期",
|
628
|
+
"pisell2.text.validity.expired": (str) => {
|
629
|
+
return `已于 ${str} 过期`;
|
630
|
+
},
|
631
|
+
"pisell2.text.validity.expiring_soon": (str) => {
|
632
|
+
return `即将过期:有效期至 ${str} (含当日)`;
|
633
|
+
},
|
634
|
+
"pisell2.text.validity.valid_through": (str) => {
|
635
|
+
return `有效期至 ${str} (含当日)`;
|
636
|
+
},
|
637
|
+
"pisell2.text.quotation.product.change.title": "提示",
|
638
|
+
"pisell2.text.quotation.product.change.describe": "以下商品信息已更新,请重新编辑相关商品以同步最新数据。"
|
567
639
|
},
|
568
640
|
"zh-HK": {
|
569
641
|
"pisell2.text.refunded-amount": "已退金額",
|
@@ -593,6 +665,8 @@ var locales_default = {
|
|
593
665
|
"pisell2.text.leave-empty-for-walk-in": "未選擇表示 Walk-In",
|
594
666
|
"pisell2.text.select-customer": "選擇客戶",
|
595
667
|
"pisell2.text.create-new-customer": "創建新客戶",
|
668
|
+
"pisell2.text.filled": "已填寫",
|
669
|
+
"pisell2.text.not-filled": "未填寫",
|
596
670
|
"pisell2.text.create-new": "創建新的",
|
597
671
|
"pisell2.text.add-a-service": "添加服務",
|
598
672
|
"pisell2.text.add-another-service": "添加其他服務",
|
@@ -696,6 +770,7 @@ var locales_default = {
|
|
696
770
|
"pisell1.text.resource-error-message-1": (x, y) => `${x} 不提供 ${y},但您的團隊成員仍然可以預約。`,
|
697
771
|
"pisell1.text.resource-error-message-2": (x, y, z) => `${x}在${y}到${z}之間不提供服務,但您的團隊成員仍然可以預約。`,
|
698
772
|
"pisell1.text.resource-error-message-3": (x, y, z) => `${x}在${y}到${z}之間已約滿,但您的團隊成員仍然可以預約。`,
|
773
|
+
"pisell1.text.resource-error-message-unbound": "該預約商品未關聯目標資源。",
|
699
774
|
"pisell2.text.flexible": "靈活",
|
700
775
|
"pisell2.text.order-discount": "折扣",
|
701
776
|
"pisell2.text.no-product-added": "未添加商品",
|
@@ -793,6 +868,7 @@ var locales_default = {
|
|
793
868
|
"page.booking.text.please-choose-an-option-1": "退款:取消預約,同時處理退款。",
|
794
869
|
"page.booking.text.please-choose-an-option-2": "僅取消:僅取消預約,但不進行退款處理。(您仍然可以在取消後再進行退款操作)",
|
795
870
|
"page.booking.text.resource.min-length-error": (x, y) => `至少選擇${x}項${y}`,
|
871
|
+
"page.booking.text.resource.check-auto-allocation-tip": `勾選後將自動填入內容,無需手動選擇`,
|
796
872
|
"page.booking.text.price-extra": (origin, current) => `商品原價:${origin},商品現價:${current}`,
|
797
873
|
"pisell2.booking.dashboard.groups-on-site-now": "當前在場團體",
|
798
874
|
"pisell2.booking.dashboard.groups-on-site-now-tip": "提示:已檢票並在場內的團體總數",
|
@@ -831,6 +907,38 @@ var locales_default = {
|
|
831
907
|
"pisell2.text.change.pet.confirm": "保留(添加到未分配中)",
|
832
908
|
"pisell2.text.change.pet.cancel": "不保留(清空商品)",
|
833
909
|
"pisell2.text.booking-list": "列表",
|
834
|
-
"pisell2.text.edit-booking": "編輯"
|
910
|
+
"pisell2.text.edit-booking": "編輯",
|
911
|
+
"pisell2.text.email-error-message": "電子郵件格式錯誤",
|
912
|
+
"pisell2.text.phone-required-error-message": "請輸入手機號碼",
|
913
|
+
"pisell2.text.email-required-error-message": "請輸入電子郵件地址",
|
914
|
+
"pisell2.text.send-form-reminder": "發送表單提醒",
|
915
|
+
"pisell2.text.send-sms-reminder": "發送短信提醒",
|
916
|
+
"pisell2.text.send-email-reminder": "發送郵件提醒",
|
917
|
+
"pisell2.text.send-form-ok": "發送",
|
918
|
+
"pisell2.text.send-form-toast": "表單提醒已發送",
|
919
|
+
"pisell2.text.send-form-reminder-completed": "已完成所需表單",
|
920
|
+
"pisell2.text.send-form-reminder-tooltip": "刷新表單",
|
921
|
+
"pisell2.text.send-form-reminder-refresh": "已刷新表單",
|
922
|
+
"pisell2.text.send-form-reminder-error-message": "請至少選擇一種提醒方式",
|
923
|
+
"pisell2.text.goodpass": "促銷",
|
924
|
+
"pisell2.text.goodpass.product-vouchers": "商品兌換券",
|
925
|
+
"pisell2.text.goodpass.view-more": "查看更多",
|
926
|
+
"pisell2.text.goodpass.code": "券碼",
|
927
|
+
"pisell2.text.goodpass.enter-code": "請輸入券碼",
|
928
|
+
"pisell2.text.goodpass.code-invalid": "當前券碼不可用",
|
929
|
+
"pisell2.text.goodpass.code-invalid-cart": "當前購物車中無可用商品",
|
930
|
+
"pisell2.text.status.valid": "有效",
|
931
|
+
"pisell2.text.status.expired": "已過期",
|
932
|
+
"pisell2.text.validity.expired": (str) => {
|
933
|
+
return `已於 ${str} 過期`;
|
934
|
+
},
|
935
|
+
"pisell2.text.validity.expiring_soon": (str) => {
|
936
|
+
return `即將過期:有效期至 ${str} (含當日)`;
|
937
|
+
},
|
938
|
+
"pisell2.text.validity.valid_through": (str) => {
|
939
|
+
return `有效期至 ${str} (含當日)`;
|
940
|
+
},
|
941
|
+
"pisell2.text.quotation.product.change.title": "提示",
|
942
|
+
"pisell2.text.quotation.product.change.describe": "以下商品信息已更新,请重新编辑相关商品以同步最新数据。"
|
835
943
|
}
|
836
944
|
};
|