@pisell/private-materials 6.7.5 → 6.7.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.css +1 -1
- package/build/lowcode/preview.js +145 -145
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +11 -18
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +11 -18
- package/es/businessModel/SalesModel/index.d.ts +2 -1
- package/es/components/Sales/index.d.ts +1 -1
- package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +2 -1
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +2 -1
- package/es/components/appointmentBooking/components/Cart/index.d.ts +2 -1
- package/es/components/appointmentBooking/components/Content/index.d.ts +2 -1
- package/es/components/appointmentBooking/components/Deposit/index.d.ts +3 -2
- package/es/components/appointmentBooking/components/Footer/index.d.ts +2 -1
- package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +2 -1
- package/es/components/appointmentBooking/components/Header/index.d.ts +2 -1
- package/es/components/appointmentBooking/components/Voucher/index.d.ts +2 -1
- package/es/components/appointmentBooking/context.d.ts +2 -2
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +2 -1
- package/es/components/appointmentBooking/deposit/index.d.ts +2 -1
- package/es/components/appointmentBooking/index.d.ts +2 -1
- package/es/components/booking/addons/index.js +1 -1
- package/es/components/booking/components/TabProduct/index.d.ts +2 -2
- package/es/components/booking/components/TabProduct/productItem/index.d.ts +2 -2
- package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +2 -2
- package/es/components/booking/components/authWrap/index.d.ts +1 -1
- package/es/components/booking/components/browserSelect/index.d.ts +1 -1
- package/es/components/booking/components/collapsibleList/utils.d.ts +2 -2
- package/es/components/booking/components/drawer/index.d.ts +1 -1
- package/es/components/booking/components/emptyBooking/index.d.ts +2 -2
- package/es/components/booking/components/footer/FooterMenus/index.d.ts +2 -2
- package/es/components/booking/components/footer/amount.d.ts +37 -0
- package/es/components/booking/components/footer/amount.js +48 -34
- package/es/components/booking/components/footer/index.d.ts +2 -1
- package/es/components/booking/components/footer/utils.js +83 -61
- package/es/components/booking/components/formItemChildrenWrap/index.d.ts +2 -2
- package/es/components/booking/components/menuButton/index.d.ts +1 -1
- package/es/components/booking/components/reloadResourceModal/index.d.ts +2 -2
- package/es/components/booking/components/voucher/index.d.ts +2 -1
- package/es/components/booking/components/voucher/index.js +3 -1
- package/es/components/booking/deposit/ClientItem/index.d.ts +1 -1
- package/es/components/booking/deposit/DepositItem/index.d.ts +1 -1
- package/es/components/booking/deposit/index.d.ts +2 -1
- package/es/components/booking/forms/footer.d.ts +2 -1
- package/es/components/booking/forms/single/index.d.ts +2 -2
- package/es/components/booking/forms/table/index.d.ts +2 -2
- package/es/components/booking/hooks/useClearCart.d.ts +2 -1
- package/es/components/booking/hooks/useQuotation.d.ts +2 -1
- package/es/components/booking/hooks/useQuotation.js +4 -1
- package/es/components/booking/info/addServiceVariant/index.d.ts +2 -1
- package/es/components/booking/info/client/index.d.ts +1 -1
- package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +2 -2
- package/es/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
- package/es/components/booking/info/date/index.d.ts +2 -2
- package/es/components/booking/info/dateRange/index.d.ts +2 -1
- package/es/components/booking/info/header/index.d.ts +2 -1
- package/es/components/booking/info/hooks/useGetHolderList.d.ts +1 -1
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +2 -3
- package/es/components/booking/info/index.d.ts +2 -1
- package/es/components/booking/info/notes/index.d.ts +2 -2
- package/es/components/booking/info/pet/index.d.ts +1 -1
- package/es/components/booking/info/service/Lists.d.ts +2 -1
- package/es/components/booking/info/service/actions/index.d.ts +2 -2
- package/es/components/booking/info/service/addService/index.d.ts +2 -1
- package/es/components/booking/info/service/addTimeModal/index.d.ts +2 -2
- package/es/components/booking/info/service/editService/BookingList/index.d.ts +2 -1
- package/es/components/booking/info/service/index.d.ts +1 -1
- package/es/components/booking/info/service/like/index.d.ts +2 -2
- package/es/components/booking/info/service/serviceItem/index.d.ts +2 -1
- package/es/components/booking/info/service/serviceList/index.d.ts +2 -2
- package/es/components/booking/info/service2/Lists.d.ts +2 -2
- package/es/components/booking/info/service2/index.d.ts +1 -1
- package/es/components/booking/info/service2/utils.d.ts +251 -0
- package/es/components/booking/info2/service/actions/index.d.ts +2 -2
- package/es/components/booking/info2/service/addService/index.d.ts +12 -0
- package/es/components/booking/info2/service/addTimeModal/index.d.ts +1 -1
- package/es/components/booking/info2/service/contactInfoMode/index.d.ts +2 -2
- package/es/components/booking/info2/service/editNormalService/index.js +6 -0
- package/es/components/booking/info2/service/editService/index.js +16 -6
- package/es/components/booking/info2/service/editService/utils.d.ts +15 -0
- package/es/components/booking/info2/service/editService/utils.js +66 -0
- package/es/components/booking/info2/service/index.d.ts +1 -1
- package/es/components/booking/info2/service/serviceItem/index.d.ts +2 -1
- package/es/components/booking/info2/service/serviceList/index.d.ts +2 -2
- package/es/components/booking/materiels/contacts/index.d.ts +2 -2
- package/es/components/booking/materiels/duration/index.d.ts +2 -2
- package/es/components/booking/materiels/holder/index.d.ts +2 -2
- package/es/components/booking/materiels/startTime/index.d.ts +2 -2
- package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +2 -2
- package/es/components/booking/notes/NoteBlock/index.d.ts +2 -2
- package/es/components/booking/notes/addNote/index.d.ts +2 -2
- package/es/components/booking/utils.d.ts +174 -0
- package/es/components/checkout/PaymentModal.d.ts +6 -0
- package/es/components/checkout/PaymentModal.js +52 -44
- package/es/components/checkout/components/AdditionalModule/index.d.ts +2 -2
- package/es/components/checkout/components/AmountSummary/index.d.ts +2 -2
- package/es/components/checkout/components/CashPaymentModule/index.d.ts +26 -0
- package/es/components/checkout/components/PaymentDetailModal/index.d.ts +2 -2
- package/es/components/checkout/components/PaymentDetailModal/index.js +2 -2
- package/es/components/checkout/components/PaymentOptionsModule/index.d.ts +16 -0
- package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +85 -0
- package/es/components/checkout/components/SearchAndClientModule/index.d.ts +2 -1
- package/es/components/checkout/components/SearchAndClientModule/index.js +39 -40
- package/es/components/checkout/components/SendPaymentLinkModal/index.d.ts +2 -2
- package/es/components/checkout/components/WalletPassModule/components/ConflictModal/index.d.ts +3 -2
- package/es/components/checkout/components/WalletPassModule/components/DiscountWallet/index.d.ts +2 -1
- package/es/components/checkout/hooks/useWalletPass.d.ts +16 -16
- package/es/components/checkout/hooks/useWalletPass.js +5 -3
- package/es/components/checkout/locales.d.ts +513 -0
- package/es/components/checkout/plugin.d.ts +2 -0
- package/es/components/checkout/plugin.js +303 -0
- package/es/components/checkout/utils/PaymentResultToastUtils.d.ts +32 -0
- package/es/components/eftpos/device.d.ts +1 -1
- package/es/components/eftpos/deviceList/index.d.ts +2 -2
- package/es/components/eftpos/form/index.d.ts +2 -2
- package/es/components/eftpos/group/index.d.ts +3 -3
- package/es/components/eftpos/icon/apiKey.d.ts +2 -2
- package/es/components/eftpos/icon/device.d.ts +2 -2
- package/es/components/eftpos/index.d.ts +2 -2
- package/es/components/eftpos/log.d.ts +2 -2
- package/es/components/eftpos/pos.d.ts +2 -2
- package/es/components/eftpos/receipt/index.d.ts +2 -2
- package/es/components/eftpos/surcharge/index.d.ts +2 -1
- package/es/components/eftposPay/amount.d.ts +2 -2
- package/es/components/eftposPay/app.d.ts +2 -2
- package/es/components/eftposPay/component/alert/index.d.ts +1 -1
- package/es/components/eftposPay/component/alert/warn.d.ts +2 -2
- package/es/components/eftposPay/component/fail/failCustom.d.ts +2 -2
- package/es/components/eftposPay/component/fail/index.d.ts +2 -2
- package/es/components/eftposPay/component/fail/network.d.ts +2 -2
- package/es/components/eftposPay/component/fail/unknow.d.ts +2 -2
- package/es/components/eftposPay/component/header/index.d.ts +1 -1
- package/es/components/eftposPay/component/header/titlebar.d.ts +2 -2
- package/es/components/eftposPay/component/manual/index.d.ts +2 -2
- package/es/components/eftposPay/component/signature/index.d.ts +2 -2
- package/es/components/eftposPay/component/step/index.d.ts +2 -2
- package/es/components/eftposPay/component/step/step.d.ts +2 -2
- package/es/components/eftposPay/device.d.ts +2 -2
- package/es/components/eftposPay/index.d.ts +2 -1
- package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
- package/es/components/eftposPay/linkly/index.d.ts +2 -1
- package/es/components/eftposPay/pay.d.ts +2 -2
- package/es/components/eftposPay/payo/config.d.ts +13 -0
- package/es/components/eftposPay/payo/index.d.ts +1 -1
- package/es/components/eftposPay/payo/payment.d.ts +66 -0
- package/es/components/eftposPay/store/index.d.ts +3 -3
- package/es/components/eftposPay/tip.d.ts +2 -2
- 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/windcave/receiptAction.d.ts +3 -3
- package/es/components/eftposPay/windcave/windcave.d.ts +2 -2
- package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -1
- package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +2 -1
- package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +2 -1
- package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +2 -1
- package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +2 -1
- package/es/components/eventBooking/components/Provider/Cart/index.d.ts +2 -1
- package/es/components/eventBooking/components/Provider/Content/index.d.ts +2 -1
- package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +2 -1
- package/es/components/eventBooking/components/Provider/Event/index.d.ts +2 -1
- package/es/components/eventBooking/components/Provider/Footer/index.d.ts +2 -1
- package/es/components/eventBooking/components/Provider/Header/index.d.ts +2 -1
- package/es/components/eventBooking/components/Provider/Information/index.d.ts +2 -1
- package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +2 -1
- package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +2 -1
- package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +2 -1
- package/es/components/eventBooking/components/Provider/Resource/index.d.ts +2 -1
- package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +2 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -1
- package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +2 -1
- package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +2 -1
- package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +2 -1
- package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +2 -2
- package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +2 -1
- package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +2 -1
- package/es/components/eventBooking/index.d.ts +2 -1
- package/es/components/index.d.ts +24 -0
- package/es/components/list/List.js +56 -40
- package/es/components/list/hooks/useListState.d.ts +5 -3
- package/es/components/list/hooks/useListState.js +17 -2
- package/es/components/list/styles/header.less +3 -3
- package/es/components/list/utils/index.d.ts +13 -1
- package/es/components/list/utils/index.js +43 -1
- package/es/components/login/index.d.ts +2 -2
- package/es/components/pay/toB/components/Cache/index.d.ts +2 -1
- package/es/components/pay/toB/components/Card/index.d.ts +2 -1
- package/es/components/pay/toB/components/CardGroup/index.d.ts +2 -2
- package/es/components/pay/toB/components/ConfirmedPayment/index.d.ts +2 -1
- package/es/components/pay/toB/components/Content/Footer.d.ts +2 -1
- package/es/components/pay/toB/components/Content/Header.d.ts +2 -2
- package/es/components/pay/toB/store/provider.d.ts +1 -1
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +2 -1
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +1 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +2 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +2 -2
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +2 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +2 -2
- package/es/components/pay/toC/PaymentMethods/WalletPass/MultiModeSearch/index.d.ts +1 -1
- package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +155 -0
- package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +2 -1
- package/es/components/pay/toC/locales.d.ts +301 -0
- package/es/components/pay/toC/status.d.ts +13 -0
- package/es/components/pisellSelectCustomerModal/CustomerCard/index.d.ts +1 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +2 -2
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +2 -2
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +2 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +2 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +2 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +2 -1
- package/es/components/pisellSelectCustomerModal/index.d.ts +2 -1
- package/es/components/productExtension/fields/Actor/index.d.ts +2 -2
- package/es/components/productExtension/fields/Forms/index.d.ts +2 -2
- package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +2 -2
- package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +2 -2
- package/es/components/productExtension/fields/SelectProducts/index.d.ts +2 -2
- package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +2 -2
- package/es/components/productExtension/index.d.ts +2 -1
- package/es/components/productSelect/components/TabProduct/index.d.ts +2 -1
- package/es/components/productSelect/components/pisellPriceText/index.d.ts +1 -1
- package/es/components/productSelect/components/productGroup/index.d.ts +3 -3
- package/es/components/productSelect/index.d.ts +1 -1
- package/es/components/ruleSetting/index.d.ts +2 -1
- package/es/components/ruleSetting/ruleBorder/index.d.ts +2 -2
- package/es/components/schedules/calendar/calendarItem.d.ts +2 -2
- package/es/components/schedules/calendar/index.d.ts +2 -2
- package/es/components/schedules/components/Card/index.d.ts +1 -1
- package/es/components/schedules/components/CurrentDay/index.d.ts +2 -2
- package/es/components/schedules/components/ResourceList/index.d.ts +1 -1
- package/es/components/schedules/components/ScheduleDetailList/index.d.ts +2 -2
- package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +2 -1
- package/es/components/schedules/components/ScheduleList/index.d.ts +2 -2
- package/es/components/schedules/components/Search/index.d.ts +1 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +2 -2
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +2 -2
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +2 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +2 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +2 -2
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +2 -2
- package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +2 -2
- package/es/components/schedules/products/index.d.ts +2 -2
- package/es/components/schedules/products/list/ProductItem/index.d.ts +2 -2
- package/es/components/schedules/products/list/index.d.ts +2 -2
- package/es/components/schedules/resources/index.d.ts +2 -2
- package/es/components/schedules/resources/list/index.d.ts +2 -2
- package/es/components/schedules/resources/relationProduct/index.d.ts +2 -2
- package/es/components/schedules/schedules/AllSchedules/index.d.ts +2 -2
- package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +2 -2
- package/es/components/schedules/schedules/Schedules.d.ts +1 -1
- package/es/components/schedules/schedules/SchedulesForDay/index.d.ts +1 -1
- package/es/components/schedules/schedules/index.d.ts +2 -2
- package/es/components/schedules/utils.d.ts +1 -1
- package/es/components/shoppingCart/Provider.d.ts +1 -1
- package/es/components/shoppingCart/components/Cart/Product.d.ts +2 -1
- package/es/components/shoppingCart/components/Cart/index.d.ts +2 -1
- package/es/components/shoppingCart/components/Empty/index.d.ts +1 -1
- package/es/components/shoppingCart/components/Render/index.d.ts +2 -2
- package/es/components/shoppingCart/hooks/useAddService.d.ts +2 -1
- package/es/components/shoppingCart/hooks/useClearCart.d.ts +2 -1
- package/es/components/shoppingCart/index.d.ts +2 -2
- package/es/components/subTotal/index.d.ts +1 -1
- package/es/components/systemSettings/registry/components/ModuleList.d.ts +4 -0
- package/es/components/systemSettings/registry/components/SectionList.d.ts +4 -0
- package/es/components/systemSettings/registry/components/index.d.ts +4 -0
- package/es/components/systemSettings/registry/locales.d.ts +272 -0
- package/es/components/systemSettings/registry/services.d.ts +77 -0
- package/es/components/systemSettings/registry/types.d.ts +126 -0
- package/es/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
- package/es/components/systemSettings/registry/utils/validators.d.ts +8 -0
- package/es/components/tabProduct/index.d.ts +1 -1
- package/es/components/taxSelect/index.d.ts +2 -1
- package/es/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.js +1 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +33 -2
- package/es/components/ticketBooking/components/ProductDisplayAdapter/utils.js +139 -36
- package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +2 -1
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +2 -1
- package/es/components/ticketBooking/components/floatButtons/index.d.ts +1 -1
- package/es/components/ticketBooking/components/menuBar/index.d.ts +2 -1
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +2 -1
- package/es/components/ticketBooking/components/timeBar/index.d.ts +2 -1
- package/es/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +1 -1
- package/es/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +9 -9
- package/es/components/ticketBooking/hooks/pisellos/useProducts.d.ts +16 -0
- package/es/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +3 -3
- package/es/components/ticketBooking/index.d.ts +2 -1
- package/es/components/ticketBooking/locales.d.ts +198 -0
- package/es/components/ticketBooking/miniRedux.d.ts +1 -1
- package/es/components/ticketBooking/utils/index.d.ts +93 -0
- package/es/components/wallet/Detail/locales.d.ts +153 -0
- package/es/components/wallet/components/UsageRules/index.d.ts +1 -1
- package/es/components/wallet/serve.d.ts +150 -0
- package/es/components/wallet/utils.d.ts +48 -0
- package/es/components/walletList/index.d.ts +1 -1
- package/es/components/walletList/model.d.ts +1 -1
- package/es/components/workSpaceList/components/Modal/index.d.ts +2 -1
- package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +2 -1
- package/es/hooks/usePaymentLogger.d.ts +2 -2
- package/es/index.d.ts +1 -1
- package/es/index.js +2 -2
- package/es/plus/clientCard/locales.d.ts +18 -0
- package/es/plus/clientName/index.d.ts +2 -2
- package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +2 -2
- package/es/plus/clinetSearch/Add/GenderField/index.d.ts +2 -2
- package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +2 -2
- package/es/plus/clinetSearch/index.d.ts +17 -0
- package/es/plus/clinetSearch/locales.d.ts +105 -0
- package/es/plus/clinetSearch/types.d.ts +61 -0
- package/es/plus/contactInfoModal/ContactInfoContent.d.ts +2 -1
- package/es/plus/noteModal/AddTempModal.d.ts +2 -1
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +2 -2
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +2 -2
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +2 -2
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +2 -2
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +2 -2
- package/es/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +2 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +2 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.d.ts +2 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +2 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +2 -2
- package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +2 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +2 -2
- package/es/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +2 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +2 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +2 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +2 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +2 -2
- package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +2 -2
- package/es/plus/productSelect/ProductCard/SkuCard/index.d.ts +6 -6
- package/es/plus/productSelect/ProductCard/index.d.ts +2 -2
- package/es/plus/productSelect/ProductList/gridComponents.d.ts +6 -6
- package/es/plus/productSelect/components/pisellPriceText/index.d.ts +1 -1
- package/es/plus/productSelect/index.d.ts +1 -1
- package/es/plus/saasCreateOrganization/components/Header.d.ts +2 -2
- package/es/plus/saasCreateOrganization/index.d.ts +2 -1
- package/es/plus/saasRegister/components/EntryEmail.d.ts +2 -2
- package/es/plus/saasRegister/components/EntryInfo.d.ts +2 -2
- package/es/plus/saasRegister/components/GoLogin.d.ts +2 -2
- package/es/plus/saasRegister/components/Header.d.ts +2 -2
- package/es/plus/saasRegister/components/VerifyError.d.ts +2 -2
- package/es/plus/saasRegister/components/VerifyingLink.d.ts +2 -2
- package/es/plus/saasRegister/components/VertifyEmail.d.ts +2 -1
- package/es/plus/walletEditor/components/relationProduct/index.d.ts +2 -2
- package/es/plus/walletPassGallery/components/passDetail/index.d.ts +2 -1
- package/es/plus/walletPassGallery/components/passList/index.d.ts +2 -1
- package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +2 -1
- package/es/plus/walletPassGallery/components/usageRule/index.d.ts +1 -1
- package/es/plus/walletPassGallery/index.d.ts +2 -1
- package/es/plus/walletPassGallery/serve.d.ts +221 -0
- package/es/plus/webPosLogin/WebPosLogin.d.ts +1 -1
- package/es/pro/Login2.0/components/ForgotPasswordFlow.d.ts +9 -2
- package/es/pro/Login2.0/components/LoginCodeInput.d.ts +6 -2
- package/es/pro/Login2.0/components/PhoneInput.d.ts +1 -1
- package/es/pro/Login2.0/steps/CodeInput.d.ts +6 -2
- package/es/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +6 -2
- package/es/pro/Login2.0/steps/EmailLinkAlreadyUsed.d.ts +5 -2
- package/es/pro/Login2.0/steps/EmailLinkExpired.d.ts +5 -2
- package/es/pro/Login2.0/steps/SetPassword.d.ts +5 -2
- package/es/pro/Login2.0/steps/VerificationSuccess.d.ts +5 -2
- package/es/pro/Login2.0/steps/VerifyingEmailLink.d.ts +5 -2
- package/es/pro/Login2.0/steps/WaitEmailLink.d.ts +5 -2
- package/es/pro/comprehensiveSearch/components/searchSection/locales.d.ts +15 -0
- package/es/pro/comprehensiveSearch/locales.d.ts +15 -0
- package/es/pro/numberKeyboard/index.d.ts +1 -1
- package/es/pro/pisellPaymentList/example.d.ts +11 -11
- package/es/pro/pisellPhoneKeyboard/index.d.ts +2 -1
- package/es/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.d.ts +2 -1
- package/es/pro/priceKeyboard/components/cashKeyboard/CashKeyboardSimple.d.ts +1 -1
- package/es/pro/priceKeyboard/components/cashKeyboard/index.d.ts +13 -0
- package/es/pro/priceKeyboard/components/cashKeyboard/types.d.ts +98 -0
- package/es/pro/priceKeyboard/components/discountKeyboard/index.d.ts +2 -2
- package/es/pro/priceKeyboard/components/paymentKeyboard/index.d.ts +2 -1
- package/es/pro/priceKeyboard/components/shortcuts/index.d.ts +18 -0
- package/es/pro/priceKeyboard/hooks/rightItems.d.ts +2 -1
- package/es/utils/index.d.ts +1 -1
- package/lib/businessModel/SalesModel/index.d.ts +2 -1
- package/lib/components/Sales/index.d.ts +1 -1
- package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +2 -1
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +2 -1
- package/lib/components/appointmentBooking/components/Cart/index.d.ts +2 -1
- package/lib/components/appointmentBooking/components/Content/index.d.ts +2 -1
- package/lib/components/appointmentBooking/components/Deposit/index.d.ts +3 -2
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +2 -1
- package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +2 -1
- package/lib/components/appointmentBooking/components/Header/index.d.ts +2 -1
- package/lib/components/appointmentBooking/components/Voucher/index.d.ts +2 -1
- package/lib/components/appointmentBooking/context.d.ts +2 -2
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +2 -1
- package/lib/components/appointmentBooking/deposit/index.d.ts +2 -1
- package/lib/components/appointmentBooking/index.d.ts +2 -1
- package/lib/components/booking/components/TabProduct/index.d.ts +2 -2
- package/lib/components/booking/components/TabProduct/productItem/index.d.ts +2 -2
- package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +2 -2
- package/lib/components/booking/components/authWrap/index.d.ts +1 -1
- package/lib/components/booking/components/browserSelect/index.d.ts +1 -1
- package/lib/components/booking/components/collapsibleList/utils.d.ts +2 -2
- package/lib/components/booking/components/drawer/index.d.ts +1 -1
- package/lib/components/booking/components/emptyBooking/index.d.ts +2 -2
- package/lib/components/booking/components/footer/FooterMenus/index.d.ts +2 -2
- package/lib/components/booking/components/footer/amount.d.ts +37 -0
- package/lib/components/booking/components/footer/amount.js +29 -15
- package/lib/components/booking/components/footer/index.d.ts +2 -1
- package/lib/components/booking/components/footer/utils.js +51 -30
- package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +2 -2
- package/lib/components/booking/components/menuButton/index.d.ts +1 -1
- package/lib/components/booking/components/reloadResourceModal/index.d.ts +2 -2
- package/lib/components/booking/components/voucher/index.d.ts +2 -1
- package/lib/components/booking/components/voucher/index.js +4 -2
- package/lib/components/booking/deposit/ClientItem/index.d.ts +1 -1
- package/lib/components/booking/deposit/DepositItem/index.d.ts +1 -1
- package/lib/components/booking/deposit/index.d.ts +2 -1
- package/lib/components/booking/forms/footer.d.ts +2 -1
- package/lib/components/booking/forms/single/index.d.ts +2 -2
- package/lib/components/booking/forms/table/index.d.ts +2 -2
- package/lib/components/booking/hooks/useClearCart.d.ts +2 -1
- package/lib/components/booking/hooks/useQuotation.d.ts +2 -1
- package/lib/components/booking/hooks/useQuotation.js +2 -1
- package/lib/components/booking/info/addServiceVariant/index.d.ts +2 -1
- package/lib/components/booking/info/client/index.d.ts +1 -1
- package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +2 -2
- package/lib/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
- package/lib/components/booking/info/date/index.d.ts +2 -2
- package/lib/components/booking/info/dateRange/index.d.ts +2 -1
- package/lib/components/booking/info/header/index.d.ts +2 -1
- package/lib/components/booking/info/hooks/useGetHolderList.d.ts +1 -1
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +2 -3
- package/lib/components/booking/info/index.d.ts +2 -1
- package/lib/components/booking/info/notes/index.d.ts +2 -2
- package/lib/components/booking/info/pet/index.d.ts +1 -1
- package/lib/components/booking/info/service/Lists.d.ts +2 -1
- package/lib/components/booking/info/service/actions/index.d.ts +2 -2
- package/lib/components/booking/info/service/addService/index.d.ts +2 -1
- package/lib/components/booking/info/service/addTimeModal/index.d.ts +2 -2
- package/lib/components/booking/info/service/editService/BookingList/index.d.ts +2 -1
- package/lib/components/booking/info/service/index.d.ts +1 -1
- package/lib/components/booking/info/service/like/index.d.ts +2 -2
- package/lib/components/booking/info/service/serviceItem/index.d.ts +2 -1
- package/lib/components/booking/info/service/serviceList/index.d.ts +2 -2
- package/lib/components/booking/info/service2/Lists.d.ts +2 -2
- package/lib/components/booking/info/service2/index.d.ts +1 -1
- package/lib/components/booking/info/service2/utils.d.ts +251 -0
- package/lib/components/booking/info2/service/actions/index.d.ts +2 -2
- package/lib/components/booking/info2/service/addService/index.d.ts +12 -0
- package/lib/components/booking/info2/service/addTimeModal/index.d.ts +1 -1
- package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +2 -2
- package/lib/components/booking/info2/service/editNormalService/index.js +6 -0
- package/lib/components/booking/info2/service/editService/index.js +12 -3
- package/lib/components/booking/info2/service/editService/utils.d.ts +15 -0
- package/lib/components/booking/info2/service/editService/utils.js +40 -3
- package/lib/components/booking/info2/service/index.d.ts +1 -1
- package/lib/components/booking/info2/service/serviceItem/index.d.ts +2 -1
- package/lib/components/booking/info2/service/serviceList/index.d.ts +2 -2
- package/lib/components/booking/materiels/contacts/index.d.ts +2 -2
- package/lib/components/booking/materiels/duration/index.d.ts +2 -2
- package/lib/components/booking/materiels/holder/index.d.ts +2 -2
- package/lib/components/booking/materiels/startTime/index.d.ts +2 -2
- package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +2 -2
- package/lib/components/booking/notes/NoteBlock/index.d.ts +2 -2
- package/lib/components/booking/notes/addNote/index.d.ts +2 -2
- package/lib/components/booking/utils.d.ts +174 -0
- package/lib/components/checkout/PaymentModal.d.ts +6 -0
- package/lib/components/checkout/PaymentModal.js +22 -15
- package/lib/components/checkout/components/AdditionalModule/index.d.ts +2 -2
- package/lib/components/checkout/components/AmountSummary/index.d.ts +2 -2
- package/lib/components/checkout/components/CashPaymentModule/index.d.ts +26 -0
- package/lib/components/checkout/components/PaymentDetailModal/index.d.ts +2 -2
- package/lib/components/checkout/components/PaymentDetailModal/index.js +2 -2
- package/lib/components/checkout/components/PaymentOptionsModule/index.d.ts +16 -0
- package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +85 -0
- package/lib/components/checkout/components/SearchAndClientModule/index.d.ts +2 -1
- package/lib/components/checkout/components/SearchAndClientModule/index.js +29 -3
- package/lib/components/checkout/components/SendPaymentLinkModal/index.d.ts +2 -2
- package/lib/components/checkout/components/WalletPassModule/components/ConflictModal/index.d.ts +3 -2
- package/lib/components/checkout/components/WalletPassModule/components/DiscountWallet/index.d.ts +2 -1
- package/lib/components/checkout/hooks/useWalletPass.d.ts +16 -16
- package/lib/components/checkout/hooks/useWalletPass.js +3 -1
- package/lib/components/checkout/locales.d.ts +513 -0
- package/lib/components/checkout/plugin.d.ts +2 -0
- package/lib/components/checkout/plugin.js +263 -0
- package/lib/components/checkout/utils/PaymentResultToastUtils.d.ts +32 -0
- package/lib/components/eftpos/device.d.ts +1 -1
- package/lib/components/eftpos/deviceList/index.d.ts +2 -2
- package/lib/components/eftpos/form/index.d.ts +2 -2
- package/lib/components/eftpos/group/index.d.ts +3 -3
- package/lib/components/eftpos/icon/apiKey.d.ts +2 -2
- package/lib/components/eftpos/icon/device.d.ts +2 -2
- package/lib/components/eftpos/index.d.ts +2 -2
- package/lib/components/eftpos/log.d.ts +2 -2
- package/lib/components/eftpos/pos.d.ts +2 -2
- package/lib/components/eftpos/receipt/index.d.ts +2 -2
- package/lib/components/eftpos/surcharge/index.d.ts +2 -1
- package/lib/components/eftposPay/amount.d.ts +2 -2
- package/lib/components/eftposPay/app.d.ts +2 -2
- package/lib/components/eftposPay/component/alert/index.d.ts +1 -1
- package/lib/components/eftposPay/component/alert/warn.d.ts +2 -2
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +2 -2
- package/lib/components/eftposPay/component/fail/index.d.ts +2 -2
- package/lib/components/eftposPay/component/fail/network.d.ts +2 -2
- package/lib/components/eftposPay/component/fail/unknow.d.ts +2 -2
- package/lib/components/eftposPay/component/header/index.d.ts +1 -1
- package/lib/components/eftposPay/component/header/titlebar.d.ts +2 -2
- package/lib/components/eftposPay/component/manual/index.d.ts +2 -2
- package/lib/components/eftposPay/component/signature/index.d.ts +2 -2
- package/lib/components/eftposPay/component/step/index.d.ts +2 -2
- package/lib/components/eftposPay/component/step/step.d.ts +2 -2
- package/lib/components/eftposPay/device.d.ts +2 -2
- package/lib/components/eftposPay/index.d.ts +2 -1
- package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
- package/lib/components/eftposPay/linkly/index.d.ts +2 -1
- package/lib/components/eftposPay/pay.d.ts +2 -2
- package/lib/components/eftposPay/payo/config.d.ts +13 -0
- package/lib/components/eftposPay/payo/index.d.ts +1 -1
- package/lib/components/eftposPay/payo/payment.d.ts +66 -0
- package/lib/components/eftposPay/store/index.d.ts +3 -3
- package/lib/components/eftposPay/tip.d.ts +2 -2
- 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/windcave/receiptAction.d.ts +3 -3
- package/lib/components/eftposPay/windcave/windcave.d.ts +2 -2
- package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -1
- package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +2 -1
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +2 -1
- package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +2 -1
- package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +2 -1
- package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +2 -1
- package/lib/components/eventBooking/components/Provider/Content/index.d.ts +2 -1
- package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +2 -1
- package/lib/components/eventBooking/components/Provider/Event/index.d.ts +2 -1
- package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +2 -1
- package/lib/components/eventBooking/components/Provider/Header/index.d.ts +2 -1
- package/lib/components/eventBooking/components/Provider/Information/index.d.ts +2 -1
- package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +2 -1
- package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +2 -1
- package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +2 -1
- package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +2 -1
- package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +2 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -1
- package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +2 -1
- package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +2 -1
- package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +2 -1
- package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +2 -2
- package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +2 -1
- package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +2 -1
- package/lib/components/eventBooking/index.d.ts +2 -1
- package/lib/components/index.d.ts +24 -0
- package/lib/components/list/List.js +34 -16
- package/lib/components/list/hooks/useListState.d.ts +5 -3
- package/lib/components/list/hooks/useListState.js +14 -1
- package/lib/components/list/styles/header.less +3 -3
- package/lib/components/list/utils/index.d.ts +13 -1
- package/lib/components/list/utils/index.js +27 -0
- package/lib/components/login/index.d.ts +2 -2
- package/lib/components/pay/toB/components/Cache/index.d.ts +2 -1
- package/lib/components/pay/toB/components/Card/index.d.ts +2 -1
- package/lib/components/pay/toB/components/CardGroup/index.d.ts +2 -2
- package/lib/components/pay/toB/components/ConfirmedPayment/index.d.ts +2 -1
- package/lib/components/pay/toB/components/Content/Footer.d.ts +2 -1
- package/lib/components/pay/toB/components/Content/Header.d.ts +2 -2
- package/lib/components/pay/toB/store/provider.d.ts +1 -1
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +2 -1
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +1 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +2 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +2 -2
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +2 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +2 -2
- package/lib/components/pay/toC/PaymentMethods/WalletPass/MultiModeSearch/index.d.ts +1 -1
- package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +155 -0
- package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +2 -1
- package/lib/components/pay/toC/locales.d.ts +301 -0
- package/lib/components/pay/toC/status.d.ts +13 -0
- package/lib/components/pisellSelectCustomerModal/CustomerCard/index.d.ts +1 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +2 -2
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +2 -2
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +2 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +2 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +2 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +2 -1
- package/lib/components/pisellSelectCustomerModal/index.d.ts +2 -1
- package/lib/components/productExtension/fields/Actor/index.d.ts +2 -2
- package/lib/components/productExtension/fields/Forms/index.d.ts +2 -2
- package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +2 -2
- package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +2 -2
- package/lib/components/productExtension/fields/SelectProducts/index.d.ts +2 -2
- package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +2 -2
- package/lib/components/productExtension/index.d.ts +2 -1
- package/lib/components/productSelect/components/TabProduct/index.d.ts +2 -1
- package/lib/components/productSelect/components/pisellPriceText/index.d.ts +1 -1
- package/lib/components/productSelect/components/productGroup/index.d.ts +3 -3
- package/lib/components/productSelect/index.d.ts +1 -1
- package/lib/components/ruleSetting/index.d.ts +2 -1
- package/lib/components/ruleSetting/ruleBorder/index.d.ts +2 -2
- package/lib/components/schedules/calendar/calendarItem.d.ts +2 -2
- package/lib/components/schedules/calendar/index.d.ts +2 -2
- package/lib/components/schedules/components/Card/index.d.ts +1 -1
- package/lib/components/schedules/components/CurrentDay/index.d.ts +2 -2
- package/lib/components/schedules/components/ResourceList/index.d.ts +1 -1
- package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +2 -2
- package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +2 -1
- package/lib/components/schedules/components/ScheduleList/index.d.ts +2 -2
- package/lib/components/schedules/components/Search/index.d.ts +1 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +2 -2
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +2 -2
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +2 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +2 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +2 -2
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +2 -2
- package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +2 -2
- package/lib/components/schedules/products/index.d.ts +2 -2
- package/lib/components/schedules/products/list/ProductItem/index.d.ts +2 -2
- package/lib/components/schedules/products/list/index.d.ts +2 -2
- package/lib/components/schedules/resources/index.d.ts +2 -2
- package/lib/components/schedules/resources/list/index.d.ts +2 -2
- package/lib/components/schedules/resources/relationProduct/index.d.ts +2 -2
- package/lib/components/schedules/schedules/AllSchedules/index.d.ts +2 -2
- package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +2 -2
- package/lib/components/schedules/schedules/Schedules.d.ts +1 -1
- package/lib/components/schedules/schedules/SchedulesForDay/index.d.ts +1 -1
- package/lib/components/schedules/schedules/index.d.ts +2 -2
- package/lib/components/schedules/utils.d.ts +1 -1
- package/lib/components/shoppingCart/Provider.d.ts +1 -1
- package/lib/components/shoppingCart/components/Cart/Product.d.ts +2 -1
- package/lib/components/shoppingCart/components/Cart/index.d.ts +2 -1
- package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -1
- package/lib/components/shoppingCart/components/Render/index.d.ts +2 -2
- package/lib/components/shoppingCart/hooks/useAddService.d.ts +2 -1
- package/lib/components/shoppingCart/hooks/useClearCart.d.ts +2 -1
- package/lib/components/shoppingCart/index.d.ts +2 -2
- package/lib/components/subTotal/index.d.ts +1 -1
- package/lib/components/systemSettings/registry/components/ModuleList.d.ts +4 -0
- package/lib/components/systemSettings/registry/components/SectionList.d.ts +4 -0
- package/lib/components/systemSettings/registry/components/index.d.ts +4 -0
- package/lib/components/systemSettings/registry/locales.d.ts +272 -0
- package/lib/components/systemSettings/registry/services.d.ts +77 -0
- package/lib/components/systemSettings/registry/types.d.ts +126 -0
- package/lib/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
- package/lib/components/systemSettings/registry/utils/validators.d.ts +8 -0
- package/lib/components/tabProduct/index.d.ts +1 -1
- package/lib/components/taxSelect/index.d.ts +2 -1
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.js +1 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +33 -2
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/utils.js +84 -24
- package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +2 -1
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +2 -1
- package/lib/components/ticketBooking/components/floatButtons/index.d.ts +1 -1
- package/lib/components/ticketBooking/components/menuBar/index.d.ts +2 -1
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +2 -1
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +2 -1
- package/lib/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +1 -1
- package/lib/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +9 -9
- package/lib/components/ticketBooking/hooks/pisellos/useProducts.d.ts +16 -0
- package/lib/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +3 -3
- package/lib/components/ticketBooking/index.d.ts +2 -1
- package/lib/components/ticketBooking/locales.d.ts +198 -0
- package/lib/components/ticketBooking/miniRedux.d.ts +1 -1
- package/lib/components/ticketBooking/utils/index.d.ts +93 -0
- package/lib/components/wallet/Detail/locales.d.ts +153 -0
- package/lib/components/wallet/components/UsageRules/index.d.ts +1 -1
- package/lib/components/wallet/serve.d.ts +150 -0
- package/lib/components/wallet/utils.d.ts +48 -0
- package/lib/components/walletList/index.d.ts +1 -1
- package/lib/components/walletList/model.d.ts +1 -1
- package/lib/components/workSpaceList/components/Modal/index.d.ts +2 -1
- package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +2 -1
- package/lib/hooks/usePaymentLogger.d.ts +2 -2
- package/lib/index.d.ts +1 -1
- package/lib/index.js +2 -2
- package/lib/plus/clientCard/locales.d.ts +18 -0
- package/lib/plus/clientName/index.d.ts +2 -2
- package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +2 -2
- package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +2 -2
- package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +2 -2
- package/lib/plus/clinetSearch/index.d.ts +17 -0
- package/lib/plus/clinetSearch/locales.d.ts +105 -0
- package/lib/plus/clinetSearch/types.d.ts +61 -0
- package/lib/plus/contactInfoModal/ContactInfoContent.d.ts +2 -1
- package/lib/plus/noteModal/AddTempModal.d.ts +2 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +2 -2
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +2 -2
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +2 -2
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +2 -2
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +2 -2
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +2 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +2 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.d.ts +2 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +2 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +2 -2
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +2 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +2 -2
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +2 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +2 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +2 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +2 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +2 -2
- package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +2 -2
- package/lib/plus/productSelect/ProductCard/SkuCard/index.d.ts +6 -6
- package/lib/plus/productSelect/ProductCard/index.d.ts +2 -2
- package/lib/plus/productSelect/ProductList/gridComponents.d.ts +6 -6
- package/lib/plus/productSelect/components/pisellPriceText/index.d.ts +1 -1
- package/lib/plus/productSelect/index.d.ts +1 -1
- package/lib/plus/saasCreateOrganization/components/Header.d.ts +2 -2
- package/lib/plus/saasCreateOrganization/index.d.ts +2 -1
- package/lib/plus/saasRegister/components/EntryEmail.d.ts +2 -2
- package/lib/plus/saasRegister/components/EntryInfo.d.ts +2 -2
- package/lib/plus/saasRegister/components/GoLogin.d.ts +2 -2
- package/lib/plus/saasRegister/components/Header.d.ts +2 -2
- package/lib/plus/saasRegister/components/VerifyError.d.ts +2 -2
- package/lib/plus/saasRegister/components/VerifyingLink.d.ts +2 -2
- package/lib/plus/saasRegister/components/VertifyEmail.d.ts +2 -1
- package/lib/plus/walletEditor/components/relationProduct/index.d.ts +2 -2
- package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +2 -1
- package/lib/plus/walletPassGallery/components/passList/index.d.ts +2 -1
- package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +2 -1
- package/lib/plus/walletPassGallery/components/usageRule/index.d.ts +1 -1
- package/lib/plus/walletPassGallery/index.d.ts +2 -1
- package/lib/plus/walletPassGallery/serve.d.ts +221 -0
- package/lib/plus/webPosLogin/WebPosLogin.d.ts +1 -1
- package/lib/pro/Login2.0/components/ForgotPasswordFlow.d.ts +9 -2
- package/lib/pro/Login2.0/components/LoginCodeInput.d.ts +6 -2
- package/lib/pro/Login2.0/components/PhoneInput.d.ts +1 -1
- package/lib/pro/Login2.0/steps/CodeInput.d.ts +6 -2
- package/lib/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +6 -2
- package/lib/pro/Login2.0/steps/EmailLinkAlreadyUsed.d.ts +5 -2
- package/lib/pro/Login2.0/steps/EmailLinkExpired.d.ts +5 -2
- package/lib/pro/Login2.0/steps/SetPassword.d.ts +5 -2
- package/lib/pro/Login2.0/steps/VerificationSuccess.d.ts +5 -2
- package/lib/pro/Login2.0/steps/VerifyingEmailLink.d.ts +5 -2
- package/lib/pro/Login2.0/steps/WaitEmailLink.d.ts +5 -2
- package/lib/pro/comprehensiveSearch/components/searchSection/locales.d.ts +15 -0
- package/lib/pro/comprehensiveSearch/locales.d.ts +15 -0
- package/lib/pro/numberKeyboard/index.d.ts +1 -1
- package/lib/pro/pisellPaymentList/example.d.ts +11 -11
- package/lib/pro/pisellPhoneKeyboard/index.d.ts +2 -1
- package/lib/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.d.ts +2 -1
- package/lib/pro/priceKeyboard/components/cashKeyboard/CashKeyboardSimple.d.ts +1 -1
- package/lib/pro/priceKeyboard/components/cashKeyboard/index.d.ts +13 -0
- package/lib/pro/priceKeyboard/components/cashKeyboard/types.d.ts +98 -0
- package/lib/pro/priceKeyboard/components/discountKeyboard/index.d.ts +2 -2
- package/lib/pro/priceKeyboard/components/paymentKeyboard/index.d.ts +2 -1
- package/lib/pro/priceKeyboard/components/shortcuts/index.d.ts +18 -0
- package/lib/pro/priceKeyboard/hooks/rightItems.d.ts +2 -1
- package/lib/utils/index.d.ts +1 -1
- package/lowcode/payment-modal/meta.ts +135 -0
- package/package.json +4 -4
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.ticket-booking.info': string;
|
|
4
|
+
'pisell2.ticket-booking.notes': string;
|
|
5
|
+
'pisell2.ticket-booking.note': string;
|
|
6
|
+
'pisell2.ticket-booking.forms': string;
|
|
7
|
+
'pisell2.ticket-booking.sales': string;
|
|
8
|
+
'pisell2.ticket-booking.payment': string;
|
|
9
|
+
'pisell2.ticket-booking.unsaved-changes': string;
|
|
10
|
+
'pisell2.ticket-booking.exit-confirm': string;
|
|
11
|
+
'pisell2.ticket-booking.go-back': string;
|
|
12
|
+
'pisell2.ticket-booking.exit': string;
|
|
13
|
+
'pisell2.ticket-booking.deposit': string;
|
|
14
|
+
'pisell2.ticket-booking.copy-success': string;
|
|
15
|
+
'pisell2.ticket-booking.no-data': string;
|
|
16
|
+
'pisell2.ticket-booking.authorized': string;
|
|
17
|
+
'pisell2.ticket-booking.paid': string;
|
|
18
|
+
'pisell2.ticket-booking.partially-paid': string;
|
|
19
|
+
'pisell2.ticket-booking.partially-refunded': string;
|
|
20
|
+
'pisell2.ticket-booking.payment-pending': string;
|
|
21
|
+
'pisell2.ticket-booking.refunded': string;
|
|
22
|
+
'pisell2.ticket-booking.unpaid': string;
|
|
23
|
+
'pisell2.ticket-booking.voided': string;
|
|
24
|
+
'pisell2.ticket-booking.pending': string;
|
|
25
|
+
'pisell2.ticket-booking.all': string;
|
|
26
|
+
'pisell2.ticket-booking.not-started': string;
|
|
27
|
+
'pisell2.ticket-booking.started': string;
|
|
28
|
+
'pisell2.ticket-booking.finished': string;
|
|
29
|
+
'pisell2.ticket-booking.canceled': string;
|
|
30
|
+
'pisell2.ticket-booking.inform': string;
|
|
31
|
+
'pisell2.ticket-booking.check-management': string;
|
|
32
|
+
'pisell2.ticket-booking.confirm': string;
|
|
33
|
+
'pisell2.ticket-booking.dashboard': string;
|
|
34
|
+
'pisell2.ticket-booking.booking-list': string;
|
|
35
|
+
'pisell2.ticket-booking.full-data': string;
|
|
36
|
+
'pisell2.ticket-booking.today': string;
|
|
37
|
+
'pisell2.ticket-booking.now': string;
|
|
38
|
+
'pisell2.ticket-booking.start-time': string;
|
|
39
|
+
'pisell2.ticket-booking.create-time': string;
|
|
40
|
+
'pisell2.ticket-booking.customer': string;
|
|
41
|
+
'pisell2.ticket-booking.total': string;
|
|
42
|
+
'pisell2.ticket-booking.search': string;
|
|
43
|
+
'pisell2.ticket-booking.refresh-success': string;
|
|
44
|
+
'pisell2.ticket-booking.loading': string;
|
|
45
|
+
'pisell2.ticket-booking.appointment-not-found': string;
|
|
46
|
+
'pisell2.ticket-booking.scan': string;
|
|
47
|
+
'pisell2.ticket-booking.create-new': string;
|
|
48
|
+
'pisell2.ticket-booking.add-to-cart': string;
|
|
49
|
+
'pisell2.ticket-booking.not-available-title': string;
|
|
50
|
+
'pisell2.ticket-booking.not-available-ok': string;
|
|
51
|
+
'pisell2.ticket-booking.in-cart': (number: number) => string;
|
|
52
|
+
'pisell2.product.card.cart-items': (number: number) => string;
|
|
53
|
+
'pisell2.product.card.subtotal': string;
|
|
54
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
55
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
56
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
57
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
58
|
+
'pisell2.ticket-booking.reload': string;
|
|
59
|
+
'pisell2.text.scan-global-failed': string;
|
|
60
|
+
'pisell2.ticket-booking.terminal-upgrade-title': string;
|
|
61
|
+
'pisell2.ticket-booking.terminal-upgrade-description': string;
|
|
62
|
+
'pisell2.ticket-booking.terminal-upgrade-ok': string;
|
|
63
|
+
'pisell2.ticket-booking.terminal-upgrade-cancel': string;
|
|
64
|
+
'pisell2.ticket-booking.collapse': string;
|
|
65
|
+
'pisell2.ticket-booking.expand': string;
|
|
66
|
+
};
|
|
67
|
+
'zh-CN': {
|
|
68
|
+
'pisell2.ticket-booking.info': string;
|
|
69
|
+
'pisell2.ticket-booking.notes': string;
|
|
70
|
+
'pisell2.ticket-booking.note': string;
|
|
71
|
+
'pisell2.ticket-booking.forms': string;
|
|
72
|
+
'pisell2.ticket-booking.sales': string;
|
|
73
|
+
'pisell2.ticket-booking.payment': string;
|
|
74
|
+
'pisell2.ticket-booking.unsaved-changes': string;
|
|
75
|
+
'pisell2.ticket-booking.exit-confirm': string;
|
|
76
|
+
'pisell2.ticket-booking.go-back': string;
|
|
77
|
+
'pisell2.ticket-booking.exit': string;
|
|
78
|
+
'pisell2.ticket-booking.deposit': string;
|
|
79
|
+
'pisell2.ticket-booking.copy-success': string;
|
|
80
|
+
'pisell2.ticket-booking.no-data': string;
|
|
81
|
+
'pisell2.ticket-booking.authorized': string;
|
|
82
|
+
'pisell2.ticket-booking.paid': string;
|
|
83
|
+
'pisell2.ticket-booking.partially-paid': string;
|
|
84
|
+
'pisell2.ticket-booking.partially-refunded': string;
|
|
85
|
+
'pisell2.ticket-booking.payment-pending': string;
|
|
86
|
+
'pisell2.ticket-booking.refunded': string;
|
|
87
|
+
'pisell2.ticket-booking.unpaid': string;
|
|
88
|
+
'pisell2.ticket-booking.voided': string;
|
|
89
|
+
'pisell2.ticket-booking.pending': string;
|
|
90
|
+
'pisell2.ticket-booking.all': string;
|
|
91
|
+
'pisell2.ticket-booking.not-started': string;
|
|
92
|
+
'pisell2.ticket-booking.started': string;
|
|
93
|
+
'pisell2.ticket-booking.finished': string;
|
|
94
|
+
'pisell2.ticket-booking.canceled': string;
|
|
95
|
+
'pisell2.ticket-booking.inform': string;
|
|
96
|
+
'pisell2.ticket-booking.check-management': string;
|
|
97
|
+
'pisell2.ticket-booking.confirm': string;
|
|
98
|
+
'pisell2.ticket-booking.dashboard': string;
|
|
99
|
+
'pisell2.ticket-booking.booking-list': string;
|
|
100
|
+
'pisell2.ticket-booking.full-data': string;
|
|
101
|
+
'pisell2.ticket-booking.today': string;
|
|
102
|
+
'pisell2.ticket-booking.now': string;
|
|
103
|
+
'pisell2.ticket-booking.start-time': string;
|
|
104
|
+
'pisell2.ticket-booking.create-time': string;
|
|
105
|
+
'pisell2.ticket-booking.customer': string;
|
|
106
|
+
'pisell2.ticket-booking.total': string;
|
|
107
|
+
'pisell2.ticket-booking.search': string;
|
|
108
|
+
'pisell2.ticket-booking.refresh-success': string;
|
|
109
|
+
'pisell2.ticket-booking.loading': string;
|
|
110
|
+
'pisell2.ticket-booking.appointment-not-found': string;
|
|
111
|
+
'pisell2.ticket-booking.scan': string;
|
|
112
|
+
'pisell2.ticket-booking.create-new': string;
|
|
113
|
+
'pisell2.ticket-booking.add-to-cart': string;
|
|
114
|
+
'pisell2.ticket-booking.not-available-title': string;
|
|
115
|
+
'pisell2.ticket-booking.not-available-ok': string;
|
|
116
|
+
'pisell2.product.card.cart-items': (number: number) => string;
|
|
117
|
+
'pisell2.product.card.subtotal': string;
|
|
118
|
+
'pisell2.ticket-booking.in-cart': (number: number) => string;
|
|
119
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
120
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
121
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
122
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
123
|
+
'pisell2.ticket-booking.reload': string;
|
|
124
|
+
'pisell2.text.scan-global-failed': string;
|
|
125
|
+
'pisell2.ticket-booking.terminal-upgrade-title': string;
|
|
126
|
+
'pisell2.ticket-booking.terminal-upgrade-description': string;
|
|
127
|
+
'pisell2.ticket-booking.terminal-upgrade-ok': string;
|
|
128
|
+
'pisell2.ticket-booking.terminal-upgrade-cancel': string;
|
|
129
|
+
'pisell2.ticket-booking.collapse': string;
|
|
130
|
+
'pisell2.ticket-booking.expand': string;
|
|
131
|
+
};
|
|
132
|
+
'zh-HK': {
|
|
133
|
+
'pisell2.ticket-booking.info': string;
|
|
134
|
+
'pisell2.ticket-booking.notes': string;
|
|
135
|
+
'pisell2.ticket-booking.note': string;
|
|
136
|
+
'pisell2.ticket-booking.forms': string;
|
|
137
|
+
'pisell2.ticket-booking.sales': string;
|
|
138
|
+
'pisell2.ticket-booking.payment': string;
|
|
139
|
+
'pisell2.ticket-booking.unsaved-changes': string;
|
|
140
|
+
'pisell2.ticket-booking.exit-confirm': string;
|
|
141
|
+
'pisell2.ticket-booking.go-back': string;
|
|
142
|
+
'pisell2.ticket-booking.exit': string;
|
|
143
|
+
'pisell2.ticket-booking.deposit': string;
|
|
144
|
+
'pisell2.ticket-booking.copy-success': string;
|
|
145
|
+
'pisell2.ticket-booking.no-data': string;
|
|
146
|
+
'pisell2.ticket-booking.authorized': string;
|
|
147
|
+
'pisell2.ticket-booking.paid': string;
|
|
148
|
+
'pisell2.ticket-booking.partially-paid': string;
|
|
149
|
+
'pisell2.ticket-booking.partially-refunded': string;
|
|
150
|
+
'pisell2.ticket-booking.payment-pending': string;
|
|
151
|
+
'pisell2.ticket-booking.refunded': string;
|
|
152
|
+
'pisell2.ticket-booking.unpaid': string;
|
|
153
|
+
'pisell2.ticket-booking.voided': string;
|
|
154
|
+
'pisell2.ticket-booking.pending': string;
|
|
155
|
+
'pisell2.ticket-booking.all': string;
|
|
156
|
+
'pisell2.ticket-booking.not-started': string;
|
|
157
|
+
'pisell2.ticket-booking.started': string;
|
|
158
|
+
'pisell2.ticket-booking.finished': string;
|
|
159
|
+
'pisell2.ticket-booking.canceled': string;
|
|
160
|
+
'pisell2.ticket-booking.inform': string;
|
|
161
|
+
'pisell2.ticket-booking.check-management': string;
|
|
162
|
+
'pisell2.ticket-booking.confirm': string;
|
|
163
|
+
'pisell2.ticket-booking.dashboard': string;
|
|
164
|
+
'pisell2.ticket-booking.booking-list': string;
|
|
165
|
+
'pisell2.ticket-booking.full-data': string;
|
|
166
|
+
'pisell2.ticket-booking.today': string;
|
|
167
|
+
'pisell2.ticket-booking.now': string;
|
|
168
|
+
'pisell2.ticket-booking.start-time': string;
|
|
169
|
+
'pisell2.ticket-booking.create-time': string;
|
|
170
|
+
'pisell2.ticket-booking.customer': string;
|
|
171
|
+
'pisell2.ticket-booking.total': string;
|
|
172
|
+
'pisell2.ticket-booking.search': string;
|
|
173
|
+
'pisell2.ticket-booking.refresh-success': string;
|
|
174
|
+
'pisell2.ticket-booking.loading': string;
|
|
175
|
+
'pisell2.ticket-booking.appointment-not-found': string;
|
|
176
|
+
'pisell2.ticket-booking.scan': string;
|
|
177
|
+
'pisell2.ticket-booking.create-new': string;
|
|
178
|
+
'pisell2.ticket-booking.add-to-cart': string;
|
|
179
|
+
'pisell2.ticket-booking.not-available-title': string;
|
|
180
|
+
'pisell2.ticket-booking.not-available-ok': string;
|
|
181
|
+
'pisell2.ticket-booking.in-cart': (number: number) => string;
|
|
182
|
+
'pisell2.product.card.cart-items': (number: number) => string;
|
|
183
|
+
'pisell2.product.card.subtotal': string;
|
|
184
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
185
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
186
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
187
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
188
|
+
'pisell2.ticket-booking.reload': string;
|
|
189
|
+
'pisell2.text.scan-global-failed': string;
|
|
190
|
+
'pisell2.ticket-booking.terminal-upgrade-title': string;
|
|
191
|
+
'pisell2.ticket-booking.terminal-upgrade-description': string;
|
|
192
|
+
'pisell2.ticket-booking.terminal-upgrade-ok': string;
|
|
193
|
+
'pisell2.ticket-booking.terminal-upgrade-cancel': string;
|
|
194
|
+
'pisell2.ticket-booking.collapse': string;
|
|
195
|
+
'pisell2.ticket-booking.expand': string;
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
export default _default;
|
|
@@ -13,7 +13,7 @@ interface ProviderProps<T extends object> {
|
|
|
13
13
|
store: Store<T>;
|
|
14
14
|
children: React.ReactNode;
|
|
15
15
|
}
|
|
16
|
-
export declare function Provider<T extends object>({ store, children, }: ProviderProps<T>): JSX.Element;
|
|
16
|
+
export declare function Provider<T extends object>({ store, children, }: ProviderProps<T>): import("react").JSX.Element;
|
|
17
17
|
export declare function createStore<T extends object>(initialState: T): Store<T>;
|
|
18
18
|
export declare function useStore<T extends object>(): [
|
|
19
19
|
T,
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import type { Dayjs } from 'dayjs';
|
|
2
|
+
/** dayjs对象格式化为字符串时间 */
|
|
3
|
+
export declare const formatDateToStr: (date: Dayjs[]) => string | string[];
|
|
4
|
+
export declare const getDefaultStartParam: () => string | string[];
|
|
5
|
+
export declare const formatBookingList: (bookingList: any[]) => any[];
|
|
6
|
+
export declare const getNextTimeSlice: (sliceMinutes: number) => Dayjs;
|
|
7
|
+
export declare const getDisabledEdit: ({ shop_discount, bookings, payment_status }: any) => boolean;
|
|
8
|
+
export declare const formatOptions: (detail: any) => any;
|
|
9
|
+
export declare const formatHolder: (detail: any) => any;
|
|
10
|
+
export declare const restoreProductOtherData: (data: any) => {
|
|
11
|
+
product_id: any;
|
|
12
|
+
option: any;
|
|
13
|
+
bundle: any;
|
|
14
|
+
product_variant_id: any;
|
|
15
|
+
quantity: number;
|
|
16
|
+
} | undefined;
|
|
17
|
+
export declare const isSameProduct: (a: any, b: any) => boolean;
|
|
18
|
+
export declare const addService: (list: any[], addItem: any, state: any) => {
|
|
19
|
+
list: any[];
|
|
20
|
+
quantity: any;
|
|
21
|
+
};
|
|
22
|
+
export declare const addServiceScroll: (rowKey: string, cacheItem: any) => void;
|
|
23
|
+
export declare const getCartProductOverlay: (state: any) => any;
|
|
24
|
+
export declare const getIsOverlayProduct: (item: any, state: any) => any;
|
|
25
|
+
export declare const getIsShowNumber: (item: any, state: any) => any;
|
|
26
|
+
export declare const genServiceKey: (item: any) => string;
|
|
27
|
+
export declare const getIsParallelResourcesBooking: (record: any) => boolean;
|
|
28
|
+
declare type ScanData = {
|
|
29
|
+
type: string;
|
|
30
|
+
status: 'success' | 'failed';
|
|
31
|
+
scanType: 'nfc' | 'scanner';
|
|
32
|
+
scanCode: string;
|
|
33
|
+
result: {
|
|
34
|
+
searchType: 'customer' | 'wallet' | 'walletPass' | 'product' | 'local_product';
|
|
35
|
+
response: {
|
|
36
|
+
status: boolean;
|
|
37
|
+
code: number;
|
|
38
|
+
message: string;
|
|
39
|
+
data: any;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
export declare const formatScanCustomer: (data: ScanData) => {
|
|
44
|
+
searchType: "product" | "customer" | "wallet" | "walletPass" | "local_product";
|
|
45
|
+
data: any;
|
|
46
|
+
scanCode: string;
|
|
47
|
+
} | null;
|
|
48
|
+
export declare const formatScanGlobal: (data: ScanData) => {
|
|
49
|
+
searchType: "wallet";
|
|
50
|
+
data: any;
|
|
51
|
+
scanCode: string;
|
|
52
|
+
} | {
|
|
53
|
+
searchType: "walletPass";
|
|
54
|
+
data: any;
|
|
55
|
+
scanCode: string;
|
|
56
|
+
} | {
|
|
57
|
+
searchType: "product" | "local_product";
|
|
58
|
+
data: any;
|
|
59
|
+
scanCode: string;
|
|
60
|
+
} | null | undefined;
|
|
61
|
+
export declare const createSimpleCacheItem: (item: any, e: any, state: any) => any;
|
|
62
|
+
export declare const getBookingTicketKey: (osKey: string) => string;
|
|
63
|
+
export declare const getShopDiscountKey: (osKey: string) => string;
|
|
64
|
+
export declare const rulesHooks: {
|
|
65
|
+
getProduct(product: Record<string, any>): {
|
|
66
|
+
booking_id: any;
|
|
67
|
+
id: any;
|
|
68
|
+
_id: any;
|
|
69
|
+
price: any;
|
|
70
|
+
total: any;
|
|
71
|
+
discount_list: any;
|
|
72
|
+
origin_total: any;
|
|
73
|
+
num: any;
|
|
74
|
+
quantity: any;
|
|
75
|
+
vouchersApplicable: any;
|
|
76
|
+
startDate: any;
|
|
77
|
+
bundle: any;
|
|
78
|
+
options: any;
|
|
79
|
+
};
|
|
80
|
+
setProduct(product: Record<string, any>, values: {
|
|
81
|
+
total: number;
|
|
82
|
+
discount_list: any[];
|
|
83
|
+
price: number;
|
|
84
|
+
quantity: number;
|
|
85
|
+
_id?: string;
|
|
86
|
+
}): {
|
|
87
|
+
_id: any;
|
|
88
|
+
discount_list: any[];
|
|
89
|
+
_extend: any;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
export { getCache, setCache, clearCache, clearAllCache, clearAllCacheByOsKey, getProductCache, setProductCache, clearProductCache, clearAllProductCache, getBoardConfigCache, setBoardConfigCache, clearBoardConfigCache, } from './productCache';
|
|
93
|
+
export type { CacheType } from './productCache';
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'page.wallet.copyTitle': string;
|
|
4
|
+
'page.wallet.copyButton': string;
|
|
5
|
+
'page.wallet.copySuccess': string;
|
|
6
|
+
'page.wallet.detail': string;
|
|
7
|
+
'page.wallet.activelog': string;
|
|
8
|
+
'page.wallet.copyText': string;
|
|
9
|
+
'page.wallet.spendingDetails': string;
|
|
10
|
+
'page.wallet.rechargeDetails': string;
|
|
11
|
+
'page.wallet.date': string;
|
|
12
|
+
'page.wallet.spending': string;
|
|
13
|
+
'page.wallet.recharge': string;
|
|
14
|
+
'page.wallet.pointsEarned': string;
|
|
15
|
+
'page.wallet.pointsRedeemed': string;
|
|
16
|
+
'page.wallet.refund': string;
|
|
17
|
+
'page.wallet.expire': string;
|
|
18
|
+
'page.wallet.viewOrder': string;
|
|
19
|
+
'page.wallet.done': string;
|
|
20
|
+
'page.wallet.addIos': string;
|
|
21
|
+
'page.wallet.addGoogle': string;
|
|
22
|
+
'page.wallet.viewDetails': string;
|
|
23
|
+
'page.wallet.expireDate': string;
|
|
24
|
+
'page.wallet.notValidDate': string;
|
|
25
|
+
'page.wallet.includedDate': string;
|
|
26
|
+
'page.wallet.urlEmpty': string;
|
|
27
|
+
'page.wallet.notIOS': string;
|
|
28
|
+
'page.wallet.addSuccess': string;
|
|
29
|
+
'page.wallet.addFailed': string;
|
|
30
|
+
'page.wallet.useAppleInstead': string;
|
|
31
|
+
'page.wallet.openedInBrowser': string;
|
|
32
|
+
'page.wallet.openFailed': string;
|
|
33
|
+
'page.wallet.loading': string;
|
|
34
|
+
'page.wallet.usageRules': string;
|
|
35
|
+
'page.wallet.usageRulesSubtitle': string;
|
|
36
|
+
'page.wallet.timeUsageLimits': string;
|
|
37
|
+
'page.wallet.totalQuantityControl': string;
|
|
38
|
+
'page.wallet.dailyLimit': string;
|
|
39
|
+
'page.wallet.weeklyLimit': string;
|
|
40
|
+
'page.wallet.monthlyLimit': string;
|
|
41
|
+
'page.wallet.personalLimit': string;
|
|
42
|
+
'page.wallet.dailyLimitDesc': string;
|
|
43
|
+
'page.wallet.weeklyLimitDesc': string;
|
|
44
|
+
'page.wallet.monthlyLimitDesc': string;
|
|
45
|
+
'page.wallet.monthlyLimitUnlimited': string;
|
|
46
|
+
'page.wallet.personalLimitDesc': string;
|
|
47
|
+
'page.wallet.dailyReset': string;
|
|
48
|
+
'page.wallet.weeklyReset': string;
|
|
49
|
+
'page.wallet.monthlyReset': string;
|
|
50
|
+
'page.wallet.voucherExpireNote': string;
|
|
51
|
+
};
|
|
52
|
+
'zh-CN': {
|
|
53
|
+
'page.wallet.copyTitle': string;
|
|
54
|
+
'page.wallet.copyButton': string;
|
|
55
|
+
'page.wallet.copySuccess': string;
|
|
56
|
+
'page.wallet.detail': string;
|
|
57
|
+
'page.wallet.activelog': string;
|
|
58
|
+
'page.wallet.copyText': string;
|
|
59
|
+
'page.wallet.spendingDetails': string;
|
|
60
|
+
'page.wallet.rechargeDetails': string;
|
|
61
|
+
'page.wallet.date': string;
|
|
62
|
+
'page.wallet.spending': string;
|
|
63
|
+
'page.wallet.recharge': string;
|
|
64
|
+
'page.wallet.pointsEarned': string;
|
|
65
|
+
'page.wallet.pointsRedeemed': string;
|
|
66
|
+
'page.wallet.refund': string;
|
|
67
|
+
'page.wallet.expire': string;
|
|
68
|
+
'page.wallet.viewOrder': string;
|
|
69
|
+
'page.wallet.done': string;
|
|
70
|
+
'page.wallet.addIos': string;
|
|
71
|
+
'page.wallet.addGoogle': string;
|
|
72
|
+
'page.wallet.viewDetails': string;
|
|
73
|
+
'page.wallet.expireDate': string;
|
|
74
|
+
'page.wallet.notValidDate': string;
|
|
75
|
+
'page.wallet.includedDate': string;
|
|
76
|
+
'page.wallet.urlEmpty': string;
|
|
77
|
+
'page.wallet.notIOS': string;
|
|
78
|
+
'page.wallet.addSuccess': string;
|
|
79
|
+
'page.wallet.addFailed': string;
|
|
80
|
+
'page.wallet.useAppleInstead': string;
|
|
81
|
+
'page.wallet.openedInBrowser': string;
|
|
82
|
+
'page.wallet.openFailed': string;
|
|
83
|
+
'page.wallet.loading': string;
|
|
84
|
+
'page.wallet.usageRules': string;
|
|
85
|
+
'page.wallet.usageRulesSubtitle': string;
|
|
86
|
+
'page.wallet.timeUsageLimits': string;
|
|
87
|
+
'page.wallet.totalQuantityControl': string;
|
|
88
|
+
'page.wallet.dailyLimit': string;
|
|
89
|
+
'page.wallet.weeklyLimit': string;
|
|
90
|
+
'page.wallet.monthlyLimit': string;
|
|
91
|
+
'page.wallet.personalLimit': string;
|
|
92
|
+
'page.wallet.dailyLimitDesc': string;
|
|
93
|
+
'page.wallet.weeklyLimitDesc': string;
|
|
94
|
+
'page.wallet.monthlyLimitDesc': string;
|
|
95
|
+
'page.wallet.monthlyLimitUnlimited': string;
|
|
96
|
+
'page.wallet.personalLimitDesc': string;
|
|
97
|
+
'page.wallet.dailyReset': string;
|
|
98
|
+
'page.wallet.weeklyReset': string;
|
|
99
|
+
'page.wallet.monthlyReset': string;
|
|
100
|
+
'page.wallet.voucherExpireNote': string;
|
|
101
|
+
};
|
|
102
|
+
'zh-HK': {
|
|
103
|
+
'page.wallet.copyTitle': string;
|
|
104
|
+
'page.wallet.copyButton': string;
|
|
105
|
+
'page.wallet.copySuccess': string;
|
|
106
|
+
'page.wallet.detail': string;
|
|
107
|
+
'page.wallet.activelog': string;
|
|
108
|
+
'page.wallet.copyText': string;
|
|
109
|
+
'page.wallet.spendingDetails': string;
|
|
110
|
+
'page.wallet.rechargeDetails': string;
|
|
111
|
+
'page.wallet.date': string;
|
|
112
|
+
'page.wallet.spending': string;
|
|
113
|
+
'page.wallet.recharge': string;
|
|
114
|
+
'page.wallet.pointsEarned': string;
|
|
115
|
+
'page.wallet.pointsRedeemed': string;
|
|
116
|
+
'page.wallet.refund': string;
|
|
117
|
+
'page.wallet.expire': string;
|
|
118
|
+
'page.wallet.viewOrder': string;
|
|
119
|
+
'page.wallet.done': string;
|
|
120
|
+
'page.wallet.addIos': string;
|
|
121
|
+
'page.wallet.addGoogle': string;
|
|
122
|
+
'page.wallet.viewDetails': string;
|
|
123
|
+
'page.wallet.expireDate': string;
|
|
124
|
+
'page.wallet.notValidDate': string;
|
|
125
|
+
'page.wallet.includedDate': string;
|
|
126
|
+
'page.wallet.urlEmpty': string;
|
|
127
|
+
'page.wallet.notIOS': string;
|
|
128
|
+
'page.wallet.addSuccess': string;
|
|
129
|
+
'page.wallet.addFailed': string;
|
|
130
|
+
'page.wallet.useAppleInstead': string;
|
|
131
|
+
'page.wallet.openedInBrowser': string;
|
|
132
|
+
'page.wallet.openFailed': string;
|
|
133
|
+
'page.wallet.loading': string;
|
|
134
|
+
'page.wallet.usageRules': string;
|
|
135
|
+
'page.wallet.usageRulesSubtitle': string;
|
|
136
|
+
'page.wallet.timeUsageLimits': string;
|
|
137
|
+
'page.wallet.totalQuantityControl': string;
|
|
138
|
+
'page.wallet.dailyLimit': string;
|
|
139
|
+
'page.wallet.weeklyLimit': string;
|
|
140
|
+
'page.wallet.monthlyLimit': string;
|
|
141
|
+
'page.wallet.personalLimit': string;
|
|
142
|
+
'page.wallet.dailyLimitDesc': string;
|
|
143
|
+
'page.wallet.weeklyLimitDesc': string;
|
|
144
|
+
'page.wallet.monthlyLimitDesc': string;
|
|
145
|
+
'page.wallet.monthlyLimitUnlimited': string;
|
|
146
|
+
'page.wallet.personalLimitDesc': string;
|
|
147
|
+
'page.wallet.dailyReset': string;
|
|
148
|
+
'page.wallet.weeklyReset': string;
|
|
149
|
+
'page.wallet.monthlyReset': string;
|
|
150
|
+
'page.wallet.voucherExpireNote': string;
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
export default _default;
|
|
@@ -19,5 +19,5 @@ interface UsageRulesProps {
|
|
|
19
19
|
getText: (key: string) => string;
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
|
-
declare function UsageRules({ className, style, rules, personalLimit, locales }: UsageRulesProps): JSX.Element;
|
|
22
|
+
declare function UsageRules({ className, style, rules, personalLimit, locales }: UsageRulesProps): React.JSX.Element;
|
|
23
23
|
export default UsageRules;
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 钱包列表查询参数接口
|
|
3
|
+
*/
|
|
4
|
+
export interface IWalletListParmsProps {
|
|
5
|
+
tag?: string;
|
|
6
|
+
sales_status?: 1 | 0 | -1;
|
|
7
|
+
machine_search?: string;
|
|
8
|
+
createdDate?: string;
|
|
9
|
+
limit_status?: string;
|
|
10
|
+
relation_id?: string;
|
|
11
|
+
relation_type?: string;
|
|
12
|
+
customer_id?: number;
|
|
13
|
+
sort?: 'desc' | 'asc';
|
|
14
|
+
order_by?: string;
|
|
15
|
+
used_status?: string;
|
|
16
|
+
num?: number;
|
|
17
|
+
skip?: number;
|
|
18
|
+
with?: string[];
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* 钱包列表项属性接口
|
|
22
|
+
*/
|
|
23
|
+
export interface IWalletListItemProps {
|
|
24
|
+
id?: number | string;
|
|
25
|
+
encoded?: string;
|
|
26
|
+
code?: string;
|
|
27
|
+
limit_status?: string;
|
|
28
|
+
customer_id?: number;
|
|
29
|
+
generate_method?: 'not_settable' | 'before_order' | 'after_order';
|
|
30
|
+
created_at?: string;
|
|
31
|
+
product_id?: number;
|
|
32
|
+
sales_status?: 1 | 0;
|
|
33
|
+
tag?: string;
|
|
34
|
+
status?: string;
|
|
35
|
+
redeemed_at?: string;
|
|
36
|
+
collection_time?: string;
|
|
37
|
+
order_id?: number;
|
|
38
|
+
par_value?: string;
|
|
39
|
+
write_status?: number;
|
|
40
|
+
expire_date?: string;
|
|
41
|
+
balance?: string;
|
|
42
|
+
extension_id?: string;
|
|
43
|
+
product_title?: string;
|
|
44
|
+
product_cover?: string;
|
|
45
|
+
product?: IProductProps;
|
|
46
|
+
unified_available_status?: IUnifiedAvailableStatus;
|
|
47
|
+
shop: IShop;
|
|
48
|
+
unified_messages: any;
|
|
49
|
+
machinecode_config?: {
|
|
50
|
+
hide_recharge?: number;
|
|
51
|
+
};
|
|
52
|
+
metadata: {
|
|
53
|
+
validity_type: string;
|
|
54
|
+
};
|
|
55
|
+
custom_schedule_snapshot: {
|
|
56
|
+
data: any[];
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* 商店信息接口
|
|
61
|
+
*/
|
|
62
|
+
export interface IShop {
|
|
63
|
+
name: string;
|
|
64
|
+
id: number;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* 统一可用状态接口
|
|
68
|
+
*/
|
|
69
|
+
export interface IUnifiedAvailableStatus {
|
|
70
|
+
title?: string;
|
|
71
|
+
desc?: string;
|
|
72
|
+
alert?: string;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* 商品属性接口
|
|
76
|
+
*/
|
|
77
|
+
export interface IProductProps {
|
|
78
|
+
id?: number;
|
|
79
|
+
title?: string;
|
|
80
|
+
description?: string;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* API响应接口
|
|
84
|
+
*/
|
|
85
|
+
export interface ApiResponse<T> {
|
|
86
|
+
data: T;
|
|
87
|
+
code?: number;
|
|
88
|
+
message?: string;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* 错误处理函数类型
|
|
92
|
+
*/
|
|
93
|
+
export declare type ErrorCallback = () => void;
|
|
94
|
+
/**
|
|
95
|
+
* 获取钱包列表
|
|
96
|
+
* @param params 查询参数
|
|
97
|
+
* @returns Promise<{list: IWalletListItemProps[], count: number}> 钱包列表和总数
|
|
98
|
+
* @throws 请求失败时抛出错误
|
|
99
|
+
*/
|
|
100
|
+
export declare const getWalletList: (params?: IWalletListParmsProps) => Promise<{
|
|
101
|
+
list: IWalletListItemProps[];
|
|
102
|
+
count: number;
|
|
103
|
+
}>;
|
|
104
|
+
/**
|
|
105
|
+
* 通过code绑定客户
|
|
106
|
+
* @param params 请求参数,包含code
|
|
107
|
+
* @param errCallback 错误回调
|
|
108
|
+
* @returns Promise<any> 绑定结果
|
|
109
|
+
*/
|
|
110
|
+
export declare const customer: (params: {
|
|
111
|
+
code: string;
|
|
112
|
+
}, errCallback: ErrorCallback) => Promise<any>;
|
|
113
|
+
/**
|
|
114
|
+
* 用户根据code查询待绑定识别码列表
|
|
115
|
+
* @param params 请求参数,包含code和tag
|
|
116
|
+
* @param errCallback 错误回调函数
|
|
117
|
+
* @returns Promise<IWalletListItemProps[] | null> 未绑定的钱包卡列表
|
|
118
|
+
*/
|
|
119
|
+
export declare const unbindList: (params: {
|
|
120
|
+
code: string;
|
|
121
|
+
tag: string;
|
|
122
|
+
}, errCallback: ErrorCallback) => Promise<IWalletListItemProps[] | null>;
|
|
123
|
+
/**
|
|
124
|
+
* 下单请求参数接口
|
|
125
|
+
*/
|
|
126
|
+
export interface IOrderParams {
|
|
127
|
+
voucher_id: string;
|
|
128
|
+
product_id: string;
|
|
129
|
+
product_variant_id: string;
|
|
130
|
+
quantity: number;
|
|
131
|
+
type: string;
|
|
132
|
+
platform: string;
|
|
133
|
+
currency_code: {
|
|
134
|
+
currency_code: string;
|
|
135
|
+
currency_symbol: string;
|
|
136
|
+
currency_format: string;
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* 下单
|
|
141
|
+
* @param params 下单参数
|
|
142
|
+
* @returns Promise<any> 下单结果
|
|
143
|
+
* @throws 请求失败时抛出错误
|
|
144
|
+
*/
|
|
145
|
+
export declare const goOrder: (params: IOrderParams) => Promise<any>;
|
|
146
|
+
/**
|
|
147
|
+
* 设置请求对象
|
|
148
|
+
* @param req 请求对象
|
|
149
|
+
*/
|
|
150
|
+
export declare const setRequest: (req: any) => void;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
interface ScheduleTextResult {
|
|
2
|
+
validityTexts: string[];
|
|
3
|
+
excluded_date: string[];
|
|
4
|
+
included_date: string[];
|
|
5
|
+
}
|
|
6
|
+
declare type Locale = 'en' | 'zh-CN' | 'zh-HK';
|
|
7
|
+
interface ScheduleItem {
|
|
8
|
+
id: number;
|
|
9
|
+
name: string | {
|
|
10
|
+
[key: string]: string;
|
|
11
|
+
};
|
|
12
|
+
type: 'standard' | 'time-slots' | 'designation';
|
|
13
|
+
start_time: string | null;
|
|
14
|
+
end_time: string | null;
|
|
15
|
+
repeat_type: 'none' | 'daily' | 'weekly';
|
|
16
|
+
repeat_rule: {
|
|
17
|
+
end: {
|
|
18
|
+
type: 'never' | 'date' | 'occurrence';
|
|
19
|
+
end_date: string | null;
|
|
20
|
+
occurrence: number | null;
|
|
21
|
+
};
|
|
22
|
+
frequency: number;
|
|
23
|
+
excluded_date: Array<{
|
|
24
|
+
start: string;
|
|
25
|
+
end: string;
|
|
26
|
+
}>;
|
|
27
|
+
included_date: any[];
|
|
28
|
+
frequency_date: number[];
|
|
29
|
+
} | null;
|
|
30
|
+
designation: Array<{
|
|
31
|
+
start_date: string;
|
|
32
|
+
start_time: string;
|
|
33
|
+
end_date: string;
|
|
34
|
+
end_time: string;
|
|
35
|
+
}> | null;
|
|
36
|
+
is_all: number;
|
|
37
|
+
time_slot: Array<{
|
|
38
|
+
start_time: string;
|
|
39
|
+
end_time: string;
|
|
40
|
+
}>;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* 根据scheduleList格式化文案展示
|
|
44
|
+
* @param scheduleList 日程列表
|
|
45
|
+
* @returns 格式化后的文案结果数组,每个日程对应一个结果
|
|
46
|
+
*/
|
|
47
|
+
export declare function formatScheduleText(scheduleList: ScheduleItem[], locale?: Locale): ScheduleTextResult[];
|
|
48
|
+
export {};
|
|
@@ -2,5 +2,5 @@ import React from 'react';
|
|
|
2
2
|
import { State, WalletListContextType } from './types';
|
|
3
3
|
export declare const initialState: State;
|
|
4
4
|
export declare const Context: React.Context<WalletListContextType>;
|
|
5
|
-
export declare const Provider: (Component: React.ComponentType<any>) => (props: any) => JSX.Element;
|
|
5
|
+
export declare const Provider: (Component: React.ComponentType<any>) => (props: any) => React.JSX.Element;
|
|
6
6
|
export * from './types';
|