@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
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface RightItemsStyleProps {
|
|
3
|
-
buttonBackgroundColor?: string;
|
|
4
|
-
textColor?: string;
|
|
5
|
-
resetButtonBackgroundColor?: string;
|
|
6
|
-
resetButtonTextColor?: string;
|
|
7
|
-
isDoneButtonFollowTheme?: boolean;
|
|
8
|
-
doneButtonBackgroundColor?: string;
|
|
9
|
-
doneButtonTextColor?: string;
|
|
10
|
-
}
|
|
11
|
-
export declare type ItemValue = string | number;
|
|
12
|
-
export interface Item {
|
|
13
|
-
value: ItemValue;
|
|
14
|
-
label: React.ReactNode;
|
|
15
|
-
disabled: boolean;
|
|
16
|
-
type: 'text' | 'primary';
|
|
17
|
-
style?: React.CSSProperties;
|
|
18
|
-
size?: number;
|
|
19
|
-
}
|
|
20
|
-
export interface KeyboardProps {
|
|
21
|
-
className?: string;
|
|
22
|
-
style?: React.CSSProperties;
|
|
23
|
-
onChange?: (value?: ItemValue) => void;
|
|
24
|
-
items?: Item[];
|
|
25
|
-
rightItems?: Item[];
|
|
26
|
-
keydown?: boolean;
|
|
27
|
-
}
|
|
28
|
-
export interface TitleAreaConfig {
|
|
29
|
-
visible?: boolean;
|
|
30
|
-
title?: {
|
|
31
|
-
visible?: boolean;
|
|
32
|
-
text?: string;
|
|
33
|
-
fontSize?: string | number;
|
|
34
|
-
color?: string;
|
|
35
|
-
fontWeight?: string | number;
|
|
36
|
-
};
|
|
37
|
-
subtitle?: {
|
|
38
|
-
visible?: boolean;
|
|
39
|
-
text?: string;
|
|
40
|
-
fontSize?: string | number;
|
|
41
|
-
color?: string;
|
|
42
|
-
fontWeight?: string | number;
|
|
43
|
-
};
|
|
44
|
-
alignment?: 'left' | 'right' | 'center' | 'space-between';
|
|
45
|
-
spacing?: string | number;
|
|
46
|
-
}
|
|
47
|
-
export interface DisplayFieldConfig {
|
|
48
|
-
cashReceived?: {
|
|
49
|
-
visible?: boolean;
|
|
50
|
-
};
|
|
51
|
-
balanceDue?: {
|
|
52
|
-
visible?: boolean;
|
|
53
|
-
};
|
|
54
|
-
changeDue?: {
|
|
55
|
-
visible?: boolean;
|
|
56
|
-
};
|
|
57
|
-
gridRatio?: number[];
|
|
58
|
-
}
|
|
59
|
-
export interface CashKeyboardBaseProps {
|
|
60
|
-
amountSymbol?: string;
|
|
61
|
-
value?: string;
|
|
62
|
-
/** 默认值,非受控模式 */
|
|
63
|
-
defaultValue?: string;
|
|
64
|
-
/** 原始值,多用于重置, 当前对应 Balance Due */
|
|
65
|
-
originalValue?: string;
|
|
66
|
-
placeholder?: string;
|
|
67
|
-
max?: number;
|
|
68
|
-
min?: number;
|
|
69
|
-
disabled?: boolean;
|
|
70
|
-
doneText?: string;
|
|
71
|
-
resetText?: string;
|
|
72
|
-
presets?: any;
|
|
73
|
-
hiddenChangeDue?: boolean;
|
|
74
|
-
onChange?: (val: string) => void;
|
|
75
|
-
onEnter?: (val: string) => void;
|
|
76
|
-
onReset?: () => void;
|
|
77
|
-
onPay?: () => void;
|
|
78
|
-
rightItemsStyle?: RightItemsStyleProps;
|
|
79
|
-
titleArea?: TitleAreaConfig;
|
|
80
|
-
displayField?: DisplayFieldConfig;
|
|
81
|
-
keyboardProps?: KeyboardProps;
|
|
82
|
-
style?: React.CSSProperties;
|
|
83
|
-
selectType?: 'light' | 'dark';
|
|
84
|
-
backgroundColor?: string;
|
|
85
|
-
containerBackgroundColor?: string;
|
|
86
|
-
buttonBackgroundColor?: string;
|
|
87
|
-
textColor?: string;
|
|
88
|
-
resetButtonBackgroundColor?: string;
|
|
89
|
-
resetButtonTextColor?: string;
|
|
90
|
-
isDoneButtonFollowTheme?: boolean;
|
|
91
|
-
doneButtonBackgroundColor?: string;
|
|
92
|
-
doneButtonTextColor?: string;
|
|
93
|
-
keyboardBackgroundColor?: string;
|
|
94
|
-
keyboardButtonBackgroundColor?: string;
|
|
95
|
-
keyboardButtonTextColor?: string;
|
|
96
|
-
keyboardButtonHoverColor?: string;
|
|
97
|
-
shortcutsSize?: 'default' | 'large';
|
|
98
|
-
}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
en: {
|
|
3
|
-
'discount-keyboard-price-override': string;
|
|
4
|
-
'discount-keyboard-discount': string;
|
|
5
|
-
'discount-keyboard-amount': string;
|
|
6
|
-
'discount-keyboard-percentage': string;
|
|
7
|
-
'discount-keyboard-max-discount': string;
|
|
8
|
-
'discount-keyboard-discount-amount': string;
|
|
9
|
-
'discount-keyboard-total': string;
|
|
10
|
-
'discount-keyboard-payable': string;
|
|
11
|
-
'discount-keyboard-reset': string;
|
|
12
|
-
'discount-keyboard-done': string;
|
|
13
|
-
'discount-keyboard-pay': string;
|
|
14
|
-
};
|
|
15
|
-
'zh-CN': {
|
|
16
|
-
'discount-keyboard-price-override': string;
|
|
17
|
-
'discount-keyboard-discount': string;
|
|
18
|
-
'discount-keyboard-amount': string;
|
|
19
|
-
'discount-keyboard-percentage': string;
|
|
20
|
-
'discount-keyboard-max-discount': string;
|
|
21
|
-
'discount-keyboard-discount-amount': string;
|
|
22
|
-
'discount-keyboard-total': string;
|
|
23
|
-
'discount-keyboard-payable': string;
|
|
24
|
-
'discount-keyboard-reset': string;
|
|
25
|
-
'discount-keyboard-done': string;
|
|
26
|
-
'discount-keyboard-pay': string;
|
|
27
|
-
};
|
|
28
|
-
'zh-HK': {
|
|
29
|
-
'discount-keyboard-price-override': string;
|
|
30
|
-
'discount-keyboard-discount': string;
|
|
31
|
-
'discount-keyboard-amount': string;
|
|
32
|
-
'discount-keyboard-percentage': string;
|
|
33
|
-
'discount-keyboard-max-discount': string;
|
|
34
|
-
'discount-keyboard-discount-amount': string;
|
|
35
|
-
'discount-keyboard-total': string;
|
|
36
|
-
'discount-keyboard-payable': string;
|
|
37
|
-
'discount-keyboard-reset': string;
|
|
38
|
-
'discount-keyboard-done': string;
|
|
39
|
-
'discount-keyboard-pay': string;
|
|
40
|
-
};
|
|
41
|
-
ja: {
|
|
42
|
-
'discount-keyboard-price-override': string;
|
|
43
|
-
'discount-keyboard-discount': string;
|
|
44
|
-
'discount-keyboard-amount': string;
|
|
45
|
-
'discount-keyboard-percentage': string;
|
|
46
|
-
'discount-keyboard-max-discount': string;
|
|
47
|
-
'discount-keyboard-discount-amount': string;
|
|
48
|
-
'discount-keyboard-total': string;
|
|
49
|
-
'discount-keyboard-payable': string;
|
|
50
|
-
'discount-keyboard-reset': string;
|
|
51
|
-
'discount-keyboard-done': string;
|
|
52
|
-
'discount-keyboard-pay': string;
|
|
53
|
-
};
|
|
54
|
-
pt: {
|
|
55
|
-
'discount-keyboard-price-override': string;
|
|
56
|
-
'discount-keyboard-discount': string;
|
|
57
|
-
'discount-keyboard-amount': string;
|
|
58
|
-
'discount-keyboard-percentage': string;
|
|
59
|
-
'discount-keyboard-max-discount': string;
|
|
60
|
-
'discount-keyboard-discount-amount': string;
|
|
61
|
-
'discount-keyboard-total': string;
|
|
62
|
-
'discount-keyboard-payable': string;
|
|
63
|
-
'discount-keyboard-reset': string;
|
|
64
|
-
'discount-keyboard-done': string;
|
|
65
|
-
'discount-keyboard-pay': string;
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
export default _default;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export interface DiscountKeyboardBaseProps {
|
|
2
|
-
/** 金额符 */
|
|
3
|
-
amountSymbol?: string;
|
|
4
|
-
/** 初始值,多用于展示及计算,不同于原始值 */
|
|
5
|
-
defaultValue?: string | number;
|
|
6
|
-
/** 原始值,多用于重置 */
|
|
7
|
-
originalValue?: string | number;
|
|
8
|
-
placeholder?: string;
|
|
9
|
-
doneText?: string;
|
|
10
|
-
resetText?: string;
|
|
11
|
-
/** 键盘主题 */
|
|
12
|
-
selectType?: 'light' | 'dark';
|
|
13
|
-
onEnter?: (val: string) => void;
|
|
14
|
-
onReset?: () => void;
|
|
15
|
-
onChange?: (val: string) => void;
|
|
16
|
-
enableExceedMaxAmount?: boolean;
|
|
17
|
-
}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
en: {
|
|
3
|
-
'payment-keyboard-payment': string;
|
|
4
|
-
'payment-keyboard-surcharge': string;
|
|
5
|
-
'payment-keyboard-percent': string;
|
|
6
|
-
'payment-keyboard-fixed': string;
|
|
7
|
-
'payment-keyboard-max': string;
|
|
8
|
-
'payment-keyboard-remaining': string;
|
|
9
|
-
'payment-keyboard-change-due': string;
|
|
10
|
-
'payment-keyboard-total-amount-due': string;
|
|
11
|
-
'payment-keyboard-inc-surcharge': string;
|
|
12
|
-
'payment-keyboard-reset': string;
|
|
13
|
-
'payment-keyboard-done': string;
|
|
14
|
-
'payment-keyboard-pay': string;
|
|
15
|
-
};
|
|
16
|
-
'zh-CN': {
|
|
17
|
-
'payment-keyboard-payment': string;
|
|
18
|
-
'payment-keyboard-surcharge': string;
|
|
19
|
-
'payment-keyboard-percent': string;
|
|
20
|
-
'payment-keyboard-change-due': string;
|
|
21
|
-
'payment-keyboard-fixed': string;
|
|
22
|
-
'payment-keyboard-max': string;
|
|
23
|
-
'payment-keyboard-remaining': string;
|
|
24
|
-
'payment-keyboard-total-amount-due': string;
|
|
25
|
-
'payment-keyboard-inc-surcharge': string;
|
|
26
|
-
'payment-keyboard-reset': string;
|
|
27
|
-
'payment-keyboard-done': string;
|
|
28
|
-
'payment-keyboard-pay': string;
|
|
29
|
-
};
|
|
30
|
-
'zh-HK': {
|
|
31
|
-
'payment-keyboard-payment': string;
|
|
32
|
-
'payment-keyboard-surcharge': string;
|
|
33
|
-
'payment-keyboard-percent': string;
|
|
34
|
-
'payment-keyboard-fixed': string;
|
|
35
|
-
'payment-keyboard-max': string;
|
|
36
|
-
'payment-keyboard-remaining': string;
|
|
37
|
-
'payment-keyboard-change-due': string;
|
|
38
|
-
'payment-keyboard-total-amount-due': string;
|
|
39
|
-
'payment-keyboard-inc-surcharge': string;
|
|
40
|
-
'payment-keyboard-reset': string;
|
|
41
|
-
'payment-keyboard-done': string;
|
|
42
|
-
'payment-keyboard-pay': string;
|
|
43
|
-
};
|
|
44
|
-
ja: {
|
|
45
|
-
'payment-keyboard-payment': string;
|
|
46
|
-
'payment-keyboard-surcharge': string;
|
|
47
|
-
'payment-keyboard-percent': string;
|
|
48
|
-
'payment-keyboard-fixed': string;
|
|
49
|
-
'payment-keyboard-max': string;
|
|
50
|
-
'payment-keyboard-remaining': string;
|
|
51
|
-
'payment-keyboard-change-due': string;
|
|
52
|
-
'payment-keyboard-total-amount-due': string;
|
|
53
|
-
'payment-keyboard-inc-surcharge': string;
|
|
54
|
-
'payment-keyboard-reset': string;
|
|
55
|
-
'payment-keyboard-done': string;
|
|
56
|
-
'payment-keyboard-pay': string;
|
|
57
|
-
};
|
|
58
|
-
pt: {
|
|
59
|
-
'payment-keyboard-payment': string;
|
|
60
|
-
'payment-keyboard-surcharge': string;
|
|
61
|
-
'payment-keyboard-percent': string;
|
|
62
|
-
'payment-keyboard-fixed': string;
|
|
63
|
-
'payment-keyboard-max': string;
|
|
64
|
-
'payment-keyboard-remaining': string;
|
|
65
|
-
'payment-keyboard-change-due': string;
|
|
66
|
-
'payment-keyboard-total-amount-due': string;
|
|
67
|
-
'payment-keyboard-inc-surcharge': string;
|
|
68
|
-
'payment-keyboard-reset': string;
|
|
69
|
-
'payment-keyboard-done': string;
|
|
70
|
-
'payment-keyboard-pay': string;
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
export default _default;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
export declare type SurchargeValue = {
|
|
2
|
-
percent?: string;
|
|
3
|
-
fixed?: string;
|
|
4
|
-
};
|
|
5
|
-
export interface PaymentKeyboardBaseProps {
|
|
6
|
-
/** 自定义支付允许超出最大值, EFTPOS不允许 */
|
|
7
|
-
enableExceedMaxAmount?: boolean;
|
|
8
|
-
/** payment 原始值 */
|
|
9
|
-
paymentOriginalValue?: string;
|
|
10
|
-
/** payment 当前值 */
|
|
11
|
-
paymentValue?: string;
|
|
12
|
-
/** payment 默认值, 非受控 */
|
|
13
|
-
paymentDefaultValue?: string;
|
|
14
|
-
/** surcharge 原始值 */
|
|
15
|
-
surchargeOriginalValue?: SurchargeValue;
|
|
16
|
-
/** surcharge 当前值 */
|
|
17
|
-
surchargeValue?: SurchargeValue;
|
|
18
|
-
/** surcharge 默认值, 非受控 */
|
|
19
|
-
surchargeDefaultValue?: SurchargeValue;
|
|
20
|
-
onReset?: () => void;
|
|
21
|
-
onPay?: (args: {
|
|
22
|
-
surcharge: SurchargeValue;
|
|
23
|
-
amount: string;
|
|
24
|
-
}) => void;
|
|
25
|
-
onChange?: (v: string | SurchargeValue) => void;
|
|
26
|
-
payment?: {
|
|
27
|
-
enable?: boolean;
|
|
28
|
-
};
|
|
29
|
-
surcharge?: {
|
|
30
|
-
enable?: boolean;
|
|
31
|
-
};
|
|
32
|
-
title?: {
|
|
33
|
-
text?: string;
|
|
34
|
-
};
|
|
35
|
-
subTitle?: {
|
|
36
|
-
text?: string;
|
|
37
|
-
};
|
|
38
|
-
[key: string]: any;
|
|
39
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
export declare type ShortcutsItem = {
|
|
4
|
-
label: string;
|
|
5
|
-
value: number | string;
|
|
6
|
-
style?: React.CSSProperties;
|
|
7
|
-
onClick?: (item: ShortcutsItem, _next: () => void) => void;
|
|
8
|
-
render?: (item: ShortcutsItem) => React.ReactNode;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
};
|
|
11
|
-
export interface ShortcutsProps {
|
|
12
|
-
presets?: ShortcutsItem[];
|
|
13
|
-
onChange?: (val: string) => void;
|
|
14
|
-
disabled?: boolean;
|
|
15
|
-
size?: 'default' | 'large';
|
|
16
|
-
}
|
|
17
|
-
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<ShortcutsProps & React.RefAttributes<HTMLDivElement>>>;
|
|
18
|
-
export default _default;
|
|
@@ -1,159 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
en: {
|
|
3
|
-
'pisell2.text.sku.detail.modal.quantity': string;
|
|
4
|
-
'pisell2.text.sku.detail.modal.note': string;
|
|
5
|
-
'pisell2.text.sku.detail.modal.subtotal': string;
|
|
6
|
-
'pisell2.text.sku.detail.modal.discount': string;
|
|
7
|
-
'pisell2.text.sku.detail.modal.manual.price.change': string;
|
|
8
|
-
'pisell2.text.sku.detail.modal.price.override': string;
|
|
9
|
-
'pisell2.text.sku.detail.modal.total': string;
|
|
10
|
-
'pisell2.text.sku.detail.modal.gst.excl': string;
|
|
11
|
-
'pisell2.text.sku.detail.modal.gst.incl': string;
|
|
12
|
-
'pisell2.text.sku.detail.modal.btn.add.note': string;
|
|
13
|
-
'pisell2.text.sku.detail.modal.btn.remove': string;
|
|
14
|
-
'pisell2.text.sku.detail.modal.btn.confirm': string;
|
|
15
|
-
'pisell2.text.sku.detail.modal.btn.manual.price.change': string;
|
|
16
|
-
'pisell2.text.sku.detail.modal.btn.close': string;
|
|
17
|
-
'pisell2.text.sku.detail.modal.btn.back': string;
|
|
18
|
-
'pisell2.text.sku.detail.modal.btn.next': string;
|
|
19
|
-
'pisell2.text.sku.detail.modal.step.details': string;
|
|
20
|
-
'pisell2.text.sku.detail.modal.step.select.bundle': string;
|
|
21
|
-
'pisell2.text.sku.detail.modal.stock.alert.title': string;
|
|
22
|
-
'pisell2.text.sku.detail.modal.stock.alert.desc': string;
|
|
23
|
-
'pisell2.text.sku.detail.modal.stock.alert.checkbox': string;
|
|
24
|
-
'pisell2.text.sku.detail.modal.stock.alert.btn.cancel': string;
|
|
25
|
-
'pisell2.text.sku.detail.modal.stock.alert.btn.continue': string;
|
|
26
|
-
'pisell2.text.sku.detail.modal.no.additional.options': string;
|
|
27
|
-
};
|
|
28
|
-
'zh-CN': {
|
|
29
|
-
'pisell2.text.sku.detail.modal.quantity': string;
|
|
30
|
-
'pisell2.text.sku.detail.modal.note': string;
|
|
31
|
-
'pisell2.text.sku.detail.modal.subtotal': string;
|
|
32
|
-
'pisell2.text.sku.detail.modal.discount': string;
|
|
33
|
-
'pisell2.text.sku.detail.modal.manual.price.change': string;
|
|
34
|
-
'pisell2.text.sku.detail.modal.price.override': string;
|
|
35
|
-
'pisell2.text.sku.detail.modal.total': string;
|
|
36
|
-
'pisell2.text.sku.detail.modal.gst.excl': string;
|
|
37
|
-
'pisell2.text.sku.detail.modal.gst.incl': string;
|
|
38
|
-
'pisell2.text.sku.detail.modal.btn.add.note': string;
|
|
39
|
-
'pisell2.text.sku.detail.modal.btn.remove': string;
|
|
40
|
-
'pisell2.text.sku.detail.modal.btn.confirm': string;
|
|
41
|
-
'pisell2.text.sku.detail.modal.btn.manual.price.change': string;
|
|
42
|
-
'pisell2.text.sku.detail.modal.btn.close': string;
|
|
43
|
-
'pisell2.text.sku.detail.modal.btn.back': string;
|
|
44
|
-
'pisell2.text.sku.detail.modal.btn.next': string;
|
|
45
|
-
'pisell2.text.sku.detail.modal.step.details': string;
|
|
46
|
-
'pisell2.text.sku.detail.modal.step.select.bundle': string;
|
|
47
|
-
'pisell2.text.sku.detail.modal.stock.alert.title': string;
|
|
48
|
-
'pisell2.text.sku.detail.modal.stock.alert.desc': string;
|
|
49
|
-
'pisell2.text.sku.detail.modal.stock.alert.checkbox': string;
|
|
50
|
-
'pisell2.text.sku.detail.modal.stock.alert.btn.cancel': string;
|
|
51
|
-
'pisell2.text.sku.detail.modal.stock.alert.btn.continue': string;
|
|
52
|
-
'pisell2.text.sku.detail.modal.no.additional.options': string;
|
|
53
|
-
};
|
|
54
|
-
'zh-HK': {
|
|
55
|
-
'pisell2.text.sku.detail.modal.quantity': string;
|
|
56
|
-
'pisell2.text.sku.detail.modal.note': string;
|
|
57
|
-
'pisell2.text.sku.detail.modal.subtotal': string;
|
|
58
|
-
'pisell2.text.sku.detail.modal.discount': string;
|
|
59
|
-
'pisell2.text.sku.detail.modal.manual.price.change': string;
|
|
60
|
-
'pisell2.text.sku.detail.modal.price.override': string;
|
|
61
|
-
'pisell2.text.sku.detail.modal.total': string;
|
|
62
|
-
'pisell2.text.sku.detail.modal.gst.excl': string;
|
|
63
|
-
'pisell2.text.sku.detail.modal.gst.incl': string;
|
|
64
|
-
'pisell2.text.sku.detail.modal.btn.add.note': string;
|
|
65
|
-
'pisell2.text.sku.detail.modal.btn.remove': string;
|
|
66
|
-
'pisell2.text.sku.detail.modal.btn.confirm': string;
|
|
67
|
-
'pisell2.text.sku.detail.modal.btn.manual.price.change': string;
|
|
68
|
-
'pisell2.text.sku.detail.modal.btn.close': string;
|
|
69
|
-
'pisell2.text.sku.detail.modal.btn.back': string;
|
|
70
|
-
'pisell2.text.sku.detail.modal.btn.next': string;
|
|
71
|
-
'pisell2.text.sku.detail.modal.step.details': string;
|
|
72
|
-
'pisell2.text.sku.detail.modal.step.select.bundle': string;
|
|
73
|
-
'pisell2.text.sku.detail.modal.stock.alert.title': string;
|
|
74
|
-
'pisell2.text.sku.detail.modal.stock.alert.desc': string;
|
|
75
|
-
'pisell2.text.sku.detail.modal.stock.alert.checkbox': string;
|
|
76
|
-
'pisell2.text.sku.detail.modal.stock.alert.btn.cancel': string;
|
|
77
|
-
'pisell2.text.sku.detail.modal.stock.alert.btn.continue': string;
|
|
78
|
-
'pisell2.text.sku.detail.modal.no.additional.options': string;
|
|
79
|
-
};
|
|
80
|
-
'zh-TW': {
|
|
81
|
-
'pisell2.text.sku.detail.modal.quantity': string;
|
|
82
|
-
'pisell2.text.sku.detail.modal.note': string;
|
|
83
|
-
'pisell2.text.sku.detail.modal.subtotal': string;
|
|
84
|
-
'pisell2.text.sku.detail.modal.discount': string;
|
|
85
|
-
'pisell2.text.sku.detail.modal.manual.price.change': string;
|
|
86
|
-
'pisell2.text.sku.detail.modal.price.override': string;
|
|
87
|
-
'pisell2.text.sku.detail.modal.total': string;
|
|
88
|
-
'pisell2.text.sku.detail.modal.gst.excl': string;
|
|
89
|
-
'pisell2.text.sku.detail.modal.gst.incl': string;
|
|
90
|
-
'pisell2.text.sku.detail.modal.btn.add.note': string;
|
|
91
|
-
'pisell2.text.sku.detail.modal.btn.remove': string;
|
|
92
|
-
'pisell2.text.sku.detail.modal.btn.confirm': string;
|
|
93
|
-
'pisell2.text.sku.detail.modal.btn.manual.price.change': string;
|
|
94
|
-
'pisell2.text.sku.detail.modal.btn.close': string;
|
|
95
|
-
'pisell2.text.sku.detail.modal.btn.back': string;
|
|
96
|
-
'pisell2.text.sku.detail.modal.btn.next': string;
|
|
97
|
-
'pisell2.text.sku.detail.modal.step.details': string;
|
|
98
|
-
'pisell2.text.sku.detail.modal.step.select.bundle': string;
|
|
99
|
-
'pisell2.text.sku.detail.modal.stock.alert.title': string;
|
|
100
|
-
'pisell2.text.sku.detail.modal.stock.alert.desc': string;
|
|
101
|
-
'pisell2.text.sku.detail.modal.stock.alert.checkbox': string;
|
|
102
|
-
'pisell2.text.sku.detail.modal.stock.alert.btn.cancel': string;
|
|
103
|
-
'pisell2.text.sku.detail.modal.stock.alert.btn.continue': string;
|
|
104
|
-
'pisell2.text.sku.detail.modal.no.additional.options': string;
|
|
105
|
-
};
|
|
106
|
-
ja: {
|
|
107
|
-
'pisell2.text.sku.detail.modal.quantity': string;
|
|
108
|
-
'pisell2.text.sku.detail.modal.note': string;
|
|
109
|
-
'pisell2.text.sku.detail.modal.subtotal': string;
|
|
110
|
-
'pisell2.text.sku.detail.modal.discount': string;
|
|
111
|
-
'pisell2.text.sku.detail.modal.manual.price.change': string;
|
|
112
|
-
'pisell2.text.sku.detail.modal.price.override': string;
|
|
113
|
-
'pisell2.text.sku.detail.modal.total': string;
|
|
114
|
-
'pisell2.text.sku.detail.modal.gst.excl': string;
|
|
115
|
-
'pisell2.text.sku.detail.modal.gst.incl': string;
|
|
116
|
-
'pisell2.text.sku.detail.modal.btn.add.note': string;
|
|
117
|
-
'pisell2.text.sku.detail.modal.btn.remove': string;
|
|
118
|
-
'pisell2.text.sku.detail.modal.btn.confirm': string;
|
|
119
|
-
'pisell2.text.sku.detail.modal.btn.manual.price.change': string;
|
|
120
|
-
'pisell2.text.sku.detail.modal.btn.close': string;
|
|
121
|
-
'pisell2.text.sku.detail.modal.btn.back': string;
|
|
122
|
-
'pisell2.text.sku.detail.modal.btn.next': string;
|
|
123
|
-
'pisell2.text.sku.detail.modal.step.details': string;
|
|
124
|
-
'pisell2.text.sku.detail.modal.step.select.bundle': string;
|
|
125
|
-
'pisell2.text.sku.detail.modal.stock.alert.title': string;
|
|
126
|
-
'pisell2.text.sku.detail.modal.stock.alert.desc': string;
|
|
127
|
-
'pisell2.text.sku.detail.modal.stock.alert.checkbox': string;
|
|
128
|
-
'pisell2.text.sku.detail.modal.stock.alert.btn.cancel': string;
|
|
129
|
-
'pisell2.text.sku.detail.modal.stock.alert.btn.continue': string;
|
|
130
|
-
'pisell2.text.sku.detail.modal.no.additional.options': string;
|
|
131
|
-
};
|
|
132
|
-
pt: {
|
|
133
|
-
'pisell2.text.sku.detail.modal.quantity': string;
|
|
134
|
-
'pisell2.text.sku.detail.modal.note': string;
|
|
135
|
-
'pisell2.text.sku.detail.modal.subtotal': string;
|
|
136
|
-
'pisell2.text.sku.detail.modal.discount': string;
|
|
137
|
-
'pisell2.text.sku.detail.modal.manual.price.change': string;
|
|
138
|
-
'pisell2.text.sku.detail.modal.price.override': string;
|
|
139
|
-
'pisell2.text.sku.detail.modal.total': string;
|
|
140
|
-
'pisell2.text.sku.detail.modal.gst.excl': string;
|
|
141
|
-
'pisell2.text.sku.detail.modal.gst.incl': string;
|
|
142
|
-
'pisell2.text.sku.detail.modal.btn.add.note': string;
|
|
143
|
-
'pisell2.text.sku.detail.modal.btn.remove': string;
|
|
144
|
-
'pisell2.text.sku.detail.modal.btn.confirm': string;
|
|
145
|
-
'pisell2.text.sku.detail.modal.btn.manual.price.change': string;
|
|
146
|
-
'pisell2.text.sku.detail.modal.btn.close': string;
|
|
147
|
-
'pisell2.text.sku.detail.modal.btn.back': string;
|
|
148
|
-
'pisell2.text.sku.detail.modal.btn.next': string;
|
|
149
|
-
'pisell2.text.sku.detail.modal.step.details': string;
|
|
150
|
-
'pisell2.text.sku.detail.modal.step.select.bundle': string;
|
|
151
|
-
'pisell2.text.sku.detail.modal.stock.alert.title': string;
|
|
152
|
-
'pisell2.text.sku.detail.modal.stock.alert.desc': string;
|
|
153
|
-
'pisell2.text.sku.detail.modal.stock.alert.checkbox': string;
|
|
154
|
-
'pisell2.text.sku.detail.modal.stock.alert.btn.cancel': string;
|
|
155
|
-
'pisell2.text.sku.detail.modal.stock.alert.btn.continue': string;
|
|
156
|
-
'pisell2.text.sku.detail.modal.no.additional.options': string;
|
|
157
|
-
};
|
|
158
|
-
};
|
|
159
|
-
export default _default;
|