@pisell/private-materials 6.6.39 → 6.6.41
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 +2 -2
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/components/booking/info2/service/editService/index.js +25 -0
- package/es/components/booking/utils.d.ts +2 -2
- package/es/components/ticketBooking/utils/index.d.ts +2 -1
- package/es/components/ticketBooking/utils/index.js +3 -2
- package/es/plus/clientCard/index.js +6 -4
- package/es/plus/clientCard/index.less +6 -2
- package/es/plus/clientCard/types.d.ts +1 -0
- package/es/plus/walletPassGallery/components/passDetail/index.d.ts +1 -0
- package/es/plus/walletPassGallery/components/passDetail/index.js +82 -40
- package/es/plus/walletPassGallery/components/passList/index.js +12 -4
- package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +3 -0
- package/es/plus/walletPassGallery/components/timelineSection/index.js +20 -2
- package/es/plus/walletPassGallery/index.d.ts +4 -0
- package/es/plus/walletPassGallery/index.js +95 -46
- package/es/plus/walletPassGallery/serve.d.ts +11 -1
- package/es/plus/walletPassGallery/serve.js +85 -59
- package/lib/components/booking/info2/service/editService/index.js +25 -7
- package/lib/components/booking/utils.d.ts +2 -2
- package/lib/components/ticketBooking/utils/index.d.ts +2 -1
- package/lib/components/ticketBooking/utils/index.js +3 -2
- package/lib/plus/clientCard/index.js +5 -4
- package/lib/plus/clientCard/index.less +6 -2
- package/lib/plus/clientCard/types.d.ts +1 -0
- package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +1 -0
- package/lib/plus/walletPassGallery/components/passDetail/index.js +65 -10
- package/lib/plus/walletPassGallery/components/passList/index.js +12 -5
- package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +3 -0
- package/lib/plus/walletPassGallery/components/timelineSection/index.js +17 -2
- package/lib/plus/walletPassGallery/index.d.ts +4 -0
- package/lib/plus/walletPassGallery/index.js +116 -45
- package/lib/plus/walletPassGallery/serve.d.ts +11 -1
- package/lib/plus/walletPassGallery/serve.js +25 -12
- package/lowcode/client-card/meta.ts +9 -3
- package/lowcode/client-search/meta.ts +316 -0
- package/lowcode/wallet-pass-gallery/meta.ts +66 -1
- package/package.json +3 -3
- package/es/components/Sales/Cart/utils.d.ts +0 -63
- package/es/components/Sales/Checkout/utils.d.ts +0 -41
- package/es/components/Sales/Summary/index.d.ts +0 -35
- package/es/components/Sales/Summary/utils.d.ts +0 -51
- package/es/components/appointmentBooking/locales.d.ts +0 -603
- package/es/components/booking/components/voucher/utils.d.ts +0 -5
- package/es/components/booking/dashboard/serve.d.ts +0 -2
- package/es/components/booking/editBookingModal/utils.d.ts +0 -12
- package/es/components/booking/forms/serve.d.ts +0 -18
- package/es/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
- package/es/components/booking/info/addServiceVariant/index.d.ts +0 -7
- package/es/components/booking/info/client/serve.d.ts +0 -2
- package/es/components/booking/info/hooks/useHolderConfig.d.ts +0 -10
- package/es/components/booking/info/index.d.ts +0 -4
- package/es/components/booking/info/pet/serve.d.ts +0 -1
- package/es/components/booking/info/service/addTimeModal/serve.d.ts +0 -5
- package/es/components/booking/info/service/editService/constants.d.ts +0 -1
- package/es/components/booking/info/service/serve.d.ts +0 -34
- package/es/components/booking/info2/cartClientCard/locales.d.ts +0 -33
- package/es/components/booking/info2/serve.d.ts +0 -6
- package/es/components/booking/locales.d.ts +0 -1619
- package/es/components/checkout/PaymentProvider.d.ts +0 -13
- package/es/components/checkout/components/AdditionalModule/locales.d.ts +0 -58
- package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +0 -85
- package/es/components/checkout/components/PaymentResultToast/index.d.ts +0 -9
- package/es/components/checkout/components/PaymentResultToast/types.d.ts +0 -59
- package/es/components/checkout/components/PaymentResultToast/utils.d.ts +0 -44
- package/es/components/checkout/components/ScrollableList/index.d.ts +0 -5
- package/es/components/checkout/components/ScrollableList/types.d.ts +0 -53
- package/es/components/checkout/components/WalletPassModule/components/ConflictModal/index.d.ts +0 -11
- package/es/components/checkout/components/WalletPassModule/components/DiscountWallet/DiscountTextMode.d.ts +0 -7
- package/es/components/checkout/components/WalletPassModule/components/WalletPassTextMode/index.d.ts +0 -5
- package/es/components/checkout/components/WalletPassModule/types.d.ts +0 -134
- package/es/components/checkout/constants.d.ts +0 -2
- package/es/components/checkout/export.d.ts +0 -9
- package/es/components/checkout/hooks/usePaymentLogger.d.ts +0 -2
- package/es/components/checkout/index.d.ts +0 -5
- package/es/components/checkout/locales.d.ts +0 -853
- package/es/components/checkout/styles.d.ts +0 -67
- package/es/components/checkout/types.d.ts +0 -130
- package/es/components/checkout/utils.d.ts +0 -3
- package/es/components/eftpos/const.d.ts +0 -64
- package/es/components/eftpos/hooks.d.ts +0 -33
- package/es/components/eftpos/locales.d.ts +0 -163
- package/es/components/eftposPay/EFTPos.d.ts +0 -14
- package/es/components/eftposPay/aggregatePayment/index.d.ts +0 -3
- package/es/components/eftposPay/aggregatePayment/service.d.ts +0 -24
- package/es/components/eftposPay/aggregatePayment/types.d.ts +0 -106
- package/es/components/eftposPay/aggregatePayment/utils/payment.d.ts +0 -139
- package/es/components/eftposPay/const.d.ts +0 -195
- package/es/components/eftposPay/huifu/hooks.d.ts +0 -25
- package/es/components/eftposPay/huifu/types.d.ts +0 -14
- package/es/components/eftposPay/locales.d.ts +0 -608
- package/es/components/eftposPay/manufacturer.d.ts +0 -8
- package/es/components/eftposPay/serve.d.ts +0 -16
- package/es/components/eftposPay/store/index.d.ts +0 -362
- package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -3
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -11
- package/es/components/list/List.d.ts +0 -5
- package/es/components/list/ResponsiveWrapper.d.ts +0 -16
- package/es/components/list/TestResponsiveWrapper.d.ts +0 -8
- package/es/components/list/components/EmptyState/EmptyState.d.ts +0 -20
- package/es/components/list/components/EmptyState/index.d.ts +0 -2
- package/es/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +0 -13
- package/es/components/list/components/ListItemSkeleton/index.d.ts +0 -2
- package/es/components/list/components/Pagination/Pagination.d.ts +0 -30
- package/es/components/list/components/Pagination/index.d.ts +0 -1
- package/es/components/list/components/ScrollLoader/ScrollLoader.d.ts +0 -18
- package/es/components/list/components/ScrollLoader/index.d.ts +0 -2
- package/es/components/list/components/Tab/Tab.d.ts +0 -5
- package/es/components/list/components/Tab/index.d.ts +0 -2
- package/es/components/list/components/Tab/types.d.ts +0 -14
- package/es/components/list/components/TabSkeleton/TabSkeleton.d.ts +0 -11
- package/es/components/list/components/TabSkeleton/index.d.ts +0 -2
- package/es/components/list/components/WaterfallList/WaterfallList.d.ts +0 -33
- package/es/components/list/components/WaterfallList/index.d.ts +0 -2
- package/es/components/list/examples/GroupedListExample.d.ts +0 -3
- package/es/components/list/hooks/index.d.ts +0 -5
- package/es/components/list/hooks/useDevice.d.ts +0 -24
- package/es/components/list/hooks/useListState.d.ts +0 -43
- package/es/components/list/hooks/useWaterfall.d.ts +0 -34
- package/es/components/list/index.d.ts +0 -10
- package/es/components/list/locales.d.ts +0 -108
- package/es/components/list/types.d.ts +0 -177
- package/es/components/list/utils/getText.d.ts +0 -53
- package/es/components/list/utils/index.d.ts +0 -4
- package/es/components/pay/toB/components/CardGroup/index.d.ts +0 -8
- package/es/components/pay/toB/components/Content/index.d.ts +0 -4
- package/es/components/pay/toB/components/Content/utils.d.ts +0 -16
- package/es/components/pay/toB/components/EFTPOS/index.d.ts +0 -8
- package/es/components/pay/toB/components/index.d.ts +0 -5
- package/es/components/pay/toB/hooks.d.ts +0 -12
- package/es/components/pay/toB/locales.d.ts +0 -88
- package/es/components/pay/toB/paymentMethods/index.d.ts +0 -11
- package/es/components/pay/toB/store/context.d.ts +0 -3
- package/es/components/pay/toB/store/index.d.ts +0 -3
- package/es/components/pay/toB/store/provider.d.ts +0 -4
- package/es/components/pay/toB/types/index.d.ts +0 -61
- package/es/components/pay/toB/types/storeTypes.d.ts +0 -143
- package/es/components/pay/toC/PaymentList/utils.d.ts +0 -36
- package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.d.ts +0 -2
- package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.d.ts +0 -2
- package/es/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.d.ts +0 -2
- package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.d.ts +0 -2
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +0 -7
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -3
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -3
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -4
- package/es/components/pay/toC/PaymentMethods/StripePay/serve.d.ts +0 -2
- package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +0 -2
- package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +0 -2
- package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +0 -155
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -3
- package/es/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +0 -3
- package/es/components/pisellSelectCustomerModal/locales.d.ts +0 -133
- package/es/components/productSelect/components/pisellPriceText/index.d.ts +0 -11
- package/es/components/ruleSetting/locales.d.ts +0 -78
- package/es/components/schedules/locales.d.ts +0 -143
- package/es/components/shoppingCart/Provider.d.ts +0 -3
- package/es/components/shoppingCart/locales.d.ts +0 -58
- package/es/components/shoppingCart/mock.d.ts +0 -40
- package/es/components/shoppingCart/type.d.ts +0 -50
- package/es/components/shoppingCart/utils.d.ts +0 -63
- package/es/components/subTotal/locales.d.ts +0 -68
- package/es/components/systemSettings/registry/locales.d.ts +0 -456
- package/es/components/systemSettings/registry/services.d.ts +0 -77
- package/es/components/systemSettings/registry/types.d.ts +0 -128
- package/es/components/taxSelect/locales.d.ts +0 -38
- package/es/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.d.ts +0 -27
- package/es/components/ticketBooking/components/ProductDisplayAdapter/index.d.ts +0 -7
- package/es/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +0 -115
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -9
- package/es/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.d.ts +0 -7
- package/es/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +0 -6
- package/es/components/ticketBooking/components/bookingDataPanel/pisellFloatingPanel/index.d.ts +0 -14
- package/es/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
- package/es/components/ticketBooking/components/floatButtons/index.d.ts +0 -11
- package/es/components/ticketBooking/context/IsActiveContext.d.ts +0 -26
- package/es/components/ticketBooking/context/OsKeyContext.d.ts +0 -26
- package/es/components/ticketBooking/context/index.d.ts +0 -2
- package/es/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +0 -21
- package/es/components/ticketBooking/hooks/pisellos/useProducts.d.ts +0 -12
- package/es/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +0 -6
- package/es/components/ticketBooking/locales.d.ts +0 -328
- package/es/components/ticketBooking/serve.d.ts +0 -288
- package/es/components/ticketBooking/utils/productCache.d.ts +0 -75
- package/es/components/walletList/serve.d.ts +0 -43
- package/es/components/workSpaceList/components/AppearanceEdit/IconPanel.d.ts +0 -11
- package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +0 -8
- package/es/components/workSpaceList/components/Card/constants.d.ts +0 -2
- package/es/components/workSpaceList/components/SearchBar/index.d.ts +0 -17
- package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -4
- package/es/components/workSpaceList/components/Sort/index.d.ts +0 -7
- package/es/components/workSpaceList/components/WorkspaceItem/index.d.ts +0 -22
- package/es/hooks/index.d.ts +0 -10
- package/es/hooks/useEngineContext.d.ts +0 -3
- package/es/hooks/useLocale.d.ts +0 -2
- package/es/hooks/useLogger.d.ts +0 -2
- package/es/hooks/useModal.d.ts +0 -35
- package/es/hooks/useModal.example.d.ts +0 -12
- package/es/hooks/useModal.integration.example.d.ts +0 -15
- package/es/hooks/useToast.d.ts +0 -2
- package/es/hooks/useWindowSize.d.ts +0 -5
- package/es/plus/contactInfo/components/SwipeAction/index.d.ts +0 -46
- package/es/plus/noteModal/locales.d.ts +0 -53
- package/es/plus/noteModal/types.d.ts +0 -19
- package/es/plus/productSelect/CategoryTabs/index.d.ts +0 -20
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +0 -4
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +0 -4
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +0 -4
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +0 -4
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +0 -4
- package/es/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +0 -8
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +0 -5
- package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +0 -4
- package/es/plus/productSelect/ProductCard/SkuCard/index.d.ts +0 -9
- package/es/plus/productSelect/ProductCard/SkuCard/locales.d.ts +0 -68
- package/es/plus/productSelect/ProductCard/SkuCard/status.d.ts +0 -164
- package/es/plus/productSelect/ProductCard/SkuCard/type.d.ts +0 -298
- package/es/plus/productSelect/ProductCard/SkuCard/utils.d.ts +0 -9
- package/es/plus/productSelect/ProductList/gridComponents.d.ts +0 -44
- package/es/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +0 -30
- package/es/plus/productSelect/components/pisellPriceText/index.d.ts +0 -14
- package/es/plus/saasAttendance/locales.d.ts +0 -528
- package/es/plus/saasAttendance/settings/types.d.ts +0 -130
- package/es/plus/selectHolder/locales.d.ts +0 -38
- package/es/pro/Login2.0/locales.d.ts +0 -903
- package/es/pro/Login2.0/shared/types.d.ts +0 -234
- package/es/pro/NumberKeyboardPopover/index.d.ts +0 -36
- package/es/pro/NumberKeyboardPopover/types.d.ts +0 -31
- package/es/pro/multiDayTimeSelect/index.d.ts +0 -3
- package/es/pro/multiDayTimeSelect/types.d.ts +0 -28
- package/es/pro/pisellNumberSelector/example.d.ts +0 -3
- package/es/pro/pisellPriceKeyboardModal/index.d.ts +0 -2
- package/es/pro/pisellPriceKeyboardModal/types.d.ts +0 -25
- package/es/pro/pisellPriceKeyboardPopover/index.d.ts +0 -2
- package/es/pro/pisellPriceKeyboardPopover/types.d.ts +0 -33
- package/es/pro/pisellPriceRadio/index.d.ts +0 -26
- package/es/pro/pisellSimplePriceKeyboardPopover/index.d.ts +0 -2
- package/es/pro/pisellSimplePriceKeyboardPopover/types.d.ts +0 -33
- package/es/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +0 -63
- package/es/pro/priceKeyboard/components/cashKeyboard/types.d.ts +0 -98
- package/es/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +0 -68
- package/es/pro/priceKeyboard/components/discountKeyboard/types.d.ts +0 -17
- package/es/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +0 -73
- package/es/pro/priceKeyboard/components/paymentKeyboard/types.d.ts +0 -39
- package/es/pro/priceKeyboard/components/shortcuts/index.d.ts +0 -18
- package/es/pro/priceKeyboard/hooks/rightItems.d.ts +0 -28
- package/es/pro/priceKeyboard/index.d.ts +0 -3
- package/es/pro/skuDetailModal/locales.d.ts +0 -78
- package/es/pro/skuDetailModal/types.d.ts +0 -352
- package/lib/components/Sales/Cart/utils.d.ts +0 -63
- package/lib/components/Sales/Checkout/utils.d.ts +0 -41
- package/lib/components/Sales/Summary/index.d.ts +0 -35
- package/lib/components/Sales/Summary/utils.d.ts +0 -51
- package/lib/components/appointmentBooking/locales.d.ts +0 -603
- package/lib/components/booking/components/voucher/utils.d.ts +0 -5
- package/lib/components/booking/dashboard/serve.d.ts +0 -2
- package/lib/components/booking/editBookingModal/utils.d.ts +0 -12
- package/lib/components/booking/forms/serve.d.ts +0 -18
- package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
- package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -7
- package/lib/components/booking/info/client/serve.d.ts +0 -2
- package/lib/components/booking/info/hooks/useHolderConfig.d.ts +0 -10
- package/lib/components/booking/info/index.d.ts +0 -4
- package/lib/components/booking/info/pet/serve.d.ts +0 -1
- package/lib/components/booking/info/service/addTimeModal/serve.d.ts +0 -5
- package/lib/components/booking/info/service/editService/constants.d.ts +0 -1
- package/lib/components/booking/info/service/serve.d.ts +0 -34
- package/lib/components/booking/info2/cartClientCard/locales.d.ts +0 -33
- package/lib/components/booking/info2/serve.d.ts +0 -6
- package/lib/components/booking/locales.d.ts +0 -1619
- package/lib/components/checkout/PaymentProvider.d.ts +0 -13
- package/lib/components/checkout/components/AdditionalModule/locales.d.ts +0 -58
- package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +0 -85
- package/lib/components/checkout/components/PaymentResultToast/index.d.ts +0 -9
- package/lib/components/checkout/components/PaymentResultToast/types.d.ts +0 -59
- package/lib/components/checkout/components/PaymentResultToast/utils.d.ts +0 -44
- package/lib/components/checkout/components/ScrollableList/index.d.ts +0 -5
- package/lib/components/checkout/components/ScrollableList/types.d.ts +0 -53
- package/lib/components/checkout/components/WalletPassModule/components/ConflictModal/index.d.ts +0 -11
- package/lib/components/checkout/components/WalletPassModule/components/DiscountWallet/DiscountTextMode.d.ts +0 -7
- package/lib/components/checkout/components/WalletPassModule/components/WalletPassTextMode/index.d.ts +0 -5
- package/lib/components/checkout/components/WalletPassModule/types.d.ts +0 -134
- package/lib/components/checkout/constants.d.ts +0 -2
- package/lib/components/checkout/export.d.ts +0 -9
- package/lib/components/checkout/hooks/usePaymentLogger.d.ts +0 -2
- package/lib/components/checkout/index.d.ts +0 -5
- package/lib/components/checkout/locales.d.ts +0 -853
- package/lib/components/checkout/styles.d.ts +0 -67
- package/lib/components/checkout/types.d.ts +0 -130
- package/lib/components/checkout/utils.d.ts +0 -3
- package/lib/components/eftpos/const.d.ts +0 -64
- package/lib/components/eftpos/hooks.d.ts +0 -33
- package/lib/components/eftpos/locales.d.ts +0 -163
- package/lib/components/eftposPay/EFTPos.d.ts +0 -14
- package/lib/components/eftposPay/aggregatePayment/index.d.ts +0 -3
- package/lib/components/eftposPay/aggregatePayment/service.d.ts +0 -24
- package/lib/components/eftposPay/aggregatePayment/types.d.ts +0 -106
- package/lib/components/eftposPay/aggregatePayment/utils/payment.d.ts +0 -139
- package/lib/components/eftposPay/const.d.ts +0 -195
- package/lib/components/eftposPay/huifu/hooks.d.ts +0 -25
- package/lib/components/eftposPay/huifu/types.d.ts +0 -14
- package/lib/components/eftposPay/locales.d.ts +0 -608
- package/lib/components/eftposPay/manufacturer.d.ts +0 -8
- package/lib/components/eftposPay/serve.d.ts +0 -16
- package/lib/components/eftposPay/store/index.d.ts +0 -362
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -3
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -11
- package/lib/components/list/List.d.ts +0 -5
- package/lib/components/list/ResponsiveWrapper.d.ts +0 -16
- package/lib/components/list/TestResponsiveWrapper.d.ts +0 -8
- package/lib/components/list/components/EmptyState/EmptyState.d.ts +0 -20
- package/lib/components/list/components/EmptyState/index.d.ts +0 -2
- package/lib/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +0 -13
- package/lib/components/list/components/ListItemSkeleton/index.d.ts +0 -2
- package/lib/components/list/components/Pagination/Pagination.d.ts +0 -30
- package/lib/components/list/components/Pagination/index.d.ts +0 -1
- package/lib/components/list/components/ScrollLoader/ScrollLoader.d.ts +0 -18
- package/lib/components/list/components/ScrollLoader/index.d.ts +0 -2
- package/lib/components/list/components/Tab/Tab.d.ts +0 -5
- package/lib/components/list/components/Tab/index.d.ts +0 -2
- package/lib/components/list/components/Tab/types.d.ts +0 -14
- package/lib/components/list/components/TabSkeleton/TabSkeleton.d.ts +0 -11
- package/lib/components/list/components/TabSkeleton/index.d.ts +0 -2
- package/lib/components/list/components/WaterfallList/WaterfallList.d.ts +0 -33
- package/lib/components/list/components/WaterfallList/index.d.ts +0 -2
- package/lib/components/list/examples/GroupedListExample.d.ts +0 -3
- package/lib/components/list/hooks/index.d.ts +0 -5
- package/lib/components/list/hooks/useDevice.d.ts +0 -24
- package/lib/components/list/hooks/useListState.d.ts +0 -43
- package/lib/components/list/hooks/useWaterfall.d.ts +0 -34
- package/lib/components/list/index.d.ts +0 -10
- package/lib/components/list/locales.d.ts +0 -108
- package/lib/components/list/types.d.ts +0 -177
- package/lib/components/list/utils/getText.d.ts +0 -53
- package/lib/components/list/utils/index.d.ts +0 -4
- package/lib/components/pay/toB/components/CardGroup/index.d.ts +0 -8
- package/lib/components/pay/toB/components/Content/index.d.ts +0 -4
- package/lib/components/pay/toB/components/Content/utils.d.ts +0 -16
- package/lib/components/pay/toB/components/EFTPOS/index.d.ts +0 -8
- package/lib/components/pay/toB/components/index.d.ts +0 -5
- package/lib/components/pay/toB/hooks.d.ts +0 -12
- package/lib/components/pay/toB/locales.d.ts +0 -88
- package/lib/components/pay/toB/paymentMethods/index.d.ts +0 -11
- package/lib/components/pay/toB/store/context.d.ts +0 -3
- package/lib/components/pay/toB/store/index.d.ts +0 -3
- package/lib/components/pay/toB/store/provider.d.ts +0 -4
- package/lib/components/pay/toB/types/index.d.ts +0 -61
- package/lib/components/pay/toB/types/storeTypes.d.ts +0 -143
- package/lib/components/pay/toC/PaymentList/utils.d.ts +0 -36
- package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.d.ts +0 -2
- package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.d.ts +0 -2
- package/lib/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.d.ts +0 -2
- package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.d.ts +0 -2
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +0 -7
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -3
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -3
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -4
- package/lib/components/pay/toC/PaymentMethods/StripePay/serve.d.ts +0 -2
- package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +0 -2
- package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +0 -2
- package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +0 -155
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -3
- package/lib/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +0 -3
- package/lib/components/pisellSelectCustomerModal/locales.d.ts +0 -133
- package/lib/components/productSelect/components/pisellPriceText/index.d.ts +0 -11
- package/lib/components/ruleSetting/locales.d.ts +0 -78
- package/lib/components/schedules/locales.d.ts +0 -143
- package/lib/components/shoppingCart/Provider.d.ts +0 -3
- package/lib/components/shoppingCart/locales.d.ts +0 -58
- package/lib/components/shoppingCart/mock.d.ts +0 -40
- package/lib/components/shoppingCart/type.d.ts +0 -50
- package/lib/components/shoppingCart/utils.d.ts +0 -63
- package/lib/components/subTotal/locales.d.ts +0 -68
- package/lib/components/systemSettings/registry/locales.d.ts +0 -456
- package/lib/components/systemSettings/registry/services.d.ts +0 -77
- package/lib/components/systemSettings/registry/types.d.ts +0 -128
- package/lib/components/taxSelect/locales.d.ts +0 -38
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.d.ts +0 -27
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/index.d.ts +0 -7
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +0 -115
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -9
- package/lib/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.d.ts +0 -7
- package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +0 -6
- package/lib/components/ticketBooking/components/bookingDataPanel/pisellFloatingPanel/index.d.ts +0 -14
- package/lib/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
- package/lib/components/ticketBooking/components/floatButtons/index.d.ts +0 -11
- package/lib/components/ticketBooking/context/IsActiveContext.d.ts +0 -26
- package/lib/components/ticketBooking/context/OsKeyContext.d.ts +0 -26
- package/lib/components/ticketBooking/context/index.d.ts +0 -2
- package/lib/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +0 -21
- package/lib/components/ticketBooking/hooks/pisellos/useProducts.d.ts +0 -12
- package/lib/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +0 -6
- package/lib/components/ticketBooking/locales.d.ts +0 -328
- package/lib/components/ticketBooking/serve.d.ts +0 -288
- package/lib/components/ticketBooking/utils/productCache.d.ts +0 -75
- package/lib/components/walletList/serve.d.ts +0 -43
- package/lib/components/workSpaceList/components/AppearanceEdit/IconPanel.d.ts +0 -11
- package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +0 -8
- package/lib/components/workSpaceList/components/Card/constants.d.ts +0 -2
- package/lib/components/workSpaceList/components/SearchBar/index.d.ts +0 -17
- package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -4
- package/lib/components/workSpaceList/components/Sort/index.d.ts +0 -7
- package/lib/components/workSpaceList/components/WorkspaceItem/index.d.ts +0 -22
- package/lib/hooks/index.d.ts +0 -10
- package/lib/hooks/useEngineContext.d.ts +0 -3
- package/lib/hooks/useLocale.d.ts +0 -2
- package/lib/hooks/useLogger.d.ts +0 -2
- package/lib/hooks/useModal.d.ts +0 -35
- package/lib/hooks/useModal.example.d.ts +0 -12
- package/lib/hooks/useModal.integration.example.d.ts +0 -15
- package/lib/hooks/useToast.d.ts +0 -2
- package/lib/hooks/useWindowSize.d.ts +0 -5
- package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +0 -46
- package/lib/plus/noteModal/locales.d.ts +0 -53
- package/lib/plus/noteModal/types.d.ts +0 -19
- package/lib/plus/productSelect/CategoryTabs/index.d.ts +0 -20
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +0 -4
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +0 -4
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +0 -4
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +0 -4
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +0 -4
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +0 -8
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +0 -5
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +0 -4
- package/lib/plus/productSelect/ProductCard/SkuCard/index.d.ts +0 -9
- package/lib/plus/productSelect/ProductCard/SkuCard/locales.d.ts +0 -68
- package/lib/plus/productSelect/ProductCard/SkuCard/status.d.ts +0 -164
- package/lib/plus/productSelect/ProductCard/SkuCard/type.d.ts +0 -298
- package/lib/plus/productSelect/ProductCard/SkuCard/utils.d.ts +0 -9
- package/lib/plus/productSelect/ProductList/gridComponents.d.ts +0 -44
- package/lib/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +0 -30
- package/lib/plus/productSelect/components/pisellPriceText/index.d.ts +0 -14
- package/lib/plus/saasAttendance/locales.d.ts +0 -528
- package/lib/plus/saasAttendance/settings/types.d.ts +0 -130
- package/lib/plus/selectHolder/locales.d.ts +0 -38
- package/lib/pro/Login2.0/locales.d.ts +0 -903
- package/lib/pro/Login2.0/shared/types.d.ts +0 -234
- package/lib/pro/NumberKeyboardPopover/index.d.ts +0 -36
- package/lib/pro/NumberKeyboardPopover/types.d.ts +0 -31
- package/lib/pro/multiDayTimeSelect/index.d.ts +0 -3
- package/lib/pro/multiDayTimeSelect/types.d.ts +0 -28
- package/lib/pro/pisellNumberSelector/example.d.ts +0 -3
- package/lib/pro/pisellPriceKeyboardModal/index.d.ts +0 -2
- package/lib/pro/pisellPriceKeyboardModal/types.d.ts +0 -25
- package/lib/pro/pisellPriceKeyboardPopover/index.d.ts +0 -2
- package/lib/pro/pisellPriceKeyboardPopover/types.d.ts +0 -33
- package/lib/pro/pisellPriceRadio/index.d.ts +0 -26
- package/lib/pro/pisellSimplePriceKeyboardPopover/index.d.ts +0 -2
- package/lib/pro/pisellSimplePriceKeyboardPopover/types.d.ts +0 -33
- package/lib/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +0 -63
- package/lib/pro/priceKeyboard/components/cashKeyboard/types.d.ts +0 -98
- package/lib/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +0 -68
- package/lib/pro/priceKeyboard/components/discountKeyboard/types.d.ts +0 -17
- package/lib/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +0 -73
- package/lib/pro/priceKeyboard/components/paymentKeyboard/types.d.ts +0 -39
- package/lib/pro/priceKeyboard/components/shortcuts/index.d.ts +0 -18
- package/lib/pro/priceKeyboard/hooks/rightItems.d.ts +0 -28
- package/lib/pro/priceKeyboard/index.d.ts +0 -3
- package/lib/pro/skuDetailModal/locales.d.ts +0 -78
- package/lib/pro/skuDetailModal/types.d.ts +0 -352
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
export * from './storeTypes';
|
|
2
|
-
export interface ToBPayParams {
|
|
3
|
-
source?: 'normal' | 'restore';
|
|
4
|
-
data: {
|
|
5
|
-
type?: string;
|
|
6
|
-
payMethod: {
|
|
7
|
-
id: string;
|
|
8
|
-
code: string;
|
|
9
|
-
type: string;
|
|
10
|
-
name: string;
|
|
11
|
-
};
|
|
12
|
-
params: {
|
|
13
|
-
orderId: string | number;
|
|
14
|
-
symbol?: string;
|
|
15
|
-
amount: string;
|
|
16
|
-
surcharge?: string;
|
|
17
|
-
[key: string]: any;
|
|
18
|
-
};
|
|
19
|
-
mode: 'pay' | 'refund';
|
|
20
|
-
};
|
|
21
|
-
callback: ToBPayCallback;
|
|
22
|
-
}
|
|
23
|
-
export declare type ToBPayCallback = (res: {
|
|
24
|
-
status: string;
|
|
25
|
-
data: {
|
|
26
|
-
amount: number;
|
|
27
|
-
surPercentRate?: number;
|
|
28
|
-
surMoney?: number;
|
|
29
|
-
surcharge?: number;
|
|
30
|
-
uniquePaymentNumber?: string;
|
|
31
|
-
};
|
|
32
|
-
msg?: string;
|
|
33
|
-
}) => void;
|
|
34
|
-
/**
|
|
35
|
-
* @title: 支付打开参数
|
|
36
|
-
*/
|
|
37
|
-
export interface PayOpenParams extends Omit<ToBPayParams, 'callback'> {
|
|
38
|
-
payCallback: (res: EftposPayResult | MX51PayResult) => void;
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* @title: eftpos支付结果
|
|
42
|
-
*/
|
|
43
|
-
export interface EftposPayResult {
|
|
44
|
-
status: 'success' | 'fail';
|
|
45
|
-
params: {
|
|
46
|
-
amount: number;
|
|
47
|
-
surPercentRate: number;
|
|
48
|
-
surMoney: number;
|
|
49
|
-
uniquePaymentNumber: string;
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* @title: MX51支付结果
|
|
54
|
-
*/
|
|
55
|
-
export interface MX51PayResult {
|
|
56
|
-
result: boolean;
|
|
57
|
-
msg?: string;
|
|
58
|
-
amount: number;
|
|
59
|
-
surcharge: number;
|
|
60
|
-
uniquePaymentNumber: string;
|
|
61
|
-
}
|
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
export interface ToBPayContextType {
|
|
2
|
-
/** 订单 */
|
|
3
|
-
order: Order;
|
|
4
|
-
/** 设置订单 */
|
|
5
|
-
setOrder: (order: Order) => void;
|
|
6
|
-
/** 订单信息 */
|
|
7
|
-
orderInfo: OrderInfo;
|
|
8
|
-
/** 设置订单信息 */
|
|
9
|
-
setOrderInfo: (orderInfo: OrderInfo) => void;
|
|
10
|
-
/** 支付方式列表 */
|
|
11
|
-
payMethodGroupList: PayMethodGroup[];
|
|
12
|
-
/** 设置支付方式列表 */
|
|
13
|
-
setPayMethodGroupList: (payMethodGroupList: PayMethodGroup[]) => void;
|
|
14
|
-
/** 获取支付方式列表 */
|
|
15
|
-
getPayMethodList: () => Promise<void>;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* OS支付的订单信息
|
|
19
|
-
*/
|
|
20
|
-
export interface Order {
|
|
21
|
-
/** 订单唯一标识 */
|
|
22
|
-
uuid: string;
|
|
23
|
-
/** 订单 id */
|
|
24
|
-
id: number;
|
|
25
|
-
/** 订单信息 */
|
|
26
|
-
order_info: OrderInfo;
|
|
27
|
-
/** 作废的支付项 */
|
|
28
|
-
adjust_offline_payments: any[];
|
|
29
|
-
/** 支付项 */
|
|
30
|
-
payment: Payment[];
|
|
31
|
-
/** 支付状态 */
|
|
32
|
-
payment_status: string;
|
|
33
|
-
/** 税费 */
|
|
34
|
-
tax_fee: string;
|
|
35
|
-
/** 订单总金额 */
|
|
36
|
-
total_amount: string;
|
|
37
|
-
/** 待付金额 */
|
|
38
|
-
expect_amount: string;
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* 订单信息
|
|
42
|
-
*/
|
|
43
|
-
export interface OrderInfo {
|
|
44
|
-
/** 订单 id */
|
|
45
|
-
order_id: number;
|
|
46
|
-
/** 订单总金额 */
|
|
47
|
-
total_amount: string;
|
|
48
|
-
/** 是否是定金订单 */
|
|
49
|
-
is_deposit: 0 | 1;
|
|
50
|
-
/** 定金金额 */
|
|
51
|
-
deposit_amount: string;
|
|
52
|
-
}
|
|
53
|
-
/**
|
|
54
|
-
* 支付方式
|
|
55
|
-
*/
|
|
56
|
-
export interface PayMethod {
|
|
57
|
-
/** 支付方式 id */
|
|
58
|
-
id: number;
|
|
59
|
-
/** 店铺 id */
|
|
60
|
-
shop_id: number;
|
|
61
|
-
/** 支付方式代码 */
|
|
62
|
-
code: PayMethodCode;
|
|
63
|
-
/** 支付方式类型 */
|
|
64
|
-
type: string;
|
|
65
|
-
/** 支付方式名称 */
|
|
66
|
-
name: string;
|
|
67
|
-
/** 支付方式描述 */
|
|
68
|
-
description: string;
|
|
69
|
-
/** 支付方式通道 */
|
|
70
|
-
channel_application: string[];
|
|
71
|
-
/** 支付方式状态 */
|
|
72
|
-
status: 0 | 1;
|
|
73
|
-
/** 是否是附加费用 */
|
|
74
|
-
is_surcharge: 0 | 1;
|
|
75
|
-
/** 是否禁用 */
|
|
76
|
-
disable: 0 | 1;
|
|
77
|
-
/** 支付方式公司 */
|
|
78
|
-
companies: any;
|
|
79
|
-
/** 支付方式额外数据 */
|
|
80
|
-
metadata?: {
|
|
81
|
-
order_rounding_switch: number;
|
|
82
|
-
};
|
|
83
|
-
/** 创建时间 */
|
|
84
|
-
created_at: string;
|
|
85
|
-
/** 更新时间 */
|
|
86
|
-
updated_at: string;
|
|
87
|
-
/** 删除时间 */
|
|
88
|
-
deleted_at: string | null;
|
|
89
|
-
/** 固定费用 */
|
|
90
|
-
fixed: string;
|
|
91
|
-
/** 百分比费用 */
|
|
92
|
-
percentage: string;
|
|
93
|
-
}
|
|
94
|
-
export declare enum PayMethodCode {
|
|
95
|
-
/** 现金支付 */
|
|
96
|
-
CASHMANUAL = "CASHMANUAL",
|
|
97
|
-
/** eftpos payo */
|
|
98
|
-
EFTPOS_PAYO = "EFTPOS_PAYO",
|
|
99
|
-
/** eftpos windcave */
|
|
100
|
-
EFTPOS_WINDCAVE = "EFTPOS_WINDCAVE",
|
|
101
|
-
/** eftpos tyro */
|
|
102
|
-
EFTPOS_TYRO = "EFTPOS_TYRO",
|
|
103
|
-
/** eftpos linkly */
|
|
104
|
-
EFTPOS_LINKLY = "EFTPOS_LINKLY"
|
|
105
|
-
}
|
|
106
|
-
export interface PayMethodGroup {
|
|
107
|
-
title: string;
|
|
108
|
-
list: PayMethod[];
|
|
109
|
-
}
|
|
110
|
-
/**
|
|
111
|
-
* 已经支付的信息
|
|
112
|
-
*/
|
|
113
|
-
export interface Payment {
|
|
114
|
-
/** 当前支付项的唯一 ID,用于标记支付项的唯一性 */
|
|
115
|
-
uuid: string;
|
|
116
|
-
/** 当前支付方式付出去多少钱 */
|
|
117
|
-
amount: number;
|
|
118
|
-
/** 支付类型,跟支付列表上对应的支付方式保持一致 */
|
|
119
|
-
code: PayMethodCode;
|
|
120
|
-
/** 支付类型id,跟支付列表上对应的支付方式保持一致 */
|
|
121
|
-
id: number;
|
|
122
|
-
/** 支付类型id,跟支付列表上对应的支付方式保持一致 */
|
|
123
|
-
name: string;
|
|
124
|
-
/** 支付类型type,跟支付列表上对应的支付方式保持一致 */
|
|
125
|
-
type: string;
|
|
126
|
-
/** 代金券、充值卡、积分卡 等wallet pass id,通过order/deduction 查出来的,本期都为空 */
|
|
127
|
-
voucher_id?: string | null;
|
|
128
|
-
/** 该支付项是否已经同步给后端 */
|
|
129
|
-
isSynced?: boolean;
|
|
130
|
-
/** 支付时间 */
|
|
131
|
-
created_at?: string;
|
|
132
|
-
/** 支付方式额外数据 */
|
|
133
|
-
metadata?: {
|
|
134
|
-
unique_payment_number: string;
|
|
135
|
-
};
|
|
136
|
-
/** 手续费 */
|
|
137
|
-
service_charge?: {
|
|
138
|
-
/** 手续费百分比 */
|
|
139
|
-
percentage?: number | string;
|
|
140
|
-
/** 手续费固定金额 */
|
|
141
|
-
amount?: number | string;
|
|
142
|
-
};
|
|
143
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @description: visa/master手续费是否一致
|
|
3
|
-
* @param {any} creditCardConfig
|
|
4
|
-
* @return {*}
|
|
5
|
-
*/
|
|
6
|
-
export declare const isCreditCardSurchargeSame: (creditCardConfig: any[]) => boolean;
|
|
7
|
-
/**
|
|
8
|
-
* @description: 格式化visa/master手续费
|
|
9
|
-
* @param {any} item 支付列表项
|
|
10
|
-
* @param {number} amount 订单金额
|
|
11
|
-
* @param {boolean} isSame 手续费是否一致
|
|
12
|
-
* @return {*}
|
|
13
|
-
*/
|
|
14
|
-
export declare const formatCreditCardSurcharge: (item: any, amount: number, isSame: boolean) => any;
|
|
15
|
-
/**
|
|
16
|
-
* @description: 格式化visa/master手续费列表
|
|
17
|
-
* @param {any} item
|
|
18
|
-
* @param {number} amount
|
|
19
|
-
* @return {*}
|
|
20
|
-
*/
|
|
21
|
-
export declare const formatCreditCardSurchargeList: (item: any, amount: number) => any;
|
|
22
|
-
/**
|
|
23
|
-
* @description: 格式化visa/master手续费文案,只显示百分比区间
|
|
24
|
-
* @return {*}
|
|
25
|
-
*/
|
|
26
|
-
export declare const formatCreditCardSurchargeText: (surcharge_config: any[], surcharge_text: string) => string;
|
|
27
|
-
/**
|
|
28
|
-
* @title: 计算支付列表的手续费
|
|
29
|
-
* @description:
|
|
30
|
-
* @param {any} paymentList
|
|
31
|
-
* @param {number} amount
|
|
32
|
-
* @return {*}
|
|
33
|
-
* @Author: zhiwei.Wang
|
|
34
|
-
* @Date: 2024-08-18 09:30
|
|
35
|
-
*/
|
|
36
|
-
export declare const calculateSurcharge: (paymentList: any[], amount: number) => any[];
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
declare type PaymentStatusProps = {
|
|
4
|
-
onChange: (status: 'succeeded' | 'processing' | 'requires_payment_method' | 'error') => void;
|
|
5
|
-
};
|
|
6
|
-
declare const PaymentStatus: React.FC<PaymentStatusProps>;
|
|
7
|
-
export default PaymentStatus;
|
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
export declare type MachineCodeListParams = {
|
|
2
|
-
order_id: number | string;
|
|
3
|
-
available: number;
|
|
4
|
-
prepare_payments: {
|
|
5
|
-
voucher_id: number;
|
|
6
|
-
amount: number;
|
|
7
|
-
tag: string;
|
|
8
|
-
}[];
|
|
9
|
-
filter_prepare_wallet_pass: 1 | 0;
|
|
10
|
-
sale_channel: string;
|
|
11
|
-
other_exact_codes?: string[];
|
|
12
|
-
};
|
|
13
|
-
export declare type WalletPassDataType = {
|
|
14
|
-
id: number;
|
|
15
|
-
shop_id: number;
|
|
16
|
-
customer_id: number;
|
|
17
|
-
code: string;
|
|
18
|
-
encoded: string;
|
|
19
|
-
status: string;
|
|
20
|
-
cover: string;
|
|
21
|
-
tag: string;
|
|
22
|
-
relation_type: string;
|
|
23
|
-
product_id: number;
|
|
24
|
-
limit_status: string;
|
|
25
|
-
sales_status: number;
|
|
26
|
-
par_value: string;
|
|
27
|
-
used_par_value: string;
|
|
28
|
-
start_date: string;
|
|
29
|
-
expire_date: string;
|
|
30
|
-
end_time: string;
|
|
31
|
-
start_time: string;
|
|
32
|
-
created_at: string;
|
|
33
|
-
product_name: string;
|
|
34
|
-
expire_time: string;
|
|
35
|
-
available_max_par_value: string;
|
|
36
|
-
available_max_amount: string;
|
|
37
|
-
recommended_usage_amount: string;
|
|
38
|
-
custom_expire_status: number;
|
|
39
|
-
wallet_pass_usage_unit: WalletPassUsageUnit;
|
|
40
|
-
custom_order_deduct_exhausted: number;
|
|
41
|
-
available_product_status: number;
|
|
42
|
-
available_product_ids: any[];
|
|
43
|
-
available_product_type: string;
|
|
44
|
-
available_num: number;
|
|
45
|
-
available_product_title: string;
|
|
46
|
-
unified_available_status: number;
|
|
47
|
-
unified_messages: UnifiedMessages;
|
|
48
|
-
external_card: any[];
|
|
49
|
-
product: Product;
|
|
50
|
-
shop: Shop;
|
|
51
|
-
wallet_pass_usage?: any;
|
|
52
|
-
balance_par_value: string;
|
|
53
|
-
custom_schedule_snapshot?: {
|
|
54
|
-
data: any[];
|
|
55
|
-
};
|
|
56
|
-
metadata?: {
|
|
57
|
-
validity_type: string;
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
declare type Shop = {
|
|
61
|
-
id: number;
|
|
62
|
-
name: string;
|
|
63
|
-
default_url: string;
|
|
64
|
-
};
|
|
65
|
-
declare type Product = {
|
|
66
|
-
id: number;
|
|
67
|
-
title: string;
|
|
68
|
-
cover: string;
|
|
69
|
-
is_charge_tax: number;
|
|
70
|
-
};
|
|
71
|
-
declare type UnifiedMessages = {
|
|
72
|
-
title: string;
|
|
73
|
-
desc: string;
|
|
74
|
-
alert: string;
|
|
75
|
-
};
|
|
76
|
-
declare type WalletPassUsageUnit = {
|
|
77
|
-
price: number;
|
|
78
|
-
points: number;
|
|
79
|
-
};
|
|
80
|
-
/**
|
|
81
|
-
* 查询支付识别码列表
|
|
82
|
-
*/
|
|
83
|
-
export declare const getMachineCodeList: (params: MachineCodeListParams) => Promise<WalletPassDataType[]>;
|
|
84
|
-
/**
|
|
85
|
-
* 获取推荐的支付识别码
|
|
86
|
-
*/
|
|
87
|
-
export declare const getRecommendMachineCodeList: (order_id: number) => Promise<WalletPassDataType[]>;
|
|
88
|
-
/**
|
|
89
|
-
* 搜索支付识别码
|
|
90
|
-
*/
|
|
91
|
-
export declare const searchMachineCodeList: (params: {
|
|
92
|
-
order_id: number | string;
|
|
93
|
-
code?: string;
|
|
94
|
-
sale_channel: string;
|
|
95
|
-
prepare_payments: {
|
|
96
|
-
voucher_id: number;
|
|
97
|
-
amount: number;
|
|
98
|
-
tag: string;
|
|
99
|
-
}[];
|
|
100
|
-
filter_prepare_wallet_pass?: 1 | 0;
|
|
101
|
-
customer_pin_key?: string;
|
|
102
|
-
}) => Promise<WalletPassDataType[]>;
|
|
103
|
-
/**
|
|
104
|
-
* walletpass支付
|
|
105
|
-
*/
|
|
106
|
-
export declare const walletPassPay: (params: {
|
|
107
|
-
order_id: number | string;
|
|
108
|
-
payment_group_id: number;
|
|
109
|
-
payments: {
|
|
110
|
-
amount: string;
|
|
111
|
-
wallet_pass_use_value: string;
|
|
112
|
-
voucher_id: number;
|
|
113
|
-
tag: string;
|
|
114
|
-
wallet_pass_usage_unit: {
|
|
115
|
-
price: number;
|
|
116
|
-
points: number;
|
|
117
|
-
};
|
|
118
|
-
}[];
|
|
119
|
-
}) => Promise<WalletPassDataType[]>;
|
|
120
|
-
/**
|
|
121
|
-
* 搜索wallet code
|
|
122
|
-
*/
|
|
123
|
-
export declare const searchWalletCode: (params: {
|
|
124
|
-
code: string;
|
|
125
|
-
with_customer: 1 | 0;
|
|
126
|
-
}) => Promise<{
|
|
127
|
-
code: string;
|
|
128
|
-
id: number;
|
|
129
|
-
status: 'enable' | 'disable' | 'expired';
|
|
130
|
-
expired_at: string;
|
|
131
|
-
customer: Record<string, any>;
|
|
132
|
-
check_max_count: number;
|
|
133
|
-
failed_count: number;
|
|
134
|
-
}>;
|
|
135
|
-
/**
|
|
136
|
-
* 验证pin码
|
|
137
|
-
*/
|
|
138
|
-
export declare const verifyPinCode: (params: {
|
|
139
|
-
wallet_detail_id: number;
|
|
140
|
-
pin: string;
|
|
141
|
-
}) => Promise<{
|
|
142
|
-
status: number;
|
|
143
|
-
customer_id: number;
|
|
144
|
-
msg: string;
|
|
145
|
-
customer_pin_key: string;
|
|
146
|
-
}>;
|
|
147
|
-
/**
|
|
148
|
-
* 获取pin码
|
|
149
|
-
*/
|
|
150
|
-
export declare const getPin: (params: {
|
|
151
|
-
wallet_detail_id: number;
|
|
152
|
-
}) => Promise<{
|
|
153
|
-
pin: string;
|
|
154
|
-
}>;
|
|
155
|
-
export {};
|
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
en: {
|
|
3
|
-
'pisell2.text.leave-empty-for-walk-in': string;
|
|
4
|
-
'pisell2.text.date-year-text': string;
|
|
5
|
-
'pisell2.text.date-month-text': string;
|
|
6
|
-
'pisell2.text.date-day-text': string;
|
|
7
|
-
'pisell2.text.gender': string;
|
|
8
|
-
'pisell2.text.gender.male': string;
|
|
9
|
-
'pisell2.text.gender.female': string;
|
|
10
|
-
'pisell2.text.birthday': string;
|
|
11
|
-
'pisell2.text.phone': string;
|
|
12
|
-
'pisell2.text.email': string;
|
|
13
|
-
'pisell2.text.lastname': string;
|
|
14
|
-
'pisell2.text.firstname': string;
|
|
15
|
-
'pisell2.text.email-error-message': string;
|
|
16
|
-
'pisell2.text.notes': string;
|
|
17
|
-
'pisell2.text.save': string;
|
|
18
|
-
'pisell2.text.save-and-select': string;
|
|
19
|
-
'pisell2.text.no-results-found': string;
|
|
20
|
-
'pisell2.text.create-new-client': string;
|
|
21
|
-
'pisell2.text.result-found': string;
|
|
22
|
-
'pisell2.text.personnel-list': string;
|
|
23
|
-
'pisell2.text.load-more': string;
|
|
24
|
-
'pisell2.text.add-client.confirm': string;
|
|
25
|
-
'pisell2.text.search-customer-by-phone-number': string;
|
|
26
|
-
'pisell2.text.create': string;
|
|
27
|
-
};
|
|
28
|
-
'zh-CN': {
|
|
29
|
-
'pisell2.text.leave-empty-for-walk-in': string;
|
|
30
|
-
'pisell2.text.date-year-text': string;
|
|
31
|
-
'pisell2.text.date-month-text': string;
|
|
32
|
-
'pisell2.text.date-day-text': string;
|
|
33
|
-
'pisell2.text.gender': string;
|
|
34
|
-
'pisell2.text.gender.male': string;
|
|
35
|
-
'pisell2.text.gender.female': string;
|
|
36
|
-
'pisell2.text.birthday': string;
|
|
37
|
-
'pisell2.text.phone': string;
|
|
38
|
-
'pisell2.text.email': string;
|
|
39
|
-
'pisell2.text.lastname': string;
|
|
40
|
-
'pisell2.text.firstname': string;
|
|
41
|
-
'pisell2.text.email-error-message': string;
|
|
42
|
-
'pisell2.text.notes': string;
|
|
43
|
-
'pisell2.text.save': string;
|
|
44
|
-
'pisell2.text.save-and-select': string;
|
|
45
|
-
'pisell2.text.no-results-found': string;
|
|
46
|
-
'pisell2.text.create-new-client': string;
|
|
47
|
-
'pisell2.text.result-found': string;
|
|
48
|
-
'pisell2.text.personnel-list': string;
|
|
49
|
-
'pisell2.text.add-client.confirm': string;
|
|
50
|
-
'pisell2.text.load-more': string;
|
|
51
|
-
'pisell2.text.search-customer-by-phone-number': string;
|
|
52
|
-
'pisell2.text.create': string;
|
|
53
|
-
};
|
|
54
|
-
'zh-HK': {
|
|
55
|
-
'pisell2.text.leave-empty-for-walk-in': string;
|
|
56
|
-
'pisell2.text.date-year-text': string;
|
|
57
|
-
'pisell2.text.date-month-text': string;
|
|
58
|
-
'pisell2.text.date-day-text': string;
|
|
59
|
-
'pisell2.text.gender': string;
|
|
60
|
-
'pisell2.text.gender.male': string;
|
|
61
|
-
'pisell2.text.gender.female': string;
|
|
62
|
-
'pisell2.text.birthday': string;
|
|
63
|
-
'pisell2.text.phone': string;
|
|
64
|
-
'pisell2.text.email': string;
|
|
65
|
-
'pisell2.text.lastname': string;
|
|
66
|
-
'pisell2.text.firstname': string;
|
|
67
|
-
'pisell2.text.email-error-message': string;
|
|
68
|
-
'pisell2.text.notes': string;
|
|
69
|
-
'pisell2.text.save': string;
|
|
70
|
-
'pisell2.text.save-and-select': string;
|
|
71
|
-
'pisell2.text.no-results-found': string;
|
|
72
|
-
'pisell2.text.create-new-client': string;
|
|
73
|
-
'pisell2.text.result-found': string;
|
|
74
|
-
'pisell2.text.personnel-list': string;
|
|
75
|
-
'pisell2.text.add-client.confirm': string;
|
|
76
|
-
'pisell2.text.load-more': string;
|
|
77
|
-
'pisell2.text.search-customer-by-phone-number': string;
|
|
78
|
-
'pisell2.text.create': string;
|
|
79
|
-
};
|
|
80
|
-
ja: {
|
|
81
|
-
'pisell2.text.leave-empty-for-walk-in': string;
|
|
82
|
-
'pisell2.text.date-year-text': string;
|
|
83
|
-
'pisell2.text.date-month-text': string;
|
|
84
|
-
'pisell2.text.date-day-text': string;
|
|
85
|
-
'pisell2.text.gender': string;
|
|
86
|
-
'pisell2.text.gender.male': string;
|
|
87
|
-
'pisell2.text.gender.female': string;
|
|
88
|
-
'pisell2.text.birthday': string;
|
|
89
|
-
'pisell2.text.phone': string;
|
|
90
|
-
'pisell2.text.email': string;
|
|
91
|
-
'pisell2.text.lastname': string;
|
|
92
|
-
'pisell2.text.firstname': string;
|
|
93
|
-
'pisell2.text.email-error-message': string;
|
|
94
|
-
'pisell2.text.notes': string;
|
|
95
|
-
'pisell2.text.save': string;
|
|
96
|
-
'pisell2.text.save-and-select': string;
|
|
97
|
-
'pisell2.text.no-results-found': string;
|
|
98
|
-
'pisell2.text.create-new-client': string;
|
|
99
|
-
'pisell2.text.result-found': string;
|
|
100
|
-
'pisell2.text.personnel-list': string;
|
|
101
|
-
'pisell2.text.add-client.confirm': string;
|
|
102
|
-
'pisell2.text.load-more': string;
|
|
103
|
-
'pisell2.text.search-customer-by-phone-number': string;
|
|
104
|
-
'pisell2.text.create': string;
|
|
105
|
-
};
|
|
106
|
-
pt: {
|
|
107
|
-
'pisell2.text.leave-empty-for-walk-in': string;
|
|
108
|
-
'pisell2.text.date-year-text': string;
|
|
109
|
-
'pisell2.text.date-month-text': string;
|
|
110
|
-
'pisell2.text.date-day-text': string;
|
|
111
|
-
'pisell2.text.gender': string;
|
|
112
|
-
'pisell2.text.gender.male': string;
|
|
113
|
-
'pisell2.text.gender.female': string;
|
|
114
|
-
'pisell2.text.birthday': string;
|
|
115
|
-
'pisell2.text.phone': string;
|
|
116
|
-
'pisell2.text.email': string;
|
|
117
|
-
'pisell2.text.lastname': string;
|
|
118
|
-
'pisell2.text.firstname': string;
|
|
119
|
-
'pisell2.text.email-error-message': string;
|
|
120
|
-
'pisell2.text.notes': string;
|
|
121
|
-
'pisell2.text.save': string;
|
|
122
|
-
'pisell2.text.save-and-select': string;
|
|
123
|
-
'pisell2.text.no-results-found': string;
|
|
124
|
-
'pisell2.text.create-new-client': string;
|
|
125
|
-
'pisell2.text.result-found': string;
|
|
126
|
-
'pisell2.text.personnel-list': string;
|
|
127
|
-
'pisell2.text.add-client.confirm': string;
|
|
128
|
-
'pisell2.text.load-more': string;
|
|
129
|
-
'pisell2.text.search-customer-by-phone-number': string;
|
|
130
|
-
'pisell2.text.create': string;
|
|
131
|
-
};
|
|
132
|
-
};
|
|
133
|
-
export default _default;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface IProps {
|
|
3
|
-
value: string | number;
|
|
4
|
-
isMini?: boolean;
|
|
5
|
-
className?: string;
|
|
6
|
-
style?: React.CSSProperties;
|
|
7
|
-
prefix?: React.ReactElement;
|
|
8
|
-
suffix?: React.ReactElement;
|
|
9
|
-
}
|
|
10
|
-
declare const index: (props: IProps) => React.JSX.Element;
|
|
11
|
-
export default index;
|
|
@@ -1,78 +0,0 @@
|
|
|
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
|
-
ja: {
|
|
48
|
-
'pisell2.text.satisfy_any_condition': string;
|
|
49
|
-
'pisell2.text.add': string;
|
|
50
|
-
'pisell2.text.and': string;
|
|
51
|
-
'pisell2.text.or': string;
|
|
52
|
-
'pisell2.text.all': string;
|
|
53
|
-
'pisell2.text.rule-setting.Contain': string;
|
|
54
|
-
'pisell2.text.rule-setting.Exclude': string;
|
|
55
|
-
'pisell2.text.rule-setting.order_type': string;
|
|
56
|
-
'pisell2.text.rule-setting.sales_channel': string;
|
|
57
|
-
'pisell2.text.rule-setting.staff': string;
|
|
58
|
-
'pisell2.text.rule-setting.payment_method': string;
|
|
59
|
-
'pisell2.text.rule-setting.pisell_terminal_device': string;
|
|
60
|
-
'pisell2.text.rule-setting.current_device': string;
|
|
61
|
-
};
|
|
62
|
-
pt: {
|
|
63
|
-
'pisell2.text.satisfy_any_condition': string;
|
|
64
|
-
'pisell2.text.add': string;
|
|
65
|
-
'pisell2.text.and': string;
|
|
66
|
-
'pisell2.text.or': string;
|
|
67
|
-
'pisell2.text.all': string;
|
|
68
|
-
'pisell2.text.rule-setting.Contain': string;
|
|
69
|
-
'pisell2.text.rule-setting.Exclude': string;
|
|
70
|
-
'pisell2.text.rule-setting.order_type': string;
|
|
71
|
-
'pisell2.text.rule-setting.sales_channel': string;
|
|
72
|
-
'pisell2.text.rule-setting.staff': string;
|
|
73
|
-
'pisell2.text.rule-setting.payment_method': string;
|
|
74
|
-
'pisell2.text.rule-setting.pisell_terminal_device': string;
|
|
75
|
-
'pisell2.text.rule-setting.current_device': string;
|
|
76
|
-
};
|
|
77
|
-
};
|
|
78
|
-
export default _default;
|