@pisell/private-materials 3.4.99 → 3.4.100
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/components/Sales/Cart/index.d.ts +53 -0
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +3 -0
- package/es/components/appointmentBooking/components/Content/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Header/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Services/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +0 -1
- package/es/components/appointmentBooking/hooks.js +20 -27
- package/es/components/appointmentBooking/index.d.ts +3 -0
- package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
- package/es/components/booking/addons/index.d.ts +17 -0
- package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
- package/es/components/booking/components/collapsibleList/utils.d.ts +0 -1
- package/es/components/booking/components/customSelect/index.d.ts +38 -0
- package/es/components/booking/components/emptyBooking/index.d.ts +0 -1
- package/es/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
- package/es/components/booking/components/footer/amount.d.ts +25 -0
- package/es/components/booking/components/footer/index.d.ts +11 -0
- package/es/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
- package/es/components/booking/components/tabPane/index.d.ts +4 -0
- package/es/components/booking/dashboard/serve.d.ts +1 -0
- package/es/components/booking/deposit/ClientItem/index.d.ts +18 -0
- package/es/components/booking/deposit/DepositItem/index.d.ts +25 -0
- package/es/components/booking/deposit/index.d.ts +3 -0
- package/es/components/booking/editBookingModal/utils.d.ts +12 -0
- package/es/components/booking/forms/forms.d.ts +30 -0
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
- package/es/components/booking/forms/serve.d.ts +18 -0
- package/es/components/booking/forms/table/index.d.ts +0 -1
- package/es/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
- package/es/components/booking/info/addServiceVariant/index.d.ts +7 -0
- package/es/components/booking/info/client/index.d.ts +4 -0
- package/es/components/booking/info/client/serve.d.ts +2 -0
- package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
- package/es/components/booking/info/clientVariant/utils.d.ts +1 -0
- package/es/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
- package/es/components/booking/info/date/index.d.ts +5 -0
- package/es/components/booking/info/header/index.d.ts +3 -0
- package/es/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +10 -0
- package/es/components/booking/info/index.d.ts +4 -0
- package/es/components/booking/info/main.d.ts +12 -0
- package/es/components/booking/info/model.d.ts +5 -0
- package/es/components/booking/info/pet/index.d.ts +14 -0
- package/es/components/booking/info/pet/serve.d.ts +1 -0
- package/es/components/booking/info/service/Lists.d.ts +3 -0
- package/es/components/booking/info/service/addService/index.d.ts +12 -0
- package/es/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
- package/es/components/booking/info/service/like/index.d.ts +0 -1
- package/es/components/booking/info/service/serve.d.ts +20 -0
- package/es/components/booking/info/service/serviceList/index.d.ts +6 -0
- package/es/components/booking/info/service/serviceManager/index.d.ts +20 -0
- package/es/components/booking/info/service2/Group/utils.d.ts +14 -0
- package/es/components/booking/info/service2/Lists.d.ts +3 -0
- package/es/components/booking/info/service2/utils.d.ts +248 -0
- package/es/components/booking/info/utils.d.ts +50 -0
- package/es/components/booking/info2/index.d.ts +12 -0
- package/es/components/booking/info2/serve.d.ts +6 -0
- package/es/components/booking/info2/service/addService/index.d.ts +11 -0
- package/es/components/booking/info2/service/addService/utils.d.ts +98 -0
- package/es/components/booking/info2/service/addTimeModal/index.d.ts +4 -0
- package/es/components/booking/info2/service/editService/Capacity/index.d.ts +4 -0
- package/es/components/booking/info2/service/editService/utils.d.ts +28 -0
- package/es/components/booking/info2/service/index.d.ts +4 -0
- package/es/components/booking/info2/service/serviceList/index.d.ts +6 -0
- package/es/components/booking/info2/utilsByBooking.d.ts +35 -0
- package/es/components/booking/locales.d.ts +1485 -0
- package/es/components/booking/materiels/contacts/index.d.ts +0 -1
- package/es/components/booking/model.d.ts +111 -0
- package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
- package/es/components/booking/notes/addNote/index.d.ts +3 -0
- package/es/components/booking/utils.d.ts +175 -0
- package/es/components/ecocup/components/CupInfoCard/index.d.ts +0 -1
- package/es/components/ecocup/components/CustomerCard/index.d.ts +0 -1
- package/es/components/ecocup/cupList/const.d.ts +140 -0
- package/es/components/eftpos/deviceList/index.d.ts +0 -1
- package/es/components/eftpos/form/index.d.ts +0 -1
- package/es/components/eftpos/group/index.d.ts +0 -1
- package/es/components/eftpos/hooks.d.ts +0 -1
- package/es/components/eftpos/icon/apiKey.d.ts +0 -1
- package/es/components/eftpos/icon/device.d.ts +0 -1
- package/es/components/eftpos/index.d.ts +0 -1
- package/es/components/eftpos/pos.d.ts +0 -1
- package/es/components/eftpos/receipt/index.d.ts +0 -1
- package/es/components/eftpos/surcharge/index.d.ts +0 -1
- package/es/components/eftposPay/amount.d.ts +21 -0
- package/es/components/eftposPay/app.d.ts +11 -0
- package/es/components/eftposPay/component/alert/warn.d.ts +0 -1
- package/es/components/eftposPay/component/fail/failCustom.d.ts +4 -0
- package/es/components/eftposPay/component/fail/index.d.ts +3 -0
- package/es/components/eftposPay/component/fail/network.d.ts +8 -0
- package/es/components/eftposPay/component/fail/unknow.d.ts +9 -0
- package/es/components/eftposPay/component/header/titlebar.d.ts +0 -1
- package/es/components/eftposPay/component/manual/index.d.ts +9 -0
- package/es/components/eftposPay/component/signature/index.d.ts +8 -0
- package/es/components/eftposPay/component/step/index.d.ts +0 -1
- package/es/components/eftposPay/component/step/step.d.ts +0 -1
- package/es/components/eftposPay/const.d.ts +186 -0
- package/es/components/eftposPay/device.d.ts +24 -0
- package/es/components/eftposPay/index.d.ts +5 -0
- package/es/components/eftposPay/linkly/hooks/normal.d.ts +30 -0
- package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
- package/es/components/eftposPay/linkly/index.d.ts +3 -0
- package/es/components/eftposPay/locales.d.ts +572 -0
- package/es/components/eftposPay/manufacturer.d.ts +7 -0
- package/es/components/eftposPay/pay.d.ts +21 -0
- package/es/components/eftposPay/payo/config.d.ts +12 -0
- package/es/components/eftposPay/payo/hooks.d.ts +10 -0
- package/es/components/eftposPay/payo/payment.d.ts +66 -0
- package/es/components/eftposPay/tip.d.ts +9 -0
- package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
- package/es/components/eftposPay/tyro/index.d.ts +9 -0
- package/es/components/eftposPay/utils/payLog.d.ts +81 -0
- package/es/components/eftposPay/windcave/receiptAction.d.ts +22 -0
- package/es/components/eftposPay/windcave/windcave.d.ts +6 -0
- package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.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/ProductItem/index.d.ts +0 -1
- package/es/components/eventBooking/index.d.ts +0 -1
- package/es/components/index.d.ts +23 -0
- package/es/components/login/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentList/serve.d.ts +28 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +23 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +155 -0
- package/es/components/pay/toC/locales.d.ts +631 -0
- package/es/components/pay/toC/model.d.ts +32 -0
- package/es/components/pay/toC/payGroup.d.ts +59 -0
- package/es/components/pay/toC/serve.d.ts +87 -0
- package/es/components/pay/toC/utils.d.ts +65 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +3 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
- package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
- package/es/components/ruleSetting/ruleBorder/index.d.ts +0 -1
- package/es/components/schedules/calendar/calendarItem.d.ts +0 -1
- package/es/components/schedules/calendar/index.d.ts +0 -1
- package/es/components/schedules/components/CurrentDay/index.d.ts +0 -1
- package/es/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
- package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
- package/es/components/schedules/components/ScheduleList/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
- package/es/components/schedules/products/index.d.ts +0 -1
- package/es/components/schedules/products/list/ProductItem/index.d.ts +0 -1
- package/es/components/schedules/products/list/index.d.ts +0 -1
- package/es/components/schedules/resources/index.d.ts +0 -1
- package/es/components/schedules/resources/list/index.d.ts +0 -1
- package/es/components/schedules/resources/relationProduct/index.d.ts +0 -1
- package/es/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
- package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
- package/es/components/schedules/schedules/index.d.ts +0 -1
- package/es/components/shoppingCart/Provider.d.ts +3 -0
- package/es/components/shoppingCart/locales.d.ts +53 -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/subTotal/locales.d.ts +68 -0
- package/es/components/systemSettings/registry/locales.d.ts +544 -0
- package/es/components/systemSettings/registry/services.d.ts +99 -0
- package/es/components/systemSettings/registry/types.d.ts +145 -0
- package/es/components/taxSelect/index.d.ts +0 -1
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +7 -0
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +4 -0
- package/es/components/ticketBooking/index.d.ts +7 -0
- package/es/components/ticketBooking/locales.d.ts +304 -0
- package/es/components/ticketBooking/miniRedux.d.ts +22 -0
- package/es/components/ticketBooking/serve.d.ts +287 -0
- package/es/components/ticketBooking/utils/formatProductMessage.d.ts +2 -0
- package/es/components/ticketBooking/utils/index.d.ts +25 -0
- package/es/hooks/useEngineContext.d.ts +11 -0
- package/es/hooks/usePaymentLogger.d.ts +0 -1
- package/es/hooks/useWindowSize.d.ts +5 -0
- package/es/index.d.ts +83 -0
- package/es/plus/clientName/index.d.ts +0 -1
- package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +0 -1
- package/es/plus/clinetSearch/Add/GenderField/index.d.ts +0 -1
- package/es/plus/clinetSearch/index.d.ts +18 -0
- package/es/plus/orderList/config.d.ts +2 -2
- package/es/plus/orderList/locales.d.ts +618 -0
- package/es/plus/pisellSalesGrid/PisellSalesGrid.stories.d.ts +14 -0
- package/es/plus/pisellSalesGrid/serve.d.ts +19 -0
- package/es/plus/pisellSalesGrid/types.d.ts +170 -0
- package/es/plus/pisellSalesManagement/components/ResourceSelector.d.ts +9 -0
- package/es/plus/pisellSalesManagement/config/booking.d.ts +185 -0
- package/es/plus/pisellSalesManagement/config/order.d.ts +172 -0
- package/es/plus/productSelect/CategoryTabs/index.d.ts +21 -0
- package/es/plus/productSelect/ProductCard/ProductCardSkeleton.d.ts +10 -0
- package/es/plus/productSelect/ProductCard/index.d.ts +47 -0
- package/es/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
- package/es/plus/productSelect/ProductList/index.d.ts +22 -0
- package/es/plus/saasCreateOrganization/components/Header.d.ts +0 -1
- package/es/plus/saasCreateOrganization/index.d.ts +0 -1
- package/es/plus/saasDevice/devicePlanning/constants.d.ts +9 -0
- package/es/plus/saasDevice/devicePlanning/hooks.d.ts +1 -0
- package/es/plus/saasDevice/devicePlanning/locales.d.ts +483 -0
- package/es/plus/saasDevice/devicePlanning/serve.d.ts +19 -0
- package/es/plus/saasDevice/devicePlanning/types.d.ts +138 -0
- package/es/plus/saasDevice/deviceProfile/components/ProfileSetting/utils.d.ts +1 -0
- package/es/plus/saasDevice/deviceProfile/components/UnsavedConfirmModal/index.d.ts +2 -0
- package/es/plus/saasDevice/deviceProfile/hooks.d.ts +1 -0
- package/es/plus/saasDevice/deviceProfile/locales.d.ts +383 -0
- package/es/plus/saasDevice/deviceProfile/serve.d.ts +38 -0
- package/es/plus/saasDevice/deviceProfile/types.d.ts +190 -0
- package/es/plus/saasDevice/index.d.ts +0 -0
- package/es/plus/saasRegister/components/EntryEmail.d.ts +0 -1
- package/es/plus/saasRegister/components/EntryInfo.d.ts +0 -1
- package/es/plus/saasRegister/components/GoLogin.d.ts +0 -1
- package/es/plus/saasRegister/components/Header.d.ts +0 -1
- package/es/plus/saasRegister/components/VerifyError.d.ts +0 -1
- package/es/plus/saasRegister/components/VerifyingLink.d.ts +0 -1
- package/es/plus/selectHolder/locales.d.ts +35 -0
- package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +5 -0
- package/es/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +0 -1
- package/es/plus/skuOptionsSelection/components/VariantCard/index.d.ts +3 -0
- package/es/plus/skuOptionsSelection/index.d.ts +5 -0
- package/es/plus/skuOptionsSelection/locales.d.ts +53 -0
- package/es/plus/skuOptionsSelection/types.d.ts +443 -0
- package/es/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
- package/es/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
- package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
- package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
- package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
- package/es/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
- package/es/plus/walletEditor/components/relationProduct/index.d.ts +0 -1
- package/es/plus/walletPassGallery/components/passDetail/index.js +8 -1
- package/es/plus/walletPassGallery/locales.d.ts +488 -0
- package/es/plus/walletPassGallery/locales.js +14 -5
- package/es/pro/Login2.0/components/phoneValidation.d.ts +17 -0
- package/es/pro/NumericStepper/index.d.ts +73 -0
- package/es/pro/Selector/demo.d.ts +0 -1
- package/es/pro/Selector/hooks/usePresetProps.d.ts +24 -0
- package/es/pro/pisellNumberSelector/example.d.ts +3 -0
- package/es/pro/pisellPaymentList/example.d.ts +0 -1
- package/lib/components/Sales/Cart/index.d.ts +53 -0
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/Content/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Header/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Services/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +0 -1
- package/lib/components/appointmentBooking/hooks.js +1 -8
- package/lib/components/appointmentBooking/index.d.ts +3 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
- package/lib/components/booking/addons/index.d.ts +17 -0
- package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
- package/lib/components/booking/components/collapsibleList/utils.d.ts +0 -1
- package/lib/components/booking/components/customSelect/index.d.ts +38 -0
- package/lib/components/booking/components/emptyBooking/index.d.ts +0 -1
- package/lib/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
- package/lib/components/booking/components/footer/amount.d.ts +25 -0
- package/lib/components/booking/components/footer/index.d.ts +11 -0
- package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
- package/lib/components/booking/components/tabPane/index.d.ts +4 -0
- package/lib/components/booking/dashboard/serve.d.ts +1 -0
- package/lib/components/booking/deposit/ClientItem/index.d.ts +18 -0
- package/lib/components/booking/deposit/DepositItem/index.d.ts +25 -0
- package/lib/components/booking/deposit/index.d.ts +3 -0
- package/lib/components/booking/editBookingModal/utils.d.ts +12 -0
- package/lib/components/booking/forms/forms.d.ts +30 -0
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
- package/lib/components/booking/forms/serve.d.ts +18 -0
- package/lib/components/booking/forms/table/index.d.ts +0 -1
- package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
- package/lib/components/booking/info/addServiceVariant/index.d.ts +7 -0
- package/lib/components/booking/info/client/index.d.ts +4 -0
- package/lib/components/booking/info/client/serve.d.ts +2 -0
- package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
- package/lib/components/booking/info/clientVariant/utils.d.ts +1 -0
- package/lib/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
- package/lib/components/booking/info/date/index.d.ts +5 -0
- package/lib/components/booking/info/header/index.d.ts +3 -0
- package/lib/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +10 -0
- package/lib/components/booking/info/index.d.ts +4 -0
- package/lib/components/booking/info/main.d.ts +12 -0
- package/lib/components/booking/info/model.d.ts +5 -0
- package/lib/components/booking/info/pet/index.d.ts +14 -0
- package/lib/components/booking/info/pet/serve.d.ts +1 -0
- package/lib/components/booking/info/service/Lists.d.ts +3 -0
- package/lib/components/booking/info/service/addService/index.d.ts +12 -0
- package/lib/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
- package/lib/components/booking/info/service/like/index.d.ts +0 -1
- package/lib/components/booking/info/service/serve.d.ts +20 -0
- package/lib/components/booking/info/service/serviceList/index.d.ts +6 -0
- package/lib/components/booking/info/service/serviceManager/index.d.ts +20 -0
- package/lib/components/booking/info/service2/Group/utils.d.ts +14 -0
- package/lib/components/booking/info/service2/Lists.d.ts +3 -0
- package/lib/components/booking/info/service2/utils.d.ts +248 -0
- package/lib/components/booking/info/utils.d.ts +50 -0
- package/lib/components/booking/info2/index.d.ts +12 -0
- package/lib/components/booking/info2/serve.d.ts +6 -0
- package/lib/components/booking/info2/service/addService/index.d.ts +11 -0
- package/lib/components/booking/info2/service/addService/utils.d.ts +98 -0
- package/lib/components/booking/info2/service/addTimeModal/index.d.ts +4 -0
- package/lib/components/booking/info2/service/editService/Capacity/index.d.ts +4 -0
- package/lib/components/booking/info2/service/editService/utils.d.ts +28 -0
- package/lib/components/booking/info2/service/index.d.ts +4 -0
- package/lib/components/booking/info2/service/serviceList/index.d.ts +6 -0
- package/lib/components/booking/info2/utilsByBooking.d.ts +35 -0
- package/lib/components/booking/locales.d.ts +1485 -0
- package/lib/components/booking/materiels/contacts/index.d.ts +0 -1
- package/lib/components/booking/model.d.ts +111 -0
- package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
- package/lib/components/booking/notes/addNote/index.d.ts +3 -0
- package/lib/components/booking/utils.d.ts +175 -0
- package/lib/components/ecocup/components/CupInfoCard/index.d.ts +0 -1
- package/lib/components/ecocup/components/CustomerCard/index.d.ts +0 -1
- package/lib/components/ecocup/cupList/const.d.ts +140 -0
- package/lib/components/eftpos/deviceList/index.d.ts +0 -1
- package/lib/components/eftpos/form/index.d.ts +0 -1
- package/lib/components/eftpos/group/index.d.ts +0 -1
- package/lib/components/eftpos/hooks.d.ts +0 -1
- package/lib/components/eftpos/icon/apiKey.d.ts +0 -1
- package/lib/components/eftpos/icon/device.d.ts +0 -1
- package/lib/components/eftpos/index.d.ts +0 -1
- package/lib/components/eftpos/pos.d.ts +0 -1
- package/lib/components/eftpos/receipt/index.d.ts +0 -1
- package/lib/components/eftpos/surcharge/index.d.ts +0 -1
- package/lib/components/eftposPay/amount.d.ts +21 -0
- package/lib/components/eftposPay/app.d.ts +11 -0
- package/lib/components/eftposPay/component/alert/warn.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +4 -0
- package/lib/components/eftposPay/component/fail/index.d.ts +3 -0
- package/lib/components/eftposPay/component/fail/network.d.ts +8 -0
- package/lib/components/eftposPay/component/fail/unknow.d.ts +9 -0
- package/lib/components/eftposPay/component/header/titlebar.d.ts +0 -1
- package/lib/components/eftposPay/component/manual/index.d.ts +9 -0
- package/lib/components/eftposPay/component/signature/index.d.ts +8 -0
- package/lib/components/eftposPay/component/step/index.d.ts +0 -1
- package/lib/components/eftposPay/component/step/step.d.ts +0 -1
- package/lib/components/eftposPay/const.d.ts +186 -0
- package/lib/components/eftposPay/device.d.ts +24 -0
- package/lib/components/eftposPay/index.d.ts +5 -0
- package/lib/components/eftposPay/linkly/hooks/normal.d.ts +30 -0
- package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
- package/lib/components/eftposPay/linkly/index.d.ts +3 -0
- package/lib/components/eftposPay/locales.d.ts +572 -0
- package/lib/components/eftposPay/manufacturer.d.ts +7 -0
- package/lib/components/eftposPay/pay.d.ts +21 -0
- package/lib/components/eftposPay/payo/config.d.ts +12 -0
- package/lib/components/eftposPay/payo/hooks.d.ts +10 -0
- package/lib/components/eftposPay/payo/payment.d.ts +66 -0
- package/lib/components/eftposPay/tip.d.ts +9 -0
- package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
- package/lib/components/eftposPay/tyro/index.d.ts +9 -0
- package/lib/components/eftposPay/utils/payLog.d.ts +81 -0
- package/lib/components/eftposPay/windcave/receiptAction.d.ts +22 -0
- package/lib/components/eftposPay/windcave/windcave.d.ts +6 -0
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.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/ProductItem/index.d.ts +0 -1
- package/lib/components/eventBooking/index.d.ts +0 -1
- package/lib/components/index.d.ts +23 -0
- package/lib/components/login/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentList/serve.d.ts +28 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +23 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +155 -0
- package/lib/components/pay/toC/locales.d.ts +631 -0
- package/lib/components/pay/toC/model.d.ts +32 -0
- package/lib/components/pay/toC/payGroup.d.ts +59 -0
- package/lib/components/pay/toC/serve.d.ts +87 -0
- package/lib/components/pay/toC/utils.d.ts +65 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +3 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
- package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
- package/lib/components/ruleSetting/ruleBorder/index.d.ts +0 -1
- package/lib/components/schedules/calendar/calendarItem.d.ts +0 -1
- package/lib/components/schedules/calendar/index.d.ts +0 -1
- package/lib/components/schedules/components/CurrentDay/index.d.ts +0 -1
- package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
- package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
- package/lib/components/schedules/components/ScheduleList/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
- package/lib/components/schedules/products/index.d.ts +0 -1
- package/lib/components/schedules/products/list/ProductItem/index.d.ts +0 -1
- package/lib/components/schedules/products/list/index.d.ts +0 -1
- package/lib/components/schedules/resources/index.d.ts +0 -1
- package/lib/components/schedules/resources/list/index.d.ts +0 -1
- package/lib/components/schedules/resources/relationProduct/index.d.ts +0 -1
- package/lib/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
- package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
- package/lib/components/schedules/schedules/index.d.ts +0 -1
- package/lib/components/shoppingCart/Provider.d.ts +3 -0
- package/lib/components/shoppingCart/locales.d.ts +53 -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/subTotal/locales.d.ts +68 -0
- package/lib/components/systemSettings/registry/locales.d.ts +544 -0
- package/lib/components/systemSettings/registry/services.d.ts +99 -0
- package/lib/components/systemSettings/registry/types.d.ts +145 -0
- package/lib/components/taxSelect/index.d.ts +0 -1
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +7 -0
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +4 -0
- package/lib/components/ticketBooking/index.d.ts +7 -0
- package/lib/components/ticketBooking/locales.d.ts +304 -0
- package/lib/components/ticketBooking/miniRedux.d.ts +22 -0
- package/lib/components/ticketBooking/serve.d.ts +287 -0
- package/lib/components/ticketBooking/utils/formatProductMessage.d.ts +2 -0
- package/lib/components/ticketBooking/utils/index.d.ts +25 -0
- package/lib/hooks/useEngineContext.d.ts +11 -0
- package/lib/hooks/usePaymentLogger.d.ts +0 -1
- package/lib/hooks/useWindowSize.d.ts +5 -0
- package/lib/index.d.ts +83 -0
- package/lib/plus/clientName/index.d.ts +0 -1
- package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +0 -1
- package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +0 -1
- package/lib/plus/clinetSearch/index.d.ts +18 -0
- package/lib/plus/orderList/config.d.ts +2 -2
- package/lib/plus/orderList/locales.d.ts +618 -0
- package/lib/plus/pisellSalesGrid/PisellSalesGrid.stories.d.ts +14 -0
- package/lib/plus/pisellSalesGrid/serve.d.ts +19 -0
- package/lib/plus/pisellSalesGrid/types.d.ts +170 -0
- package/lib/plus/pisellSalesManagement/components/ResourceSelector.d.ts +9 -0
- package/lib/plus/pisellSalesManagement/config/booking.d.ts +185 -0
- package/lib/plus/pisellSalesManagement/config/order.d.ts +172 -0
- package/lib/plus/productSelect/CategoryTabs/index.d.ts +21 -0
- package/lib/plus/productSelect/ProductCard/ProductCardSkeleton.d.ts +10 -0
- package/lib/plus/productSelect/ProductCard/index.d.ts +47 -0
- package/lib/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
- package/lib/plus/productSelect/ProductList/index.d.ts +22 -0
- package/lib/plus/saasCreateOrganization/components/Header.d.ts +0 -1
- package/lib/plus/saasCreateOrganization/index.d.ts +0 -1
- package/lib/plus/saasDevice/devicePlanning/constants.d.ts +9 -0
- package/lib/plus/saasDevice/devicePlanning/hooks.d.ts +1 -0
- package/lib/plus/saasDevice/devicePlanning/locales.d.ts +483 -0
- package/lib/plus/saasDevice/devicePlanning/serve.d.ts +19 -0
- package/lib/plus/saasDevice/devicePlanning/types.d.ts +138 -0
- package/lib/plus/saasDevice/deviceProfile/components/ProfileSetting/utils.d.ts +1 -0
- package/lib/plus/saasDevice/deviceProfile/components/UnsavedConfirmModal/index.d.ts +2 -0
- package/lib/plus/saasDevice/deviceProfile/hooks.d.ts +1 -0
- package/lib/plus/saasDevice/deviceProfile/locales.d.ts +383 -0
- package/lib/plus/saasDevice/deviceProfile/serve.d.ts +38 -0
- package/lib/plus/saasDevice/deviceProfile/types.d.ts +190 -0
- package/lib/plus/saasDevice/index.d.ts +0 -0
- package/lib/plus/saasRegister/components/EntryEmail.d.ts +0 -1
- package/lib/plus/saasRegister/components/EntryInfo.d.ts +0 -1
- package/lib/plus/saasRegister/components/GoLogin.d.ts +0 -1
- package/lib/plus/saasRegister/components/Header.d.ts +0 -1
- package/lib/plus/saasRegister/components/VerifyError.d.ts +0 -1
- package/lib/plus/saasRegister/components/VerifyingLink.d.ts +0 -1
- package/lib/plus/selectHolder/locales.d.ts +35 -0
- package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +5 -0
- package/lib/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +0 -1
- package/lib/plus/skuOptionsSelection/components/VariantCard/index.d.ts +3 -0
- package/lib/plus/skuOptionsSelection/index.d.ts +5 -0
- package/lib/plus/skuOptionsSelection/locales.d.ts +53 -0
- package/lib/plus/skuOptionsSelection/types.d.ts +443 -0
- package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
- package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
- package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
- package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
- package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
- package/lib/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
- package/lib/plus/walletEditor/components/relationProduct/index.d.ts +0 -1
- package/lib/plus/walletPassGallery/components/passDetail/index.js +4 -0
- package/lib/plus/walletPassGallery/locales.d.ts +488 -0
- package/lib/plus/walletPassGallery/locales.js +14 -5
- package/lib/pro/Login2.0/components/phoneValidation.d.ts +17 -0
- package/lib/pro/NumericStepper/index.d.ts +73 -0
- package/lib/pro/Selector/demo.d.ts +0 -1
- package/lib/pro/Selector/hooks/usePresetProps.d.ts +24 -0
- package/lib/pro/pisellNumberSelector/example.d.ts +3 -0
- package/lib/pro/pisellPaymentList/example.d.ts +0 -1
- package/package.json +3 -3
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { PayGroup } from './model';
|
|
2
|
+
/**
|
|
3
|
+
* 生成 `/h5/core/stash` 的 token:前缀 + 订单号
|
|
4
|
+
*/
|
|
5
|
+
export declare const buildPayGroupStashToken: (orderId: string) => string;
|
|
6
|
+
/**
|
|
7
|
+
* @title: 同步交易组到storage
|
|
8
|
+
* @description:
|
|
9
|
+
* @param {PayGroup} payGroup
|
|
10
|
+
* @return {*}
|
|
11
|
+
* @Author: zhiwei.Wang
|
|
12
|
+
* @Date: 2024-08-16 10:40
|
|
13
|
+
*/
|
|
14
|
+
export declare const syncPayGroupToStorage: (payGroup: PayGroup) => void;
|
|
15
|
+
/**
|
|
16
|
+
* @title: 通过订单id获取交易组
|
|
17
|
+
* @description:
|
|
18
|
+
* @param {string} orderId
|
|
19
|
+
* @return {*}
|
|
20
|
+
* @Author: zhiwei.Wang
|
|
21
|
+
* @Date: 2024-08-16 10:40
|
|
22
|
+
*/
|
|
23
|
+
export declare const getPayGroupFromStorage: (orderId: string) => PayGroup | null;
|
|
24
|
+
/**
|
|
25
|
+
* @title: 删除交易组
|
|
26
|
+
* @description:
|
|
27
|
+
* @param {string} orderId
|
|
28
|
+
* @return {*}
|
|
29
|
+
* @Author: zhiwei.Wang
|
|
30
|
+
* @Date: 2024-08-16 10:40
|
|
31
|
+
*/
|
|
32
|
+
export declare const removePayGroupFromStorage: (orderId: string) => void;
|
|
33
|
+
/**
|
|
34
|
+
* @title: 获取交易组参数
|
|
35
|
+
* @description:
|
|
36
|
+
* @param {string} orderId
|
|
37
|
+
* @param {any} rest
|
|
38
|
+
* @return {*}
|
|
39
|
+
* @Author: zhiwei.Wang
|
|
40
|
+
* @Date: 2024-08-16 10:40
|
|
41
|
+
*/
|
|
42
|
+
export declare const getPayGroupParamsFromStorage: (orderId: string, rest?: any) => any;
|
|
43
|
+
/**
|
|
44
|
+
* @title: 通过订单id设置交易号
|
|
45
|
+
* @description: 合并 pay_number 后调用 `/h5/core/stash` 最多 3 次;无论 stash 成败均写入 localStorage
|
|
46
|
+
* @param {string} orderId
|
|
47
|
+
* @param {string} payNumber
|
|
48
|
+
* @param {string} [token] 引擎 utils.token.get(),写入 stash 的 data.token
|
|
49
|
+
* @Author: zhiwei.Wang
|
|
50
|
+
* @Date: 2024-08-16 10:41
|
|
51
|
+
*/
|
|
52
|
+
export declare const setPayNumber: (orderId: string, payNumber: string, token?: string) => Promise<void>;
|
|
53
|
+
/**
|
|
54
|
+
* @title: 清除服务端暂存
|
|
55
|
+
* @description:
|
|
56
|
+
* @param {string} orderId
|
|
57
|
+
* @return {*}
|
|
58
|
+
*/
|
|
59
|
+
export declare const clearStashPayGroup: (orderId: string) => Promise<void>;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
export declare const getPaymentList: (values: any) => Promise<{
|
|
2
|
+
message: string;
|
|
3
|
+
status: string;
|
|
4
|
+
paymentList?: undefined;
|
|
5
|
+
} | {
|
|
6
|
+
message: string;
|
|
7
|
+
status: string;
|
|
8
|
+
paymentList: any;
|
|
9
|
+
}>;
|
|
10
|
+
/**
|
|
11
|
+
* @title: 聚合接口, 根据订单 返回支付列表和钱包
|
|
12
|
+
* @description:
|
|
13
|
+
* @param {object} values
|
|
14
|
+
* @return {*}
|
|
15
|
+
* @Author: zhiwei.Wang
|
|
16
|
+
* @Date: 2024-08-15 11:52
|
|
17
|
+
*/
|
|
18
|
+
export declare const getPaymentsAndWalletPass: (values: {
|
|
19
|
+
order_id: string;
|
|
20
|
+
total_amount: number;
|
|
21
|
+
sale_channel: string;
|
|
22
|
+
}) => Promise<any>;
|
|
23
|
+
/**
|
|
24
|
+
* @title: 初始化交易组
|
|
25
|
+
* @description:
|
|
26
|
+
* @param {object} values
|
|
27
|
+
* @return {*}
|
|
28
|
+
* @Author: zhiwei.Wang
|
|
29
|
+
* @Date: 2024-08-16 10:42
|
|
30
|
+
*/
|
|
31
|
+
export declare const getPaymentInit: (values: {
|
|
32
|
+
order_id?: string;
|
|
33
|
+
amount?: number;
|
|
34
|
+
}) => Promise<any>;
|
|
35
|
+
/**
|
|
36
|
+
* @title: 获取钱包名称和弹窗状态
|
|
37
|
+
* @description:
|
|
38
|
+
* @param {object} values
|
|
39
|
+
* @return {*}
|
|
40
|
+
* @Author: shengjie.zuo
|
|
41
|
+
* @member: 马天宇
|
|
42
|
+
* @Date: 2025-02-21 10:42
|
|
43
|
+
*/
|
|
44
|
+
export declare const getWalletNameAndPopupStatus: (values: {
|
|
45
|
+
setting_type?: string;
|
|
46
|
+
}) => Promise<{
|
|
47
|
+
wallet: {
|
|
48
|
+
name?: {
|
|
49
|
+
en: string;
|
|
50
|
+
'zh-CN': string;
|
|
51
|
+
'zh-HK': string;
|
|
52
|
+
'ja': string;
|
|
53
|
+
'pt': string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
wallet_setting: {
|
|
57
|
+
popup_status?: 1 | 0;
|
|
58
|
+
};
|
|
59
|
+
}>;
|
|
60
|
+
/**
|
|
61
|
+
* @title: 获取支付结果
|
|
62
|
+
* @description: 获取支付结果
|
|
63
|
+
*/
|
|
64
|
+
export declare const getPaymentResult: (values: any) => Promise<any>;
|
|
65
|
+
/**
|
|
66
|
+
* @title: 检测订单是否有正在处理中的交易
|
|
67
|
+
* @param {object} values - { order_id: string }
|
|
68
|
+
* @return {Promise<{ has_pending: boolean }>}
|
|
69
|
+
*/
|
|
70
|
+
export declare const checkPendingPayment: (values: {
|
|
71
|
+
order_id: string;
|
|
72
|
+
}) => Promise<{
|
|
73
|
+
has_pending: boolean;
|
|
74
|
+
}>;
|
|
75
|
+
/** `/h5/core/stash` 请求体 */
|
|
76
|
+
export interface CoreStashParams {
|
|
77
|
+
/** 缓存 key,由前端生成 */
|
|
78
|
+
token: string;
|
|
79
|
+
/** 暂存数据,如完整 PayGroup */
|
|
80
|
+
data: unknown;
|
|
81
|
+
/** 生命周期(秒),默认 86400(1 天) */
|
|
82
|
+
ttl?: number;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* 调用服务端暂存接口,写入 payGroup 等数据。
|
|
86
|
+
*/
|
|
87
|
+
export declare const postCoreStash: (params: CoreStashParams) => Promise<void>;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { PayGroup } from "./model";
|
|
2
|
+
import { WalletPassDataType } from "./PaymentMethods/WalletPass/serve";
|
|
3
|
+
/**
|
|
4
|
+
* 计算walletPass列表数据的总金额
|
|
5
|
+
* @param list
|
|
6
|
+
*/
|
|
7
|
+
export declare const calcWalletPassListAmount: (list: any[]) => any;
|
|
8
|
+
/**
|
|
9
|
+
* 将walletPass列表数据转换为prepare_payments需要的数据格式
|
|
10
|
+
* @param list
|
|
11
|
+
*/
|
|
12
|
+
export declare const formatWalletPassList2PreparePayments: (list?: any[]) => {
|
|
13
|
+
voucher_id: any;
|
|
14
|
+
amount: number;
|
|
15
|
+
tag: any;
|
|
16
|
+
}[];
|
|
17
|
+
/**
|
|
18
|
+
* walletPass支付params
|
|
19
|
+
* @param payGroup
|
|
20
|
+
*/
|
|
21
|
+
export declare const formatWalletPassParams: (payGroup: PayGroup) => {
|
|
22
|
+
order_id: string;
|
|
23
|
+
payment_group_id: number;
|
|
24
|
+
payments: {
|
|
25
|
+
amount: string;
|
|
26
|
+
wallet_pass_use_value: any;
|
|
27
|
+
voucher_id: any;
|
|
28
|
+
tag: any;
|
|
29
|
+
wallet_pass_usage_unit: any;
|
|
30
|
+
metadata: {
|
|
31
|
+
unique_payment_number: any;
|
|
32
|
+
};
|
|
33
|
+
}[];
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* @title: 获取是否walletPass和三方支付的组合支付
|
|
37
|
+
* @description: 三方支付 (stripe 支付宝 微信 苹果 谷歌)
|
|
38
|
+
* @return: *
|
|
39
|
+
* @Author: shengjie.zuo
|
|
40
|
+
* @Date: 2024-08-30 10:06:17
|
|
41
|
+
*/
|
|
42
|
+
export declare const getIsWalletPassAndTripartitePayment: (payGroup: PayGroup) => boolean | 0 | undefined;
|
|
43
|
+
export declare const isFranchiseeShop: (path?: any, history?: any) => any;
|
|
44
|
+
/**
|
|
45
|
+
* @title: 获取当前连锁加盟店铺shopid
|
|
46
|
+
* @description:
|
|
47
|
+
* @param {any} param1
|
|
48
|
+
* @return {*}
|
|
49
|
+
* @Author: chensheng.gu
|
|
50
|
+
* @Date: 2024-08-07 10:04
|
|
51
|
+
*/
|
|
52
|
+
export declare const getFranchiseeShopId: (path?: any, history?: any) => number;
|
|
53
|
+
export declare const formatFranchiseeRoute: (url: string, history?: any) => string;
|
|
54
|
+
export declare const getAvailableMaxAmount: (data: WalletPassDataType) => string;
|
|
55
|
+
export declare const clientPayment: (params: {
|
|
56
|
+
order_id: number;
|
|
57
|
+
type: "aliPay" | "wxPay" | 'google_pay';
|
|
58
|
+
values: any;
|
|
59
|
+
interaction?: any;
|
|
60
|
+
}) => void;
|
|
61
|
+
/**
|
|
62
|
+
* 获取唯一幂等token
|
|
63
|
+
* @returns
|
|
64
|
+
*/
|
|
65
|
+
export declare const getUniqueIdempotencyToken: () => string;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.text.shopping-cart.item': (num: number) => string;
|
|
4
|
+
'pisell2.text.shopping-cart.clear.cart': string;
|
|
5
|
+
'pisell2.text.shopping-cart.add.service': string;
|
|
6
|
+
'pisell2.text.shopping-cart.add.more': string;
|
|
7
|
+
'pisell2.text.shopping-cart.no.selected': string;
|
|
8
|
+
'pisell2.text.shopping-cart.confirm': string;
|
|
9
|
+
'pisell2.text.shopping-cart.cancel': string;
|
|
10
|
+
'pisell2.text.shopping-cart.select.holder.modal.title': string;
|
|
11
|
+
};
|
|
12
|
+
'zh-CN': {
|
|
13
|
+
'pisell2.text.shopping-cart.item': (num: number) => string;
|
|
14
|
+
'pisell2.text.shopping-cart.clear.cart': string;
|
|
15
|
+
'pisell2.text.shopping-cart.add.service': string;
|
|
16
|
+
'pisell2.text.shopping-cart.add.more': string;
|
|
17
|
+
'pisell2.text.shopping-cart.no.selected': string;
|
|
18
|
+
'pisell2.text.shopping-cart.confirm': string;
|
|
19
|
+
'pisell2.text.shopping-cart.cancel': string;
|
|
20
|
+
'pisell2.text.shopping-cart.select.holder.modal.title': string;
|
|
21
|
+
};
|
|
22
|
+
'zh-HK': {
|
|
23
|
+
'pisell2.text.shopping-cart.item': (num: number) => string;
|
|
24
|
+
'pisell2.text.shopping-cart.clear.cart': string;
|
|
25
|
+
'pisell2.text.shopping-cart.add.service': string;
|
|
26
|
+
'pisell2.text.shopping-cart.add.more': string;
|
|
27
|
+
'pisell2.text.shopping-cart.no.selected': string;
|
|
28
|
+
'pisell2.text.shopping-cart.confirm': string;
|
|
29
|
+
'pisell2.text.shopping-cart.cancel': string;
|
|
30
|
+
'pisell2.text.shopping-cart.select.holder.modal.title': string;
|
|
31
|
+
};
|
|
32
|
+
ja: {
|
|
33
|
+
'pisell2.text.shopping-cart.item': (num: number) => string;
|
|
34
|
+
'pisell2.text.shopping-cart.clear.cart': string;
|
|
35
|
+
'pisell2.text.shopping-cart.add.service': string;
|
|
36
|
+
'pisell2.text.shopping-cart.add.more': string;
|
|
37
|
+
'pisell2.text.shopping-cart.no.selected': string;
|
|
38
|
+
'pisell2.text.shopping-cart.confirm': string;
|
|
39
|
+
'pisell2.text.shopping-cart.cancel': string;
|
|
40
|
+
'pisell2.text.shopping-cart.select.holder.modal.title': string;
|
|
41
|
+
};
|
|
42
|
+
pt: {
|
|
43
|
+
'pisell2.text.shopping-cart.item': (num: number) => string;
|
|
44
|
+
'pisell2.text.shopping-cart.clear.cart': string;
|
|
45
|
+
'pisell2.text.shopping-cart.add.service': string;
|
|
46
|
+
'pisell2.text.shopping-cart.add.more': string;
|
|
47
|
+
'pisell2.text.shopping-cart.no.selected': string;
|
|
48
|
+
'pisell2.text.shopping-cart.confirm': string;
|
|
49
|
+
'pisell2.text.shopping-cart.cancel': string;
|
|
50
|
+
'pisell2.text.shopping-cart.select.holder.modal.title': string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
export default _default;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export declare const holder: {
|
|
2
|
+
key: number;
|
|
3
|
+
label: string;
|
|
4
|
+
tip: string;
|
|
5
|
+
img: string;
|
|
6
|
+
}[];
|
|
7
|
+
export declare const products: ({
|
|
8
|
+
id: number;
|
|
9
|
+
title: string;
|
|
10
|
+
from_id: number;
|
|
11
|
+
holder: string;
|
|
12
|
+
price: number;
|
|
13
|
+
total: number;
|
|
14
|
+
num: number;
|
|
15
|
+
origin_price: number;
|
|
16
|
+
symbol: string;
|
|
17
|
+
relation_form_name: string;
|
|
18
|
+
like_status: string;
|
|
19
|
+
_extend: {
|
|
20
|
+
start_time: string;
|
|
21
|
+
duration: number;
|
|
22
|
+
date: string;
|
|
23
|
+
like_status: string;
|
|
24
|
+
};
|
|
25
|
+
product_cover: string;
|
|
26
|
+
} | {
|
|
27
|
+
id: number;
|
|
28
|
+
title: string;
|
|
29
|
+
from_id: number;
|
|
30
|
+
holder: string;
|
|
31
|
+
price: number;
|
|
32
|
+
total: number;
|
|
33
|
+
num: number;
|
|
34
|
+
symbol: string;
|
|
35
|
+
origin_price?: undefined;
|
|
36
|
+
relation_form_name?: undefined;
|
|
37
|
+
like_status?: undefined;
|
|
38
|
+
_extend?: undefined;
|
|
39
|
+
product_cover?: undefined;
|
|
40
|
+
})[];
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { CollapseProps } from 'antd';
|
|
2
|
+
export interface productProps {
|
|
3
|
+
hideAddBtn?: boolean;
|
|
4
|
+
isShowNote?: boolean;
|
|
5
|
+
isShowPackageNote?: boolean;
|
|
6
|
+
products?: any[];
|
|
7
|
+
holders?: any[];
|
|
8
|
+
isEdit?: boolean;
|
|
9
|
+
disabledEdit?: boolean;
|
|
10
|
+
isShowChangeResource?: boolean;
|
|
11
|
+
isShowDelete?: boolean;
|
|
12
|
+
isShowChangeHolder?: boolean;
|
|
13
|
+
isShowHolder?: boolean;
|
|
14
|
+
isShowAddHolderButton?: boolean;
|
|
15
|
+
}
|
|
16
|
+
export interface shoppingCartProps {
|
|
17
|
+
isOpenGroup?: boolean;
|
|
18
|
+
carts?: any[];
|
|
19
|
+
platform?: 'shop' | 'h5';
|
|
20
|
+
emptyText?: string;
|
|
21
|
+
activeKey?: string[] | number[];
|
|
22
|
+
defaultActiveKey?: string[] | number[];
|
|
23
|
+
className?: string;
|
|
24
|
+
onCard?: (e: any) => void;
|
|
25
|
+
onAction?: (e: any) => void;
|
|
26
|
+
onChange?: (items: any, type?: string, other?: any) => void;
|
|
27
|
+
onAddProduct?: (e?: any) => void;
|
|
28
|
+
onActiveKey?: (e: any) => void;
|
|
29
|
+
isShowImage?: boolean;
|
|
30
|
+
isShowHolder?: boolean;
|
|
31
|
+
isShowDelete?: boolean;
|
|
32
|
+
collapseParams?: CollapseProps;
|
|
33
|
+
productParams?: productProps;
|
|
34
|
+
isHideClearCart?: boolean;
|
|
35
|
+
isParallelResource?: boolean;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @title: 商品卡片
|
|
39
|
+
* @description:
|
|
40
|
+
* @return {*}
|
|
41
|
+
* @Author: WangHan
|
|
42
|
+
* @Date: 2024-11-29 09:52
|
|
43
|
+
*/
|
|
44
|
+
export interface ProductProps {
|
|
45
|
+
id?: any;
|
|
46
|
+
lists: any[];
|
|
47
|
+
isAdd?: boolean;
|
|
48
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @title: 格式化购物车列表
|
|
3
|
+
* @description:
|
|
4
|
+
* @param {any} state
|
|
5
|
+
* @return {*}
|
|
6
|
+
* @Author: WangHan
|
|
7
|
+
* @Date: 2024-11-28 16:52
|
|
8
|
+
*/
|
|
9
|
+
export declare const formatCartList: (state: any) => any;
|
|
10
|
+
/**
|
|
11
|
+
* @title: 是否是空页面
|
|
12
|
+
* @description:
|
|
13
|
+
* @param {any} state
|
|
14
|
+
* @return {*}
|
|
15
|
+
* @Author: WangHan
|
|
16
|
+
* @Date: 2024-11-28 16:47
|
|
17
|
+
*/
|
|
18
|
+
export declare const isEmptyStatus: (state: any) => boolean;
|
|
19
|
+
/**
|
|
20
|
+
* @title: 是否是商品列表页面
|
|
21
|
+
* @description:
|
|
22
|
+
* @param {any} state
|
|
23
|
+
* @return {*}
|
|
24
|
+
* @Author: WangHan
|
|
25
|
+
* @Date: 2024-11-28 17:23
|
|
26
|
+
*/
|
|
27
|
+
export declare const isProductList: (state: any) => boolean;
|
|
28
|
+
/**
|
|
29
|
+
* @title: 格式化数据最终结果
|
|
30
|
+
* @description:
|
|
31
|
+
* @param {any} state
|
|
32
|
+
* @return {*}
|
|
33
|
+
* @Author: WangHan
|
|
34
|
+
* @Date: 2024-11-28 18:35
|
|
35
|
+
*/
|
|
36
|
+
export declare const formatState: (state: any) => {
|
|
37
|
+
isEmpty: boolean;
|
|
38
|
+
isProductList: boolean;
|
|
39
|
+
carts: any;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* @title: 更新商品
|
|
43
|
+
* @description:
|
|
44
|
+
* @param {any} newState
|
|
45
|
+
* @param {any} state
|
|
46
|
+
* @return {*}
|
|
47
|
+
* @Author: WangHan
|
|
48
|
+
* @Date: 2024-11-28 22:30
|
|
49
|
+
*/
|
|
50
|
+
export declare const updateProduct: (state: any, newProducts: any[]) => {
|
|
51
|
+
products: any[];
|
|
52
|
+
carts: any;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* @title: 格式化服务
|
|
56
|
+
* @description:
|
|
57
|
+
* @param {any} service
|
|
58
|
+
* @param {number} id holder_id
|
|
59
|
+
* @return {*}
|
|
60
|
+
* @Author: WangHan
|
|
61
|
+
* @Date: 2024-12-09 22:47
|
|
62
|
+
*/
|
|
63
|
+
export declare const formatService: (service: any[], id: number) => any[];
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.subtotal.deposit': string;
|
|
4
|
+
'pisell2.subtotal.total': string;
|
|
5
|
+
'pisell2.subtotal.subtotal': string;
|
|
6
|
+
'pisell2.subtotal.tax': string;
|
|
7
|
+
'pisell2.subtotal.delivery-fee': string;
|
|
8
|
+
'pisell2.subtotal.discount': string;
|
|
9
|
+
'pisell2.subtotal.point-deduction': string;
|
|
10
|
+
'pisell2.subtotal.member-deduction': string;
|
|
11
|
+
'pisell2.subtotal.items': string;
|
|
12
|
+
'pisell2.subtotal.not-contain': string;
|
|
13
|
+
'pisell2.subtotal.included': string;
|
|
14
|
+
};
|
|
15
|
+
'zh-CN': {
|
|
16
|
+
'pisell2.subtotal.deposit': string;
|
|
17
|
+
'pisell2.subtotal.total': string;
|
|
18
|
+
'pisell2.subtotal.subtotal': string;
|
|
19
|
+
'pisell2.subtotal.tax': string;
|
|
20
|
+
'pisell2.subtotal.delivery-fee': string;
|
|
21
|
+
'pisell2.subtotal.discount': string;
|
|
22
|
+
'pisell2.subtotal.point-deduction': string;
|
|
23
|
+
'pisell2.subtotal.member-deduction': string;
|
|
24
|
+
'pisell2.subtotal.items': string;
|
|
25
|
+
'pisell2.subtotal.not-contain': string;
|
|
26
|
+
'pisell2.subtotal.included': string;
|
|
27
|
+
};
|
|
28
|
+
'zh-HK': {
|
|
29
|
+
'pisell2.subtotal.deposit': string;
|
|
30
|
+
'pisell2.subtotal.total': string;
|
|
31
|
+
'pisell2.subtotal.subtotal': string;
|
|
32
|
+
'pisell2.subtotal.tax': string;
|
|
33
|
+
'pisell2.subtotal.delivery-fee': string;
|
|
34
|
+
'pisell2.subtotal.discount': string;
|
|
35
|
+
'pisell2.subtotal.point-deduction': string;
|
|
36
|
+
'pisell2.subtotal.member-deduction': string;
|
|
37
|
+
'pisell2.subtotal.items': string;
|
|
38
|
+
'pisell2.subtotal.not-contain': string;
|
|
39
|
+
'pisell2.subtotal.included': string;
|
|
40
|
+
};
|
|
41
|
+
ja: {
|
|
42
|
+
'pisell2.subtotal.deposit': string;
|
|
43
|
+
'pisell2.subtotal.total': string;
|
|
44
|
+
'pisell2.subtotal.subtotal': string;
|
|
45
|
+
'pisell2.subtotal.tax': string;
|
|
46
|
+
'pisell2.subtotal.delivery-fee': string;
|
|
47
|
+
'pisell2.subtotal.discount': string;
|
|
48
|
+
'pisell2.subtotal.point-deduction': string;
|
|
49
|
+
'pisell2.subtotal.member-deduction': string;
|
|
50
|
+
'pisell2.subtotal.items': string;
|
|
51
|
+
'pisell2.subtotal.not-contain': string;
|
|
52
|
+
'pisell2.subtotal.included': string;
|
|
53
|
+
};
|
|
54
|
+
pt: {
|
|
55
|
+
'pisell2.subtotal.deposit': string;
|
|
56
|
+
'pisell2.subtotal.total': string;
|
|
57
|
+
'pisell2.subtotal.subtotal': string;
|
|
58
|
+
'pisell2.subtotal.tax': string;
|
|
59
|
+
'pisell2.subtotal.delivery-fee': string;
|
|
60
|
+
'pisell2.subtotal.discount': string;
|
|
61
|
+
'pisell2.subtotal.point-deduction': string;
|
|
62
|
+
'pisell2.subtotal.member-deduction': string;
|
|
63
|
+
'pisell2.subtotal.items': string;
|
|
64
|
+
'pisell2.subtotal.not-contain': string;
|
|
65
|
+
'pisell2.subtotal.included': string;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
export default _default;
|