@pisell/private-materials 6.6.41 → 6.6.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +16 -16
- package/build/lowcode/render/default/view.js +7 -7
- package/build/lowcode/view.js +13 -13
- package/es/components/Sales/Cart/utils.d.ts +63 -0
- package/es/components/Sales/Checkout/utils.d.ts +41 -0
- package/es/components/Sales/Summary/index.d.ts +35 -0
- package/es/components/Sales/Summary/utils.d.ts +51 -0
- package/es/components/appointmentBooking/locales.d.ts +603 -0
- package/es/components/booking/components/voucher/utils.d.ts +5 -0
- package/es/components/booking/dashboard/serve.d.ts +2 -0
- package/es/components/booking/editBookingModal/utils.d.ts +12 -0
- 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/serve.d.ts +2 -0
- package/es/components/booking/info/hooks/useHolderConfig.d.ts +10 -0
- package/es/components/booking/info/index.d.ts +4 -0
- package/es/components/booking/info/pet/serve.d.ts +1 -0
- package/es/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
- package/es/components/booking/info/service/editService/constants.d.ts +1 -0
- package/es/components/booking/info/service/serve.d.ts +34 -0
- package/es/components/booking/info2/cartClientCard/locales.d.ts +33 -0
- package/es/components/booking/info2/serve.d.ts +6 -0
- package/es/components/booking/locales.d.ts +1619 -0
- package/es/components/booking/utils.d.ts +2 -2
- package/es/components/checkout/PaymentProvider.d.ts +13 -0
- package/es/components/checkout/components/AdditionalModule/locales.d.ts +58 -0
- package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +85 -0
- package/es/components/checkout/components/PaymentResultToast/index.d.ts +9 -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/WalletPassModule/components/ConflictModal/index.d.ts +11 -0
- package/es/components/checkout/components/WalletPassModule/components/DiscountWallet/DiscountTextMode.d.ts +7 -0
- package/es/components/checkout/components/WalletPassModule/components/WalletPassTextMode/index.d.ts +5 -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/index.d.ts +5 -0
- package/es/components/checkout/locales.d.ts +853 -0
- package/es/components/checkout/styles.d.ts +67 -0
- package/es/components/checkout/types.d.ts +130 -0
- package/es/components/checkout/utils.d.ts +3 -0
- package/es/components/eftpos/const.d.ts +64 -0
- package/es/components/eftpos/hooks.d.ts +33 -0
- package/es/components/eftpos/locales.d.ts +163 -0
- package/es/components/eftposPay/EFTPos.d.ts +14 -0
- package/es/components/eftposPay/aggregatePayment/index.d.ts +3 -0
- package/es/components/eftposPay/aggregatePayment/service.d.ts +24 -0
- package/es/components/eftposPay/aggregatePayment/types.d.ts +106 -0
- package/es/components/eftposPay/aggregatePayment/utils/payment.d.ts +139 -0
- package/es/components/eftposPay/amount.d.ts +1 -1
- package/es/components/eftposPay/const.d.ts +195 -0
- package/es/components/eftposPay/device.d.ts +1 -1
- package/es/components/eftposPay/huifu/hooks.d.ts +25 -0
- package/es/components/eftposPay/huifu/types.d.ts +14 -0
- package/es/components/eftposPay/locales.d.ts +608 -0
- package/es/components/eftposPay/manufacturer.d.ts +8 -0
- package/es/components/eftposPay/serve.d.ts +16 -0
- package/es/components/eftposPay/store/index.d.ts +362 -0
- package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +3 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +11 -0
- package/es/components/list/List.d.ts +5 -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/EmptyState.d.ts +20 -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/Pagination.d.ts +30 -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/useListState.d.ts +43 -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 +108 -0
- package/es/components/list/types.d.ts +177 -0
- package/es/components/list/utils/getText.d.ts +53 -0
- package/es/components/list/utils/index.d.ts +4 -0
- package/es/components/pay/toB/components/CardGroup/index.d.ts +8 -0
- package/es/components/pay/toB/components/Content/index.d.ts +4 -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/index.d.ts +5 -0
- package/es/components/pay/toB/hooks.d.ts +12 -0
- package/es/components/pay/toB/locales.d.ts +88 -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/index.d.ts +3 -0
- package/es/components/pay/toB/store/provider.d.ts +4 -0
- package/es/components/pay/toB/types/index.d.ts +61 -0
- package/es/components/pay/toB/types/storeTypes.d.ts +143 -0
- package/es/components/pay/toC/PaymentList/utils.d.ts +36 -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/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/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +3 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
- package/es/components/pisellSelectCustomerModal/locales.d.ts +133 -0
- package/es/components/productSelect/components/pisellPriceText/index.d.ts +11 -0
- package/es/components/ruleSetting/locales.d.ts +78 -0
- package/es/components/schedules/locales.d.ts +143 -0
- package/es/components/shoppingCart/Provider.d.ts +3 -0
- package/es/components/shoppingCart/locales.d.ts +58 -0
- package/es/components/shoppingCart/mock.d.ts +40 -0
- package/es/components/shoppingCart/type.d.ts +50 -0
- package/es/components/shoppingCart/utils.d.ts +63 -0
- package/es/components/subTotal/locales.d.ts +68 -0
- package/es/components/systemSettings/registry/locales.d.ts +456 -0
- package/es/components/systemSettings/registry/services.d.ts +77 -0
- package/es/components/systemSettings/registry/types.d.ts +128 -0
- package/es/components/taxSelect/locales.d.ts +38 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.d.ts +27 -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/addServiceVariant/index.d.ts +9 -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/pisellFloatingPanel/index.d.ts +14 -0
- package/es/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
- package/es/components/ticketBooking/components/floatButtons/index.d.ts +11 -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/useActiveExecute.d.ts +21 -0
- package/es/components/ticketBooking/hooks/pisellos/useProducts.d.ts +12 -0
- package/es/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +6 -0
- package/es/components/ticketBooking/locales.d.ts +328 -0
- package/es/components/ticketBooking/serve.d.ts +288 -0
- package/es/components/ticketBooking/utils/productCache.d.ts +75 -0
- package/es/components/walletList/serve.d.ts +43 -0
- package/es/components/workSpaceList/components/AppearanceEdit/IconPanel.d.ts +11 -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/SearchBar/index.d.ts +17 -0
- package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +4 -0
- package/es/components/workSpaceList/components/Sort/index.d.ts +7 -0
- package/es/components/workSpaceList/components/WorkspaceItem/index.d.ts +22 -0
- package/es/hooks/index.d.ts +10 -0
- package/es/hooks/useEngineContext.d.ts +3 -0
- package/es/hooks/useLocale.d.ts +2 -0
- package/es/hooks/useLogger.d.ts +2 -0
- package/es/hooks/useModal.d.ts +35 -0
- package/es/hooks/useModal.example.d.ts +12 -0
- package/es/hooks/useModal.integration.example.d.ts +15 -0
- package/es/hooks/useToast.d.ts +2 -0
- package/es/hooks/useWindowSize.d.ts +5 -0
- package/es/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
- package/es/plus/noteModal/locales.d.ts +53 -0
- package/es/plus/noteModal/types.d.ts +19 -0
- package/es/plus/productSelect/CategoryTabs/index.d.ts +20 -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/Action/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.d.ts +5 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +7 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Promotions/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/SubTitle/index.d.ts +7 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Tags/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 +68 -0
- package/es/plus/productSelect/ProductCard/SkuCard/status.d.ts +164 -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/ProductList/gridComponents.d.ts +44 -0
- package/es/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
- package/es/plus/productSelect/components/pisellPriceText/index.d.ts +14 -0
- package/es/plus/saasAttendance/locales.d.ts +528 -0
- package/es/plus/saasAttendance/settings/types.d.ts +130 -0
- package/es/plus/selectHolder/locales.d.ts +38 -0
- package/es/plus/walletPassGallery/components/passDetail/index.js +3 -3
- package/es/plus/walletPassGallery/components/timelineSection/index.js +6 -1
- package/es/pro/Login2.0/locales.d.ts +903 -0
- package/es/pro/Login2.0/shared/types.d.ts +234 -0
- package/es/pro/NumberKeyboardPopover/index.d.ts +36 -0
- package/es/pro/NumberKeyboardPopover/types.d.ts +31 -0
- package/es/pro/multiDayTimeSelect/index.d.ts +3 -0
- package/es/pro/multiDayTimeSelect/types.d.ts +28 -0
- package/es/pro/pisellNumberSelector/example.d.ts +3 -0
- package/es/pro/pisellPriceKeyboardModal/index.d.ts +2 -0
- package/es/pro/pisellPriceKeyboardModal/types.d.ts +25 -0
- package/es/pro/pisellPriceKeyboardPopover/index.d.ts +2 -0
- package/es/pro/pisellPriceKeyboardPopover/types.d.ts +33 -0
- package/es/pro/pisellPriceRadio/index.d.ts +26 -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/locales.d.ts +63 -0
- package/es/pro/priceKeyboard/components/cashKeyboard/types.d.ts +98 -0
- package/es/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +68 -0
- package/es/pro/priceKeyboard/components/discountKeyboard/types.d.ts +17 -0
- package/es/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +73 -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/rightItems.d.ts +28 -0
- package/es/pro/priceKeyboard/index.d.ts +3 -0
- package/es/pro/skuDetailModal/locales.d.ts +78 -0
- package/es/pro/skuDetailModal/types.d.ts +352 -0
- package/lib/components/Sales/Cart/utils.d.ts +63 -0
- package/lib/components/Sales/Checkout/utils.d.ts +41 -0
- package/lib/components/Sales/Summary/index.d.ts +35 -0
- package/lib/components/Sales/Summary/utils.d.ts +51 -0
- package/lib/components/appointmentBooking/locales.d.ts +603 -0
- package/lib/components/booking/components/voucher/utils.d.ts +5 -0
- package/lib/components/booking/dashboard/serve.d.ts +2 -0
- package/lib/components/booking/editBookingModal/utils.d.ts +12 -0
- 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/serve.d.ts +2 -0
- package/lib/components/booking/info/hooks/useHolderConfig.d.ts +10 -0
- package/lib/components/booking/info/index.d.ts +4 -0
- package/lib/components/booking/info/pet/serve.d.ts +1 -0
- package/lib/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
- package/lib/components/booking/info/service/editService/constants.d.ts +1 -0
- package/lib/components/booking/info/service/serve.d.ts +34 -0
- package/lib/components/booking/info2/cartClientCard/locales.d.ts +33 -0
- package/lib/components/booking/info2/serve.d.ts +6 -0
- package/lib/components/booking/locales.d.ts +1619 -0
- package/lib/components/booking/utils.d.ts +2 -2
- package/lib/components/checkout/PaymentProvider.d.ts +13 -0
- package/lib/components/checkout/components/AdditionalModule/locales.d.ts +58 -0
- package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +85 -0
- package/lib/components/checkout/components/PaymentResultToast/index.d.ts +9 -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/WalletPassModule/components/ConflictModal/index.d.ts +11 -0
- package/lib/components/checkout/components/WalletPassModule/components/DiscountWallet/DiscountTextMode.d.ts +7 -0
- package/lib/components/checkout/components/WalletPassModule/components/WalletPassTextMode/index.d.ts +5 -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/index.d.ts +5 -0
- package/lib/components/checkout/locales.d.ts +853 -0
- package/lib/components/checkout/styles.d.ts +67 -0
- package/lib/components/checkout/types.d.ts +130 -0
- package/lib/components/checkout/utils.d.ts +3 -0
- package/lib/components/eftpos/const.d.ts +64 -0
- package/lib/components/eftpos/hooks.d.ts +33 -0
- package/lib/components/eftpos/locales.d.ts +163 -0
- package/lib/components/eftposPay/EFTPos.d.ts +14 -0
- package/lib/components/eftposPay/aggregatePayment/index.d.ts +3 -0
- package/lib/components/eftposPay/aggregatePayment/service.d.ts +24 -0
- package/lib/components/eftposPay/aggregatePayment/types.d.ts +106 -0
- package/lib/components/eftposPay/aggregatePayment/utils/payment.d.ts +139 -0
- package/lib/components/eftposPay/amount.d.ts +1 -1
- package/lib/components/eftposPay/const.d.ts +195 -0
- package/lib/components/eftposPay/device.d.ts +1 -1
- package/lib/components/eftposPay/huifu/hooks.d.ts +25 -0
- package/lib/components/eftposPay/huifu/types.d.ts +14 -0
- package/lib/components/eftposPay/locales.d.ts +608 -0
- package/lib/components/eftposPay/manufacturer.d.ts +8 -0
- package/lib/components/eftposPay/serve.d.ts +16 -0
- package/lib/components/eftposPay/store/index.d.ts +362 -0
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +3 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +11 -0
- package/lib/components/list/List.d.ts +5 -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/EmptyState.d.ts +20 -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/Pagination.d.ts +30 -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/useListState.d.ts +43 -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 +108 -0
- package/lib/components/list/types.d.ts +177 -0
- package/lib/components/list/utils/getText.d.ts +53 -0
- package/lib/components/list/utils/index.d.ts +4 -0
- package/lib/components/pay/toB/components/CardGroup/index.d.ts +8 -0
- package/lib/components/pay/toB/components/Content/index.d.ts +4 -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/index.d.ts +5 -0
- package/lib/components/pay/toB/hooks.d.ts +12 -0
- package/lib/components/pay/toB/locales.d.ts +88 -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/index.d.ts +3 -0
- package/lib/components/pay/toB/store/provider.d.ts +4 -0
- package/lib/components/pay/toB/types/index.d.ts +61 -0
- package/lib/components/pay/toB/types/storeTypes.d.ts +143 -0
- package/lib/components/pay/toC/PaymentList/utils.d.ts +36 -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/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/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +3 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
- package/lib/components/pisellSelectCustomerModal/locales.d.ts +133 -0
- package/lib/components/productSelect/components/pisellPriceText/index.d.ts +11 -0
- package/lib/components/ruleSetting/locales.d.ts +78 -0
- package/lib/components/schedules/locales.d.ts +143 -0
- package/lib/components/shoppingCart/Provider.d.ts +3 -0
- package/lib/components/shoppingCart/locales.d.ts +58 -0
- package/lib/components/shoppingCart/mock.d.ts +40 -0
- package/lib/components/shoppingCart/type.d.ts +50 -0
- package/lib/components/shoppingCart/utils.d.ts +63 -0
- package/lib/components/subTotal/locales.d.ts +68 -0
- package/lib/components/systemSettings/registry/locales.d.ts +456 -0
- package/lib/components/systemSettings/registry/services.d.ts +77 -0
- package/lib/components/systemSettings/registry/types.d.ts +128 -0
- package/lib/components/taxSelect/locales.d.ts +38 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.d.ts +27 -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/addServiceVariant/index.d.ts +9 -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/pisellFloatingPanel/index.d.ts +14 -0
- package/lib/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
- package/lib/components/ticketBooking/components/floatButtons/index.d.ts +11 -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/useActiveExecute.d.ts +21 -0
- package/lib/components/ticketBooking/hooks/pisellos/useProducts.d.ts +12 -0
- package/lib/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +6 -0
- package/lib/components/ticketBooking/locales.d.ts +328 -0
- package/lib/components/ticketBooking/serve.d.ts +288 -0
- package/lib/components/ticketBooking/utils/productCache.d.ts +75 -0
- package/lib/components/walletList/serve.d.ts +43 -0
- package/lib/components/workSpaceList/components/AppearanceEdit/IconPanel.d.ts +11 -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/SearchBar/index.d.ts +17 -0
- package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +4 -0
- package/lib/components/workSpaceList/components/Sort/index.d.ts +7 -0
- package/lib/components/workSpaceList/components/WorkspaceItem/index.d.ts +22 -0
- package/lib/hooks/index.d.ts +10 -0
- package/lib/hooks/useEngineContext.d.ts +3 -0
- package/lib/hooks/useLocale.d.ts +2 -0
- package/lib/hooks/useLogger.d.ts +2 -0
- package/lib/hooks/useModal.d.ts +35 -0
- package/lib/hooks/useModal.example.d.ts +12 -0
- package/lib/hooks/useModal.integration.example.d.ts +15 -0
- package/lib/hooks/useToast.d.ts +2 -0
- package/lib/hooks/useWindowSize.d.ts +5 -0
- package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
- package/lib/plus/noteModal/locales.d.ts +53 -0
- package/lib/plus/noteModal/types.d.ts +19 -0
- package/lib/plus/productSelect/CategoryTabs/index.d.ts +20 -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/Action/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.d.ts +5 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +7 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Promotions/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/SubTitle/index.d.ts +7 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Tags/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 +68 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/status.d.ts +164 -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/ProductList/gridComponents.d.ts +44 -0
- package/lib/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
- package/lib/plus/productSelect/components/pisellPriceText/index.d.ts +14 -0
- package/lib/plus/saasAttendance/locales.d.ts +528 -0
- package/lib/plus/saasAttendance/settings/types.d.ts +130 -0
- package/lib/plus/selectHolder/locales.d.ts +38 -0
- package/lib/plus/walletPassGallery/components/timelineSection/index.js +15 -8
- package/lib/pro/Login2.0/locales.d.ts +903 -0
- package/lib/pro/Login2.0/shared/types.d.ts +234 -0
- package/lib/pro/NumberKeyboardPopover/index.d.ts +36 -0
- package/lib/pro/NumberKeyboardPopover/types.d.ts +31 -0
- package/lib/pro/multiDayTimeSelect/index.d.ts +3 -0
- package/lib/pro/multiDayTimeSelect/types.d.ts +28 -0
- package/lib/pro/pisellNumberSelector/example.d.ts +3 -0
- package/lib/pro/pisellPriceKeyboardModal/index.d.ts +2 -0
- package/lib/pro/pisellPriceKeyboardModal/types.d.ts +25 -0
- package/lib/pro/pisellPriceKeyboardPopover/index.d.ts +2 -0
- package/lib/pro/pisellPriceKeyboardPopover/types.d.ts +33 -0
- package/lib/pro/pisellPriceRadio/index.d.ts +26 -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/locales.d.ts +63 -0
- package/lib/pro/priceKeyboard/components/cashKeyboard/types.d.ts +98 -0
- package/lib/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +68 -0
- package/lib/pro/priceKeyboard/components/discountKeyboard/types.d.ts +17 -0
- package/lib/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +73 -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/rightItems.d.ts +28 -0
- package/lib/pro/priceKeyboard/index.d.ts +3 -0
- package/lib/pro/skuDetailModal/locales.d.ts +78 -0
- package/lib/pro/skuDetailModal/types.d.ts +352 -0
- package/package.json +2 -2
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 登录注册 2.0 共享类型定义
|
|
3
|
+
*/
|
|
4
|
+
/** 验证方式枚举 */
|
|
5
|
+
export declare type VerificationMethod = 'verification_code' | 'password';
|
|
6
|
+
/** 邮箱注册验证方式 */
|
|
7
|
+
export declare type EmailRegistrationVerification = 'verification_link' | 'verification_code' | 'none';
|
|
8
|
+
/** 手机注册验证方式 */
|
|
9
|
+
export declare type PhoneRegistrationVerification = 'verification_code';
|
|
10
|
+
/** 认证方式类型 */
|
|
11
|
+
export declare type AuthMethodType = 'email' | 'phone' | 'google' | 'facebook' | 'apple' | 'guest';
|
|
12
|
+
/** 登录方式项类型 */
|
|
13
|
+
export declare type LoginMethodType = 'email' | 'phone' | 'google' | 'facebook' | 'apple' | 'guest';
|
|
14
|
+
export interface PhoneValueObject {
|
|
15
|
+
phone: string;
|
|
16
|
+
country_calling_code: string;
|
|
17
|
+
}
|
|
18
|
+
/** 邮箱登录方式项 */
|
|
19
|
+
export interface EmailLoginMethod {
|
|
20
|
+
type: 'email';
|
|
21
|
+
/** 启用的验证方式(按顺序),第一个为默认方式 */
|
|
22
|
+
verificationMethods: Array<'password' | 'verification_code'>;
|
|
23
|
+
/** 密码登录是否分步骤填写(先输入邮箱,再输入密码) */
|
|
24
|
+
stepByStep?: boolean;
|
|
25
|
+
}
|
|
26
|
+
/** 手机登录方式项 */
|
|
27
|
+
export interface PhoneLoginMethod {
|
|
28
|
+
type: 'phone';
|
|
29
|
+
/** 启用的验证方式(按顺序),第一个为默认方式 */
|
|
30
|
+
verificationMethods: Array<'password' | 'verification_code'>;
|
|
31
|
+
/** 密码登录是否分步骤填写(先输入手机号,再输入密码) */
|
|
32
|
+
stepByStep?: boolean;
|
|
33
|
+
}
|
|
34
|
+
/** Google 登录方式项 */
|
|
35
|
+
export interface GoogleLoginMethod {
|
|
36
|
+
type: 'google';
|
|
37
|
+
/** Google Client ID */
|
|
38
|
+
clientId?: string;
|
|
39
|
+
}
|
|
40
|
+
/** Facebook 登录方式项 */
|
|
41
|
+
export interface FacebookLoginMethod {
|
|
42
|
+
type: 'facebook';
|
|
43
|
+
/** Facebook App ID */
|
|
44
|
+
appId?: string;
|
|
45
|
+
}
|
|
46
|
+
/** Apple 登录方式项 */
|
|
47
|
+
export interface AppleLoginMethod {
|
|
48
|
+
type: 'apple';
|
|
49
|
+
/** Apple Client ID */
|
|
50
|
+
clientId?: string;
|
|
51
|
+
}
|
|
52
|
+
/** Guest 登录方式项 */
|
|
53
|
+
export interface GuestLoginMethod {
|
|
54
|
+
type: 'guest';
|
|
55
|
+
}
|
|
56
|
+
/** 注册方式类型 */
|
|
57
|
+
export declare type RegistrationMethodType = 'email' | 'phone' | 'google' | 'facebook' | 'apple';
|
|
58
|
+
/** 邮箱注册方式项 */
|
|
59
|
+
export interface EmailRegistrationMethod {
|
|
60
|
+
type: 'email';
|
|
61
|
+
/** 注册验证方式(邮箱支持验证链接/验证码/无需验证) */
|
|
62
|
+
verificationMethod: 'verification_link' | 'verification_code' | 'none';
|
|
63
|
+
}
|
|
64
|
+
/** 手机注册方式项 */
|
|
65
|
+
export interface PhoneRegistrationMethod {
|
|
66
|
+
type: 'phone';
|
|
67
|
+
/** 注册验证方式(手机仅支持验证码) */
|
|
68
|
+
verificationMethod: 'verification_code';
|
|
69
|
+
}
|
|
70
|
+
/** Google 注册方式项 */
|
|
71
|
+
export interface GoogleRegistrationMethod {
|
|
72
|
+
type: 'google';
|
|
73
|
+
/** Google Client ID */
|
|
74
|
+
clientId?: string;
|
|
75
|
+
}
|
|
76
|
+
/** Facebook 注册方式项 */
|
|
77
|
+
export interface FacebookRegistrationMethod {
|
|
78
|
+
type: 'facebook';
|
|
79
|
+
/** Facebook App ID */
|
|
80
|
+
appId?: string;
|
|
81
|
+
}
|
|
82
|
+
/** Apple 注册方式项 */
|
|
83
|
+
export interface AppleRegistrationMethod {
|
|
84
|
+
type: 'apple';
|
|
85
|
+
/** Apple Client ID */
|
|
86
|
+
clientId?: string;
|
|
87
|
+
}
|
|
88
|
+
/** 注册方式项联合类型 */
|
|
89
|
+
export declare type RegistrationMethodItem = EmailRegistrationMethod | PhoneRegistrationMethod | GoogleRegistrationMethod | FacebookRegistrationMethod | AppleRegistrationMethod;
|
|
90
|
+
/** 法律条款项 */
|
|
91
|
+
export interface LegalTermItem {
|
|
92
|
+
/** 条款名称 - 支持国际化对象或简单字符串 */
|
|
93
|
+
name: string | {
|
|
94
|
+
en?: string;
|
|
95
|
+
'zh-CN'?: string;
|
|
96
|
+
'zh-HK'?: string;
|
|
97
|
+
'ja'?: string;
|
|
98
|
+
'pt'?: string;
|
|
99
|
+
original?: string;
|
|
100
|
+
};
|
|
101
|
+
/** 条款链接 */
|
|
102
|
+
url: string;
|
|
103
|
+
}
|
|
104
|
+
/** 法律条款配置 */
|
|
105
|
+
export interface LegalTermsConfig {
|
|
106
|
+
/** 是否显示法律条款区域 */
|
|
107
|
+
enabled?: boolean;
|
|
108
|
+
/** 法律条款列表 */
|
|
109
|
+
terms?: LegalTermItem[];
|
|
110
|
+
/** 条款文本模板 */
|
|
111
|
+
textTemplate?: string;
|
|
112
|
+
/** 当前模式:login 或 register */
|
|
113
|
+
mode?: 'login' | 'register';
|
|
114
|
+
}
|
|
115
|
+
/** 登录方式项联合类型 */
|
|
116
|
+
export declare type LoginMethodItem = EmailLoginMethod | PhoneLoginMethod | GoogleLoginMethod | FacebookLoginMethod | AppleLoginMethod | GuestLoginMethod;
|
|
117
|
+
/** 邮箱认证配置 */
|
|
118
|
+
export interface EmailAuthConfig {
|
|
119
|
+
/** 是否启用邮箱认证 */
|
|
120
|
+
enable_email: boolean;
|
|
121
|
+
/** 注册验证方式 */
|
|
122
|
+
registration_verification?: EmailRegistrationVerification;
|
|
123
|
+
/** 登录验证方式列表 */
|
|
124
|
+
login_verification_methods?: VerificationMethod[];
|
|
125
|
+
}
|
|
126
|
+
/** 手机认证配置 */
|
|
127
|
+
export interface PhoneAuthConfig {
|
|
128
|
+
/** 是否启用手机认证 */
|
|
129
|
+
enable_phone_number: boolean;
|
|
130
|
+
/** 注册验证方式 */
|
|
131
|
+
registration_verification?: PhoneRegistrationVerification;
|
|
132
|
+
/** 登录验证方式列表 */
|
|
133
|
+
login_verification_methods?: VerificationMethod[];
|
|
134
|
+
}
|
|
135
|
+
/** 三方 OAuth 配置 */
|
|
136
|
+
export interface OAuthConfig {
|
|
137
|
+
/** Google 登录 */
|
|
138
|
+
google?: {
|
|
139
|
+
enabled: boolean;
|
|
140
|
+
client_id?: string;
|
|
141
|
+
};
|
|
142
|
+
/** Facebook 登录 */
|
|
143
|
+
facebook?: {
|
|
144
|
+
enabled: boolean;
|
|
145
|
+
app_id?: string;
|
|
146
|
+
};
|
|
147
|
+
/** Apple 登录 */
|
|
148
|
+
apple?: {
|
|
149
|
+
enabled: boolean;
|
|
150
|
+
client_id?: string;
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
/** UI 配置 */
|
|
154
|
+
export interface UIConfig {
|
|
155
|
+
/** Logo 配置 */
|
|
156
|
+
logo?: {
|
|
157
|
+
show: boolean;
|
|
158
|
+
url?: string;
|
|
159
|
+
position?: 'left' | 'center' | 'right';
|
|
160
|
+
size?: {
|
|
161
|
+
width: number;
|
|
162
|
+
height: number;
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
/** 标题配置 */
|
|
166
|
+
title?: {
|
|
167
|
+
show: boolean;
|
|
168
|
+
text?: string;
|
|
169
|
+
align?: 'left' | 'center' | 'right';
|
|
170
|
+
};
|
|
171
|
+
/** 副标题配置 */
|
|
172
|
+
subtitle?: {
|
|
173
|
+
show: boolean;
|
|
174
|
+
text?: string;
|
|
175
|
+
align?: 'left' | 'center' | 'right';
|
|
176
|
+
};
|
|
177
|
+
/** 描述配置 */
|
|
178
|
+
desc?: {
|
|
179
|
+
show: boolean;
|
|
180
|
+
text?: string;
|
|
181
|
+
align?: 'left' | 'center' | 'right';
|
|
182
|
+
};
|
|
183
|
+
/** 表单标签配置 */
|
|
184
|
+
formLabels?: {
|
|
185
|
+
/** 邮箱标签配置 */
|
|
186
|
+
email?: {
|
|
187
|
+
show: boolean;
|
|
188
|
+
text?: string;
|
|
189
|
+
};
|
|
190
|
+
/** 手机标签配置 */
|
|
191
|
+
phone?: {
|
|
192
|
+
show: boolean;
|
|
193
|
+
text?: string;
|
|
194
|
+
};
|
|
195
|
+
/** 密码标签配置 */
|
|
196
|
+
password?: {
|
|
197
|
+
show: boolean;
|
|
198
|
+
text?: string;
|
|
199
|
+
};
|
|
200
|
+
/** 验证码标签配置 */
|
|
201
|
+
verificationCode?: {
|
|
202
|
+
show: boolean;
|
|
203
|
+
text?: string;
|
|
204
|
+
};
|
|
205
|
+
};
|
|
206
|
+
/** 密码规则 */
|
|
207
|
+
passwordRules?: any;
|
|
208
|
+
/** 主题色 */
|
|
209
|
+
themeColor?: string;
|
|
210
|
+
}
|
|
211
|
+
/** 登录表单数据 */
|
|
212
|
+
export interface LoginFormData {
|
|
213
|
+
/** 邮箱或手机号 */
|
|
214
|
+
account: string | PhoneValueObject;
|
|
215
|
+
/** 密码 */
|
|
216
|
+
password?: string;
|
|
217
|
+
/** 验证码 */
|
|
218
|
+
verification_code?: string;
|
|
219
|
+
/** 记住我 */
|
|
220
|
+
remember_me?: boolean;
|
|
221
|
+
}
|
|
222
|
+
/** 注册表单数据 */
|
|
223
|
+
export interface RegisterFormData {
|
|
224
|
+
/** 邮箱或手机号 */
|
|
225
|
+
account: string;
|
|
226
|
+
/** 密码 */
|
|
227
|
+
password?: string;
|
|
228
|
+
/** 确认密码 */
|
|
229
|
+
confirm_password?: string;
|
|
230
|
+
/** 验证码 */
|
|
231
|
+
verification_code?: string;
|
|
232
|
+
/** 验证链接 token */
|
|
233
|
+
verification_token?: string;
|
|
234
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
export interface NumberKeyboardPopoverProps {
|
|
4
|
+
/** 触发元素 */
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
/** 当前值 */
|
|
7
|
+
value?: string;
|
|
8
|
+
/** 值变化回调 */
|
|
9
|
+
onChange?: (value: string) => void;
|
|
10
|
+
/** 确认回调 */
|
|
11
|
+
onConfirm?: (value: string) => void;
|
|
12
|
+
/** 取消回调 */
|
|
13
|
+
onCancel?: () => void;
|
|
14
|
+
/** 是否允许小数 */
|
|
15
|
+
allowDecimal?: boolean;
|
|
16
|
+
/** 小数位数 */
|
|
17
|
+
decimalPlaces?: number;
|
|
18
|
+
/** 键盘主题 */
|
|
19
|
+
selectType?: 'light' | 'dark';
|
|
20
|
+
/** 是否禁用 */
|
|
21
|
+
disabled?: boolean;
|
|
22
|
+
/** Popover 额外的类名 */
|
|
23
|
+
overlayClassName?: string;
|
|
24
|
+
max?: number;
|
|
25
|
+
maxLength?: number;
|
|
26
|
+
}
|
|
27
|
+
export interface NumberKeyboardPopoverRef {
|
|
28
|
+
/** 打开键盘 */
|
|
29
|
+
open: () => void;
|
|
30
|
+
/** 关闭键盘 */
|
|
31
|
+
close: () => void;
|
|
32
|
+
/** 获取当前是否打开 */
|
|
33
|
+
isOpen: () => boolean;
|
|
34
|
+
}
|
|
35
|
+
declare const NumberKeyboardPopover: React.ForwardRefExoticComponent<NumberKeyboardPopoverProps & React.RefAttributes<NumberKeyboardPopoverRef>>;
|
|
36
|
+
export default NumberKeyboardPopover;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface NumberKeyboardPopoverProps {
|
|
3
|
+
/** 触发元素 */
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
/** 当前值 */
|
|
6
|
+
value?: string;
|
|
7
|
+
/** 值变化回调 */
|
|
8
|
+
onChange?: (value: string) => void;
|
|
9
|
+
/** 确认回调 */
|
|
10
|
+
onConfirm?: (value: string) => void;
|
|
11
|
+
/** 取消回调 */
|
|
12
|
+
onCancel?: () => void;
|
|
13
|
+
/** 是否允许小数 */
|
|
14
|
+
allowDecimal?: boolean;
|
|
15
|
+
/** 小数位数 */
|
|
16
|
+
decimalPlaces?: number;
|
|
17
|
+
/** 键盘主题 */
|
|
18
|
+
selectType?: 'light' | 'dark';
|
|
19
|
+
/** 是否禁用 */
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
/** Popover 额外的类名 */
|
|
22
|
+
overlayClassName?: string;
|
|
23
|
+
}
|
|
24
|
+
export interface NumberKeyboardPopoverRef {
|
|
25
|
+
/** 打开键盘 */
|
|
26
|
+
open: () => void;
|
|
27
|
+
/** 关闭键盘 */
|
|
28
|
+
close: () => void;
|
|
29
|
+
/** 获取当前是否打开 */
|
|
30
|
+
isOpen: () => boolean;
|
|
31
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Dayjs } from 'dayjs';
|
|
2
|
+
export interface MultiDayTimeSelectValue {
|
|
3
|
+
startDate: Dayjs;
|
|
4
|
+
endDate: Dayjs;
|
|
5
|
+
duration: number;
|
|
6
|
+
}
|
|
7
|
+
export interface MultiDayTimeSelectProps {
|
|
8
|
+
/** 最大天数,默认30天 */
|
|
9
|
+
maxDays?: number;
|
|
10
|
+
/** 默认开始时间 */
|
|
11
|
+
defaultStartDate?: Dayjs;
|
|
12
|
+
/** 开始时间和结束时间是否分离,false使用RangePicker,true使用两个独立的DatePicker */
|
|
13
|
+
separateStartEnd?: boolean;
|
|
14
|
+
/** 受控值 */
|
|
15
|
+
value?: MultiDayTimeSelectValue;
|
|
16
|
+
/** 值变化回调 */
|
|
17
|
+
onChange?: (value: MultiDayTimeSelectValue) => void;
|
|
18
|
+
/** 语言环境 */
|
|
19
|
+
locale?: string;
|
|
20
|
+
/** 是否禁用 */
|
|
21
|
+
disabled?: boolean;
|
|
22
|
+
/** 开始日期标签 */
|
|
23
|
+
startDateLabel?: string;
|
|
24
|
+
/** 结束日期标签 */
|
|
25
|
+
endDateLabel?: string;
|
|
26
|
+
/** 时长标签 */
|
|
27
|
+
durationLabel?: string;
|
|
28
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface PisellPriceKeyboardModalProps {
|
|
3
|
+
/** 是否显示键盘 */
|
|
4
|
+
visible?: boolean;
|
|
5
|
+
/** 当前价格值 */
|
|
6
|
+
value?: string | number;
|
|
7
|
+
/** 价格变化回调(合并了 onChange 和 onEnter) */
|
|
8
|
+
onChange?: (value: string | number) => void;
|
|
9
|
+
/** 关闭键盘回调 */
|
|
10
|
+
onClose?: () => void;
|
|
11
|
+
/** 触发元素的 ref,用于计算位置 */
|
|
12
|
+
triggerRef?: React.RefObject<HTMLElement>;
|
|
13
|
+
/** 货币符号显示 */
|
|
14
|
+
showCurrencySymbol?: boolean;
|
|
15
|
+
/** 是否使用千分位分隔符 */
|
|
16
|
+
useThousandsSeparator?: boolean;
|
|
17
|
+
/** 自定义类名 */
|
|
18
|
+
className?: string;
|
|
19
|
+
/** 自定义样式 */
|
|
20
|
+
style?: React.CSSProperties;
|
|
21
|
+
}
|
|
22
|
+
export interface KeyboardPosition {
|
|
23
|
+
top: number;
|
|
24
|
+
left: number;
|
|
25
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface PisellPriceKeyboardPopoverProps {
|
|
3
|
+
/** 触发元素 */
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
/** 当前价格值 */
|
|
6
|
+
value?: string | number;
|
|
7
|
+
/** 价格变化回调(合并了 onChange 和 onEnter) */
|
|
8
|
+
onChange?: (value: string | number) => void;
|
|
9
|
+
/** 确认回调 */
|
|
10
|
+
onConfirm?: (value: string | number) => void;
|
|
11
|
+
/** 取消回调 */
|
|
12
|
+
onCancel?: () => void;
|
|
13
|
+
/** 货币符号显示 */
|
|
14
|
+
showCurrencySymbol?: boolean;
|
|
15
|
+
/** 是否使用千分位分隔符 */
|
|
16
|
+
useThousandsSeparator?: boolean;
|
|
17
|
+
/** 键盘主题 */
|
|
18
|
+
selectType?: 'light' | 'dark';
|
|
19
|
+
/** 是否禁用 */
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
/** Popover 额外的类名 */
|
|
22
|
+
overlayClassName?: string;
|
|
23
|
+
/** 自定义样式 */
|
|
24
|
+
style?: React.CSSProperties;
|
|
25
|
+
}
|
|
26
|
+
export interface PisellPriceKeyboardPopoverRef {
|
|
27
|
+
/** 打开键盘 */
|
|
28
|
+
open: () => void;
|
|
29
|
+
/** 关闭键盘 */
|
|
30
|
+
close: () => void;
|
|
31
|
+
/** 获取当前是否打开 */
|
|
32
|
+
isOpen: () => boolean;
|
|
33
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
export interface PisellPriceRadioProps {
|
|
4
|
+
/** 是否选中 */
|
|
5
|
+
checked?: boolean;
|
|
6
|
+
/** 点击选中回调 */
|
|
7
|
+
onSelect?: () => void;
|
|
8
|
+
/** 价格值 */
|
|
9
|
+
value?: string;
|
|
10
|
+
/** 价格变化回调 */
|
|
11
|
+
onChange?: (value: string) => void;
|
|
12
|
+
/** 标题 */
|
|
13
|
+
title?: string;
|
|
14
|
+
/** 货币符号 */
|
|
15
|
+
currencySymbol?: string;
|
|
16
|
+
/** 主题颜色 */
|
|
17
|
+
theme?: 'purple' | 'red';
|
|
18
|
+
/** 是否显示负号 */
|
|
19
|
+
showMinus?: boolean;
|
|
20
|
+
/** 是否禁用 */
|
|
21
|
+
disabled?: boolean;
|
|
22
|
+
/** 占位符 */
|
|
23
|
+
placeholder?: string;
|
|
24
|
+
}
|
|
25
|
+
declare const PisellPriceRadio: React.FC<PisellPriceRadioProps>;
|
|
26
|
+
export default PisellPriceRadio;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface PisellPriceKeyboardPopoverProps {
|
|
3
|
+
/** 触发元素 */
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
/** 当前价格值 */
|
|
6
|
+
value?: string | number;
|
|
7
|
+
/** 价格变化回调(合并了 onChange 和 onEnter) */
|
|
8
|
+
onChange?: (value: string | number) => void;
|
|
9
|
+
/** 确认回调 */
|
|
10
|
+
onConfirm?: (value: string | number) => void;
|
|
11
|
+
/** 取消回调 */
|
|
12
|
+
onCancel?: () => void;
|
|
13
|
+
/** 货币符号显示 */
|
|
14
|
+
showCurrencySymbol?: boolean;
|
|
15
|
+
/** 是否使用千分位分隔符 */
|
|
16
|
+
useThousandsSeparator?: boolean;
|
|
17
|
+
/** 键盘主题 */
|
|
18
|
+
selectType?: 'light' | 'dark';
|
|
19
|
+
/** 是否禁用 */
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
/** Popover 额外的类名 */
|
|
22
|
+
overlayClassName?: string;
|
|
23
|
+
/** 自定义样式 */
|
|
24
|
+
style?: React.CSSProperties;
|
|
25
|
+
}
|
|
26
|
+
export interface PisellPriceKeyboardPopoverRef {
|
|
27
|
+
/** 打开键盘 */
|
|
28
|
+
open: () => void;
|
|
29
|
+
/** 关闭键盘 */
|
|
30
|
+
close: () => void;
|
|
31
|
+
/** 获取当前是否打开 */
|
|
32
|
+
isOpen: () => boolean;
|
|
33
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'cash-keyboard-title': string;
|
|
4
|
+
'cash-keyboard-balance-due': string;
|
|
5
|
+
'cash-keyboard-cash-received': string;
|
|
6
|
+
'cash-keyboard-change-due': string;
|
|
7
|
+
'cash-keyboard-rounding': string;
|
|
8
|
+
'cash-keyboard-other': string;
|
|
9
|
+
'cash-keyboard-reset': string;
|
|
10
|
+
'cash-keyboard-done': string;
|
|
11
|
+
'cash-keyboard-pay': string;
|
|
12
|
+
'cash-keyboard-amount-cannot-be-zero': string;
|
|
13
|
+
};
|
|
14
|
+
'zh-CN': {
|
|
15
|
+
'cash-keyboard-title': string;
|
|
16
|
+
'cash-keyboard-balance-due': string;
|
|
17
|
+
'cash-keyboard-cash-received': string;
|
|
18
|
+
'cash-keyboard-change-due': string;
|
|
19
|
+
'cash-keyboard-rounding': string;
|
|
20
|
+
'cash-keyboard-other': string;
|
|
21
|
+
'cash-keyboard-reset': string;
|
|
22
|
+
'cash-keyboard-done': string;
|
|
23
|
+
'cash-keyboard-pay': string;
|
|
24
|
+
'cash-keyboard-amount-cannot-be-zero': string;
|
|
25
|
+
};
|
|
26
|
+
'zh-HK': {
|
|
27
|
+
'cash-keyboard-title': string;
|
|
28
|
+
'cash-keyboard-balance-due': string;
|
|
29
|
+
'cash-keyboard-cash-received': string;
|
|
30
|
+
'cash-keyboard-change-due': string;
|
|
31
|
+
'cash-keyboard-rounding': string;
|
|
32
|
+
'cash-keyboard-other': string;
|
|
33
|
+
'cash-keyboard-reset': string;
|
|
34
|
+
'cash-keyboard-done': string;
|
|
35
|
+
'cash-keyboard-pay': string;
|
|
36
|
+
'cash-keyboard-amount-cannot-be-zero': string;
|
|
37
|
+
};
|
|
38
|
+
ja: {
|
|
39
|
+
'cash-keyboard-title': string;
|
|
40
|
+
'cash-keyboard-balance-due': string;
|
|
41
|
+
'cash-keyboard-cash-received': string;
|
|
42
|
+
'cash-keyboard-change-due': string;
|
|
43
|
+
'cash-keyboard-rounding': string;
|
|
44
|
+
'cash-keyboard-other': string;
|
|
45
|
+
'cash-keyboard-reset': string;
|
|
46
|
+
'cash-keyboard-done': string;
|
|
47
|
+
'cash-keyboard-pay': string;
|
|
48
|
+
'cash-keyboard-amount-cannot-be-zero': string;
|
|
49
|
+
};
|
|
50
|
+
pt: {
|
|
51
|
+
'cash-keyboard-title': string;
|
|
52
|
+
'cash-keyboard-balance-due': string;
|
|
53
|
+
'cash-keyboard-cash-received': string;
|
|
54
|
+
'cash-keyboard-change-due': string;
|
|
55
|
+
'cash-keyboard-rounding': string;
|
|
56
|
+
'cash-keyboard-other': string;
|
|
57
|
+
'cash-keyboard-reset': string;
|
|
58
|
+
'cash-keyboard-done': string;
|
|
59
|
+
'cash-keyboard-pay': string;
|
|
60
|
+
'cash-keyboard-amount-cannot-be-zero': string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
export default _default;
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface RightItemsStyleProps {
|
|
3
|
+
buttonBackgroundColor?: string;
|
|
4
|
+
textColor?: string;
|
|
5
|
+
resetButtonBackgroundColor?: string;
|
|
6
|
+
resetButtonTextColor?: string;
|
|
7
|
+
isDoneButtonFollowTheme?: boolean;
|
|
8
|
+
doneButtonBackgroundColor?: string;
|
|
9
|
+
doneButtonTextColor?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare type ItemValue = string | number;
|
|
12
|
+
export interface Item {
|
|
13
|
+
value: ItemValue;
|
|
14
|
+
label: React.ReactNode;
|
|
15
|
+
disabled: boolean;
|
|
16
|
+
type: 'text' | 'primary';
|
|
17
|
+
style?: React.CSSProperties;
|
|
18
|
+
size?: number;
|
|
19
|
+
}
|
|
20
|
+
export interface KeyboardProps {
|
|
21
|
+
className?: string;
|
|
22
|
+
style?: React.CSSProperties;
|
|
23
|
+
onChange?: (value?: ItemValue) => void;
|
|
24
|
+
items?: Item[];
|
|
25
|
+
rightItems?: Item[];
|
|
26
|
+
keydown?: boolean;
|
|
27
|
+
}
|
|
28
|
+
export interface TitleAreaConfig {
|
|
29
|
+
visible?: boolean;
|
|
30
|
+
title?: {
|
|
31
|
+
visible?: boolean;
|
|
32
|
+
text?: string;
|
|
33
|
+
fontSize?: string | number;
|
|
34
|
+
color?: string;
|
|
35
|
+
fontWeight?: string | number;
|
|
36
|
+
};
|
|
37
|
+
subtitle?: {
|
|
38
|
+
visible?: boolean;
|
|
39
|
+
text?: string;
|
|
40
|
+
fontSize?: string | number;
|
|
41
|
+
color?: string;
|
|
42
|
+
fontWeight?: string | number;
|
|
43
|
+
};
|
|
44
|
+
alignment?: 'left' | 'right' | 'center' | 'space-between';
|
|
45
|
+
spacing?: string | number;
|
|
46
|
+
}
|
|
47
|
+
export interface DisplayFieldConfig {
|
|
48
|
+
cashReceived?: {
|
|
49
|
+
visible?: boolean;
|
|
50
|
+
};
|
|
51
|
+
balanceDue?: {
|
|
52
|
+
visible?: boolean;
|
|
53
|
+
};
|
|
54
|
+
changeDue?: {
|
|
55
|
+
visible?: boolean;
|
|
56
|
+
};
|
|
57
|
+
gridRatio?: number[];
|
|
58
|
+
}
|
|
59
|
+
export interface CashKeyboardBaseProps {
|
|
60
|
+
amountSymbol?: string;
|
|
61
|
+
value?: string;
|
|
62
|
+
/** 默认值,非受控模式 */
|
|
63
|
+
defaultValue?: string;
|
|
64
|
+
/** 原始值,多用于重置, 当前对应 Balance Due */
|
|
65
|
+
originalValue?: string;
|
|
66
|
+
placeholder?: string;
|
|
67
|
+
max?: number;
|
|
68
|
+
min?: number;
|
|
69
|
+
disabled?: boolean;
|
|
70
|
+
doneText?: string;
|
|
71
|
+
resetText?: string;
|
|
72
|
+
presets?: any;
|
|
73
|
+
hiddenChangeDue?: boolean;
|
|
74
|
+
onChange?: (val: string) => void;
|
|
75
|
+
onEnter?: (val: string) => void;
|
|
76
|
+
onReset?: () => void;
|
|
77
|
+
onPay?: () => void;
|
|
78
|
+
rightItemsStyle?: RightItemsStyleProps;
|
|
79
|
+
titleArea?: TitleAreaConfig;
|
|
80
|
+
displayField?: DisplayFieldConfig;
|
|
81
|
+
keyboardProps?: KeyboardProps;
|
|
82
|
+
style?: React.CSSProperties;
|
|
83
|
+
selectType?: 'light' | 'dark';
|
|
84
|
+
backgroundColor?: string;
|
|
85
|
+
containerBackgroundColor?: string;
|
|
86
|
+
buttonBackgroundColor?: string;
|
|
87
|
+
textColor?: string;
|
|
88
|
+
resetButtonBackgroundColor?: string;
|
|
89
|
+
resetButtonTextColor?: string;
|
|
90
|
+
isDoneButtonFollowTheme?: boolean;
|
|
91
|
+
doneButtonBackgroundColor?: string;
|
|
92
|
+
doneButtonTextColor?: string;
|
|
93
|
+
keyboardBackgroundColor?: string;
|
|
94
|
+
keyboardButtonBackgroundColor?: string;
|
|
95
|
+
keyboardButtonTextColor?: string;
|
|
96
|
+
keyboardButtonHoverColor?: string;
|
|
97
|
+
shortcutsSize?: 'default' | 'large';
|
|
98
|
+
}
|