@pisell/private-materials 6.9.6 → 6.10.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/README.md +1 -5
- 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 +2 -2
- package/build/lowcode/preview.js +164 -150
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +11 -11
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +11 -11
- package/es/businessModel/SalesModel/index.d.ts +1 -0
- package/es/components/Sales/Cart/index.js +3 -20
- package/es/components/Sales/Cart/utils.d.ts +0 -5
- package/es/components/Sales/Cart/utils.js +0 -16
- package/es/components/Sales/Summary/utils.d.ts +1 -1
- package/es/components/Sales/Summary/utils.js +4 -5
- package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
- package/es/components/appointmentBooking/components/Cart/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Header/index.js +12 -12
- package/es/components/appointmentBooking/components/TimeSlicing/index.js +5 -46
- package/es/components/appointmentBooking/components/Voucher/index.js +5 -26
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -1
- package/es/components/appointmentBooking/hooks.d.ts +1 -1
- package/es/components/appointmentBooking/hooks.js +13 -6
- package/es/components/appointmentBooking/locales.d.ts +0 -3
- package/es/components/appointmentBooking/locales.js +0 -3
- package/es/components/appointmentBooking/utils.d.ts +0 -23
- package/es/components/appointmentBooking/utils.js +0 -159
- package/es/components/booking/addons/index.js +2 -3
- package/es/components/booking/addons/model.d.ts +1 -10
- package/es/components/booking/components/actionButtons/index.js +0 -10
- package/es/components/booking/components/customiseItemModal/index.js +7 -4
- package/es/components/booking/components/footer/amount.d.ts +0 -1
- package/es/components/booking/components/footer/amount.js +165 -358
- package/es/components/booking/components/footer/index.d.ts +1 -0
- package/es/components/booking/components/footer/index.js +170 -497
- package/es/components/booking/components/footer/utils.d.ts +1 -1
- package/es/components/booking/components/footer/utils.js +83 -144
- package/es/components/booking/components/voucher/index.js +6 -15
- package/es/components/booking/components/voucher/index.less +1 -4
- package/es/components/booking/components/voucherModal/index.less +0 -1
- package/es/components/booking/dashboard/index.js +92 -78
- package/es/components/booking/dashboard/serve.d.ts +0 -1
- package/es/components/booking/dashboard/serve.js +0 -22
- package/es/components/booking/deposit/index.d.ts +1 -0
- package/es/components/booking/forms/footer.d.ts +0 -1
- package/es/components/booking/forms/model.d.ts +1 -10
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
- package/es/components/booking/hooks/useClearCart.d.ts +0 -1
- package/es/components/booking/hooks/useQuotation.js +10 -32
- package/es/components/booking/info/addServiceVariant/index.d.ts +1 -0
- package/es/components/booking/info/client/index.js +6 -16
- package/es/components/booking/info/dateRange/index.d.ts +0 -1
- package/es/components/booking/info/header/index.d.ts +1 -0
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
- package/es/components/booking/info/index.d.ts +1 -0
- package/es/components/booking/info/model.d.ts +1 -10
- package/es/components/booking/info/notes/index.d.ts +1 -0
- package/es/components/booking/info/service/Lists.d.ts +1 -0
- package/es/components/booking/info/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info/service/serviceList/index.d.ts +1 -0
- package/es/components/booking/info/service2/Group/utils.js +2 -2
- package/es/components/booking/info/service2/Lists.d.ts +1 -0
- package/es/components/booking/info/service2/utils.js +41 -45
- package/es/components/booking/info2/cartClientCard/index.js +10 -16
- package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info2/service/editNormalService/index.js +17 -22
- package/es/components/booking/info2/service/editService/index.js +2 -33
- package/es/components/booking/info2/service/editService/utils.js +5 -9
- package/es/components/booking/info2/service/serviceList/index.d.ts +1 -0
- package/es/components/booking/locales.d.ts +0 -3
- package/es/components/booking/locales.js +3 -6
- package/es/components/booking/model.d.ts +1 -9
- package/es/components/booking/notes/NoteBlock/index.d.ts +1 -0
- package/es/components/booking/notes/addNote/index.d.ts +1 -0
- package/es/components/booking/notes/model.d.ts +1 -10
- package/es/components/booking/payments/model.d.ts +1 -10
- package/es/components/booking/utils.d.ts +2 -2
- package/es/components/booking/utils.js +4 -4
- package/es/components/checkout/PaymentModal.d.ts +0 -1
- package/es/components/checkout/PaymentModal.js +64 -175
- package/es/components/checkout/components/PaymentDetailModal/index.less +429 -426
- package/es/components/checkout/components/PaymentOptionsModule/PaymentMethodItem.d.ts +0 -1
- package/es/components/checkout/components/PaymentOptionsModule/index.js +2 -3
- package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.js +1 -0
- package/es/components/checkout/components/PaymentResultToast/index.js +0 -2
- package/es/components/checkout/components/WalletPassModule/index.js +0 -1
- package/es/components/checkout/components/WalletPassModule/utils.d.ts +0 -1
- package/es/components/checkout/components/WalletPassModule/utils.js +3 -17
- package/es/components/checkout/hooks/useWalletPass.d.ts +2 -2
- package/es/components/checkout/hooks/useWalletPass.js +198 -324
- package/es/components/checkout/index.less +0 -6
- package/es/components/checkout/plugin.js +12 -59
- package/es/components/eftpos/surcharge/index.d.ts +1 -0
- package/es/components/eftposPay/EFTPos.js +6 -15
- package/es/components/eftposPay/amount.d.ts +1 -0
- package/es/components/eftposPay/app.js +0 -5
- package/es/components/eftposPay/component/fail/failCustom.js +12 -16
- package/es/components/eftposPay/component/fail/index.js +5 -12
- package/es/components/eftposPay/component/fail/unknow.d.ts +0 -1
- package/es/components/eftposPay/const.d.ts +1 -6
- package/es/components/eftposPay/const.js +0 -3
- package/es/components/eftposPay/hooks.d.ts +2 -3
- package/es/components/eftposPay/hooks.js +0 -12
- package/es/components/eftposPay/index.js +1 -5
- package/es/components/eftposPay/locales.d.ts +0 -36
- package/es/components/eftposPay/locales.js +3 -42
- package/es/components/eftposPay/manufacturer.d.ts +0 -1
- package/es/components/eftposPay/manufacturer.js +0 -5
- package/es/components/eftposPay/pay.js +2 -6
- package/es/components/eftposPay/store/index.d.ts +5 -12
- package/es/components/eftposPay/tyro/index.js +4 -97
- package/es/components/eftposPay/windcave/windcave.js +9 -9
- package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Cart/Item/index.js +1 -2
- package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
- 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/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
- package/es/components/kioskSkuDetail/index.d.ts +0 -3
- package/es/components/kioskSkuDetail/index.js +173 -268
- package/es/components/kioskSkuDetail/index.less +7 -49
- package/es/components/kioskSkuDetail/locales.d.ts +0 -6
- package/es/components/kioskSkuDetail/locales.js +3 -9
- package/es/components/pay/toB/components/CardGroup/index.d.ts +1 -0
- package/es/components/pay/toB/components/Content/Header.d.ts +1 -0
- package/es/components/pay/toB/components/EFTPOS/index.js +1 -8
- package/es/components/pay/toB/components/MX51/index.js +1 -2
- package/es/components/pay/toB/paymentMethods/index.js +1 -2
- package/es/components/pay/toB/types/index.d.ts +0 -9
- package/es/components/pay/toC/PaymentList/index.d.ts +1 -1
- package/es/components/pay/toC/PaymentList/index.js +5 -54
- package/es/components/pay/toC/PaymentList/index.less +1 -58
- package/es/components/pay/toC/PaymentList/serve.d.ts +1 -1
- package/es/components/pay/toC/PaymentList/serve.js +0 -22
- package/es/components/pay/toC/PaymentList/utils.d.ts +0 -26
- package/es/components/pay/toC/PaymentList/utils.js +6 -188
- package/es/components/pay/toC/PaymentMethods/BankDeposit/index.js +3 -1
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +42 -139
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/index.js +1 -1
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +0 -5
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.js +145 -166
- package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +0 -6
- package/es/components/pay/toC/PaymentMethods/WalletPass/utils.js +3 -3
- package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
- package/es/components/pay/toC/WalletPassBlock/index.js +1 -3
- package/es/components/pay/toC/index.js +28 -68
- package/es/components/pay/toC/locales.d.ts +0 -6
- package/es/components/pay/toC/locales.js +3 -9
- package/es/components/pay/toC/model.d.ts +1 -10
- package/es/components/pay/toC/serve.d.ts +0 -18
- package/es/components/pay/toC/serve.js +1 -29
- package/es/components/pay/toC/utils.d.ts +2 -2
- package/es/components/pay/toC/utils.js +0 -4
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
- package/es/components/productExtension/index.d.ts +1 -0
- package/es/components/productSelect/components/productGroup/index.d.ts +1 -0
- package/es/components/productSelect/components/productGroup/index.js +1 -1
- package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
- package/es/components/schedules/model.d.ts +1 -9
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
- package/es/components/shoppingCart/components/Cart/Product.js +1 -1
- package/es/components/shoppingCart/hooks/useAddService.d.ts +0 -1
- package/es/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
- package/es/components/systemSettings/registry/components/SectionList.js +1 -5
- package/es/components/taxSelect/index.d.ts +1 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.js +8 -5
- package/es/components/ticketBooking/components/addServiceVariant/addService.js +63 -142
- package/es/components/ticketBooking/components/bookingDataPanel/index.js +1 -2
- package/es/components/ticketBooking/components/ticketBooking/index.js +5 -19
- package/es/components/ticketBooking/context/OsKeyContext.d.ts +0 -3
- package/es/components/ticketBooking/context/OsKeyContext.js +2 -12
- package/es/components/ticketBooking/context/index.d.ts +1 -1
- package/es/components/ticketBooking/context/index.js +1 -1
- package/es/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +1 -1
- package/es/components/ticketBooking/hooks/pisellos/useCustomer.js +11 -14
- package/es/components/ticketBooking/hooks/pisellos/useProducts.js +10 -69
- package/es/components/ticketBooking/index.d.ts +0 -1
- package/es/components/ticketBooking/index.js +1 -2
- package/es/components/ticketBooking/utils/index.d.ts +1 -1
- package/es/components/walletList/index.js +2 -7
- package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
- package/es/index.d.ts +4 -7
- package/es/index.js +4 -7
- package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +1 -0
- package/es/plus/clinetSearch/Add/GenderField/index.d.ts +1 -0
- package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
- package/es/plus/clinetSearch/index.d.ts +0 -1
- package/es/plus/clinetSearch/index.js +5 -27
- package/es/plus/clinetSearch/locales.d.ts +0 -3
- package/es/plus/clinetSearch/locales.js +3 -6
- package/es/plus/clinetSearch/types.d.ts +0 -9
- package/es/plus/myTeamLogin/MyTeamLoginCpt.d.ts +9 -0
- package/es/plus/myTeamLogin/MyTeamLoginCpt.js +205 -0
- package/es/plus/myTeamLogin/index.d.ts +11 -0
- package/es/{components/ecocup/cupList/hooks/useCupApi.js → plus/myTeamLogin/index.js} +259 -129
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.js +0 -3
- package/es/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/index.js +3 -12
- package/es/plus/productSelect/ProductList/gridComponents.d.ts +4 -6
- package/es/plus/productSelect/ProductList/gridComponents.js +10 -30
- package/es/plus/productSelect/index.d.ts +1 -3
- package/es/plus/productSelect/index.js +14 -85
- package/es/plus/saasCreateOrganization/index.d.ts +1 -0
- package/es/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
- package/es/plus/selectHolder/components/ErrorTip/index.d.ts +0 -1
- package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +1 -0
- package/es/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +0 -1
- package/es/plus/skuOptionsSelection/components/OptionsModal/index.js +0 -1
- package/es/plus/skuOptionsSelection/components/VariantCard/index.d.ts +0 -1
- package/es/plus/skuOptionsSelection/components/VariantCard/index.js +1 -1
- package/es/plus/skuOptionsSelection/locales.d.ts +0 -3
- package/es/plus/skuOptionsSelection/locales.js +0 -3
- package/es/plus/skuOptionsSelection/utils/transformBundleGroup.js +2 -11
- package/es/plus/skuOptionsSelection/utils/transformOptionGroup.js +0 -10
- package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.js +0 -1
- package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.js +0 -2
- package/es/plus/skuOptionsSelection/utils/transformVariantGroup.js +0 -10
- package/es/plus/walletPassGallery/components/passDetail/index.js +5 -6
- package/es/plus/walletPassGallery/components/passList/index.d.ts +0 -1
- package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -2
- package/es/plus/walletPassGallery/components/timelineSection/index.js +3 -9
- package/es/plus/walletPassGallery/index.js +2 -2
- package/es/plus/walletPassGallery/index.less +1 -1
- package/es/plus/walletPassGallery/serve.d.ts +0 -8
- package/es/plus/walletPassGallery/serve.js +50 -78
- package/es/plus/webPosLogin/WebPosLogin.d.ts +2 -2
- package/es/plus/webPosLogin/WebPosLogin.js +2 -7
- package/es/plus/webPosLogin/components/LoginPanel/index.js +3 -0
- package/es/plus/webPosLogin/components/MediaDisplay/index.js +5 -5
- package/es/plus/webPosLogin/components/MediaDisplay/index.less +6 -10
- package/es/plus/webPosLogin/service.js +1 -2
- package/es/pro/Login2.0/AuthModal.js +4 -12
- package/es/pro/Login2.0/Login2.js +10 -16
- package/es/pro/Login2.0/components/LoginCodeInput.js +3 -36
- package/es/pro/Login2.0/index.less +3 -15
- package/es/pro/Login2.0/shared/types.d.ts +4 -0
- package/es/pro/Login2.0/steps/CodeInput.js +7 -37
- package/es/pro/NumericStepper/index.d.ts +1 -27
- package/es/pro/NumericStepper/index.js +68 -84
- package/es/pro/NumericStepper/index.less +136 -261
- package/es/pro/Selector/Selector.js +10 -17
- package/es/pro/Selector/demo.d.ts +1 -0
- package/es/pro/Selector/hooks/usePresetItemProps.js +0 -2
- package/es/pro/Selector/hooks/usePresetProps.js +2 -4
- package/es/pro/Selector/types.d.ts +0 -1
- package/es/pro/comprehensiveSearch/components/searchSection/locales.js +3 -3
- package/es/pro/pisellNumberSelector/example.d.ts +3 -0
- package/es/pro/pisellNumberSelector/example.js +68 -0
- package/es/pro/pisellPaymentList/example.d.ts +0 -1
- package/es/pro/priceKeyboard/components/cashKeyboard/CashKeyboardSimple.js +1 -2
- package/es/pro/priceKeyboard/components/cashKeyboard/index.d.ts +1 -0
- package/es/pro/priceKeyboard/components/discountKeyboard/index.js +1 -2
- package/es/pro/priceKeyboard/components/paymentKeyboard/index.js +3 -6
- package/es/pro/skuDetailModal/index.js +55 -61
- package/es/pro/skuDetailModal/index.less +4 -46
- package/es/pro/skuDetailModal/types.d.ts +0 -7
- package/lib/businessModel/SalesModel/index.d.ts +1 -0
- package/lib/components/Sales/Cart/index.js +7 -25
- package/lib/components/Sales/Cart/utils.d.ts +0 -5
- package/lib/components/Sales/Cart/utils.js +1 -13
- package/lib/components/Sales/Summary/utils.d.ts +1 -1
- package/lib/components/Sales/Summary/utils.js +4 -2
- package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Cart/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Header/index.js +8 -3
- package/lib/components/appointmentBooking/components/Services/index.js +1 -5
- package/lib/components/appointmentBooking/components/TimeSlicing/index.js +7 -27
- package/lib/components/appointmentBooking/components/Voucher/index.js +6 -37
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -1
- package/lib/components/appointmentBooking/hooks.d.ts +1 -1
- package/lib/components/appointmentBooking/hooks.js +11 -6
- package/lib/components/appointmentBooking/locales.d.ts +0 -3
- package/lib/components/appointmentBooking/locales.js +0 -3
- package/lib/components/appointmentBooking/utils.d.ts +0 -23
- package/lib/components/appointmentBooking/utils.js +0 -103
- package/lib/components/booking/addons/index.js +2 -3
- package/lib/components/booking/addons/model.d.ts +1 -10
- package/lib/components/booking/components/actionButtons/index.js +0 -10
- package/lib/components/booking/components/customiseItemModal/index.js +5 -4
- package/lib/components/booking/components/footer/amount.d.ts +0 -1
- package/lib/components/booking/components/footer/amount.js +25 -122
- package/lib/components/booking/components/footer/index.d.ts +1 -0
- package/lib/components/booking/components/footer/index.js +5 -244
- package/lib/components/booking/components/footer/utils.d.ts +1 -1
- package/lib/components/booking/components/footer/utils.js +22 -59
- package/lib/components/booking/components/voucher/index.js +4 -18
- package/lib/components/booking/components/voucher/index.less +1 -4
- package/lib/components/booking/components/voucherModal/index.less +0 -1
- package/lib/components/booking/dashboard/index.js +59 -38
- package/lib/components/booking/dashboard/serve.d.ts +0 -1
- package/lib/components/booking/dashboard/serve.js +2 -8
- package/lib/components/booking/deposit/index.d.ts +1 -0
- package/lib/components/booking/forms/footer.d.ts +0 -1
- package/lib/components/booking/forms/model.d.ts +1 -10
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
- package/lib/components/booking/hooks/useClearCart.d.ts +0 -1
- package/lib/components/booking/hooks/useQuotation.js +21 -65
- package/lib/components/booking/info/addServiceVariant/index.d.ts +1 -0
- package/lib/components/booking/info/client/index.js +8 -16
- package/lib/components/booking/info/dateRange/index.d.ts +0 -1
- package/lib/components/booking/info/header/index.d.ts +1 -0
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
- package/lib/components/booking/info/index.d.ts +1 -0
- package/lib/components/booking/info/model.d.ts +1 -10
- package/lib/components/booking/info/notes/index.d.ts +1 -0
- package/lib/components/booking/info/service/Lists.d.ts +1 -0
- package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info/service/serviceList/index.d.ts +1 -0
- package/lib/components/booking/info/service2/Group/utils.js +2 -2
- package/lib/components/booking/info/service2/Lists.d.ts +1 -0
- package/lib/components/booking/info/service2/utils.js +2 -6
- package/lib/components/booking/info2/cartClientCard/index.js +11 -17
- package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/editNormalService/index.js +16 -20
- package/lib/components/booking/info2/service/editService/index.js +24 -48
- package/lib/components/booking/info2/service/editService/utils.js +4 -7
- package/lib/components/booking/info2/service/serviceList/index.d.ts +1 -0
- package/lib/components/booking/locales.d.ts +0 -3
- package/lib/components/booking/locales.js +3 -6
- package/lib/components/booking/model.d.ts +1 -9
- package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -0
- package/lib/components/booking/notes/addNote/index.d.ts +1 -0
- package/lib/components/booking/notes/model.d.ts +1 -10
- package/lib/components/booking/payments/model.d.ts +1 -10
- package/lib/components/booking/utils.d.ts +2 -2
- package/lib/components/booking/utils.js +3 -3
- package/lib/components/checkout/PaymentModal.d.ts +0 -1
- package/lib/components/checkout/PaymentModal.js +30 -98
- package/lib/components/checkout/components/PaymentDetailModal/index.less +429 -426
- package/lib/components/checkout/components/PaymentOptionsModule/PaymentMethodItem.d.ts +0 -1
- package/lib/components/checkout/components/PaymentOptionsModule/index.js +2 -6
- package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.js +1 -0
- package/lib/components/checkout/components/PaymentResultToast/index.js +0 -2
- package/lib/components/checkout/components/WalletPassModule/index.js +0 -1
- package/lib/components/checkout/components/WalletPassModule/utils.d.ts +0 -1
- package/lib/components/checkout/components/WalletPassModule/utils.js +2 -18
- package/lib/components/checkout/hooks/useWalletPass.d.ts +2 -2
- package/lib/components/checkout/hooks/useWalletPass.js +109 -160
- package/lib/components/checkout/index.less +0 -6
- package/lib/components/checkout/plugin.js +150 -195
- package/lib/components/eftpos/surcharge/index.d.ts +1 -0
- package/lib/components/eftposPay/EFTPos.js +7 -11
- package/lib/components/eftposPay/amount.d.ts +1 -0
- package/lib/components/eftposPay/app.js +0 -5
- package/lib/components/eftposPay/component/fail/failCustom.js +9 -15
- package/lib/components/eftposPay/component/fail/index.js +1 -4
- package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -1
- package/lib/components/eftposPay/const.d.ts +1 -6
- package/lib/components/eftposPay/const.js +0 -3
- package/lib/components/eftposPay/hooks.d.ts +2 -3
- package/lib/components/eftposPay/hooks.js +0 -16
- package/lib/components/eftposPay/index.js +1 -5
- package/lib/components/eftposPay/locales.d.ts +0 -36
- package/lib/components/eftposPay/locales.js +3 -42
- package/lib/components/eftposPay/manufacturer.d.ts +0 -1
- package/lib/components/eftposPay/manufacturer.js +0 -7
- package/lib/components/eftposPay/pay.js +2 -3
- package/lib/components/eftposPay/store/index.d.ts +5 -12
- package/lib/components/eftposPay/tyro/index.js +7 -64
- package/lib/components/eftposPay/windcave/windcave.js +9 -9
- package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Cart/Item/index.js +1 -2
- package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
- 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/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
- package/lib/components/kioskSkuDetail/index.d.ts +0 -3
- package/lib/components/kioskSkuDetail/index.js +113 -180
- package/lib/components/kioskSkuDetail/index.less +7 -49
- package/lib/components/kioskSkuDetail/locales.d.ts +0 -6
- package/lib/components/kioskSkuDetail/locales.js +3 -9
- package/lib/components/pay/toB/components/CardGroup/index.d.ts +1 -0
- package/lib/components/pay/toB/components/Content/Header.d.ts +1 -0
- package/lib/components/pay/toB/components/EFTPOS/index.js +1 -8
- package/lib/components/pay/toB/components/MX51/index.js +1 -2
- package/lib/components/pay/toB/paymentMethods/index.js +1 -2
- package/lib/components/pay/toB/types/index.d.ts +0 -9
- package/lib/components/pay/toC/PaymentList/index.d.ts +1 -1
- package/lib/components/pay/toC/PaymentList/index.js +5 -36
- package/lib/components/pay/toC/PaymentList/index.less +1 -58
- package/lib/components/pay/toC/PaymentList/serve.d.ts +1 -1
- package/lib/components/pay/toC/PaymentList/serve.js +1 -21
- package/lib/components/pay/toC/PaymentList/utils.d.ts +0 -26
- package/lib/components/pay/toC/PaymentList/utils.js +7 -156
- package/lib/components/pay/toC/PaymentMethods/BankDeposit/index.js +1 -1
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +7 -97
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/index.js +1 -1
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +0 -5
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.js +103 -90
- package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +0 -6
- package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.js +2 -2
- package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
- package/lib/components/pay/toC/WalletPassBlock/index.js +1 -3
- package/lib/components/pay/toC/index.js +11 -53
- package/lib/components/pay/toC/locales.d.ts +0 -6
- package/lib/components/pay/toC/locales.js +3 -9
- package/lib/components/pay/toC/model.d.ts +1 -10
- package/lib/components/pay/toC/serve.d.ts +0 -18
- package/lib/components/pay/toC/serve.js +0 -6
- package/lib/components/pay/toC/utils.d.ts +2 -2
- package/lib/components/pay/toC/utils.js +0 -4
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
- package/lib/components/productExtension/index.d.ts +1 -0
- package/lib/components/productSelect/components/productGroup/index.d.ts +1 -0
- package/lib/components/productSelect/components/productGroup/index.js +1 -1
- package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
- package/lib/components/schedules/model.d.ts +1 -9
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
- package/lib/components/shoppingCart/components/Cart/Product.js +1 -1
- package/lib/components/shoppingCart/hooks/useAddService.d.ts +0 -1
- package/lib/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
- package/lib/components/systemSettings/registry/components/SectionList.js +1 -4
- package/lib/components/taxSelect/index.d.ts +1 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.js +7 -3
- package/lib/components/ticketBooking/components/addServiceVariant/addService.js +16 -46
- package/lib/components/ticketBooking/components/bookingDataPanel/index.js +2 -3
- package/lib/components/ticketBooking/components/ticketBooking/index.js +7 -21
- package/lib/components/ticketBooking/context/OsKeyContext.d.ts +0 -3
- package/lib/components/ticketBooking/context/OsKeyContext.js +3 -13
- package/lib/components/ticketBooking/context/index.d.ts +1 -1
- package/lib/components/ticketBooking/context/index.js +0 -2
- package/lib/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +1 -1
- package/lib/components/ticketBooking/hooks/pisellos/useCustomer.js +2 -3
- package/lib/components/ticketBooking/hooks/pisellos/useProducts.js +0 -59
- package/lib/components/ticketBooking/index.d.ts +0 -1
- package/lib/components/ticketBooking/index.js +1 -1
- package/lib/components/ticketBooking/utils/index.d.ts +1 -1
- package/lib/components/walletList/index.js +1 -5
- package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
- package/lib/index.d.ts +4 -7
- package/lib/index.js +6 -15
- package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +1 -0
- package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +1 -0
- package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
- package/lib/plus/clinetSearch/index.d.ts +0 -1
- package/lib/plus/clinetSearch/index.js +7 -31
- package/lib/plus/clinetSearch/locales.d.ts +0 -3
- package/lib/plus/clinetSearch/locales.js +3 -6
- package/lib/plus/clinetSearch/types.d.ts +0 -9
- package/lib/plus/myTeamLogin/MyTeamLoginCpt.d.ts +9 -0
- package/lib/plus/myTeamLogin/MyTeamLoginCpt.js +188 -0
- package/lib/plus/myTeamLogin/index.d.ts +11 -0
- package/lib/plus/myTeamLogin/index.js +198 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/index.js +3 -3
- package/lib/plus/productSelect/ProductList/gridComponents.d.ts +4 -6
- package/lib/plus/productSelect/ProductList/gridComponents.js +1 -7
- package/lib/plus/productSelect/index.d.ts +1 -3
- package/lib/plus/productSelect/index.js +11 -56
- package/lib/plus/saasCreateOrganization/index.d.ts +1 -0
- package/lib/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
- package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +0 -1
- package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +1 -0
- package/lib/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +0 -1
- package/lib/plus/skuOptionsSelection/components/OptionsModal/index.js +0 -1
- package/lib/plus/skuOptionsSelection/components/VariantCard/index.d.ts +0 -1
- package/lib/plus/skuOptionsSelection/components/VariantCard/index.js +0 -2
- package/lib/plus/skuOptionsSelection/locales.d.ts +0 -3
- package/lib/plus/skuOptionsSelection/locales.js +0 -3
- package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.js +0 -10
- package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.js +0 -10
- package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.js +0 -1
- package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.js +0 -2
- package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.js +0 -10
- package/lib/plus/walletPassGallery/components/passDetail/index.js +6 -24
- package/lib/plus/walletPassGallery/components/passList/index.d.ts +0 -1
- package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -2
- package/lib/plus/walletPassGallery/components/timelineSection/index.js +10 -17
- package/lib/plus/walletPassGallery/index.js +2 -2
- package/lib/plus/walletPassGallery/index.less +1 -1
- package/lib/plus/walletPassGallery/serve.d.ts +0 -8
- package/lib/plus/walletPassGallery/serve.js +8 -23
- package/lib/plus/webPosLogin/WebPosLogin.d.ts +2 -2
- package/lib/plus/webPosLogin/WebPosLogin.js +2 -7
- package/lib/plus/webPosLogin/components/LoginPanel/index.js +3 -0
- package/lib/plus/webPosLogin/components/MediaDisplay/index.js +1 -1
- package/lib/plus/webPosLogin/components/MediaDisplay/index.less +6 -10
- package/lib/plus/webPosLogin/service.js +1 -2
- package/lib/pro/Login2.0/AuthModal.js +7 -15
- package/lib/pro/Login2.0/Login2.js +15 -21
- package/lib/pro/Login2.0/components/LoginCodeInput.js +4 -26
- package/lib/pro/Login2.0/index.less +3 -15
- package/lib/pro/Login2.0/shared/types.d.ts +4 -0
- package/lib/pro/Login2.0/steps/CodeInput.js +5 -27
- package/lib/pro/NumericStepper/index.d.ts +1 -27
- package/lib/pro/NumericStepper/index.js +70 -73
- package/lib/pro/NumericStepper/index.less +136 -261
- package/lib/pro/Selector/Selector.js +4 -11
- package/lib/pro/Selector/demo.d.ts +1 -0
- package/lib/pro/Selector/hooks/usePresetItemProps.js +0 -2
- package/lib/pro/Selector/hooks/usePresetProps.js +2 -4
- package/lib/pro/Selector/types.d.ts +0 -1
- package/lib/pro/comprehensiveSearch/components/searchSection/locales.js +3 -3
- package/lib/pro/pisellNumberSelector/example.d.ts +3 -0
- package/lib/pro/pisellNumberSelector/example.js +93 -0
- package/lib/pro/pisellPaymentList/example.d.ts +0 -1
- package/lib/pro/priceKeyboard/components/cashKeyboard/CashKeyboardSimple.js +1 -2
- package/lib/pro/priceKeyboard/components/cashKeyboard/index.d.ts +1 -0
- package/lib/pro/priceKeyboard/components/discountKeyboard/index.js +1 -2
- package/lib/pro/priceKeyboard/components/paymentKeyboard/index.js +3 -6
- package/lib/pro/skuDetailModal/index.js +64 -117
- package/lib/pro/skuDetailModal/index.less +4 -46
- package/lib/pro/skuDetailModal/types.d.ts +0 -7
- package/lowcode/kiosk-sku-detail/meta.ts +94 -229
- package/lowcode/login2/meta.ts +20 -15
- package/lowcode/my-team-login/meta.ts +71 -0
- package/package.json +23 -8
- package/es/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +0 -3
- package/es/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.js +0 -82
- package/es/components/ecocup/components/AddCustomerModal/index.d.ts +0 -9
- package/es/components/ecocup/components/AddCustomerModal/index.js +0 -216
- package/es/components/ecocup/components/AddCustomerModal/index.less +0 -9
- package/es/components/ecocup/components/CupActionList/index.d.ts +0 -13
- package/es/components/ecocup/components/CupActionList/index.js +0 -91
- package/es/components/ecocup/components/CupActionList/index.less +0 -102
- package/es/components/ecocup/components/CupActionModal/hooks.d.ts +0 -5
- package/es/components/ecocup/components/CupActionModal/hooks.js +0 -68
- package/es/components/ecocup/components/CupActionModal/index.d.ts +0 -14
- package/es/components/ecocup/components/CupActionModal/index.js +0 -92
- package/es/components/ecocup/components/CupActionModal/index.less +0 -38
- package/es/components/ecocup/components/CupInfoCard/index.d.ts +0 -7
- package/es/components/ecocup/components/CupInfoCard/index.js +0 -12
- package/es/components/ecocup/components/CupInfoCard/index.less +0 -11
- package/es/components/ecocup/components/CupStatusModal/hooks.d.ts +0 -5
- package/es/components/ecocup/components/CupStatusModal/hooks.js +0 -68
- package/es/components/ecocup/components/CupStatusModal/index.d.ts +0 -13
- package/es/components/ecocup/components/CupStatusModal/index.js +0 -147
- package/es/components/ecocup/components/CupStatusModal/index.less +0 -35
- package/es/components/ecocup/components/CustomerAndCupModal/hooks.d.ts +0 -14
- package/es/components/ecocup/components/CustomerAndCupModal/hooks.js +0 -133
- package/es/components/ecocup/components/CustomerAndCupModal/index.d.ts +0 -16
- package/es/components/ecocup/components/CustomerAndCupModal/index.js +0 -227
- package/es/components/ecocup/components/CustomerAndCupModal/index.less +0 -68
- package/es/components/ecocup/components/CustomerCard/index.d.ts +0 -6
- package/es/components/ecocup/components/CustomerCard/index.js +0 -34
- package/es/components/ecocup/components/CustomerCard/index.less +0 -50
- package/es/components/ecocup/components/MoreDropdown/index.d.ts +0 -8
- package/es/components/ecocup/components/MoreDropdown/index.js +0 -33
- package/es/components/ecocup/components/PageHeader/index.d.ts +0 -6
- package/es/components/ecocup/components/PageHeader/index.js +0 -37
- package/es/components/ecocup/components/PageHeader/index.less +0 -19
- package/es/components/ecocup/components/SearchBar/const.d.ts +0 -4
- package/es/components/ecocup/components/SearchBar/const.js +0 -16
- package/es/components/ecocup/components/SearchBar/hooks.d.ts +0 -44
- package/es/components/ecocup/components/SearchBar/hooks.js +0 -184
- package/es/components/ecocup/components/SearchBar/index.d.ts +0 -12
- package/es/components/ecocup/components/SearchBar/index.js +0 -218
- package/es/components/ecocup/components/SearchBar/index.less +0 -88
- package/es/components/ecocup/cupList/const.d.ts +0 -133
- package/es/components/ecocup/cupList/const.js +0 -306
- package/es/components/ecocup/cupList/hooks/index.d.ts +0 -4
- package/es/components/ecocup/cupList/hooks/index.js +0 -4
- package/es/components/ecocup/cupList/hooks/useColumns.d.ts +0 -43
- package/es/components/ecocup/cupList/hooks/useColumns.js +0 -168
- package/es/components/ecocup/cupList/hooks/useCupApi.d.ts +0 -32
- package/es/components/ecocup/cupList/hooks/useSummary.d.ts +0 -2
- package/es/components/ecocup/cupList/hooks/useSummary.js +0 -40
- package/es/components/ecocup/cupList/index.d.ts +0 -6
- package/es/components/ecocup/cupList/index.js +0 -220
- package/es/components/ecocup/cupList/index.less +0 -113
- package/es/components/ecocup/cupProject/const.d.ts +0 -7
- package/es/components/ecocup/cupProject/const.js +0 -27
- package/es/components/ecocup/cupProject/index.d.ts +0 -3
- package/es/components/ecocup/cupProject/index.js +0 -103
- package/es/components/ecocup/cupProject/index.less +0 -41
- package/es/components/ecocup/customerList/const.d.ts +0 -44
- package/es/components/ecocup/customerList/const.js +0 -67
- package/es/components/ecocup/customerList/hooks/index.d.ts +0 -3
- package/es/components/ecocup/customerList/hooks/index.js +0 -3
- package/es/components/ecocup/customerList/hooks/useColumns.d.ts +0 -15
- package/es/components/ecocup/customerList/hooks/useColumns.js +0 -44
- package/es/components/ecocup/customerList/hooks/useCustomerApi.d.ts +0 -15
- package/es/components/ecocup/customerList/hooks/useCustomerApi.js +0 -70
- package/es/components/ecocup/customerList/index.d.ts +0 -7
- package/es/components/ecocup/customerList/index.js +0 -127
- package/es/components/ecocup/customerList/index.less +0 -15
- package/es/components/ecocup/hooks.d.ts +0 -49
- package/es/components/ecocup/hooks.js +0 -151
- package/es/components/ecocup/locales.d.ts +0 -339
- package/es/components/ecocup/locales.js +0 -372
- package/es/components/ecocup/types.d.ts +0 -103
- package/es/components/ecocup/types.js +0 -36
- package/es/components/ecocup/utils/scanListener.d.ts +0 -20
- package/es/components/ecocup/utils/scanListener.js +0 -107
- package/es/components/eftposPay/aggregatePayment/hooks/useMicropay.d.ts +0 -7
- package/es/components/eftposPay/aggregatePayment/hooks/useMicropay.js +0 -120
- package/es/components/eftposPay/aggregatePayment/index.d.ts +0 -3
- package/es/components/eftposPay/aggregatePayment/index.js +0 -3
- package/es/components/eftposPay/aggregatePayment/service.d.ts +0 -24
- package/es/components/eftposPay/aggregatePayment/service.js +0 -69
- package/es/components/eftposPay/aggregatePayment/types.d.ts +0 -106
- package/es/components/eftposPay/aggregatePayment/types.js +0 -65
- package/es/components/eftposPay/aggregatePayment/utils/logs.d.ts +0 -110
- package/es/components/eftposPay/aggregatePayment/utils/logs.js +0 -371
- package/es/components/eftposPay/aggregatePayment/utils/payment.d.ts +0 -139
- package/es/components/eftposPay/aggregatePayment/utils/payment.js +0 -1138
- package/es/components/eftposPay/huifu/Action.d.ts +0 -8
- package/es/components/eftposPay/huifu/Action.js +0 -146
- package/es/components/eftposPay/huifu/const.d.ts +0 -5
- package/es/components/eftposPay/huifu/const.js +0 -70
- package/es/components/eftposPay/huifu/hooks.d.ts +0 -25
- package/es/components/eftposPay/huifu/hooks.js +0 -184
- package/es/components/eftposPay/huifu/index.d.ts +0 -5
- package/es/components/eftposPay/huifu/index.js +0 -196
- package/es/components/eftposPay/huifu/index.less +0 -180
- package/es/components/eftposPay/huifu/types.d.ts +0 -14
- package/es/components/eftposPay/huifu/types.js +0 -1
- package/es/components/eventBooking/components/Voucher/components/Voucher.d.ts +0 -20
- package/es/components/eventBooking/components/Voucher/components/Voucher.js +0 -99
- package/es/components/eventBooking/components/Voucher/components/index.less +0 -124
- package/es/components/eventBooking/components/Voucher/components/locales.d.ts +0 -39
- package/es/components/eventBooking/components/Voucher/components/locales.js +0 -38
- package/es/components/eventBooking/components/Voucher/hooks.d.ts +0 -7
- package/es/components/eventBooking/components/Voucher/hooks.js +0 -212
- package/es/components/eventBooking/components/Voucher/index.d.ts +0 -2
- package/es/components/eventBooking/components/Voucher/index.js +0 -266
- package/es/components/pay/toC/PaymentList/payment/credit_card.png +0 -0
- package/es/components/pay/toC/PaymentList/payment/visa.png +0 -0
- package/es/plus/orderList/components/BatchActionBar.d.ts +0 -9
- package/es/plus/orderList/components/BatchActionBar.js +0 -835
- package/es/plus/orderList/components/FilterList.d.ts +0 -8
- package/es/plus/orderList/components/FilterList.js +0 -78
- package/es/plus/orderList/components/HandleActions.d.ts +0 -5
- package/es/plus/orderList/components/HandleActions.js +0 -27
- package/es/plus/orderList/components/QuickFilter.d.ts +0 -4
- package/es/plus/orderList/components/QuickFilter.js +0 -14
- package/es/plus/orderList/components/Reset.d.ts +0 -6
- package/es/plus/orderList/components/Reset.js +0 -23
- package/es/plus/orderList/components/Toolbar.d.ts +0 -6
- package/es/plus/orderList/components/Toolbar.js +0 -59
- package/es/plus/orderList/config.d.ts +0 -154
- package/es/plus/orderList/config.js +0 -786
- package/es/plus/orderList/index.d.ts +0 -10
- package/es/plus/orderList/index.js +0 -133
- package/es/plus/orderList/index.less +0 -125
- package/es/plus/orderList/locales.d.ts +0 -372
- package/es/plus/orderList/locales.js +0 -459
- package/es/plus/orderList/serve.d.ts +0 -42
- package/es/plus/orderList/serve.js +0 -351
- package/es/pro/keyboards/index.d.ts +0 -2
- package/es/pro/keyboards/index.js +0 -1
- package/es/pro/keyboards/locales.d.ts +0 -24
- package/es/pro/keyboards/locales.js +0 -35
- package/es/pro/keyboards/numberKeyboard/index.d.ts +0 -16
- package/es/pro/keyboards/numberKeyboard/index.js +0 -523
- package/es/pro/keyboards/numberKeyboard/index.less +0 -59
- package/es/pro/keyboards/numberKeyboard/types.d.ts +0 -63
- package/es/pro/keyboards/numberKeyboard/types.js +0 -1
- package/lib/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +0 -3
- package/lib/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.js +0 -89
- package/lib/components/ecocup/components/AddCustomerModal/index.d.ts +0 -9
- package/lib/components/ecocup/components/AddCustomerModal/index.js +0 -212
- package/lib/components/ecocup/components/AddCustomerModal/index.less +0 -9
- package/lib/components/ecocup/components/CupActionList/index.d.ts +0 -13
- package/lib/components/ecocup/components/CupActionList/index.js +0 -116
- package/lib/components/ecocup/components/CupActionList/index.less +0 -102
- package/lib/components/ecocup/components/CupActionModal/hooks.d.ts +0 -5
- package/lib/components/ecocup/components/CupActionModal/hooks.js +0 -55
- package/lib/components/ecocup/components/CupActionModal/index.d.ts +0 -14
- package/lib/components/ecocup/components/CupActionModal/index.js +0 -125
- package/lib/components/ecocup/components/CupActionModal/index.less +0 -38
- package/lib/components/ecocup/components/CupInfoCard/index.d.ts +0 -7
- package/lib/components/ecocup/components/CupInfoCard/index.js +0 -43
- package/lib/components/ecocup/components/CupInfoCard/index.less +0 -11
- package/lib/components/ecocup/components/CupStatusModal/hooks.d.ts +0 -5
- package/lib/components/ecocup/components/CupStatusModal/hooks.js +0 -55
- package/lib/components/ecocup/components/CupStatusModal/index.d.ts +0 -13
- package/lib/components/ecocup/components/CupStatusModal/index.js +0 -140
- package/lib/components/ecocup/components/CupStatusModal/index.less +0 -35
- package/lib/components/ecocup/components/CustomerAndCupModal/hooks.d.ts +0 -14
- package/lib/components/ecocup/components/CustomerAndCupModal/hooks.js +0 -89
- package/lib/components/ecocup/components/CustomerAndCupModal/index.d.ts +0 -16
- package/lib/components/ecocup/components/CustomerAndCupModal/index.js +0 -178
- package/lib/components/ecocup/components/CustomerAndCupModal/index.less +0 -68
- package/lib/components/ecocup/components/CustomerCard/index.d.ts +0 -6
- package/lib/components/ecocup/components/CustomerCard/index.js +0 -48
- package/lib/components/ecocup/components/CustomerCard/index.less +0 -50
- package/lib/components/ecocup/components/MoreDropdown/index.d.ts +0 -8
- package/lib/components/ecocup/components/MoreDropdown/index.js +0 -68
- package/lib/components/ecocup/components/PageHeader/index.d.ts +0 -6
- package/lib/components/ecocup/components/PageHeader/index.js +0 -59
- package/lib/components/ecocup/components/PageHeader/index.less +0 -19
- package/lib/components/ecocup/components/SearchBar/const.d.ts +0 -4
- package/lib/components/ecocup/components/SearchBar/const.js +0 -50
- package/lib/components/ecocup/components/SearchBar/hooks.d.ts +0 -44
- package/lib/components/ecocup/components/SearchBar/hooks.js +0 -135
- package/lib/components/ecocup/components/SearchBar/index.d.ts +0 -12
- package/lib/components/ecocup/components/SearchBar/index.js +0 -213
- package/lib/components/ecocup/components/SearchBar/index.less +0 -88
- package/lib/components/ecocup/cupList/const.d.ts +0 -133
- package/lib/components/ecocup/cupList/const.js +0 -326
- package/lib/components/ecocup/cupList/hooks/index.d.ts +0 -4
- package/lib/components/ecocup/cupList/hooks/index.js +0 -39
- package/lib/components/ecocup/cupList/hooks/useColumns.d.ts +0 -43
- package/lib/components/ecocup/cupList/hooks/useColumns.js +0 -202
- package/lib/components/ecocup/cupList/hooks/useCupApi.d.ts +0 -32
- package/lib/components/ecocup/cupList/hooks/useCupApi.js +0 -112
- package/lib/components/ecocup/cupList/hooks/useSummary.d.ts +0 -2
- package/lib/components/ecocup/cupList/hooks/useSummary.js +0 -75
- package/lib/components/ecocup/cupList/index.d.ts +0 -6
- package/lib/components/ecocup/cupList/index.js +0 -208
- package/lib/components/ecocup/cupList/index.less +0 -113
- package/lib/components/ecocup/cupProject/const.d.ts +0 -7
- package/lib/components/ecocup/cupProject/const.js +0 -58
- package/lib/components/ecocup/cupProject/index.d.ts +0 -3
- package/lib/components/ecocup/cupProject/index.js +0 -126
- package/lib/components/ecocup/cupProject/index.less +0 -41
- package/lib/components/ecocup/customerList/const.d.ts +0 -44
- package/lib/components/ecocup/customerList/const.js +0 -93
- package/lib/components/ecocup/customerList/hooks/index.d.ts +0 -3
- package/lib/components/ecocup/customerList/hooks/index.js +0 -32
- package/lib/components/ecocup/customerList/hooks/useColumns.d.ts +0 -15
- package/lib/components/ecocup/customerList/hooks/useColumns.js +0 -89
- package/lib/components/ecocup/customerList/hooks/useCustomerApi.d.ts +0 -15
- package/lib/components/ecocup/customerList/hooks/useCustomerApi.js +0 -56
- package/lib/components/ecocup/customerList/index.d.ts +0 -7
- package/lib/components/ecocup/customerList/index.js +0 -138
- package/lib/components/ecocup/customerList/index.less +0 -15
- package/lib/components/ecocup/hooks.d.ts +0 -49
- package/lib/components/ecocup/hooks.js +0 -155
- package/lib/components/ecocup/locales.d.ts +0 -339
- package/lib/components/ecocup/locales.js +0 -389
- package/lib/components/ecocup/types.d.ts +0 -103
- package/lib/components/ecocup/types.js +0 -57
- package/lib/components/ecocup/utils/scanListener.d.ts +0 -20
- package/lib/components/ecocup/utils/scanListener.js +0 -90
- package/lib/components/eftposPay/aggregatePayment/hooks/useMicropay.d.ts +0 -7
- package/lib/components/eftposPay/aggregatePayment/hooks/useMicropay.js +0 -133
- package/lib/components/eftposPay/aggregatePayment/index.d.ts +0 -3
- package/lib/components/eftposPay/aggregatePayment/index.js +0 -42
- package/lib/components/eftposPay/aggregatePayment/service.d.ts +0 -24
- package/lib/components/eftposPay/aggregatePayment/service.js +0 -81
- package/lib/components/eftposPay/aggregatePayment/types.d.ts +0 -106
- package/lib/components/eftposPay/aggregatePayment/types.js +0 -74
- package/lib/components/eftposPay/aggregatePayment/utils/logs.d.ts +0 -110
- package/lib/components/eftposPay/aggregatePayment/utils/logs.js +0 -294
- package/lib/components/eftposPay/aggregatePayment/utils/payment.d.ts +0 -139
- package/lib/components/eftposPay/aggregatePayment/utils/payment.js +0 -752
- package/lib/components/eftposPay/huifu/Action.d.ts +0 -8
- package/lib/components/eftposPay/huifu/Action.js +0 -174
- package/lib/components/eftposPay/huifu/const.d.ts +0 -5
- package/lib/components/eftposPay/huifu/const.js +0 -86
- package/lib/components/eftposPay/huifu/hooks.d.ts +0 -25
- package/lib/components/eftposPay/huifu/hooks.js +0 -186
- package/lib/components/eftposPay/huifu/index.d.ts +0 -5
- package/lib/components/eftposPay/huifu/index.js +0 -200
- package/lib/components/eftposPay/huifu/index.less +0 -180
- package/lib/components/eftposPay/huifu/types.d.ts +0 -14
- package/lib/components/eftposPay/huifu/types.js +0 -17
- package/lib/components/eventBooking/components/Voucher/components/Voucher.d.ts +0 -20
- package/lib/components/eventBooking/components/Voucher/components/Voucher.js +0 -116
- package/lib/components/eventBooking/components/Voucher/components/index.less +0 -124
- package/lib/components/eventBooking/components/Voucher/components/locales.d.ts +0 -39
- package/lib/components/eventBooking/components/Voucher/components/locales.js +0 -59
- package/lib/components/eventBooking/components/Voucher/hooks.d.ts +0 -7
- package/lib/components/eventBooking/components/Voucher/hooks.js +0 -176
- package/lib/components/eventBooking/components/Voucher/index.d.ts +0 -2
- package/lib/components/eventBooking/components/Voucher/index.js +0 -197
- package/lib/components/pay/toC/PaymentList/payment/credit_card.png +0 -0
- package/lib/components/pay/toC/PaymentList/payment/visa.png +0 -0
- package/lib/plus/orderList/components/BatchActionBar.d.ts +0 -9
- package/lib/plus/orderList/components/BatchActionBar.js +0 -567
- package/lib/plus/orderList/components/FilterList.d.ts +0 -8
- package/lib/plus/orderList/components/FilterList.js +0 -121
- package/lib/plus/orderList/components/HandleActions.d.ts +0 -5
- package/lib/plus/orderList/components/HandleActions.js +0 -52
- package/lib/plus/orderList/components/QuickFilter.d.ts +0 -4
- package/lib/plus/orderList/components/QuickFilter.js +0 -43
- package/lib/plus/orderList/components/Reset.d.ts +0 -6
- package/lib/plus/orderList/components/Reset.js +0 -58
- package/lib/plus/orderList/components/Toolbar.d.ts +0 -6
- package/lib/plus/orderList/components/Toolbar.js +0 -68
- package/lib/plus/orderList/config.d.ts +0 -154
- package/lib/plus/orderList/config.js +0 -766
- package/lib/plus/orderList/index.d.ts +0 -10
- package/lib/plus/orderList/index.js +0 -132
- package/lib/plus/orderList/index.less +0 -125
- package/lib/plus/orderList/locales.d.ts +0 -372
- package/lib/plus/orderList/locales.js +0 -471
- package/lib/plus/orderList/serve.d.ts +0 -42
- package/lib/plus/orderList/serve.js +0 -177
- package/lib/pro/keyboards/index.d.ts +0 -2
- package/lib/pro/keyboards/index.js +0 -39
- package/lib/pro/keyboards/locales.d.ts +0 -24
- package/lib/pro/keyboards/locales.js +0 -47
- package/lib/pro/keyboards/numberKeyboard/index.d.ts +0 -16
- package/lib/pro/keyboards/numberKeyboard/index.js +0 -400
- package/lib/pro/keyboards/numberKeyboard/index.less +0 -59
- package/lib/pro/keyboards/numberKeyboard/types.d.ts +0 -63
- package/lib/pro/keyboards/numberKeyboard/types.js +0 -17
- package/lowcode/eco-cup-list/meta.ts +0 -63
- package/lowcode/eco-customer-list/meta.ts +0 -63
- package/lowcode/ecocup-cup-list/meta.ts +0 -38
- package/lowcode/ecocup-cup-project/meta.ts +0 -35
- package/lowcode/ecocup-customer-list/meta.ts +0 -38
- package/lowcode/order-list/meta.ts +0 -87
|
@@ -260,7 +260,7 @@ export var CartProvider = function CartProvider(_ref) {
|
|
|
260
260
|
var createCartItemData = function createCartItemData() {
|
|
261
261
|
var _cartData = getCurrentData().cartData;
|
|
262
262
|
if (_cartData.currentCartItem) {
|
|
263
|
-
var _eventDetail$bookingO, _eventItem$eventDetai, _startDateInfo$times, _eventItem$eventDetai2, _endDateInfo$times, _eventItem$eventDetai3
|
|
263
|
+
var _eventDetail$bookingO, _eventItem$eventDetai, _startDateInfo$times, _eventItem$eventDetai2, _endDateInfo$times, _eventItem$eventDetai3;
|
|
264
264
|
var _ref2 = _cartData.currentCartItem || {},
|
|
265
265
|
_id = _ref2._id,
|
|
266
266
|
_ref2$eventItem = _ref2.eventItem,
|
|
@@ -278,26 +278,15 @@ export var CartProvider = function CartProvider(_ref) {
|
|
|
278
278
|
var endTime = endDateInfo === null || endDateInfo === void 0 || (_endDateInfo$times = endDateInfo.times) === null || _endDateInfo$times === void 0 || (_endDateInfo$times = _endDateInfo$times.slice(-1)) === null || _endDateInfo$times === void 0 || (_endDateInfo$times = _endDateInfo$times[0]) === null || _endDateInfo$times === void 0 ? void 0 : _endDateInfo$times.end_at;
|
|
279
279
|
var num = 1;
|
|
280
280
|
var _handleProductInfo = handleProductInfo(eventDetail, num),
|
|
281
|
-
price = _handleProductInfo.price,
|
|
282
281
|
totalPrice = _handleProductInfo.totalPrice,
|
|
283
282
|
originTotal = _handleProductInfo.originTotal,
|
|
284
283
|
is_charge_tax = _handleProductInfo.is_charge_tax;
|
|
285
|
-
var transformProduct = function transformProduct(_temp) {
|
|
286
|
-
var _temp$variant;
|
|
287
|
-
if (!(_temp !== null && _temp !== void 0 && (_temp$variant = _temp.variant) !== null && _temp$variant !== void 0 && _temp$variant.length)) {
|
|
288
|
-
return _objectSpread(_objectSpread({}, _temp || {}), {}, {
|
|
289
|
-
variant: []
|
|
290
|
-
});
|
|
291
|
-
}
|
|
292
|
-
return _temp;
|
|
293
|
-
};
|
|
294
284
|
var newCartItem = {
|
|
295
285
|
_id: _id,
|
|
296
286
|
id: _eventItem.id,
|
|
297
287
|
name: _eventItem.title,
|
|
298
|
-
price:
|
|
288
|
+
price: totalPrice,
|
|
299
289
|
// eventBooking中售价和总价保持一致,因为数量为1
|
|
300
|
-
origin_price: price,
|
|
301
290
|
total: totalPrice,
|
|
302
291
|
// 排除原始价格为0的场景
|
|
303
292
|
origin_total: isNaN(originTotal) || originTotal === 0 ? undefined : originTotal,
|
|
@@ -318,10 +307,6 @@ export var CartProvider = function CartProvider(_ref) {
|
|
|
318
307
|
end_time: endTime ? dayjs(endTime || '').format('HH:mm') : '',
|
|
319
308
|
custom_day_count: (_eventItem === null || _eventItem === void 0 || (_eventItem$eventDetai3 = _eventItem.eventDetail) === null || _eventItem$eventDetai3 === void 0 || (_eventItem$eventDetai3 = _eventItem$eventDetai3.selectDate) === null || _eventItem$eventDetai3 === void 0 || (_eventItem$eventDetai3 = _eventItem$eventDetai3.dates) === null || _eventItem$eventDetai3 === void 0 ? void 0 : _eventItem$eventDetai3.length) || 0,
|
|
320
309
|
is_charge_tax: is_charge_tax,
|
|
321
|
-
selectedBundle: eventDetail === null || eventDetail === void 0 || (_eventDetail$productD = eventDetail.productDetail) === null || _eventDetail$productD === void 0 ? void 0 : _eventDetail$productD.bundle,
|
|
322
|
-
selectedOptions: eventDetail === null || eventDetail === void 0 || (_eventDetail$productD2 = eventDetail.productDetail) === null || _eventDetail$productD2 === void 0 ? void 0 : _eventDetail$productD2.options,
|
|
323
|
-
isNormalProduct: true,
|
|
324
|
-
// 是否是普通商品,eventBooking中接入的都是普通商品
|
|
325
310
|
_originData: _objectSpread(_objectSpread({}, _cartData.currentCartItem._originData), {}, {
|
|
326
311
|
product: {
|
|
327
312
|
num: 1,
|
|
@@ -342,9 +327,7 @@ export var CartProvider = function CartProvider(_ref) {
|
|
|
342
327
|
},
|
|
343
328
|
event_unique_identifier: _id // 传递给接口用于商品可用性检测的比对
|
|
344
329
|
}),
|
|
345
|
-
_productDetail: eventDetail.productDetail
|
|
346
|
-
_productOrigin: transformProduct((eventDetail === null || eventDetail === void 0 || (_eventDetail$productD3 = eventDetail.productDetail) === null || _eventDetail$productD3 === void 0 ? void 0 : _eventDetail$productD3.origin) || bookingOptionData),
|
|
347
|
-
_productInit: transformProduct((eventDetail === null || eventDetail === void 0 || (_eventDetail$productD4 = eventDetail.productDetail) === null || _eventDetail$productD4 === void 0 ? void 0 : _eventDetail$productD4.origin) || bookingOptionData)
|
|
330
|
+
_productDetail: eventDetail.productDetail
|
|
348
331
|
};
|
|
349
332
|
|
|
350
333
|
// 处理定金
|
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
import Decimal from 'decimal.js';
|
|
2
2
|
import { ICalculatePriceParams } from './types';
|
|
3
3
|
export declare const handleProductInfo: (eventDetail: any, num: number) => {
|
|
4
|
-
price: number;
|
|
5
4
|
totalPrice: number;
|
|
6
5
|
originTotal: any;
|
|
7
6
|
is_charge_tax: any;
|
|
8
7
|
};
|
|
9
|
-
/**
|
|
10
|
-
* 获取商品价格
|
|
11
|
-
*/
|
|
12
|
-
export declare const getPrice: (params: ICalculatePriceParams) => number;
|
|
13
8
|
/**
|
|
14
9
|
* 获取商品总价
|
|
15
10
|
* @description 当前总价计算基于商品数量为1
|
|
@@ -9,7 +9,6 @@ export var handleProductInfo = function handleProductInfo(eventDetail, num) {
|
|
|
9
9
|
var productDetail = eventDetail.productDetail,
|
|
10
10
|
bookingOptionItem = eventDetail.bookingOptionItem;
|
|
11
11
|
var normalProduct = bookingOptionItem === null || bookingOptionItem === void 0 ? void 0 : bookingOptionItem._originData;
|
|
12
|
-
var price = Number((normalProduct === null || normalProduct === void 0 ? void 0 : normalProduct.price) || 0);
|
|
13
12
|
var totalPrice = Number((normalProduct === null || normalProduct === void 0 ? void 0 : normalProduct.price) || '');
|
|
14
13
|
var originTotal = Number((normalProduct === null || normalProduct === void 0 ? void 0 : normalProduct.original_price) || '');
|
|
15
14
|
var is_charge_tax = normalProduct === null || normalProduct === void 0 ? void 0 : normalProduct.is_charge_tax;
|
|
@@ -35,31 +34,16 @@ export var handleProductInfo = function handleProductInfo(eventDetail, num) {
|
|
|
35
34
|
options: options,
|
|
36
35
|
num: num
|
|
37
36
|
};
|
|
38
|
-
price = getPrice(params);
|
|
39
37
|
totalPrice = getTotalPrice(params);
|
|
40
38
|
originTotal = getOriginTotalPrice(params);
|
|
41
39
|
}
|
|
42
40
|
return {
|
|
43
|
-
price: price,
|
|
44
41
|
totalPrice: totalPrice,
|
|
45
42
|
originTotal: originTotal,
|
|
46
43
|
is_charge_tax: is_charge_tax
|
|
47
44
|
};
|
|
48
45
|
};
|
|
49
46
|
|
|
50
|
-
/**
|
|
51
|
-
* 获取商品价格
|
|
52
|
-
*/
|
|
53
|
-
export var getPrice = function getPrice(params) {
|
|
54
|
-
var product = params.product,
|
|
55
|
-
variant = params.variant;
|
|
56
|
-
var price = Number(product.price);
|
|
57
|
-
if (variant) {
|
|
58
|
-
price = Number(variant === null || variant === void 0 ? void 0 : variant.price);
|
|
59
|
-
}
|
|
60
|
-
return price;
|
|
61
|
-
};
|
|
62
|
-
|
|
63
47
|
/**
|
|
64
48
|
* 获取商品总价
|
|
65
49
|
* @description 当前总价计算基于商品数量为1
|
|
@@ -30,7 +30,7 @@ export declare const calculateSubtotal: (items: CartItem[]) => string;
|
|
|
30
30
|
* @return {*}
|
|
31
31
|
* @Author: xiangfeng.xue
|
|
32
32
|
*/
|
|
33
|
-
export declare const calculateTaxFee: (shopInfo: any, items: CartItem[]) =>
|
|
33
|
+
export declare const calculateTaxFee: (shopInfo: any, items: CartItem[]) => "0.00" | Decimal;
|
|
34
34
|
/**
|
|
35
35
|
* 计算所有价格明细
|
|
36
36
|
* @param items - 购物车商品数组
|
|
@@ -9,10 +9,9 @@ export var calculateSubtotal = function calculateSubtotal(items) {
|
|
|
9
9
|
return '0.00';
|
|
10
10
|
}
|
|
11
11
|
var subtotal = items.reduce(function (sum, item) {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
return sum.plus(item.total || 0);
|
|
12
|
+
var price = new Decimal(item.price || 0);
|
|
13
|
+
var quantity = new Decimal(item.quantity || 1);
|
|
14
|
+
return sum.plus(price.times(quantity));
|
|
16
15
|
}, new Decimal(0));
|
|
17
16
|
return subtotal.toFixed(2);
|
|
18
17
|
};
|
|
@@ -34,7 +33,7 @@ export var calculateTaxFee = function calculateTaxFee(shopInfo, items) {
|
|
|
34
33
|
tax_rate = _ref.tax_rate;
|
|
35
34
|
console.log('shopInfo>>>', is_price_include_tax, tax_rate);
|
|
36
35
|
var totalTaxFee = items.reduce(function (sum, item) {
|
|
37
|
-
var price = new Decimal(item.
|
|
36
|
+
var price = new Decimal(item.price || 0);
|
|
38
37
|
var taxRate = new Decimal(tax_rate || 0).div(100);
|
|
39
38
|
var productTaxRate = price.times(taxRate).times((item === null || item === void 0 ? void 0 : item.is_charge_tax) || 0).div(taxRate.times(is_price_include_tax || 0).plus(1));
|
|
40
39
|
return sum.plus(productTaxRate);
|
|
@@ -71,7 +71,7 @@ var Header = function Header() {
|
|
|
71
71
|
var handleBack = /*#__PURE__*/function () {
|
|
72
72
|
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
73
73
|
var _currentStep$step4;
|
|
74
|
-
var key, types, form_key, booking_form, prevStepData, currentStepData, _key
|
|
74
|
+
var key, types, form_key, booking_form, prevStepData, currentStepData, _key;
|
|
75
75
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
76
76
|
while (1) switch (_context.prev = _context.next) {
|
|
77
77
|
case 0:
|
|
@@ -130,9 +130,9 @@ var Header = function Header() {
|
|
|
130
130
|
isSkip: false
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
if (
|
|
133
|
+
|
|
134
|
+
// 如果前一步是选择服务步骤,则移除表单和资源开头的步骤, 防止每个商品配置的资源不一样,导致步骤会有上次的数据
|
|
135
|
+
if ((prevStepData === null || prevStepData === void 0 ? void 0 : prevStepData.key) === 'select-service') {
|
|
136
136
|
stepList.forEach(function (item) {
|
|
137
137
|
if (item.key.startsWith('select-resource_') || item.key.startsWith('fill-form_')) {
|
|
138
138
|
removeStep(item.key);
|
|
@@ -141,13 +141,13 @@ var Header = function Header() {
|
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
// 如果前一步是选择资源,则清空表单步骤,不然表单步骤会累加
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
144
|
+
if ((prevStepData === null || prevStepData === void 0 ? void 0 : prevStepData.key) === 'select-resource') {
|
|
145
|
+
stepList.forEach(function (item) {
|
|
146
|
+
if (item.key.startsWith('fill-form_')) {
|
|
147
|
+
removeStep(item.key);
|
|
148
|
+
}
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
151
|
|
|
152
152
|
// 再次将步骤更新为false, 增加这个判断为了跳过那一步没有设置holder,但是直接后退了
|
|
153
153
|
// if (
|
|
@@ -160,7 +160,7 @@ var Header = function Header() {
|
|
|
160
160
|
// isSkip: false,
|
|
161
161
|
// });
|
|
162
162
|
// }
|
|
163
|
-
case
|
|
163
|
+
case 13:
|
|
164
164
|
case "end":
|
|
165
165
|
return _context.stop();
|
|
166
166
|
}
|
|
@@ -9,13 +9,12 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
|
9
9
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
10
10
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
11
11
|
import React, { useEffect, useState, forwardRef, useImperativeHandle } from 'react';
|
|
12
|
-
import { Iconfont } from '@pisell/materials';
|
|
12
|
+
import { Iconfont, PisellEmpty } from '@pisell/materials';
|
|
13
13
|
import { locales } from '@pisell/utils';
|
|
14
14
|
import { useAppointmentBookingContext } from "../../context";
|
|
15
15
|
import { scrollToFirstErrorCard } from "../Resource/utils";
|
|
16
16
|
import { useAppointmentBookingResource, useAppointmentBookingStep } from "../../hooks";
|
|
17
17
|
import { Toast } from "../../utils";
|
|
18
|
-
import SelectDate from "./components/SelectDateOS";
|
|
19
18
|
import "./index.less";
|
|
20
19
|
var TimeSlicing = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
21
20
|
var _useState = useState(''),
|
|
@@ -33,10 +32,6 @@ var TimeSlicing = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
33
32
|
getResourceList = _useAppointmentBookin.getResourceList;
|
|
34
33
|
var _useAppointmentBookin2 = useAppointmentBookingStep(),
|
|
35
34
|
nextStep = _useAppointmentBookin2.nextStep;
|
|
36
|
-
var _useState3 = useState(undefined),
|
|
37
|
-
_useState4 = _slicedToArray(_useState3, 2),
|
|
38
|
-
currentDate = _useState4[0],
|
|
39
|
-
setCurrentDate = _useState4[1];
|
|
40
35
|
useImperativeHandle(ref, function () {
|
|
41
36
|
return {
|
|
42
37
|
next: function next() {
|
|
@@ -107,45 +102,7 @@ var TimeSlicing = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
107
102
|
return _ref3.apply(this, arguments);
|
|
108
103
|
};
|
|
109
104
|
}();
|
|
110
|
-
|
|
111
|
-
var getCurrentDate = /*#__PURE__*/function () {
|
|
112
|
-
var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
|
|
113
|
-
var _res$;
|
|
114
|
-
var res, date;
|
|
115
|
-
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
116
|
-
while (1) switch (_context3.prev = _context3.next) {
|
|
117
|
-
case 0:
|
|
118
|
-
_context3.next = 2;
|
|
119
|
-
return appointmentBooking.getDateRange();
|
|
120
|
-
case 2:
|
|
121
|
-
res = _context3.sent;
|
|
122
|
-
date = res === null || res === void 0 || (_res$ = res[0]) === null || _res$ === void 0 ? void 0 : _res$.date;
|
|
123
|
-
setCurrentDate(date);
|
|
124
|
-
case 5:
|
|
125
|
-
case "end":
|
|
126
|
-
return _context3.stop();
|
|
127
|
-
}
|
|
128
|
-
}, _callee3);
|
|
129
|
-
}));
|
|
130
|
-
return function getCurrentDate() {
|
|
131
|
-
return _ref4.apply(this, arguments);
|
|
132
|
-
};
|
|
133
|
-
}();
|
|
134
|
-
getCurrentDate();
|
|
135
|
-
}, []);
|
|
136
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(SelectDate, {
|
|
137
|
-
onDateChange: function onDateChange(currentData) {
|
|
138
|
-
if ((times === null || times === void 0 ? void 0 : times.length) > 0) {
|
|
139
|
-
// 如果已经选择了日期,再触发选择,则清空上次选择的时间
|
|
140
|
-
appointmentBooking.deleteCartItemInfo('time');
|
|
141
|
-
}
|
|
142
|
-
setCurrentDate(currentData === null || currentData === void 0 ? void 0 : currentData.date);
|
|
143
|
-
appointmentBooking.setDateRange([currentData]);
|
|
144
|
-
getResourceTimeSlot();
|
|
145
|
-
},
|
|
146
|
-
times: times,
|
|
147
|
-
currentDate: currentDate
|
|
148
|
-
}), (times === null || times === void 0 ? void 0 : times.length) > 0 ? /*#__PURE__*/React.createElement("div", {
|
|
105
|
+
return (times === null || times === void 0 ? void 0 : times.length) > 0 ? /*#__PURE__*/React.createElement("div", {
|
|
149
106
|
className: 'appointment-time-slicing-wrap'
|
|
150
107
|
}, times.map(function (item, index) {
|
|
151
108
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -158,6 +115,8 @@ var TimeSlicing = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
158
115
|
type: "pisell2-chevron-right",
|
|
159
116
|
className: "icon"
|
|
160
117
|
}));
|
|
161
|
-
})) :
|
|
118
|
+
})) : /*#__PURE__*/React.createElement(PisellEmpty, {
|
|
119
|
+
description: locales.getText('pisell2.appointment.unselect.time')
|
|
120
|
+
});
|
|
162
121
|
});
|
|
163
122
|
export default TimeSlicing;
|
|
@@ -28,8 +28,6 @@ import { PisellInput, PisellGoodPassCard, PisellText, PisellToast } from '@pisel
|
|
|
28
28
|
import { useAppointmentBooking, useShopDiscount, useAppointmentBookingLogin, useAppointmentBookingAccount } from "../../hooks";
|
|
29
29
|
import "../../../booking/components/voucher/index.less";
|
|
30
30
|
import "./index.less";
|
|
31
|
-
import { useDebounceFn } from 'ahooks';
|
|
32
|
-
import { useAppointmentBookingContext } from "../../context";
|
|
33
31
|
var ShopDiscountHooks = {
|
|
34
32
|
onInited: 'shopDiscount:onInited',
|
|
35
33
|
onDestroy: 'shopDiscount:onDestroy',
|
|
@@ -71,19 +69,11 @@ var VoucherCard = function VoucherCard(props) {
|
|
|
71
69
|
openLoginModal = _useAppointmentBookin.openLoginModal;
|
|
72
70
|
var _useAppointmentBookin2 = useAppointmentBookingAccount(),
|
|
73
71
|
accountLists = _useAppointmentBookin2.accountLists;
|
|
74
|
-
var _useAppointmentBookin3 = useAppointmentBookingContext(),
|
|
75
|
-
summary = _useAppointmentBookin3.summary;
|
|
76
|
-
var originTotal = summary.originTotal,
|
|
77
|
-
total = summary.total;
|
|
78
72
|
var cart = appointmentBooking === null || appointmentBooking === void 0 || (_appointmentBooking$s = appointmentBooking.store) === null || _appointmentBooking$s === void 0 ? void 0 : _appointmentBooking$s.cart;
|
|
79
73
|
var isUserLoggedIn = useMemo(function () {
|
|
80
74
|
var _utils$token, _utils$token$get;
|
|
81
75
|
return !!(utils !== null && utils !== void 0 && (_utils$token = utils.token) !== null && _utils$token !== void 0 && (_utils$token$get = _utils$token.get) !== null && _utils$token$get !== void 0 && _utils$token$get.call(_utils$token)) || false;
|
|
82
76
|
}, [store]);
|
|
83
|
-
useEffect(function () {
|
|
84
|
-
var shopDiscount = pisellos.getModule('shopDiscount');
|
|
85
|
-
shopDiscount.setOriginTotalAmount(originTotal);
|
|
86
|
-
}, [originTotal]);
|
|
87
77
|
var availableData = useMemo(function () {
|
|
88
78
|
return discountList.filter(function (item) {
|
|
89
79
|
return !!item.isAvailable;
|
|
@@ -105,12 +95,6 @@ var VoucherCard = function VoucherCard(props) {
|
|
|
105
95
|
useEffect(function () {
|
|
106
96
|
shopDiscount.setProductList(products);
|
|
107
97
|
}, [products]);
|
|
108
|
-
var _useDebounceFn = useDebounceFn(function () {
|
|
109
|
-
onCartChangeFn();
|
|
110
|
-
}, {
|
|
111
|
-
wait: 300
|
|
112
|
-
}),
|
|
113
|
-
onCartChange = _useDebounceFn.run;
|
|
114
98
|
var batchUpdateCart = function batchUpdateCart(productList) {
|
|
115
99
|
var _appointmentBooking$b;
|
|
116
100
|
var items = productList.map(function (item) {
|
|
@@ -126,13 +110,10 @@ var VoucherCard = function VoucherCard(props) {
|
|
|
126
110
|
});
|
|
127
111
|
appointmentBooking === null || appointmentBooking === void 0 || (_appointmentBooking$b = appointmentBooking.batchUpdateCart) === null || _appointmentBooking$b === void 0 || _appointmentBooking$b.call(appointmentBooking, items);
|
|
128
112
|
};
|
|
129
|
-
var
|
|
130
|
-
var _shopDiscount$setBook, _appointmentBooking$o
|
|
113
|
+
var onCartChange = function onCartChange() {
|
|
114
|
+
var _shopDiscount$setBook, _appointmentBooking$o;
|
|
131
115
|
var products = cart === null || cart === void 0 ? void 0 : cart.getItems();
|
|
132
116
|
shopDiscount === null || shopDiscount === void 0 || (_shopDiscount$setBook = shopDiscount.setBookingSubject) === null || _shopDiscount$setBook === void 0 || _shopDiscount$setBook.call(shopDiscount, appointmentBooking === null || appointmentBooking === void 0 || (_appointmentBooking$o = appointmentBooking.otherParams) === null || _appointmentBooking$o === void 0 || (_appointmentBooking$o = _appointmentBooking$o.bookingSetting) === null || _appointmentBooking$o === void 0 ? void 0 : _appointmentBooking$o.bookingSubject);
|
|
133
|
-
if (Array.isArray(shopDiscount === null || shopDiscount === void 0 || (_shopDiscount$getDisc = shopDiscount.getDiscountList) === null || _shopDiscount$getDisc === void 0 ? void 0 : _shopDiscount$getDisc.call(shopDiscount)) && !(shopDiscount !== null && shopDiscount !== void 0 && shopDiscount.getDiscountList().length)) {
|
|
134
|
-
return;
|
|
135
|
-
}
|
|
136
117
|
var val = shopDiscount.calcDiscount(products);
|
|
137
118
|
batchUpdateCart(val.productList);
|
|
138
119
|
};
|
|
@@ -172,7 +153,7 @@ var VoucherCard = function VoucherCard(props) {
|
|
|
172
153
|
// // apply code
|
|
173
154
|
var onScanCode = /*#__PURE__*/function () {
|
|
174
155
|
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
175
|
-
var customerId, val
|
|
156
|
+
var customerId, val;
|
|
176
157
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
177
158
|
while (1) switch (_context.prev = _context.next) {
|
|
178
159
|
case 0:
|
|
@@ -185,11 +166,8 @@ var VoucherCard = function VoucherCard(props) {
|
|
|
185
166
|
batchUpdateCart(val.productList);
|
|
186
167
|
setCode('');
|
|
187
168
|
} else {
|
|
188
|
-
content = {
|
|
189
|
-
time_limit: locales.getText('pisell2.text.goodpass.code-invalid-expired')
|
|
190
|
-
};
|
|
191
169
|
PisellToast({
|
|
192
|
-
content: val.type === 'server' ? locales.getText('pisell2.text.goodpass.code-invalid') :
|
|
170
|
+
content: val.type === 'server' ? locales.getText('pisell2.text.goodpass.code-invalid') : locales.getText('pisell2.text.goodpass.code-invalid-cart')
|
|
193
171
|
});
|
|
194
172
|
}
|
|
195
173
|
case 5:
|
|
@@ -221,6 +199,7 @@ var VoucherCard = function VoucherCard(props) {
|
|
|
221
199
|
// const user = utils.store?.getState()?.global?.userInfo;
|
|
222
200
|
// const currentUser = formatCustomer(user);
|
|
223
201
|
// const meAccount = accountLists?.find((d: any) => !d?.isGuest);
|
|
202
|
+
|
|
224
203
|
// if (status === 'success') {
|
|
225
204
|
// // appointmentBooking.setLoginAccount(
|
|
226
205
|
// // meAccount?.id,
|
|
@@ -72,7 +72,7 @@ export declare const useAppointmentBookingAccount: () => {
|
|
|
72
72
|
export declare const useAppointmentBookingResource: () => {
|
|
73
73
|
getResourceTimeSlot: (index?: number) => Promise<void>;
|
|
74
74
|
getResourceList: () => {
|
|
75
|
-
resources: any
|
|
75
|
+
resources: any;
|
|
76
76
|
resourceCodes: any;
|
|
77
77
|
};
|
|
78
78
|
};
|
|
@@ -17,7 +17,7 @@ import { useState, useEffect, useMemo } from 'react';
|
|
|
17
17
|
import { locales } from '@pisell/utils';
|
|
18
18
|
import { usePisellOS } from "../../hooks/useEngineContext";
|
|
19
19
|
import useEngineContext from "../../hooks/useEngineContext";
|
|
20
|
-
import {
|
|
20
|
+
import { sortResources, getCustomer, currentAppointmentBoard, currentRenderLists, getFormInsertBeforeKey, checkAndGoNext, checkAndMarkCartRenderError, formatHolder, Toast } from "./utils";
|
|
21
21
|
import { useAppointmentBookingContext } from "./context";
|
|
22
22
|
import { scrollToFirstErrorCard } from "./components/Resource/utils";
|
|
23
23
|
export var useAppointmentBooking = function useAppointmentBooking() {
|
|
@@ -809,13 +809,20 @@ export var useAppointmentBookingResource = function useAppointmentBookingResourc
|
|
|
809
809
|
|
|
810
810
|
// 设置资源列表
|
|
811
811
|
var getResourceList = function getResourceList() {
|
|
812
|
+
var _resources2;
|
|
812
813
|
var resources = appointmentBooking.getResourcesList();
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
814
|
+
resources = resources.map(function (item) {
|
|
815
|
+
return _objectSpread(_objectSpread({}, item), {}, {
|
|
816
|
+
resources: sortResources((item === null || item === void 0 ? void 0 : item.resources) || [], resourceSort)
|
|
817
|
+
});
|
|
818
|
+
});
|
|
819
|
+
var _resources = ((_resources2 = resources) === null || _resources2 === void 0 || (_resources2 = _resources2[0]) === null || _resources2 === void 0 ? void 0 : _resources2.resources) || [];
|
|
820
|
+
var resourceCodes = _resources.map(function (item) {
|
|
821
|
+
return item.code;
|
|
822
|
+
});
|
|
823
|
+
setResources(resources || []);
|
|
817
824
|
return {
|
|
818
|
-
resources:
|
|
825
|
+
resources: resources,
|
|
819
826
|
resourceCodes: resourceCodes
|
|
820
827
|
};
|
|
821
828
|
};
|
|
@@ -115,7 +115,6 @@ declare const _default: {
|
|
|
115
115
|
'pisell2.text.goodpass.enter-code': string;
|
|
116
116
|
'pisell2.text.goodpass.code-invalid': string;
|
|
117
117
|
'pisell2.text.goodpass.code-invalid-cart': string;
|
|
118
|
-
'pisell2.text.goodpass.code-invalid-expired': string;
|
|
119
118
|
'pisell2.text.goodpass.login': string;
|
|
120
119
|
'pisell2.text.goodpass.login-tip': string;
|
|
121
120
|
'pisell2.text.contact-info.title': string;
|
|
@@ -236,7 +235,6 @@ declare const _default: {
|
|
|
236
235
|
'pisell2.text.goodpass.enter-code': string;
|
|
237
236
|
'pisell2.text.goodpass.code-invalid': string;
|
|
238
237
|
'pisell2.text.goodpass.code-invalid-cart': string;
|
|
239
|
-
'pisell2.text.goodpass.code-invalid-expired': string;
|
|
240
238
|
'pisell2.text.goodpass.login': string;
|
|
241
239
|
'pisell2.text.goodpass.login-tip': string;
|
|
242
240
|
'pisell2.text.contact-info.title': string;
|
|
@@ -357,7 +355,6 @@ declare const _default: {
|
|
|
357
355
|
'pisell2.text.goodpass.enter-code': string;
|
|
358
356
|
'pisell2.text.goodpass.code-invalid': string;
|
|
359
357
|
'pisell2.text.goodpass.code-invalid-cart': string;
|
|
360
|
-
'pisell2.text.goodpass.code-invalid-expired': string;
|
|
361
358
|
'pisell2.text.goodpass.login': string;
|
|
362
359
|
'pisell2.text.goodpass.login-tip': string;
|
|
363
360
|
'pisell2.text.contact-info.title': string;
|
|
@@ -133,7 +133,6 @@ export default {
|
|
|
133
133
|
'pisell2.text.goodpass.enter-code': 'Enter Code',
|
|
134
134
|
'pisell2.text.goodpass.code-invalid': 'Current code is invalid',
|
|
135
135
|
'pisell2.text.goodpass.code-invalid-cart': 'No eligible items in the cart',
|
|
136
|
-
'pisell2.text.goodpass.code-invalid-expired': 'Current coupon is not valid in use',
|
|
137
136
|
'pisell2.text.goodpass.login': 'Login',
|
|
138
137
|
'pisell2.text.goodpass.login-tip': ' for member benefit Or use account credit',
|
|
139
138
|
'pisell2.text.contact-info.title': 'Contact info'
|
|
@@ -272,7 +271,6 @@ export default {
|
|
|
272
271
|
'pisell2.text.goodpass.enter-code': '请输入券码',
|
|
273
272
|
'pisell2.text.goodpass.code-invalid': '当前券码不可用',
|
|
274
273
|
'pisell2.text.goodpass.code-invalid-cart': '当前购物车中无可用商品',
|
|
275
|
-
'pisell2.text.goodpass.code-invalid-expired': '当前优惠券不在使用期限内',
|
|
276
274
|
'pisell2.text.goodpass.login': '登录',
|
|
277
275
|
'pisell2.text.goodpass.login-tip': '以获取会员福利或使用账户积分',
|
|
278
276
|
'pisell2.text.contact-info.title': '联系信息'
|
|
@@ -411,7 +409,6 @@ export default {
|
|
|
411
409
|
'pisell2.text.goodpass.enter-code': '請輸入券碼',
|
|
412
410
|
'pisell2.text.goodpass.code-invalid': '當前券碼不可用',
|
|
413
411
|
'pisell2.text.goodpass.code-invalid-cart': '當前購物車中無可用商品',
|
|
414
|
-
'pisell2.text.goodpass.code-invalid-expired': '當前優惠券不在使用期限內',
|
|
415
412
|
'pisell2.text.goodpass.login': '登錄',
|
|
416
413
|
'pisell2.text.goodpass.login-tip': '以獲取會員福利或使用賬戶積分',
|
|
417
414
|
'pisell2.text.contact-info.title': '聯繫信息'
|
|
@@ -39,19 +39,6 @@ export declare const formatCarts: (data: any[], resources: any[], utils: any, ac
|
|
|
39
39
|
* @Date: 2025-04-14 11:16
|
|
40
40
|
*/
|
|
41
41
|
export declare const sortResources: (resources: any[], resourceSort: any[]) => any[] | undefined;
|
|
42
|
-
/**
|
|
43
|
-
* @title: 处理资源列表并提取资源代码
|
|
44
|
-
* @description: 对资源列表进行排序,并提取 resourceCodes
|
|
45
|
-
* @param {any[]} resources - 原始资源列表
|
|
46
|
-
* @param {any[]} resourceSort - 资源排序配置
|
|
47
|
-
* @return {*} 返回处理后的资源列表和资源代码数组
|
|
48
|
-
* @Author: WangHan
|
|
49
|
-
* @Date: 2025-11-21 15:33
|
|
50
|
-
*/
|
|
51
|
-
export declare const processResourceList: (resources: any[], resourceSort: any[]) => {
|
|
52
|
-
resources: any[];
|
|
53
|
-
resourceCodes: any;
|
|
54
|
-
};
|
|
55
42
|
export declare const getMeAccount: (val: any[]) => any;
|
|
56
43
|
export declare const getCustomer: (utils: any) => any;
|
|
57
44
|
export declare const formatCustomer: (val: any) => {
|
|
@@ -214,13 +201,3 @@ export declare const currentRenderLists: (resources: any[], code: any) => any;
|
|
|
214
201
|
* @Date: 2025-05-25 23:17
|
|
215
202
|
*/
|
|
216
203
|
export declare const updateCartResources: (item: any, value?: any, currentSelectedResources?: any) => any;
|
|
217
|
-
/**
|
|
218
|
-
* @title: 根据步骤key清空数据
|
|
219
|
-
* @param {string} key - 当前步骤的key
|
|
220
|
-
* @param {any} appointmentBooking - 预约预订实例
|
|
221
|
-
* @param {(times: any[]) => void} setTimes - 设置时间列表的回调函数
|
|
222
|
-
* @return {string[]} 返回需要清空的数据类型数组
|
|
223
|
-
* @Author: WangHan
|
|
224
|
-
* @Date: 2025-11-21 15:40
|
|
225
|
-
*/
|
|
226
|
-
export declare const clearDataByStepKey: (key: string, appointmentBooking: any, setTimes?: ((times: any[]) => void) | undefined) => string[] | undefined;
|