@pisell/private-materials 6.3.9 → 6.3.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +13 -13
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.js +8 -8
- package/es/businessModel/SalesModel/Sales/index.d.ts +24 -0
- package/es/businessModel/SalesModel/hooks/index.d.ts +1 -0
- package/es/businessModel/SalesModel/index.d.ts +4 -0
- package/es/businessModel/index.d.ts +0 -0
- package/es/components/Sales/Cart/serve.d.ts +2 -0
- package/es/components/Sales/Cart/types.d.ts +31 -0
- package/es/components/Sales/Cart/utils.d.ts +63 -0
- package/es/components/Sales/Checkout/index.d.ts +37 -0
- package/es/components/Sales/Checkout/serve.d.ts +15 -0
- package/es/components/Sales/Checkout/utils.d.ts +41 -0
- package/es/components/Sales/Customer/index.d.ts +25 -0
- package/es/components/Sales/Event/Detail.d.ts +30 -0
- package/es/components/Sales/Event/index.d.ts +30 -0
- package/es/components/Sales/Event/serve.d.ts +49 -0
- package/es/components/Sales/Holder/index.d.ts +33 -0
- package/es/components/Sales/Holder/serve.d.ts +8 -0
- package/es/components/Sales/Init/index.d.ts +25 -0
- package/es/components/Sales/Init/serve.d.ts +3 -0
- package/es/components/Sales/Resource/index.d.ts +26 -0
- package/es/components/Sales/Resource/serve.d.ts +12 -0
- package/es/components/Sales/Step/index.d.ts +39 -0
- package/es/components/Sales/Summary/index.d.ts +35 -0
- package/es/components/Sales/Summary/serve.d.ts +1 -0
- package/es/components/Sales/Summary/utils.d.ts +51 -0
- package/es/components/Sales/hooks/index.d.ts +1 -0
- package/es/components/Sales/index.d.ts +20 -0
- package/es/components/Sales/utils/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Cart/utils.d.ts +56 -0
- package/es/components/appointmentBooking/components/ConfirmInformation/utils.d.ts +12 -0
- package/es/components/appointmentBooking/components/Date/state.d.ts +63 -0
- package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Form/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Form/utils.d.ts +8 -0
- package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Resource/utils.d.ts +5 -0
- package/es/components/appointmentBooking/context.d.ts +35 -0
- package/es/components/appointmentBooking/locales.d.ts +360 -0
- package/es/components/appointmentBooking/type.d.ts +17 -0
- package/es/components/booking/components/TabProduct/index.d.ts +1 -0
- package/es/components/booking/components/TabProduct/tabs/index.js +5 -1
- package/es/components/booking/components/browserSelect/index.js +1 -1
- package/es/components/booking/components/drawer/index.d.ts +19 -0
- package/es/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
- package/es/components/booking/components/tabPane/index.d.ts +4 -0
- package/es/components/booking/components/voucher/utils.d.ts +4 -0
- package/es/components/booking/editBookingModal/locales.d.ts +21 -0
- package/es/components/booking/editBookingModal/mock.d.ts +807 -0
- package/es/components/booking/editBookingModal/serve.d.ts +52 -0
- package/es/components/booking/editBookingModal/type.d.ts +12 -0
- package/es/components/booking/editBookingModal/utils.d.ts +12 -0
- package/es/components/booking/forms/model.js +5 -5
- package/es/components/booking/forms/table/index.d.ts +1 -0
- package/es/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
- package/es/components/booking/info/Provider.d.ts +0 -0
- package/es/components/booking/info/addServiceVariant/index.d.ts +7 -0
- package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/es/components/booking/info/dateRange/index.d.ts +0 -1
- package/es/components/booking/info/hooks/useGetHolderList.d.ts +2 -0
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
- package/es/components/booking/info/index.d.ts +4 -0
- package/es/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
- package/es/components/booking/info/service/editService/constants.d.ts +1 -0
- package/es/components/booking/info/service/like/index.d.ts +1 -0
- package/es/components/booking/info/service/like/index.js +1 -1
- package/es/components/booking/info/service/serviceManager/distributeDiscount.d.ts +11 -0
- package/es/components/booking/info/service/serviceManager/utils.d.ts +0 -0
- package/es/components/booking/info/service2/Lists.d.ts +1 -0
- package/es/components/booking/info/service2/hooks/useSelectPet.d.ts +6 -0
- package/es/components/booking/info/service2/utils.d.ts +1 -1
- package/es/components/booking/info2/service/addService/utils.js +1 -16
- package/es/components/booking/info2/service/editService/Resources/MaxLengthSelect/index.d.ts +7 -0
- package/es/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.d.ts +7 -0
- package/es/components/booking/info2/utils.d.ts +4 -0
- package/es/components/booking/locales.d.ts +831 -0
- package/es/components/booking/materiels/holder/index.d.ts +1 -0
- package/es/components/booking/materiels/startTime/index.d.ts +1 -0
- package/es/components/booking/notes/NoteBlock/NoteItem/index.js +1 -1
- package/es/components/booking/notes/NoteBlock/index.js +11 -11
- package/es/components/booking/notes/model.js +5 -5
- package/es/components/booking/payments/model.js +5 -5
- package/es/components/eftpos/deviceList/index.d.ts +1 -0
- package/es/components/eftpos/form/index.d.ts +1 -0
- package/es/components/eftpos/group/index.d.ts +1 -0
- package/es/components/eftpos/hooks.d.ts +1 -0
- package/es/components/eftpos/icon/apiKey.d.ts +1 -0
- package/es/components/eftpos/icon/device.d.ts +1 -0
- package/es/components/eftpos/receipt/index.d.ts +1 -0
- package/es/components/eftpos/surcharge/index.d.ts +1 -0
- package/es/components/eftposPay/amount.d.ts +1 -1
- package/es/components/eftposPay/app.d.ts +1 -0
- package/es/components/eftposPay/component/alert/warn.d.ts +1 -0
- package/es/components/eftposPay/component/header/titlebar.d.ts +1 -0
- package/es/components/eftposPay/component/step/index.d.ts +1 -0
- package/es/components/eftposPay/component/step/step.d.ts +1 -0
- package/es/components/eftposPay/const.d.ts +184 -0
- package/es/components/eftposPay/device.d.ts +1 -1
- package/es/components/eftposPay/hooks.d.ts +1 -1
- package/es/components/eftposPay/linkly/hooks/index.d.ts +2 -0
- package/es/components/eftposPay/linkly/service.d.ts +32 -0
- package/es/components/eftposPay/locales.d.ts +330 -0
- package/es/components/eftposPay/manufacturer.d.ts +7 -0
- package/es/components/eftposPay/store/index.d.ts +355 -0
- package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +3 -0
- package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +4 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.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/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +4 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +5 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +4 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.d.ts +63 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/index.d.ts +14 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/utils.d.ts +34 -0
- package/es/components/eventBooking/components/progressBar/index.js +20 -0
- package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
- package/es/components/eventBooking/components/scheduleCalendar/index.d.ts +14 -0
- package/es/components/eventBooking/locales.d.ts +246 -0
- package/es/components/eventBooking/type.d.ts +17 -0
- package/es/components/eventBooking/utils.d.ts +45 -0
- package/es/components/listComponent/index.js +5 -5
- package/es/components/login/locales.d.ts +24 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/GooglePay/index.js +20 -7
- 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/StripeSDK/index.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/Stripe/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.js +12 -2
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.js +31 -24
- package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +113 -0
- package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
- package/es/components/pay/toC/locales.d.ts +289 -0
- package/es/components/pay/toC/utils.d.ts +1 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +3 -0
- package/es/components/productExtension/card/index.js +3 -3
- package/es/components/productExtension/fields/Actor/CutOffTime/index.js +1 -1
- package/es/components/productExtension/fields/Actor/index.d.ts +1 -0
- package/es/components/productExtension/fields/Forms/index.d.ts +1 -0
- package/es/components/productExtension/fields/Forms/index.js +12 -12
- package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.js +1 -1
- package/es/components/productExtension/fields/SelectProducts/server.js +2 -2
- package/es/components/productExtension/fields/SelectResourcesTable/server.js +2 -2
- package/es/components/productExtension/server.js +2 -2
- package/es/components/productSelect/components/TabProduct/tabs/index.d.ts +21 -0
- package/es/components/productSelect/hooks/useToken.d.ts +18 -0
- package/es/components/productSelect/locales.d.ts +18 -0
- package/es/components/productSelect/mock.d.ts +134 -0
- package/es/components/productSelect/theme/token.d.ts +17 -0
- package/es/components/ruleSetting/ruleBorder/index.js +1 -1
- package/es/components/schedules/calendar/calendarItem.d.ts +1 -0
- package/es/components/schedules/calendar/index.js +4 -4
- package/es/components/schedules/calendar/serve.js +2 -2
- package/es/components/schedules/components/CurrentDay/index.d.ts +1 -0
- package/es/components/schedules/components/CurrentDay/index.js +5 -5
- package/es/components/schedules/components/CurrentDay/serve.js +2 -2
- package/es/components/schedules/components/DropdownSort/index.js +1 -1
- package/es/components/schedules/components/ResourceList/index.js +1 -1
- package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
- package/es/components/schedules/components/Search/index.js +5 -5
- package/es/components/schedules/model.js +5 -5
- package/es/components/schedules/openHours/index.js +1 -1
- package/es/components/schedules/openHours/serve.js +2 -2
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.js +1 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.js +5 -5
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.js +4 -4
- package/es/components/schedules/products/ProductDetailDrawer/index.js +3 -3
- package/es/components/schedules/products/index.d.ts +1 -0
- package/es/components/schedules/products/serve.js +2 -2
- package/es/components/schedules/products/utils.js +5 -5
- package/es/components/schedules/resources/detail/detailContent.js +2 -2
- package/es/components/schedules/resources/detail/index.js +10 -10
- package/es/components/schedules/resources/list/index.js +2 -2
- package/es/components/schedules/resources/relationProduct/index.d.ts +1 -0
- package/es/components/schedules/resources/relationProduct/index.js +1 -1
- package/es/components/schedules/resources/serve.js +2 -2
- package/es/components/schedules/schedules/ScheduleDetailDrawer/index.js +9 -9
- package/es/components/schedules/utils.d.ts +1 -1
- package/es/components/schedules/utils.js +4 -4
- package/es/components/selectModal/index.js +2 -2
- package/es/components/shoppingCart/Provider.d.ts +3 -0
- package/es/components/shoppingCart/components/Cart/Product.d.ts +0 -1
- package/es/components/shoppingCart/components/Empty/index.d.ts +4 -0
- package/es/components/shoppingCart/components/Render/index.d.ts +4 -0
- package/es/components/shoppingCart/hooks/useContext.d.ts +1 -0
- package/es/components/shoppingCart/locales.d.ts +33 -0
- package/es/components/shoppingCart/mock.d.ts +40 -0
- package/es/components/shoppingCart/type.d.ts +48 -0
- package/es/components/shoppingCart/utils.d.ts +63 -0
- package/es/components/stepController/components/Content/index.d.ts +7 -0
- package/es/components/stepController/components/Footer/index.d.ts +8 -0
- package/es/components/stepController/locales.d.ts +27 -0
- package/es/components/stepController/types.d.ts +23 -0
- package/es/components/subTotal/locales.d.ts +42 -0
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +7 -0
- package/es/components/ticketBooking/data.d.ts +58 -0
- package/es/components/ticketBooking/hooks/useNetworkStatus.d.ts +11 -0
- package/es/components/ticketBooking/locales.d.ts +174 -0
- package/es/components/ticketBooking/miniRedux.d.ts +22 -0
- package/es/components/ticketBooking/serve.d.ts +287 -0
- package/es/components/wallet/Detail/index.js +2 -2
- package/es/components/wallet/Detail/locales.d.ts +96 -0
- package/es/components/wallet/Detail/serve.d.ts +39 -0
- package/es/components/wallet/RechargeableCard/serve.d.ts +23 -0
- package/es/components/wallet/Voucher/locales.d.ts +21 -0
- package/es/components/wallet/components/WalletCard.js +3 -2
- package/es/components/wallet/components/index.d.ts +2 -0
- package/es/components/wallet/locales.d.ts +132 -0
- package/es/components/walletList/locales.d.ts +18 -0
- package/es/components/walletList/model.d.ts +6 -0
- package/es/components/walletList/serve.d.ts +20 -0
- package/es/components/walletList/types/index.d.ts +194 -0
- package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
- package/es/components/workSpaceList/components/Card/constants.d.ts +2 -0
- package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
- package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
- package/es/components/workSpaceList/components/WorkspaceItem/index.d.ts +22 -0
- package/es/hooks/useComponents.js +1 -1
- package/es/hooks/useEngineContext.d.ts +10 -0
- package/es/hooks/useLocale.d.ts +2 -0
- package/es/hooks/useLoginUser.d.ts +2 -0
- package/es/hooks/useWindowSize.d.ts +5 -0
- package/es/plus/productSelect/CategoryTabs/CategorySkeleton.d.ts +10 -0
- package/es/plus/productSelect/CategoryTabs/index.d.ts +18 -0
- package/es/plus/productSelect/ProductCard/ProductCardSkeleton.d.ts +10 -0
- package/es/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
- package/es/plus/productSelect/ProductList/index.d.ts +22 -0
- package/es/plus/productSelect/components/IntersectionObserver.d.ts +42 -0
- package/es/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
- package/es/plus/productSelect/components/TabsStructure/hooks.d.ts +22 -0
- package/es/plus/productSelect/components/TabsStructure/index.d.ts +5 -0
- package/es/plus/productSelect/components/TabsStructure/styles.d.ts +47 -0
- package/es/plus/productSelect/components/TabsStructure/types.d.ts +105 -0
- package/es/plus/productSelect/components/TabsStructure/utils.d.ts +12 -0
- package/es/plus/productSelect/hooks/useToken.d.ts +18 -0
- package/es/plus/productSelect/locales.d.ts +18 -0
- package/es/plus/productSelect/theme/token.d.ts +17 -0
- package/es/utils/date.d.ts +11 -0
- package/es/utils/index.d.ts +1 -1
- package/es/utils/locales.d.ts +1 -0
- package/es/utils/tasks/type.d.ts +4 -0
- package/lib/businessModel/SalesModel/Sales/index.d.ts +24 -0
- package/lib/businessModel/SalesModel/hooks/index.d.ts +1 -0
- package/lib/businessModel/SalesModel/index.d.ts +4 -0
- package/lib/businessModel/index.d.ts +0 -0
- package/lib/components/Sales/Cart/serve.d.ts +2 -0
- package/lib/components/Sales/Cart/types.d.ts +31 -0
- package/lib/components/Sales/Cart/utils.d.ts +63 -0
- package/lib/components/Sales/Checkout/index.d.ts +37 -0
- package/lib/components/Sales/Checkout/serve.d.ts +15 -0
- package/lib/components/Sales/Checkout/utils.d.ts +41 -0
- package/lib/components/Sales/Customer/index.d.ts +25 -0
- package/lib/components/Sales/Event/Detail.d.ts +30 -0
- package/lib/components/Sales/Event/index.d.ts +30 -0
- package/lib/components/Sales/Event/serve.d.ts +49 -0
- package/lib/components/Sales/Holder/index.d.ts +33 -0
- package/lib/components/Sales/Holder/serve.d.ts +8 -0
- package/lib/components/Sales/Init/index.d.ts +25 -0
- package/lib/components/Sales/Init/serve.d.ts +3 -0
- package/lib/components/Sales/Resource/index.d.ts +26 -0
- package/lib/components/Sales/Resource/serve.d.ts +12 -0
- package/lib/components/Sales/Step/index.d.ts +39 -0
- package/lib/components/Sales/Summary/index.d.ts +35 -0
- package/lib/components/Sales/Summary/serve.d.ts +1 -0
- package/lib/components/Sales/Summary/utils.d.ts +51 -0
- package/lib/components/Sales/hooks/index.d.ts +1 -0
- package/lib/components/Sales/index.d.ts +20 -0
- package/lib/components/Sales/utils/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Cart/utils.d.ts +56 -0
- package/lib/components/appointmentBooking/components/ConfirmInformation/utils.d.ts +12 -0
- package/lib/components/appointmentBooking/components/Date/state.d.ts +63 -0
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Form/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Form/utils.d.ts +8 -0
- package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Resource/utils.d.ts +5 -0
- package/lib/components/appointmentBooking/context.d.ts +35 -0
- package/lib/components/appointmentBooking/locales.d.ts +360 -0
- package/lib/components/appointmentBooking/type.d.ts +17 -0
- package/lib/components/booking/components/TabProduct/index.d.ts +1 -0
- package/lib/components/booking/components/drawer/index.d.ts +19 -0
- package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
- package/lib/components/booking/components/tabPane/index.d.ts +4 -0
- package/lib/components/booking/components/voucher/utils.d.ts +4 -0
- package/lib/components/booking/editBookingModal/locales.d.ts +21 -0
- package/lib/components/booking/editBookingModal/mock.d.ts +807 -0
- package/lib/components/booking/editBookingModal/serve.d.ts +52 -0
- package/lib/components/booking/editBookingModal/type.d.ts +12 -0
- package/lib/components/booking/editBookingModal/utils.d.ts +12 -0
- package/lib/components/booking/forms/table/index.d.ts +1 -0
- package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
- package/lib/components/booking/info/Provider.d.ts +0 -0
- package/lib/components/booking/info/addServiceVariant/index.d.ts +7 -0
- package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/lib/components/booking/info/dateRange/index.d.ts +0 -1
- package/lib/components/booking/info/hooks/useGetHolderList.d.ts +2 -0
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
- package/lib/components/booking/info/index.d.ts +4 -0
- package/lib/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
- package/lib/components/booking/info/service/editService/constants.d.ts +1 -0
- package/lib/components/booking/info/service/like/index.d.ts +1 -0
- package/lib/components/booking/info/service/serviceManager/distributeDiscount.d.ts +11 -0
- package/lib/components/booking/info/service/serviceManager/utils.d.ts +0 -0
- package/lib/components/booking/info/service2/Lists.d.ts +1 -0
- package/lib/components/booking/info/service2/hooks/useSelectPet.d.ts +6 -0
- package/lib/components/booking/info/service2/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/addService/utils.js +3 -15
- package/lib/components/booking/info2/service/editService/Resources/MaxLengthSelect/index.d.ts +7 -0
- package/lib/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.d.ts +7 -0
- package/lib/components/booking/info2/utils.d.ts +4 -0
- package/lib/components/booking/locales.d.ts +831 -0
- package/lib/components/booking/materiels/holder/index.d.ts +1 -0
- package/lib/components/booking/materiels/startTime/index.d.ts +1 -0
- package/lib/components/eftpos/deviceList/index.d.ts +1 -0
- package/lib/components/eftpos/form/index.d.ts +1 -0
- package/lib/components/eftpos/group/index.d.ts +1 -0
- package/lib/components/eftpos/hooks.d.ts +1 -0
- package/lib/components/eftpos/icon/apiKey.d.ts +1 -0
- package/lib/components/eftpos/icon/device.d.ts +1 -0
- package/lib/components/eftpos/receipt/index.d.ts +1 -0
- package/lib/components/eftpos/surcharge/index.d.ts +1 -0
- package/lib/components/eftposPay/amount.d.ts +1 -1
- package/lib/components/eftposPay/app.d.ts +1 -0
- package/lib/components/eftposPay/component/alert/warn.d.ts +1 -0
- package/lib/components/eftposPay/component/header/titlebar.d.ts +1 -0
- package/lib/components/eftposPay/component/step/index.d.ts +1 -0
- package/lib/components/eftposPay/component/step/step.d.ts +1 -0
- package/lib/components/eftposPay/const.d.ts +184 -0
- package/lib/components/eftposPay/device.d.ts +1 -1
- package/lib/components/eftposPay/hooks.d.ts +1 -1
- package/lib/components/eftposPay/linkly/hooks/index.d.ts +2 -0
- package/lib/components/eftposPay/linkly/service.d.ts +32 -0
- package/lib/components/eftposPay/locales.d.ts +330 -0
- package/lib/components/eftposPay/manufacturer.d.ts +7 -0
- package/lib/components/eftposPay/store/index.d.ts +355 -0
- package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +3 -0
- package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +4 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.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/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +4 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +5 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +4 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.d.ts +63 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/index.d.ts +14 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/utils.d.ts +34 -0
- package/lib/components/eventBooking/components/progressBar/index.js +18 -0
- package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
- package/lib/components/eventBooking/components/scheduleCalendar/index.d.ts +14 -0
- package/lib/components/eventBooking/locales.d.ts +246 -0
- package/lib/components/eventBooking/type.d.ts +17 -0
- package/lib/components/eventBooking/utils.d.ts +45 -0
- package/lib/components/login/locales.d.ts +24 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/GooglePay/index.js +11 -7
- 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/StripeSDK/index.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/Stripe/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.js +9 -2
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.js +6 -2
- package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +113 -0
- package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
- package/lib/components/pay/toC/locales.d.ts +289 -0
- package/lib/components/pay/toC/utils.d.ts +1 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +3 -0
- package/lib/components/productExtension/fields/Actor/index.d.ts +1 -0
- package/lib/components/productExtension/fields/Forms/index.d.ts +1 -0
- package/lib/components/productSelect/components/TabProduct/tabs/index.d.ts +21 -0
- package/lib/components/productSelect/hooks/useToken.d.ts +18 -0
- package/lib/components/productSelect/locales.d.ts +18 -0
- package/lib/components/productSelect/mock.d.ts +134 -0
- package/lib/components/productSelect/theme/token.d.ts +17 -0
- package/lib/components/schedules/calendar/calendarItem.d.ts +1 -0
- package/lib/components/schedules/components/CurrentDay/index.d.ts +1 -0
- package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
- package/lib/components/schedules/products/index.d.ts +1 -0
- package/lib/components/schedules/resources/relationProduct/index.d.ts +1 -0
- package/lib/components/schedules/utils.d.ts +1 -1
- package/lib/components/schedules/utils.js +1 -1
- package/lib/components/shoppingCart/Provider.d.ts +3 -0
- package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -1
- package/lib/components/shoppingCart/components/Empty/index.d.ts +4 -0
- package/lib/components/shoppingCart/components/Render/index.d.ts +4 -0
- package/lib/components/shoppingCart/hooks/useContext.d.ts +1 -0
- package/lib/components/shoppingCart/locales.d.ts +33 -0
- package/lib/components/shoppingCart/mock.d.ts +40 -0
- package/lib/components/shoppingCart/type.d.ts +48 -0
- package/lib/components/shoppingCart/utils.d.ts +63 -0
- package/lib/components/stepController/components/Content/index.d.ts +7 -0
- package/lib/components/stepController/components/Footer/index.d.ts +8 -0
- package/lib/components/stepController/locales.d.ts +27 -0
- package/lib/components/stepController/types.d.ts +23 -0
- package/lib/components/subTotal/locales.d.ts +42 -0
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +7 -0
- package/lib/components/ticketBooking/data.d.ts +58 -0
- package/lib/components/ticketBooking/hooks/useNetworkStatus.d.ts +11 -0
- package/lib/components/ticketBooking/locales.d.ts +174 -0
- package/lib/components/ticketBooking/miniRedux.d.ts +22 -0
- package/lib/components/ticketBooking/serve.d.ts +287 -0
- package/lib/components/wallet/Detail/index.js +3 -3
- package/lib/components/wallet/Detail/locales.d.ts +96 -0
- package/lib/components/wallet/Detail/serve.d.ts +39 -0
- package/lib/components/wallet/RechargeableCard/serve.d.ts +23 -0
- package/lib/components/wallet/Voucher/locales.d.ts +21 -0
- package/lib/components/wallet/components/WalletCard.js +1 -1
- package/lib/components/wallet/components/index.d.ts +2 -0
- package/lib/components/wallet/locales.d.ts +132 -0
- package/lib/components/walletList/locales.d.ts +18 -0
- package/lib/components/walletList/model.d.ts +6 -0
- package/lib/components/walletList/serve.d.ts +20 -0
- package/lib/components/walletList/types/index.d.ts +194 -0
- package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
- package/lib/components/workSpaceList/components/Card/constants.d.ts +2 -0
- package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
- package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
- package/lib/components/workSpaceList/components/WorkspaceItem/index.d.ts +22 -0
- package/lib/hooks/useEngineContext.d.ts +10 -0
- package/lib/hooks/useLocale.d.ts +2 -0
- package/lib/hooks/useLoginUser.d.ts +2 -0
- package/lib/hooks/useWindowSize.d.ts +5 -0
- package/lib/plus/productSelect/CategoryTabs/CategorySkeleton.d.ts +10 -0
- package/lib/plus/productSelect/CategoryTabs/index.d.ts +18 -0
- package/lib/plus/productSelect/ProductCard/ProductCardSkeleton.d.ts +10 -0
- package/lib/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
- package/lib/plus/productSelect/ProductList/index.d.ts +22 -0
- package/lib/plus/productSelect/components/IntersectionObserver.d.ts +42 -0
- package/lib/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
- package/lib/plus/productSelect/components/TabsStructure/hooks.d.ts +22 -0
- package/lib/plus/productSelect/components/TabsStructure/index.d.ts +5 -0
- package/lib/plus/productSelect/components/TabsStructure/styles.d.ts +47 -0
- package/lib/plus/productSelect/components/TabsStructure/types.d.ts +105 -0
- package/lib/plus/productSelect/components/TabsStructure/utils.d.ts +12 -0
- package/lib/plus/productSelect/hooks/useToken.d.ts +18 -0
- package/lib/plus/productSelect/locales.d.ts +18 -0
- package/lib/plus/productSelect/theme/token.d.ts +17 -0
- package/lib/utils/date.d.ts +11 -0
- package/lib/utils/index.d.ts +1 -1
- package/lib/utils/locales.d.ts +1 -0
- package/lib/utils/tasks/type.d.ts +4 -0
- package/package.json +2 -2
@@ -0,0 +1,287 @@
|
|
1
|
+
/**
|
2
|
+
* @title: 获取客户列表
|
3
|
+
* @description: 获取客户列表
|
4
|
+
* @param {any} params
|
5
|
+
* @return {*}
|
6
|
+
* @Author: cong.shao
|
7
|
+
* @Date: 2025-04-24 16:28
|
8
|
+
*/
|
9
|
+
export declare const getClients: (params: any) => Promise<any>;
|
10
|
+
/**
|
11
|
+
* @title: 获取服务列表
|
12
|
+
* @description: 查询服务列表
|
13
|
+
* @param {any} params
|
14
|
+
* @return {*}
|
15
|
+
* @Author: cong.shao
|
16
|
+
* @Date: 2025-04-24 16:28
|
17
|
+
*/
|
18
|
+
export declare const getServices: (params: any) => Promise<any>;
|
19
|
+
/**
|
20
|
+
* @title: 获取资源列表
|
21
|
+
* @description: 资源列表
|
22
|
+
* @param {any} params
|
23
|
+
* @return {*}
|
24
|
+
* @Author: cong.shao
|
25
|
+
* @Date: 2025-04-24 16:28
|
26
|
+
*/
|
27
|
+
export declare const getResources: (params: any) => Promise<any>;
|
28
|
+
/**
|
29
|
+
* @title: 获取产品列表
|
30
|
+
* @description: 查询产品列表
|
31
|
+
* @param {any} params
|
32
|
+
* @return {*}
|
33
|
+
* @Author: cong.shao
|
34
|
+
* @Date: 2025-04-24 16:28
|
35
|
+
*/
|
36
|
+
export declare const getProducts: (params: any) => Promise<any>;
|
37
|
+
/**
|
38
|
+
* @title: 获取表单列表
|
39
|
+
* @description: 获取关联记录表单列表
|
40
|
+
* @param {any} params
|
41
|
+
* @return {*}
|
42
|
+
* @Author: cong.shao
|
43
|
+
* @Date: 2025-04-24 16:28
|
44
|
+
*/
|
45
|
+
export declare const getForms: (params: any) => Promise<any>;
|
46
|
+
/**
|
47
|
+
* @title: 获取预约配置
|
48
|
+
* @description: 获取预约相关配置信息
|
49
|
+
* @param {any} params
|
50
|
+
* @return {*}
|
51
|
+
* @Author: cong.shao
|
52
|
+
* @Date: 2025-04-24 16:28
|
53
|
+
*/
|
54
|
+
export declare const getBookingConfig: (params: any) => Promise<any>;
|
55
|
+
/**
|
56
|
+
* @title: 获取宠物信息
|
57
|
+
* @description: 根据ID获取宠物信息
|
58
|
+
* @param {string} formId
|
59
|
+
* @param {any} params
|
60
|
+
* @return {*}
|
61
|
+
* @Author: cong.shao
|
62
|
+
* @Date: 2025-04-24 16:28
|
63
|
+
*/
|
64
|
+
export declare const getPets: (formId: string, params: any) => Promise<any>;
|
65
|
+
/**
|
66
|
+
* @title: 获取宠物数据
|
67
|
+
* @description: 获取宠物数据
|
68
|
+
* @param {any} params
|
69
|
+
* @return {*}
|
70
|
+
* @Author: cong.shao
|
71
|
+
* @Date: 2025-04-24 16:28
|
72
|
+
*/
|
73
|
+
export declare const getPetsData: (params: any) => Promise<any>;
|
74
|
+
/**
|
75
|
+
* @title: 创建预约
|
76
|
+
* @description: 创建新的预约记录
|
77
|
+
* @param {any} params
|
78
|
+
* @return {*}
|
79
|
+
* @Author: cong.shao
|
80
|
+
* @Date: 2025-04-24 16:28
|
81
|
+
*/
|
82
|
+
export declare const createBooking: (params: any) => Promise<any>;
|
83
|
+
/**
|
84
|
+
* @title: 获取预约附加服务
|
85
|
+
* @description: 根据预约ID获取附加服务信息
|
86
|
+
* @param {string} bookingId
|
87
|
+
* @param {any} params
|
88
|
+
* @return {*}
|
89
|
+
* @Author: cong.shao
|
90
|
+
* @Date: 2025-04-24 16:28
|
91
|
+
*/
|
92
|
+
export declare const getAddonsByOrderId: (bookingId: string, params: any) => Promise<any>;
|
93
|
+
/**
|
94
|
+
* @title: 保存预约附加服务
|
95
|
+
* @description: 保存预约的附加服务信息
|
96
|
+
* @param {string} bookingId
|
97
|
+
* @param {any} params
|
98
|
+
* @return {*}
|
99
|
+
* @Author: cong.shao
|
100
|
+
* @Date: 2025-04-24 16:28
|
101
|
+
*/
|
102
|
+
export declare const saveAddonsByOrderId: (bookingId: string, params: any) => Promise<any>;
|
103
|
+
/**
|
104
|
+
* @title: 获取预约详情
|
105
|
+
* @description: 获取预约详细信息
|
106
|
+
* @param {number} bookingId
|
107
|
+
* @param {any} params
|
108
|
+
* @return {*}
|
109
|
+
* @Author: cong.shao
|
110
|
+
* @Date: 2025-04-24 16:28
|
111
|
+
*/
|
112
|
+
export declare const getBookingDetail: (bookingId: number, params?: any) => Promise<any>;
|
113
|
+
/**
|
114
|
+
* @title: 编辑预约状态
|
115
|
+
* @description: 更新预约状态
|
116
|
+
* @param {string} bookingId
|
117
|
+
* @param {any} params
|
118
|
+
* @return {*}
|
119
|
+
* @Author: cong.shao
|
120
|
+
* @Date: 2025-04-24 16:28
|
121
|
+
*/
|
122
|
+
export declare const editBookingStatus: (bookingId: string, params: any) => Promise<any>;
|
123
|
+
/**
|
124
|
+
* @title: 编辑预约信息
|
125
|
+
* @description: 更新预约信息
|
126
|
+
* @param {string} bookingId
|
127
|
+
* @param {any} params
|
128
|
+
* @return {*}
|
129
|
+
* @Author: cong.shao
|
130
|
+
* @Date: 2025-04-24 16:28
|
131
|
+
*/
|
132
|
+
export declare const editBooking: (bookingId: string, params: any) => Promise<any>;
|
133
|
+
/**
|
134
|
+
* @title: 获取预约备注
|
135
|
+
* @description: 获取预约相关备注信息
|
136
|
+
* @param {any} params
|
137
|
+
* @return {*}
|
138
|
+
* @Author: cong.shao
|
139
|
+
* @Date: 2025-04-24 16:28
|
140
|
+
*/
|
141
|
+
export declare const getNotesByOrder: (params: any) => Promise<any>;
|
142
|
+
/**
|
143
|
+
* @title: 添加预约备注
|
144
|
+
* @description: 添加预约相关备注
|
145
|
+
* @param {any} params
|
146
|
+
* @return {*}
|
147
|
+
* @Author: cong.shao
|
148
|
+
* @Date: 2025-04-24 16:28
|
149
|
+
*/
|
150
|
+
export declare const addNotesByOrder: (params: any) => Promise<any>;
|
151
|
+
/**
|
152
|
+
* @title: 编辑预约备注
|
153
|
+
* @description: 更新预约备注信息
|
154
|
+
* @param {string} bookingId
|
155
|
+
* @param {any} params
|
156
|
+
* @return {*}
|
157
|
+
* @Author: cong.shao
|
158
|
+
* @Date: 2025-04-24 16:28
|
159
|
+
*/
|
160
|
+
export declare const editNoteByOrder: (bookingId: string, params: any) => Promise<any>;
|
161
|
+
/**
|
162
|
+
* @title: 删除预约备注
|
163
|
+
* @description: 删除预约相关备注
|
164
|
+
* @param {string} bookingId
|
165
|
+
* @param {any} params
|
166
|
+
* @return {*}
|
167
|
+
* @Author: cong.shao
|
168
|
+
* @Date: 2025-04-24 16:28
|
169
|
+
*/
|
170
|
+
export declare const removeNoteByOrder: (bookingId: string, params: any) => Promise<any>;
|
171
|
+
/**
|
172
|
+
* @title: 保存预约表单数据
|
173
|
+
* @description: 保存预约相关的表单数据
|
174
|
+
* @param {any} params
|
175
|
+
* @return {*}
|
176
|
+
* @Author: cong.shao
|
177
|
+
* @Date: 2025-04-24 16:28
|
178
|
+
*/
|
179
|
+
export declare const saveBookingFormData: (params: any) => Promise<any>;
|
180
|
+
/**
|
181
|
+
* @title: 获取支付列表
|
182
|
+
* @description: 获取支付相关列表数据
|
183
|
+
* @param {any} params
|
184
|
+
* @return {*}
|
185
|
+
* @Author: cong.shao
|
186
|
+
* @Date: 2025-04-24 16:28
|
187
|
+
*/
|
188
|
+
export declare const getPaymentList: (params: any) => Promise<any>;
|
189
|
+
/**
|
190
|
+
* @title: 编辑订单备注
|
191
|
+
* @description: 更新订单备注信息
|
192
|
+
* @param {string} bookingId
|
193
|
+
* @param {any} params
|
194
|
+
* @return {*}
|
195
|
+
* @Author: cong.shao
|
196
|
+
* @Date: 2025-04-24 16:28
|
197
|
+
*/
|
198
|
+
export declare const editOrderNote: (bookingId: string, params: any) => Promise<any>;
|
199
|
+
/**
|
200
|
+
* @title: 获取退款信息
|
201
|
+
* @description: 获取退款相关信息
|
202
|
+
* @param {string} bookingId
|
203
|
+
* @param {any} params
|
204
|
+
* @return {*}
|
205
|
+
* @Author: cong.shao
|
206
|
+
* @Date: 2025-04-24 16:28
|
207
|
+
*/
|
208
|
+
export declare const getRefundInfo: (bookingId: string, params: any) => Promise<any>;
|
209
|
+
/**
|
210
|
+
* @title: 创建活动预约
|
211
|
+
* @description: 创建新的活动预约记录
|
212
|
+
* @param {any} params
|
213
|
+
* @return {*}
|
214
|
+
* @Author: cong.shao
|
215
|
+
* @Date: 2025-04-24 16:28
|
216
|
+
*/
|
217
|
+
export declare const createEventBooking: (params: any) => Promise<any>;
|
218
|
+
/**
|
219
|
+
* @title: 获取活动预约详情
|
220
|
+
* @description: 获取活动预约详细信息
|
221
|
+
* @param {number} bookingId
|
222
|
+
* @param {any} params
|
223
|
+
* @return {*}
|
224
|
+
* @Author: cong.shao
|
225
|
+
* @Date: 2025-04-24 16:28
|
226
|
+
*/
|
227
|
+
export declare const getEventBookingDetail: (bookingId: number, params?: any) => Promise<any>;
|
228
|
+
/**
|
229
|
+
* @title: 编辑活动预约
|
230
|
+
* @description: 更新活动预约信息
|
231
|
+
* @param {string} bookingId
|
232
|
+
* @param {any} params
|
233
|
+
* @return {*}
|
234
|
+
* @Author: cong.shao
|
235
|
+
* @Date: 2025-04-24 16:28
|
236
|
+
*/
|
237
|
+
export declare const editEventBooking: (bookingId: string, params: any) => Promise<any>;
|
238
|
+
/**
|
239
|
+
* @title: 获取定金显示配置
|
240
|
+
* @description: 获取定金相关显示配置
|
241
|
+
* @param {any} params
|
242
|
+
* @return {*}
|
243
|
+
* @Author: cong.shao
|
244
|
+
* @Date: 2025-04-24 16:28
|
245
|
+
*/
|
246
|
+
export declare const getDepositShow: (params: any) => Promise<any>;
|
247
|
+
/**
|
248
|
+
* @title: 获取表单记录
|
249
|
+
* @description: 获取表单记录数据
|
250
|
+
* @param {any} params
|
251
|
+
* @return {*}
|
252
|
+
* @Author: cong.shao
|
253
|
+
* @Date: 2025-04-24 16:28
|
254
|
+
*/
|
255
|
+
export declare const getFormRecords: (params: any) => Promise<any>;
|
256
|
+
/**
|
257
|
+
* @title: 获取预约列表
|
258
|
+
* @description: 获取预约列表数据
|
259
|
+
* @param {any} params
|
260
|
+
* @return {*}
|
261
|
+
* @Author: cong.shao
|
262
|
+
* @Date: 2025-04-24 16:28
|
263
|
+
*/
|
264
|
+
export declare const getBookingList2: (params: any) => Promise<any>;
|
265
|
+
/**
|
266
|
+
* @title: 获取订单信息
|
267
|
+
* @description: 根据机器码获取订单信息
|
268
|
+
* @param {any} params
|
269
|
+
* @return {*}
|
270
|
+
* @Author: cong.shao
|
271
|
+
* @Date: 2025-04-24 16:28
|
272
|
+
*/
|
273
|
+
export declare const getOrderInfoByCode: (params: any) => Promise<any>;
|
274
|
+
/**
|
275
|
+
* @title: 获取ES客户数据
|
276
|
+
* @description: 从ES获取客户数据
|
277
|
+
* @param {any} params
|
278
|
+
* @return {*}
|
279
|
+
* @Author: cong.shao
|
280
|
+
* @Date: 2025-04-24 16:28
|
281
|
+
*/
|
282
|
+
export declare const getClientsEs: (params: any) => Promise<any>;
|
283
|
+
/**
|
284
|
+
* 作废2.0预约订单
|
285
|
+
* @param order_id
|
286
|
+
*/
|
287
|
+
export declare const voidAppointment: (order_id: number) => Promise<any>;
|
@@ -50,7 +50,7 @@ var { Text } = import_materials2.Typography;
|
|
50
50
|
import_dayjs.default.extend(import_timezone.default);
|
51
51
|
import_dayjs.default.extend(import_utc.default);
|
52
52
|
var Detail = (0, import_react.forwardRef)((props, ref) => {
|
53
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
|
53
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m;
|
54
54
|
const {
|
55
55
|
detail = {},
|
56
56
|
buttonGroupList = [[]],
|
@@ -545,7 +545,7 @@ var Detail = (0, import_react.forwardRef)((props, ref) => {
|
|
545
545
|
className: `wallet-detail${platform === "h5" ? " wallet-detail-h5" : " wallet-detail-pc"} ${className || ""}`,
|
546
546
|
ref: detailWrapperRef
|
547
547
|
},
|
548
|
-
(platform === "h5" || showWalletBar) && /* @__PURE__ */ import_react.default.createElement("div", { className: "wallet-detail-header" }, /* @__PURE__ */ import_react.default.createElement(import_components.WalletBar, { setup: "detail", onBack: handleBack })),
|
548
|
+
(platform === "h5" || showWalletBar) && !((_l = (_k = (_j = utils == null ? void 0 : utils.interaction) == null ? void 0 : _j.utils) == null ? void 0 : _k.isAppEnv) == null ? void 0 : _l.call(_k)) && /* @__PURE__ */ import_react.default.createElement("div", { className: "wallet-detail-header" }, /* @__PURE__ */ import_react.default.createElement(import_components.WalletBar, { setup: "detail", onBack: handleBack })),
|
549
549
|
/* @__PURE__ */ import_react.default.createElement(
|
550
550
|
"div",
|
551
551
|
{
|
@@ -632,7 +632,7 @@ var Detail = (0, import_react.forwardRef)((props, ref) => {
|
|
632
632
|
step: "detail",
|
633
633
|
addWalletLoading,
|
634
634
|
onAppleWalletClick: tag === "gift_card" ? addWalletCard : void 0,
|
635
|
-
onRechargeClick: tag === "gift_card" && ((
|
635
|
+
onRechargeClick: tag === "gift_card" && ((_m = detail == null ? void 0 : detail.machinecode_config) == null ? void 0 : _m.hide_recharge) === 0 ? handleRecharge : void 0,
|
636
636
|
platform,
|
637
637
|
isIOS: (0, import_utils.isIos)()
|
638
638
|
}
|
@@ -0,0 +1,96 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
en: {
|
3
|
+
'page.wallet.copyTitle': string;
|
4
|
+
'page.wallet.copyButton': string;
|
5
|
+
'page.wallet.copySuccess': string;
|
6
|
+
'page.wallet.detail': string;
|
7
|
+
'page.wallet.activelog': string;
|
8
|
+
'page.wallet.copyText': string;
|
9
|
+
'page.wallet.spendingDetails': string;
|
10
|
+
'page.wallet.rechargeDetails': string;
|
11
|
+
'page.wallet.date': string;
|
12
|
+
'page.wallet.spending': string;
|
13
|
+
'page.wallet.recharge': string;
|
14
|
+
'page.wallet.pointsEarned': string;
|
15
|
+
'page.wallet.pointsRedeemed': string;
|
16
|
+
'page.wallet.refund': string;
|
17
|
+
'page.wallet.expire': string;
|
18
|
+
'page.wallet.viewOrder': string;
|
19
|
+
'page.wallet.done': string;
|
20
|
+
'page.wallet.addIos': string;
|
21
|
+
'page.wallet.addGoogle': string;
|
22
|
+
'page.wallet.viewDetails': string;
|
23
|
+
'page.wallet.expireDate': string;
|
24
|
+
'page.wallet.urlEmpty': string;
|
25
|
+
'page.wallet.notIOS': string;
|
26
|
+
'page.wallet.addSuccess': string;
|
27
|
+
'page.wallet.addFailed': string;
|
28
|
+
'page.wallet.useAppleInstead': string;
|
29
|
+
'page.wallet.openedInBrowser': string;
|
30
|
+
'page.wallet.openFailed': string;
|
31
|
+
'page.wallet.loading': string;
|
32
|
+
};
|
33
|
+
'zh-CN': {
|
34
|
+
'page.wallet.copyTitle': string;
|
35
|
+
'page.wallet.copyButton': string;
|
36
|
+
'page.wallet.copySuccess': string;
|
37
|
+
'page.wallet.detail': string;
|
38
|
+
'page.wallet.activelog': string;
|
39
|
+
'page.wallet.copyText': string;
|
40
|
+
'page.wallet.spendingDetails': string;
|
41
|
+
'page.wallet.rechargeDetails': string;
|
42
|
+
'page.wallet.date': string;
|
43
|
+
'page.wallet.spending': string;
|
44
|
+
'page.wallet.recharge': string;
|
45
|
+
'page.wallet.pointsEarned': string;
|
46
|
+
'page.wallet.pointsRedeemed': string;
|
47
|
+
'page.wallet.refund': string;
|
48
|
+
'page.wallet.expire': string;
|
49
|
+
'page.wallet.viewOrder': string;
|
50
|
+
'page.wallet.done': string;
|
51
|
+
'page.wallet.addIos': string;
|
52
|
+
'page.wallet.addGoogle': string;
|
53
|
+
'page.wallet.viewDetails': string;
|
54
|
+
'page.wallet.expireDate': string;
|
55
|
+
'page.wallet.urlEmpty': string;
|
56
|
+
'page.wallet.notIOS': string;
|
57
|
+
'page.wallet.addSuccess': string;
|
58
|
+
'page.wallet.addFailed': string;
|
59
|
+
'page.wallet.useAppleInstead': string;
|
60
|
+
'page.wallet.openedInBrowser': string;
|
61
|
+
'page.wallet.openFailed': string;
|
62
|
+
'page.wallet.loading': string;
|
63
|
+
};
|
64
|
+
'zh-HK': {
|
65
|
+
'page.wallet.copyTitle': string;
|
66
|
+
'page.wallet.copyButton': string;
|
67
|
+
'page.wallet.copySuccess': string;
|
68
|
+
'page.wallet.detail': string;
|
69
|
+
'page.wallet.activelog': string;
|
70
|
+
'page.wallet.copyText': string;
|
71
|
+
'page.wallet.spendingDetails': string;
|
72
|
+
'page.wallet.rechargeDetails': string;
|
73
|
+
'page.wallet.date': string;
|
74
|
+
'page.wallet.spending': string;
|
75
|
+
'page.wallet.recharge': string;
|
76
|
+
'page.wallet.pointsEarned': string;
|
77
|
+
'page.wallet.pointsRedeemed': string;
|
78
|
+
'page.wallet.refund': string;
|
79
|
+
'page.wallet.expire': string;
|
80
|
+
'page.wallet.viewOrder': string;
|
81
|
+
'page.wallet.done': string;
|
82
|
+
'page.wallet.addIos': string;
|
83
|
+
'page.wallet.addGoogle': string;
|
84
|
+
'page.wallet.viewDetails': string;
|
85
|
+
'page.wallet.expireDate': string;
|
86
|
+
'page.wallet.urlEmpty': string;
|
87
|
+
'page.wallet.notIOS': string;
|
88
|
+
'page.wallet.addSuccess': string;
|
89
|
+
'page.wallet.addFailed': string;
|
90
|
+
'page.wallet.useAppleInstead': string;
|
91
|
+
'page.wallet.openedInBrowser': string;
|
92
|
+
'page.wallet.openFailed': string;
|
93
|
+
'page.wallet.loading': string;
|
94
|
+
};
|
95
|
+
};
|
96
|
+
export default _default;
|
@@ -0,0 +1,39 @@
|
|
1
|
+
interface IAssetListProps {
|
2
|
+
skip?: string;
|
3
|
+
num?: string;
|
4
|
+
card_id?: string;
|
5
|
+
sourceType?: string;
|
6
|
+
business_object?: string;
|
7
|
+
tag?: string;
|
8
|
+
}
|
9
|
+
export interface IAssetItem {
|
10
|
+
id?: string;
|
11
|
+
tag?: 'gift_card' | 'product_voucher' | 'point_card' | 'product_discount_card';
|
12
|
+
shop_id?: string;
|
13
|
+
transaction_id?: string;
|
14
|
+
title?: string;
|
15
|
+
created_at?: string;
|
16
|
+
amount?: string;
|
17
|
+
balance?: string;
|
18
|
+
currency_symbol?: string;
|
19
|
+
action?: 'recharge' | 'order_expend' | 'order_refund' | 'expire';
|
20
|
+
}
|
21
|
+
/**
|
22
|
+
* 资产明细列表
|
23
|
+
* @param params 接口请求参数
|
24
|
+
* @returns 资产明细列表
|
25
|
+
*/
|
26
|
+
export declare const getAssetList: (params: IAssetListProps) => Promise<{
|
27
|
+
list: IAssetItem[];
|
28
|
+
}>;
|
29
|
+
/**
|
30
|
+
* 获取资产详情
|
31
|
+
* @param params 接口请求参数
|
32
|
+
* @returns 资产详情
|
33
|
+
*/
|
34
|
+
export declare const getDetailApi: (params: {
|
35
|
+
id: string;
|
36
|
+
}) => Promise<{
|
37
|
+
data: any;
|
38
|
+
}>;
|
39
|
+
export {};
|
@@ -0,0 +1,23 @@
|
|
1
|
+
interface OrderParams {
|
2
|
+
voucher_id: string;
|
3
|
+
product_id: string;
|
4
|
+
product_variant_id: string;
|
5
|
+
quantity: number;
|
6
|
+
type: string;
|
7
|
+
platform: string;
|
8
|
+
currency_code: {
|
9
|
+
currency_code: string;
|
10
|
+
currency_symbol: string;
|
11
|
+
currency_format: string;
|
12
|
+
};
|
13
|
+
}
|
14
|
+
interface OrderResponse {
|
15
|
+
order_id: string;
|
16
|
+
}
|
17
|
+
/**
|
18
|
+
* 下单接口
|
19
|
+
* @param params - 订单参数
|
20
|
+
* @returns 订单响应数据
|
21
|
+
*/
|
22
|
+
export declare const goOrder: (params: OrderParams) => Promise<OrderResponse>;
|
23
|
+
export {};
|
@@ -0,0 +1,21 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
en: {
|
3
|
+
'page.wallet.rechargeOptions': string;
|
4
|
+
'page.wallet.available': string;
|
5
|
+
'page.wallet.unavailable': string;
|
6
|
+
'page.wallet.recharge': string;
|
7
|
+
};
|
8
|
+
'zh-CN': {
|
9
|
+
'page.wallet.rechargeOptions': string;
|
10
|
+
'page.wallet.available': string;
|
11
|
+
'page.wallet.unavailable': string;
|
12
|
+
'page.wallet.recharge': string;
|
13
|
+
};
|
14
|
+
'zh-HK': {
|
15
|
+
'page.wallet.rechargeOptions': string;
|
16
|
+
'page.wallet.available': string;
|
17
|
+
'page.wallet.unavailable': string;
|
18
|
+
'page.wallet.recharge': string;
|
19
|
+
};
|
20
|
+
};
|
21
|
+
export default _default;
|
@@ -73,7 +73,7 @@ var WalletCard = ({
|
|
73
73
|
disabled: isDisabled,
|
74
74
|
showDisabledReason: isDisabled,
|
75
75
|
disabledReason,
|
76
|
-
|
76
|
+
style: { marginBottom: 16, width: "100%" },
|
77
77
|
showBalanceSymbol: !["point_card", "good_pass"].includes(tag),
|
78
78
|
active: isActive,
|
79
79
|
name: product_title,
|
@@ -0,0 +1,132 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
en: {
|
3
|
+
'page.wallet.rechargeableCard': string;
|
4
|
+
'page.wallet.voucher': string;
|
5
|
+
'page.wallet.pointCard': string;
|
6
|
+
'page.wallet.discountCard': string;
|
7
|
+
'page.wallet.unavailable': string;
|
8
|
+
'page.wallet.available': string;
|
9
|
+
'page.wallet.confirm': string;
|
10
|
+
'page.wallet.addModalTitle': string;
|
11
|
+
'page.wallet.searchDescribe': string;
|
12
|
+
'page.wallet.scanBarQrCode': string;
|
13
|
+
'page.wallet.enterCodes': string;
|
14
|
+
'page.wallet.add': string;
|
15
|
+
'page.wallet.rechargeOptions': string;
|
16
|
+
'page.wallet.recharge': string;
|
17
|
+
'page.wallet.wallet': string;
|
18
|
+
'page.wallet.details': string;
|
19
|
+
'page.wallet.cardBalance': string;
|
20
|
+
'page.wallet.voucherBalance': string;
|
21
|
+
'page.wallet.points': string;
|
22
|
+
'page.wallet.goodPass': string;
|
23
|
+
'page.wallet.cardName': string;
|
24
|
+
'page.wallet.carNumber': string;
|
25
|
+
'page.wallet.balance': string;
|
26
|
+
'page.wallet.discount': string;
|
27
|
+
'page.wallet.validDate': string;
|
28
|
+
'page.wallet.addSuccess': string;
|
29
|
+
'page.wallet.addError': string;
|
30
|
+
'page.wallet.searchNoFound': string;
|
31
|
+
'page.wallet.log.updateCurrentDetail': string;
|
32
|
+
'page.wallet.log.getDetailFailed': string;
|
33
|
+
'page.wallet.log.rechargeOrderFailed': string;
|
34
|
+
'page.wallet.log.getWalletListFailed': string;
|
35
|
+
'page.wallet.log.bindCustomerFailed': string;
|
36
|
+
'page.wallet.log.getUnbindListFailed': string;
|
37
|
+
'page.wallet.log.orderFailed': string;
|
38
|
+
'page.wallet.log.unexpectedResponseFormat': string;
|
39
|
+
'page.wallet.button.add': string;
|
40
|
+
'page.wallet.button.addToAppleWallet': string;
|
41
|
+
'page.wallet.button.addToGoogleWallet': string;
|
42
|
+
'page.wallet.button.recharge': string;
|
43
|
+
'page.wallet.error.addFailed': string;
|
44
|
+
};
|
45
|
+
'zh-CN': {
|
46
|
+
'page.wallet.rechargeableCard': string;
|
47
|
+
'page.wallet.voucher': string;
|
48
|
+
'page.wallet.pointCard': string;
|
49
|
+
'page.wallet.discountCard': string;
|
50
|
+
'page.wallet.unavailable': string;
|
51
|
+
'page.wallet.available': string;
|
52
|
+
'page.wallet.confirm': string;
|
53
|
+
'page.wallet.addModalTitle': string;
|
54
|
+
'page.wallet.searchDescribe': string;
|
55
|
+
'page.wallet.scanBarQrCode': string;
|
56
|
+
'page.wallet.enterCodes': string;
|
57
|
+
'page.wallet.add': string;
|
58
|
+
'page.wallet.rechargeOptions': string;
|
59
|
+
'page.wallet.recharge': string;
|
60
|
+
'page.wallet.wallet': string;
|
61
|
+
'page.wallet.details': string;
|
62
|
+
'page.wallet.cardBalance': string;
|
63
|
+
'page.wallet.voucherBalance': string;
|
64
|
+
'page.wallet.points': string;
|
65
|
+
'page.wallet.goodPass': string;
|
66
|
+
'page.wallet.cardName': string;
|
67
|
+
'page.wallet.carNumber': string;
|
68
|
+
'page.wallet.balance': string;
|
69
|
+
'page.wallet.discount': string;
|
70
|
+
'page.wallet.validDate': string;
|
71
|
+
'page.wallet.addSuccess': string;
|
72
|
+
'page.wallet.addError': string;
|
73
|
+
'page.wallet.searchNoFound': string;
|
74
|
+
'page.wallet.log.updateCurrentDetail': string;
|
75
|
+
'page.wallet.log.getDetailFailed': string;
|
76
|
+
'page.wallet.log.rechargeOrderFailed': string;
|
77
|
+
'page.wallet.log.getWalletListFailed': string;
|
78
|
+
'page.wallet.log.bindCustomerFailed': string;
|
79
|
+
'page.wallet.log.getUnbindListFailed': string;
|
80
|
+
'page.wallet.log.orderFailed': string;
|
81
|
+
'page.wallet.log.unexpectedResponseFormat': string;
|
82
|
+
'page.wallet.button.add': string;
|
83
|
+
'page.wallet.button.addToAppleWallet': string;
|
84
|
+
'page.wallet.button.addToGoogleWallet': string;
|
85
|
+
'page.wallet.button.recharge': string;
|
86
|
+
'page.wallet.error.addFailed': string;
|
87
|
+
};
|
88
|
+
'zh-HK': {
|
89
|
+
'page.wallet.rechargeableCard': string;
|
90
|
+
'page.wallet.voucher': string;
|
91
|
+
'page.wallet.pointCard': string;
|
92
|
+
'page.wallet.discountCard': string;
|
93
|
+
'page.wallet.unavailable': string;
|
94
|
+
'page.wallet.available': string;
|
95
|
+
'page.wallet.confirm': string;
|
96
|
+
'page.wallet.addModalTitle': string;
|
97
|
+
'page.wallet.searchDescribe': string;
|
98
|
+
'page.wallet.scanBarQrCode': string;
|
99
|
+
'page.wallet.enterCodes': string;
|
100
|
+
'page.wallet.add': string;
|
101
|
+
'page.wallet.rechargeOptions': string;
|
102
|
+
'page.wallet.recharge': string;
|
103
|
+
'page.wallet.wallet': string;
|
104
|
+
'page.wallet.details': string;
|
105
|
+
'page.wallet.cardBalance': string;
|
106
|
+
'page.wallet.voucherBalance': string;
|
107
|
+
'page.wallet.points': string;
|
108
|
+
'page.wallet.goodPass': string;
|
109
|
+
'page.wallet.cardName': string;
|
110
|
+
'page.wallet.carNumber': string;
|
111
|
+
'page.wallet.balance': string;
|
112
|
+
'page.wallet.discount': string;
|
113
|
+
'page.wallet.validDate': string;
|
114
|
+
'page.wallet.addSuccess': string;
|
115
|
+
'page.wallet.addError': string;
|
116
|
+
'page.wallet.searchNoFound': string;
|
117
|
+
'page.wallet.log.updateCurrentDetail': string;
|
118
|
+
'page.wallet.log.getDetailFailed': string;
|
119
|
+
'page.wallet.log.rechargeOrderFailed': string;
|
120
|
+
'page.wallet.log.getWalletListFailed': string;
|
121
|
+
'page.wallet.log.bindCustomerFailed': string;
|
122
|
+
'page.wallet.log.getUnbindListFailed': string;
|
123
|
+
'page.wallet.log.orderFailed': string;
|
124
|
+
'page.wallet.log.unexpectedResponseFormat': string;
|
125
|
+
'page.wallet.button.add': string;
|
126
|
+
'page.wallet.button.addToAppleWallet': string;
|
127
|
+
'page.wallet.button.addToGoogleWallet': string;
|
128
|
+
'page.wallet.button.recharge': string;
|
129
|
+
'page.wallet.error.addFailed': string;
|
130
|
+
};
|
131
|
+
};
|
132
|
+
export default _default;
|
@@ -0,0 +1,18 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
en: {
|
3
|
+
'page.wallet.guide.title': string;
|
4
|
+
'page.wallet.guide.subtitle': string;
|
5
|
+
'page.wallet.guide.button': string;
|
6
|
+
};
|
7
|
+
'zh-CN': {
|
8
|
+
'page.wallet.guide.title': string;
|
9
|
+
'page.wallet.guide.subtitle': string;
|
10
|
+
'page.wallet.guide.button': string;
|
11
|
+
};
|
12
|
+
'zh-HK': {
|
13
|
+
'page.wallet.guide.title': string;
|
14
|
+
'page.wallet.guide.subtitle': string;
|
15
|
+
'page.wallet.guide.button': string;
|
16
|
+
};
|
17
|
+
};
|
18
|
+
export default _default;
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { State, WalletListContextType } from './types';
|
3
|
+
export declare const initialState: State;
|
4
|
+
export declare const Context: React.Context<WalletListContextType>;
|
5
|
+
export declare const Provider: (Component: React.ComponentType<any>) => (props: any) => JSX.Element;
|
6
|
+
export * from './types';
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import { WalletPass, WalletBalance } from './types';
|
2
|
+
/**
|
3
|
+
* 获取 wallet 列表
|
4
|
+
* @param params
|
5
|
+
* @returns
|
6
|
+
*/
|
7
|
+
export declare const getWalletList: () => Promise<WalletPass[]>;
|
8
|
+
/**
|
9
|
+
* 获取钱包余额
|
10
|
+
* @returns
|
11
|
+
*/
|
12
|
+
export declare const getWalletBalance: () => Promise<WalletBalance | null>;
|
13
|
+
/**
|
14
|
+
* @title: 获取钱包店铺列表
|
15
|
+
* @description:
|
16
|
+
* @return {*}
|
17
|
+
* @Author: WangHan
|
18
|
+
* @Date: 2025-06-09 11:12
|
19
|
+
*/
|
20
|
+
export declare const getWalletShopList: (params: any) => Promise<any>;
|