@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,150 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 钱包列表查询参数接口
|
|
3
|
+
*/
|
|
4
|
+
export interface IWalletListParmsProps {
|
|
5
|
+
tag?: string;
|
|
6
|
+
sales_status?: 1 | 0 | -1;
|
|
7
|
+
machine_search?: string;
|
|
8
|
+
createdDate?: string;
|
|
9
|
+
limit_status?: string;
|
|
10
|
+
relation_id?: string;
|
|
11
|
+
relation_type?: string;
|
|
12
|
+
customer_id?: number;
|
|
13
|
+
sort?: 'desc' | 'asc';
|
|
14
|
+
order_by?: string;
|
|
15
|
+
used_status?: string;
|
|
16
|
+
num?: number;
|
|
17
|
+
skip?: number;
|
|
18
|
+
with?: string[];
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* 钱包列表项属性接口
|
|
22
|
+
*/
|
|
23
|
+
export interface IWalletListItemProps {
|
|
24
|
+
id?: number | string;
|
|
25
|
+
encoded?: string;
|
|
26
|
+
code?: string;
|
|
27
|
+
limit_status?: string;
|
|
28
|
+
customer_id?: number;
|
|
29
|
+
generate_method?: 'not_settable' | 'before_order' | 'after_order';
|
|
30
|
+
created_at?: string;
|
|
31
|
+
product_id?: number;
|
|
32
|
+
sales_status?: 1 | 0;
|
|
33
|
+
tag?: string;
|
|
34
|
+
status?: string;
|
|
35
|
+
redeemed_at?: string;
|
|
36
|
+
collection_time?: string;
|
|
37
|
+
order_id?: number;
|
|
38
|
+
par_value?: string;
|
|
39
|
+
write_status?: number;
|
|
40
|
+
expire_date?: string;
|
|
41
|
+
balance?: string;
|
|
42
|
+
extension_id?: string;
|
|
43
|
+
product_title?: string;
|
|
44
|
+
product_cover?: string;
|
|
45
|
+
product?: IProductProps;
|
|
46
|
+
unified_available_status?: IUnifiedAvailableStatus;
|
|
47
|
+
shop: IShop;
|
|
48
|
+
unified_messages: any;
|
|
49
|
+
machinecode_config?: {
|
|
50
|
+
hide_recharge?: number;
|
|
51
|
+
};
|
|
52
|
+
metadata: {
|
|
53
|
+
validity_type: string;
|
|
54
|
+
};
|
|
55
|
+
custom_schedule_snapshot: {
|
|
56
|
+
data: any[];
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* 商店信息接口
|
|
61
|
+
*/
|
|
62
|
+
export interface IShop {
|
|
63
|
+
name: string;
|
|
64
|
+
id: number;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* 统一可用状态接口
|
|
68
|
+
*/
|
|
69
|
+
export interface IUnifiedAvailableStatus {
|
|
70
|
+
title?: string;
|
|
71
|
+
desc?: string;
|
|
72
|
+
alert?: string;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* 商品属性接口
|
|
76
|
+
*/
|
|
77
|
+
export interface IProductProps {
|
|
78
|
+
id?: number;
|
|
79
|
+
title?: string;
|
|
80
|
+
description?: string;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* API响应接口
|
|
84
|
+
*/
|
|
85
|
+
export interface ApiResponse<T> {
|
|
86
|
+
data: T;
|
|
87
|
+
code?: number;
|
|
88
|
+
message?: string;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* 错误处理函数类型
|
|
92
|
+
*/
|
|
93
|
+
export declare type ErrorCallback = () => void;
|
|
94
|
+
/**
|
|
95
|
+
* 获取钱包列表
|
|
96
|
+
* @param params 查询参数
|
|
97
|
+
* @returns Promise<{list: IWalletListItemProps[], count: number}> 钱包列表和总数
|
|
98
|
+
* @throws 请求失败时抛出错误
|
|
99
|
+
*/
|
|
100
|
+
export declare const getWalletList: (params?: IWalletListParmsProps) => Promise<{
|
|
101
|
+
list: IWalletListItemProps[];
|
|
102
|
+
count: number;
|
|
103
|
+
}>;
|
|
104
|
+
/**
|
|
105
|
+
* 通过code绑定客户
|
|
106
|
+
* @param params 请求参数,包含code
|
|
107
|
+
* @param errCallback 错误回调
|
|
108
|
+
* @returns Promise<any> 绑定结果
|
|
109
|
+
*/
|
|
110
|
+
export declare const customer: (params: {
|
|
111
|
+
code: string;
|
|
112
|
+
}, errCallback: ErrorCallback) => Promise<any>;
|
|
113
|
+
/**
|
|
114
|
+
* 用户根据code查询待绑定识别码列表
|
|
115
|
+
* @param params 请求参数,包含code和tag
|
|
116
|
+
* @param errCallback 错误回调函数
|
|
117
|
+
* @returns Promise<IWalletListItemProps[] | null> 未绑定的钱包卡列表
|
|
118
|
+
*/
|
|
119
|
+
export declare const unbindList: (params: {
|
|
120
|
+
code: string;
|
|
121
|
+
tag: string;
|
|
122
|
+
}, errCallback: ErrorCallback) => Promise<IWalletListItemProps[] | null>;
|
|
123
|
+
/**
|
|
124
|
+
* 下单请求参数接口
|
|
125
|
+
*/
|
|
126
|
+
export interface IOrderParams {
|
|
127
|
+
voucher_id: string;
|
|
128
|
+
product_id: string;
|
|
129
|
+
product_variant_id: string;
|
|
130
|
+
quantity: number;
|
|
131
|
+
type: string;
|
|
132
|
+
platform: string;
|
|
133
|
+
currency_code: {
|
|
134
|
+
currency_code: string;
|
|
135
|
+
currency_symbol: string;
|
|
136
|
+
currency_format: string;
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* 下单
|
|
141
|
+
* @param params 下单参数
|
|
142
|
+
* @returns Promise<any> 下单结果
|
|
143
|
+
* @throws 请求失败时抛出错误
|
|
144
|
+
*/
|
|
145
|
+
export declare const goOrder: (params: IOrderParams) => Promise<any>;
|
|
146
|
+
/**
|
|
147
|
+
* 设置请求对象
|
|
148
|
+
* @param req 请求对象
|
|
149
|
+
*/
|
|
150
|
+
export declare const setRequest: (req: any) => void;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { IWalletListItemProps } from '../serve';
|
|
2
|
+
/**
|
|
3
|
+
* 格式化数据为可用和不可用两组
|
|
4
|
+
* @param dataList 数据列表
|
|
5
|
+
* @returns [available, unavailable] 格式化后的数据
|
|
6
|
+
*/
|
|
7
|
+
export declare const formatDataToGroups: (dataList: IWalletListItemProps[]) => {
|
|
8
|
+
title: any;
|
|
9
|
+
dataSource: IWalletListItemProps[];
|
|
10
|
+
}[];
|
|
11
|
+
/**
|
|
12
|
+
* 计算可用卡片总余额
|
|
13
|
+
* @param dataList 数据列表
|
|
14
|
+
* @param valueField 值字段名,默认为balance
|
|
15
|
+
* @returns number 总余额
|
|
16
|
+
*/
|
|
17
|
+
export declare const calculateTotalValue: (dataList: IWalletListItemProps[], valueField?: string) => number;
|
|
18
|
+
/**
|
|
19
|
+
* 检查是否存在可用卡片
|
|
20
|
+
* @param dataList 数据列表
|
|
21
|
+
* @returns boolean 是否有可用卡片
|
|
22
|
+
*/
|
|
23
|
+
export declare const hasAvailableCards: (dataList: IWalletListItemProps[]) => boolean;
|
|
24
|
+
/**
|
|
25
|
+
* 查找卡片详情
|
|
26
|
+
* @param dataList 数据列表
|
|
27
|
+
* @param id 卡片ID
|
|
28
|
+
* @returns 卡片详情或undefined
|
|
29
|
+
*/
|
|
30
|
+
export declare const findCardById: (dataList: IWalletListItemProps[], id?: string | number) => IWalletListItemProps | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* 创建状态转换对象
|
|
33
|
+
* @param translations 转换映射
|
|
34
|
+
* @returns 转换对象
|
|
35
|
+
*/
|
|
36
|
+
export declare const createStatusMap: (translations: Record<string, string>) => (status: string) => string;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'page.wallet.guide.title': string;
|
|
4
|
+
'page.wallet.guide.subtitle': string;
|
|
5
|
+
'page.wallet.guide.button': string;
|
|
6
|
+
};
|
|
7
|
+
'zh-CN': {
|
|
8
|
+
'page.wallet.guide.title': string;
|
|
9
|
+
'page.wallet.guide.subtitle': string;
|
|
10
|
+
'page.wallet.guide.button': string;
|
|
11
|
+
};
|
|
12
|
+
'zh-HK': {
|
|
13
|
+
'page.wallet.guide.title': string;
|
|
14
|
+
'page.wallet.guide.subtitle': string;
|
|
15
|
+
'page.wallet.guide.button': string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { WalletPass, WalletBalance } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* 获取 wallet 列表
|
|
4
|
+
* @param params
|
|
5
|
+
* @returns
|
|
6
|
+
*/
|
|
7
|
+
export declare const getWalletList: () => Promise<WalletPass[]>;
|
|
8
|
+
/**
|
|
9
|
+
* 获取钱包余额
|
|
10
|
+
* @returns
|
|
11
|
+
*/
|
|
12
|
+
export declare const getWalletBalance: () => Promise<WalletBalance | null>;
|
|
13
|
+
/**
|
|
14
|
+
* 批量获取钱包余额信息
|
|
15
|
+
*/
|
|
16
|
+
export declare const batchGetWalletBalance: (walletIds: string[]) => Promise<Record<string, WalletBalance> | null>;
|
|
17
|
+
/**
|
|
18
|
+
* @title: 获取钱包店铺列表
|
|
19
|
+
* @description:
|
|
20
|
+
* @return {*}
|
|
21
|
+
* @Author: WangHan
|
|
22
|
+
* @Date: 2025-06-09 11:12
|
|
23
|
+
*/
|
|
24
|
+
export declare const getWalletShopList: (params: any) => Promise<any>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { CardListProps } from './../CardList';
|
|
2
|
+
import { SearchBarProps } from './../SearchBar';
|
|
3
|
+
import { FC } from 'react';
|
|
4
|
+
import './index.less';
|
|
5
|
+
export interface WorkspaceItemProps {
|
|
6
|
+
title: string;
|
|
7
|
+
describe?: string;
|
|
8
|
+
data: any[];
|
|
9
|
+
isDetail?: boolean;
|
|
10
|
+
id: number;
|
|
11
|
+
onSort?: SearchBarProps['onSort'];
|
|
12
|
+
onAddBase: SearchBarProps['onAddBase'];
|
|
13
|
+
onRefresh?: () => void;
|
|
14
|
+
onDelete?: () => void;
|
|
15
|
+
onDeleteBase?: (id: number) => void;
|
|
16
|
+
onUpdateBase?: CardListProps['onUpdateBase'];
|
|
17
|
+
loading?: boolean;
|
|
18
|
+
scrollRef?: any;
|
|
19
|
+
baseCount?: number;
|
|
20
|
+
}
|
|
21
|
+
declare const WorkspaceItem: FC<WorkspaceItemProps>;
|
|
22
|
+
export default WorkspaceItem;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { default as useComponents } from './useComponents';
|
|
2
|
+
export { default as useEngineContext } from './useEngineContext';
|
|
3
|
+
export { default as useLocale } from './useLocale';
|
|
4
|
+
export { default as useLoginUser } from './useLoginUser';
|
|
5
|
+
export { default as useModal } from './useModal';
|
|
6
|
+
export { default as usePrefix } from './usePrefix';
|
|
7
|
+
export { default as useToast } from './useToast';
|
|
8
|
+
export { default as useTranslationOriginal } from './useTranslationOriginal';
|
|
9
|
+
export { default as useWindowSize } from './useWindowSize';
|
|
10
|
+
export type { UseModalOptions, UseModalReturn } from './useModal';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* useModal Hook 使用示例
|
|
4
|
+
*
|
|
5
|
+
* 这个文件展示了 useModal hook 的各种用法
|
|
6
|
+
*/
|
|
7
|
+
export declare const BasicExample: React.FC;
|
|
8
|
+
export declare const WithDefaultPropsExample: React.FC;
|
|
9
|
+
export declare const DynamicConfigExample: React.FC;
|
|
10
|
+
export declare const WithConfirmExample: React.FC;
|
|
11
|
+
export declare const ComplexContentExample: React.FC;
|
|
12
|
+
export declare const UseModalExamples: React.FC;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* 如何在现有组件中集成新的 useModal hook 的示例
|
|
4
|
+
*
|
|
5
|
+
* 这个示例展示了如何重构 SendPaymentLinkModal 来使用新的 useModal hook
|
|
6
|
+
*/
|
|
7
|
+
interface SendPaymentLinkModalProps {
|
|
8
|
+
balanceAmount?: string;
|
|
9
|
+
customerEmail?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const SendPaymentLinkModal: React.FC<SendPaymentLinkModalProps>;
|
|
12
|
+
export declare const ConfirmDeleteModal: React.FC;
|
|
13
|
+
export declare const InfoModal: React.FC;
|
|
14
|
+
export declare const IntegrationExamples: React.FC;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function useTranslationOriginal(): any;
|
package/lib/index.d.ts
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
export { default as Login } from './components/login';
|
|
2
|
+
export type { LoginProps } from './components/login';
|
|
3
|
+
export { default as BookingInfo } from './components/booking/info/index';
|
|
4
|
+
export { default as BookingNotes } from './components/booking/notes';
|
|
5
|
+
export { default as BookingAddons } from './components/booking/addons';
|
|
6
|
+
export { default as BookingForms } from './components/booking/forms';
|
|
7
|
+
export { default as BookingPayment } from './components/booking/payments';
|
|
8
|
+
export { default as Booking } from './components/booking';
|
|
9
|
+
export { default as Schedules } from './components/schedules';
|
|
10
|
+
export { default as BookingResources } from './components/booking/materiels/resources';
|
|
11
|
+
export { default as BookingStartTime } from './components/booking/materiels/startTime';
|
|
12
|
+
export { default as BookingDuration } from './components/booking/materiels/duration';
|
|
13
|
+
export { default as BookingContacts } from './components/booking/materiels/contacts';
|
|
14
|
+
export { VerticalClient } from './components/booking/info/clientVariant';
|
|
15
|
+
export { default as VerticalAddService } from './components/booking/info/addServiceVariant';
|
|
16
|
+
export { default as ProductExtension } from './components/productExtension';
|
|
17
|
+
export { default as BookingDeposit } from './components/booking/deposit';
|
|
18
|
+
export { default as WorkspaceList } from './components/workSpaceList';
|
|
19
|
+
export { default as WorkspaceListDetail } from './components/workSpaceListDetail';
|
|
20
|
+
export { default as RuleSetting } from './components/ruleSetting';
|
|
21
|
+
export { default as TaxSelect } from './components/taxSelect';
|
|
22
|
+
export { default as EftposPay } from './components/eftposPay';
|
|
23
|
+
export { default as ToCPay } from './components/pay/toC';
|
|
24
|
+
export { default as ToBPay } from './components/pay/toB';
|
|
25
|
+
export { default as Eftpos } from './components/eftpos';
|
|
26
|
+
export { default as Wallet } from './components/wallet';
|
|
27
|
+
export { default as WalletList } from './components/walletList';
|
|
28
|
+
export { default as BookingDashboard } from './components/booking/dashboard';
|
|
29
|
+
export { default as PisellSelectCustomerModal } from './components/pisellSelectCustomerModal';
|
|
30
|
+
export { default as EventBooking } from './components/eventBooking';
|
|
31
|
+
export { default as EventCard } from './components/eventBooking/components/eventCard';
|
|
32
|
+
export { default as EventResourceDisplay } from './components/eventBooking/components/resourceDisplay';
|
|
33
|
+
export { default as EventResourceUsability } from './components/eventBooking/components/resourceUsability';
|
|
34
|
+
export { default as EventProductCard } from './components/eventBooking/components/productCard';
|
|
35
|
+
export { default as EventTimeResourceSelector } from './components/eventBooking/components/timeResourceSelector';
|
|
36
|
+
export { default as EventSelectHolder } from './components/eventBooking/components/selectHolder';
|
|
37
|
+
export { default as EventBookingServiceList } from './components/eventBooking/components/bookingServiceList';
|
|
38
|
+
export { default as EventBookingAvailabilityCalendar } from './components/eventBooking/components/bookingAvailabilityCalendar';
|
|
39
|
+
export { default as EventScheduleCalendar } from './components/eventBooking/components/scheduleCalendar';
|
|
40
|
+
export { default as EventBookingDetailModal } from './components/eventBooking/components/bookingDetailModal';
|
|
41
|
+
export { default as EventProgressBar } from './components/eventBooking/components/progressBar';
|
|
42
|
+
export { default as ShoppingCart } from './components/shoppingCart';
|
|
43
|
+
export { default as AppointmentBooking } from './components/appointmentBooking';
|
|
44
|
+
export { default as AppointmentDeposit } from './components/appointmentBooking/deposit';
|
|
45
|
+
export { default as TicketBooking } from './components/ticketBooking';
|
|
46
|
+
export { default as SubTotal } from './components/subTotal';
|
|
47
|
+
export { default as EditBookingModal } from './components/booking/editBookingModal';
|
|
48
|
+
export { default as StepController } from './components/stepController';
|
|
49
|
+
export { default as ClientCard } from './plus/clientCard';
|
|
50
|
+
export { default as ClientSearch } from './plus/clinetSearch';
|
|
51
|
+
export { default as ComprehensiveSearch } from './pro/comprehensiveSearch';
|
|
52
|
+
export { default as NoteModal } from './plus/noteModal';
|
|
53
|
+
export { default as ProNumberKeyboard } from './pro/numberKeyboard';
|
|
54
|
+
export { default as ProNumberSelector } from './pro/pisellNumberSelector';
|
|
55
|
+
export { default as ProPhoneSelector } from './pro/pisellPhoneKeyboard';
|
|
56
|
+
export { default as ProPriceKeyboard } from './pro/pisellPriceKeyboardModal';
|
|
57
|
+
export { default as ProPriceRadio } from './pro/pisellPriceRadio';
|
|
58
|
+
export { default as ProSkuDetailModal } from './pro/skuDetailModal';
|
|
59
|
+
export { default as SaasLogin } from './plus/saasLogin';
|
|
60
|
+
export { default as SaasRegister } from './plus/saasRegister';
|
|
61
|
+
export { default as SaasCreateOrganization } from './plus/saasCreateOrganization';
|
|
62
|
+
export { default as SkuCard } from './plus/productSelect/ProductCard/SkuCard';
|
|
63
|
+
export { default as PinModal } from './components/pinModal';
|
|
64
|
+
export { default as PinVerifyModal } from './components/pinVerifyModal';
|
|
65
|
+
export { ResponsiveList as SkuList } from './components/list';
|
|
66
|
+
export { OAuthConfig, SaaSAdminAuth, OrgAdminAuth, CustomerAuth, CustomerOAuthConfig, DeviceAuth, POSOperatorAuth, OnlineShopAuth, SaaSManagermentAuth } from './components/authentication/admin';
|
|
67
|
+
export type { SaaSAdminAuthProps, OrgAdminAuthProps, DeviceAuthProps, POSOperatorAuthProps, CustomerOAuthConfigProps } from './components/authentication/admin';
|
|
68
|
+
export { default as ContactInfo } from './plus/contactInfo';
|
|
69
|
+
export { default as ContactInfoModal } from './plus/contactInfoModal';
|
|
70
|
+
export { Login2, Register2, AuthModal } from './pro/Login2.0';
|
|
71
|
+
export { default as WalletEditor } from './plus/walletEditor';
|
|
72
|
+
export { default as WalletPassGallery } from './plus/walletPassGallery';
|
|
73
|
+
export { default as WalletPassDetail } from './plus/walletPassGallery/components/passDetail';
|
|
74
|
+
export { default as SettingsRegistry } from './components/systemSettings/registry';
|
|
75
|
+
export { default as Selector } from './pro/Selector';
|
|
76
|
+
export { default as WebPosLogin } from './plus/webPosLogin';
|
|
77
|
+
export { default as PaymentModal } from './components/checkout/plugin';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.text.add-client': string;
|
|
4
|
+
'pisell2.text.change-client': string;
|
|
5
|
+
'pisell2.text.remove-client': string;
|
|
6
|
+
};
|
|
7
|
+
'zh-CN': {
|
|
8
|
+
'pisell2.text.add-client': string;
|
|
9
|
+
'pisell2.text.change-client': string;
|
|
10
|
+
'pisell2.text.remove-client': string;
|
|
11
|
+
};
|
|
12
|
+
'zh-HK': {
|
|
13
|
+
'pisell2.text.add-client': string;
|
|
14
|
+
'pisell2.text.change-client': string;
|
|
15
|
+
'pisell2.text.remove-client': string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import React, { ReactElement } from 'react';
|
|
2
|
+
export interface ClientData {
|
|
3
|
+
id: number;
|
|
4
|
+
shop_id: number;
|
|
5
|
+
display_name?: string;
|
|
6
|
+
nickname?: string;
|
|
7
|
+
email?: string;
|
|
8
|
+
phone?: string;
|
|
9
|
+
country_calling_code?: string;
|
|
10
|
+
channel?: string;
|
|
11
|
+
created_at: string;
|
|
12
|
+
updated_at: string;
|
|
13
|
+
waiver_form?: any;
|
|
14
|
+
avatar?: string;
|
|
15
|
+
birthday?: string;
|
|
16
|
+
address?: string;
|
|
17
|
+
tags?: string[];
|
|
18
|
+
[key: string]: any;
|
|
19
|
+
}
|
|
20
|
+
export declare type CardType = 'b1' | 'b2' | 'b5' | 'b9';
|
|
21
|
+
export declare type Direction = 'horizontal' | 'vertical';
|
|
22
|
+
export declare type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | number | string;
|
|
23
|
+
export declare type AvatarShape = 'circle' | 'square';
|
|
24
|
+
export interface AvatarConfig {
|
|
25
|
+
icon?: string;
|
|
26
|
+
shape?: AvatarShape;
|
|
27
|
+
borderRadius?: number | string;
|
|
28
|
+
size?: AvatarSize;
|
|
29
|
+
useTextAvatar?: boolean;
|
|
30
|
+
children?: string;
|
|
31
|
+
}
|
|
32
|
+
export interface StatusConfig {
|
|
33
|
+
color?: string;
|
|
34
|
+
}
|
|
35
|
+
export interface NameStyle {
|
|
36
|
+
fontSize?: number | string;
|
|
37
|
+
fontWeight?: number | string;
|
|
38
|
+
color?: string;
|
|
39
|
+
textDecoration?: string;
|
|
40
|
+
}
|
|
41
|
+
export interface TagItem {
|
|
42
|
+
children: string;
|
|
43
|
+
color: string;
|
|
44
|
+
}
|
|
45
|
+
export interface TagConfig {
|
|
46
|
+
placement?: 'separate' | 'inline';
|
|
47
|
+
flexWrap?: 'nowrap' | 'wrap';
|
|
48
|
+
gap?: number | string;
|
|
49
|
+
}
|
|
50
|
+
export interface ExtraField {
|
|
51
|
+
label?: string;
|
|
52
|
+
value?: string;
|
|
53
|
+
isShowLabel?: boolean;
|
|
54
|
+
isShowValue?: boolean;
|
|
55
|
+
icon?: string;
|
|
56
|
+
iconSize?: number;
|
|
57
|
+
iconColor?: string;
|
|
58
|
+
}
|
|
59
|
+
export interface Slots {
|
|
60
|
+
top?: React.ReactNode;
|
|
61
|
+
bottom?: React.ReactNode;
|
|
62
|
+
left?: React.ReactNode;
|
|
63
|
+
right?: React.ReactNode;
|
|
64
|
+
}
|
|
65
|
+
export interface StyleConfig {
|
|
66
|
+
width?: number | string;
|
|
67
|
+
border?: 'solid' | 'unset';
|
|
68
|
+
borderWidth?: number | string;
|
|
69
|
+
borderColor?: string;
|
|
70
|
+
borderRadius?: number | string;
|
|
71
|
+
padding?: number | string;
|
|
72
|
+
[key: string]: any;
|
|
73
|
+
}
|
|
74
|
+
export interface FieldNames {
|
|
75
|
+
id?: string | ((data: any) => any);
|
|
76
|
+
name?: string | ((data: any) => any);
|
|
77
|
+
cover?: string | ((data: any) => any);
|
|
78
|
+
phone?: string | ((data: any) => any);
|
|
79
|
+
email?: string | ((data: any) => any);
|
|
80
|
+
birthday?: string | ((data: any) => any);
|
|
81
|
+
address?: string | ((data: any) => any);
|
|
82
|
+
tags?: string | ((data: any) => any);
|
|
83
|
+
[key: string]: string | ((data: any) => any) | undefined;
|
|
84
|
+
}
|
|
85
|
+
export interface DisplayConfig {
|
|
86
|
+
isShowAvatar?: boolean;
|
|
87
|
+
isShowName?: boolean;
|
|
88
|
+
isShowPhone?: boolean;
|
|
89
|
+
isShowEmail?: boolean;
|
|
90
|
+
isShowBirthday?: boolean;
|
|
91
|
+
isShowAddress?: boolean;
|
|
92
|
+
isShowTag?: boolean;
|
|
93
|
+
isShowStatus?: boolean;
|
|
94
|
+
}
|
|
95
|
+
export interface ClientCardProps extends DisplayConfig {
|
|
96
|
+
type?: CardType;
|
|
97
|
+
direction?: Direction;
|
|
98
|
+
dataSource?: ClientData | any;
|
|
99
|
+
fieldNames?: FieldNames;
|
|
100
|
+
style?: StyleConfig;
|
|
101
|
+
horizontalGap?: number | string;
|
|
102
|
+
verticalGap?: number | string;
|
|
103
|
+
avatar?: AvatarConfig;
|
|
104
|
+
status?: StatusConfig;
|
|
105
|
+
dropdown?: {
|
|
106
|
+
open?: boolean;
|
|
107
|
+
buttonProps?: {
|
|
108
|
+
icon?: ReactElement;
|
|
109
|
+
onClick?: (e: Event) => void;
|
|
110
|
+
style?: React.CSSProperties;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
defaultName?: string;
|
|
114
|
+
nameStyle?: NameStyle;
|
|
115
|
+
tags?: Array<TagItem | string>;
|
|
116
|
+
tag?: TagConfig;
|
|
117
|
+
extraFields?: ExtraField[];
|
|
118
|
+
slots?: Slots;
|
|
119
|
+
onAddClient?: () => void;
|
|
120
|
+
onChangeClient?: (data: ClientData) => void;
|
|
121
|
+
onRemoveClient?: (data: ClientData) => void;
|
|
122
|
+
onViewClient?: (data: ClientData) => void;
|
|
123
|
+
}
|
|
124
|
+
export interface ProcessedClientData {
|
|
125
|
+
id: any;
|
|
126
|
+
name: string;
|
|
127
|
+
cover?: string;
|
|
128
|
+
phone?: string;
|
|
129
|
+
email?: string;
|
|
130
|
+
birthday?: string;
|
|
131
|
+
address?: string;
|
|
132
|
+
tags?: string[];
|
|
133
|
+
[key: string]: any;
|
|
134
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
interface FieldMapping<T = any, R = any> {
|
|
2
|
+
[key: string]: string | ((data: T) => R) | undefined;
|
|
3
|
+
}
|
|
4
|
+
export declare function getFieldValue<T, R = any>(data: T, fieldKey: string): R | undefined;
|
|
5
|
+
export declare function getFieldValue<T, R = any>(data: T, fieldKey: string, mapping: FieldMapping<T, R>): R | undefined;
|
|
6
|
+
export declare const getAvatarText: (name: string) => string;
|
|
7
|
+
export declare const isWalkIn: (customer_id?: number | string) => boolean;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { ReactNode, CSSProperties } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* 无限滚动组件的属性接口
|
|
4
|
+
*/
|
|
5
|
+
export interface InfiniteScrollProps {
|
|
6
|
+
/** 数据长度,用于判断是否需要加载更多 */
|
|
7
|
+
dataLength: number;
|
|
8
|
+
/** 加载更多数据的函数 */
|
|
9
|
+
next: () => void;
|
|
10
|
+
/** 是否还有更多数据 */
|
|
11
|
+
hasMore: boolean;
|
|
12
|
+
/** 加载中显示的组件 */
|
|
13
|
+
loader?: ReactNode;
|
|
14
|
+
/** 没有更多数据时显示的组件 */
|
|
15
|
+
endMessage?: ReactNode;
|
|
16
|
+
/** 滚动容器的高度 */
|
|
17
|
+
height?: number | string;
|
|
18
|
+
/** 滚动阈值,0-1之间的数值或像素值 */
|
|
19
|
+
scrollThreshold?: number | string;
|
|
20
|
+
/** 滚动事件回调 */
|
|
21
|
+
onScroll?: (event: Event) => void;
|
|
22
|
+
/** 自定义样式 */
|
|
23
|
+
style?: CSSProperties;
|
|
24
|
+
/** 自定义类名 */
|
|
25
|
+
className?: string;
|
|
26
|
+
/** 指定滚动容器的目标元素ID */
|
|
27
|
+
scrollableTarget?: string;
|
|
28
|
+
/** 子元素 */
|
|
29
|
+
children: ReactNode;
|
|
30
|
+
/** 是否反向滚动 */
|
|
31
|
+
inverse?: boolean;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* 滚动位置信息
|
|
35
|
+
*/
|
|
36
|
+
export interface ScrollPosition {
|
|
37
|
+
scrollTop: number;
|
|
38
|
+
scrollHeight: number;
|
|
39
|
+
clientHeight: number;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* 组件内部状态
|
|
43
|
+
*/
|
|
44
|
+
export interface InfiniteScrollState {
|
|
45
|
+
isLoading: boolean;
|
|
46
|
+
}
|