@pisell/private-materials 6.8.3 → 6.8.5
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/booking/forms/sendModal/useSendModal.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.js +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.js +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
- package/package.json +2 -2
- package/es/components/Sales/Cart/index.d.ts +0 -53
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -4
- package/es/components/appointmentBooking/components/ConfirmInformation/index.d.ts +0 -4
- package/es/components/appointmentBooking/components/Content/index.d.ts +0 -4
- package/es/components/appointmentBooking/components/Date/index.d.ts +0 -4
- package/es/components/appointmentBooking/components/Header/index.d.ts +0 -4
- package/es/components/appointmentBooking/components/Services/index.d.ts +0 -4
- package/es/components/appointmentBooking/hooks.d.ts +0 -107
- package/es/components/appointmentBooking/index.d.ts +0 -4
- package/es/components/appointmentBooking/locales.d.ts +0 -363
- package/es/components/booking/addons/index.d.ts +0 -17
- package/es/components/booking/components/footer/amount.d.ts +0 -37
- package/es/components/booking/components/reloadResourceModal/index.d.ts +0 -9
- package/es/components/booking/components/tabPane/index.d.ts +0 -4
- package/es/components/booking/components/voucherModal/index.d.ts +0 -19
- package/es/components/booking/dashboard/serve.d.ts +0 -1
- package/es/components/booking/deposit/ClientItem/index.d.ts +0 -18
- package/es/components/booking/deposit/DepositItem/index.d.ts +0 -25
- package/es/components/booking/deposit/index.d.ts +0 -3
- package/es/components/booking/editBookingModal/utils.d.ts +0 -12
- package/es/components/booking/forms/forms.d.ts +0 -30
- package/es/components/booking/forms/serve.d.ts +0 -18
- package/es/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
- package/es/components/booking/info/addServiceVariant/index.d.ts +0 -7
- package/es/components/booking/info/client/index.d.ts +0 -4
- package/es/components/booking/info/client/serve.d.ts +0 -2
- package/es/components/booking/info/clientVariant/utils.d.ts +0 -3
- package/es/components/booking/info/clientVariant/vertical/index.d.ts +0 -8
- package/es/components/booking/info/hooks/useHolderConfig.d.ts +0 -9
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -10
- package/es/components/booking/info/index.d.ts +0 -4
- package/es/components/booking/info/main.d.ts +0 -12
- package/es/components/booking/info/model.d.ts +0 -5
- package/es/components/booking/info/pet/serve.d.ts +0 -1
- package/es/components/booking/info/service/Lists.d.ts +0 -3
- package/es/components/booking/info/service/addService/index.d.ts +0 -12
- package/es/components/booking/info/service/addTimeModal/index.d.ts +0 -4
- package/es/components/booking/info/service/addTimeModal/serve.d.ts +0 -5
- package/es/components/booking/info/service/addTimeModal/utils.d.ts +0 -31
- package/es/components/booking/info/service/editService/constants.d.ts +0 -1
- package/es/components/booking/info/service/serve.d.ts +0 -20
- package/es/components/booking/info/service/serviceList/index.d.ts +0 -6
- package/es/components/booking/info/service/serviceManager/index.d.ts +0 -20
- package/es/components/booking/info/service2/Group/utils.d.ts +0 -14
- package/es/components/booking/info/service2/Lists.d.ts +0 -3
- package/es/components/booking/info/service2/utils.d.ts +0 -251
- package/es/components/booking/info/utils.d.ts +0 -50
- package/es/components/booking/info2/cartClientCard/locales.d.ts +0 -21
- package/es/components/booking/info2/cartClientCard/types.d.ts +0 -18
- package/es/components/booking/info2/cartClientCard/utils.d.ts +0 -3
- package/es/components/booking/info2/serve.d.ts +0 -6
- package/es/components/booking/info2/service/addService/index.d.ts +0 -12
- package/es/components/booking/info2/service/addService/utils.d.ts +0 -98
- package/es/components/booking/info2/service/addTimeModal/index.d.ts +0 -4
- package/es/components/booking/info2/service/editNormalService/index.d.ts +0 -3
- package/es/components/booking/info2/service/editService/utils.d.ts +0 -28
- package/es/components/booking/info2/service/index.d.ts +0 -4
- package/es/components/booking/info2/service/serviceList/index.d.ts +0 -6
- package/es/components/booking/info2/utilsByBooking.d.ts +0 -36
- package/es/components/booking/locales.d.ts +0 -921
- package/es/components/booking/model.d.ts +0 -112
- package/es/components/booking/notes/addNote/index.d.ts +0 -4
- package/es/components/booking/utils.d.ts +0 -174
- package/es/components/checkout/PaymentProvider.d.ts +0 -13
- package/es/components/checkout/components/AdditionalModule/locales.d.ts +0 -36
- package/es/components/checkout/components/CashPaymentModule/index.d.ts +0 -26
- package/es/components/checkout/components/PaymentDetailModal/index.d.ts +0 -38
- package/es/components/checkout/components/PaymentOptionsModule/index.d.ts +0 -16
- package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +0 -85
- package/es/components/checkout/components/PaymentResultToast/types.d.ts +0 -59
- package/es/components/checkout/components/PaymentResultToast/utils.d.ts +0 -44
- package/es/components/checkout/components/ScrollableList/index.d.ts +0 -5
- package/es/components/checkout/components/ScrollableList/types.d.ts +0 -53
- package/es/components/checkout/components/SendPaymentLinkModal/index.d.ts +0 -12
- package/es/components/checkout/components/WalletPassModule/types.d.ts +0 -134
- package/es/components/checkout/constants.d.ts +0 -2
- package/es/components/checkout/export.d.ts +0 -9
- package/es/components/checkout/hooks/usePaymentLogger.d.ts +0 -2
- package/es/components/checkout/index.d.ts +0 -5
- package/es/components/checkout/locales.d.ts +0 -513
- package/es/components/checkout/payment-modal-utils.d.ts +0 -30
- package/es/components/checkout/styles.d.ts +0 -67
- package/es/components/checkout/types.d.ts +0 -130
- package/es/components/checkout/utils/PaymentResultToastUtils.d.ts +0 -32
- package/es/components/checkout/utils.d.ts +0 -3
- package/es/components/eftposPay/EFTPos.d.ts +0 -14
- package/es/components/eftposPay/app.d.ts +0 -11
- package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -4
- package/es/components/eftposPay/component/fail/index.d.ts +0 -4
- package/es/components/eftposPay/component/fail/unknow.d.ts +0 -10
- package/es/components/eftposPay/const.d.ts +0 -190
- package/es/components/eftposPay/device.d.ts +0 -25
- package/es/components/eftposPay/hooks.d.ts +0 -35
- package/es/components/eftposPay/index.d.ts +0 -5
- package/es/components/eftposPay/linkly/index.d.ts +0 -3
- package/es/components/eftposPay/locales.d.ts +0 -330
- package/es/components/eftposPay/pay.d.ts +0 -21
- package/es/components/eftposPay/serve.d.ts +0 -16
- package/es/components/eftposPay/tyro/index.d.ts +0 -9
- package/es/components/eftposPay/windcave/helper.d.ts +0 -23
- package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -4
- package/es/components/eventBooking/index.d.ts +0 -4
- package/es/components/index.d.ts +0 -24
- package/es/components/list/ResponsiveWrapper.d.ts +0 -16
- package/es/components/list/TestResponsiveWrapper.d.ts +0 -8
- package/es/components/list/components/EmptyState/index.d.ts +0 -2
- package/es/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +0 -13
- package/es/components/list/components/ListItemSkeleton/index.d.ts +0 -2
- package/es/components/list/components/Pagination/index.d.ts +0 -1
- package/es/components/list/components/ScrollLoader/ScrollLoader.d.ts +0 -18
- package/es/components/list/components/ScrollLoader/index.d.ts +0 -2
- package/es/components/list/components/Tab/Tab.d.ts +0 -5
- package/es/components/list/components/Tab/index.d.ts +0 -2
- package/es/components/list/components/Tab/types.d.ts +0 -14
- package/es/components/list/components/TabSkeleton/TabSkeleton.d.ts +0 -11
- package/es/components/list/components/TabSkeleton/index.d.ts +0 -2
- package/es/components/list/components/WaterfallList/WaterfallList.d.ts +0 -33
- package/es/components/list/components/WaterfallList/index.d.ts +0 -2
- package/es/components/list/examples/GroupedListExample.d.ts +0 -3
- package/es/components/list/hooks/index.d.ts +0 -5
- package/es/components/list/hooks/useDevice.d.ts +0 -24
- package/es/components/list/hooks/useWaterfall.d.ts +0 -34
- package/es/components/list/index.d.ts +0 -10
- package/es/components/list/locales.d.ts +0 -66
- package/es/components/list/types.d.ts +0 -178
- package/es/components/list/utils/getText.d.ts +0 -53
- package/es/components/list/utils/index.d.ts +0 -19
- package/es/components/pay/toB/components/CardGroup/index.d.ts +0 -8
- package/es/components/pay/toB/components/Content/Header.d.ts +0 -5
- package/es/components/pay/toB/components/Content/utils.d.ts +0 -16
- package/es/components/pay/toB/components/EFTPOS/index.d.ts +0 -8
- package/es/components/pay/toB/components/MX51/index.d.ts +0 -3
- package/es/components/pay/toB/components/index.d.ts +0 -5
- package/es/components/pay/toB/hooks.d.ts +0 -12
- package/es/components/pay/toB/index.d.ts +0 -3
- package/es/components/pay/toB/locales.d.ts +0 -54
- package/es/components/pay/toB/paymentMethods/index.d.ts +0 -11
- package/es/components/pay/toB/store/context.d.ts +0 -3
- package/es/components/pay/toB/store/hooks.d.ts +0 -15
- package/es/components/pay/toB/store/index.d.ts +0 -3
- package/es/components/pay/toB/store/provider.d.ts +0 -4
- package/es/components/pay/toB/store/utils.d.ts +0 -13
- package/es/components/pay/toB/types/index.d.ts +0 -72
- package/es/components/pay/toB/types/storeTypes.d.ts +0 -143
- package/es/components/pay/toC/PaymentList/serve.d.ts +0 -28
- package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.d.ts +0 -2
- package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.d.ts +0 -2
- package/es/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.d.ts +0 -2
- package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.d.ts +0 -2
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +0 -7
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -3
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -3
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -4
- package/es/components/pay/toC/PaymentMethods/StripePay/serve.d.ts +0 -2
- package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +0 -2
- package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +0 -2
- package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +0 -155
- package/es/components/pay/toC/PaymentMethods/index.d.ts +0 -9
- package/es/components/pay/toC/model.d.ts +0 -32
- package/es/components/pay/toC/serve.d.ts +0 -62
- package/es/components/pay/toC/utils.d.ts +0 -57
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -3
- package/es/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +0 -3
- package/es/components/productSelect/components/productGroup/index.d.ts +0 -39
- package/es/components/ruleSetting/index.d.ts +0 -10
- package/es/components/ruleSetting/locales.d.ts +0 -48
- package/es/components/ruleSetting/server.d.ts +0 -4
- package/es/components/shoppingCart/locales.d.ts +0 -36
- package/es/components/shoppingCart/type.d.ts +0 -49
- package/es/components/subTotal/locales.d.ts +0 -42
- package/es/components/systemSettings/registry/components/SectionList.d.ts +0 -4
- package/es/components/ticketBooking/components/ProductDisplayAdapter/index.d.ts +0 -7
- package/es/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +0 -115
- package/es/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +0 -83
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -11
- package/es/components/ticketBooking/components/addServiceVariant/utils.d.ts +0 -8
- package/es/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.d.ts +0 -7
- package/es/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +0 -6
- package/es/components/ticketBooking/components/bookingDataPanel/constants.d.ts +0 -22
- package/es/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
- package/es/components/ticketBooking/context/IsActiveContext.d.ts +0 -26
- package/es/components/ticketBooking/context/OsKeyContext.d.ts +0 -26
- package/es/components/ticketBooking/context/index.d.ts +0 -2
- package/es/components/ticketBooking/hooks/pisellos/bookingTicket.d.ts +0 -6
- package/es/components/ticketBooking/hooks/pisellos/index.d.ts +0 -4
- package/es/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +0 -21
- package/es/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +0 -25
- package/es/components/ticketBooking/hooks/pisellos/useProducts.d.ts +0 -16
- package/es/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +0 -6
- package/es/components/ticketBooking/hooks/pisellos/useShopDiscountModule.d.ts +0 -6
- package/es/components/ticketBooking/index.d.ts +0 -16
- package/es/components/ticketBooking/locales.d.ts +0 -201
- package/es/components/ticketBooking/serve.d.ts +0 -288
- package/es/components/ticketBooking/utils/index.d.ts +0 -93
- package/es/components/ticketBooking/utils/productCache.d.ts +0 -75
- package/es/components/wallet/Detail/locales.d.ts +0 -153
- package/es/components/wallet/Detail/model.d.ts +0 -1
- package/es/components/wallet/Detail/serve.d.ts +0 -39
- package/es/components/wallet/DetailContext.d.ts +0 -25
- package/es/components/wallet/DiscountCard/model.d.ts +0 -1
- package/es/components/wallet/PointCard/model.d.ts +0 -1
- package/es/components/wallet/RechargeableCard/model.d.ts +0 -1
- package/es/components/wallet/RechargeableCard/serve.d.ts +0 -23
- package/es/components/wallet/Voucher/locales.d.ts +0 -21
- package/es/components/wallet/Voucher/model.d.ts +0 -1
- package/es/components/wallet/components/FooterButtons/index.d.ts +0 -18
- package/es/components/wallet/components/index.d.ts +0 -3
- package/es/components/wallet/hooks/useWalletCard.d.ts +0 -33
- package/es/components/wallet/locales.d.ts +0 -132
- package/es/components/wallet/model.d.ts +0 -29
- package/es/components/wallet/serve.d.ts +0 -150
- package/es/components/wallet/utils/formatUtils.d.ts +0 -36
- package/es/components/walletList/locales.d.ts +0 -18
- package/es/components/walletList/serve.d.ts +0 -24
- package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +0 -8
- package/es/components/workSpaceList/components/Card/constants.d.ts +0 -2
- package/es/components/workSpaceList/components/WorkspaceItem/index.d.ts +0 -22
- package/es/hooks/index.d.ts +0 -10
- package/es/hooks/printer.d.ts +0 -4
- package/es/hooks/useEngineContext.d.ts +0 -4
- package/es/hooks/useLogger.d.ts +0 -2
- package/es/hooks/useModal.example.d.ts +0 -12
- package/es/hooks/useModal.integration.example.d.ts +0 -15
- package/es/hooks/useToast.d.ts +0 -2
- package/es/hooks/useTranslationOriginal.d.ts +0 -1
- package/es/hooks/useWindowSize.d.ts +0 -5
- package/es/index.d.ts +0 -77
- package/es/plus/clientCard/locales.d.ts +0 -18
- package/es/plus/clientCard/types.d.ts +0 -134
- package/es/plus/clientCard/utils.d.ts +0 -8
- package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +0 -3
- package/es/plus/clinetSearch/Add/GenderField/index.d.ts +0 -3
- package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -3
- package/es/plus/clinetSearch/Add/PhoneField/serve.d.ts +0 -2
- package/es/plus/clinetSearch/InfiniteScroll/InfiniteScroll.d.ts +0 -5
- package/es/plus/clinetSearch/InfiniteScroll/index.d.ts +0 -2
- package/es/plus/clinetSearch/InfiniteScroll/types.d.ts +0 -46
- package/es/plus/clinetSearch/index.d.ts +0 -17
- package/es/plus/clinetSearch/locales.d.ts +0 -105
- package/es/plus/clinetSearch/serve.d.ts +0 -1
- package/es/plus/clinetSearch/types.d.ts +0 -61
- package/es/plus/noteModal/locales.d.ts +0 -33
- package/es/plus/noteModal/types.d.ts +0 -19
- package/es/plus/productSelect/CategoryTabs/index.d.ts +0 -21
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +0 -4
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +0 -4
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +0 -4
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +0 -4
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +0 -4
- package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +0 -8
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +0 -4
- package/es/plus/productSelect/ProductCard/SkuCard/index.d.ts +0 -9
- package/es/plus/productSelect/ProductCard/SkuCard/locales.d.ts +0 -42
- package/es/plus/productSelect/ProductCard/SkuCard/status.d.ts +0 -162
- package/es/plus/productSelect/ProductCard/SkuCard/type.d.ts +0 -298
- package/es/plus/productSelect/ProductCard/SkuCard/utils.d.ts +0 -9
- package/es/plus/productSelect/ProductCard/index.d.ts +0 -47
- package/es/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +0 -30
- package/es/plus/productSelect/utils.d.ts +0 -39
- package/es/plus/walletEditor/locales.d.ts +0 -126
- package/es/plus/walletPassGallery/locales.d.ts +0 -270
- package/es/plus/walletPassGallery/serve.d.ts +0 -221
- package/es/plus/webPosLogin/WebPosLoginCpt.d.ts +0 -9
- package/es/plus/webPosLogin/components/BrandPanel/index.d.ts +0 -9
- package/es/plus/webPosLogin/components/LoginPanel/index.d.ts +0 -21
- package/es/plus/webPosLogin/components/MediaDisplay/type.d.ts +0 -54
- package/es/plus/webPosLogin/index.d.ts +0 -12
- package/es/plus/webPosLogin/locales.d.ts +0 -49
- package/es/plus/webPosLogin/service.d.ts +0 -44
- package/es/plus/webPosLogin/types.d.ts +0 -286
- package/es/pro/Login2.0/components/PhoneInput.d.ts +0 -53
- package/es/pro/Login2.0/shared/types.d.ts +0 -232
- package/es/pro/NumberKeyboardPopover/index.d.ts +0 -36
- package/es/pro/NumberKeyboardPopover/types.d.ts +0 -31
- package/es/pro/Selector/BatchSelectorDemo.d.ts +0 -3
- package/es/pro/Selector/Selector.d.ts +0 -5
- package/es/pro/Selector/SelectorGroup.d.ts +0 -11
- package/es/pro/Selector/components/Card/index.d.ts +0 -27
- package/es/pro/Selector/components/IntersectionObserver.d.ts +0 -105
- package/es/pro/Selector/components/NumericStepper/index.d.ts +0 -41
- package/es/pro/Selector/components/index.d.ts +0 -2
- package/es/pro/Selector/demo.d.ts +0 -3
- package/es/pro/Selector/hooks/useSelectionController.d.ts +0 -42
- package/es/pro/Selector/index.d.ts +0 -8
- package/es/pro/Selector/locales.d.ts +0 -42
- package/es/pro/Selector/types.d.ts +0 -114
- package/es/pro/Selector/utils/index.d.ts +0 -49
- package/es/pro/comprehensiveSearch/components/index.d.ts +0 -2
- package/es/pro/comprehensiveSearch/components/searchSection/locales.d.ts +0 -15
- package/es/pro/comprehensiveSearch/hooks/useNativeScanner.d.ts +0 -5
- package/es/pro/comprehensiveSearch/hooks/useTerminalPeripherals.d.ts +0 -9
- package/es/pro/comprehensiveSearch/locales.d.ts +0 -15
- package/es/pro/comprehensiveSearch/types.d.ts +0 -32
- package/es/pro/numberKeyboard/locales.d.ts +0 -12
- package/es/pro/pisellNumberSelector/example.d.ts +0 -3
- package/es/pro/pisellPhoneKeyboard/locales.d.ts +0 -12
- package/es/pro/pisellPriceKeyboardModal/index.d.ts +0 -2
- package/es/pro/pisellPriceKeyboardModal/types.d.ts +0 -25
- package/es/pro/pisellPriceKeyboardPopover/PisellPriceKeyboardPopover.d.ts +0 -5
- package/es/pro/pisellPriceKeyboardPopover/index.d.ts +0 -2
- package/es/pro/pisellPriceKeyboardPopover/types.d.ts +0 -33
- package/es/pro/pisellSimplePriceKeyboardPopover/index.d.ts +0 -2
- package/es/pro/pisellSimplePriceKeyboardPopover/types.d.ts +0 -33
- package/es/pro/priceKeyboard/components/cashKeyboard/index.d.ts +0 -13
- package/es/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +0 -39
- package/es/pro/priceKeyboard/components/cashKeyboard/types.d.ts +0 -98
- package/es/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +0 -42
- package/es/pro/priceKeyboard/components/discountKeyboard/types.d.ts +0 -17
- package/es/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +0 -45
- package/es/pro/priceKeyboard/components/paymentKeyboard/types.d.ts +0 -39
- package/es/pro/priceKeyboard/components/shortcuts/index.d.ts +0 -18
- package/es/pro/priceKeyboard/hooks/keyActions.d.ts +0 -28
- package/es/pro/priceKeyboard/index.d.ts +0 -3
- package/es/pro/priceKeyboard/utils.d.ts +0 -31
- package/es/pro/skuDetailModal/locales.d.ts +0 -48
- package/es/pro/skuDetailModal/types.d.ts +0 -347
- package/lib/components/Sales/Cart/index.d.ts +0 -53
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -4
- package/lib/components/appointmentBooking/components/ConfirmInformation/index.d.ts +0 -4
- package/lib/components/appointmentBooking/components/Content/index.d.ts +0 -4
- package/lib/components/appointmentBooking/components/Date/index.d.ts +0 -4
- package/lib/components/appointmentBooking/components/Header/index.d.ts +0 -4
- package/lib/components/appointmentBooking/components/Services/index.d.ts +0 -4
- package/lib/components/appointmentBooking/hooks.d.ts +0 -107
- package/lib/components/appointmentBooking/index.d.ts +0 -4
- package/lib/components/appointmentBooking/locales.d.ts +0 -363
- package/lib/components/booking/addons/index.d.ts +0 -17
- package/lib/components/booking/components/footer/amount.d.ts +0 -37
- package/lib/components/booking/components/reloadResourceModal/index.d.ts +0 -9
- package/lib/components/booking/components/tabPane/index.d.ts +0 -4
- package/lib/components/booking/components/voucherModal/index.d.ts +0 -19
- package/lib/components/booking/dashboard/serve.d.ts +0 -1
- package/lib/components/booking/deposit/ClientItem/index.d.ts +0 -18
- package/lib/components/booking/deposit/DepositItem/index.d.ts +0 -25
- package/lib/components/booking/deposit/index.d.ts +0 -3
- package/lib/components/booking/editBookingModal/utils.d.ts +0 -12
- package/lib/components/booking/forms/forms.d.ts +0 -30
- package/lib/components/booking/forms/serve.d.ts +0 -18
- package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
- package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -7
- package/lib/components/booking/info/client/index.d.ts +0 -4
- package/lib/components/booking/info/client/serve.d.ts +0 -2
- package/lib/components/booking/info/clientVariant/utils.d.ts +0 -3
- package/lib/components/booking/info/clientVariant/vertical/index.d.ts +0 -8
- package/lib/components/booking/info/hooks/useHolderConfig.d.ts +0 -9
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -10
- package/lib/components/booking/info/index.d.ts +0 -4
- package/lib/components/booking/info/main.d.ts +0 -12
- package/lib/components/booking/info/model.d.ts +0 -5
- package/lib/components/booking/info/pet/serve.d.ts +0 -1
- package/lib/components/booking/info/service/Lists.d.ts +0 -3
- package/lib/components/booking/info/service/addService/index.d.ts +0 -12
- package/lib/components/booking/info/service/addTimeModal/index.d.ts +0 -4
- package/lib/components/booking/info/service/addTimeModal/serve.d.ts +0 -5
- package/lib/components/booking/info/service/addTimeModal/utils.d.ts +0 -31
- package/lib/components/booking/info/service/editService/constants.d.ts +0 -1
- package/lib/components/booking/info/service/serve.d.ts +0 -20
- package/lib/components/booking/info/service/serviceList/index.d.ts +0 -6
- package/lib/components/booking/info/service/serviceManager/index.d.ts +0 -20
- package/lib/components/booking/info/service2/Group/utils.d.ts +0 -14
- package/lib/components/booking/info/service2/Lists.d.ts +0 -3
- package/lib/components/booking/info/service2/utils.d.ts +0 -251
- package/lib/components/booking/info/utils.d.ts +0 -50
- package/lib/components/booking/info2/cartClientCard/locales.d.ts +0 -21
- package/lib/components/booking/info2/cartClientCard/types.d.ts +0 -18
- package/lib/components/booking/info2/cartClientCard/utils.d.ts +0 -3
- package/lib/components/booking/info2/serve.d.ts +0 -6
- package/lib/components/booking/info2/service/addService/index.d.ts +0 -12
- package/lib/components/booking/info2/service/addService/utils.d.ts +0 -98
- package/lib/components/booking/info2/service/addTimeModal/index.d.ts +0 -4
- package/lib/components/booking/info2/service/editNormalService/index.d.ts +0 -3
- package/lib/components/booking/info2/service/editService/utils.d.ts +0 -28
- package/lib/components/booking/info2/service/index.d.ts +0 -4
- package/lib/components/booking/info2/service/serviceList/index.d.ts +0 -6
- package/lib/components/booking/info2/utilsByBooking.d.ts +0 -36
- package/lib/components/booking/locales.d.ts +0 -921
- package/lib/components/booking/model.d.ts +0 -112
- package/lib/components/booking/notes/addNote/index.d.ts +0 -4
- package/lib/components/booking/utils.d.ts +0 -174
- package/lib/components/checkout/PaymentProvider.d.ts +0 -13
- package/lib/components/checkout/components/AdditionalModule/locales.d.ts +0 -36
- package/lib/components/checkout/components/CashPaymentModule/index.d.ts +0 -26
- package/lib/components/checkout/components/PaymentDetailModal/index.d.ts +0 -38
- package/lib/components/checkout/components/PaymentOptionsModule/index.d.ts +0 -16
- package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +0 -85
- package/lib/components/checkout/components/PaymentResultToast/types.d.ts +0 -59
- package/lib/components/checkout/components/PaymentResultToast/utils.d.ts +0 -44
- package/lib/components/checkout/components/ScrollableList/index.d.ts +0 -5
- package/lib/components/checkout/components/ScrollableList/types.d.ts +0 -53
- package/lib/components/checkout/components/SendPaymentLinkModal/index.d.ts +0 -12
- package/lib/components/checkout/components/WalletPassModule/types.d.ts +0 -134
- package/lib/components/checkout/constants.d.ts +0 -2
- package/lib/components/checkout/export.d.ts +0 -9
- package/lib/components/checkout/hooks/usePaymentLogger.d.ts +0 -2
- package/lib/components/checkout/index.d.ts +0 -5
- package/lib/components/checkout/locales.d.ts +0 -513
- package/lib/components/checkout/payment-modal-utils.d.ts +0 -30
- package/lib/components/checkout/styles.d.ts +0 -67
- package/lib/components/checkout/types.d.ts +0 -130
- package/lib/components/checkout/utils/PaymentResultToastUtils.d.ts +0 -32
- package/lib/components/checkout/utils.d.ts +0 -3
- package/lib/components/eftposPay/EFTPos.d.ts +0 -14
- package/lib/components/eftposPay/app.d.ts +0 -11
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -4
- package/lib/components/eftposPay/component/fail/index.d.ts +0 -4
- package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -10
- package/lib/components/eftposPay/const.d.ts +0 -190
- package/lib/components/eftposPay/device.d.ts +0 -25
- package/lib/components/eftposPay/hooks.d.ts +0 -35
- package/lib/components/eftposPay/index.d.ts +0 -5
- package/lib/components/eftposPay/linkly/index.d.ts +0 -3
- package/lib/components/eftposPay/locales.d.ts +0 -330
- package/lib/components/eftposPay/pay.d.ts +0 -21
- package/lib/components/eftposPay/serve.d.ts +0 -16
- package/lib/components/eftposPay/tyro/index.d.ts +0 -9
- package/lib/components/eftposPay/windcave/helper.d.ts +0 -23
- package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -4
- package/lib/components/eventBooking/index.d.ts +0 -4
- package/lib/components/index.d.ts +0 -24
- package/lib/components/list/ResponsiveWrapper.d.ts +0 -16
- package/lib/components/list/TestResponsiveWrapper.d.ts +0 -8
- package/lib/components/list/components/EmptyState/index.d.ts +0 -2
- package/lib/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +0 -13
- package/lib/components/list/components/ListItemSkeleton/index.d.ts +0 -2
- package/lib/components/list/components/Pagination/index.d.ts +0 -1
- package/lib/components/list/components/ScrollLoader/ScrollLoader.d.ts +0 -18
- package/lib/components/list/components/ScrollLoader/index.d.ts +0 -2
- package/lib/components/list/components/Tab/Tab.d.ts +0 -5
- package/lib/components/list/components/Tab/index.d.ts +0 -2
- package/lib/components/list/components/Tab/types.d.ts +0 -14
- package/lib/components/list/components/TabSkeleton/TabSkeleton.d.ts +0 -11
- package/lib/components/list/components/TabSkeleton/index.d.ts +0 -2
- package/lib/components/list/components/WaterfallList/WaterfallList.d.ts +0 -33
- package/lib/components/list/components/WaterfallList/index.d.ts +0 -2
- package/lib/components/list/examples/GroupedListExample.d.ts +0 -3
- package/lib/components/list/hooks/index.d.ts +0 -5
- package/lib/components/list/hooks/useDevice.d.ts +0 -24
- package/lib/components/list/hooks/useWaterfall.d.ts +0 -34
- package/lib/components/list/index.d.ts +0 -10
- package/lib/components/list/locales.d.ts +0 -66
- package/lib/components/list/types.d.ts +0 -178
- package/lib/components/list/utils/getText.d.ts +0 -53
- package/lib/components/list/utils/index.d.ts +0 -19
- package/lib/components/pay/toB/components/CardGroup/index.d.ts +0 -8
- package/lib/components/pay/toB/components/Content/Header.d.ts +0 -5
- package/lib/components/pay/toB/components/Content/utils.d.ts +0 -16
- package/lib/components/pay/toB/components/EFTPOS/index.d.ts +0 -8
- package/lib/components/pay/toB/components/MX51/index.d.ts +0 -3
- package/lib/components/pay/toB/components/index.d.ts +0 -5
- package/lib/components/pay/toB/hooks.d.ts +0 -12
- package/lib/components/pay/toB/index.d.ts +0 -3
- package/lib/components/pay/toB/locales.d.ts +0 -54
- package/lib/components/pay/toB/paymentMethods/index.d.ts +0 -11
- package/lib/components/pay/toB/store/context.d.ts +0 -3
- package/lib/components/pay/toB/store/hooks.d.ts +0 -15
- package/lib/components/pay/toB/store/index.d.ts +0 -3
- package/lib/components/pay/toB/store/provider.d.ts +0 -4
- package/lib/components/pay/toB/store/utils.d.ts +0 -13
- package/lib/components/pay/toB/types/index.d.ts +0 -72
- package/lib/components/pay/toB/types/storeTypes.d.ts +0 -143
- package/lib/components/pay/toC/PaymentList/serve.d.ts +0 -28
- package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.d.ts +0 -2
- package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.d.ts +0 -2
- package/lib/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.d.ts +0 -2
- package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.d.ts +0 -2
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +0 -7
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -3
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -3
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -4
- package/lib/components/pay/toC/PaymentMethods/StripePay/serve.d.ts +0 -2
- package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +0 -2
- package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +0 -2
- package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +0 -155
- package/lib/components/pay/toC/PaymentMethods/index.d.ts +0 -9
- package/lib/components/pay/toC/model.d.ts +0 -32
- package/lib/components/pay/toC/serve.d.ts +0 -62
- package/lib/components/pay/toC/utils.d.ts +0 -57
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -3
- package/lib/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +0 -3
- package/lib/components/productSelect/components/productGroup/index.d.ts +0 -39
- package/lib/components/ruleSetting/index.d.ts +0 -10
- package/lib/components/ruleSetting/locales.d.ts +0 -48
- package/lib/components/ruleSetting/server.d.ts +0 -4
- package/lib/components/shoppingCart/locales.d.ts +0 -36
- package/lib/components/shoppingCart/type.d.ts +0 -49
- package/lib/components/subTotal/locales.d.ts +0 -42
- package/lib/components/systemSettings/registry/components/SectionList.d.ts +0 -4
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/index.d.ts +0 -7
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +0 -115
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +0 -83
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -11
- package/lib/components/ticketBooking/components/addServiceVariant/utils.d.ts +0 -8
- package/lib/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.d.ts +0 -7
- package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +0 -6
- package/lib/components/ticketBooking/components/bookingDataPanel/constants.d.ts +0 -22
- package/lib/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
- package/lib/components/ticketBooking/context/IsActiveContext.d.ts +0 -26
- package/lib/components/ticketBooking/context/OsKeyContext.d.ts +0 -26
- package/lib/components/ticketBooking/context/index.d.ts +0 -2
- package/lib/components/ticketBooking/hooks/pisellos/bookingTicket.d.ts +0 -6
- package/lib/components/ticketBooking/hooks/pisellos/index.d.ts +0 -4
- package/lib/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +0 -21
- package/lib/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +0 -25
- package/lib/components/ticketBooking/hooks/pisellos/useProducts.d.ts +0 -16
- package/lib/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +0 -6
- package/lib/components/ticketBooking/hooks/pisellos/useShopDiscountModule.d.ts +0 -6
- package/lib/components/ticketBooking/index.d.ts +0 -16
- package/lib/components/ticketBooking/locales.d.ts +0 -201
- package/lib/components/ticketBooking/serve.d.ts +0 -288
- package/lib/components/ticketBooking/utils/index.d.ts +0 -93
- package/lib/components/ticketBooking/utils/productCache.d.ts +0 -75
- package/lib/components/wallet/Detail/locales.d.ts +0 -153
- package/lib/components/wallet/Detail/model.d.ts +0 -1
- package/lib/components/wallet/Detail/serve.d.ts +0 -39
- package/lib/components/wallet/DetailContext.d.ts +0 -25
- package/lib/components/wallet/DiscountCard/model.d.ts +0 -1
- package/lib/components/wallet/PointCard/model.d.ts +0 -1
- package/lib/components/wallet/RechargeableCard/model.d.ts +0 -1
- package/lib/components/wallet/RechargeableCard/serve.d.ts +0 -23
- package/lib/components/wallet/Voucher/locales.d.ts +0 -21
- package/lib/components/wallet/Voucher/model.d.ts +0 -1
- package/lib/components/wallet/components/FooterButtons/index.d.ts +0 -18
- package/lib/components/wallet/components/index.d.ts +0 -3
- package/lib/components/wallet/hooks/useWalletCard.d.ts +0 -33
- package/lib/components/wallet/locales.d.ts +0 -132
- package/lib/components/wallet/model.d.ts +0 -29
- package/lib/components/wallet/serve.d.ts +0 -150
- package/lib/components/wallet/utils/formatUtils.d.ts +0 -36
- package/lib/components/walletList/locales.d.ts +0 -18
- package/lib/components/walletList/serve.d.ts +0 -24
- package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +0 -8
- package/lib/components/workSpaceList/components/Card/constants.d.ts +0 -2
- package/lib/components/workSpaceList/components/WorkspaceItem/index.d.ts +0 -22
- package/lib/hooks/index.d.ts +0 -10
- package/lib/hooks/printer.d.ts +0 -4
- package/lib/hooks/useEngineContext.d.ts +0 -4
- package/lib/hooks/useLogger.d.ts +0 -2
- package/lib/hooks/useModal.example.d.ts +0 -12
- package/lib/hooks/useModal.integration.example.d.ts +0 -15
- package/lib/hooks/useToast.d.ts +0 -2
- package/lib/hooks/useTranslationOriginal.d.ts +0 -1
- package/lib/hooks/useWindowSize.d.ts +0 -5
- package/lib/index.d.ts +0 -77
- package/lib/plus/clientCard/locales.d.ts +0 -18
- package/lib/plus/clientCard/types.d.ts +0 -134
- package/lib/plus/clientCard/utils.d.ts +0 -8
- package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +0 -3
- package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +0 -3
- package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -3
- package/lib/plus/clinetSearch/Add/PhoneField/serve.d.ts +0 -2
- package/lib/plus/clinetSearch/InfiniteScroll/InfiniteScroll.d.ts +0 -5
- package/lib/plus/clinetSearch/InfiniteScroll/index.d.ts +0 -2
- package/lib/plus/clinetSearch/InfiniteScroll/types.d.ts +0 -46
- package/lib/plus/clinetSearch/index.d.ts +0 -17
- package/lib/plus/clinetSearch/locales.d.ts +0 -105
- package/lib/plus/clinetSearch/serve.d.ts +0 -1
- package/lib/plus/clinetSearch/types.d.ts +0 -61
- package/lib/plus/noteModal/locales.d.ts +0 -33
- package/lib/plus/noteModal/types.d.ts +0 -19
- package/lib/plus/productSelect/CategoryTabs/index.d.ts +0 -21
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +0 -4
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +0 -4
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +0 -4
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +0 -4
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +0 -4
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +0 -8
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +0 -4
- package/lib/plus/productSelect/ProductCard/SkuCard/index.d.ts +0 -9
- package/lib/plus/productSelect/ProductCard/SkuCard/locales.d.ts +0 -42
- package/lib/plus/productSelect/ProductCard/SkuCard/status.d.ts +0 -162
- package/lib/plus/productSelect/ProductCard/SkuCard/type.d.ts +0 -298
- package/lib/plus/productSelect/ProductCard/SkuCard/utils.d.ts +0 -9
- package/lib/plus/productSelect/ProductCard/index.d.ts +0 -47
- package/lib/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +0 -30
- package/lib/plus/productSelect/utils.d.ts +0 -39
- package/lib/plus/walletEditor/locales.d.ts +0 -126
- package/lib/plus/walletPassGallery/locales.d.ts +0 -270
- package/lib/plus/walletPassGallery/serve.d.ts +0 -221
- package/lib/plus/webPosLogin/WebPosLoginCpt.d.ts +0 -9
- package/lib/plus/webPosLogin/components/BrandPanel/index.d.ts +0 -9
- package/lib/plus/webPosLogin/components/LoginPanel/index.d.ts +0 -21
- package/lib/plus/webPosLogin/components/MediaDisplay/type.d.ts +0 -54
- package/lib/plus/webPosLogin/index.d.ts +0 -12
- package/lib/plus/webPosLogin/locales.d.ts +0 -49
- package/lib/plus/webPosLogin/service.d.ts +0 -44
- package/lib/plus/webPosLogin/types.d.ts +0 -286
- package/lib/pro/Login2.0/components/PhoneInput.d.ts +0 -53
- package/lib/pro/Login2.0/shared/types.d.ts +0 -232
- package/lib/pro/NumberKeyboardPopover/index.d.ts +0 -36
- package/lib/pro/NumberKeyboardPopover/types.d.ts +0 -31
- package/lib/pro/Selector/BatchSelectorDemo.d.ts +0 -3
- package/lib/pro/Selector/Selector.d.ts +0 -5
- package/lib/pro/Selector/SelectorGroup.d.ts +0 -11
- package/lib/pro/Selector/components/Card/index.d.ts +0 -27
- package/lib/pro/Selector/components/IntersectionObserver.d.ts +0 -105
- package/lib/pro/Selector/components/NumericStepper/index.d.ts +0 -41
- package/lib/pro/Selector/components/index.d.ts +0 -2
- package/lib/pro/Selector/demo.d.ts +0 -3
- package/lib/pro/Selector/hooks/useSelectionController.d.ts +0 -42
- package/lib/pro/Selector/index.d.ts +0 -8
- package/lib/pro/Selector/locales.d.ts +0 -42
- package/lib/pro/Selector/types.d.ts +0 -114
- package/lib/pro/Selector/utils/index.d.ts +0 -49
- package/lib/pro/comprehensiveSearch/components/index.d.ts +0 -2
- package/lib/pro/comprehensiveSearch/components/searchSection/locales.d.ts +0 -15
- package/lib/pro/comprehensiveSearch/hooks/useNativeScanner.d.ts +0 -5
- package/lib/pro/comprehensiveSearch/hooks/useTerminalPeripherals.d.ts +0 -9
- package/lib/pro/comprehensiveSearch/locales.d.ts +0 -15
- package/lib/pro/comprehensiveSearch/types.d.ts +0 -32
- package/lib/pro/numberKeyboard/locales.d.ts +0 -12
- package/lib/pro/pisellNumberSelector/example.d.ts +0 -3
- package/lib/pro/pisellPhoneKeyboard/locales.d.ts +0 -12
- package/lib/pro/pisellPriceKeyboardModal/index.d.ts +0 -2
- package/lib/pro/pisellPriceKeyboardModal/types.d.ts +0 -25
- package/lib/pro/pisellPriceKeyboardPopover/PisellPriceKeyboardPopover.d.ts +0 -5
- package/lib/pro/pisellPriceKeyboardPopover/index.d.ts +0 -2
- package/lib/pro/pisellPriceKeyboardPopover/types.d.ts +0 -33
- package/lib/pro/pisellSimplePriceKeyboardPopover/index.d.ts +0 -2
- package/lib/pro/pisellSimplePriceKeyboardPopover/types.d.ts +0 -33
- package/lib/pro/priceKeyboard/components/cashKeyboard/index.d.ts +0 -13
- package/lib/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +0 -39
- package/lib/pro/priceKeyboard/components/cashKeyboard/types.d.ts +0 -98
- package/lib/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +0 -42
- package/lib/pro/priceKeyboard/components/discountKeyboard/types.d.ts +0 -17
- package/lib/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +0 -45
- package/lib/pro/priceKeyboard/components/paymentKeyboard/types.d.ts +0 -39
- package/lib/pro/priceKeyboard/components/shortcuts/index.d.ts +0 -18
- package/lib/pro/priceKeyboard/hooks/keyActions.d.ts +0 -28
- package/lib/pro/priceKeyboard/index.d.ts +0 -3
- package/lib/pro/priceKeyboard/utils.d.ts +0 -31
- package/lib/pro/skuDetailModal/locales.d.ts +0 -48
- package/lib/pro/skuDetailModal/types.d.ts +0 -347
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export declare type DeviceType = 'pc' | 'pad' | 'mobile';
|
|
2
|
-
export interface DeviceInfo {
|
|
3
|
-
type: DeviceType;
|
|
4
|
-
isMobile: boolean;
|
|
5
|
-
isPad: boolean;
|
|
6
|
-
isPc: boolean;
|
|
7
|
-
width: number;
|
|
8
|
-
height: number;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* 设备检测Hook
|
|
12
|
-
* 根据屏幕宽度和用户代理判断当前设备类型
|
|
13
|
-
*/
|
|
14
|
-
export declare const useDevice: () => DeviceInfo;
|
|
15
|
-
/**
|
|
16
|
-
* 获取用户代理信息
|
|
17
|
-
* @returns 用户代理相关信息
|
|
18
|
-
*/
|
|
19
|
-
export declare const getUserAgentInfo: () => {
|
|
20
|
-
isMobileUA: boolean;
|
|
21
|
-
isTabletUA: boolean;
|
|
22
|
-
isDesktopUA: boolean;
|
|
23
|
-
userAgent: string;
|
|
24
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
export interface WaterfallItem {
|
|
2
|
-
id: string | number;
|
|
3
|
-
data: any;
|
|
4
|
-
height?: number;
|
|
5
|
-
width?: number;
|
|
6
|
-
}
|
|
7
|
-
export interface WaterfallTrack<T = any> {
|
|
8
|
-
items: T[];
|
|
9
|
-
size: number;
|
|
10
|
-
}
|
|
11
|
-
export interface WaterfallLayoutOptions {
|
|
12
|
-
tracks: number;
|
|
13
|
-
trackGap: number;
|
|
14
|
-
itemGap: number;
|
|
15
|
-
direction: 'vertical' | 'horizontal';
|
|
16
|
-
}
|
|
17
|
-
export interface WaterfallLayout<T = any> {
|
|
18
|
-
tracks: WaterfallTrack<T>[];
|
|
19
|
-
totalSize: number;
|
|
20
|
-
}
|
|
21
|
-
export declare const useWaterfall: <T extends {
|
|
22
|
-
id: string | number;
|
|
23
|
-
height?: number | undefined;
|
|
24
|
-
width?: number | undefined;
|
|
25
|
-
}>(items: T[], options: WaterfallLayoutOptions) => {
|
|
26
|
-
layout: WaterfallLayout<T>;
|
|
27
|
-
registerItemRef: (id: string | number, element: HTMLElement | null) => void;
|
|
28
|
-
measureItemSize: (id: string | number) => {
|
|
29
|
-
width: number;
|
|
30
|
-
height: number;
|
|
31
|
-
};
|
|
32
|
-
recalculateLayout: () => void;
|
|
33
|
-
};
|
|
34
|
-
export default useWaterfall;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export { default } from './List';
|
|
2
|
-
export { default as ResponsiveList, createResponsiveConfig } from './ResponsiveWrapper';
|
|
3
|
-
export { default as TestResponsiveWrapper } from './TestResponsiveWrapper';
|
|
4
|
-
export { default as Pagination } from './components/Pagination';
|
|
5
|
-
export { default as Tab } from './components/Tab';
|
|
6
|
-
export { useDevice, getUserAgentInfo } from './hooks/useDevice';
|
|
7
|
-
export { default as TestList } from './TestResponsiveWrapper';
|
|
8
|
-
export type { ListProps, BaseListItem, EmptyStateConfig, PaginationInfo, LayoutConfig, TabConfig, PaginationConfig, LegacyListProps, TabItem, ResponsiveProps, ResponsiveWrapperProps, DeviceType, DeviceInfo, LoadMoreParams, LoadDataParams, LoadDataTrigger } from './types';
|
|
9
|
-
export type { TabProps } from './components/Tab';
|
|
10
|
-
export type { PaginationProps } from './components/Pagination/Pagination';
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
en: {
|
|
3
|
-
'pisell-list-tab-group-default': string;
|
|
4
|
-
'pisell-list-empty-text-default': string;
|
|
5
|
-
'pisell-list-load-more': string;
|
|
6
|
-
'pisell-list-view-less': string;
|
|
7
|
-
'pisell-list-pagination-total': (start: number, end: number, total: number) => string;
|
|
8
|
-
'pisell-list-pagination-total-fallback': (start: number, end: number, total: number) => string;
|
|
9
|
-
'pisell-list-pagination-page-of': (current: number, total: number) => string;
|
|
10
|
-
'pisell-list-pagination-previous': string;
|
|
11
|
-
'pisell-list-pagination-next': string;
|
|
12
|
-
'pisell-list-scroll-down': string;
|
|
13
|
-
'pisell-list-scroll-right': string;
|
|
14
|
-
'pisell-list-scroll-to-bottom': string;
|
|
15
|
-
'pisell-list-scroll-to-end': string;
|
|
16
|
-
'pisell-list-loading': string;
|
|
17
|
-
'pisell-list-loading-more': string;
|
|
18
|
-
'pisell-list-no-more-data': string;
|
|
19
|
-
'pisell-list-group-title-all': string;
|
|
20
|
-
'pisell-list-load-error': string;
|
|
21
|
-
'pisell-list-retry': string;
|
|
22
|
-
};
|
|
23
|
-
'zh-CN': {
|
|
24
|
-
'pisell-list-tab-group-default': string;
|
|
25
|
-
'pisell-list-empty-text-default': string;
|
|
26
|
-
'pisell-list-load-more': string;
|
|
27
|
-
'pisell-list-view-less': string;
|
|
28
|
-
'pisell-list-pagination-total': (start: number, end: number, total: number) => string;
|
|
29
|
-
'pisell-list-pagination-total-fallback': (start: number, end: number, total: number) => string;
|
|
30
|
-
'pisell-list-pagination-page-of': (current: number, total: number) => string;
|
|
31
|
-
'pisell-list-pagination-previous': string;
|
|
32
|
-
'pisell-list-pagination-next': string;
|
|
33
|
-
'pisell-list-scroll-down': string;
|
|
34
|
-
'pisell-list-scroll-right': string;
|
|
35
|
-
'pisell-list-scroll-to-bottom': string;
|
|
36
|
-
'pisell-list-scroll-to-end': string;
|
|
37
|
-
'pisell-list-loading': string;
|
|
38
|
-
'pisell-list-loading-more': string;
|
|
39
|
-
'pisell-list-no-more-data': string;
|
|
40
|
-
'pisell-list-group-title-all': string;
|
|
41
|
-
'pisell-list-load-error': string;
|
|
42
|
-
'pisell-list-retry': string;
|
|
43
|
-
};
|
|
44
|
-
'zh-HK': {
|
|
45
|
-
'pisell-list-tab-group-default': string;
|
|
46
|
-
'pisell-list-empty-text-default': string;
|
|
47
|
-
'pisell-list-load-more': string;
|
|
48
|
-
'pisell-list-view-less': string;
|
|
49
|
-
'pisell-list-pagination-total': (start: number, end: number, total: number) => string;
|
|
50
|
-
'pisell-list-pagination-total-fallback': (start: number, end: number, total: number) => string;
|
|
51
|
-
'pisell-list-pagination-page-of': (current: number, total: number) => string;
|
|
52
|
-
'pisell-list-pagination-previous': string;
|
|
53
|
-
'pisell-list-pagination-next': string;
|
|
54
|
-
'pisell-list-scroll-down': string;
|
|
55
|
-
'pisell-list-scroll-right': string;
|
|
56
|
-
'pisell-list-scroll-to-bottom': string;
|
|
57
|
-
'pisell-list-scroll-to-end': string;
|
|
58
|
-
'pisell-list-loading': string;
|
|
59
|
-
'pisell-list-loading-more': string;
|
|
60
|
-
'pisell-list-no-more-data': string;
|
|
61
|
-
'pisell-list-group-title-all': string;
|
|
62
|
-
'pisell-list-load-error': string;
|
|
63
|
-
'pisell-list-retry': string;
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
export default _default;
|
|
@@ -1,178 +0,0 @@
|
|
|
1
|
-
import { ReactNode, CSSProperties } from 'react';
|
|
2
|
-
/** 设备类型 */
|
|
3
|
-
export declare type DeviceType = 'pc' | 'pad' | 'mobile';
|
|
4
|
-
/** 设备信息 */
|
|
5
|
-
export interface DeviceInfo {
|
|
6
|
-
type: DeviceType;
|
|
7
|
-
isMobile: boolean;
|
|
8
|
-
isPad: boolean;
|
|
9
|
-
isPc: boolean;
|
|
10
|
-
width: number;
|
|
11
|
-
height: number;
|
|
12
|
-
}
|
|
13
|
-
/** 响应式配置接口 */
|
|
14
|
-
export interface ResponsiveConfig {
|
|
15
|
-
/** PC端特定配置 */
|
|
16
|
-
pc?: Partial<ListProps>;
|
|
17
|
-
/** 平板端特定配置 */
|
|
18
|
-
pad?: Partial<ListProps>;
|
|
19
|
-
/** 移动端特定配置 */
|
|
20
|
-
mobile?: Partial<ListProps>;
|
|
21
|
-
}
|
|
22
|
-
/** 响应式Props接口 - 继承ListProps并添加responsive属性 */
|
|
23
|
-
export interface ResponsiveProps extends ListProps {
|
|
24
|
-
/** 响应式配置 */
|
|
25
|
-
responsive?: ResponsiveConfig;
|
|
26
|
-
}
|
|
27
|
-
/** ResponsiveWrapper 组件属性 */
|
|
28
|
-
export interface ResponsiveWrapperProps extends ResponsiveProps {
|
|
29
|
-
/** 子元素 */
|
|
30
|
-
children?: ReactNode;
|
|
31
|
-
}
|
|
32
|
-
/** 基础列表项接口 */
|
|
33
|
-
export interface BaseListItem {
|
|
34
|
-
/** 唯一标识 */
|
|
35
|
-
id: string | number;
|
|
36
|
-
/** 预设高度(瀑布流模式) */
|
|
37
|
-
height?: number;
|
|
38
|
-
/** 预设宽度(瀑布流模式) */
|
|
39
|
-
width?: number;
|
|
40
|
-
/** 其他任意属性,可以包含用于分组的字段 */
|
|
41
|
-
[key: string]: any;
|
|
42
|
-
}
|
|
43
|
-
/** 空状态配置接口 */
|
|
44
|
-
export interface EmptyStateConfig {
|
|
45
|
-
/** 是否显示空状态 */
|
|
46
|
-
show?: boolean;
|
|
47
|
-
/** 空状态文本 */
|
|
48
|
-
text?: string;
|
|
49
|
-
/** 空状态图标 */
|
|
50
|
-
icon?: ReactNode;
|
|
51
|
-
/** 空状态描述 */
|
|
52
|
-
description?: string;
|
|
53
|
-
}
|
|
54
|
-
/** 分页信息接口 */
|
|
55
|
-
export interface PaginationInfo {
|
|
56
|
-
/** 当前页数 */
|
|
57
|
-
current?: number;
|
|
58
|
-
/** 总页数 */
|
|
59
|
-
total?: number;
|
|
60
|
-
/** 总数据条数 */
|
|
61
|
-
totalCount?: number;
|
|
62
|
-
}
|
|
63
|
-
/** 布局配置接口 */
|
|
64
|
-
export interface LayoutConfig {
|
|
65
|
-
/** 显示样式 */
|
|
66
|
-
displayStyle?: 'grid' | 'waterfall';
|
|
67
|
-
/** 排版方式 */
|
|
68
|
-
layoutDirection?: 'horizontal' | 'vertical';
|
|
69
|
-
/** 列数 */
|
|
70
|
-
columns?: number;
|
|
71
|
-
/** 行数 */
|
|
72
|
-
rows?: number;
|
|
73
|
-
/** 列间距 */
|
|
74
|
-
columnGap?: number;
|
|
75
|
-
/** 行间距 */
|
|
76
|
-
rowGap?: number;
|
|
77
|
-
/** 缩放倍率 */
|
|
78
|
-
zoom?: number;
|
|
79
|
-
}
|
|
80
|
-
/** Tab配置接口 */
|
|
81
|
-
export interface TabConfig {
|
|
82
|
-
/** tab样式 */
|
|
83
|
-
tabStyle?: 'anchor' | 'switch' | 'none';
|
|
84
|
-
/** 指定用于分组的数据字段名,例如 'category'、'type' 等 */
|
|
85
|
-
tabGroup?: string;
|
|
86
|
-
/** Tab数据源 */
|
|
87
|
-
tabData?: TabItem[];
|
|
88
|
-
/** 顶部固定 */
|
|
89
|
-
stickyTop?: boolean;
|
|
90
|
-
}
|
|
91
|
-
/** 分页配置接口 */
|
|
92
|
-
export interface PaginationConfig {
|
|
93
|
-
/** 分页方式 */
|
|
94
|
-
paginationType?: 'all' | 'scroll' | 'pager' | 'more';
|
|
95
|
-
/** 默认显示个数 */
|
|
96
|
-
defaultPageSize?: number;
|
|
97
|
-
/** 每次加载个数 */
|
|
98
|
-
pageSize?: number;
|
|
99
|
-
/** 分页信息 */
|
|
100
|
-
pagination?: PaginationInfo;
|
|
101
|
-
}
|
|
102
|
-
/** 泛型List组件Props接口 */
|
|
103
|
-
export interface ListProps<TItem extends BaseListItem = BaseListItem> {
|
|
104
|
-
/** 基础属性 */
|
|
105
|
-
className?: string;
|
|
106
|
-
style?: CSSProperties;
|
|
107
|
-
width?: string | number;
|
|
108
|
-
height?: string | number;
|
|
109
|
-
/** 布局配置 */
|
|
110
|
-
displayStyle?: LayoutConfig['displayStyle'];
|
|
111
|
-
layoutDirection?: LayoutConfig['layoutDirection'];
|
|
112
|
-
columns?: LayoutConfig['columns'];
|
|
113
|
-
rows?: LayoutConfig['rows'];
|
|
114
|
-
columnGap?: LayoutConfig['columnGap'];
|
|
115
|
-
rowGap?: LayoutConfig['rowGap'];
|
|
116
|
-
zoom?: LayoutConfig['zoom'];
|
|
117
|
-
/** Tab配置 */
|
|
118
|
-
tabStyle?: TabConfig['tabStyle'];
|
|
119
|
-
tabGroup?: TabConfig['tabGroup'];
|
|
120
|
-
tabData?: TabConfig['tabData'];
|
|
121
|
-
stickyTop?: TabConfig['stickyTop'];
|
|
122
|
-
/** 分页配置 */
|
|
123
|
-
paginationType?: PaginationConfig['paginationType'];
|
|
124
|
-
defaultPageSize?: PaginationConfig['defaultPageSize'];
|
|
125
|
-
pageSize?: PaginationConfig['pageSize'];
|
|
126
|
-
pagination?: PaginationConfig['pagination'];
|
|
127
|
-
/** 数据和渲染 */
|
|
128
|
-
data?: TItem[];
|
|
129
|
-
children?: ReactNode;
|
|
130
|
-
renderItem?: (item: TItem, index: number) => ReactNode;
|
|
131
|
-
/** 回调函数 */
|
|
132
|
-
onLoadData?: (params: LoadDataParams) => void;
|
|
133
|
-
/** 状态配置 */
|
|
134
|
-
emptyConfig?: EmptyStateConfig;
|
|
135
|
-
loading?: boolean;
|
|
136
|
-
renderSearch?: () => ReactNode;
|
|
137
|
-
}
|
|
138
|
-
/** 向后兼容的非泛型版本 */
|
|
139
|
-
export interface LegacyListProps extends ListProps<any> {
|
|
140
|
-
/** 兼容旧的any[]类型 */
|
|
141
|
-
data?: any[];
|
|
142
|
-
renderItem?: (item: any, index: number) => ReactNode;
|
|
143
|
-
}
|
|
144
|
-
export interface TabItem {
|
|
145
|
-
/** 唯一标识,同时用作anchor模式下的锚点标识 */
|
|
146
|
-
key: string;
|
|
147
|
-
/** 显示文本 */
|
|
148
|
-
label: string;
|
|
149
|
-
/** 分组值,对应数据项中 tabGroup 指定字段的值 */
|
|
150
|
-
group?: string;
|
|
151
|
-
/** 是否禁用 */
|
|
152
|
-
disabled?: boolean;
|
|
153
|
-
}
|
|
154
|
-
export interface LoadMoreParams {
|
|
155
|
-
/** 当前页码 */
|
|
156
|
-
currentPage: number;
|
|
157
|
-
/** 每页数量 */
|
|
158
|
-
pageSize: number;
|
|
159
|
-
/** 当前tab */
|
|
160
|
-
activeTab?: string;
|
|
161
|
-
}
|
|
162
|
-
/** 数据加载触发类型 */
|
|
163
|
-
export declare type LoadDataTrigger = 'tabChange' | 'pagination' | 'pageSize' | 'loadMore' | 'scroll';
|
|
164
|
-
/** 统一的数据加载参数 */
|
|
165
|
-
export interface LoadDataParams {
|
|
166
|
-
/** 触发类型 */
|
|
167
|
-
trigger: LoadDataTrigger;
|
|
168
|
-
/** 当前页码 */
|
|
169
|
-
currentPage: number;
|
|
170
|
-
/** 每页数量 */
|
|
171
|
-
pageSize: number;
|
|
172
|
-
/** 当前激活的tab */
|
|
173
|
-
activeTab?: string;
|
|
174
|
-
/** 上一页页码(分页变化时提供) */
|
|
175
|
-
previousPage?: number;
|
|
176
|
-
/** 上一页大小(页大小变化时提供) */
|
|
177
|
-
previousPageSize?: number;
|
|
178
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 国际化文案获取工具函数
|
|
3
|
-
* 参考 AmountSummary 组件的实现方式,使用 useEngineContext 获取语言设置
|
|
4
|
-
*
|
|
5
|
-
* @example
|
|
6
|
-
* ```typescript
|
|
7
|
-
* import { useGetText } from './utils';
|
|
8
|
-
* import locales from './locales';
|
|
9
|
-
*
|
|
10
|
-
* const MyComponent = () => {
|
|
11
|
-
* const { getText, getTextFunc } = useGetText(locales);
|
|
12
|
-
*
|
|
13
|
-
* // 获取字符串文案
|
|
14
|
-
* const title = getText('component.title', 'Default Title');
|
|
15
|
-
*
|
|
16
|
-
* // 获取函数类型文案
|
|
17
|
-
* const formatFunc = getTextFunc('component.format');
|
|
18
|
-
* const formattedText = typeof formatFunc === 'function'
|
|
19
|
-
* ? formatFunc(arg1, arg2)
|
|
20
|
-
* : 'Default Text';
|
|
21
|
-
*
|
|
22
|
-
* return <div>{title}</div>;
|
|
23
|
-
* };
|
|
24
|
-
* ```
|
|
25
|
-
*/
|
|
26
|
-
export declare type SupportedLanguage = 'en' | 'zh-CN' | 'zh-HK';
|
|
27
|
-
export interface LocalesObject {
|
|
28
|
-
[key: string]: {
|
|
29
|
-
[key: string]: string | ((...args: any[]) => string);
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
export interface GetTextFunctions {
|
|
33
|
-
getText: (key: string, fallback?: string) => string;
|
|
34
|
-
getTextFunc: (key: string) => any;
|
|
35
|
-
getCurrentLanguage: () => string;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* 使用 useEngineContext 创建本地化文案获取函数的 Hook
|
|
39
|
-
* @param locales - 本地化文案对象
|
|
40
|
-
* @returns getText 和 getTextFunc 函数
|
|
41
|
-
*/
|
|
42
|
-
export declare const useGetText: (locales: LocalesObject) => GetTextFunctions;
|
|
43
|
-
/**
|
|
44
|
-
* 创建本地化文案获取函数(非 Hook 版本,保持向后兼容)
|
|
45
|
-
* @param locales - 本地化文案对象
|
|
46
|
-
* @returns getText 和 getTextFunc 函数
|
|
47
|
-
* @deprecated 推荐使用 useGetText Hook 版本
|
|
48
|
-
*/
|
|
49
|
-
export declare const createGetText: (locales: LocalesObject) => GetTextFunctions;
|
|
50
|
-
/**
|
|
51
|
-
* 默认导出:直接创建一个通用的 getText 函数工厂
|
|
52
|
-
*/
|
|
53
|
-
export default createGetText;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* List 组件工具函数导出
|
|
3
|
-
*/
|
|
4
|
-
export { useGetText, createGetText, default as createGetTextDefault, type SupportedLanguage, type LocalesObject, type GetTextFunctions, } from './getText';
|
|
5
|
-
/**
|
|
6
|
-
* 根据层级路径数组递归查找对应节点的 productIds
|
|
7
|
-
* @param nodes 当前层级的节点列表
|
|
8
|
-
* @param levelPath 层级路径数组,每个元素是对应层级的分类 ID
|
|
9
|
-
* @param currentLevel 当前遍历的层级索引
|
|
10
|
-
* @returns 找到的节点的 productIds,找不到返回空数组
|
|
11
|
-
*
|
|
12
|
-
* @description
|
|
13
|
-
* 特殊逻辑:如果 levelPath 末尾有连续的 0,则去掉所有末尾的 0
|
|
14
|
-
* 例如:
|
|
15
|
-
* - [1, 2, 0] -> 取 id=2 节点的 productIds
|
|
16
|
-
* - [1, 0, 0] -> 取 id=1 节点的 productIds
|
|
17
|
-
* - [3, 0, 0, 0] -> 取 id=3 节点的 productIds
|
|
18
|
-
*/
|
|
19
|
-
export declare const findProductIdsByPath: (nodes: any[], levelPath: (string | number)[], currentLevel?: number) => number[];
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PayMethod, PayMethodGroup } from '../../types';
|
|
3
|
-
import './index.less';
|
|
4
|
-
declare const ToBPayCardGroup: (props: {
|
|
5
|
-
data: PayMethodGroup;
|
|
6
|
-
onChange: (item: PayMethod, type: 'fullPay' | 'pay') => void;
|
|
7
|
-
}) => React.JSX.Element;
|
|
8
|
-
export default ToBPayCardGroup;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Order, PayMethod, PayMethodCode } from '../../types';
|
|
2
|
-
export declare const isEftposPay: (code: PayMethodCode) => boolean;
|
|
3
|
-
/**
|
|
4
|
-
* @title: 处理eftpos支付
|
|
5
|
-
* @description: 处理eftpos支付
|
|
6
|
-
* @param {any} action 引擎action
|
|
7
|
-
* @param {any} params 参数
|
|
8
|
-
* @param {any} successCallback 成功回调
|
|
9
|
-
*/
|
|
10
|
-
export declare const handleEftposPay: (action: any, params: {
|
|
11
|
-
payMethod: PayMethod;
|
|
12
|
-
order: Order;
|
|
13
|
-
symbol: string;
|
|
14
|
-
network: any;
|
|
15
|
-
type: string;
|
|
16
|
-
}, successCallback: (res: any) => void) => void;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
export interface EFTPOSProps {
|
|
4
|
-
dynamicMaxHeight?: string;
|
|
5
|
-
isWebPos?: boolean;
|
|
6
|
-
}
|
|
7
|
-
declare const _default: React.ForwardRefExoticComponent<EFTPOSProps & React.RefAttributes<unknown>>;
|
|
8
|
-
export default _default;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { default as ToBPayContent } from './Content';
|
|
2
|
-
export { default as ToBPayCard } from './Card';
|
|
3
|
-
export { default as ToBPayCardGroup } from './CardGroup';
|
|
4
|
-
export { default as ConfirmedPayment } from './ConfirmedPayment';
|
|
5
|
-
export { default as ToBPayCache } from './Cache';
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
en: {
|
|
3
|
-
'tobPay.text.back': string;
|
|
4
|
-
'tobPay.text.waitPay': string;
|
|
5
|
-
'tobPay.text.card.edit.amount': string;
|
|
6
|
-
'tobPay.text.group.normalPay': string;
|
|
7
|
-
'tobPay.text.group.thirdPay': string;
|
|
8
|
-
'tobPay.text.cancel': string;
|
|
9
|
-
'tobPay.text.submit': string;
|
|
10
|
-
'tobPay.text.confirmed.payment': string;
|
|
11
|
-
'tobPay.text.cash.modal.amount.toPay': string;
|
|
12
|
-
'tobPay.text.cash.modal.input.title': string;
|
|
13
|
-
'tobPay.text.cash.modal.no.change.given': string;
|
|
14
|
-
'tobPay.text.cash.modal.amount.pay.change': (money: string) => string;
|
|
15
|
-
'tobPay.text.cash.modal.amount.left.pay.paid': (money: string) => string;
|
|
16
|
-
'tobPay.text.cash.modal.ok': string;
|
|
17
|
-
'tobPay.text.payment.with.surcharge': string;
|
|
18
|
-
};
|
|
19
|
-
'zh-CN': {
|
|
20
|
-
'tobPay.text.back': string;
|
|
21
|
-
'tobPay.text.waitPay': string;
|
|
22
|
-
'tobPay.text.card.edit.amount': string;
|
|
23
|
-
'tobPay.text.group.normalPay': string;
|
|
24
|
-
'tobPay.text.group.thirdPay': string;
|
|
25
|
-
'tobPay.text.cancel': string;
|
|
26
|
-
'tobPay.text.submit': string;
|
|
27
|
-
'tobPay.text.confirmed.payment': string;
|
|
28
|
-
'tobPay.text.cash.modal.amount.toPay': string;
|
|
29
|
-
'tobPay.text.cash.modal.input.title': string;
|
|
30
|
-
'tobPay.text.cash.modal.no.change.given': string;
|
|
31
|
-
'tobPay.text.cash.modal.amount.pay.change': (money: string) => string;
|
|
32
|
-
'tobPay.text.cash.modal.amount.left.pay.paid': (money: string) => string;
|
|
33
|
-
'tobPay.text.cash.modal.ok': string;
|
|
34
|
-
'tobPay.text.payment.with.surcharge': string;
|
|
35
|
-
};
|
|
36
|
-
'zh-HK': {
|
|
37
|
-
'tobPay.text.back': string;
|
|
38
|
-
'tobPay.text.waitPay': string;
|
|
39
|
-
'tobPay.text.card.edit.amount': string;
|
|
40
|
-
'tobPay.text.group.normalPay': string;
|
|
41
|
-
'tobPay.text.group.thirdPay': string;
|
|
42
|
-
'tobPay.text.cancel': string;
|
|
43
|
-
'tobPay.text.submit': string;
|
|
44
|
-
'tobPay.text.confirmed.payment': string;
|
|
45
|
-
'tobPay.text.cash.modal.amount.toPay': string;
|
|
46
|
-
'tobPay.text.cash.modal.input.title': string;
|
|
47
|
-
'tobPay.text.cash.modal.no.change.given': string;
|
|
48
|
-
'tobPay.text.cash.modal.amount.pay.change': (money: string) => string;
|
|
49
|
-
'tobPay.text.cash.modal.amount.left.pay.paid': (money: string) => string;
|
|
50
|
-
'tobPay.text.cash.modal.ok': string;
|
|
51
|
-
'tobPay.text.payment.with.surcharge': string;
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
export default _default;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ToBPayParams } from '../types';
|
|
3
|
-
export interface PaymentMethodsRef {
|
|
4
|
-
onPay: (type: 'eftpos' | 'mx51', params: ToBPayParams) => void;
|
|
5
|
-
}
|
|
6
|
-
export interface PaymentMethodsProps {
|
|
7
|
-
dynamicMaxHeight?: string;
|
|
8
|
-
isWebPos?: boolean;
|
|
9
|
-
}
|
|
10
|
-
declare const _default: React.ForwardRefExoticComponent<PaymentMethodsProps & React.RefAttributes<PaymentMethodsRef>>;
|
|
11
|
-
export default _default;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ToBPayContextType } from '../types';
|
|
2
|
-
/**
|
|
3
|
-
* 使用商家端支付的Hook
|
|
4
|
-
* @throws {Error} 如果在ToBPayProvider外部使用会抛出错误
|
|
5
|
-
* @returns {ToBPayContextType} 商家端支付上下文
|
|
6
|
-
*/
|
|
7
|
-
export declare const useToBPay: () => ToBPayContextType;
|
|
8
|
-
export declare const useOSPayment: () => any;
|
|
9
|
-
/**
|
|
10
|
-
* 使用OS支付的Hook
|
|
11
|
-
*/
|
|
12
|
-
export declare const useOSPaymentEffect: () => {
|
|
13
|
-
osPaymentEffectOn: () => void;
|
|
14
|
-
osPaymentEffectOff: () => void;
|
|
15
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { PayMethod, PayMethodGroup } from '../types';
|
|
2
|
-
/**
|
|
3
|
-
* 处理支付方式列表
|
|
4
|
-
* @param payMethodList 支付方式列表
|
|
5
|
-
* @returns 处理后的支付方式列表
|
|
6
|
-
*/
|
|
7
|
-
export declare const handlePayMethodList: (payMethodList: PayMethod[]) => PayMethodGroup[];
|
|
8
|
-
/**
|
|
9
|
-
* inputNumber过滤
|
|
10
|
-
* @param value
|
|
11
|
-
* @returns string
|
|
12
|
-
*/
|
|
13
|
-
export declare const limitDecimals: (value: any) => any;
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
export * from './storeTypes';
|
|
2
|
-
export interface ToBPayParams {
|
|
3
|
-
source?: 'normal' | 'restore';
|
|
4
|
-
data: {
|
|
5
|
-
type?: string;
|
|
6
|
-
payMethod: {
|
|
7
|
-
id: string;
|
|
8
|
-
code: string;
|
|
9
|
-
type: string;
|
|
10
|
-
name: string;
|
|
11
|
-
};
|
|
12
|
-
params: {
|
|
13
|
-
orderId: string | number;
|
|
14
|
-
symbol?: string;
|
|
15
|
-
amount: string;
|
|
16
|
-
surcharge?: string;
|
|
17
|
-
};
|
|
18
|
-
mode: 'pay' | 'refund';
|
|
19
|
-
};
|
|
20
|
-
callback: ToBPayCallback;
|
|
21
|
-
}
|
|
22
|
-
export declare type ToBPayCallback = (res: {
|
|
23
|
-
status: string;
|
|
24
|
-
data: {
|
|
25
|
-
amount: number;
|
|
26
|
-
surPercentRate?: number;
|
|
27
|
-
surMoney?: number;
|
|
28
|
-
surcharge?: number;
|
|
29
|
-
uniquePaymentNumber?: string;
|
|
30
|
-
};
|
|
31
|
-
msg?: string;
|
|
32
|
-
}) => void;
|
|
33
|
-
/**
|
|
34
|
-
* @title: 支付打开参数
|
|
35
|
-
*/
|
|
36
|
-
export interface PayOpenParams extends Omit<ToBPayParams, 'callback'> {
|
|
37
|
-
payCallback: (res: EftposPayResult | MX51PayResult) => void;
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* @title: eftpos支付结果
|
|
41
|
-
*/
|
|
42
|
-
export interface EftposPayResult {
|
|
43
|
-
status: 'success' | 'fail';
|
|
44
|
-
params: {
|
|
45
|
-
amount: number;
|
|
46
|
-
surPercentRate: number;
|
|
47
|
-
surMoney: number;
|
|
48
|
-
uniquePaymentNumber: string;
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* @title: MX51支付结果
|
|
53
|
-
*/
|
|
54
|
-
export interface MX51PayResult {
|
|
55
|
-
result: boolean;
|
|
56
|
-
msg?: string;
|
|
57
|
-
amount: number;
|
|
58
|
-
surcharge: number;
|
|
59
|
-
uniquePaymentNumber: string;
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* @title 原生MX51支付结果
|
|
63
|
-
*/
|
|
64
|
-
export interface NativeMX51PayResult {
|
|
65
|
-
code: string;
|
|
66
|
-
msg?: string;
|
|
67
|
-
data: {
|
|
68
|
-
amount: number;
|
|
69
|
-
surcharge: number;
|
|
70
|
-
};
|
|
71
|
-
uuid: string;
|
|
72
|
-
}
|