@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
|
@@ -0,0 +1,316 @@
|
|
|
1
|
+
const Meta = {
|
|
2
|
+
componentName: 'ClientSearch',
|
|
3
|
+
title: '客户搜索',
|
|
4
|
+
docUrl: '',
|
|
5
|
+
screenshot: '',
|
|
6
|
+
devMode: 'proCode',
|
|
7
|
+
npm: {
|
|
8
|
+
package: '@pisell/private-materials',
|
|
9
|
+
version: '1.0.0',
|
|
10
|
+
exportName: 'ClientSearch',
|
|
11
|
+
main: 'src/index.ts',
|
|
12
|
+
destructuring: true,
|
|
13
|
+
subName: '',
|
|
14
|
+
},
|
|
15
|
+
configure: {
|
|
16
|
+
props: [
|
|
17
|
+
{
|
|
18
|
+
title: { label: '容器配置' },
|
|
19
|
+
type: 'group',
|
|
20
|
+
display: 'block',
|
|
21
|
+
items: [
|
|
22
|
+
{
|
|
23
|
+
title: { label: '打开状态', tip: 'containerProps.open | 打开状态' },
|
|
24
|
+
name: 'containerProps.open',
|
|
25
|
+
setter: 'BoolSetter',
|
|
26
|
+
defaultValue: true,
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
title: { label: '关闭回调', tip: 'containerProps.onCancel | 关闭回调' },
|
|
30
|
+
name: 'containerProps.onCancel',
|
|
31
|
+
setter: 'FunctionSetter',
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
title: {
|
|
35
|
+
label: '关闭销毁',
|
|
36
|
+
tip: 'containerProps.destroyOnClose | 关闭销毁',
|
|
37
|
+
},
|
|
38
|
+
name: 'containerProps.destroyOnClose',
|
|
39
|
+
setter: 'BoolSetter',
|
|
40
|
+
defaultValue: true,
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
title: { label: '宽度', tip: 'containerProps.width | 宽度' },
|
|
44
|
+
name: 'containerProps.width',
|
|
45
|
+
setter: 'NumberSetter',
|
|
46
|
+
defaultValue: 680,
|
|
47
|
+
},
|
|
48
|
+
],
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
title: { label: '数据与状态' },
|
|
52
|
+
type: 'group',
|
|
53
|
+
display: 'block',
|
|
54
|
+
items: [
|
|
55
|
+
{
|
|
56
|
+
title: { label: '数据源', tip: 'dataSource | 数据源' },
|
|
57
|
+
name: 'dataSource',
|
|
58
|
+
setter: ['JsonSetter'],
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
title: { label: '搜索关键字', tip: 'keyword | 搜索关键字' },
|
|
62
|
+
name: 'keyword',
|
|
63
|
+
setter: ['StringSetter'],
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
title: { label: '加载中', tip: 'loading | 加载状态' },
|
|
67
|
+
name: 'loading',
|
|
68
|
+
setter: 'BoolSetter',
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
title: { label: '外部状态', tip: 'state | 外部状态' },
|
|
72
|
+
name: 'state',
|
|
73
|
+
setter: ['JsonSetter'],
|
|
74
|
+
},
|
|
75
|
+
],
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
title: { label: '新建按钮' },
|
|
79
|
+
type: 'group',
|
|
80
|
+
display: 'block',
|
|
81
|
+
items: [
|
|
82
|
+
{
|
|
83
|
+
title: {
|
|
84
|
+
label: '显示新建按钮',
|
|
85
|
+
tip: 'isShowNewButton | 显示新建按钮',
|
|
86
|
+
},
|
|
87
|
+
name: 'isShowNewButton',
|
|
88
|
+
setter: 'BoolSetter',
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
title: { label: '按钮对齐', tip: 'newButtonAlign | 按钮对齐' },
|
|
92
|
+
name: 'newButtonAlign',
|
|
93
|
+
setter: {
|
|
94
|
+
componentName: 'SelectSetter',
|
|
95
|
+
props: {
|
|
96
|
+
options: [
|
|
97
|
+
{ title: '左对齐', value: 'left' },
|
|
98
|
+
{ title: '居中', value: 'center' },
|
|
99
|
+
{ title: '右对齐', value: 'right' },
|
|
100
|
+
],
|
|
101
|
+
},
|
|
102
|
+
},
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
title: { label: '按钮文案', tip: 'newButtonText | 按钮文案' },
|
|
106
|
+
name: 'newButtonText',
|
|
107
|
+
setter: ['StringSetter'],
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
title: {
|
|
111
|
+
label: '新建弹窗数据',
|
|
112
|
+
tip: 'newDialogDataSource | 新建弹窗数据',
|
|
113
|
+
},
|
|
114
|
+
name: 'newDialogDataSource',
|
|
115
|
+
setter: ['JsonSetter'],
|
|
116
|
+
},
|
|
117
|
+
],
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
title: { label: '搜索配置' },
|
|
121
|
+
type: 'group',
|
|
122
|
+
display: 'block',
|
|
123
|
+
items: [
|
|
124
|
+
{
|
|
125
|
+
title: { label: '显示搜索框', tip: 'isShowSearch | 显示搜索框' },
|
|
126
|
+
name: 'isShowSearch',
|
|
127
|
+
setter: 'BoolSetter',
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
title: {
|
|
131
|
+
label: '显示搜索相机',
|
|
132
|
+
tip: 'isShowSearchCamera | 显示搜索相机',
|
|
133
|
+
},
|
|
134
|
+
name: 'isShowSearchCamera',
|
|
135
|
+
setter: 'BoolSetter',
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
title: { label: '搜索图标', tip: 'searchIcon | 搜索图标' },
|
|
139
|
+
name: 'searchIcon',
|
|
140
|
+
setter: ['StringSetter'],
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
title: { label: '搜索占位', tip: 'placeholder | 搜索占位' },
|
|
144
|
+
name: 'placeholder',
|
|
145
|
+
setter: ['StringSetter'],
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
title: {
|
|
149
|
+
label: '显示搜索按钮',
|
|
150
|
+
tip: 'isShowSearchButton | 显示搜索按钮',
|
|
151
|
+
},
|
|
152
|
+
name: 'isShowSearchButton',
|
|
153
|
+
setter: 'BoolSetter',
|
|
154
|
+
},
|
|
155
|
+
],
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
title: { label: '结果配置' },
|
|
159
|
+
type: 'group',
|
|
160
|
+
display: 'block',
|
|
161
|
+
items: [
|
|
162
|
+
{
|
|
163
|
+
title: { label: '排序方式', tip: 'resultSort | 排序方式' },
|
|
164
|
+
name: 'resultSort',
|
|
165
|
+
setter: {
|
|
166
|
+
componentName: 'RadioGroupSetter',
|
|
167
|
+
props: {
|
|
168
|
+
options: [
|
|
169
|
+
{ title: '升序', value: 'asc' },
|
|
170
|
+
{ title: '降序', value: 'desc' },
|
|
171
|
+
{ title: '自定义', value: 'custom' },
|
|
172
|
+
],
|
|
173
|
+
},
|
|
174
|
+
},
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
title: { label: '排序字段', tip: 'sortBy | 排序字段' },
|
|
178
|
+
name: 'sortBy',
|
|
179
|
+
setter: ['StringSetter'],
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
title: { label: '列表配置', tip: 'resultProps | 列表配置' },
|
|
183
|
+
name: 'resultProps',
|
|
184
|
+
setter: ['JsonSetter'],
|
|
185
|
+
},
|
|
186
|
+
],
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
title: { label: '扩展能力' },
|
|
190
|
+
type: 'group',
|
|
191
|
+
display: 'block',
|
|
192
|
+
items: [
|
|
193
|
+
{
|
|
194
|
+
title: { label: '显示扫码枪', tip: 'isShowScanner | 显示扫码枪' },
|
|
195
|
+
name: 'isShowScanner',
|
|
196
|
+
setter: 'BoolSetter',
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
title: { label: '显示摄像头', tip: 'isShowCamera | 显示摄像头' },
|
|
200
|
+
name: 'isShowCamera',
|
|
201
|
+
setter: 'BoolSetter',
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
title: { label: '显示NFC', tip: 'isShowNFC | 显示NFC' },
|
|
205
|
+
name: 'isShowNFC',
|
|
206
|
+
setter: 'BoolSetter',
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
title: { label: '样式', tip: 'style | 样式' },
|
|
210
|
+
name: 'style',
|
|
211
|
+
setter: ['JsonSetter'],
|
|
212
|
+
},
|
|
213
|
+
],
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
title: { label: '列表交互' },
|
|
217
|
+
type: 'group',
|
|
218
|
+
display: 'block',
|
|
219
|
+
items: [
|
|
220
|
+
{
|
|
221
|
+
title: { label: '点击行回调', tip: 'onRowClick | 点击行回调' },
|
|
222
|
+
name: 'onRowClick',
|
|
223
|
+
setter: 'FunctionSetter',
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
title: { label: '新增客户回调', tip: 'onAddClient | 新增客户回调' },
|
|
227
|
+
name: 'onAddClient',
|
|
228
|
+
setter: 'FunctionSetter',
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
title: { label: '触底加载', tip: 'onLoadMore | 触底加载回调' },
|
|
232
|
+
name: 'onLoadMore',
|
|
233
|
+
setter: 'FunctionSetter',
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
title: { label: '是否还有更多', tip: 'hasMore | 是否还有更多数据' },
|
|
237
|
+
name: 'hasMore',
|
|
238
|
+
setter: 'BoolSetter',
|
|
239
|
+
defaultValue: false,
|
|
240
|
+
},
|
|
241
|
+
],
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
title: { label: '搜索事件' },
|
|
245
|
+
type: 'group',
|
|
246
|
+
display: 'block',
|
|
247
|
+
items: [
|
|
248
|
+
{
|
|
249
|
+
title: { label: '关键字变化', tip: 'onKeywordChange | 关键字变化' },
|
|
250
|
+
name: 'onKeywordChange',
|
|
251
|
+
setter: 'FunctionSetter',
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
title: { label: '搜索回调', tip: 'onSearch | 搜索回调' },
|
|
255
|
+
name: 'onSearch',
|
|
256
|
+
setter: 'FunctionSetter',
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
title: { label: '数据变化', tip: 'onDataChange | 数据变化' },
|
|
260
|
+
name: 'onDataChange',
|
|
261
|
+
setter: 'FunctionSetter',
|
|
262
|
+
},
|
|
263
|
+
],
|
|
264
|
+
},
|
|
265
|
+
],
|
|
266
|
+
component: {
|
|
267
|
+
isModal: true,
|
|
268
|
+
nestingRule: {
|
|
269
|
+
parentWhitelist: ['Page', 'Component'],
|
|
270
|
+
},
|
|
271
|
+
},
|
|
272
|
+
supports: {
|
|
273
|
+
events: [
|
|
274
|
+
{
|
|
275
|
+
name: 'onRowClick',
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
name: 'onAddClient',
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
name: 'onLoadMore',
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
name: 'onKeywordChange',
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
name: 'onSearch',
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
name: 'onDataChange',
|
|
291
|
+
},
|
|
292
|
+
],
|
|
293
|
+
style: true,
|
|
294
|
+
},
|
|
295
|
+
},
|
|
296
|
+
};
|
|
297
|
+
|
|
298
|
+
const snippets = [
|
|
299
|
+
{
|
|
300
|
+
title: '客户搜索',
|
|
301
|
+
screenshot: '',
|
|
302
|
+
schema: {
|
|
303
|
+
componentName: 'ClientSearch',
|
|
304
|
+
props: {
|
|
305
|
+
isShowSearch: true,
|
|
306
|
+
isShowNewButton: true,
|
|
307
|
+
hasMore: false,
|
|
308
|
+
},
|
|
309
|
+
},
|
|
310
|
+
},
|
|
311
|
+
];
|
|
312
|
+
|
|
313
|
+
export default {
|
|
314
|
+
snippets,
|
|
315
|
+
...Meta,
|
|
316
|
+
};
|
|
@@ -13,7 +13,72 @@ const Meta = {
|
|
|
13
13
|
subName: '',
|
|
14
14
|
},
|
|
15
15
|
configure: {
|
|
16
|
-
props: [
|
|
16
|
+
props: [
|
|
17
|
+
{
|
|
18
|
+
title: {
|
|
19
|
+
label: {
|
|
20
|
+
type: 'i18n',
|
|
21
|
+
'en-US': 'Hide Title',
|
|
22
|
+
'zh-CN': '隐藏标题',
|
|
23
|
+
'zh-HK': '隱藏標題',
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
name: 'hideTitle',
|
|
27
|
+
propType: 'bool',
|
|
28
|
+
setter: 'BoolSetter',
|
|
29
|
+
defaultValue: false,
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
title: {
|
|
33
|
+
label: {
|
|
34
|
+
type: 'i18n',
|
|
35
|
+
'en-US': 'Hide Add Button',
|
|
36
|
+
'zh-CN': '隐藏添加按钮',
|
|
37
|
+
'zh-HK': '隱藏添加按鈕',
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
name: 'hideAddButton',
|
|
41
|
+
propType: 'bool',
|
|
42
|
+
setter: 'BoolSetter',
|
|
43
|
+
defaultValue: false,
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
title: {
|
|
47
|
+
label: {
|
|
48
|
+
type: 'i18n',
|
|
49
|
+
'en-US': 'Customer',
|
|
50
|
+
'zh-CN': '当前客户',
|
|
51
|
+
'zh-HK': '当前客户',
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
name: 'customer',
|
|
55
|
+
setter: 'JsonSetter',
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
title: {
|
|
59
|
+
label: {
|
|
60
|
+
type: 'i18n',
|
|
61
|
+
'en-US': 'Platform',
|
|
62
|
+
'zh-CN': '平台',
|
|
63
|
+
'zh-HK': '平台',
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
name: 'platform',
|
|
67
|
+
propType: {
|
|
68
|
+
type: 'oneOf',
|
|
69
|
+
value: ['pc', 'h5'],
|
|
70
|
+
},
|
|
71
|
+
setter: {
|
|
72
|
+
componentName: 'RadioGroupSetter',
|
|
73
|
+
props: {
|
|
74
|
+
options: [
|
|
75
|
+
{ title: 'PC', value: 'pc' },
|
|
76
|
+
{ title: 'H5', value: 'h5' },
|
|
77
|
+
],
|
|
78
|
+
},
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
],
|
|
17
82
|
supports: {},
|
|
18
83
|
component: {},
|
|
19
84
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/private-materials",
|
|
3
|
-
"version": "6.6.
|
|
3
|
+
"version": "6.6.41",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -62,9 +62,9 @@
|
|
|
62
62
|
"@react-spring/web": "^9.6.1",
|
|
63
63
|
"@use-gesture/react": "^10.3.1",
|
|
64
64
|
"@pisell/utils": "3.0.2",
|
|
65
|
+
"@pisell/materials": "6.6.14",
|
|
65
66
|
"@pisell/icon": "0.0.11",
|
|
66
|
-
"@pisell/date-picker": "3.0.7"
|
|
67
|
-
"@pisell/materials": "6.6.13"
|
|
67
|
+
"@pisell/date-picker": "3.0.7"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
|
70
70
|
"react": "^18.0.0",
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import Decimal from 'decimal.js';
|
|
2
|
-
import { ICalculatePriceParams } from './types';
|
|
3
|
-
export declare const handleProductInfo: (eventDetail: any, num: number) => {
|
|
4
|
-
totalPrice: number;
|
|
5
|
-
originTotal: any;
|
|
6
|
-
is_charge_tax: any;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* 获取商品总价
|
|
10
|
-
* @description 当前总价计算基于商品数量为1
|
|
11
|
-
* @param item 商品
|
|
12
|
-
* @returns 商品总价
|
|
13
|
-
*/
|
|
14
|
-
export declare const getTotalPrice: (params: ICalculatePriceParams) => number;
|
|
15
|
-
/**
|
|
16
|
-
* 获取商品原始总价
|
|
17
|
-
* @description 当前总价计算基于商品数量为1
|
|
18
|
-
* @param item 商品
|
|
19
|
-
* @returns 商品原始总价
|
|
20
|
-
*/
|
|
21
|
-
export declare const getOriginTotalPrice: (params: ICalculatePriceParams) => number | undefined;
|
|
22
|
-
export declare const handleCartItemOrigin: (cartItem: any, eventDetail: any) => any;
|
|
23
|
-
export declare const formatBundleToOrigin: (bundle: any) => any;
|
|
24
|
-
export declare const formatOptionsToOrigin: (options: any) => any;
|
|
25
|
-
export declare const handleProductDeposit: (cartItem: any, eventDetail: any, num: number) => {
|
|
26
|
-
total: number;
|
|
27
|
-
protocols: any;
|
|
28
|
-
} | null;
|
|
29
|
-
/**
|
|
30
|
-
* 获取商品定金
|
|
31
|
-
* @description 定金基于商品售价来算,最终乘商品数量
|
|
32
|
-
* 1、如果套餐主商品有定金规则,则定金为:(套餐商品总售价 * 定金百分比 + 定金固定金额)* 商品数量
|
|
33
|
-
* 2、如果套餐主商品没有定金规则,子商品有定金规则,则定金为:(套餐子商品售价 * 套餐子商品定金百分比 + 套餐子商品定金固定金额)* 商品数量,最终将所有子商品定金相加
|
|
34
|
-
* 3、普通商品/单规格商品/组合规则商品,定金规则:(商品总售价 * 定金百分比 + 定金固定金额)* 商品数量
|
|
35
|
-
* @param params 参数
|
|
36
|
-
* @returns 商品定金
|
|
37
|
-
*/
|
|
38
|
-
export declare const getProductDeposit: (params: {
|
|
39
|
-
cartItem: any;
|
|
40
|
-
product: any;
|
|
41
|
-
bundle?: any;
|
|
42
|
-
options?: any;
|
|
43
|
-
num?: number;
|
|
44
|
-
}) => {
|
|
45
|
-
total: number;
|
|
46
|
-
protocols: any;
|
|
47
|
-
} | null;
|
|
48
|
-
/**
|
|
49
|
-
* 计算商品定金
|
|
50
|
-
* @param params 参数
|
|
51
|
-
* @returns 商品定金
|
|
52
|
-
*/
|
|
53
|
-
export declare const calculateProductDeposit: (params: {
|
|
54
|
-
depositData: {
|
|
55
|
-
deposit_fixed?: string;
|
|
56
|
-
deposit_percentage?: string;
|
|
57
|
-
};
|
|
58
|
-
total: string | number;
|
|
59
|
-
num: number;
|
|
60
|
-
}) => {
|
|
61
|
-
result: boolean;
|
|
62
|
-
depositTotal: Decimal;
|
|
63
|
-
};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @title: 套餐单规格信息
|
|
3
|
-
* @description:
|
|
4
|
-
* @param {any} option
|
|
5
|
-
* @return {*}
|
|
6
|
-
* @Author: zhiwei.Wang
|
|
7
|
-
* @Date: 2024-02-19 09:26
|
|
8
|
-
*/
|
|
9
|
-
export declare const formatProductOption: (option: any) => any;
|
|
10
|
-
/**
|
|
11
|
-
* @title: 套餐信息
|
|
12
|
-
* @description:
|
|
13
|
-
* @param {any} bundle
|
|
14
|
-
* @return {*}
|
|
15
|
-
* @Author: zhiwei.Wang
|
|
16
|
-
* @Date: 2024-02-19 09:26
|
|
17
|
-
*/
|
|
18
|
-
export declare const formatProductBundle: (bundle: any) => any;
|
|
19
|
-
/**
|
|
20
|
-
* @title: 格式化下单接口数据
|
|
21
|
-
* @description:
|
|
22
|
-
* @param {any} state saledModel数据源
|
|
23
|
-
* @param {boolean} excludeDisabled 是否需要排除购物车中失效商品
|
|
24
|
-
* @Author: xiangfeng.xue
|
|
25
|
-
* @Date: 2025-01-21 17:57
|
|
26
|
-
*/
|
|
27
|
-
export declare const formatValues: (params: {
|
|
28
|
-
state: any;
|
|
29
|
-
platform: 'h5' | 'pc';
|
|
30
|
-
excludeDisabled?: boolean;
|
|
31
|
-
extra?: Record<string, any>;
|
|
32
|
-
otherValue?: Record<string, any>;
|
|
33
|
-
}) => any;
|
|
34
|
-
/**
|
|
35
|
-
* @title: 获取拉开表单弹窗参数
|
|
36
|
-
* @param state
|
|
37
|
-
*/
|
|
38
|
-
export declare const getFormParams: (state: any) => {
|
|
39
|
-
product_id: any;
|
|
40
|
-
appointment_type: string;
|
|
41
|
-
};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface SummaryData {
|
|
3
|
-
}
|
|
4
|
-
interface SummaryContextType {
|
|
5
|
-
subtotal: number | string;
|
|
6
|
-
total: number | string;
|
|
7
|
-
taxTitle?: string;
|
|
8
|
-
totalTaxFee?: string;
|
|
9
|
-
isPriceIncludeTax?: 0 | 1;
|
|
10
|
-
deposit?: {
|
|
11
|
-
total: string;
|
|
12
|
-
protocols: any[];
|
|
13
|
-
hasDeposit: boolean;
|
|
14
|
-
};
|
|
15
|
-
isAgreeDepositPolicy: boolean;
|
|
16
|
-
setIsAgreeDepositPolicy: (value: boolean) => void;
|
|
17
|
-
getDepositProtocol: (params: {
|
|
18
|
-
id: string;
|
|
19
|
-
}) => Promise<any>;
|
|
20
|
-
}
|
|
21
|
-
interface SummaryProviderProps {
|
|
22
|
-
children: React.ReactNode;
|
|
23
|
-
}
|
|
24
|
-
export declare const SummaryContext: React.Context<SummaryContextType | undefined>;
|
|
25
|
-
export declare const SummaryProvider: React.FC<SummaryProviderProps>;
|
|
26
|
-
/**
|
|
27
|
-
* 使用步骤管理的Hook
|
|
28
|
-
* @throws {Error} 如果在StepProvider外部使用会抛出错误
|
|
29
|
-
* @returns {StepContextType} 步骤管理上下文
|
|
30
|
-
*/
|
|
31
|
-
export declare const useSummary: () => SummaryContextType;
|
|
32
|
-
declare const _default: {
|
|
33
|
-
defaultState: SummaryData;
|
|
34
|
-
};
|
|
35
|
-
export default _default;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import Decimal from 'decimal.js';
|
|
2
|
-
interface CartItem {
|
|
3
|
-
price: number | string;
|
|
4
|
-
quantity?: number;
|
|
5
|
-
[k: string]: any;
|
|
6
|
-
}
|
|
7
|
-
interface PriceDetail {
|
|
8
|
-
subtotal: string;
|
|
9
|
-
total: string;
|
|
10
|
-
taxTitle?: string;
|
|
11
|
-
totalTaxFee?: string;
|
|
12
|
-
isPriceIncludeTax?: 0 | 1;
|
|
13
|
-
deposit?: {
|
|
14
|
-
total: string;
|
|
15
|
-
protocols: any[];
|
|
16
|
-
hasDeposit: boolean;
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* 计算商品小计(不含其他费用)
|
|
21
|
-
* @param items - 购物车商品数组
|
|
22
|
-
* @returns 商品总价字符串,保留2位小数
|
|
23
|
-
*/
|
|
24
|
-
export declare const calculateSubtotal: (items: CartItem[]) => string;
|
|
25
|
-
/**
|
|
26
|
-
* @title: 单个商品的税费
|
|
27
|
-
* @description:
|
|
28
|
-
* 单个商品的税费 = 商品销售单价(折扣后) * 税率 * is_charge_tax /( 1+ 税率 * is_price_include_tax)
|
|
29
|
-
* $taxFee = $price * $taxRate * $isChargeTax / (1 + $taxRate * $isPriceIncludeTax);
|
|
30
|
-
* @return {*}
|
|
31
|
-
* @Author: xiangfeng.xue
|
|
32
|
-
*/
|
|
33
|
-
export declare const calculateTaxFee: (shopInfo: any, items: CartItem[]) => Decimal | "0.00";
|
|
34
|
-
/**
|
|
35
|
-
* 计算所有价格明细
|
|
36
|
-
* @param items - 购物车商品数组
|
|
37
|
-
* @param options - 其他费用配置
|
|
38
|
-
* @returns 价格明细对象
|
|
39
|
-
*/
|
|
40
|
-
export declare const calculatePriceDetails: (shopInfo: any, items: CartItem[]) => PriceDetail;
|
|
41
|
-
/**
|
|
42
|
-
* @title: 计算定金
|
|
43
|
-
* @param items - 购物车商品数组
|
|
44
|
-
* @returns 定金字符串,保留2位小数
|
|
45
|
-
*/
|
|
46
|
-
export declare const calculateDeposit: (items: CartItem[]) => {
|
|
47
|
-
total: string;
|
|
48
|
-
protocols: any[];
|
|
49
|
-
hasDeposit: never;
|
|
50
|
-
} | undefined;
|
|
51
|
-
export {};
|