@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,24 +0,0 @@
|
|
|
1
|
-
import { LayoutConfig, ItemLayout, PresetConfig, SelectorVariant, SelectorProps } from '../types';
|
|
2
|
-
interface UsePresetPropsParams {
|
|
3
|
-
layout?: LayoutConfig;
|
|
4
|
-
mode?: 'single' | 'multiple';
|
|
5
|
-
preset?: PresetConfig;
|
|
6
|
-
itemLayout?: ItemLayout;
|
|
7
|
-
variant?: SelectorVariant;
|
|
8
|
-
indicatorProps?: SelectorProps['indicatorProps'];
|
|
9
|
-
}
|
|
10
|
-
interface UsePresetPropsResult {
|
|
11
|
-
layout: LayoutConfig | null;
|
|
12
|
-
indicatorProps: SelectorProps['indicatorProps'];
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* 根据预设配置生成 layout 和 indicatorProps
|
|
16
|
-
* Layout 规则:
|
|
17
|
-
* - 根据 variant 和 preset.variant 计算布局样式
|
|
18
|
-
* IndicatorProps 规则:
|
|
19
|
-
* 1. 当 variant='card' 且 preset.variant='2' 时,indicator 默认 variant='filled'
|
|
20
|
-
* 2. 当 variant='media' 时,indicator 默认 variant='filled'
|
|
21
|
-
* 3. 外部传入的 indicatorProps 优先级更高(会合并到预设配置中)
|
|
22
|
-
*/
|
|
23
|
-
declare const usePresetProps: ({ layout, mode, preset, itemLayout, variant, indicatorProps, }: UsePresetPropsParams) => UsePresetPropsResult;
|
|
24
|
-
export default usePresetProps;
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
en: {
|
|
3
|
-
'pisell2.pro.selector.mode.single': string;
|
|
4
|
-
'pisell2.pro.selector.mode.multiple': string;
|
|
5
|
-
'pisell2.pro.selector.validate.required-msg': string;
|
|
6
|
-
'pisell2.pro.selector.validate.requireOneOf-msg': string;
|
|
7
|
-
'pisell2.pro.selector.required-tag': string;
|
|
8
|
-
'pisell2.pro.selector.validate.min-selection': (min: number, label?: string) => string;
|
|
9
|
-
'pisell2.pro.selector.validate.max-selection': (max: number, label?: string) => string;
|
|
10
|
-
'pisell2.pro.selector.tip.require-one-option': string;
|
|
11
|
-
'pisell2.pro.selector.tip.min-max-selection': (min: number, max: number) => string;
|
|
12
|
-
};
|
|
13
|
-
'zh-CN': {
|
|
14
|
-
'pisell2.pro.selector.mode.single': string;
|
|
15
|
-
'pisell2.pro.selector.mode.multiple': string;
|
|
16
|
-
'pisell2.pro.selector.validate.required-msg': string;
|
|
17
|
-
'pisell2.pro.selector.validate.requireOneOf-msg': string;
|
|
18
|
-
'pisell2.pro.selector.required-tag': string;
|
|
19
|
-
'pisell2.pro.selector.validate.min-selection': (min: number, label?: string) => string;
|
|
20
|
-
'pisell2.pro.selector.validate.max-selection': (max: number, label?: string) => string;
|
|
21
|
-
'pisell2.pro.selector.tip.require-one-option': string;
|
|
22
|
-
'pisell2.pro.selector.tip.min-max-selection': (min: number, max: number) => string;
|
|
23
|
-
};
|
|
24
|
-
'zh-HK': {
|
|
25
|
-
'pisell2.pro.selector.mode.single': string;
|
|
26
|
-
'pisell2.pro.selector.mode.multiple': string;
|
|
27
|
-
'pisell2.pro.selector.validate.required-msg': string;
|
|
28
|
-
'pisell2.pro.selector.validate.requireOneOf-msg': string;
|
|
29
|
-
'pisell2.pro.selector.required-tag': string;
|
|
30
|
-
'pisell2.pro.selector.validate.min-selection': (min: number, label?: string) => string;
|
|
31
|
-
'pisell2.pro.selector.validate.max-selection': (max: number, label?: string) => string;
|
|
32
|
-
'pisell2.pro.selector.tip.require-one-option': string;
|
|
33
|
-
'pisell2.pro.selector.tip.min-max-selection': (min: number, max: number) => string;
|
|
34
|
-
};
|
|
35
|
-
ja: {
|
|
36
|
-
'pisell2.pro.selector.mode.single': string;
|
|
37
|
-
'pisell2.pro.selector.mode.multiple': string;
|
|
38
|
-
'pisell2.pro.selector.validate.required-msg': string;
|
|
39
|
-
'pisell2.pro.selector.validate.requireOneOf-msg': string;
|
|
40
|
-
'pisell2.pro.selector.required-tag': string;
|
|
41
|
-
'pisell2.pro.selector.validate.min-selection': (min: number, label?: string) => string;
|
|
42
|
-
'pisell2.pro.selector.validate.max-selection': (max: number, label?: string) => string;
|
|
43
|
-
'pisell2.pro.selector.tip.require-one-option': string;
|
|
44
|
-
'pisell2.pro.selector.tip.min-max-selection': (min: number, max: number) => string;
|
|
45
|
-
};
|
|
46
|
-
pt: {
|
|
47
|
-
'pisell2.pro.selector.mode.single': string;
|
|
48
|
-
'pisell2.pro.selector.mode.multiple': string;
|
|
49
|
-
'pisell2.pro.selector.validate.required-msg': string;
|
|
50
|
-
'pisell2.pro.selector.validate.requireOneOf-msg': string;
|
|
51
|
-
'pisell2.pro.selector.required-tag': string;
|
|
52
|
-
'pisell2.pro.selector.validate.min-selection': (min: number, label?: string) => string;
|
|
53
|
-
'pisell2.pro.selector.validate.max-selection': (max: number, label?: string) => string;
|
|
54
|
-
'pisell2.pro.selector.tip.require-one-option': string;
|
|
55
|
-
'pisell2.pro.selector.tip.min-max-selection': (min: number, max: number) => string;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
export default _default;
|
|
@@ -1,223 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface ExprRule {
|
|
3
|
-
[key: string]: any;
|
|
4
|
-
}
|
|
5
|
-
export interface RuleConfig {
|
|
6
|
-
autoValidate?: boolean;
|
|
7
|
-
required?: 0 | 1;
|
|
8
|
-
min?: number;
|
|
9
|
-
max?: number;
|
|
10
|
-
mutex?: Array<Array<OptionKey>>;
|
|
11
|
-
customValidator?: (value: SelectionValue) => Promise<void>;
|
|
12
|
-
}
|
|
13
|
-
export interface GroupItem {
|
|
14
|
-
id?: number;
|
|
15
|
-
title?: string;
|
|
16
|
-
mode?: 'single' | 'multiple';
|
|
17
|
-
valueType?: 'primitive' | 'object';
|
|
18
|
-
preserve?: boolean;
|
|
19
|
-
fieldNames?: {
|
|
20
|
-
label?: string;
|
|
21
|
-
value?: string;
|
|
22
|
-
cover?: string;
|
|
23
|
-
};
|
|
24
|
-
ruleConfig?: RuleConfig;
|
|
25
|
-
dataSource?: OptionItem[];
|
|
26
|
-
}
|
|
27
|
-
export interface OptionItem {
|
|
28
|
-
id?: number;
|
|
29
|
-
title?: string;
|
|
30
|
-
label?: string;
|
|
31
|
-
value?: OptionKey;
|
|
32
|
-
cover?: string;
|
|
33
|
-
groups?: GroupItem[];
|
|
34
|
-
disabled?: boolean;
|
|
35
|
-
ruleConfig?: {
|
|
36
|
-
min?: number;
|
|
37
|
-
max?: number;
|
|
38
|
-
};
|
|
39
|
-
[key: string]: any;
|
|
40
|
-
}
|
|
41
|
-
export declare type OptionKey = number | string;
|
|
42
|
-
/** 原始值类型:单选时为id,多选时为id[] */
|
|
43
|
-
export declare type SelectionValuePrimitive<T = OptionKey> = T | T[];
|
|
44
|
-
/** 复杂对象值类型:包含id、数量等额外信息 */
|
|
45
|
-
export interface SelectionValueObject<T = OptionKey> {
|
|
46
|
-
value?: T;
|
|
47
|
-
quantity?: number;
|
|
48
|
-
[key: string]: any;
|
|
49
|
-
}
|
|
50
|
-
/** 单选值类型 */
|
|
51
|
-
export declare type SelectionValueSingle<T = OptionKey> = T | SelectionValueObject<T>;
|
|
52
|
-
/** 多选值类型 */
|
|
53
|
-
export declare type SelectionValueMultiple<T = OptionKey> = T[] | SelectionValueObject<T>[];
|
|
54
|
-
/** 选择器值类型 */
|
|
55
|
-
export declare type SelectionValue<T = OptionKey> = SelectionValueSingle<T> | SelectionValueMultiple<T>;
|
|
56
|
-
export declare type RenderItemProps = {
|
|
57
|
-
dataSource: OptionItem;
|
|
58
|
-
actions: any;
|
|
59
|
-
optionItemValue?: any;
|
|
60
|
-
indicator: React.ReactNode;
|
|
61
|
-
numberSelector: React.ReactNode;
|
|
62
|
-
values: any;
|
|
63
|
-
quantityInfo: {
|
|
64
|
-
maxReached: boolean;
|
|
65
|
-
remainingCount: number;
|
|
66
|
-
selectedCount: number;
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
|
-
export declare type ItemProps = {
|
|
70
|
-
layout?: 'vertical' | 'horizontal';
|
|
71
|
-
renderContent?: (props: {
|
|
72
|
-
dataSource: OptionItem;
|
|
73
|
-
}) => React.ReactNode;
|
|
74
|
-
styles?: {
|
|
75
|
-
[key: string]: React.CSSProperties;
|
|
76
|
-
};
|
|
77
|
-
[key: string]: any;
|
|
78
|
-
};
|
|
79
|
-
export declare type LayoutType = 'antdGrid' | 'custom';
|
|
80
|
-
/** 单个断点的完整配置 */
|
|
81
|
-
export declare type BreakpointConfig = {
|
|
82
|
-
columns: number;
|
|
83
|
-
gap?: number | string;
|
|
84
|
-
style?: React.CSSProperties;
|
|
85
|
-
};
|
|
86
|
-
/**
|
|
87
|
-
* 断点映射
|
|
88
|
-
* key: 最小宽度(px)
|
|
89
|
-
* value: 列数(简写)或完整配置
|
|
90
|
-
* @example { 0: 1, 420: 2, 630: 3 } // 简写
|
|
91
|
-
* @example { 0: { columns: 1, gap: 12 }, 420: { columns: 2, gap: 16 } } // 完整
|
|
92
|
-
*/
|
|
93
|
-
export declare type BreakpointMap = Record<number, number | BreakpointConfig>;
|
|
94
|
-
/** 响应式布局配置 */
|
|
95
|
-
export declare type ResponsiveConfig = {
|
|
96
|
-
/** 每项最小宽度,系统自动计算断点 */
|
|
97
|
-
minWidth?: number;
|
|
98
|
-
/** 最大列数限制 */
|
|
99
|
-
maxColumns?: number;
|
|
100
|
-
/**
|
|
101
|
-
* 显式断点映射,key 为容器最小宽度(px)
|
|
102
|
-
* @example { 0: 1, 420: 2, 630: 3, 841: 4, 1367: 5 }
|
|
103
|
-
* @example { 0: { columns: 1, gap: 12 }, 420: { columns: 2, gap: 16 } }
|
|
104
|
-
*/
|
|
105
|
-
breakpoints?: BreakpointMap;
|
|
106
|
-
/** 默认列数(容器宽度小于所有断点时),默认为 1 */
|
|
107
|
-
defaultColumns?: number;
|
|
108
|
-
/** 间距,默认为 16 */
|
|
109
|
-
gap?: number | string;
|
|
110
|
-
/** ResizeObserver 防抖延迟(ms),默认为 0 */
|
|
111
|
-
debounce?: number;
|
|
112
|
-
};
|
|
113
|
-
export declare type LayoutConfig = {
|
|
114
|
-
type?: LayoutType;
|
|
115
|
-
className?: string;
|
|
116
|
-
containerStyle?: React.CSSProperties;
|
|
117
|
-
/**
|
|
118
|
-
* 响应式布局配置
|
|
119
|
-
* 存在此配置时自动启用 ResizeObserver 响应式布局
|
|
120
|
-
*/
|
|
121
|
-
responsive?: ResponsiveConfig;
|
|
122
|
-
columns?: number;
|
|
123
|
-
gutter?: number | object | Array<number>;
|
|
124
|
-
align?: 'top' | 'middle' | 'bottom' | 'stretch';
|
|
125
|
-
justify?: 'start' | 'end' | 'center' | 'space-between' | 'space-around';
|
|
126
|
-
wrap?: boolean;
|
|
127
|
-
colConfig?: {
|
|
128
|
-
[key: string]: any;
|
|
129
|
-
};
|
|
130
|
-
};
|
|
131
|
-
export interface PresetConfig {
|
|
132
|
-
variant?: '1' | '2' | '3' | '4' | '5';
|
|
133
|
-
}
|
|
134
|
-
export declare type ItemLayout = 'vertical' | 'horizontal';
|
|
135
|
-
export declare type SelectorVariant = 'default' | 'select' | 'card' | 'media';
|
|
136
|
-
export declare type HeaderProps = {
|
|
137
|
-
visible?: boolean;
|
|
138
|
-
style?: React.CSSProperties;
|
|
139
|
-
title?: {
|
|
140
|
-
visible?: boolean;
|
|
141
|
-
text?: React.ReactNode;
|
|
142
|
-
style?: React.CSSProperties;
|
|
143
|
-
};
|
|
144
|
-
icon?: {
|
|
145
|
-
visible?: boolean;
|
|
146
|
-
icon?: React.ReactNode;
|
|
147
|
-
style?: React.CSSProperties;
|
|
148
|
-
};
|
|
149
|
-
tip?: {
|
|
150
|
-
visible?: boolean;
|
|
151
|
-
text?: React.ReactNode;
|
|
152
|
-
style?: React.CSSProperties;
|
|
153
|
-
};
|
|
154
|
-
renderExtra?: (props: {
|
|
155
|
-
dataSource: OptionItem;
|
|
156
|
-
values: SelectionValue;
|
|
157
|
-
}) => React.ReactNode;
|
|
158
|
-
};
|
|
159
|
-
export interface SelectorProps<T = OptionKey> extends GroupItem {
|
|
160
|
-
className?: string;
|
|
161
|
-
theme?: {
|
|
162
|
-
token?: {
|
|
163
|
-
colorPrimary?: string;
|
|
164
|
-
};
|
|
165
|
-
};
|
|
166
|
-
value?: SelectionValue<T>;
|
|
167
|
-
defaultValue?: SelectionValue<T>;
|
|
168
|
-
onChange?: (value: SelectionValue<T>) => void;
|
|
169
|
-
onClear?: () => void;
|
|
170
|
-
disabled?: boolean;
|
|
171
|
-
variant?: SelectorVariant;
|
|
172
|
-
itemLayout?: ItemLayout;
|
|
173
|
-
preset?: PresetConfig;
|
|
174
|
-
layout?: LayoutConfig;
|
|
175
|
-
renderItem?: (props: RenderItemProps) => React.ReactNode;
|
|
176
|
-
itemProps?: ItemProps;
|
|
177
|
-
indicatorProps?: {
|
|
178
|
-
show?: boolean;
|
|
179
|
-
variant?: 'outlined' | 'filled';
|
|
180
|
-
render?: (props: {
|
|
181
|
-
option: OptionItem;
|
|
182
|
-
selected: boolean;
|
|
183
|
-
disabled: boolean;
|
|
184
|
-
actions: any;
|
|
185
|
-
}) => React.ReactNode;
|
|
186
|
-
[key: string]: any;
|
|
187
|
-
};
|
|
188
|
-
showStepper?: true | false | 'auto';
|
|
189
|
-
stepperProps?: {
|
|
190
|
-
size?: 'small' | 'middle' | 'large';
|
|
191
|
-
shape?: 'round' | 'square';
|
|
192
|
-
horizontalPadding?: number | string;
|
|
193
|
-
};
|
|
194
|
-
style?: React.CSSProperties;
|
|
195
|
-
/**
|
|
196
|
-
* @deprecated
|
|
197
|
-
*/
|
|
198
|
-
titleProps?: HeaderProps;
|
|
199
|
-
headerProps?: HeaderProps;
|
|
200
|
-
selectProps?: any;
|
|
201
|
-
}
|
|
202
|
-
export interface SelectorGroupProps {
|
|
203
|
-
allowedValuesPolicy?: 'relaxed' | 'strict';
|
|
204
|
-
className?: string;
|
|
205
|
-
customScrollParent?: HTMLElement | string;
|
|
206
|
-
dataSource: GroupItem[];
|
|
207
|
-
defaultValue?: Record<string, SelectionValue>;
|
|
208
|
-
linkageRules?: ExprRule[] | Record<string, any>;
|
|
209
|
-
theme?: {
|
|
210
|
-
token?: {
|
|
211
|
-
colorPrimary?: string;
|
|
212
|
-
};
|
|
213
|
-
};
|
|
214
|
-
onChange?: (values: Record<string, SelectionValue>) => void;
|
|
215
|
-
preserve?: boolean;
|
|
216
|
-
tabProps?: {
|
|
217
|
-
visible?: boolean;
|
|
218
|
-
};
|
|
219
|
-
style?: React.CSSProperties;
|
|
220
|
-
value?: Record<string, SelectionValue>;
|
|
221
|
-
scrollToFirstError?: boolean;
|
|
222
|
-
[key: string]: any;
|
|
223
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { SelectionValue, GroupItem } from '../types';
|
|
2
|
-
export declare type OptionEffects = Record<string, {
|
|
3
|
-
allowOnly?: Set<any>;
|
|
4
|
-
requireOneOf?: {
|
|
5
|
-
values: Set<any>;
|
|
6
|
-
message?: string;
|
|
7
|
-
};
|
|
8
|
-
}>;
|
|
9
|
-
export interface Cond {
|
|
10
|
-
groupId: string;
|
|
11
|
-
in?: any[];
|
|
12
|
-
op?: 'in' | 'notIn' | 'eq' | 'neq' | 'contains' | 'range' | 'exists';
|
|
13
|
-
value?: any;
|
|
14
|
-
values?: any[];
|
|
15
|
-
min?: number;
|
|
16
|
-
max?: number;
|
|
17
|
-
}
|
|
18
|
-
export interface Expr {
|
|
19
|
-
allOf?: Array<Cond | Expr>;
|
|
20
|
-
anyOf?: Array<Cond | Expr>;
|
|
21
|
-
noneOf?: Array<Cond | Expr>;
|
|
22
|
-
and?: Array<Cond | Expr>;
|
|
23
|
-
or?: Array<Cond | Expr>;
|
|
24
|
-
not?: Array<Cond | Expr>;
|
|
25
|
-
}
|
|
26
|
-
export interface Action {
|
|
27
|
-
type: 'show' | 'allowOnly' | 'requireOneOf';
|
|
28
|
-
groupId: string;
|
|
29
|
-
values?: any[];
|
|
30
|
-
message?: string;
|
|
31
|
-
}
|
|
32
|
-
export interface Rule {
|
|
33
|
-
type?: 'expr';
|
|
34
|
-
when?: Expr;
|
|
35
|
-
then?: Action[];
|
|
36
|
-
elseThen?: Action[];
|
|
37
|
-
priority?: number;
|
|
38
|
-
stopAfterApply?: boolean;
|
|
39
|
-
}
|
|
40
|
-
export declare const normalizeRules: (linkageRules: any) => Rule[];
|
|
41
|
-
export declare const getSelectedSet: (val: SelectionValue) => Set<any>;
|
|
42
|
-
export declare const evaluateExpr: (expr: Expr | undefined, valuesMap: Record<string, SelectionValue>) => boolean;
|
|
43
|
-
export declare const computeAutoHiddenGroups: (rules: Rule[]) => Set<string>;
|
|
44
|
-
export declare const computeEffects: (dataSource?: GroupItem[], rawRules?: Rule[], valuesMap?: Record<string, SelectionValue>) => {
|
|
45
|
-
visibleGroups: Record<string, boolean>;
|
|
46
|
-
optionEffects: OptionEffects;
|
|
47
|
-
};
|
|
48
|
-
export declare const pruneValuesByAllowOnly: (valuesMap: Record<string, SelectionValue>, effects: OptionEffects) => Record<string, SelectionValue>;
|
|
49
|
-
export declare const generateSimpleUUID: () => string;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
en: {
|
|
3
|
-
'pisell2.keyboard.number-keybard.max': (max: number | string) => string;
|
|
4
|
-
'pisell2.keyboard.number-keybard.min': (min: number | string) => string;
|
|
5
|
-
'pisell2.keyboard.number-keybard.ok': string;
|
|
6
|
-
'pisell2.keyboard.number-keybard.reset': string;
|
|
7
|
-
'pisell2.keyboard.number-keybard.clear': string;
|
|
8
|
-
};
|
|
9
|
-
'zh-CN': {
|
|
10
|
-
'pisell2.keyboard.number-keybard.max': (max: number | string) => string;
|
|
11
|
-
'pisell2.keyboard.number-keybard.min': (min: number | string) => string;
|
|
12
|
-
'pisell2.keyboard.number-keybard.ok': string;
|
|
13
|
-
'pisell2.keyboard.number-keybard.reset': string;
|
|
14
|
-
'pisell2.keyboard.number-keybard.clear': string;
|
|
15
|
-
};
|
|
16
|
-
'zh-HK': {
|
|
17
|
-
'pisell2.keyboard.number-keybard.max': (max: number | string) => string;
|
|
18
|
-
'pisell2.keyboard.number-keybard.min': (min: number | string) => string;
|
|
19
|
-
'pisell2.keyboard.number-keybard.ok': string;
|
|
20
|
-
'pisell2.keyboard.number-keybard.reset': string;
|
|
21
|
-
'pisell2.keyboard.number-keybard.clear': string;
|
|
22
|
-
};
|
|
23
|
-
ja: {
|
|
24
|
-
'pisell2.keyboard.number-keybard.max': (max: number | string) => string;
|
|
25
|
-
'pisell2.keyboard.number-keybard.min': (min: number | string) => string;
|
|
26
|
-
'pisell2.keyboard.number-keybard.ok': string;
|
|
27
|
-
'pisell2.keyboard.number-keybard.reset': string;
|
|
28
|
-
'pisell2.keyboard.number-keybard.clear': string;
|
|
29
|
-
};
|
|
30
|
-
pt: {
|
|
31
|
-
'pisell2.keyboard.number-keybard.max': (max: number | string) => string;
|
|
32
|
-
'pisell2.keyboard.number-keybard.min': (min: number | string) => string;
|
|
33
|
-
'pisell2.keyboard.number-keybard.ok': string;
|
|
34
|
-
'pisell2.keyboard.number-keybard.reset': string;
|
|
35
|
-
'pisell2.keyboard.number-keybard.clear': string;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
export default _default;
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare type NumberKeyboardMode = 'integer' | 'decimal';
|
|
3
|
-
export interface NumberKeyboardBaseProps {
|
|
4
|
-
/** 模式:整数 or 小数 */
|
|
5
|
-
mode?: NumberKeyboardMode;
|
|
6
|
-
/** 当前值(受控) */
|
|
7
|
-
value?: string;
|
|
8
|
-
/** 默认值(非受控) */
|
|
9
|
-
defaultValue?: string;
|
|
10
|
-
/** 原始值,用于重置 */
|
|
11
|
-
originalValue?: string;
|
|
12
|
-
/** 占位符 */
|
|
13
|
-
placeholder?: string;
|
|
14
|
-
/** 最大值 */
|
|
15
|
-
max?: number;
|
|
16
|
-
/** 最小值 */
|
|
17
|
-
min?: number;
|
|
18
|
-
/** 最大长度 */
|
|
19
|
-
maxLength?: number;
|
|
20
|
-
/** 小数位数,默认 2 */
|
|
21
|
-
precision?: number;
|
|
22
|
-
/** 是否禁用 */
|
|
23
|
-
disabled?: boolean;
|
|
24
|
-
/** 确认按钮文本 */
|
|
25
|
-
doneText?: string;
|
|
26
|
-
/** 重置按钮文本 */
|
|
27
|
-
resetText?: string;
|
|
28
|
-
/** 清空按钮文本 */
|
|
29
|
-
clearText?: string;
|
|
30
|
-
/** 标签文本(显示在输入框上方) */
|
|
31
|
-
label?: string;
|
|
32
|
-
/** 超出范围时的提示文本 */
|
|
33
|
-
errorText?: string;
|
|
34
|
-
/** 值变化回调 */
|
|
35
|
-
onChange?: (value: string) => void;
|
|
36
|
-
/** 确认按钮点击回调 */
|
|
37
|
-
onEnter?: (value: string) => void;
|
|
38
|
-
/** 重置按钮点击回调 */
|
|
39
|
-
onReset?: () => void;
|
|
40
|
-
/** 外层样式 */
|
|
41
|
-
style?: React.CSSProperties;
|
|
42
|
-
/** 自定义类名 */
|
|
43
|
-
className?: string;
|
|
44
|
-
/** 键盘是否监听物理键盘 */
|
|
45
|
-
keydown?: boolean;
|
|
46
|
-
/** 输入框样式 */
|
|
47
|
-
inputStyle?: React.CSSProperties;
|
|
48
|
-
/** 输入框包裹样式 */
|
|
49
|
-
inputWrapperStyle?: React.CSSProperties;
|
|
50
|
-
}
|
|
51
|
-
export interface NumberKeyboardProps extends NumberKeyboardBaseProps {
|
|
52
|
-
/** 容器配置,用于控制键盘以 popover 或 modal 形态展示 */
|
|
53
|
-
containerProps?: {
|
|
54
|
-
/** 渲染类型:popover 或 modal */
|
|
55
|
-
renderType: 'modal' | 'popover';
|
|
56
|
-
/** 是否打开(受控模式) */
|
|
57
|
-
open?: boolean;
|
|
58
|
-
/** 其他传递给 Popover 或 Modal 的属性 */
|
|
59
|
-
[key: string]: any;
|
|
60
|
-
};
|
|
61
|
-
/** 子元素,用于 popover 模式的触发器 */
|
|
62
|
-
children?: React.ReactNode;
|
|
63
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { Dayjs } from 'dayjs';
|
|
2
|
-
export interface MultiDayTimeSelectValue {
|
|
3
|
-
startDate: Dayjs;
|
|
4
|
-
endDate: Dayjs;
|
|
5
|
-
duration: number;
|
|
6
|
-
}
|
|
7
|
-
export interface MultiDayTimeSelectProps {
|
|
8
|
-
/** 最大天数,默认30天 */
|
|
9
|
-
maxDays?: number;
|
|
10
|
-
/** 默认开始时间 */
|
|
11
|
-
defaultStartDate?: Dayjs;
|
|
12
|
-
/** 开始时间和结束时间是否分离,false使用RangePicker,true使用两个独立的DatePicker */
|
|
13
|
-
separateStartEnd?: boolean;
|
|
14
|
-
/** 受控值 */
|
|
15
|
-
value?: MultiDayTimeSelectValue;
|
|
16
|
-
/** 值变化回调 */
|
|
17
|
-
onChange?: (value: MultiDayTimeSelectValue) => void;
|
|
18
|
-
/** 语言环境 */
|
|
19
|
-
locale?: string;
|
|
20
|
-
/** 是否禁用 */
|
|
21
|
-
disabled?: boolean;
|
|
22
|
-
/** 开始日期标签 */
|
|
23
|
-
startDateLabel?: string;
|
|
24
|
-
/** 结束日期标签 */
|
|
25
|
-
endDateLabel?: string;
|
|
26
|
-
/** 时长标签 */
|
|
27
|
-
durationLabel?: string;
|
|
28
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface PisellPriceKeyboardModalProps {
|
|
3
|
-
/** 是否显示键盘 */
|
|
4
|
-
visible?: boolean;
|
|
5
|
-
/** 当前价格值 */
|
|
6
|
-
value?: string | number;
|
|
7
|
-
/** 价格变化回调(合并了 onChange 和 onEnter) */
|
|
8
|
-
onChange?: (value: string | number) => void;
|
|
9
|
-
/** 关闭键盘回调 */
|
|
10
|
-
onClose?: () => void;
|
|
11
|
-
/** 触发元素的 ref,用于计算位置 */
|
|
12
|
-
triggerRef?: React.RefObject<HTMLElement>;
|
|
13
|
-
/** 货币符号显示 */
|
|
14
|
-
showCurrencySymbol?: boolean;
|
|
15
|
-
/** 是否使用千分位分隔符 */
|
|
16
|
-
useThousandsSeparator?: boolean;
|
|
17
|
-
/** 自定义类名 */
|
|
18
|
-
className?: string;
|
|
19
|
-
/** 自定义样式 */
|
|
20
|
-
style?: React.CSSProperties;
|
|
21
|
-
}
|
|
22
|
-
export interface KeyboardPosition {
|
|
23
|
-
top: number;
|
|
24
|
-
left: number;
|
|
25
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface PisellPriceKeyboardPopoverProps {
|
|
3
|
-
/** 触发元素 */
|
|
4
|
-
children: React.ReactNode;
|
|
5
|
-
/** 当前价格值 */
|
|
6
|
-
value?: string | number;
|
|
7
|
-
/** 价格变化回调(合并了 onChange 和 onEnter) */
|
|
8
|
-
onChange?: (value: string | number) => void;
|
|
9
|
-
/** 确认回调 */
|
|
10
|
-
onConfirm?: (value: string | number) => void;
|
|
11
|
-
/** 取消回调 */
|
|
12
|
-
onCancel?: () => void;
|
|
13
|
-
/** 货币符号显示 */
|
|
14
|
-
showCurrencySymbol?: boolean;
|
|
15
|
-
/** 是否使用千分位分隔符 */
|
|
16
|
-
useThousandsSeparator?: boolean;
|
|
17
|
-
/** 键盘主题 */
|
|
18
|
-
selectType?: 'light' | 'dark';
|
|
19
|
-
/** 是否禁用 */
|
|
20
|
-
disabled?: boolean;
|
|
21
|
-
/** Popover 额外的类名 */
|
|
22
|
-
overlayClassName?: string;
|
|
23
|
-
/** 自定义样式 */
|
|
24
|
-
style?: React.CSSProperties;
|
|
25
|
-
}
|
|
26
|
-
export interface PisellPriceKeyboardPopoverRef {
|
|
27
|
-
/** 打开键盘 */
|
|
28
|
-
open: () => void;
|
|
29
|
-
/** 关闭键盘 */
|
|
30
|
-
close: () => void;
|
|
31
|
-
/** 获取当前是否打开 */
|
|
32
|
-
isOpen: () => boolean;
|
|
33
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface PisellPriceKeyboardPopoverProps {
|
|
3
|
-
/** 触发元素 */
|
|
4
|
-
children: React.ReactNode;
|
|
5
|
-
/** 当前价格值 */
|
|
6
|
-
value?: string | number;
|
|
7
|
-
/** 价格变化回调(合并了 onChange 和 onEnter) */
|
|
8
|
-
onChange?: (value: string | number) => void;
|
|
9
|
-
/** 确认回调 */
|
|
10
|
-
onConfirm?: (value: string | number) => void;
|
|
11
|
-
/** 取消回调 */
|
|
12
|
-
onCancel?: () => void;
|
|
13
|
-
/** 货币符号显示 */
|
|
14
|
-
showCurrencySymbol?: boolean;
|
|
15
|
-
/** 是否使用千分位分隔符 */
|
|
16
|
-
useThousandsSeparator?: boolean;
|
|
17
|
-
/** 键盘主题 */
|
|
18
|
-
selectType?: 'light' | 'dark';
|
|
19
|
-
/** 是否禁用 */
|
|
20
|
-
disabled?: boolean;
|
|
21
|
-
/** Popover 额外的类名 */
|
|
22
|
-
overlayClassName?: string;
|
|
23
|
-
/** 自定义样式 */
|
|
24
|
-
style?: React.CSSProperties;
|
|
25
|
-
}
|
|
26
|
-
export interface PisellPriceKeyboardPopoverRef {
|
|
27
|
-
/** 打开键盘 */
|
|
28
|
-
open: () => void;
|
|
29
|
-
/** 关闭键盘 */
|
|
30
|
-
close: () => void;
|
|
31
|
-
/** 获取当前是否打开 */
|
|
32
|
-
isOpen: () => boolean;
|
|
33
|
-
}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
en: {
|
|
3
|
-
'cash-keyboard-title': string;
|
|
4
|
-
'cash-keyboard-balance-due': string;
|
|
5
|
-
'cash-keyboard-cash-received': string;
|
|
6
|
-
'cash-keyboard-change-due': string;
|
|
7
|
-
'cash-keyboard-rounding': string;
|
|
8
|
-
'cash-keyboard-other': string;
|
|
9
|
-
'cash-keyboard-reset': string;
|
|
10
|
-
'cash-keyboard-done': string;
|
|
11
|
-
'cash-keyboard-pay': string;
|
|
12
|
-
'cash-keyboard-amount-cannot-be-zero': string;
|
|
13
|
-
};
|
|
14
|
-
'zh-CN': {
|
|
15
|
-
'cash-keyboard-title': string;
|
|
16
|
-
'cash-keyboard-balance-due': string;
|
|
17
|
-
'cash-keyboard-cash-received': string;
|
|
18
|
-
'cash-keyboard-change-due': string;
|
|
19
|
-
'cash-keyboard-rounding': string;
|
|
20
|
-
'cash-keyboard-other': string;
|
|
21
|
-
'cash-keyboard-reset': string;
|
|
22
|
-
'cash-keyboard-done': string;
|
|
23
|
-
'cash-keyboard-pay': string;
|
|
24
|
-
'cash-keyboard-amount-cannot-be-zero': string;
|
|
25
|
-
};
|
|
26
|
-
'zh-HK': {
|
|
27
|
-
'cash-keyboard-title': string;
|
|
28
|
-
'cash-keyboard-balance-due': string;
|
|
29
|
-
'cash-keyboard-cash-received': string;
|
|
30
|
-
'cash-keyboard-change-due': string;
|
|
31
|
-
'cash-keyboard-rounding': string;
|
|
32
|
-
'cash-keyboard-other': string;
|
|
33
|
-
'cash-keyboard-reset': string;
|
|
34
|
-
'cash-keyboard-done': string;
|
|
35
|
-
'cash-keyboard-pay': string;
|
|
36
|
-
'cash-keyboard-amount-cannot-be-zero': string;
|
|
37
|
-
};
|
|
38
|
-
ja: {
|
|
39
|
-
'cash-keyboard-title': string;
|
|
40
|
-
'cash-keyboard-balance-due': string;
|
|
41
|
-
'cash-keyboard-cash-received': string;
|
|
42
|
-
'cash-keyboard-change-due': string;
|
|
43
|
-
'cash-keyboard-rounding': string;
|
|
44
|
-
'cash-keyboard-other': string;
|
|
45
|
-
'cash-keyboard-reset': string;
|
|
46
|
-
'cash-keyboard-done': string;
|
|
47
|
-
'cash-keyboard-pay': string;
|
|
48
|
-
'cash-keyboard-amount-cannot-be-zero': string;
|
|
49
|
-
};
|
|
50
|
-
pt: {
|
|
51
|
-
'cash-keyboard-title': string;
|
|
52
|
-
'cash-keyboard-balance-due': string;
|
|
53
|
-
'cash-keyboard-cash-received': string;
|
|
54
|
-
'cash-keyboard-change-due': string;
|
|
55
|
-
'cash-keyboard-rounding': string;
|
|
56
|
-
'cash-keyboard-other': string;
|
|
57
|
-
'cash-keyboard-reset': string;
|
|
58
|
-
'cash-keyboard-done': string;
|
|
59
|
-
'cash-keyboard-pay': string;
|
|
60
|
-
'cash-keyboard-amount-cannot-be-zero': string;
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
export default _default;
|