@pisell/private-materials 6.8.5 → 6.8.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/components/Sales/Cart/index.d.ts +53 -0
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/ConfirmInformation/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Content/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Date/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Header/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Services/index.d.ts +4 -0
- package/es/components/appointmentBooking/hooks.d.ts +107 -0
- package/es/components/appointmentBooking/index.d.ts +4 -0
- package/es/components/appointmentBooking/locales.d.ts +363 -0
- package/es/components/booking/addons/index.d.ts +17 -0
- package/es/components/booking/addons/model.d.ts +10 -1
- package/es/components/booking/components/footer/amount.d.ts +37 -0
- package/es/components/booking/components/reloadResourceModal/index.d.ts +9 -0
- package/es/components/booking/components/tabPane/index.d.ts +4 -0
- package/es/components/booking/components/voucherModal/index.d.ts +19 -0
- package/es/components/booking/dashboard/serve.d.ts +1 -0
- package/es/components/booking/deposit/ClientItem/index.d.ts +18 -0
- package/es/components/booking/deposit/DepositItem/index.d.ts +25 -0
- package/es/components/booking/deposit/index.d.ts +3 -0
- package/es/components/booking/editBookingModal/utils.d.ts +12 -0
- package/es/components/booking/forms/forms.d.ts +30 -0
- package/es/components/booking/forms/model.d.ts +10 -1
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +2 -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/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/es/components/booking/info/clientVariant/utils.d.ts +3 -0
- package/es/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
- package/es/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +10 -0
- package/es/components/booking/info/index.d.ts +4 -0
- package/es/components/booking/info/main.d.ts +12 -0
- package/es/components/booking/info/model.d.ts +14 -0
- package/es/components/booking/info/pet/serve.d.ts +1 -0
- package/es/components/booking/info/service/Lists.d.ts +3 -0
- package/es/components/booking/info/service/addService/index.d.ts +12 -0
- package/es/components/booking/info/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info/service/addTimeModal/index.d.ts +4 -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/serve.d.ts +20 -0
- package/es/components/booking/info/service/serviceList/index.d.ts +6 -0
- package/es/components/booking/info/service/serviceManager/index.d.ts +20 -0
- package/es/components/booking/info/service2/Group/utils.d.ts +14 -0
- package/es/components/booking/info/service2/Lists.d.ts +3 -0
- package/es/components/booking/info/service2/utils.d.ts +251 -0
- package/es/components/booking/info/utils.d.ts +50 -0
- package/es/components/booking/info2/cartClientCard/locales.d.ts +21 -0
- package/es/components/booking/info2/cartClientCard/types.d.ts +18 -0
- package/es/components/booking/info2/cartClientCard/utils.d.ts +3 -0
- package/es/components/booking/info2/serve.d.ts +6 -0
- package/es/components/booking/info2/service/addService/index.d.ts +12 -0
- package/es/components/booking/info2/service/addService/utils.d.ts +98 -0
- package/es/components/booking/info2/service/addTimeModal/index.d.ts +4 -0
- package/es/components/booking/info2/service/editNormalService/index.d.ts +3 -0
- package/es/components/booking/info2/service/editService/utils.d.ts +28 -0
- package/es/components/booking/info2/service/index.d.ts +4 -0
- package/es/components/booking/info2/service/serviceList/index.d.ts +6 -0
- package/es/components/booking/info2/utilsByBooking.d.ts +36 -0
- package/es/components/booking/locales.d.ts +921 -0
- package/es/components/booking/model.d.ts +120 -0
- package/es/components/booking/notes/addNote/index.d.ts +4 -0
- package/es/components/booking/notes/model.d.ts +10 -1
- package/es/components/booking/payments/model.d.ts +10 -1
- package/es/components/booking/utils.d.ts +174 -0
- package/es/components/checkout/PaymentProvider.d.ts +13 -0
- package/es/components/checkout/components/AdditionalModule/locales.d.ts +36 -0
- package/es/components/checkout/components/CashPaymentModule/index.d.ts +26 -0
- package/es/components/checkout/components/PaymentDetailModal/index.d.ts +38 -0
- 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/PaymentResultToast/types.d.ts +59 -0
- package/es/components/checkout/components/PaymentResultToast/utils.d.ts +44 -0
- package/es/components/checkout/components/ScrollableList/index.d.ts +5 -0
- package/es/components/checkout/components/ScrollableList/types.d.ts +53 -0
- package/es/components/checkout/components/SendPaymentLinkModal/index.d.ts +12 -0
- package/es/components/checkout/components/WalletPassModule/types.d.ts +134 -0
- package/es/components/checkout/constants.d.ts +2 -0
- package/es/components/checkout/export.d.ts +9 -0
- package/es/components/checkout/hooks/usePaymentLogger.d.ts +2 -0
- package/es/components/checkout/hooks/useWalletPass.d.ts +1 -1
- package/es/components/checkout/index.d.ts +5 -0
- package/es/components/checkout/locales.d.ts +513 -0
- package/es/components/checkout/payment-modal-utils.d.ts +30 -0
- package/es/components/checkout/styles.d.ts +67 -0
- package/es/components/checkout/types.d.ts +130 -0
- package/es/components/checkout/utils/PaymentResultToastUtils.d.ts +32 -0
- package/es/components/checkout/utils.d.ts +3 -0
- package/es/components/eftpos/hooks.d.ts +1 -0
- package/es/components/eftposPay/EFTPos.d.ts +14 -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 +4 -0
- package/es/components/eftposPay/component/fail/unknow.d.ts +10 -0
- package/es/components/eftposPay/const.d.ts +190 -0
- package/es/components/eftposPay/device.d.ts +25 -0
- package/es/components/eftposPay/hooks.d.ts +35 -0
- package/es/components/eftposPay/index.d.ts +5 -0
- package/es/components/eftposPay/linkly/index.d.ts +3 -0
- package/es/components/eftposPay/locales.d.ts +330 -0
- package/es/components/eftposPay/pay.d.ts +21 -0
- package/es/components/eftposPay/serve.d.ts +16 -0
- package/es/components/eftposPay/store/index.d.ts +1 -1
- package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/es/components/eftposPay/tyro/index.d.ts +9 -0
- package/es/components/eftposPay/windcave/helper.d.ts +23 -0
- package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Content/index.d.ts +4 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
- package/es/components/eventBooking/index.d.ts +4 -0
- package/es/components/index.d.ts +24 -0
- package/es/components/list/ResponsiveWrapper.d.ts +16 -0
- package/es/components/list/TestResponsiveWrapper.d.ts +8 -0
- package/es/components/list/components/EmptyState/index.d.ts +2 -0
- package/es/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +13 -0
- package/es/components/list/components/ListItemSkeleton/index.d.ts +2 -0
- package/es/components/list/components/Pagination/index.d.ts +1 -0
- package/es/components/list/components/ScrollLoader/ScrollLoader.d.ts +18 -0
- package/es/components/list/components/ScrollLoader/index.d.ts +2 -0
- package/es/components/list/components/Tab/Tab.d.ts +5 -0
- package/es/components/list/components/Tab/index.d.ts +2 -0
- package/es/components/list/components/Tab/types.d.ts +14 -0
- package/es/components/list/components/TabSkeleton/TabSkeleton.d.ts +11 -0
- package/es/components/list/components/TabSkeleton/index.d.ts +2 -0
- package/es/components/list/components/WaterfallList/WaterfallList.d.ts +33 -0
- package/es/components/list/components/WaterfallList/index.d.ts +2 -0
- package/es/components/list/examples/GroupedListExample.d.ts +3 -0
- package/es/components/list/hooks/index.d.ts +5 -0
- package/es/components/list/hooks/useDevice.d.ts +24 -0
- package/es/components/list/hooks/useWaterfall.d.ts +34 -0
- package/es/components/list/index.d.ts +10 -0
- package/es/components/list/locales.d.ts +66 -0
- package/es/components/list/types.d.ts +178 -0
- package/es/components/list/utils/getText.d.ts +53 -0
- package/es/components/list/utils/index.d.ts +19 -0
- package/es/components/pay/toB/components/CardGroup/index.d.ts +8 -0
- package/es/components/pay/toB/components/Content/Header.d.ts +5 -0
- package/es/components/pay/toB/components/Content/utils.d.ts +16 -0
- package/es/components/pay/toB/components/EFTPOS/index.d.ts +8 -0
- package/es/components/pay/toB/components/MX51/index.d.ts +3 -0
- package/es/components/pay/toB/components/index.d.ts +5 -0
- package/es/components/pay/toB/hooks.d.ts +12 -0
- package/es/components/pay/toB/index.d.ts +3 -0
- package/es/components/pay/toB/locales.d.ts +54 -0
- package/es/components/pay/toB/paymentMethods/index.d.ts +11 -0
- package/es/components/pay/toB/store/context.d.ts +3 -0
- package/es/components/pay/toB/store/hooks.d.ts +15 -0
- package/es/components/pay/toB/store/index.d.ts +3 -0
- package/es/components/pay/toB/store/provider.d.ts +4 -0
- package/es/components/pay/toB/store/utils.d.ts +13 -0
- package/es/components/pay/toB/types/index.d.ts +72 -0
- package/es/components/pay/toB/types/storeTypes.d.ts +143 -0
- package/es/components/pay/toC/PaymentList/serve.d.ts +28 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +7 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +3 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +3 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +4 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +155 -0
- package/es/components/pay/toC/PaymentMethods/index.d.ts +9 -0
- package/es/components/pay/toC/model.d.ts +40 -0
- package/es/components/pay/toC/serve.d.ts +62 -0
- package/es/components/pay/toC/utils.d.ts +57 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +3 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
- package/es/components/productSelect/components/productGroup/index.d.ts +39 -0
- package/es/components/ruleSetting/index.d.ts +10 -0
- package/es/components/ruleSetting/locales.d.ts +48 -0
- package/es/components/ruleSetting/server.d.ts +4 -0
- package/es/components/schedules/model.d.ts +9 -1
- package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
- package/es/components/shoppingCart/locales.d.ts +36 -0
- package/es/components/shoppingCart/type.d.ts +49 -0
- package/es/components/subTotal/locales.d.ts +42 -0
- package/es/components/systemSettings/registry/components/SectionList.d.ts +4 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/index.d.ts +7 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +115 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +83 -0
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +11 -0
- package/es/components/ticketBooking/components/addServiceVariant/utils.d.ts +8 -0
- package/es/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.d.ts +7 -0
- package/es/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +6 -0
- package/es/components/ticketBooking/components/bookingDataPanel/constants.d.ts +22 -0
- package/es/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
- package/es/components/ticketBooking/context/IsActiveContext.d.ts +26 -0
- package/es/components/ticketBooking/context/OsKeyContext.d.ts +26 -0
- package/es/components/ticketBooking/context/index.d.ts +2 -0
- package/es/components/ticketBooking/hooks/pisellos/bookingTicket.d.ts +6 -0
- package/es/components/ticketBooking/hooks/pisellos/index.d.ts +4 -0
- package/es/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +21 -0
- package/es/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +25 -0
- package/es/components/ticketBooking/hooks/pisellos/useProducts.d.ts +16 -0
- package/es/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +6 -0
- package/es/components/ticketBooking/hooks/pisellos/useShopDiscountModule.d.ts +6 -0
- package/es/components/ticketBooking/index.d.ts +16 -0
- package/es/components/ticketBooking/locales.d.ts +201 -0
- package/es/components/ticketBooking/serve.d.ts +288 -0
- package/es/components/ticketBooking/utils/index.d.ts +93 -0
- package/es/components/ticketBooking/utils/productCache.d.ts +75 -0
- package/es/components/wallet/Detail/locales.d.ts +153 -0
- package/es/components/wallet/Detail/model.d.ts +13 -0
- package/es/components/wallet/Detail/serve.d.ts +39 -0
- package/es/components/wallet/DetailContext.d.ts +25 -0
- package/es/components/wallet/DiscountCard/model.d.ts +14 -0
- package/es/components/wallet/PointCard/model.d.ts +13 -0
- package/es/components/wallet/RechargeableCard/model.d.ts +29 -0
- package/es/components/wallet/RechargeableCard/serve.d.ts +23 -0
- package/es/components/wallet/Voucher/locales.d.ts +21 -0
- package/es/components/wallet/Voucher/model.d.ts +13 -0
- package/es/components/wallet/components/FooterButtons/index.d.ts +18 -0
- package/es/components/wallet/components/index.d.ts +3 -0
- package/es/components/wallet/hooks/useWalletCard.d.ts +34 -0
- package/es/components/wallet/locales.d.ts +132 -0
- package/es/components/wallet/model.d.ts +37 -0
- package/es/components/wallet/serve.d.ts +150 -0
- package/es/components/wallet/utils/formatUtils.d.ts +36 -0
- package/es/components/walletList/locales.d.ts +18 -0
- package/es/components/walletList/serve.d.ts +24 -0
- package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
- package/es/components/workSpaceList/components/Card/constants.d.ts +2 -0
- package/es/components/workSpaceList/components/WorkspaceItem/index.d.ts +22 -0
- package/es/hooks/index.d.ts +10 -0
- package/es/hooks/printer.d.ts +4 -0
- package/es/hooks/useEngineContext.d.ts +4 -0
- package/es/hooks/useLogger.d.ts +2 -0
- package/es/hooks/useModal.example.d.ts +12 -0
- package/es/hooks/useModal.integration.example.d.ts +15 -0
- package/es/hooks/usePaymentLogger.d.ts +1 -0
- package/es/hooks/useToast.d.ts +2 -0
- package/es/hooks/useTranslationOriginal.d.ts +1 -0
- package/es/hooks/useWindowSize.d.ts +5 -0
- package/es/index.d.ts +77 -0
- package/es/plus/clientCard/locales.d.ts +18 -0
- package/es/plus/clientCard/types.d.ts +134 -0
- package/es/plus/clientCard/utils.d.ts +8 -0
- package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +3 -0
- package/es/plus/clinetSearch/Add/GenderField/index.d.ts +3 -0
- package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +3 -0
- package/es/plus/clinetSearch/Add/PhoneField/serve.d.ts +2 -0
- package/es/plus/clinetSearch/InfiniteScroll/InfiniteScroll.d.ts +5 -0
- package/es/plus/clinetSearch/InfiniteScroll/index.d.ts +2 -0
- package/es/plus/clinetSearch/InfiniteScroll/types.d.ts +46 -0
- package/es/plus/clinetSearch/index.d.ts +17 -0
- package/es/plus/clinetSearch/locales.d.ts +105 -0
- package/es/plus/clinetSearch/serve.d.ts +1 -0
- package/es/plus/clinetSearch/types.d.ts +61 -0
- package/es/plus/noteModal/locales.d.ts +33 -0
- package/es/plus/noteModal/types.d.ts +19 -0
- package/es/plus/productSelect/CategoryTabs/index.d.ts +21 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +4 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +4 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +4 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +4 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +4 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +8 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +7 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.js +3 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +7 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +7 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +7 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +7 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +7 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +7 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +4 -0
- package/es/plus/productSelect/ProductCard/SkuCard/index.d.ts +9 -0
- package/es/plus/productSelect/ProductCard/SkuCard/locales.d.ts +42 -0
- package/es/plus/productSelect/ProductCard/SkuCard/status.d.ts +162 -0
- package/es/plus/productSelect/ProductCard/SkuCard/type.d.ts +298 -0
- package/es/plus/productSelect/ProductCard/SkuCard/utils.d.ts +9 -0
- package/es/plus/productSelect/ProductCard/index.d.ts +47 -0
- package/es/plus/productSelect/ProductCard/index.js +2 -2
- package/es/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
- package/es/plus/productSelect/index.js +4 -1
- package/es/plus/productSelect/utils.d.ts +39 -0
- package/es/plus/walletEditor/locales.d.ts +126 -0
- package/es/plus/walletPassGallery/locales.d.ts +270 -0
- package/es/plus/walletPassGallery/serve.d.ts +221 -0
- package/es/plus/webPosLogin/WebPosLoginCpt.d.ts +9 -0
- package/es/plus/webPosLogin/components/BrandPanel/index.d.ts +9 -0
- package/es/plus/webPosLogin/components/LoginPanel/index.d.ts +21 -0
- package/es/plus/webPosLogin/components/MediaDisplay/type.d.ts +54 -0
- package/es/plus/webPosLogin/index.d.ts +12 -0
- package/es/plus/webPosLogin/locales.d.ts +49 -0
- package/es/plus/webPosLogin/service.d.ts +44 -0
- package/es/plus/webPosLogin/types.d.ts +286 -0
- package/es/pro/Login2.0/components/PhoneInput.d.ts +53 -0
- package/es/pro/Login2.0/shared/types.d.ts +232 -0
- package/es/pro/NumberKeyboardPopover/index.d.ts +36 -0
- package/es/pro/NumberKeyboardPopover/types.d.ts +31 -0
- package/es/pro/Selector/BatchSelectorDemo.d.ts +3 -0
- package/es/pro/Selector/Selector.d.ts +5 -0
- package/es/pro/Selector/SelectorGroup.d.ts +11 -0
- package/es/pro/Selector/components/Card/index.d.ts +27 -0
- package/es/pro/Selector/components/IntersectionObserver.d.ts +105 -0
- package/es/pro/Selector/components/NumericStepper/index.d.ts +41 -0
- package/es/pro/Selector/components/index.d.ts +2 -0
- package/es/pro/Selector/demo.d.ts +3 -0
- package/es/pro/Selector/hooks/useSelectionController.d.ts +42 -0
- package/es/pro/Selector/index.d.ts +8 -0
- package/es/pro/Selector/locales.d.ts +42 -0
- package/es/pro/Selector/types.d.ts +114 -0
- package/es/pro/Selector/utils/index.d.ts +49 -0
- package/es/pro/comprehensiveSearch/components/index.d.ts +2 -0
- package/es/pro/comprehensiveSearch/components/searchSection/locales.d.ts +15 -0
- package/es/pro/comprehensiveSearch/hooks/useNativeScanner.d.ts +5 -0
- package/es/pro/comprehensiveSearch/hooks/useTerminalPeripherals.d.ts +9 -0
- package/es/pro/comprehensiveSearch/locales.d.ts +15 -0
- package/es/pro/comprehensiveSearch/types.d.ts +32 -0
- package/es/pro/numberKeyboard/locales.d.ts +12 -0
- package/es/pro/pisellNumberSelector/example.d.ts +3 -0
- package/es/pro/pisellPhoneKeyboard/locales.d.ts +12 -0
- package/es/pro/pisellPriceKeyboardModal/index.d.ts +2 -0
- package/es/pro/pisellPriceKeyboardModal/types.d.ts +25 -0
- package/es/pro/pisellPriceKeyboardPopover/PisellPriceKeyboardPopover.d.ts +5 -0
- package/es/pro/pisellPriceKeyboardPopover/index.d.ts +2 -0
- package/es/pro/pisellPriceKeyboardPopover/types.d.ts +33 -0
- package/es/pro/pisellSimplePriceKeyboardPopover/index.d.ts +2 -0
- package/es/pro/pisellSimplePriceKeyboardPopover/types.d.ts +33 -0
- package/es/pro/priceKeyboard/components/cashKeyboard/index.d.ts +13 -0
- package/es/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +39 -0
- package/es/pro/priceKeyboard/components/cashKeyboard/types.d.ts +98 -0
- package/es/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +42 -0
- package/es/pro/priceKeyboard/components/discountKeyboard/types.d.ts +17 -0
- package/es/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +45 -0
- package/es/pro/priceKeyboard/components/paymentKeyboard/types.d.ts +39 -0
- package/es/pro/priceKeyboard/components/shortcuts/index.d.ts +18 -0
- package/es/pro/priceKeyboard/hooks/keyActions.d.ts +28 -0
- package/es/pro/priceKeyboard/index.d.ts +3 -0
- package/es/pro/priceKeyboard/utils.d.ts +31 -0
- package/es/pro/skuDetailModal/locales.d.ts +48 -0
- package/es/pro/skuDetailModal/types.d.ts +347 -0
- package/lib/components/Sales/Cart/index.d.ts +53 -0
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/ConfirmInformation/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Content/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Date/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Header/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Services/index.d.ts +4 -0
- package/lib/components/appointmentBooking/hooks.d.ts +107 -0
- package/lib/components/appointmentBooking/index.d.ts +4 -0
- package/lib/components/appointmentBooking/locales.d.ts +363 -0
- package/lib/components/booking/addons/index.d.ts +17 -0
- package/lib/components/booking/addons/model.d.ts +10 -1
- package/lib/components/booking/components/footer/amount.d.ts +37 -0
- package/lib/components/booking/components/reloadResourceModal/index.d.ts +9 -0
- package/lib/components/booking/components/tabPane/index.d.ts +4 -0
- package/lib/components/booking/components/voucherModal/index.d.ts +19 -0
- package/lib/components/booking/dashboard/serve.d.ts +1 -0
- package/lib/components/booking/deposit/ClientItem/index.d.ts +18 -0
- package/lib/components/booking/deposit/DepositItem/index.d.ts +25 -0
- package/lib/components/booking/deposit/index.d.ts +3 -0
- package/lib/components/booking/editBookingModal/utils.d.ts +12 -0
- package/lib/components/booking/forms/forms.d.ts +30 -0
- package/lib/components/booking/forms/model.d.ts +10 -1
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +2 -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/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/lib/components/booking/info/clientVariant/utils.d.ts +3 -0
- package/lib/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
- package/lib/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +10 -0
- package/lib/components/booking/info/index.d.ts +4 -0
- package/lib/components/booking/info/main.d.ts +12 -0
- package/lib/components/booking/info/model.d.ts +14 -0
- package/lib/components/booking/info/pet/serve.d.ts +1 -0
- package/lib/components/booking/info/service/Lists.d.ts +3 -0
- package/lib/components/booking/info/service/addService/index.d.ts +12 -0
- package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info/service/addTimeModal/index.d.ts +4 -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/serve.d.ts +20 -0
- package/lib/components/booking/info/service/serviceList/index.d.ts +6 -0
- package/lib/components/booking/info/service/serviceManager/index.d.ts +20 -0
- package/lib/components/booking/info/service2/Group/utils.d.ts +14 -0
- package/lib/components/booking/info/service2/Lists.d.ts +3 -0
- package/lib/components/booking/info/service2/utils.d.ts +251 -0
- package/lib/components/booking/info/utils.d.ts +50 -0
- package/lib/components/booking/info2/cartClientCard/locales.d.ts +21 -0
- package/lib/components/booking/info2/cartClientCard/types.d.ts +18 -0
- package/lib/components/booking/info2/cartClientCard/utils.d.ts +3 -0
- package/lib/components/booking/info2/serve.d.ts +6 -0
- package/lib/components/booking/info2/service/addService/index.d.ts +12 -0
- package/lib/components/booking/info2/service/addService/utils.d.ts +98 -0
- package/lib/components/booking/info2/service/addTimeModal/index.d.ts +4 -0
- package/lib/components/booking/info2/service/editNormalService/index.d.ts +3 -0
- package/lib/components/booking/info2/service/editService/utils.d.ts +28 -0
- package/lib/components/booking/info2/service/index.d.ts +4 -0
- package/lib/components/booking/info2/service/serviceList/index.d.ts +6 -0
- package/lib/components/booking/info2/utilsByBooking.d.ts +36 -0
- package/lib/components/booking/locales.d.ts +921 -0
- package/lib/components/booking/model.d.ts +120 -0
- package/lib/components/booking/notes/addNote/index.d.ts +4 -0
- package/lib/components/booking/notes/model.d.ts +10 -1
- package/lib/components/booking/payments/model.d.ts +10 -1
- package/lib/components/booking/utils.d.ts +174 -0
- package/lib/components/checkout/PaymentProvider.d.ts +13 -0
- package/lib/components/checkout/components/AdditionalModule/locales.d.ts +36 -0
- package/lib/components/checkout/components/CashPaymentModule/index.d.ts +26 -0
- package/lib/components/checkout/components/PaymentDetailModal/index.d.ts +38 -0
- 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/PaymentResultToast/types.d.ts +59 -0
- package/lib/components/checkout/components/PaymentResultToast/utils.d.ts +44 -0
- package/lib/components/checkout/components/ScrollableList/index.d.ts +5 -0
- package/lib/components/checkout/components/ScrollableList/types.d.ts +53 -0
- package/lib/components/checkout/components/SendPaymentLinkModal/index.d.ts +12 -0
- package/lib/components/checkout/components/WalletPassModule/types.d.ts +134 -0
- package/lib/components/checkout/constants.d.ts +2 -0
- package/lib/components/checkout/export.d.ts +9 -0
- package/lib/components/checkout/hooks/usePaymentLogger.d.ts +2 -0
- package/lib/components/checkout/hooks/useWalletPass.d.ts +1 -1
- package/lib/components/checkout/index.d.ts +5 -0
- package/lib/components/checkout/locales.d.ts +513 -0
- package/lib/components/checkout/payment-modal-utils.d.ts +30 -0
- package/lib/components/checkout/styles.d.ts +67 -0
- package/lib/components/checkout/types.d.ts +130 -0
- package/lib/components/checkout/utils/PaymentResultToastUtils.d.ts +32 -0
- package/lib/components/checkout/utils.d.ts +3 -0
- package/lib/components/eftpos/hooks.d.ts +1 -0
- package/lib/components/eftposPay/EFTPos.d.ts +14 -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 +4 -0
- package/lib/components/eftposPay/component/fail/unknow.d.ts +10 -0
- package/lib/components/eftposPay/const.d.ts +190 -0
- package/lib/components/eftposPay/device.d.ts +25 -0
- package/lib/components/eftposPay/hooks.d.ts +35 -0
- package/lib/components/eftposPay/index.d.ts +5 -0
- package/lib/components/eftposPay/linkly/index.d.ts +3 -0
- package/lib/components/eftposPay/locales.d.ts +330 -0
- package/lib/components/eftposPay/pay.d.ts +21 -0
- package/lib/components/eftposPay/serve.d.ts +16 -0
- package/lib/components/eftposPay/store/index.d.ts +1 -1
- package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/lib/components/eftposPay/tyro/index.d.ts +9 -0
- package/lib/components/eftposPay/windcave/helper.d.ts +23 -0
- package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Content/index.d.ts +4 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
- package/lib/components/eventBooking/index.d.ts +4 -0
- package/lib/components/index.d.ts +24 -0
- package/lib/components/list/ResponsiveWrapper.d.ts +16 -0
- package/lib/components/list/TestResponsiveWrapper.d.ts +8 -0
- package/lib/components/list/components/EmptyState/index.d.ts +2 -0
- package/lib/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +13 -0
- package/lib/components/list/components/ListItemSkeleton/index.d.ts +2 -0
- package/lib/components/list/components/Pagination/index.d.ts +1 -0
- package/lib/components/list/components/ScrollLoader/ScrollLoader.d.ts +18 -0
- package/lib/components/list/components/ScrollLoader/index.d.ts +2 -0
- package/lib/components/list/components/Tab/Tab.d.ts +5 -0
- package/lib/components/list/components/Tab/index.d.ts +2 -0
- package/lib/components/list/components/Tab/types.d.ts +14 -0
- package/lib/components/list/components/TabSkeleton/TabSkeleton.d.ts +11 -0
- package/lib/components/list/components/TabSkeleton/index.d.ts +2 -0
- package/lib/components/list/components/WaterfallList/WaterfallList.d.ts +33 -0
- package/lib/components/list/components/WaterfallList/index.d.ts +2 -0
- package/lib/components/list/examples/GroupedListExample.d.ts +3 -0
- package/lib/components/list/hooks/index.d.ts +5 -0
- package/lib/components/list/hooks/useDevice.d.ts +24 -0
- package/lib/components/list/hooks/useWaterfall.d.ts +34 -0
- package/lib/components/list/index.d.ts +10 -0
- package/lib/components/list/locales.d.ts +66 -0
- package/lib/components/list/types.d.ts +178 -0
- package/lib/components/list/utils/getText.d.ts +53 -0
- package/lib/components/list/utils/index.d.ts +19 -0
- package/lib/components/pay/toB/components/CardGroup/index.d.ts +8 -0
- package/lib/components/pay/toB/components/Content/Header.d.ts +5 -0
- package/lib/components/pay/toB/components/Content/utils.d.ts +16 -0
- package/lib/components/pay/toB/components/EFTPOS/index.d.ts +8 -0
- package/lib/components/pay/toB/components/MX51/index.d.ts +3 -0
- package/lib/components/pay/toB/components/index.d.ts +5 -0
- package/lib/components/pay/toB/hooks.d.ts +12 -0
- package/lib/components/pay/toB/index.d.ts +3 -0
- package/lib/components/pay/toB/locales.d.ts +54 -0
- package/lib/components/pay/toB/paymentMethods/index.d.ts +11 -0
- package/lib/components/pay/toB/store/context.d.ts +3 -0
- package/lib/components/pay/toB/store/hooks.d.ts +15 -0
- package/lib/components/pay/toB/store/index.d.ts +3 -0
- package/lib/components/pay/toB/store/provider.d.ts +4 -0
- package/lib/components/pay/toB/store/utils.d.ts +13 -0
- package/lib/components/pay/toB/types/index.d.ts +72 -0
- package/lib/components/pay/toB/types/storeTypes.d.ts +143 -0
- package/lib/components/pay/toC/PaymentList/serve.d.ts +28 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +7 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +3 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +3 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +4 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +155 -0
- package/lib/components/pay/toC/PaymentMethods/index.d.ts +9 -0
- package/lib/components/pay/toC/model.d.ts +40 -0
- package/lib/components/pay/toC/serve.d.ts +62 -0
- package/lib/components/pay/toC/utils.d.ts +57 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +3 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
- package/lib/components/productSelect/components/productGroup/index.d.ts +39 -0
- package/lib/components/ruleSetting/index.d.ts +10 -0
- package/lib/components/ruleSetting/locales.d.ts +48 -0
- package/lib/components/ruleSetting/server.d.ts +4 -0
- package/lib/components/schedules/model.d.ts +9 -1
- package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
- package/lib/components/shoppingCart/locales.d.ts +36 -0
- package/lib/components/shoppingCart/type.d.ts +49 -0
- package/lib/components/subTotal/locales.d.ts +42 -0
- package/lib/components/systemSettings/registry/components/SectionList.d.ts +4 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/index.d.ts +7 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +115 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +83 -0
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +11 -0
- package/lib/components/ticketBooking/components/addServiceVariant/utils.d.ts +8 -0
- package/lib/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.d.ts +7 -0
- package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +6 -0
- package/lib/components/ticketBooking/components/bookingDataPanel/constants.d.ts +22 -0
- package/lib/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
- package/lib/components/ticketBooking/context/IsActiveContext.d.ts +26 -0
- package/lib/components/ticketBooking/context/OsKeyContext.d.ts +26 -0
- package/lib/components/ticketBooking/context/index.d.ts +2 -0
- package/lib/components/ticketBooking/hooks/pisellos/bookingTicket.d.ts +6 -0
- package/lib/components/ticketBooking/hooks/pisellos/index.d.ts +4 -0
- package/lib/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +21 -0
- package/lib/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +25 -0
- package/lib/components/ticketBooking/hooks/pisellos/useProducts.d.ts +16 -0
- package/lib/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +6 -0
- package/lib/components/ticketBooking/hooks/pisellos/useShopDiscountModule.d.ts +6 -0
- package/lib/components/ticketBooking/index.d.ts +16 -0
- package/lib/components/ticketBooking/locales.d.ts +201 -0
- package/lib/components/ticketBooking/serve.d.ts +288 -0
- package/lib/components/ticketBooking/utils/index.d.ts +93 -0
- package/lib/components/ticketBooking/utils/productCache.d.ts +75 -0
- package/lib/components/wallet/Detail/locales.d.ts +153 -0
- package/lib/components/wallet/Detail/model.d.ts +13 -0
- package/lib/components/wallet/Detail/serve.d.ts +39 -0
- package/lib/components/wallet/DetailContext.d.ts +25 -0
- package/lib/components/wallet/DiscountCard/model.d.ts +14 -0
- package/lib/components/wallet/PointCard/model.d.ts +13 -0
- package/lib/components/wallet/RechargeableCard/model.d.ts +29 -0
- package/lib/components/wallet/RechargeableCard/serve.d.ts +23 -0
- package/lib/components/wallet/Voucher/locales.d.ts +21 -0
- package/lib/components/wallet/Voucher/model.d.ts +13 -0
- package/lib/components/wallet/components/FooterButtons/index.d.ts +18 -0
- package/lib/components/wallet/components/index.d.ts +3 -0
- package/lib/components/wallet/hooks/useWalletCard.d.ts +34 -0
- package/lib/components/wallet/locales.d.ts +132 -0
- package/lib/components/wallet/model.d.ts +37 -0
- package/lib/components/wallet/serve.d.ts +150 -0
- package/lib/components/wallet/utils/formatUtils.d.ts +36 -0
- package/lib/components/walletList/locales.d.ts +18 -0
- package/lib/components/walletList/serve.d.ts +24 -0
- package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
- package/lib/components/workSpaceList/components/Card/constants.d.ts +2 -0
- package/lib/components/workSpaceList/components/WorkspaceItem/index.d.ts +22 -0
- package/lib/hooks/index.d.ts +10 -0
- package/lib/hooks/printer.d.ts +4 -0
- package/lib/hooks/useEngineContext.d.ts +4 -0
- package/lib/hooks/useLogger.d.ts +2 -0
- package/lib/hooks/useModal.example.d.ts +12 -0
- package/lib/hooks/useModal.integration.example.d.ts +15 -0
- package/lib/hooks/usePaymentLogger.d.ts +1 -0
- package/lib/hooks/useToast.d.ts +2 -0
- package/lib/hooks/useTranslationOriginal.d.ts +1 -0
- package/lib/hooks/useWindowSize.d.ts +5 -0
- package/lib/index.d.ts +77 -0
- package/lib/plus/clientCard/locales.d.ts +18 -0
- package/lib/plus/clientCard/types.d.ts +134 -0
- package/lib/plus/clientCard/utils.d.ts +8 -0
- package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +3 -0
- package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +3 -0
- package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +3 -0
- package/lib/plus/clinetSearch/Add/PhoneField/serve.d.ts +2 -0
- package/lib/plus/clinetSearch/InfiniteScroll/InfiniteScroll.d.ts +5 -0
- package/lib/plus/clinetSearch/InfiniteScroll/index.d.ts +2 -0
- package/lib/plus/clinetSearch/InfiniteScroll/types.d.ts +46 -0
- package/lib/plus/clinetSearch/index.d.ts +17 -0
- package/lib/plus/clinetSearch/locales.d.ts +105 -0
- package/lib/plus/clinetSearch/serve.d.ts +1 -0
- package/lib/plus/clinetSearch/types.d.ts +61 -0
- package/lib/plus/noteModal/locales.d.ts +33 -0
- package/lib/plus/noteModal/types.d.ts +19 -0
- package/lib/plus/productSelect/CategoryTabs/index.d.ts +21 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +4 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +4 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +4 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +4 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +4 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +8 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +7 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.js +3 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +7 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +7 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +7 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +7 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +7 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +7 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +4 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/index.d.ts +9 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/locales.d.ts +42 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/status.d.ts +162 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/type.d.ts +298 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/utils.d.ts +9 -0
- package/lib/plus/productSelect/ProductCard/index.d.ts +47 -0
- package/lib/plus/productSelect/ProductCard/index.js +2 -2
- package/lib/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
- package/lib/plus/productSelect/index.js +2 -1
- package/lib/plus/productSelect/utils.d.ts +39 -0
- package/lib/plus/walletEditor/locales.d.ts +126 -0
- package/lib/plus/walletPassGallery/locales.d.ts +270 -0
- package/lib/plus/walletPassGallery/serve.d.ts +221 -0
- package/lib/plus/webPosLogin/WebPosLoginCpt.d.ts +9 -0
- package/lib/plus/webPosLogin/components/BrandPanel/index.d.ts +9 -0
- package/lib/plus/webPosLogin/components/LoginPanel/index.d.ts +21 -0
- package/lib/plus/webPosLogin/components/MediaDisplay/type.d.ts +54 -0
- package/lib/plus/webPosLogin/index.d.ts +12 -0
- package/lib/plus/webPosLogin/locales.d.ts +49 -0
- package/lib/plus/webPosLogin/service.d.ts +44 -0
- package/lib/plus/webPosLogin/types.d.ts +286 -0
- package/lib/pro/Login2.0/components/PhoneInput.d.ts +53 -0
- package/lib/pro/Login2.0/shared/types.d.ts +232 -0
- package/lib/pro/NumberKeyboardPopover/index.d.ts +36 -0
- package/lib/pro/NumberKeyboardPopover/types.d.ts +31 -0
- package/lib/pro/Selector/BatchSelectorDemo.d.ts +3 -0
- package/lib/pro/Selector/Selector.d.ts +5 -0
- package/lib/pro/Selector/SelectorGroup.d.ts +11 -0
- package/lib/pro/Selector/components/Card/index.d.ts +27 -0
- package/lib/pro/Selector/components/IntersectionObserver.d.ts +105 -0
- package/lib/pro/Selector/components/NumericStepper/index.d.ts +41 -0
- package/lib/pro/Selector/components/index.d.ts +2 -0
- package/lib/pro/Selector/demo.d.ts +3 -0
- package/lib/pro/Selector/hooks/useSelectionController.d.ts +42 -0
- package/lib/pro/Selector/index.d.ts +8 -0
- package/lib/pro/Selector/locales.d.ts +42 -0
- package/lib/pro/Selector/types.d.ts +114 -0
- package/lib/pro/Selector/utils/index.d.ts +49 -0
- package/lib/pro/comprehensiveSearch/components/index.d.ts +2 -0
- package/lib/pro/comprehensiveSearch/components/searchSection/locales.d.ts +15 -0
- package/lib/pro/comprehensiveSearch/hooks/useNativeScanner.d.ts +5 -0
- package/lib/pro/comprehensiveSearch/hooks/useTerminalPeripherals.d.ts +9 -0
- package/lib/pro/comprehensiveSearch/locales.d.ts +15 -0
- package/lib/pro/comprehensiveSearch/types.d.ts +32 -0
- package/lib/pro/numberKeyboard/locales.d.ts +12 -0
- package/lib/pro/pisellNumberSelector/example.d.ts +3 -0
- package/lib/pro/pisellPhoneKeyboard/locales.d.ts +12 -0
- package/lib/pro/pisellPriceKeyboardModal/index.d.ts +2 -0
- package/lib/pro/pisellPriceKeyboardModal/types.d.ts +25 -0
- package/lib/pro/pisellPriceKeyboardPopover/PisellPriceKeyboardPopover.d.ts +5 -0
- package/lib/pro/pisellPriceKeyboardPopover/index.d.ts +2 -0
- package/lib/pro/pisellPriceKeyboardPopover/types.d.ts +33 -0
- package/lib/pro/pisellSimplePriceKeyboardPopover/index.d.ts +2 -0
- package/lib/pro/pisellSimplePriceKeyboardPopover/types.d.ts +33 -0
- package/lib/pro/priceKeyboard/components/cashKeyboard/index.d.ts +13 -0
- package/lib/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +39 -0
- package/lib/pro/priceKeyboard/components/cashKeyboard/types.d.ts +98 -0
- package/lib/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +42 -0
- package/lib/pro/priceKeyboard/components/discountKeyboard/types.d.ts +17 -0
- package/lib/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +45 -0
- package/lib/pro/priceKeyboard/components/paymentKeyboard/types.d.ts +39 -0
- package/lib/pro/priceKeyboard/components/shortcuts/index.d.ts +18 -0
- package/lib/pro/priceKeyboard/hooks/keyActions.d.ts +28 -0
- package/lib/pro/priceKeyboard/index.d.ts +3 -0
- package/lib/pro/priceKeyboard/utils.d.ts +31 -0
- package/lib/pro/skuDetailModal/locales.d.ts +48 -0
- package/lib/pro/skuDetailModal/types.d.ts +347 -0
- package/package.json +4 -4
|
@@ -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;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface RechargeState {
|
|
3
|
+
addWalletCard: any;
|
|
4
|
+
}
|
|
5
|
+
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
6
|
+
walletDetailState: RechargeState;
|
|
7
|
+
} & {
|
|
8
|
+
dispatch: (params: {
|
|
9
|
+
type: string;
|
|
10
|
+
payload: any;
|
|
11
|
+
}) => void;
|
|
12
|
+
}>;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
interface IAssetListProps {
|
|
2
|
+
skip?: string;
|
|
3
|
+
num?: string;
|
|
4
|
+
card_id?: string;
|
|
5
|
+
sourceType?: string;
|
|
6
|
+
business_object?: string;
|
|
7
|
+
tag?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface IAssetItem {
|
|
10
|
+
id?: string;
|
|
11
|
+
tag?: 'gift_card' | 'product_voucher' | 'point_card' | 'product_discount_card';
|
|
12
|
+
shop_id?: string;
|
|
13
|
+
transaction_id?: string;
|
|
14
|
+
title?: string;
|
|
15
|
+
created_at?: string;
|
|
16
|
+
amount?: string;
|
|
17
|
+
balance?: string;
|
|
18
|
+
currency_symbol?: string;
|
|
19
|
+
action?: 'recharge' | 'order_expend' | 'order_refund' | 'expire';
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* 资产明细列表
|
|
23
|
+
* @param params 接口请求参数
|
|
24
|
+
* @returns 资产明细列表
|
|
25
|
+
*/
|
|
26
|
+
export declare const getAssetList: (params: IAssetListProps) => Promise<{
|
|
27
|
+
list: IAssetItem[];
|
|
28
|
+
}>;
|
|
29
|
+
/**
|
|
30
|
+
* 获取资产详情
|
|
31
|
+
* @param params 接口请求参数
|
|
32
|
+
* @returns 资产详情
|
|
33
|
+
*/
|
|
34
|
+
export declare const getDetailApi: (params: {
|
|
35
|
+
id: string;
|
|
36
|
+
}) => Promise<{
|
|
37
|
+
data: any;
|
|
38
|
+
}>;
|
|
39
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
export interface DetailContextType {
|
|
3
|
+
openDetail: (detail: any) => void;
|
|
4
|
+
closeDetail: () => void;
|
|
5
|
+
addWalletCard: () => void;
|
|
6
|
+
setShowModal: (show: boolean) => void;
|
|
7
|
+
renderDetail: (detail: any) => React.ReactNode;
|
|
8
|
+
currentDetail: any;
|
|
9
|
+
isOpen: boolean;
|
|
10
|
+
isInitialized: boolean;
|
|
11
|
+
}
|
|
12
|
+
export interface DetailProviderProps {
|
|
13
|
+
children: ReactNode;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* 详情提供者组件
|
|
17
|
+
* 管理钱包详情的显示状态和数据
|
|
18
|
+
*/
|
|
19
|
+
export declare const DetailProvider: React.FC<DetailProviderProps>;
|
|
20
|
+
/**
|
|
21
|
+
* 使用详情上下文的钩子
|
|
22
|
+
* @returns DetailContext上下文值
|
|
23
|
+
* @throws 如果不在DetailProvider内部使用,将抛出错误
|
|
24
|
+
*/
|
|
25
|
+
export declare const useDetail: () => DetailContextType;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface RechargeState {
|
|
3
|
+
total: number;
|
|
4
|
+
setup?: 'menu' | 'list' | 'detail' | string;
|
|
5
|
+
}
|
|
6
|
+
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
7
|
+
state: RechargeState;
|
|
8
|
+
} & {
|
|
9
|
+
dispatch: (params: {
|
|
10
|
+
type: string;
|
|
11
|
+
payload: any;
|
|
12
|
+
}) => void;
|
|
13
|
+
}>;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface RechargeState {
|
|
3
|
+
total: number;
|
|
4
|
+
}
|
|
5
|
+
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
6
|
+
state: RechargeState;
|
|
7
|
+
} & {
|
|
8
|
+
dispatch: (params: {
|
|
9
|
+
type: string;
|
|
10
|
+
payload: any;
|
|
11
|
+
}) => void;
|
|
12
|
+
}>;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface RechargeState {
|
|
3
|
+
selectedGiftOptionId: string | null;
|
|
4
|
+
cardList: Array<{
|
|
5
|
+
id: string;
|
|
6
|
+
name: string;
|
|
7
|
+
price: number;
|
|
8
|
+
}>;
|
|
9
|
+
selectedItem: {
|
|
10
|
+
id?: string;
|
|
11
|
+
gift_price?: number;
|
|
12
|
+
price?: number;
|
|
13
|
+
name?: string;
|
|
14
|
+
variant_id?: string;
|
|
15
|
+
};
|
|
16
|
+
productId?: string;
|
|
17
|
+
detailId?: string;
|
|
18
|
+
total: string | number;
|
|
19
|
+
rechargeModalOpen: boolean;
|
|
20
|
+
}
|
|
21
|
+
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
22
|
+
state: RechargeState;
|
|
23
|
+
} & {
|
|
24
|
+
dispatch: (params: {
|
|
25
|
+
type: string;
|
|
26
|
+
payload: any;
|
|
27
|
+
}) => void;
|
|
28
|
+
}>;
|
|
29
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
interface OrderParams {
|
|
2
|
+
voucher_id: string;
|
|
3
|
+
product_id: string;
|
|
4
|
+
product_variant_id: string;
|
|
5
|
+
quantity: number;
|
|
6
|
+
type: string;
|
|
7
|
+
platform: string;
|
|
8
|
+
currency_code: {
|
|
9
|
+
currency_code: string;
|
|
10
|
+
currency_symbol: string;
|
|
11
|
+
currency_format: string;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
interface OrderResponse {
|
|
15
|
+
order_id: string;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* 下单接口
|
|
19
|
+
* @param params - 订单参数
|
|
20
|
+
* @returns 订单响应数据
|
|
21
|
+
*/
|
|
22
|
+
export declare const goOrder: (params: OrderParams) => Promise<OrderResponse>;
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'page.wallet.rechargeOptions': string;
|
|
4
|
+
'page.wallet.available': string;
|
|
5
|
+
'page.wallet.unavailable': string;
|
|
6
|
+
'page.wallet.recharge': string;
|
|
7
|
+
};
|
|
8
|
+
'zh-CN': {
|
|
9
|
+
'page.wallet.rechargeOptions': string;
|
|
10
|
+
'page.wallet.available': string;
|
|
11
|
+
'page.wallet.unavailable': string;
|
|
12
|
+
'page.wallet.recharge': string;
|
|
13
|
+
};
|
|
14
|
+
'zh-HK': {
|
|
15
|
+
'page.wallet.rechargeOptions': string;
|
|
16
|
+
'page.wallet.available': string;
|
|
17
|
+
'page.wallet.unavailable': string;
|
|
18
|
+
'page.wallet.recharge': string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface RechargeState {
|
|
3
|
+
total: 0;
|
|
4
|
+
}
|
|
5
|
+
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
6
|
+
state: RechargeState;
|
|
7
|
+
} & {
|
|
8
|
+
dispatch: (params: {
|
|
9
|
+
type: string;
|
|
10
|
+
payload: any;
|
|
11
|
+
}) => void;
|
|
12
|
+
}>;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
export interface FooterButtonsProps {
|
|
4
|
+
step: string;
|
|
5
|
+
onAppleWalletClick?: () => void;
|
|
6
|
+
onRechargeClick?: () => void;
|
|
7
|
+
onAddClick?: () => void;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
platform?: 'pc' | 'h5';
|
|
10
|
+
isIOS?: boolean;
|
|
11
|
+
addWalletLoading?: boolean;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* 通用底部按钮组件
|
|
15
|
+
* 根据step不同显示不同的按钮组
|
|
16
|
+
*/
|
|
17
|
+
declare const FooterButtons: React.FC<FooterButtonsProps>;
|
|
18
|
+
export default FooterButtons;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IWalletListItemProps } from '../serve';
|
|
3
|
+
/**
|
|
4
|
+
* 钱包卡片Hook的参数
|
|
5
|
+
*/
|
|
6
|
+
export interface UseWalletCardParams {
|
|
7
|
+
globalState: any;
|
|
8
|
+
setGlobalState: (state: any) => void;
|
|
9
|
+
walletContext: any;
|
|
10
|
+
cardList: IWalletListItemProps[];
|
|
11
|
+
cardType: string;
|
|
12
|
+
isDiscountCard?: boolean;
|
|
13
|
+
valueField?: string;
|
|
14
|
+
setupValue?: 'menu' | 'list' | 'detail';
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* 钱包卡片Hook
|
|
18
|
+
* 封装了钱包卡片组件的通用逻辑
|
|
19
|
+
*/
|
|
20
|
+
export declare function useWalletCard({ globalState, setGlobalState, walletContext, cardList, cardType, isDiscountCard, valueField, setupValue }: UseWalletCardParams): {
|
|
21
|
+
platform: string;
|
|
22
|
+
currentId: any;
|
|
23
|
+
currentDetail: any;
|
|
24
|
+
isEmpty: boolean;
|
|
25
|
+
state: any;
|
|
26
|
+
dispatch: any;
|
|
27
|
+
handleRowClick: (detail: IWalletListItemProps) => void;
|
|
28
|
+
renderCardDetail: () => import("react").ReactNode;
|
|
29
|
+
formatData: () => {
|
|
30
|
+
title: any;
|
|
31
|
+
dataSource: IWalletListItemProps[];
|
|
32
|
+
}[];
|
|
33
|
+
};
|
|
34
|
+
export default useWalletCard;
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'page.wallet.rechargeableCard': string;
|
|
4
|
+
'page.wallet.voucher': string;
|
|
5
|
+
'page.wallet.pointCard': string;
|
|
6
|
+
'page.wallet.discountCard': string;
|
|
7
|
+
'page.wallet.unavailable': string;
|
|
8
|
+
'page.wallet.available': string;
|
|
9
|
+
'page.wallet.confirm': string;
|
|
10
|
+
'page.wallet.addModalTitle': string;
|
|
11
|
+
'page.wallet.searchDescribe': string;
|
|
12
|
+
'page.wallet.scanBarQrCode': string;
|
|
13
|
+
'page.wallet.enterCodes': string;
|
|
14
|
+
'page.wallet.add': string;
|
|
15
|
+
'page.wallet.rechargeOptions': string;
|
|
16
|
+
'page.wallet.recharge': string;
|
|
17
|
+
'page.wallet.wallet': string;
|
|
18
|
+
'page.wallet.details': string;
|
|
19
|
+
'page.wallet.cardBalance': string;
|
|
20
|
+
'page.wallet.voucherBalance': string;
|
|
21
|
+
'page.wallet.points': string;
|
|
22
|
+
'page.wallet.goodPass': string;
|
|
23
|
+
'page.wallet.cardName': string;
|
|
24
|
+
'page.wallet.carNumber': string;
|
|
25
|
+
'page.wallet.balance': string;
|
|
26
|
+
'page.wallet.discount': string;
|
|
27
|
+
'page.wallet.validDate': string;
|
|
28
|
+
'page.wallet.addSuccess': string;
|
|
29
|
+
'page.wallet.addError': string;
|
|
30
|
+
'page.wallet.searchNoFound': string;
|
|
31
|
+
'page.wallet.log.updateCurrentDetail': string;
|
|
32
|
+
'page.wallet.log.getDetailFailed': string;
|
|
33
|
+
'page.wallet.log.rechargeOrderFailed': string;
|
|
34
|
+
'page.wallet.log.getWalletListFailed': string;
|
|
35
|
+
'page.wallet.log.bindCustomerFailed': string;
|
|
36
|
+
'page.wallet.log.getUnbindListFailed': string;
|
|
37
|
+
'page.wallet.log.orderFailed': string;
|
|
38
|
+
'page.wallet.log.unexpectedResponseFormat': string;
|
|
39
|
+
'page.wallet.button.add': string;
|
|
40
|
+
'page.wallet.button.addToAppleWallet': string;
|
|
41
|
+
'page.wallet.button.addToGoogleWallet': string;
|
|
42
|
+
'page.wallet.button.recharge': string;
|
|
43
|
+
'page.wallet.error.addFailed': string;
|
|
44
|
+
};
|
|
45
|
+
'zh-CN': {
|
|
46
|
+
'page.wallet.rechargeableCard': string;
|
|
47
|
+
'page.wallet.voucher': string;
|
|
48
|
+
'page.wallet.pointCard': string;
|
|
49
|
+
'page.wallet.discountCard': string;
|
|
50
|
+
'page.wallet.unavailable': string;
|
|
51
|
+
'page.wallet.available': string;
|
|
52
|
+
'page.wallet.confirm': string;
|
|
53
|
+
'page.wallet.addModalTitle': string;
|
|
54
|
+
'page.wallet.searchDescribe': string;
|
|
55
|
+
'page.wallet.scanBarQrCode': string;
|
|
56
|
+
'page.wallet.enterCodes': string;
|
|
57
|
+
'page.wallet.add': string;
|
|
58
|
+
'page.wallet.rechargeOptions': string;
|
|
59
|
+
'page.wallet.recharge': string;
|
|
60
|
+
'page.wallet.wallet': string;
|
|
61
|
+
'page.wallet.details': string;
|
|
62
|
+
'page.wallet.cardBalance': string;
|
|
63
|
+
'page.wallet.voucherBalance': string;
|
|
64
|
+
'page.wallet.points': string;
|
|
65
|
+
'page.wallet.goodPass': string;
|
|
66
|
+
'page.wallet.cardName': string;
|
|
67
|
+
'page.wallet.carNumber': string;
|
|
68
|
+
'page.wallet.balance': string;
|
|
69
|
+
'page.wallet.discount': string;
|
|
70
|
+
'page.wallet.validDate': string;
|
|
71
|
+
'page.wallet.addSuccess': string;
|
|
72
|
+
'page.wallet.addError': string;
|
|
73
|
+
'page.wallet.searchNoFound': string;
|
|
74
|
+
'page.wallet.log.updateCurrentDetail': string;
|
|
75
|
+
'page.wallet.log.getDetailFailed': string;
|
|
76
|
+
'page.wallet.log.rechargeOrderFailed': string;
|
|
77
|
+
'page.wallet.log.getWalletListFailed': string;
|
|
78
|
+
'page.wallet.log.bindCustomerFailed': string;
|
|
79
|
+
'page.wallet.log.getUnbindListFailed': string;
|
|
80
|
+
'page.wallet.log.orderFailed': string;
|
|
81
|
+
'page.wallet.log.unexpectedResponseFormat': string;
|
|
82
|
+
'page.wallet.button.add': string;
|
|
83
|
+
'page.wallet.button.addToAppleWallet': string;
|
|
84
|
+
'page.wallet.button.addToGoogleWallet': string;
|
|
85
|
+
'page.wallet.button.recharge': string;
|
|
86
|
+
'page.wallet.error.addFailed': string;
|
|
87
|
+
};
|
|
88
|
+
'zh-HK': {
|
|
89
|
+
'page.wallet.rechargeableCard': string;
|
|
90
|
+
'page.wallet.voucher': string;
|
|
91
|
+
'page.wallet.pointCard': string;
|
|
92
|
+
'page.wallet.discountCard': string;
|
|
93
|
+
'page.wallet.unavailable': string;
|
|
94
|
+
'page.wallet.available': string;
|
|
95
|
+
'page.wallet.confirm': string;
|
|
96
|
+
'page.wallet.addModalTitle': string;
|
|
97
|
+
'page.wallet.searchDescribe': string;
|
|
98
|
+
'page.wallet.scanBarQrCode': string;
|
|
99
|
+
'page.wallet.enterCodes': string;
|
|
100
|
+
'page.wallet.add': string;
|
|
101
|
+
'page.wallet.rechargeOptions': string;
|
|
102
|
+
'page.wallet.recharge': string;
|
|
103
|
+
'page.wallet.wallet': string;
|
|
104
|
+
'page.wallet.details': string;
|
|
105
|
+
'page.wallet.cardBalance': string;
|
|
106
|
+
'page.wallet.voucherBalance': string;
|
|
107
|
+
'page.wallet.points': string;
|
|
108
|
+
'page.wallet.goodPass': string;
|
|
109
|
+
'page.wallet.cardName': string;
|
|
110
|
+
'page.wallet.carNumber': string;
|
|
111
|
+
'page.wallet.balance': string;
|
|
112
|
+
'page.wallet.discount': string;
|
|
113
|
+
'page.wallet.validDate': string;
|
|
114
|
+
'page.wallet.addSuccess': string;
|
|
115
|
+
'page.wallet.addError': string;
|
|
116
|
+
'page.wallet.searchNoFound': string;
|
|
117
|
+
'page.wallet.log.updateCurrentDetail': string;
|
|
118
|
+
'page.wallet.log.getDetailFailed': string;
|
|
119
|
+
'page.wallet.log.rechargeOrderFailed': string;
|
|
120
|
+
'page.wallet.log.getWalletListFailed': string;
|
|
121
|
+
'page.wallet.log.bindCustomerFailed': string;
|
|
122
|
+
'page.wallet.log.getUnbindListFailed': string;
|
|
123
|
+
'page.wallet.log.orderFailed': string;
|
|
124
|
+
'page.wallet.log.unexpectedResponseFormat': string;
|
|
125
|
+
'page.wallet.button.add': string;
|
|
126
|
+
'page.wallet.button.addToAppleWallet': string;
|
|
127
|
+
'page.wallet.button.addToGoogleWallet': string;
|
|
128
|
+
'page.wallet.button.recharge': string;
|
|
129
|
+
'page.wallet.error.addFailed': string;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
export default _default;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IWalletListItemProps } from './serve';
|
|
3
|
+
export interface WalletCardItemProps {
|
|
4
|
+
id: string;
|
|
5
|
+
encoded: string;
|
|
6
|
+
code: string;
|
|
7
|
+
}
|
|
8
|
+
export interface WalletCardProps {
|
|
9
|
+
available: WalletCardItemProps[];
|
|
10
|
+
unavailable: WalletCardItemProps[];
|
|
11
|
+
}
|
|
12
|
+
export declare type WalletCardType = 'gift_card' | 'product_voucher' | 'point_card' | 'product_discount_card' | 'good_pass';
|
|
13
|
+
export interface WalletListProps {
|
|
14
|
+
gift_card: IWalletListItemProps[];
|
|
15
|
+
product_voucher: IWalletListItemProps[];
|
|
16
|
+
point_card: IWalletListItemProps[];
|
|
17
|
+
product_discount_card: IWalletListItemProps[];
|
|
18
|
+
isShowMenu: boolean;
|
|
19
|
+
setup: 'menu' | 'list' | 'detail';
|
|
20
|
+
addModalOpen: boolean;
|
|
21
|
+
dropMenuModalOpen: boolean;
|
|
22
|
+
rechargeModalOpen: boolean;
|
|
23
|
+
currentId: string;
|
|
24
|
+
currentTag: WalletCardType;
|
|
25
|
+
currentDetail: any;
|
|
26
|
+
searchList?: IWalletListItemProps[];
|
|
27
|
+
currentSearchListItemCode?: string;
|
|
28
|
+
[key: string]: any;
|
|
29
|
+
}
|
|
30
|
+
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
31
|
+
global_wallet: WalletListProps;
|
|
32
|
+
} & {
|
|
33
|
+
dispatch: (params: {
|
|
34
|
+
type: string;
|
|
35
|
+
payload: any;
|
|
36
|
+
}) => void;
|
|
37
|
+
}>;
|