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