@pisell/private-materials 6.3.149 → 6.3.150
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/businessModel/SalesModel/index.d.ts +1 -0
- package/es/components/Sales/Summary/utils.d.ts +58 -0
- package/es/components/appointmentBooking/components/Cart/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Date/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Footer/index.d.ts +3 -0
- package/es/components/appointmentBooking/components/Form/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Header/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Services/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +1 -0
- package/es/components/appointmentBooking/context.d.ts +35 -0
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +3 -0
- package/es/components/appointmentBooking/hooks.d.ts +107 -0
- package/es/components/appointmentBooking/hooks.js +27 -20
- package/es/components/appointmentBooking/index.d.ts +1 -0
- package/es/components/appointmentBooking/locales.d.ts +606 -0
- package/es/components/appointmentBooking/utils.d.ts +227 -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/model.d.ts +1 -10
- package/es/components/booking/components/footer/amount.d.ts +25 -0
- package/es/components/booking/components/footer/index.d.ts +0 -1
- package/es/components/booking/components/footer/utils.d.ts +47 -0
- package/es/components/booking/components/reloadResourceModal/index.d.ts +8 -0
- package/es/components/booking/components/tabPane/index.d.ts +4 -0
- package/es/components/booking/components/voucher/index.d.ts +3 -0
- package/es/components/booking/components/voucher/utils.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 +26 -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/model.d.ts +1 -10
- 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/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/utils.d.ts +1 -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/model.d.ts +5 -0
- package/es/components/booking/info/notes/index.d.ts +1 -0
- package/es/components/booking/info/pet/serve.d.ts +1 -0
- package/es/components/booking/info/service/Lists.d.ts +1 -0
- package/es/components/booking/info/service/addService/index.d.ts +1 -0
- package/es/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
- package/es/components/booking/info/service/addTimeModal/utils.d.ts +31 -0
- package/es/components/booking/info/service/editService/constants.d.ts +1 -0
- package/es/components/booking/info/service/editService/index.d.ts +7 -0
- 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/distributeDiscount.d.ts +11 -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 +1 -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/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/editService/utils.d.ts +28 -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 +1489 -0
- package/es/components/booking/model.d.ts +112 -0
- package/es/components/booking/notes/addNote/index.d.ts +4 -0
- package/es/components/booking/notes/model.d.ts +1 -10
- package/es/components/booking/payments/model.d.ts +1 -10
- package/es/components/booking/utils.d.ts +175 -0
- package/es/components/ecocup/utils/download.d.ts +7 -0
- package/es/components/ecocup/utils/index.d.ts +2 -0
- package/es/components/eftpos/const.d.ts +64 -0
- package/es/components/eftpos/device.d.ts +9 -0
- package/es/components/eftpos/hooks.d.ts +34 -0
- package/es/components/eftpos/index.d.ts +47 -0
- package/es/components/eftpos/locales.d.ts +163 -0
- package/es/components/eftpos/surcharge/index.d.ts +1 -0
- package/es/components/eftpos/table.d.ts +21 -0
- package/es/components/eftposPay/amount.d.ts +21 -0
- package/es/components/eftposPay/app.d.ts +11 -0
- 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 +9 -0
- package/es/components/eftposPay/component/fail/unknow.d.ts +10 -0
- package/es/components/eftposPay/component/manual/index.d.ts +10 -0
- package/es/components/eftposPay/component/signature/index.d.ts +9 -0
- package/es/components/eftposPay/const.d.ts +186 -0
- package/es/components/eftposPay/device.d.ts +24 -0
- package/es/components/eftposPay/hooks.d.ts +36 -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 +13 -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/store/index.d.ts +358 -0
- package/es/components/eftposPay/tip.d.ts +10 -0
- package/es/components/eftposPay/tyro/index.d.ts +9 -0
- package/es/components/eftposPay/utils/log/index.d.ts +110 -0
- package/es/components/eftposPay/utils/payLog.d.ts +81 -0
- package/es/components/eftposPay/windcave/helper.d.ts +23 -0
- package/es/components/eftposPay/windcave/receiptAction.d.ts +23 -0
- package/es/components/eftposPay/windcave/windcave.d.ts +7 -0
- package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
- package/es/components/eventBooking/index.d.ts +1 -0
- package/es/components/kioskSkuDetail/index.d.ts +39 -0
- package/es/components/kioskSkuDetail/locales.d.ts +48 -0
- package/es/components/pay/toC/PaymentMethods/BankDeposit/index.d.ts +10 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +10 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +10 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +10 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +16 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +15 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +83 -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 +3 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +3 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +3 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/index.d.ts +10 -0
- package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +10 -0
- package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +10 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +22 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +25 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +16 -0
- package/es/components/pay/toC/PaymentMethods/index.d.ts +9 -0
- package/es/components/pay/toC/index.d.ts +3 -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/PhoneField/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/locales.d.ts +133 -0
- package/es/components/productExtension/fields/Actor/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
- package/es/components/productExtension/index.d.ts +1 -0
- package/es/components/ruleSetting/index.d.ts +1 -0
- package/es/components/ruleSetting/locales.d.ts +78 -0
- package/es/components/scanOrder/components/Checkout/index.d.ts +7 -0
- package/es/components/scanOrder/components/ErrorState/index.d.ts +8 -0
- package/es/components/scanOrder/components/FulfillmentMode/index.d.ts +11 -0
- package/es/components/scanOrder/context.d.ts +4 -0
- package/es/components/scanOrder/hooks.d.ts +14 -0
- package/es/components/scanOrder/index.d.ts +5 -0
- package/es/components/scanOrder/locales.d.ts +248 -0
- package/es/components/scanOrder/types.d.ts +79 -0
- package/es/components/scanOrder/utils/toShoppingCartProducts.d.ts +21 -0
- package/es/components/scanOrder/utils/transformProductDetail.d.ts +59 -0
- package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
- package/es/components/schedules/locales.d.ts +143 -0
- package/es/components/schedules/model.d.ts +1 -9
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
- package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
- package/es/components/shoppingCart/components/Render/index.d.ts +1 -0
- package/es/components/shoppingCart/index.d.ts +1 -0
- package/es/components/shoppingCart/locales.d.ts +53 -0
- package/es/components/shoppingCart/type.d.ts +48 -0
- package/es/components/subTotal/locales.d.ts +68 -0
- package/es/components/systemSettings/registry/components/GroupModal.d.ts +4 -0
- package/es/components/systemSettings/registry/components/ItemModal.d.ts +4 -0
- package/es/components/systemSettings/registry/index.d.ts +5 -0
- package/es/components/systemSettings/registry/locales.d.ts +534 -0
- package/es/components/systemSettings/registry/services.d.ts +99 -0
- package/es/components/systemSettings/registry/types.d.ts +143 -0
- package/es/components/taxSelect/index.d.ts +1 -0
- package/es/components/taxSelect/locales.d.ts +38 -0
- package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +9 -0
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +7 -0
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +0 -1
- package/es/components/ticketBooking/components/timeBar/index.d.ts +12 -0
- package/es/components/ticketBooking/index.d.ts +0 -1
- package/es/components/ticketBooking/locales.d.ts +299 -0
- package/es/components/ticketBooking/utils/formatProductMessage.d.ts +2 -0
- package/es/components/ticketBooking/utils/index.d.ts +25 -0
- package/es/components/venueBooking/components/Deposit/index.d.ts +14 -0
- package/es/components/venueBooking/components/VenueSelection/components/PriceLegend.d.ts +2 -0
- package/es/components/venueBooking/hooks.d.ts +72 -0
- package/es/components/venueBooking/locales.d.ts +627 -0
- package/es/components/venueBooking/mock.d.ts +23 -0
- package/es/components/venueBooking/temp.d.ts +2 -0
- package/es/components/venueBooking/types.d.ts +204 -0
- package/es/components/venueBooking/utils/transformProductDetail.d.ts +8 -0
- package/es/components/venueBooking/utils.d.ts +66 -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/hooks/useEngineContext.d.ts +11 -0
- package/es/hooks/useWindowSize.d.ts +5 -0
- package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
- package/es/plus/clinetSearch/index.d.ts +18 -0
- package/es/plus/orderList/locales.d.ts +618 -0
- package/es/plus/pisellFinancialSummary/components/Collapse/Collapse.d.ts +8 -0
- package/es/plus/pisellFinancialSummary/components/Collapse/Collapse.stories.d.ts +7 -0
- package/es/plus/pisellFinancialSummary/components/Collapse/index.d.ts +2 -0
- package/es/plus/pisellFinancialSummary/components/Collapse/types.d.ts +48 -0
- package/es/plus/pisellFinancialSummary/locales.d.ts +28 -0
- package/es/plus/pisellFinancialSummary/types.d.ts +139 -0
- package/es/plus/pisellFinancialSummary/utils/buildSummaryItems.d.ts +44 -0
- package/es/plus/pisellFinancialSummary/utils/index.d.ts +2 -0
- package/es/plus/pisellReservation/components/bookingDetailModal/bookingProductToProductCard.d.ts +10 -0
- package/es/plus/pisellReservation/data/filterBookingsAtTimeCursor.d.ts +9 -0
- package/es/plus/pisellReservation/floorMap/floorMapHostCheckout.d.ts +6 -0
- package/es/plus/pisellReservation/floorMap/floorPlanApi.d.ts +5 -5
- package/es/plus/pisellReservation/floorMap/reservationCards.d.ts +7 -7
- package/es/plus/pisellReservation/floorMap/useReservationFloorMapMerged.d.ts +1 -1
- package/es/plus/pisellReservation/floorMap/useReservationFloorPlan.d.ts +1 -1
- package/es/plus/pisellReservation/floorRoomCard/floorRoomCardDom.d.ts +3 -0
- package/es/plus/pisellReservation/floorRoomCard/floorRoomCardHeaderFormat.d.ts +3 -0
- package/es/plus/pisellReservation/floorRoomCard/floorRoomCardModel.d.ts +59 -0
- package/es/plus/pisellReservation/floorRoomCard/floorRoomCardPaymentUi.d.ts +9 -0
- package/es/plus/pisellReservation/floorRoomCard/mapFloorRoomCardViewProps.d.ts +10 -0
- package/es/plus/pisellReservation/floorRoomCard/views/RoomCardHeaderView.d.ts +12 -0
- package/es/plus/pisellReservation/floorRoomCard/views/RoomCardIcons.d.ts +4 -0
- package/es/plus/pisellReservation/floorRoomCard/views/RoomCardShellView.d.ts +9 -0
- package/es/plus/pisellReservation/hooks/useNewReservationRoutesFromEngine.d.ts +8 -0
- package/es/plus/pisellReservation/hooks/usePisellReservationBookingData.d.ts +47 -0
- package/es/plus/pisellReservation/hooks/useReservationLoadingShownDebounced.d.ts +5 -0
- package/es/plus/pisellReservation/hooks/useReservationScheduleDebounced.d.ts +3 -3
- package/es/plus/pisellReservation/locales/locales-ja.d.ts +133 -0
- package/es/plus/pisellReservation/locales/locales-pt.d.ts +133 -0
- package/es/plus/pisellReservation/locales/locales.d.ts +666 -0
- package/es/plus/pisellReservation/reservationConstants.d.ts +1117 -0
- package/es/plus/pisellSalesGrid/types.d.ts +197 -0
- package/es/plus/pisellSalesManagement/hooks/useSalesGridData.d.ts +30 -0
- package/es/plus/pisellSalesProductCard/locales.d.ts +38 -0
- package/es/plus/pisellSalesProductCard/types.d.ts +134 -0
- package/es/plus/pisellSalesProductCard/utils.d.ts +17 -0
- package/es/plus/productSelect/CategoryTabs/index.d.ts +21 -0
- package/es/plus/productSelect/ProductCard/ProductCardV2.d.ts +21 -0
- package/es/plus/productSelect/ProductCard/index.d.ts +47 -0
- package/es/plus/saasCreateOrganization/index.d.ts +1 -0
- package/es/plus/saasTeamMembers/locales.d.ts +546 -0
- 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/OptionsCard/OptionItemCard.d.ts +3 -0
- package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +15 -0
- package/es/plus/skuOptionsSelection/index.d.ts +5 -0
- package/es/plus/skuOptionsSelection/locales.d.ts +58 -0
- package/es/plus/skuOptionsSelection/types.d.ts +458 -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/walletPassGallery/components/passDetail/index.d.ts +10 -0
- package/es/plus/walletPassGallery/locales.d.ts +488 -0
- package/es/pro/Cards/components/SKUCard/index.d.ts +5 -0
- package/es/pro/Cards/components/SKUCard/types.d.ts +73 -0
- package/es/pro/Login2.0/Register2.d.ts +65 -0
- package/es/pro/Login2.0/components/PhoneInput.d.ts +53 -0
- package/es/pro/Login2.0/components/phoneValidation.d.ts +17 -0
- package/es/pro/Login2.0/shared/registerFlow.d.ts +117 -0
- package/es/pro/Login2.0/shared/types.d.ts +234 -0
- package/es/pro/Login2.0/steps/CodeInput.d.ts +24 -0
- package/es/pro/Login2.0/steps/WaitEmailLink.d.ts +18 -0
- package/es/pro/NumericStepper/index.d.ts +96 -0
- package/es/pro/Selector/Selector.stories.d.ts +78 -0
- 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 +1 -0
- package/es/test/setup.d.ts +1 -0
- package/lib/businessModel/SalesModel/index.d.ts +1 -0
- package/lib/components/Sales/Summary/utils.d.ts +58 -0
- package/lib/components/appointmentBooking/components/Cart/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Date/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/Form/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Header/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Services/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +1 -0
- package/lib/components/appointmentBooking/context.d.ts +35 -0
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +3 -0
- package/lib/components/appointmentBooking/hooks.d.ts +107 -0
- package/lib/components/appointmentBooking/hooks.js +8 -1
- package/lib/components/appointmentBooking/index.d.ts +1 -0
- package/lib/components/appointmentBooking/locales.d.ts +606 -0
- package/lib/components/appointmentBooking/utils.d.ts +227 -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/model.d.ts +1 -10
- package/lib/components/booking/components/footer/amount.d.ts +25 -0
- package/lib/components/booking/components/footer/index.d.ts +0 -1
- package/lib/components/booking/components/footer/utils.d.ts +47 -0
- package/lib/components/booking/components/reloadResourceModal/index.d.ts +8 -0
- package/lib/components/booking/components/tabPane/index.d.ts +4 -0
- package/lib/components/booking/components/voucher/index.d.ts +3 -0
- package/lib/components/booking/components/voucher/utils.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 +26 -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/model.d.ts +1 -10
- 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/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/utils.d.ts +1 -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/model.d.ts +5 -0
- package/lib/components/booking/info/notes/index.d.ts +1 -0
- package/lib/components/booking/info/pet/serve.d.ts +1 -0
- package/lib/components/booking/info/service/Lists.d.ts +1 -0
- package/lib/components/booking/info/service/addService/index.d.ts +1 -0
- package/lib/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
- package/lib/components/booking/info/service/addTimeModal/utils.d.ts +31 -0
- package/lib/components/booking/info/service/editService/constants.d.ts +1 -0
- package/lib/components/booking/info/service/editService/index.d.ts +7 -0
- 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/distributeDiscount.d.ts +11 -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 +1 -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/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/editService/utils.d.ts +28 -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 +1489 -0
- package/lib/components/booking/model.d.ts +112 -0
- package/lib/components/booking/notes/addNote/index.d.ts +4 -0
- package/lib/components/booking/notes/model.d.ts +1 -10
- package/lib/components/booking/payments/model.d.ts +1 -10
- package/lib/components/booking/utils.d.ts +175 -0
- package/lib/components/ecocup/utils/download.d.ts +7 -0
- package/lib/components/ecocup/utils/index.d.ts +2 -0
- package/lib/components/eftpos/const.d.ts +64 -0
- package/lib/components/eftpos/device.d.ts +9 -0
- package/lib/components/eftpos/hooks.d.ts +34 -0
- package/lib/components/eftpos/index.d.ts +47 -0
- package/lib/components/eftpos/locales.d.ts +163 -0
- package/lib/components/eftpos/surcharge/index.d.ts +1 -0
- package/lib/components/eftpos/table.d.ts +21 -0
- package/lib/components/eftposPay/amount.d.ts +21 -0
- package/lib/components/eftposPay/app.d.ts +11 -0
- 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 +9 -0
- package/lib/components/eftposPay/component/fail/unknow.d.ts +10 -0
- package/lib/components/eftposPay/component/manual/index.d.ts +10 -0
- package/lib/components/eftposPay/component/signature/index.d.ts +9 -0
- package/lib/components/eftposPay/const.d.ts +186 -0
- package/lib/components/eftposPay/device.d.ts +24 -0
- package/lib/components/eftposPay/hooks.d.ts +36 -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 +13 -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/store/index.d.ts +358 -0
- package/lib/components/eftposPay/tip.d.ts +10 -0
- package/lib/components/eftposPay/tyro/index.d.ts +9 -0
- package/lib/components/eftposPay/utils/log/index.d.ts +110 -0
- package/lib/components/eftposPay/utils/payLog.d.ts +81 -0
- package/lib/components/eftposPay/windcave/helper.d.ts +23 -0
- package/lib/components/eftposPay/windcave/receiptAction.d.ts +23 -0
- package/lib/components/eftposPay/windcave/windcave.d.ts +7 -0
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
- package/lib/components/eventBooking/index.d.ts +1 -0
- package/lib/components/kioskSkuDetail/index.d.ts +39 -0
- package/lib/components/kioskSkuDetail/locales.d.ts +48 -0
- package/lib/components/pay/toC/PaymentMethods/BankDeposit/index.d.ts +10 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +10 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +10 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +10 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +16 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +15 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +83 -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 +3 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +3 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +3 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/index.d.ts +10 -0
- package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +10 -0
- package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +10 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +22 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +25 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +16 -0
- package/lib/components/pay/toC/PaymentMethods/index.d.ts +9 -0
- package/lib/components/pay/toC/index.d.ts +3 -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/PhoneField/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/locales.d.ts +133 -0
- package/lib/components/productExtension/fields/Actor/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
- package/lib/components/productExtension/index.d.ts +1 -0
- package/lib/components/ruleSetting/index.d.ts +1 -0
- package/lib/components/ruleSetting/locales.d.ts +78 -0
- package/lib/components/scanOrder/components/Checkout/index.d.ts +7 -0
- package/lib/components/scanOrder/components/ErrorState/index.d.ts +8 -0
- package/lib/components/scanOrder/components/FulfillmentMode/index.d.ts +11 -0
- package/lib/components/scanOrder/context.d.ts +4 -0
- package/lib/components/scanOrder/hooks.d.ts +14 -0
- package/lib/components/scanOrder/index.d.ts +5 -0
- package/lib/components/scanOrder/locales.d.ts +248 -0
- package/lib/components/scanOrder/types.d.ts +79 -0
- package/lib/components/scanOrder/utils/toShoppingCartProducts.d.ts +21 -0
- package/lib/components/scanOrder/utils/transformProductDetail.d.ts +59 -0
- package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
- package/lib/components/schedules/locales.d.ts +143 -0
- package/lib/components/schedules/model.d.ts +1 -9
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
- package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
- package/lib/components/shoppingCart/components/Render/index.d.ts +1 -0
- package/lib/components/shoppingCart/index.d.ts +1 -0
- package/lib/components/shoppingCart/locales.d.ts +53 -0
- package/lib/components/shoppingCart/type.d.ts +48 -0
- package/lib/components/subTotal/locales.d.ts +68 -0
- package/lib/components/systemSettings/registry/components/GroupModal.d.ts +4 -0
- package/lib/components/systemSettings/registry/components/ItemModal.d.ts +4 -0
- package/lib/components/systemSettings/registry/index.d.ts +5 -0
- package/lib/components/systemSettings/registry/locales.d.ts +534 -0
- package/lib/components/systemSettings/registry/services.d.ts +99 -0
- package/lib/components/systemSettings/registry/types.d.ts +143 -0
- package/lib/components/taxSelect/index.d.ts +1 -0
- package/lib/components/taxSelect/locales.d.ts +38 -0
- package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +9 -0
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +7 -0
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +0 -1
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +12 -0
- package/lib/components/ticketBooking/index.d.ts +0 -1
- package/lib/components/ticketBooking/locales.d.ts +299 -0
- package/lib/components/ticketBooking/utils/formatProductMessage.d.ts +2 -0
- package/lib/components/ticketBooking/utils/index.d.ts +25 -0
- package/lib/components/venueBooking/components/Deposit/index.d.ts +14 -0
- package/lib/components/venueBooking/components/VenueSelection/components/PriceLegend.d.ts +2 -0
- package/lib/components/venueBooking/hooks.d.ts +72 -0
- package/lib/components/venueBooking/locales.d.ts +627 -0
- package/lib/components/venueBooking/mock.d.ts +23 -0
- package/lib/components/venueBooking/temp.d.ts +2 -0
- package/lib/components/venueBooking/types.d.ts +204 -0
- package/lib/components/venueBooking/utils/transformProductDetail.d.ts +8 -0
- package/lib/components/venueBooking/utils.d.ts +66 -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/hooks/useEngineContext.d.ts +11 -0
- package/lib/hooks/useWindowSize.d.ts +5 -0
- package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
- package/lib/plus/clinetSearch/index.d.ts +18 -0
- package/lib/plus/orderList/locales.d.ts +618 -0
- package/lib/plus/pisellFinancialSummary/components/Collapse/Collapse.d.ts +8 -0
- package/lib/plus/pisellFinancialSummary/components/Collapse/Collapse.stories.d.ts +7 -0
- package/lib/plus/pisellFinancialSummary/components/Collapse/index.d.ts +2 -0
- package/lib/plus/pisellFinancialSummary/components/Collapse/types.d.ts +48 -0
- package/lib/plus/pisellFinancialSummary/locales.d.ts +28 -0
- package/lib/plus/pisellFinancialSummary/types.d.ts +139 -0
- package/lib/plus/pisellFinancialSummary/utils/buildSummaryItems.d.ts +44 -0
- package/lib/plus/pisellFinancialSummary/utils/index.d.ts +2 -0
- package/lib/plus/pisellReservation/components/bookingDetailModal/bookingProductToProductCard.d.ts +10 -0
- package/lib/plus/pisellReservation/data/filterBookingsAtTimeCursor.d.ts +9 -0
- package/lib/plus/pisellReservation/floorMap/floorMapHostCheckout.d.ts +6 -0
- package/lib/plus/pisellReservation/floorMap/floorPlanApi.d.ts +5 -5
- package/lib/plus/pisellReservation/floorMap/reservationCards.d.ts +7 -7
- package/lib/plus/pisellReservation/floorMap/useReservationFloorMapMerged.d.ts +1 -1
- package/lib/plus/pisellReservation/floorMap/useReservationFloorPlan.d.ts +1 -1
- package/lib/plus/pisellReservation/floorRoomCard/floorRoomCardDom.d.ts +3 -0
- package/lib/plus/pisellReservation/floorRoomCard/floorRoomCardHeaderFormat.d.ts +3 -0
- package/lib/plus/pisellReservation/floorRoomCard/floorRoomCardModel.d.ts +59 -0
- package/lib/plus/pisellReservation/floorRoomCard/floorRoomCardPaymentUi.d.ts +9 -0
- package/lib/plus/pisellReservation/floorRoomCard/mapFloorRoomCardViewProps.d.ts +10 -0
- package/lib/plus/pisellReservation/floorRoomCard/views/RoomCardHeaderView.d.ts +12 -0
- package/lib/plus/pisellReservation/floorRoomCard/views/RoomCardIcons.d.ts +4 -0
- package/lib/plus/pisellReservation/floorRoomCard/views/RoomCardShellView.d.ts +9 -0
- package/lib/plus/pisellReservation/hooks/useNewReservationRoutesFromEngine.d.ts +8 -0
- package/lib/plus/pisellReservation/hooks/usePisellReservationBookingData.d.ts +47 -0
- package/lib/plus/pisellReservation/hooks/useReservationLoadingShownDebounced.d.ts +5 -0
- package/lib/plus/pisellReservation/hooks/useReservationScheduleDebounced.d.ts +3 -3
- package/lib/plus/pisellReservation/locales/locales-ja.d.ts +133 -0
- package/lib/plus/pisellReservation/locales/locales-pt.d.ts +133 -0
- package/lib/plus/pisellReservation/locales/locales.d.ts +666 -0
- package/lib/plus/pisellReservation/reservationConstants.d.ts +1117 -0
- package/lib/plus/pisellSalesGrid/types.d.ts +197 -0
- package/lib/plus/pisellSalesManagement/hooks/useSalesGridData.d.ts +30 -0
- package/lib/plus/pisellSalesProductCard/locales.d.ts +38 -0
- package/lib/plus/pisellSalesProductCard/types.d.ts +134 -0
- package/lib/plus/pisellSalesProductCard/utils.d.ts +17 -0
- package/lib/plus/productSelect/CategoryTabs/index.d.ts +21 -0
- package/lib/plus/productSelect/ProductCard/ProductCardV2.d.ts +21 -0
- package/lib/plus/productSelect/ProductCard/index.d.ts +47 -0
- package/lib/plus/saasCreateOrganization/index.d.ts +1 -0
- package/lib/plus/saasTeamMembers/locales.d.ts +546 -0
- 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/OptionsCard/OptionItemCard.d.ts +3 -0
- package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +15 -0
- package/lib/plus/skuOptionsSelection/index.d.ts +5 -0
- package/lib/plus/skuOptionsSelection/locales.d.ts +58 -0
- package/lib/plus/skuOptionsSelection/types.d.ts +458 -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/walletPassGallery/components/passDetail/index.d.ts +10 -0
- package/lib/plus/walletPassGallery/locales.d.ts +488 -0
- package/lib/pro/Cards/components/SKUCard/index.d.ts +5 -0
- package/lib/pro/Cards/components/SKUCard/types.d.ts +73 -0
- package/lib/pro/Login2.0/Register2.d.ts +65 -0
- package/lib/pro/Login2.0/components/PhoneInput.d.ts +53 -0
- package/lib/pro/Login2.0/components/phoneValidation.d.ts +17 -0
- package/lib/pro/Login2.0/shared/registerFlow.d.ts +117 -0
- package/lib/pro/Login2.0/shared/types.d.ts +234 -0
- package/lib/pro/Login2.0/steps/CodeInput.d.ts +24 -0
- package/lib/pro/Login2.0/steps/WaitEmailLink.d.ts +18 -0
- package/lib/pro/NumericStepper/index.d.ts +96 -0
- package/lib/pro/Selector/Selector.stories.d.ts +78 -0
- 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 +1 -0
- package/lib/test/setup.d.ts +1 -0
- package/package.json +1 -1
|
@@ -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,133 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.text.leave-empty-for-walk-in': string;
|
|
4
|
+
'pisell2.text.date-year-text': string;
|
|
5
|
+
'pisell2.text.date-month-text': string;
|
|
6
|
+
'pisell2.text.date-day-text': string;
|
|
7
|
+
'pisell2.text.gender': string;
|
|
8
|
+
'pisell2.text.gender.male': string;
|
|
9
|
+
'pisell2.text.gender.female': string;
|
|
10
|
+
'pisell2.text.birthday': string;
|
|
11
|
+
'pisell2.text.phone': string;
|
|
12
|
+
'pisell2.text.email': string;
|
|
13
|
+
'pisell2.text.lastname': string;
|
|
14
|
+
'pisell2.text.firstname': string;
|
|
15
|
+
'pisell2.text.email-error-message': string;
|
|
16
|
+
'pisell2.text.notes': string;
|
|
17
|
+
'pisell2.text.save': string;
|
|
18
|
+
'pisell2.text.save-and-select': string;
|
|
19
|
+
'pisell2.text.no-results-found': string;
|
|
20
|
+
'pisell2.text.create-new-client': string;
|
|
21
|
+
'pisell2.text.result-found': string;
|
|
22
|
+
'pisell2.text.personnel-list': string;
|
|
23
|
+
'pisell2.text.load-more': string;
|
|
24
|
+
'pisell2.text.add-client.confirm': string;
|
|
25
|
+
'pisell2.text.search-customer-by-phone-number': string;
|
|
26
|
+
'pisell2.text.create': string;
|
|
27
|
+
};
|
|
28
|
+
'zh-CN': {
|
|
29
|
+
'pisell2.text.leave-empty-for-walk-in': string;
|
|
30
|
+
'pisell2.text.date-year-text': string;
|
|
31
|
+
'pisell2.text.date-month-text': string;
|
|
32
|
+
'pisell2.text.date-day-text': string;
|
|
33
|
+
'pisell2.text.gender': string;
|
|
34
|
+
'pisell2.text.gender.male': string;
|
|
35
|
+
'pisell2.text.gender.female': string;
|
|
36
|
+
'pisell2.text.birthday': string;
|
|
37
|
+
'pisell2.text.phone': string;
|
|
38
|
+
'pisell2.text.email': string;
|
|
39
|
+
'pisell2.text.lastname': string;
|
|
40
|
+
'pisell2.text.firstname': string;
|
|
41
|
+
'pisell2.text.email-error-message': string;
|
|
42
|
+
'pisell2.text.notes': string;
|
|
43
|
+
'pisell2.text.save': string;
|
|
44
|
+
'pisell2.text.save-and-select': string;
|
|
45
|
+
'pisell2.text.no-results-found': string;
|
|
46
|
+
'pisell2.text.create-new-client': string;
|
|
47
|
+
'pisell2.text.result-found': string;
|
|
48
|
+
'pisell2.text.personnel-list': string;
|
|
49
|
+
'pisell2.text.add-client.confirm': string;
|
|
50
|
+
'pisell2.text.load-more': string;
|
|
51
|
+
'pisell2.text.search-customer-by-phone-number': string;
|
|
52
|
+
'pisell2.text.create': string;
|
|
53
|
+
};
|
|
54
|
+
'zh-HK': {
|
|
55
|
+
'pisell2.text.leave-empty-for-walk-in': string;
|
|
56
|
+
'pisell2.text.date-year-text': string;
|
|
57
|
+
'pisell2.text.date-month-text': string;
|
|
58
|
+
'pisell2.text.date-day-text': string;
|
|
59
|
+
'pisell2.text.gender': string;
|
|
60
|
+
'pisell2.text.gender.male': string;
|
|
61
|
+
'pisell2.text.gender.female': string;
|
|
62
|
+
'pisell2.text.birthday': string;
|
|
63
|
+
'pisell2.text.phone': string;
|
|
64
|
+
'pisell2.text.email': string;
|
|
65
|
+
'pisell2.text.lastname': string;
|
|
66
|
+
'pisell2.text.firstname': string;
|
|
67
|
+
'pisell2.text.email-error-message': string;
|
|
68
|
+
'pisell2.text.notes': string;
|
|
69
|
+
'pisell2.text.save': string;
|
|
70
|
+
'pisell2.text.save-and-select': string;
|
|
71
|
+
'pisell2.text.no-results-found': string;
|
|
72
|
+
'pisell2.text.create-new-client': string;
|
|
73
|
+
'pisell2.text.result-found': string;
|
|
74
|
+
'pisell2.text.personnel-list': string;
|
|
75
|
+
'pisell2.text.add-client.confirm': string;
|
|
76
|
+
'pisell2.text.load-more': string;
|
|
77
|
+
'pisell2.text.search-customer-by-phone-number': string;
|
|
78
|
+
'pisell2.text.create': string;
|
|
79
|
+
};
|
|
80
|
+
ja: {
|
|
81
|
+
'pisell2.text.leave-empty-for-walk-in': string;
|
|
82
|
+
'pisell2.text.date-year-text': string;
|
|
83
|
+
'pisell2.text.date-month-text': string;
|
|
84
|
+
'pisell2.text.date-day-text': string;
|
|
85
|
+
'pisell2.text.gender': string;
|
|
86
|
+
'pisell2.text.gender.male': string;
|
|
87
|
+
'pisell2.text.gender.female': string;
|
|
88
|
+
'pisell2.text.birthday': string;
|
|
89
|
+
'pisell2.text.phone': string;
|
|
90
|
+
'pisell2.text.email': string;
|
|
91
|
+
'pisell2.text.lastname': string;
|
|
92
|
+
'pisell2.text.firstname': string;
|
|
93
|
+
'pisell2.text.email-error-message': string;
|
|
94
|
+
'pisell2.text.notes': string;
|
|
95
|
+
'pisell2.text.save': string;
|
|
96
|
+
'pisell2.text.save-and-select': string;
|
|
97
|
+
'pisell2.text.no-results-found': string;
|
|
98
|
+
'pisell2.text.create-new-client': string;
|
|
99
|
+
'pisell2.text.result-found': string;
|
|
100
|
+
'pisell2.text.personnel-list': string;
|
|
101
|
+
'pisell2.text.load-more': string;
|
|
102
|
+
'pisell2.text.add-client.confirm': string;
|
|
103
|
+
'pisell2.text.search-customer-by-phone-number': string;
|
|
104
|
+
'pisell2.text.create': string;
|
|
105
|
+
};
|
|
106
|
+
pt: {
|
|
107
|
+
'pisell2.text.leave-empty-for-walk-in': string;
|
|
108
|
+
'pisell2.text.date-year-text': string;
|
|
109
|
+
'pisell2.text.date-month-text': string;
|
|
110
|
+
'pisell2.text.date-day-text': string;
|
|
111
|
+
'pisell2.text.gender': string;
|
|
112
|
+
'pisell2.text.gender.male': string;
|
|
113
|
+
'pisell2.text.gender.female': string;
|
|
114
|
+
'pisell2.text.birthday': string;
|
|
115
|
+
'pisell2.text.phone': string;
|
|
116
|
+
'pisell2.text.email': string;
|
|
117
|
+
'pisell2.text.lastname': string;
|
|
118
|
+
'pisell2.text.firstname': string;
|
|
119
|
+
'pisell2.text.email-error-message': string;
|
|
120
|
+
'pisell2.text.notes': string;
|
|
121
|
+
'pisell2.text.save': string;
|
|
122
|
+
'pisell2.text.save-and-select': string;
|
|
123
|
+
'pisell2.text.no-results-found': string;
|
|
124
|
+
'pisell2.text.create-new-client': string;
|
|
125
|
+
'pisell2.text.result-found': string;
|
|
126
|
+
'pisell2.text.personnel-list': string;
|
|
127
|
+
'pisell2.text.load-more': string;
|
|
128
|
+
'pisell2.text.add-client.confirm': string;
|
|
129
|
+
'pisell2.text.search-customer-by-phone-number': string;
|
|
130
|
+
'pisell2.text.create': string;
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
export default _default;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.text.satisfy_any_condition': string;
|
|
4
|
+
'pisell2.text.add': string;
|
|
5
|
+
'pisell2.text.and': string;
|
|
6
|
+
'pisell2.text.or': string;
|
|
7
|
+
'pisell2.text.all': string;
|
|
8
|
+
'pisell2.text.rule-setting.Contain': string;
|
|
9
|
+
'pisell2.text.rule-setting.Exclude': string;
|
|
10
|
+
'pisell2.text.rule-setting.order_type': string;
|
|
11
|
+
'pisell2.text.rule-setting.sales_channel': string;
|
|
12
|
+
'pisell2.text.rule-setting.staff': string;
|
|
13
|
+
'pisell2.text.rule-setting.payment_method': string;
|
|
14
|
+
'pisell2.text.rule-setting.pisell_terminal_device': string;
|
|
15
|
+
'pisell2.text.rule-setting.current_device': string;
|
|
16
|
+
};
|
|
17
|
+
'zh-CN': {
|
|
18
|
+
'pisell2.text.satisfy_any_condition': string;
|
|
19
|
+
'pisell2.text.and': string;
|
|
20
|
+
'pisell2.text.or': string;
|
|
21
|
+
'pisell2.text.all': string;
|
|
22
|
+
'pisell2.text.add': string;
|
|
23
|
+
'pisell2.text.rule-setting.Contain': string;
|
|
24
|
+
'pisell2.text.rule-setting.Exclude': string;
|
|
25
|
+
'pisell2.text.rule-setting.order_type': string;
|
|
26
|
+
'pisell2.text.rule-setting.sales_channel': string;
|
|
27
|
+
'pisell2.text.rule-setting.staff': string;
|
|
28
|
+
'pisell2.text.rule-setting.payment_method': string;
|
|
29
|
+
'pisell2.text.rule-setting.pisell_terminal_device': string;
|
|
30
|
+
'pisell2.text.rule-setting.current_device': string;
|
|
31
|
+
};
|
|
32
|
+
'zh-HK': {
|
|
33
|
+
'pisell2.text.satisfy_any_condition': string;
|
|
34
|
+
'pisell2.text.and': string;
|
|
35
|
+
'pisell2.text.or': string;
|
|
36
|
+
'pisell2.text.all': string;
|
|
37
|
+
'pisell2.text.add': string;
|
|
38
|
+
'pisell2.text.rule-setting.Contain': string;
|
|
39
|
+
'pisell2.text.rule-setting.Exclude': string;
|
|
40
|
+
'pisell2.text.rule-setting.order_type': string;
|
|
41
|
+
'pisell2.text.rule-setting.sales_channel': string;
|
|
42
|
+
'pisell2.text.rule-setting.staff': string;
|
|
43
|
+
'pisell2.text.rule-setting.payment_method': string;
|
|
44
|
+
'pisell2.text.rule-setting.pisell_terminal_device': string;
|
|
45
|
+
'pisell2.text.rule-setting.current_device': string;
|
|
46
|
+
};
|
|
47
|
+
ja: {
|
|
48
|
+
'pisell2.text.satisfy_any_condition': string;
|
|
49
|
+
'pisell2.text.add': string;
|
|
50
|
+
'pisell2.text.and': string;
|
|
51
|
+
'pisell2.text.or': string;
|
|
52
|
+
'pisell2.text.all': string;
|
|
53
|
+
'pisell2.text.rule-setting.Contain': string;
|
|
54
|
+
'pisell2.text.rule-setting.Exclude': string;
|
|
55
|
+
'pisell2.text.rule-setting.order_type': string;
|
|
56
|
+
'pisell2.text.rule-setting.sales_channel': string;
|
|
57
|
+
'pisell2.text.rule-setting.staff': string;
|
|
58
|
+
'pisell2.text.rule-setting.payment_method': string;
|
|
59
|
+
'pisell2.text.rule-setting.pisell_terminal_device': string;
|
|
60
|
+
'pisell2.text.rule-setting.current_device': string;
|
|
61
|
+
};
|
|
62
|
+
pt: {
|
|
63
|
+
'pisell2.text.satisfy_any_condition': string;
|
|
64
|
+
'pisell2.text.add': string;
|
|
65
|
+
'pisell2.text.and': string;
|
|
66
|
+
'pisell2.text.or': string;
|
|
67
|
+
'pisell2.text.all': string;
|
|
68
|
+
'pisell2.text.rule-setting.Contain': string;
|
|
69
|
+
'pisell2.text.rule-setting.Exclude': string;
|
|
70
|
+
'pisell2.text.rule-setting.order_type': string;
|
|
71
|
+
'pisell2.text.rule-setting.sales_channel': string;
|
|
72
|
+
'pisell2.text.rule-setting.staff': string;
|
|
73
|
+
'pisell2.text.rule-setting.payment_method': string;
|
|
74
|
+
'pisell2.text.rule-setting.pisell_terminal_device': string;
|
|
75
|
+
'pisell2.text.rule-setting.current_device': string;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import './index.less';
|
|
3
|
+
/**
|
|
4
|
+
* FulfillmentMode
|
|
5
|
+
*
|
|
6
|
+
* 通过 scanOrder module 读取 getFulfillmentModes() 返回的 { enableTableService, enablePickup }:
|
|
7
|
+
* - 两个都开启:渲染可切换的 Radio.Group,默认 Table service,挂载即同步一次 setPickupReferenceMode。
|
|
8
|
+
* - 只开启一个:仅渲染单行文案提示当前取餐方式,并同步一次 setPickupReferenceMode。
|
|
9
|
+
* - 都未开启:不渲染。
|
|
10
|
+
*/
|
|
11
|
+
export default function FulfillmentMode(): JSX.Element | null;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ScanOrderContextValue, ScanOrderProviderProps } from './types';
|
|
3
|
+
export declare function ScanOrderProvider({ entryContext, children, }: ScanOrderProviderProps): JSX.Element;
|
|
4
|
+
export declare function useScanOrderContext(): ScanOrderContextValue;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ScanOrderEntryContext, ScanOrderProps, ScanOrderViewModel } from './types';
|
|
2
|
+
export declare const SCAN_ORDER_STEPS: readonly ["init", "product", "check", "error"];
|
|
3
|
+
export declare const useScanOrderModule: () => any;
|
|
4
|
+
export declare const contextUtils: () => any;
|
|
5
|
+
export declare function normalizeEntryContext(props: ScanOrderProps): ScanOrderEntryContext;
|
|
6
|
+
export declare function safeRunModuleAction(module: any, actionName: string, ...args: any[]): Promise<any>;
|
|
7
|
+
export declare function createScanOrderViewModel(module: any): ScanOrderViewModel;
|
|
8
|
+
export declare function useScanOrderViewModel(module: any): ScanOrderViewModel;
|
|
9
|
+
export declare const useScanOrderLogin: () => {
|
|
10
|
+
isLogin: boolean;
|
|
11
|
+
openLoginModal: (params: {
|
|
12
|
+
callback: any;
|
|
13
|
+
}) => void;
|
|
14
|
+
};
|