@pisell/private-materials 6.8.5 → 6.8.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/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/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/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/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/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,48 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.text.satisfy_any_condition': string;
|
|
4
|
+
'pisell2.text.add': string;
|
|
5
|
+
'pisell2.text.and': string;
|
|
6
|
+
'pisell2.text.or': string;
|
|
7
|
+
'pisell2.text.all': string;
|
|
8
|
+
'pisell2.text.rule-setting.Contain': string;
|
|
9
|
+
'pisell2.text.rule-setting.Exclude': string;
|
|
10
|
+
'pisell2.text.rule-setting.order_type': string;
|
|
11
|
+
'pisell2.text.rule-setting.sales_channel': string;
|
|
12
|
+
'pisell2.text.rule-setting.staff': string;
|
|
13
|
+
'pisell2.text.rule-setting.payment_method': string;
|
|
14
|
+
'pisell2.text.rule-setting.pisell_terminal_device': string;
|
|
15
|
+
'pisell2.text.rule-setting.current_device': string;
|
|
16
|
+
};
|
|
17
|
+
'zh-CN': {
|
|
18
|
+
'pisell2.text.satisfy_any_condition': string;
|
|
19
|
+
'pisell2.text.and': string;
|
|
20
|
+
'pisell2.text.or': string;
|
|
21
|
+
'pisell2.text.all': string;
|
|
22
|
+
'pisell2.text.add': string;
|
|
23
|
+
'pisell2.text.rule-setting.Contain': string;
|
|
24
|
+
'pisell2.text.rule-setting.Exclude': string;
|
|
25
|
+
'pisell2.text.rule-setting.order_type': string;
|
|
26
|
+
'pisell2.text.rule-setting.sales_channel': string;
|
|
27
|
+
'pisell2.text.rule-setting.staff': string;
|
|
28
|
+
'pisell2.text.rule-setting.payment_method': string;
|
|
29
|
+
'pisell2.text.rule-setting.pisell_terminal_device': string;
|
|
30
|
+
'pisell2.text.rule-setting.current_device': string;
|
|
31
|
+
};
|
|
32
|
+
'zh-HK': {
|
|
33
|
+
'pisell2.text.satisfy_any_condition': string;
|
|
34
|
+
'pisell2.text.and': string;
|
|
35
|
+
'pisell2.text.or': string;
|
|
36
|
+
'pisell2.text.all': string;
|
|
37
|
+
'pisell2.text.add': string;
|
|
38
|
+
'pisell2.text.rule-setting.Contain': string;
|
|
39
|
+
'pisell2.text.rule-setting.Exclude': string;
|
|
40
|
+
'pisell2.text.rule-setting.order_type': string;
|
|
41
|
+
'pisell2.text.rule-setting.sales_channel': string;
|
|
42
|
+
'pisell2.text.rule-setting.staff': string;
|
|
43
|
+
'pisell2.text.rule-setting.payment_method': string;
|
|
44
|
+
'pisell2.text.rule-setting.pisell_terminal_device': string;
|
|
45
|
+
'pisell2.text.rule-setting.current_device': string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { CalendarDataItem, ScheduleItem } from "./type";
|
|
2
3
|
import dayjs from "dayjs";
|
|
3
4
|
export interface FormState {
|
|
@@ -68,4 +69,11 @@ export interface FormState {
|
|
|
68
69
|
};
|
|
69
70
|
setGlobalState: Function | null;
|
|
70
71
|
}
|
|
71
|
-
export declare const Provider: any, Context:
|
|
72
|
+
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
73
|
+
state: FormState;
|
|
74
|
+
} & {
|
|
75
|
+
dispatch: (params: {
|
|
76
|
+
type: string;
|
|
77
|
+
payload: any;
|
|
78
|
+
}) => void;
|
|
79
|
+
}>;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.text.shopping-cart.item': (num: number) => string;
|
|
4
|
+
'pisell2.text.shopping-cart.clear.cart': string;
|
|
5
|
+
'pisell2.text.shopping-cart.add.service': string;
|
|
6
|
+
'pisell2.text.shopping-cart.add.more': string;
|
|
7
|
+
'pisell2.text.shopping-cart.no.selected': string;
|
|
8
|
+
'pisell2.text.shopping-cart.confirm': string;
|
|
9
|
+
'pisell2.text.shopping-cart.cancel': string;
|
|
10
|
+
'pisell2.text.shopping-cart.select.holder.modal.title': string;
|
|
11
|
+
'pisell2.text.shopping-cart.save.items': (num: number) => string;
|
|
12
|
+
};
|
|
13
|
+
'zh-CN': {
|
|
14
|
+
'pisell2.text.shopping-cart.item': (num: number) => string;
|
|
15
|
+
'pisell2.text.shopping-cart.clear.cart': string;
|
|
16
|
+
'pisell2.text.shopping-cart.add.service': string;
|
|
17
|
+
'pisell2.text.shopping-cart.add.more': string;
|
|
18
|
+
'pisell2.text.shopping-cart.no.selected': string;
|
|
19
|
+
'pisell2.text.shopping-cart.confirm': string;
|
|
20
|
+
'pisell2.text.shopping-cart.cancel': string;
|
|
21
|
+
'pisell2.text.shopping-cart.select.holder.modal.title': string;
|
|
22
|
+
'pisell2.text.shopping-cart.save.items': (num: number) => string;
|
|
23
|
+
};
|
|
24
|
+
'zh-HK': {
|
|
25
|
+
'pisell2.text.shopping-cart.item': (num: number) => string;
|
|
26
|
+
'pisell2.text.shopping-cart.clear.cart': string;
|
|
27
|
+
'pisell2.text.shopping-cart.add.service': string;
|
|
28
|
+
'pisell2.text.shopping-cart.add.more': string;
|
|
29
|
+
'pisell2.text.shopping-cart.no.selected': string;
|
|
30
|
+
'pisell2.text.shopping-cart.confirm': string;
|
|
31
|
+
'pisell2.text.shopping-cart.cancel': string;
|
|
32
|
+
'pisell2.text.shopping-cart.select.holder.modal.title': string;
|
|
33
|
+
'pisell2.text.shopping-cart.save.items': (num: number) => string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
export default _default;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { CollapseProps } from 'antd';
|
|
2
|
+
export interface productProps {
|
|
3
|
+
hideAddBtn?: boolean;
|
|
4
|
+
isShowNote?: boolean;
|
|
5
|
+
isShowPackageNote?: boolean;
|
|
6
|
+
products?: any[];
|
|
7
|
+
holders?: any[];
|
|
8
|
+
isEdit?: boolean;
|
|
9
|
+
disabledEdit?: boolean;
|
|
10
|
+
isShowChangeResource?: boolean;
|
|
11
|
+
isShowDelete?: boolean;
|
|
12
|
+
isShowChangeHolder?: boolean;
|
|
13
|
+
isShowHolder?: boolean;
|
|
14
|
+
isShowAddHolderButton?: boolean;
|
|
15
|
+
}
|
|
16
|
+
export interface shoppingCartProps {
|
|
17
|
+
isOpenGroup?: boolean;
|
|
18
|
+
carts?: any[];
|
|
19
|
+
platform?: 'shop' | 'h5';
|
|
20
|
+
emptyText?: string;
|
|
21
|
+
activeKey?: string[] | number[];
|
|
22
|
+
defaultActiveKey?: string[] | number[];
|
|
23
|
+
className?: string;
|
|
24
|
+
onCard?: (e: any) => void;
|
|
25
|
+
onAction?: (e: any) => void;
|
|
26
|
+
onChange?: (items: any, type?: string, other?: any) => void;
|
|
27
|
+
onAddProduct?: (e?: any) => void;
|
|
28
|
+
onActiveKey?: (e: any) => void;
|
|
29
|
+
isShowImage?: boolean;
|
|
30
|
+
isShowHolder?: boolean;
|
|
31
|
+
isShowDelete?: boolean;
|
|
32
|
+
collapseParams?: CollapseProps;
|
|
33
|
+
productParams?: productProps;
|
|
34
|
+
isHideClearCart?: boolean;
|
|
35
|
+
isParallelResource?: boolean;
|
|
36
|
+
scenario?: 'booking2';
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* @title: 商品卡片
|
|
40
|
+
* @description:
|
|
41
|
+
* @return {*}
|
|
42
|
+
* @Author: WangHan
|
|
43
|
+
* @Date: 2024-11-29 09:52
|
|
44
|
+
*/
|
|
45
|
+
export interface ProductProps {
|
|
46
|
+
id?: any;
|
|
47
|
+
lists: any[];
|
|
48
|
+
isAdd?: boolean;
|
|
49
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.subtotal.deposit': string;
|
|
4
|
+
'pisell2.subtotal.total': string;
|
|
5
|
+
'pisell2.subtotal.subtotal': string;
|
|
6
|
+
'pisell2.subtotal.tax': string;
|
|
7
|
+
'pisell2.subtotal.delivery-fee': string;
|
|
8
|
+
'pisell2.subtotal.discount': string;
|
|
9
|
+
'pisell2.subtotal.point-deduction': string;
|
|
10
|
+
'pisell2.subtotal.member-deduction': string;
|
|
11
|
+
'pisell2.subtotal.items': string;
|
|
12
|
+
'pisell2.subtotal.not-contain': string;
|
|
13
|
+
'pisell2.subtotal.included': string;
|
|
14
|
+
};
|
|
15
|
+
'zh-CN': {
|
|
16
|
+
'pisell2.subtotal.deposit': string;
|
|
17
|
+
'pisell2.subtotal.total': string;
|
|
18
|
+
'pisell2.subtotal.subtotal': string;
|
|
19
|
+
'pisell2.subtotal.tax': string;
|
|
20
|
+
'pisell2.subtotal.delivery-fee': string;
|
|
21
|
+
'pisell2.subtotal.discount': string;
|
|
22
|
+
'pisell2.subtotal.point-deduction': string;
|
|
23
|
+
'pisell2.subtotal.member-deduction': string;
|
|
24
|
+
'pisell2.subtotal.items': string;
|
|
25
|
+
'pisell2.subtotal.not-contain': string;
|
|
26
|
+
'pisell2.subtotal.included': string;
|
|
27
|
+
};
|
|
28
|
+
'zh-HK': {
|
|
29
|
+
'pisell2.subtotal.deposit': string;
|
|
30
|
+
'pisell2.subtotal.total': string;
|
|
31
|
+
'pisell2.subtotal.subtotal': string;
|
|
32
|
+
'pisell2.subtotal.tax': string;
|
|
33
|
+
'pisell2.subtotal.delivery-fee': string;
|
|
34
|
+
'pisell2.subtotal.discount': string;
|
|
35
|
+
'pisell2.subtotal.point-deduction': string;
|
|
36
|
+
'pisell2.subtotal.member-deduction': string;
|
|
37
|
+
'pisell2.subtotal.items': string;
|
|
38
|
+
'pisell2.subtotal.not-contain': string;
|
|
39
|
+
'pisell2.subtotal.included': string;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ProductDisplayAdapter 产品展示适配器
|
|
3
|
+
* 支持通过配置化方式在 ProductSelect 和 SkuList 两种展示模式之间切换
|
|
4
|
+
*/
|
|
5
|
+
export { default } from './ProductDisplayAdapter';
|
|
6
|
+
export type { ProductDisplayConfig, ProductDisplayPresetKey, ProductSelectConfig, ProductSelectLayout, ProductListSetting, SkuListConfig, SkuCardDisplayMode, ListConfig, ListLayoutType, DisplayMode, } from './types';
|
|
7
|
+
export { ProductDisplayPresets, LegacyProductDisplayPresets, resolveProductDisplayConfig, } from './types';
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 产品展示配置类型定义
|
|
3
|
+
*/
|
|
4
|
+
import type { ProductCardConfig } from '../../../../plus/productSelect/ProductCard/SkuCard/type';
|
|
5
|
+
/** 预设配置的字符串键 */
|
|
6
|
+
export declare type ProductDisplayPresetKey = 'product-select' | 'sku-list-a1' | 'sku-list-a2' | 'sku-list-a5' | 'default';
|
|
7
|
+
/** ProductSelect 布局配置 */
|
|
8
|
+
export interface ProductSelectLayout {
|
|
9
|
+
grid: boolean;
|
|
10
|
+
config: string;
|
|
11
|
+
}
|
|
12
|
+
export declare type NumberBoolean = 0 | 1;
|
|
13
|
+
/** ProductSelect 列表设置 */
|
|
14
|
+
export interface ProductListSetting {
|
|
15
|
+
/** 是否显示产品封面 */
|
|
16
|
+
isProductCover?: NumberBoolean;
|
|
17
|
+
/** 是否显示标题 */
|
|
18
|
+
isTitle?: NumberBoolean;
|
|
19
|
+
/** 是否显示副标题 */
|
|
20
|
+
isSubtitle?: NumberBoolean;
|
|
21
|
+
/** 是否显示价格 */
|
|
22
|
+
isPrice?: NumberBoolean;
|
|
23
|
+
/** 是否显示原价 */
|
|
24
|
+
isOriginPrice?: NumberBoolean;
|
|
25
|
+
/** 是否显示库存 */
|
|
26
|
+
isStock?: NumberBoolean;
|
|
27
|
+
}
|
|
28
|
+
/** ProductSelect 模式配置 */
|
|
29
|
+
export interface ProductSelectConfig {
|
|
30
|
+
/** 是否显示搜索框 */
|
|
31
|
+
showSearch?: boolean;
|
|
32
|
+
/** 是否显示分类Tab */
|
|
33
|
+
showTab?: boolean;
|
|
34
|
+
/** 布局配置 */
|
|
35
|
+
layout?: ProductSelectLayout;
|
|
36
|
+
/** 产品列表设置 */
|
|
37
|
+
productListSetting?: ProductListSetting;
|
|
38
|
+
}
|
|
39
|
+
/** SkuCard 显示模式 */
|
|
40
|
+
export declare type SkuCardDisplayMode = 'display_a1' | 'display_a2' | 'display_a5' | 'display_a9' | 'display_custom';
|
|
41
|
+
/**
|
|
42
|
+
* SkuCard 配置
|
|
43
|
+
* 直接使用 ProductCardConfig 类型,保持类型同步
|
|
44
|
+
*
|
|
45
|
+
* @see packages/private-materials/src/plus/productSelect/ProductCard/SkuCard/type.ts ProductCardConfig
|
|
46
|
+
*/
|
|
47
|
+
export declare type SkuCardAllConfig = ProductCardConfig;
|
|
48
|
+
/** List 布局类型 */
|
|
49
|
+
export declare type ListLayoutType = 'grid' | 'list';
|
|
50
|
+
/** Tab 样式类型 */
|
|
51
|
+
export declare type TabStyleType = 'switch' | 'anchor' | 'none';
|
|
52
|
+
/** List 组件配置 */
|
|
53
|
+
export interface ListConfig {
|
|
54
|
+
/** 布局类型 */
|
|
55
|
+
layout?: ListLayoutType;
|
|
56
|
+
/** 列数 */
|
|
57
|
+
columns?: number;
|
|
58
|
+
/** 是否显示分页 */
|
|
59
|
+
showPagination?: boolean;
|
|
60
|
+
/** 是否显示Tab */
|
|
61
|
+
showTab?: boolean;
|
|
62
|
+
/** Tab 样式类型:switch-切换模式,anchor-锚点模式,none-不显示 */
|
|
63
|
+
tabStyle?: TabStyleType;
|
|
64
|
+
/** Tab 是否吸顶 */
|
|
65
|
+
stickyTop?: boolean;
|
|
66
|
+
/** Tab配置 */
|
|
67
|
+
tabConfig?: any;
|
|
68
|
+
/** 分页配置 */
|
|
69
|
+
paginationConfig?: any;
|
|
70
|
+
[key: string]: any;
|
|
71
|
+
}
|
|
72
|
+
/** SkuList 模式配置 */
|
|
73
|
+
export interface SkuListConfig {
|
|
74
|
+
/** List 组件配置 */
|
|
75
|
+
listConfig?: ListConfig;
|
|
76
|
+
/** SkuCard 配置 */
|
|
77
|
+
skuCardAllConfig?: SkuCardAllConfig;
|
|
78
|
+
}
|
|
79
|
+
/** 展示模式类型 */
|
|
80
|
+
export declare type DisplayMode = 'product-select' | 'sku-list';
|
|
81
|
+
/**
|
|
82
|
+
* 产品展示配置
|
|
83
|
+
* 用于配置化控制产品展示的方式
|
|
84
|
+
*/
|
|
85
|
+
export interface ProductDisplayConfig {
|
|
86
|
+
/** 展示模式 */
|
|
87
|
+
displayMode: DisplayMode;
|
|
88
|
+
/** ProductSelect 模式配置 */
|
|
89
|
+
productSelectConfig?: ProductSelectConfig;
|
|
90
|
+
/** SkuList 模式配置 */
|
|
91
|
+
skuListConfig?: SkuListConfig;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* 产品展示配置预设
|
|
95
|
+
* 支持通过字符串键或直接使用配置对象
|
|
96
|
+
*/
|
|
97
|
+
export declare const ProductDisplayPresets: Record<ProductDisplayPresetKey, ProductDisplayConfig>;
|
|
98
|
+
/**
|
|
99
|
+
* 兼容性:保持原有的导出方式
|
|
100
|
+
* @deprecated 建议使用 ProductDisplayPresets['product-select'] 或字符串键访问
|
|
101
|
+
*/
|
|
102
|
+
export declare const LegacyProductDisplayPresets: {
|
|
103
|
+
/** @deprecated 使用 ProductDisplayPresets['product-select'] */
|
|
104
|
+
DEFAULT_PRODUCT_SELECT: ProductDisplayConfig;
|
|
105
|
+
/** @deprecated 使用 ProductDisplayPresets['sku-list-a1'] */
|
|
106
|
+
DEFAULT_SKU_LIST_A1: ProductDisplayConfig;
|
|
107
|
+
/** @deprecated 使用 ProductDisplayPresets['sku-list-a2'] */
|
|
108
|
+
DEFAULT_SKU_LIST_A2: ProductDisplayConfig;
|
|
109
|
+
/** @deprecated 使用 ProductDisplayPresets['sku-list-a5'] */
|
|
110
|
+
DEFAULT_SKU_LIST_A5: ProductDisplayConfig;
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* 工具函数:将字符串键或配置对象解析为配置对象
|
|
114
|
+
*/
|
|
115
|
+
export declare function resolveProductDisplayConfig(config?: ProductDisplayPresetKey | ProductDisplayConfig): ProductDisplayConfig;
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 格式化 SKU 数据源,适配 SkuCard 组件
|
|
3
|
+
*/
|
|
4
|
+
export declare const formatSkuDataSource: (dataSource: any) => {
|
|
5
|
+
id: any;
|
|
6
|
+
title: any;
|
|
7
|
+
subtitle: any;
|
|
8
|
+
cover: any;
|
|
9
|
+
price: any;
|
|
10
|
+
original_price: any;
|
|
11
|
+
stock: any;
|
|
12
|
+
sortKeys: string[];
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Tab 项接口定义(与 List 组件保持一致)
|
|
16
|
+
*/
|
|
17
|
+
export interface TabItem {
|
|
18
|
+
key: string;
|
|
19
|
+
label: string;
|
|
20
|
+
group?: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* 产品分类信息接口
|
|
24
|
+
*/
|
|
25
|
+
interface ProductCategory {
|
|
26
|
+
id: number;
|
|
27
|
+
name: string;
|
|
28
|
+
icon?: string;
|
|
29
|
+
slug?: string;
|
|
30
|
+
sort?: number;
|
|
31
|
+
/** 父级分类 ID,0 或 null/undefined 表示一级分类 */
|
|
32
|
+
parent_id?: number | null;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* 产品项接口
|
|
36
|
+
*/
|
|
37
|
+
interface Product {
|
|
38
|
+
id: number;
|
|
39
|
+
title: string;
|
|
40
|
+
category?: ProductCategory[];
|
|
41
|
+
[key: string]: any;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* 分类树节点接口(Switch 模式返回值)
|
|
45
|
+
*/
|
|
46
|
+
export interface CategoryTreeNode {
|
|
47
|
+
/** 分类 ID,All 节点为 '{父级路径}_all' 格式 */
|
|
48
|
+
id: number | string;
|
|
49
|
+
/** 分类唯一标识 兼容 List 组件的 key 字段 */
|
|
50
|
+
key: number | string;
|
|
51
|
+
/** 分类名称 兼容 List 组件的 label 字段 */
|
|
52
|
+
label: string;
|
|
53
|
+
/** 分类分组 兼容 List 组件的 group 字段 */
|
|
54
|
+
group: number | string;
|
|
55
|
+
/** 分类名称 */
|
|
56
|
+
name: string;
|
|
57
|
+
/** 分类图标 */
|
|
58
|
+
icon?: string;
|
|
59
|
+
/**
|
|
60
|
+
* 路径式父级标识
|
|
61
|
+
* - 一级分类:无此字段
|
|
62
|
+
* - 二级分类:'1'(父级 id)
|
|
63
|
+
* - 三级分类:'1_2'(路径格式)
|
|
64
|
+
* - 以此类推
|
|
65
|
+
*/
|
|
66
|
+
pid?: string;
|
|
67
|
+
/** 该分类下所有商品的 ID 数组(包含子分类的商品) */
|
|
68
|
+
productIds: number[];
|
|
69
|
+
/** 子分类列表,如果有子分类,第一个为 All 节点 */
|
|
70
|
+
children?: CategoryTreeNode[];
|
|
71
|
+
/** 子分类最大层级 */
|
|
72
|
+
childrenMaxLevel: number;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* 根据产品数据生成分类 Tabs(Switch 模式)
|
|
76
|
+
* 参考 TestResponsiveWrapper 的 generateSimpleTabItems 函数
|
|
77
|
+
*
|
|
78
|
+
* @param products 产品列表
|
|
79
|
+
* @param tabStyle tab 样式类型
|
|
80
|
+
* @returns Switch 模式返回 CategoryTreeNode[],Anchor 模式返回 TabItem[]
|
|
81
|
+
*/
|
|
82
|
+
export declare const generateProductTabs: (products: Product[], tabStyle?: 'switch' | 'anchor') => CategoryTreeNode[] | TabItem[];
|
|
83
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ProductDisplayConfig, ProductDisplayPresetKey } from '../ProductDisplayAdapter/types';
|
|
3
|
+
interface AddServiceVariantProps {
|
|
4
|
+
globalState: any;
|
|
5
|
+
setGlobalState: any;
|
|
6
|
+
onPrerenderComplete?: () => void;
|
|
7
|
+
onGetProductsReady?: (getProducts: any) => void;
|
|
8
|
+
productDisplayConfig?: ProductDisplayPresetKey | ProductDisplayConfig;
|
|
9
|
+
}
|
|
10
|
+
declare const AddServiceVariant: (props: AddServiceVariantProps) => React.JSX.Element;
|
|
11
|
+
export default AddServiceVariant;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const formatVariantGroupTitle: (title: any, variant_group?: never[]) => string | undefined;
|
|
2
|
+
export declare const createCacheItem: (detail: any, values: any, state: any) => any;
|
|
3
|
+
export declare const isVariant: (item: any) => boolean;
|
|
4
|
+
export declare const isOption: (item: any) => boolean;
|
|
5
|
+
export declare const isBundle: (item: any) => boolean;
|
|
6
|
+
export declare const genValues: (item: any, code: string) => any;
|
|
7
|
+
export declare const setHandleSetService: (fn: ((list: any[], code: string) => void) | null) => void;
|
|
8
|
+
export declare const getHandleSetService: () => ((list: any[], code: string) => void) | null;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
interface BookingDashboardProps {
|
|
4
|
+
bookingTimeStartBetween: string[];
|
|
5
|
+
}
|
|
6
|
+
declare const BookingDashboard: React.ForwardRefExoticComponent<BookingDashboardProps & React.RefAttributes<unknown>>;
|
|
7
|
+
export default BookingDashboard;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare const getPayStatusMap: () => {
|
|
2
|
+
authorized: any;
|
|
3
|
+
paid: any;
|
|
4
|
+
partially_paid: any;
|
|
5
|
+
partially_refunded: any;
|
|
6
|
+
payment_pending: any;
|
|
7
|
+
refunded: any;
|
|
8
|
+
unpaid: any;
|
|
9
|
+
voided: any;
|
|
10
|
+
payment_processing: any;
|
|
11
|
+
};
|
|
12
|
+
export declare const payStatusColorMap: {
|
|
13
|
+
authorized: string;
|
|
14
|
+
paid: string;
|
|
15
|
+
partially_paid: string;
|
|
16
|
+
partially_refunded: string;
|
|
17
|
+
payment_pending: string;
|
|
18
|
+
refunded: string;
|
|
19
|
+
unpaid: string;
|
|
20
|
+
voided: string;
|
|
21
|
+
payment_processing: string;
|
|
22
|
+
};
|
|
File without changes
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* IsActive Context
|
|
4
|
+
* 用于在 TicketBooking 组件树中提供 isActive 状态
|
|
5
|
+
* isActive 用于标识当前组件是否处于激活状态
|
|
6
|
+
*/
|
|
7
|
+
interface IsActiveContextType {
|
|
8
|
+
/** 是否激活 */
|
|
9
|
+
isActive: boolean;
|
|
10
|
+
}
|
|
11
|
+
declare const IsActiveContext: React.Context<IsActiveContextType>;
|
|
12
|
+
interface IsActiveProviderProps {
|
|
13
|
+
isActive: boolean;
|
|
14
|
+
children: React.ReactNode;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* IsActive Provider
|
|
18
|
+
* 提供 isActive 给子组件使用
|
|
19
|
+
*/
|
|
20
|
+
export declare const IsActiveProvider: React.FC<IsActiveProviderProps>;
|
|
21
|
+
/**
|
|
22
|
+
* useIsActive Hook
|
|
23
|
+
* 在子组件中使用此 hook 获取 isActive 状态
|
|
24
|
+
*/
|
|
25
|
+
export declare const useIsActive: () => boolean;
|
|
26
|
+
export default IsActiveContext;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* OsKey Context
|
|
4
|
+
* 用于在 TicketBooking 组件树中提供 pisellos 的 osKey
|
|
5
|
+
* osKey 用于区分不同页面使用同一个组件时的模块标识
|
|
6
|
+
*/
|
|
7
|
+
interface OsKeyContextType {
|
|
8
|
+
/** pisellos 模块的唯一标识 */
|
|
9
|
+
osKey: string | undefined;
|
|
10
|
+
}
|
|
11
|
+
declare const OsKeyContext: React.Context<OsKeyContextType>;
|
|
12
|
+
interface OsKeyProviderProps {
|
|
13
|
+
osKey: string | undefined;
|
|
14
|
+
children: React.ReactNode;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* OsKey Provider
|
|
18
|
+
* 提供 osKey 给子组件使用
|
|
19
|
+
*/
|
|
20
|
+
export declare const OsKeyProvider: React.FC<OsKeyProviderProps>;
|
|
21
|
+
/**
|
|
22
|
+
* useOsKey Hook
|
|
23
|
+
* 在子组件中使用此 hook 获取 osKey
|
|
24
|
+
*/
|
|
25
|
+
export declare const useOsKey: () => string;
|
|
26
|
+
export default OsKeyContext;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* useActiveExecute Hook
|
|
3
|
+
* 返回一个函数,该函数接收一个回调函数,并返回一个包装后的函数
|
|
4
|
+
* 包装后的函数只在 isActive 为 true 时执行原始回调
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* ```tsx
|
|
8
|
+
* const { executeIfActive } = useActiveExecute();
|
|
9
|
+
*
|
|
10
|
+
* // 创建一个包装函数用于事件监听
|
|
11
|
+
* const handleChange = (data) => {
|
|
12
|
+
* console.log('data:', data);
|
|
13
|
+
* };
|
|
14
|
+
*
|
|
15
|
+
* // 返回的函数会在被调用时检查 isActive
|
|
16
|
+
* pisellos.effects.on('event', executeIfActive(handleChange));
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
export declare const useActiveExecute: () => {
|
|
20
|
+
executeIfActive: (this: unknown, fn: (...args: any[]) => any) => (...args: any[]) => any;
|
|
21
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ClientData } from '../../../booking/info2/cartClientCard/types';
|
|
2
|
+
export declare const useCustomer: (props: {
|
|
3
|
+
changeCustomerToGlobalState?: ((value: ClientData) => void) | undefined;
|
|
4
|
+
}) => {
|
|
5
|
+
customers: never[];
|
|
6
|
+
selectedCustomer: ClientData | null;
|
|
7
|
+
loading: boolean;
|
|
8
|
+
error: null;
|
|
9
|
+
pagination: {
|
|
10
|
+
page: number;
|
|
11
|
+
pageSize: number;
|
|
12
|
+
total: number;
|
|
13
|
+
};
|
|
14
|
+
loadCustomers: (this: unknown, params?: {
|
|
15
|
+
skip?: number | undefined;
|
|
16
|
+
num?: number | undefined;
|
|
17
|
+
search?: string | undefined;
|
|
18
|
+
} | undefined) => Promise<void>;
|
|
19
|
+
changePage: (this: unknown, page: number, pageSize: number) => Promise<void>;
|
|
20
|
+
selectCustomer: (this: unknown, customer: ClientData | null) => void;
|
|
21
|
+
addCustomerToFirst: (this: unknown, customer: ClientData) => void;
|
|
22
|
+
initLoad: (this: any, keyword?: any) => Promise<void>;
|
|
23
|
+
hasMore: boolean;
|
|
24
|
+
loadMore: (this: unknown) => Promise<void>;
|
|
25
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
interface IGetProductsParams {
|
|
2
|
+
schedule_date?: string;
|
|
3
|
+
customer_id?: number;
|
|
4
|
+
menu_list_ids?: number[];
|
|
5
|
+
schedule_datetime?: string;
|
|
6
|
+
}
|
|
7
|
+
interface IGetScheduleTimePointsParams {
|
|
8
|
+
menu_list_ids?: number[];
|
|
9
|
+
}
|
|
10
|
+
export declare const useProducts: (notAvailableRef: any) => {
|
|
11
|
+
getScheduleTimePoints: (this: unknown, params?: IGetScheduleTimePointsParams | undefined) => Promise<void>;
|
|
12
|
+
getProducts: (this: unknown, params?: IGetProductsParams | undefined) => Promise<void>;
|
|
13
|
+
products: any[];
|
|
14
|
+
loading: boolean;
|
|
15
|
+
};
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ProductDisplayConfig, ProductDisplayPresetKey } from './components/ProductDisplayAdapter/types';
|
|
3
|
+
import './index.less';
|
|
4
|
+
interface TicketBookingProps {
|
|
5
|
+
productExtensionType: string[];
|
|
6
|
+
bookingConfigParams: Record<string, any>;
|
|
7
|
+
isShowMenuBar?: boolean;
|
|
8
|
+
onPrerenderComplete?: () => void;
|
|
9
|
+
isShowTimeBar?: boolean;
|
|
10
|
+
isShowFloatButtons?: boolean;
|
|
11
|
+
productDisplayConfig?: ProductDisplayPresetKey | ProductDisplayConfig;
|
|
12
|
+
isActive?: boolean;
|
|
13
|
+
rulesHooks?: any;
|
|
14
|
+
}
|
|
15
|
+
declare const _default: (props: TicketBookingProps) => React.JSX.Element;
|
|
16
|
+
export default _default;
|