@pisell/private-materials 6.11.48 → 6.11.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
- package/es/components/booking/info/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info/service/serviceManager/distributeDiscount.d.ts +5 -0
- package/es/components/booking/info/service/serviceManager/distributeDiscount.js +26 -3
- package/es/components/booking/info/service2/Group/utils.js +8 -0
- package/es/components/booking/info/service2/utils.d.ts +1 -1
- package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info2/service/editService/index.js +2 -23
- package/es/components/eftposPay/amount.d.ts +1 -1
- package/es/components/eftposPay/device.d.ts +1 -1
- package/es/components/eftposPay/hooks.d.ts +2 -2
- package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
- package/es/components/pay/toC/utils.d.ts +2 -2
- package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
- package/es/components/ticketBooking/utils/index.d.ts +1 -1
- package/es/plus/orderList/config.d.ts +2 -2
- package/es/plus/pisellSalesManagement/config/booking.d.ts +6 -6
- package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
- package/es/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
- package/es/pro/Selector/Selector.d.ts +1 -1
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
- package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info/service/serviceManager/distributeDiscount.d.ts +5 -0
- package/lib/components/booking/info/service/serviceManager/distributeDiscount.js +29 -6
- package/lib/components/booking/info/service2/Group/utils.js +8 -0
- package/lib/components/booking/info/service2/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/editService/index.js +8 -22
- package/lib/components/eftposPay/amount.d.ts +1 -1
- package/lib/components/eftposPay/device.d.ts +1 -1
- package/lib/components/eftposPay/hooks.d.ts +2 -2
- package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
- package/lib/components/pay/toC/utils.d.ts +2 -2
- package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
- package/lib/components/ticketBooking/utils/index.d.ts +1 -1
- package/lib/plus/orderList/config.d.ts +2 -2
- package/lib/plus/pisellSalesManagement/config/booking.d.ts +6 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
- package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
- package/lib/pro/Selector/Selector.d.ts +1 -1
- package/package.json +3 -3
- package/es/components/Sales/Cart/utils.d.ts +0 -68
- package/es/components/Sales/Checkout/utils.d.ts +0 -41
- package/es/components/Sales/Summary/index.d.ts +0 -37
- package/es/components/Sales/Summary/utils.d.ts +0 -58
- package/es/components/appointmentBooking/locales.d.ts +0 -606
- package/es/components/booking/components/voucher/utils.d.ts +0 -4
- 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/client/serve.d.ts +0 -2
- package/es/components/booking/info/hooks/useHolderConfig.d.ts +0 -10
- 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/cartClientCard/types.d.ts +0 -19
- package/es/components/booking/info2/cartClientCard/utils.d.ts +0 -3
- package/es/components/booking/info2/model/index.d.ts +0 -1
- package/es/components/booking/info2/model/strategy/adapter/index.d.ts +0 -7
- package/es/components/booking/info2/model/strategy/adapter/promotion/evaluator.d.ts +0 -185
- package/es/components/booking/info2/model/strategy/adapter/promotion/type.d.ts +0 -420
- package/es/components/booking/info2/model/strategy/adapter/type.d.ts +0 -28
- package/es/components/booking/info2/model/strategy/adapter/walletPass/evaluator.d.ts +0 -84
- package/es/components/booking/info2/model/strategy/adapter/walletPass/example.d.ts +0 -4
- package/es/components/booking/info2/model/strategy/adapter/walletPass/index.d.ts +0 -32
- package/es/components/booking/info2/model/strategy/adapter/walletPass/locales.d.ts +0 -1
- package/es/components/booking/info2/model/strategy/adapter/walletPass/type.d.ts +0 -165
- package/es/components/booking/info2/model/strategy/adapter/walletPass/utils.d.ts +0 -50
- package/es/components/booking/info2/model/strategy/index.d.ts +0 -107
- package/es/components/booking/info2/model/strategy/strategy-example.d.ts +0 -5
- package/es/components/booking/info2/model/strategy/type.d.ts +0 -228
- package/es/components/booking/info2/serve.d.ts +0 -6
- package/es/components/booking/info2/service/openNormalService.d.ts +0 -37
- package/es/components/booking/locales.d.ts +0 -1586
- package/es/components/checkout/components/AdditionalModule/locales.d.ts +0 -58
- 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/types.d.ts +0 -134
- package/es/components/checkout/constants.d.ts +0 -2
- package/es/components/checkout/hooks/usePaymentLogger.d.ts +0 -2
- package/es/components/checkout/locales.d.ts +0 -856
- 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/ecocup/components/CupActionModal/hooks.d.ts +0 -5
- package/es/components/ecocup/components/CupStatusModal/hooks.d.ts +0 -36
- package/es/components/ecocup/components/CustomerAndCupModal/hooks.d.ts +0 -14
- package/es/components/ecocup/components/SearchBar/const.d.ts +0 -4
- package/es/components/ecocup/components/SettingModal/const.d.ts +0 -6
- package/es/components/ecocup/cupList/const.d.ts +0 -144
- package/es/components/ecocup/cupProject/const.d.ts +0 -7
- package/es/components/ecocup/customerList/const.d.ts +0 -44
- package/es/components/ecocup/customerList/hooks/index.d.ts +0 -3
- package/es/components/ecocup/customerList/hooks/useColumns.d.ts +0 -15
- package/es/components/ecocup/customerList/hooks/useCustomerApi.d.ts +0 -15
- package/es/components/ecocup/hooks.d.ts +0 -57
- package/es/components/ecocup/locales.d.ts +0 -653
- package/es/components/ecocup/types.d.ts +0 -103
- package/es/components/ecocup/utils/download.d.ts +0 -7
- package/es/components/ecocup/utils/index.d.ts +0 -2
- package/es/components/ecocup/utils/scanListener.d.ts +0 -20
- 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/aggregatePayment/index.d.ts +0 -3
- 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/store/index.d.ts +0 -362
- package/es/components/eventBooking/components/Voucher/components/locales.d.ts +0 -61
- package/es/components/eventBooking/components/Voucher/hooks.d.ts +0 -7
- package/es/components/kioskSkuDetail/locales.d.ts +0 -43
- package/es/components/list/TestResponsiveWrapper.d.ts +0 -8
- 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/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/hooks/useDevice.d.ts +0 -24
- package/es/components/list/hooks/useWaterfall.d.ts +0 -34
- package/es/components/list/locales.d.ts +0 -108
- package/es/components/list/types.d.ts +0 -181
- package/es/components/list/utils/getText.d.ts +0 -53
- package/es/components/list/utils/index.d.ts +0 -19
- package/es/components/pay/toB/components/Content/utils.d.ts +0 -16
- package/es/components/pay/toB/components/MX51/index.d.ts +0 -3
- 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/store/context.d.ts +0 -3
- package/es/components/pay/toB/store/hooks.d.ts +0 -15
- 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 -81
- 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/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/index.d.ts +0 -10
- package/es/components/pay/toC/locales.d.ts +0 -511
- package/es/components/pisellSelectCustomerModal/locales.d.ts +0 -133
- 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 -93
- package/es/components/shoppingCart/mock.d.ts +0 -54
- package/es/components/shoppingCart/type.d.ts +0 -58
- package/es/components/subTotal/locales.d.ts +0 -71
- package/es/components/systemSettings/registry/locales.d.ts +0 -525
- package/es/components/systemSettings/registry/services.d.ts +0 -97
- package/es/components/systemSettings/registry/types.d.ts +0 -139
- package/es/components/taxSelect/locales.d.ts +0 -38
- package/es/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +0 -115
- package/es/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +0 -6
- package/es/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
- package/es/components/ticketBooking/context/IsActiveContext.d.ts +0 -26
- package/es/components/ticketBooking/context/OsKeyContext.d.ts +0 -29
- package/es/components/ticketBooking/context/index.d.ts +0 -2
- package/es/components/ticketBooking/hooks/pisellos/index.d.ts +0 -4
- package/es/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +0 -21
- package/es/components/ticketBooking/hooks/pisellos/useCartChangeEffect.d.ts +0 -5
- package/es/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +0 -25
- package/es/components/ticketBooking/hooks/pisellos/useProducts.d.ts +0 -16
- package/es/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +0 -6
- package/es/components/ticketBooking/locales.d.ts +0 -340
- package/es/components/ticketBooking/utils/edit.d.ts +0 -1
- package/es/components/ticketBooking/utils/productCache.d.ts +0 -75
- package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +0 -8
- package/es/components/workSpaceList/components/Card/constants.d.ts +0 -2
- package/es/hooks/printer.d.ts +0 -4
- package/es/hooks/useEngineContext.d.ts +0 -4
- package/es/hooks/useLocale.d.ts +0 -2
- package/es/hooks/useLogger.d.ts +0 -2
- package/es/hooks/useThemeTokens.d.ts +0 -7
- package/es/hooks/useToast.d.ts +0 -2
- package/es/hooks/useWindowSize.d.ts +0 -5
- package/es/plus/clientCard/types.d.ts +0 -135
- 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/orderList/locales.d.ts +0 -618
- package/es/plus/pisellSalesGrid/locales.d.ts +0 -9
- package/es/plus/pisellSalesGrid/types.d.ts +0 -170
- package/es/plus/pisellSalesManagement/hooks/perspectiveUtils.d.ts +0 -15
- package/es/plus/pisellSalesManagement/locales.d.ts +0 -303
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +0 -6
- 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/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/locales.d.ts +0 -68
- package/es/plus/productSelect/ProductCard/SkuCard/status.d.ts +0 -173
- 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/ProductCard/utils.d.ts +0 -49
- package/es/plus/productSelect/ProductList/gridComponents.d.ts +0 -46
- package/es/plus/productSelect/ProductList/index.d.ts +0 -22
- package/es/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +0 -30
- package/es/plus/saasAttendance/locales.d.ts +0 -591
- package/es/plus/saasAttendance/settings/types.d.ts +0 -136
- package/es/plus/saasTeamMembers/locales.d.ts +0 -546
- package/es/plus/selectHolder/locales.d.ts +0 -38
- package/es/plus/skuOptionsSelection/hooks/index.d.ts +0 -3
- package/es/plus/skuOptionsSelection/hooks/useLanguage.d.ts +0 -2
- package/es/plus/skuOptionsSelection/hooks/useStore.d.ts +0 -2
- package/es/plus/skuOptionsSelection/hooks/useSymbol.d.ts +0 -2
- package/es/plus/skuOptionsSelection/locales.d.ts +0 -53
- package/es/plus/skuOptionsSelection/store/actions.d.ts +0 -22
- package/es/plus/skuOptionsSelection/store/createStore.d.ts +0 -15
- package/es/plus/skuOptionsSelection/store/index.d.ts +0 -2
- package/es/plus/skuOptionsSelection/store/store.d.ts +0 -4
- package/es/plus/skuOptionsSelection/types.d.ts +0 -445
- package/es/plus/skuOptionsSelection/utils/calculateOption.d.ts +0 -6
- package/es/plus/skuOptionsSelection/utils/checkSkuStatus.d.ts +0 -37
- package/es/plus/skuOptionsSelection/utils/index.d.ts +0 -7
- package/es/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +0 -1
- package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +0 -4
- package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
- package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +0 -1
- package/es/plus/webPosLogin/components/MediaDisplay/type.d.ts +0 -54
- package/es/plus/webPosLogin/locales.d.ts +0 -92
- package/es/plus/webPosLogin/types.d.ts +0 -288
- package/es/pro/Cards/components/SKUCard/locales.d.ts +0 -12
- package/es/pro/Cards/components/SKUCard/types.d.ts +0 -73
- 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/types.d.ts +0 -31
- package/es/pro/Selector/BatchSelectorDemo.d.ts +0 -3
- package/es/pro/Selector/Selector.stories.d.ts +0 -78
- package/es/pro/Selector/components/Card/index.d.ts +0 -57
- package/es/pro/Selector/components/Card/types.d.ts +0 -1
- package/es/pro/Selector/components/Indicator/index.d.ts +0 -20
- package/es/pro/Selector/components/IntersectionObserver.d.ts +0 -105
- package/es/pro/Selector/components/LayoutContainer/index.d.ts +0 -18
- package/es/pro/Selector/components/Media/index.d.ts +0 -6
- package/es/pro/Selector/components/Media/types.d.ts +0 -47
- package/es/pro/Selector/components/index.d.ts +0 -4
- package/es/pro/Selector/demo.d.ts +0 -3
- package/es/pro/Selector/hooks/usePresetItemProps.d.ts +0 -43
- package/es/pro/Selector/hooks/usePresetProps.d.ts +0 -24
- package/es/pro/Selector/locales.d.ts +0 -58
- package/es/pro/Selector/types.d.ts +0 -223
- package/es/pro/Selector/utils/index.d.ts +0 -49
- package/es/pro/keyboards/locales.d.ts +0 -38
- package/es/pro/keyboards/numberKeyboard/types.d.ts +0 -63
- package/es/pro/multiDayTimeSelect/types.d.ts +0 -28
- 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/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/skuDetailModal/locales.d.ts +0 -159
- package/es/pro/skuDetailModal/types.d.ts +0 -395
- package/es/pro/skuDetailModal/utils.d.ts +0 -4
- package/es/test/setup.d.ts +0 -1
- package/lib/components/Sales/Cart/utils.d.ts +0 -68
- package/lib/components/Sales/Checkout/utils.d.ts +0 -41
- package/lib/components/Sales/Summary/index.d.ts +0 -37
- package/lib/components/Sales/Summary/utils.d.ts +0 -58
- package/lib/components/appointmentBooking/locales.d.ts +0 -606
- package/lib/components/booking/components/voucher/utils.d.ts +0 -4
- 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/client/serve.d.ts +0 -2
- package/lib/components/booking/info/hooks/useHolderConfig.d.ts +0 -10
- 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/cartClientCard/types.d.ts +0 -19
- package/lib/components/booking/info2/cartClientCard/utils.d.ts +0 -3
- package/lib/components/booking/info2/model/index.d.ts +0 -1
- package/lib/components/booking/info2/model/strategy/adapter/index.d.ts +0 -7
- package/lib/components/booking/info2/model/strategy/adapter/promotion/evaluator.d.ts +0 -185
- package/lib/components/booking/info2/model/strategy/adapter/promotion/type.d.ts +0 -420
- package/lib/components/booking/info2/model/strategy/adapter/type.d.ts +0 -28
- package/lib/components/booking/info2/model/strategy/adapter/walletPass/evaluator.d.ts +0 -84
- package/lib/components/booking/info2/model/strategy/adapter/walletPass/example.d.ts +0 -4
- package/lib/components/booking/info2/model/strategy/adapter/walletPass/index.d.ts +0 -32
- package/lib/components/booking/info2/model/strategy/adapter/walletPass/locales.d.ts +0 -1
- package/lib/components/booking/info2/model/strategy/adapter/walletPass/type.d.ts +0 -165
- package/lib/components/booking/info2/model/strategy/adapter/walletPass/utils.d.ts +0 -50
- package/lib/components/booking/info2/model/strategy/index.d.ts +0 -107
- package/lib/components/booking/info2/model/strategy/strategy-example.d.ts +0 -5
- package/lib/components/booking/info2/model/strategy/type.d.ts +0 -228
- package/lib/components/booking/info2/serve.d.ts +0 -6
- package/lib/components/booking/info2/service/openNormalService.d.ts +0 -37
- package/lib/components/booking/locales.d.ts +0 -1586
- package/lib/components/checkout/components/AdditionalModule/locales.d.ts +0 -58
- 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/types.d.ts +0 -134
- package/lib/components/checkout/constants.d.ts +0 -2
- package/lib/components/checkout/hooks/usePaymentLogger.d.ts +0 -2
- package/lib/components/checkout/locales.d.ts +0 -856
- 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/ecocup/components/CupActionModal/hooks.d.ts +0 -5
- package/lib/components/ecocup/components/CupStatusModal/hooks.d.ts +0 -36
- package/lib/components/ecocup/components/CustomerAndCupModal/hooks.d.ts +0 -14
- package/lib/components/ecocup/components/SearchBar/const.d.ts +0 -4
- package/lib/components/ecocup/components/SettingModal/const.d.ts +0 -6
- package/lib/components/ecocup/cupList/const.d.ts +0 -144
- package/lib/components/ecocup/cupProject/const.d.ts +0 -7
- package/lib/components/ecocup/customerList/const.d.ts +0 -44
- package/lib/components/ecocup/customerList/hooks/index.d.ts +0 -3
- package/lib/components/ecocup/customerList/hooks/useColumns.d.ts +0 -15
- package/lib/components/ecocup/customerList/hooks/useCustomerApi.d.ts +0 -15
- package/lib/components/ecocup/hooks.d.ts +0 -57
- package/lib/components/ecocup/locales.d.ts +0 -653
- package/lib/components/ecocup/types.d.ts +0 -103
- package/lib/components/ecocup/utils/download.d.ts +0 -7
- package/lib/components/ecocup/utils/index.d.ts +0 -2
- package/lib/components/ecocup/utils/scanListener.d.ts +0 -20
- 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/aggregatePayment/index.d.ts +0 -3
- 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/store/index.d.ts +0 -362
- package/lib/components/eventBooking/components/Voucher/components/locales.d.ts +0 -61
- package/lib/components/eventBooking/components/Voucher/hooks.d.ts +0 -7
- package/lib/components/kioskSkuDetail/locales.d.ts +0 -43
- package/lib/components/list/TestResponsiveWrapper.d.ts +0 -8
- 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/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/hooks/useDevice.d.ts +0 -24
- package/lib/components/list/hooks/useWaterfall.d.ts +0 -34
- package/lib/components/list/locales.d.ts +0 -108
- package/lib/components/list/types.d.ts +0 -181
- package/lib/components/list/utils/getText.d.ts +0 -53
- package/lib/components/list/utils/index.d.ts +0 -19
- package/lib/components/pay/toB/components/Content/utils.d.ts +0 -16
- package/lib/components/pay/toB/components/MX51/index.d.ts +0 -3
- 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/store/context.d.ts +0 -3
- package/lib/components/pay/toB/store/hooks.d.ts +0 -15
- 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 -81
- 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/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/index.d.ts +0 -10
- package/lib/components/pay/toC/locales.d.ts +0 -511
- package/lib/components/pisellSelectCustomerModal/locales.d.ts +0 -133
- 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 -93
- package/lib/components/shoppingCart/mock.d.ts +0 -54
- package/lib/components/shoppingCart/type.d.ts +0 -58
- package/lib/components/subTotal/locales.d.ts +0 -71
- package/lib/components/systemSettings/registry/locales.d.ts +0 -525
- package/lib/components/systemSettings/registry/services.d.ts +0 -97
- package/lib/components/systemSettings/registry/types.d.ts +0 -139
- package/lib/components/taxSelect/locales.d.ts +0 -38
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +0 -115
- package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +0 -6
- package/lib/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
- package/lib/components/ticketBooking/context/IsActiveContext.d.ts +0 -26
- package/lib/components/ticketBooking/context/OsKeyContext.d.ts +0 -29
- package/lib/components/ticketBooking/context/index.d.ts +0 -2
- package/lib/components/ticketBooking/hooks/pisellos/index.d.ts +0 -4
- package/lib/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +0 -21
- package/lib/components/ticketBooking/hooks/pisellos/useCartChangeEffect.d.ts +0 -5
- package/lib/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +0 -25
- package/lib/components/ticketBooking/hooks/pisellos/useProducts.d.ts +0 -16
- package/lib/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +0 -6
- package/lib/components/ticketBooking/locales.d.ts +0 -340
- package/lib/components/ticketBooking/utils/edit.d.ts +0 -1
- package/lib/components/ticketBooking/utils/productCache.d.ts +0 -75
- package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +0 -8
- package/lib/components/workSpaceList/components/Card/constants.d.ts +0 -2
- package/lib/hooks/printer.d.ts +0 -4
- package/lib/hooks/useEngineContext.d.ts +0 -4
- package/lib/hooks/useLocale.d.ts +0 -2
- package/lib/hooks/useLogger.d.ts +0 -2
- package/lib/hooks/useThemeTokens.d.ts +0 -7
- package/lib/hooks/useToast.d.ts +0 -2
- package/lib/hooks/useWindowSize.d.ts +0 -5
- package/lib/plus/clientCard/types.d.ts +0 -135
- 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/orderList/locales.d.ts +0 -618
- package/lib/plus/pisellSalesGrid/locales.d.ts +0 -9
- package/lib/plus/pisellSalesGrid/types.d.ts +0 -170
- package/lib/plus/pisellSalesManagement/hooks/perspectiveUtils.d.ts +0 -15
- package/lib/plus/pisellSalesManagement/locales.d.ts +0 -303
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +0 -6
- 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/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/locales.d.ts +0 -68
- package/lib/plus/productSelect/ProductCard/SkuCard/status.d.ts +0 -173
- 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/ProductCard/utils.d.ts +0 -49
- package/lib/plus/productSelect/ProductList/gridComponents.d.ts +0 -46
- package/lib/plus/productSelect/ProductList/index.d.ts +0 -22
- package/lib/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +0 -30
- package/lib/plus/saasAttendance/locales.d.ts +0 -591
- package/lib/plus/saasAttendance/settings/types.d.ts +0 -136
- package/lib/plus/saasTeamMembers/locales.d.ts +0 -546
- package/lib/plus/selectHolder/locales.d.ts +0 -38
- package/lib/plus/skuOptionsSelection/hooks/index.d.ts +0 -3
- package/lib/plus/skuOptionsSelection/hooks/useLanguage.d.ts +0 -2
- package/lib/plus/skuOptionsSelection/hooks/useStore.d.ts +0 -2
- package/lib/plus/skuOptionsSelection/hooks/useSymbol.d.ts +0 -2
- package/lib/plus/skuOptionsSelection/locales.d.ts +0 -53
- package/lib/plus/skuOptionsSelection/store/actions.d.ts +0 -22
- package/lib/plus/skuOptionsSelection/store/createStore.d.ts +0 -15
- package/lib/plus/skuOptionsSelection/store/index.d.ts +0 -2
- package/lib/plus/skuOptionsSelection/store/store.d.ts +0 -4
- package/lib/plus/skuOptionsSelection/types.d.ts +0 -445
- package/lib/plus/skuOptionsSelection/utils/calculateOption.d.ts +0 -6
- package/lib/plus/skuOptionsSelection/utils/checkSkuStatus.d.ts +0 -37
- package/lib/plus/skuOptionsSelection/utils/index.d.ts +0 -7
- package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +0 -1
- package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +0 -4
- package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
- package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +0 -1
- package/lib/plus/webPosLogin/components/MediaDisplay/type.d.ts +0 -54
- package/lib/plus/webPosLogin/locales.d.ts +0 -92
- package/lib/plus/webPosLogin/types.d.ts +0 -288
- package/lib/pro/Cards/components/SKUCard/locales.d.ts +0 -12
- package/lib/pro/Cards/components/SKUCard/types.d.ts +0 -73
- 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/types.d.ts +0 -31
- package/lib/pro/Selector/BatchSelectorDemo.d.ts +0 -3
- package/lib/pro/Selector/Selector.stories.d.ts +0 -78
- package/lib/pro/Selector/components/Card/index.d.ts +0 -57
- package/lib/pro/Selector/components/Card/types.d.ts +0 -1
- package/lib/pro/Selector/components/Indicator/index.d.ts +0 -20
- package/lib/pro/Selector/components/IntersectionObserver.d.ts +0 -105
- package/lib/pro/Selector/components/LayoutContainer/index.d.ts +0 -18
- package/lib/pro/Selector/components/Media/index.d.ts +0 -6
- package/lib/pro/Selector/components/Media/types.d.ts +0 -47
- package/lib/pro/Selector/components/index.d.ts +0 -4
- package/lib/pro/Selector/demo.d.ts +0 -3
- package/lib/pro/Selector/hooks/usePresetItemProps.d.ts +0 -43
- package/lib/pro/Selector/hooks/usePresetProps.d.ts +0 -24
- package/lib/pro/Selector/locales.d.ts +0 -58
- package/lib/pro/Selector/types.d.ts +0 -223
- package/lib/pro/Selector/utils/index.d.ts +0 -49
- package/lib/pro/keyboards/locales.d.ts +0 -38
- package/lib/pro/keyboards/numberKeyboard/types.d.ts +0 -63
- package/lib/pro/multiDayTimeSelect/types.d.ts +0 -28
- 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/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/skuDetailModal/locales.d.ts +0 -159
- package/lib/pro/skuDetailModal/types.d.ts +0 -395
- package/lib/pro/skuDetailModal/utils.d.ts +0 -4
- package/lib/test/setup.d.ts +0 -1
|
@@ -15,11 +15,11 @@ export declare const useStoreRef: <T extends {
|
|
|
15
15
|
readonly numRef: React.MutableRefObject<string | number | undefined>;
|
|
16
16
|
readonly orderIdRef: React.MutableRefObject<string | number>;
|
|
17
17
|
readonly modeRef: React.MutableRefObject<ModeEnum>;
|
|
18
|
-
readonly statusRef: React.MutableRefObject<"
|
|
18
|
+
readonly statusRef: React.MutableRefObject<"success" | "warn" | "loading" | "init" | "fail" | "pedding" | "resove" | "reject" | "question">;
|
|
19
19
|
readonly netRef: React.MutableRefObject<boolean | undefined>;
|
|
20
20
|
readonly symbolRef: React.MutableRefObject<string>;
|
|
21
21
|
readonly amountRef: React.MutableRefObject<string | number>;
|
|
22
|
-
readonly eftposRef: React.MutableRefObject<"
|
|
22
|
+
readonly eftposRef: React.MutableRefObject<"payo" | "tyro" | "windcave" | "stripe" | "linkly" | "huifu">;
|
|
23
23
|
readonly clientRef: React.MutableRefObject<ClientEnum>;
|
|
24
24
|
readonly dataRef: React.MutableRefObject<import("./store").State>;
|
|
25
25
|
};
|
|
@@ -22,7 +22,7 @@ export declare const formatWalletPassParams: (payGroup: PayGroup) => {
|
|
|
22
22
|
order_id: string;
|
|
23
23
|
payment_group_id: number;
|
|
24
24
|
payments: {
|
|
25
|
-
amount: string | number;
|
|
25
|
+
amount: string | number | undefined;
|
|
26
26
|
wallet_pass_use_value: any;
|
|
27
27
|
voucher_id: any;
|
|
28
28
|
tag: any;
|
|
@@ -48,7 +48,7 @@ export declare const isFranchiseeShop: (path?: any, history?: any) => any;
|
|
|
48
48
|
*/
|
|
49
49
|
export declare const getFranchiseeShopId: (path?: any, history?: any) => number;
|
|
50
50
|
export declare const formatFranchiseeRoute: (url: string, history?: any) => string;
|
|
51
|
-
export declare const getAvailableMaxAmount: (data: WalletPassDataType) => string | number;
|
|
51
|
+
export declare const getAvailableMaxAmount: (data: WalletPassDataType) => string | number | undefined;
|
|
52
52
|
export declare const clientPayment: (params: {
|
|
53
53
|
order_id: number;
|
|
54
54
|
type: "aliPay" | "wxPay" | 'google_pay';
|
|
@@ -47,7 +47,7 @@ declare type ScanData = {
|
|
|
47
47
|
};
|
|
48
48
|
};
|
|
49
49
|
export declare const formatScanCustomer: (data: ScanData) => {
|
|
50
|
-
searchType: "
|
|
50
|
+
searchType: "customer" | "product" | "wallet" | "walletPass" | "local_product";
|
|
51
51
|
data: any;
|
|
52
52
|
scanCode: string;
|
|
53
53
|
} | null;
|
|
@@ -9,7 +9,7 @@ export declare const getTableColumns: (locales: any) => ({
|
|
|
9
9
|
dataIndex: string;
|
|
10
10
|
key: string;
|
|
11
11
|
width: number;
|
|
12
|
-
render: (value: any, record: any) => React.JSX.Element
|
|
12
|
+
render: (value: any, record: any) => "-" | React.JSX.Element;
|
|
13
13
|
isShow?: undefined;
|
|
14
14
|
} | {
|
|
15
15
|
title: any;
|
|
@@ -38,7 +38,7 @@ export declare const getTableColumns: (locales: any) => ({
|
|
|
38
38
|
key: string;
|
|
39
39
|
isShow: boolean;
|
|
40
40
|
width: number;
|
|
41
|
-
render: (value: any) => React.JSX.Element
|
|
41
|
+
render: (value: any) => "-" | React.JSX.Element;
|
|
42
42
|
})[];
|
|
43
43
|
export declare const getQuickFilterList: (locales: any) => ({
|
|
44
44
|
name: string;
|
|
@@ -19,7 +19,7 @@ export declare const getFilterButtonList: () => ({
|
|
|
19
19
|
}[];
|
|
20
20
|
minInputNumberProps?: undefined;
|
|
21
21
|
maxInputNumberProps?: undefined;
|
|
22
|
-
component?: undefined;
|
|
22
|
+
readonly component?: undefined;
|
|
23
23
|
isSearchServer?: undefined;
|
|
24
24
|
showSearch?: undefined;
|
|
25
25
|
showTime?: undefined;
|
|
@@ -45,7 +45,7 @@ export declare const getFilterButtonList: () => ({
|
|
|
45
45
|
mode?: undefined;
|
|
46
46
|
maxTagCount?: undefined;
|
|
47
47
|
options?: undefined;
|
|
48
|
-
component?: undefined;
|
|
48
|
+
readonly component?: undefined;
|
|
49
49
|
isSearchServer?: undefined;
|
|
50
50
|
showSearch?: undefined;
|
|
51
51
|
showTime?: undefined;
|
|
@@ -90,7 +90,7 @@ export declare const getFilterButtonList: () => ({
|
|
|
90
90
|
options: () => Promise<any>;
|
|
91
91
|
minInputNumberProps?: undefined;
|
|
92
92
|
maxInputNumberProps?: undefined;
|
|
93
|
-
component?: undefined;
|
|
93
|
+
readonly component?: undefined;
|
|
94
94
|
isSearchServer?: undefined;
|
|
95
95
|
showSearch?: undefined;
|
|
96
96
|
showTime?: undefined;
|
|
@@ -110,7 +110,7 @@ export declare const getFilterButtonList: () => ({
|
|
|
110
110
|
options?: undefined;
|
|
111
111
|
minInputNumberProps?: undefined;
|
|
112
112
|
maxInputNumberProps?: undefined;
|
|
113
|
-
component?: undefined;
|
|
113
|
+
readonly component?: undefined;
|
|
114
114
|
isSearchServer?: undefined;
|
|
115
115
|
showSearch?: undefined;
|
|
116
116
|
showTime?: undefined;
|
|
@@ -132,7 +132,7 @@ export declare const getFilterButtonList: () => ({
|
|
|
132
132
|
maxTagCount?: undefined;
|
|
133
133
|
minInputNumberProps?: undefined;
|
|
134
134
|
maxInputNumberProps?: undefined;
|
|
135
|
-
component?: undefined;
|
|
135
|
+
readonly component?: undefined;
|
|
136
136
|
showTime?: undefined;
|
|
137
137
|
};
|
|
138
138
|
sort?: undefined;
|
|
@@ -151,7 +151,7 @@ export declare const getFilterButtonList: () => ({
|
|
|
151
151
|
options?: undefined;
|
|
152
152
|
minInputNumberProps?: undefined;
|
|
153
153
|
maxInputNumberProps?: undefined;
|
|
154
|
-
component?: undefined;
|
|
154
|
+
readonly component?: undefined;
|
|
155
155
|
isSearchServer?: undefined;
|
|
156
156
|
showSearch?: undefined;
|
|
157
157
|
};
|
|
@@ -2,5 +2,5 @@ import React from 'react';
|
|
|
2
2
|
import { ProductCardConfig } from '../../type';
|
|
3
3
|
declare const Capacity: ({ props }: {
|
|
4
4
|
props: ProductCardConfig;
|
|
5
|
-
}) => string | number | true | React.
|
|
5
|
+
}) => string | number | true | Iterable<React.ReactNode> | React.JSX.Element | null;
|
|
6
6
|
export default Capacity;
|
|
@@ -3,5 +3,5 @@ import { ProductCardConfig } from '../../type';
|
|
|
3
3
|
import './index.less';
|
|
4
4
|
declare const Countdown: ({ props }: {
|
|
5
5
|
props: ProductCardConfig;
|
|
6
|
-
}) => string | number | true | React.
|
|
6
|
+
}) => string | number | true | Iterable<React.ReactNode> | React.JSX.Element | null;
|
|
7
7
|
export default Countdown;
|
|
@@ -3,5 +3,5 @@ import { ProductCardConfig } from '../../type';
|
|
|
3
3
|
import './index.less';
|
|
4
4
|
declare const MemberPrice: ({ props }: {
|
|
5
5
|
props: ProductCardConfig;
|
|
6
|
-
}) => string | number | true | React.
|
|
6
|
+
}) => string | number | true | Iterable<React.ReactNode> | React.JSX.Element | null;
|
|
7
7
|
export default MemberPrice;
|
|
@@ -2,5 +2,5 @@ import React from 'react';
|
|
|
2
2
|
import { ProductCardConfig } from '../../type';
|
|
3
3
|
declare const Stock: ({ props }: {
|
|
4
4
|
props: ProductCardConfig;
|
|
5
|
-
}) => string | number | true | React.
|
|
5
|
+
}) => string | number | true | Iterable<React.ReactNode> | React.JSX.Element | null;
|
|
6
6
|
export default Stock;
|
|
@@ -3,7 +3,7 @@ import { ItemLayout, ItemProps, PresetConfig, SelectorProps, SelectorVariant } f
|
|
|
3
3
|
import './selector.less';
|
|
4
4
|
export declare const SelectorContext: React.Context<{
|
|
5
5
|
disabled?: boolean | undefined;
|
|
6
|
-
mode?: "
|
|
6
|
+
mode?: "single" | "multiple" | undefined;
|
|
7
7
|
itemLayout?: ItemLayout | undefined;
|
|
8
8
|
valueType?: "object" | "primitive" | undefined;
|
|
9
9
|
variant?: SelectorVariant | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/private-materials",
|
|
3
|
-
"version": "6.11.
|
|
3
|
+
"version": "6.11.49",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
"styled-components": "^6.0.0-rc.3",
|
|
70
70
|
"@pisell/utils": "3.0.2",
|
|
71
71
|
"@pisell/materials": "6.11.17",
|
|
72
|
-
"@pisell/
|
|
73
|
-
"@pisell/
|
|
72
|
+
"@pisell/date-picker": "3.0.8",
|
|
73
|
+
"@pisell/icon": "0.0.11"
|
|
74
74
|
},
|
|
75
75
|
"peerDependencies": {
|
|
76
76
|
"react": "^18.0.0",
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import Decimal from 'decimal.js';
|
|
2
|
-
import { ICalculatePriceParams } from './types';
|
|
3
|
-
export declare const handleProductInfo: (eventDetail: any, num: number) => {
|
|
4
|
-
price: number;
|
|
5
|
-
totalPrice: number;
|
|
6
|
-
originTotal: any;
|
|
7
|
-
is_charge_tax: any;
|
|
8
|
-
};
|
|
9
|
-
/**
|
|
10
|
-
* 获取商品价格
|
|
11
|
-
*/
|
|
12
|
-
export declare const getPrice: (params: ICalculatePriceParams) => number;
|
|
13
|
-
/**
|
|
14
|
-
* 获取商品总价
|
|
15
|
-
* @description 当前总价计算基于商品数量为1
|
|
16
|
-
* @param item 商品
|
|
17
|
-
* @returns 商品总价
|
|
18
|
-
*/
|
|
19
|
-
export declare const getTotalPrice: (params: ICalculatePriceParams) => number;
|
|
20
|
-
/**
|
|
21
|
-
* 获取商品原始总价
|
|
22
|
-
* @description 当前总价计算基于商品数量为1
|
|
23
|
-
* @param item 商品
|
|
24
|
-
* @returns 商品原始总价
|
|
25
|
-
*/
|
|
26
|
-
export declare const getOriginTotalPrice: (params: ICalculatePriceParams) => number | undefined;
|
|
27
|
-
export declare const handleCartItemOrigin: (cartItem: any, eventDetail: any) => any;
|
|
28
|
-
export declare const formatBundleToOrigin: (bundle: any) => any;
|
|
29
|
-
export declare const formatOptionsToOrigin: (options: any) => any;
|
|
30
|
-
export declare const handleProductDeposit: (cartItem: any, eventDetail: any, num: number) => {
|
|
31
|
-
total: number;
|
|
32
|
-
protocols: any;
|
|
33
|
-
} | null;
|
|
34
|
-
/**
|
|
35
|
-
* 获取商品定金
|
|
36
|
-
* @description 定金基于商品售价来算,最终乘商品数量
|
|
37
|
-
* 1、如果套餐主商品有定金规则,则定金为:(套餐商品总售价 * 定金百分比 + 定金固定金额)* 商品数量
|
|
38
|
-
* 2、如果套餐主商品没有定金规则,子商品有定金规则,则定金为:(套餐子商品售价 * 套餐子商品定金百分比 + 套餐子商品定金固定金额)* 商品数量,最终将所有子商品定金相加
|
|
39
|
-
* 3、普通商品/单规格商品/组合规则商品,定金规则:(商品总售价 * 定金百分比 + 定金固定金额)* 商品数量
|
|
40
|
-
* @param params 参数
|
|
41
|
-
* @returns 商品定金
|
|
42
|
-
*/
|
|
43
|
-
export declare const getProductDeposit: (params: {
|
|
44
|
-
cartItem: any;
|
|
45
|
-
product: any;
|
|
46
|
-
bundle?: any;
|
|
47
|
-
options?: any;
|
|
48
|
-
num?: number;
|
|
49
|
-
}) => {
|
|
50
|
-
total: number;
|
|
51
|
-
protocols: any;
|
|
52
|
-
} | null;
|
|
53
|
-
/**
|
|
54
|
-
* 计算商品定金
|
|
55
|
-
* @param params 参数
|
|
56
|
-
* @returns 商品定金
|
|
57
|
-
*/
|
|
58
|
-
export declare const calculateProductDeposit: (params: {
|
|
59
|
-
depositData: {
|
|
60
|
-
deposit_fixed?: string;
|
|
61
|
-
deposit_percentage?: string;
|
|
62
|
-
};
|
|
63
|
-
total: string | number;
|
|
64
|
-
num: number;
|
|
65
|
-
}) => {
|
|
66
|
-
result: boolean;
|
|
67
|
-
depositTotal: Decimal;
|
|
68
|
-
};
|
|
@@ -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,37 +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
|
-
taxRate?: number;
|
|
11
|
-
surcharge?: any;
|
|
12
|
-
deposit?: {
|
|
13
|
-
total: string;
|
|
14
|
-
protocols: any[];
|
|
15
|
-
hasDeposit: boolean;
|
|
16
|
-
};
|
|
17
|
-
isAgreeDepositPolicy: boolean;
|
|
18
|
-
setIsAgreeDepositPolicy: (value: boolean) => void;
|
|
19
|
-
getDepositProtocol: (params: {
|
|
20
|
-
id: string;
|
|
21
|
-
}) => Promise<any>;
|
|
22
|
-
}
|
|
23
|
-
interface SummaryProviderProps {
|
|
24
|
-
children: React.ReactNode;
|
|
25
|
-
}
|
|
26
|
-
export declare const SummaryContext: React.Context<SummaryContextType | undefined>;
|
|
27
|
-
export declare const SummaryProvider: React.FC<SummaryProviderProps>;
|
|
28
|
-
/**
|
|
29
|
-
* 使用步骤管理的Hook
|
|
30
|
-
* @throws {Error} 如果在StepProvider外部使用会抛出错误
|
|
31
|
-
* @returns {StepContextType} 步骤管理上下文
|
|
32
|
-
*/
|
|
33
|
-
export declare const useSummary: () => SummaryContextType;
|
|
34
|
-
declare const _default: {
|
|
35
|
-
defaultState: SummaryData;
|
|
36
|
-
};
|
|
37
|
-
export default _default;
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
interface CartItem {
|
|
2
|
-
price: number | string;
|
|
3
|
-
quantity?: number;
|
|
4
|
-
[k: string]: any;
|
|
5
|
-
}
|
|
6
|
-
interface PriceDetail {
|
|
7
|
-
subtotal: string;
|
|
8
|
-
total: string;
|
|
9
|
-
taxTitle?: string;
|
|
10
|
-
totalTaxFee?: string;
|
|
11
|
-
isPriceIncludeTax?: 0 | 1;
|
|
12
|
-
taxRate?: number;
|
|
13
|
-
surcharge?: any;
|
|
14
|
-
deposit?: {
|
|
15
|
-
total: string;
|
|
16
|
-
protocols: any[];
|
|
17
|
-
hasDeposit: boolean;
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* 计算商品小计(不含其他费用)
|
|
22
|
-
* @param items - 购物车商品数组
|
|
23
|
-
* @returns 商品总价字符串,保留2位小数
|
|
24
|
-
*/
|
|
25
|
-
export declare const calculateSubtotal: (items: CartItem[]) => string;
|
|
26
|
-
/**
|
|
27
|
-
* @description: 将购物车数据格式化成summaryModule需要的格式
|
|
28
|
-
* @param {any} items 购物车数据
|
|
29
|
-
* @return {*}
|
|
30
|
-
*/
|
|
31
|
-
export declare const formatCartsToSummaryModule: (items: any[]) => any[];
|
|
32
|
-
/**
|
|
33
|
-
* @title: 单个商品的税费
|
|
34
|
-
* @description:
|
|
35
|
-
* 单个商品的税费 = 商品销售单价(折扣后) * 税率 * is_charge_tax /( 1+ 税率 * is_price_include_tax)
|
|
36
|
-
* $taxFee = $price * $taxRate * $isChargeTax / (1 + $taxRate * $isPriceIncludeTax);
|
|
37
|
-
* @return {*}
|
|
38
|
-
* @Author: xiangfeng.xue
|
|
39
|
-
*/
|
|
40
|
-
export declare const calculateTaxFee: (shopInfo: any, items: CartItem[], summaryModule: any) => any;
|
|
41
|
-
/**
|
|
42
|
-
* 计算所有价格明细
|
|
43
|
-
* @param items - 购物车商品数组
|
|
44
|
-
* @param options - 其他费用配置
|
|
45
|
-
* @returns 价格明细对象
|
|
46
|
-
*/
|
|
47
|
-
export declare const calculatePriceDetails: (shopInfo: any, items: CartItem[], summaryModule: any) => PriceDetail;
|
|
48
|
-
/**
|
|
49
|
-
* @title: 计算定金
|
|
50
|
-
* @param items - 购物车商品数组
|
|
51
|
-
* @returns 定金字符串,保留2位小数
|
|
52
|
-
*/
|
|
53
|
-
export declare const calculateDeposit: (items: CartItem[]) => {
|
|
54
|
-
total: string;
|
|
55
|
-
protocols: any[];
|
|
56
|
-
hasDeposit: never;
|
|
57
|
-
} | undefined;
|
|
58
|
-
export {};
|