@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,92 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* WebPosLogin 组件国际化文本
|
|
3
|
-
* @description 支持 en、zh-CN、zh-HK 三种语言
|
|
4
|
-
*/
|
|
5
|
-
declare const _default: {
|
|
6
|
-
en: {
|
|
7
|
-
'webpos-login-search': string;
|
|
8
|
-
'webpos-login-back': string;
|
|
9
|
-
'webpos-login-last-used': string;
|
|
10
|
-
'webpos-login-select-store-title': string;
|
|
11
|
-
'webpos-login-select-store-empty': string;
|
|
12
|
-
'webpos-login-change-account': string;
|
|
13
|
-
'webpos-login-store-data-missing': string;
|
|
14
|
-
'webpos-login-select-device-title': string;
|
|
15
|
-
'webpos-login-select-device-empty': string;
|
|
16
|
-
'webpos-login-change-store': string;
|
|
17
|
-
'webpos-login-device-not-in-use': string;
|
|
18
|
-
'webpos-login-device-currently-used-by': string;
|
|
19
|
-
'webpos-login-device-takeover-confirm': (deviceName: string, clientName: string) => string;
|
|
20
|
-
'webpos-login-device-takeover-confirm-ok': string;
|
|
21
|
-
'webpos-login-device-takeover-confirm-cancel': string;
|
|
22
|
-
};
|
|
23
|
-
'zh-CN': {
|
|
24
|
-
'webpos-login-search': string;
|
|
25
|
-
'webpos-login-back': string;
|
|
26
|
-
'webpos-login-last-used': string;
|
|
27
|
-
'webpos-login-select-store-title': string;
|
|
28
|
-
'webpos-login-select-store-empty': string;
|
|
29
|
-
'webpos-login-change-account': string;
|
|
30
|
-
'webpos-login-store-data-missing': string;
|
|
31
|
-
'webpos-login-select-device-title': string;
|
|
32
|
-
'webpos-login-select-device-empty': string;
|
|
33
|
-
'webpos-login-change-store': string;
|
|
34
|
-
'webpos-login-device-not-in-use': string;
|
|
35
|
-
'webpos-login-device-currently-used-by': string;
|
|
36
|
-
'webpos-login-device-takeover-confirm': (deviceName: string, clientName: string) => string;
|
|
37
|
-
'webpos-login-device-takeover-confirm-ok': string;
|
|
38
|
-
'webpos-login-device-takeover-confirm-cancel': string;
|
|
39
|
-
};
|
|
40
|
-
'zh-HK': {
|
|
41
|
-
'webpos-login-search': string;
|
|
42
|
-
'webpos-login-back': string;
|
|
43
|
-
'webpos-login-last-used': string;
|
|
44
|
-
'webpos-login-select-store-title': string;
|
|
45
|
-
'webpos-login-select-store-empty': string;
|
|
46
|
-
'webpos-login-change-account': string;
|
|
47
|
-
'webpos-login-store-data-missing': string;
|
|
48
|
-
'webpos-login-select-device-title': string;
|
|
49
|
-
'webpos-login-select-device-empty': string;
|
|
50
|
-
'webpos-login-change-store': string;
|
|
51
|
-
'webpos-login-device-not-in-use': string;
|
|
52
|
-
'webpos-login-device-currently-used-by': string;
|
|
53
|
-
'webpos-login-device-takeover-confirm': (deviceName: string, clientName: string) => string;
|
|
54
|
-
'webpos-login-device-takeover-confirm-ok': string;
|
|
55
|
-
'webpos-login-device-takeover-confirm-cancel': string;
|
|
56
|
-
};
|
|
57
|
-
ja: {
|
|
58
|
-
'webpos-login-search': string;
|
|
59
|
-
'webpos-login-back': string;
|
|
60
|
-
'webpos-login-last-used': string;
|
|
61
|
-
'webpos-login-select-store-title': string;
|
|
62
|
-
'webpos-login-select-store-empty': string;
|
|
63
|
-
'webpos-login-change-account': string;
|
|
64
|
-
'webpos-login-store-data-missing': string;
|
|
65
|
-
'webpos-login-select-device-title': string;
|
|
66
|
-
'webpos-login-select-device-empty': string;
|
|
67
|
-
'webpos-login-change-store': string;
|
|
68
|
-
'webpos-login-device-not-in-use': string;
|
|
69
|
-
'webpos-login-device-currently-used-by': string;
|
|
70
|
-
'webpos-login-device-takeover-confirm': (deviceName: string, clientName: string) => string;
|
|
71
|
-
'webpos-login-device-takeover-confirm-ok': string;
|
|
72
|
-
'webpos-login-device-takeover-confirm-cancel': string;
|
|
73
|
-
};
|
|
74
|
-
pt: {
|
|
75
|
-
'webpos-login-search': string;
|
|
76
|
-
'webpos-login-back': string;
|
|
77
|
-
'webpos-login-last-used': string;
|
|
78
|
-
'webpos-login-select-store-title': string;
|
|
79
|
-
'webpos-login-select-store-empty': string;
|
|
80
|
-
'webpos-login-change-account': string;
|
|
81
|
-
'webpos-login-store-data-missing': string;
|
|
82
|
-
'webpos-login-select-device-title': string;
|
|
83
|
-
'webpos-login-select-device-empty': string;
|
|
84
|
-
'webpos-login-change-store': string;
|
|
85
|
-
'webpos-login-device-not-in-use': string;
|
|
86
|
-
'webpos-login-device-currently-used-by': string;
|
|
87
|
-
'webpos-login-device-takeover-confirm': (deviceName: string, clientName: string) => string;
|
|
88
|
-
'webpos-login-device-takeover-confirm-ok': string;
|
|
89
|
-
'webpos-login-device-takeover-confirm-cancel': string;
|
|
90
|
-
};
|
|
91
|
-
};
|
|
92
|
-
export default _default;
|
|
@@ -1,288 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* WebPosLogin 组件类型定义
|
|
3
|
-
* @description WebPOS 登录流程组件,包含登录、店铺选择、设备选择三个步骤
|
|
4
|
-
*/
|
|
5
|
-
/// <reference types="react" />
|
|
6
|
-
/**
|
|
7
|
-
* 店铺数据结构
|
|
8
|
-
* @description 从租户列表接口返回的店铺信息
|
|
9
|
-
*/
|
|
10
|
-
export interface StoreItem {
|
|
11
|
-
/** 店铺ID */
|
|
12
|
-
id: number;
|
|
13
|
-
/** 租户ID */
|
|
14
|
-
tenant_id: number;
|
|
15
|
-
/** 账户ID */
|
|
16
|
-
account_id: number;
|
|
17
|
-
/** 类型 */
|
|
18
|
-
type: string;
|
|
19
|
-
/** 昵称 */
|
|
20
|
-
nickname: string;
|
|
21
|
-
/** 状态 */
|
|
22
|
-
status: string;
|
|
23
|
-
/** 创建时间 */
|
|
24
|
-
created_at?: string;
|
|
25
|
-
/** 更新时间 */
|
|
26
|
-
updated_at?: string;
|
|
27
|
-
/** 租户详情 */
|
|
28
|
-
tenant: {
|
|
29
|
-
/** 租户ID */
|
|
30
|
-
id: number;
|
|
31
|
-
/** 父租户ID */
|
|
32
|
-
tenant_id?: number;
|
|
33
|
-
/** 账户ID */
|
|
34
|
-
account_id?: number;
|
|
35
|
-
/** 类型 */
|
|
36
|
-
type?: string;
|
|
37
|
-
/** 名称(多语言) */
|
|
38
|
-
name: {
|
|
39
|
-
en?: string | null;
|
|
40
|
-
'zh-CN'?: string | null;
|
|
41
|
-
'zh-HK'?: string | null;
|
|
42
|
-
original: string;
|
|
43
|
-
};
|
|
44
|
-
/** Logo图片 */
|
|
45
|
-
logo?: string;
|
|
46
|
-
/** 图标 */
|
|
47
|
-
icon?: string;
|
|
48
|
-
/** Favicon */
|
|
49
|
-
favicon?: string;
|
|
50
|
-
/** 默认域名 */
|
|
51
|
-
default_domain: string;
|
|
52
|
-
/** 私有域名 */
|
|
53
|
-
private_domain?: string | null;
|
|
54
|
-
/** 货币代码 */
|
|
55
|
-
currency_code?: string | null;
|
|
56
|
-
/** 国家代码 */
|
|
57
|
-
country_code?: string | null;
|
|
58
|
-
/** 语言 */
|
|
59
|
-
locale?: string;
|
|
60
|
-
/** 时区 */
|
|
61
|
-
timezone?: string;
|
|
62
|
-
/** 状态 */
|
|
63
|
-
status?: string;
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
/**
|
|
67
|
-
* 设备客户端信息
|
|
68
|
-
* @description 设备绑定的客户端详情
|
|
69
|
-
*/
|
|
70
|
-
export interface DeviceClient {
|
|
71
|
-
/** 客户端ID */
|
|
72
|
-
id: number;
|
|
73
|
-
/** 店铺ID */
|
|
74
|
-
shop_id: number;
|
|
75
|
-
/** 设备ID */
|
|
76
|
-
device_id: number;
|
|
77
|
-
/** 客户端编号 */
|
|
78
|
-
number: string;
|
|
79
|
-
/** 客户端名称 */
|
|
80
|
-
name: string;
|
|
81
|
-
/** 客户端类型 */
|
|
82
|
-
type: string;
|
|
83
|
-
/** 设备型号 */
|
|
84
|
-
model?: string;
|
|
85
|
-
/** 系统版本 */
|
|
86
|
-
version?: string;
|
|
87
|
-
/** 设备详细数据 */
|
|
88
|
-
data?: {
|
|
89
|
-
battery?: {
|
|
90
|
-
is_charging?: boolean;
|
|
91
|
-
visible_percent?: string;
|
|
92
|
-
};
|
|
93
|
-
hardware?: {
|
|
94
|
-
country?: string;
|
|
95
|
-
datetime?: string;
|
|
96
|
-
language?: string;
|
|
97
|
-
timezone?: string;
|
|
98
|
-
};
|
|
99
|
-
application?: {
|
|
100
|
-
name?: string;
|
|
101
|
-
type?: string;
|
|
102
|
-
version?: string;
|
|
103
|
-
language?: string;
|
|
104
|
-
bundle_id?: string;
|
|
105
|
-
};
|
|
106
|
-
connectivity?: {
|
|
107
|
-
ip?: string;
|
|
108
|
-
type?: string;
|
|
109
|
-
wifi_details?: any[];
|
|
110
|
-
};
|
|
111
|
-
};
|
|
112
|
-
/** 最后刷新时间 */
|
|
113
|
-
refreshed_at?: string;
|
|
114
|
-
/** 创建时间 */
|
|
115
|
-
created_at?: string;
|
|
116
|
-
/** 更新时间 */
|
|
117
|
-
updated_at?: string;
|
|
118
|
-
}
|
|
119
|
-
/**
|
|
120
|
-
* 设备数据结构
|
|
121
|
-
* @description 从设备列表接口返回的设备信息
|
|
122
|
-
*/
|
|
123
|
-
export interface DeviceItem {
|
|
124
|
-
/** 设备ID */
|
|
125
|
-
id: number;
|
|
126
|
-
/** 店铺ID */
|
|
127
|
-
shop_id: number;
|
|
128
|
-
/** 设备类型 */
|
|
129
|
-
type: string;
|
|
130
|
-
/** 设备编号 */
|
|
131
|
-
number: string;
|
|
132
|
-
/** 设备名称 */
|
|
133
|
-
name: string;
|
|
134
|
-
/** 设备描述 */
|
|
135
|
-
description?: string;
|
|
136
|
-
/** 设备设置 */
|
|
137
|
-
setting?: any[];
|
|
138
|
-
/** 创建时间 */
|
|
139
|
-
created_at?: string;
|
|
140
|
-
/** 更新时间 */
|
|
141
|
-
updated_at?: string;
|
|
142
|
-
/** 绑定的客户端信息(null 表示未被使用) */
|
|
143
|
-
client?: DeviceClient | null;
|
|
144
|
-
}
|
|
145
|
-
/**
|
|
146
|
-
* 用户信息
|
|
147
|
-
* @description 当前登录用户的基本信息
|
|
148
|
-
*/
|
|
149
|
-
export interface UserInfo {
|
|
150
|
-
/** 用户名称 */
|
|
151
|
-
name: string;
|
|
152
|
-
/** 用户头像 */
|
|
153
|
-
avatar?: string;
|
|
154
|
-
}
|
|
155
|
-
/**
|
|
156
|
-
* 品牌区轮播项
|
|
157
|
-
* @description 左侧品牌区的轮播内容配置
|
|
158
|
-
*/
|
|
159
|
-
export interface CarouselItem {
|
|
160
|
-
/** 内容类型:图片或视频 */
|
|
161
|
-
type: 'image' | 'video';
|
|
162
|
-
/** 资源URL */
|
|
163
|
-
url: string;
|
|
164
|
-
}
|
|
165
|
-
/**
|
|
166
|
-
* 品牌区配置
|
|
167
|
-
* @description 左侧品牌展示区域的配置
|
|
168
|
-
*/
|
|
169
|
-
export interface BrandConfig {
|
|
170
|
-
/** 轮播内容列表(图片/视频) */
|
|
171
|
-
carouselItems?: CarouselItem[];
|
|
172
|
-
/** 默认Logo(当无轮播时显示) */
|
|
173
|
-
logo?: string;
|
|
174
|
-
/** 品牌标语 */
|
|
175
|
-
slogan?: string;
|
|
176
|
-
}
|
|
177
|
-
/**
|
|
178
|
-
* 登录流程步骤
|
|
179
|
-
*/
|
|
180
|
-
export declare type LoginStep = 'login' | 'store' | 'device';
|
|
181
|
-
/**
|
|
182
|
-
* 支持的语言类型
|
|
183
|
-
*/
|
|
184
|
-
export declare type LocaleType = 'en' | 'zh-CN' | 'zh-HK';
|
|
185
|
-
/**
|
|
186
|
-
* WebPosLogin 主组件 Props
|
|
187
|
-
* @description WebPOS 登录组件的所有配置项
|
|
188
|
-
*/
|
|
189
|
-
export interface WebPosLoginCptProps {
|
|
190
|
-
/** 自定义类名 */
|
|
191
|
-
className?: string;
|
|
192
|
-
/** 自定义样式 */
|
|
193
|
-
style?: React.CSSProperties;
|
|
194
|
-
/** 背景图片URL */
|
|
195
|
-
backgroundImage?: string;
|
|
196
|
-
/** 品牌区配置 */
|
|
197
|
-
brandConfig?: BrandConfig;
|
|
198
|
-
/** 当前步骤:login-登录 | store-店铺选择 | device-设备选择 */
|
|
199
|
-
step?: LoginStep;
|
|
200
|
-
/** 是否显示返回按钮(默认 true) */
|
|
201
|
-
showBackButton?: boolean;
|
|
202
|
-
/** 店铺列表数据 */
|
|
203
|
-
storeList?: StoreItem[];
|
|
204
|
-
/** 设备列表数据 */
|
|
205
|
-
deviceList?: DeviceItem[];
|
|
206
|
-
/** 当前用户信息 */
|
|
207
|
-
userInfo?: UserInfo;
|
|
208
|
-
/** 当前选中的店铺 */
|
|
209
|
-
selectedStore?: StoreItem;
|
|
210
|
-
/** 上次使用的店铺ID(用于显示 Last used 标签) */
|
|
211
|
-
lastUsedStoreId?: number;
|
|
212
|
-
/** 上次使用的设备ID(用于显示 Last used 标签) */
|
|
213
|
-
lastUsedDeviceId?: number;
|
|
214
|
-
/** 语言设置 */
|
|
215
|
-
locale?: LocaleType;
|
|
216
|
-
/** 加载状态 */
|
|
217
|
-
loading?: boolean;
|
|
218
|
-
/** 登录配置 */
|
|
219
|
-
loginConfig?: any;
|
|
220
|
-
/** 登录页插槽 */
|
|
221
|
-
loginSlot?: React.ReactNode;
|
|
222
|
-
/** 店铺选择回调 */
|
|
223
|
-
onStoreSelect?: (store: StoreItem) => void;
|
|
224
|
-
/** 设备选择回调 */
|
|
225
|
-
onDeviceSelect?: (device: DeviceItem) => void;
|
|
226
|
-
/** 切换账号回调 */
|
|
227
|
-
onChangeAccount?: () => void;
|
|
228
|
-
/** 切换店铺回调 */
|
|
229
|
-
onChangeStore?: () => void;
|
|
230
|
-
/** 返回上一步回调 */
|
|
231
|
-
onBack?: () => void;
|
|
232
|
-
/** 登录成功回调 */
|
|
233
|
-
onLoginSuccess?: (data: any) => void;
|
|
234
|
-
}
|
|
235
|
-
/**
|
|
236
|
-
* BrandPanel 品牌区组件 Props
|
|
237
|
-
*/
|
|
238
|
-
export interface BrandPanelProps {
|
|
239
|
-
/** 品牌配置 */
|
|
240
|
-
config?: BrandConfig;
|
|
241
|
-
/** 自定义类名 */
|
|
242
|
-
className?: string;
|
|
243
|
-
}
|
|
244
|
-
/**
|
|
245
|
-
* SelectStore 店铺选择组件 Props
|
|
246
|
-
*/
|
|
247
|
-
export interface SelectStoreProps {
|
|
248
|
-
/** 店铺列表 */
|
|
249
|
-
storeList?: StoreItem[];
|
|
250
|
-
/** 语言 */
|
|
251
|
-
locale?: LocaleType;
|
|
252
|
-
/** 加载状态 */
|
|
253
|
-
loading?: boolean;
|
|
254
|
-
/** 上次使用的店铺ID */
|
|
255
|
-
lastUsedStoreId?: number;
|
|
256
|
-
/** 选择店铺回调 */
|
|
257
|
-
onSelect?: (store: StoreItem) => void;
|
|
258
|
-
}
|
|
259
|
-
/**
|
|
260
|
-
* SelectDevice 设备选择组件 Props
|
|
261
|
-
*/
|
|
262
|
-
export interface SelectDeviceProps {
|
|
263
|
-
/** 设备列表 */
|
|
264
|
-
deviceList?: DeviceItem[];
|
|
265
|
-
/** 语言 */
|
|
266
|
-
locale?: LocaleType;
|
|
267
|
-
/** 加载状态 */
|
|
268
|
-
loading?: boolean;
|
|
269
|
-
/** 选择设备回调 */
|
|
270
|
-
onSelect?: (device: DeviceItem) => void;
|
|
271
|
-
}
|
|
272
|
-
/**
|
|
273
|
-
* UserFooter 底部用户信息组件 Props
|
|
274
|
-
*/
|
|
275
|
-
export interface UserFooterProps {
|
|
276
|
-
/** 用户信息 */
|
|
277
|
-
userInfo?: UserInfo;
|
|
278
|
-
/** 当前选中的店铺 */
|
|
279
|
-
selectedStore?: StoreItem;
|
|
280
|
-
/** 当前步骤 */
|
|
281
|
-
step?: LoginStep;
|
|
282
|
-
/** 语言 */
|
|
283
|
-
locale?: LocaleType;
|
|
284
|
-
/** 切换账号回调 */
|
|
285
|
-
onChangeAccount?: () => void;
|
|
286
|
-
/** 切换店铺回调 */
|
|
287
|
-
onChangeStore?: () => void;
|
|
288
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
en: {
|
|
3
|
-
'pisell2.pro.cards.skuCard.disabledText': string;
|
|
4
|
-
};
|
|
5
|
-
'zh-CN': {
|
|
6
|
-
'pisell2.pro.cards.skuCard.disabledText': string;
|
|
7
|
-
};
|
|
8
|
-
'zh-HK': {
|
|
9
|
-
'pisell2.pro.cards.skuCard.disabledText': string;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
export default _default;
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
/**
|
|
3
|
-
* SKU Card 文本样式配置
|
|
4
|
-
*/
|
|
5
|
-
export interface SkuCardTextConfig {
|
|
6
|
-
/** 是否显示 */
|
|
7
|
-
visible?: boolean;
|
|
8
|
-
/** 字体大小 */
|
|
9
|
-
fontSize?: number;
|
|
10
|
-
/** 颜色 */
|
|
11
|
-
color?: string;
|
|
12
|
-
/** 字体粗细 */
|
|
13
|
-
fontWeight?: 'normal' | 'bold' | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
|
|
14
|
-
/** 展示行数 */
|
|
15
|
-
lineClamp?: number;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* SKU Card 图片配置
|
|
19
|
-
*/
|
|
20
|
-
export interface SkuCardImageConfig {
|
|
21
|
-
/** 是否显示 */
|
|
22
|
-
visible?: boolean;
|
|
23
|
-
/** 宽度 */
|
|
24
|
-
width?: number;
|
|
25
|
-
/** 高度 */
|
|
26
|
-
height?: number;
|
|
27
|
-
/** 圆角 */
|
|
28
|
-
borderRadius?: number | string;
|
|
29
|
-
/** 边框 */
|
|
30
|
-
border?: string;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* SKU Card disabled文本配置
|
|
34
|
-
*/
|
|
35
|
-
export interface SkuCardDisabledTextConfig extends Omit<SkuCardTextConfig, 'lineClamp'> {
|
|
36
|
-
/** 文本 */
|
|
37
|
-
text?: string;
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* SKU Card 配置
|
|
41
|
-
*/
|
|
42
|
-
export interface SkuCardConfig {
|
|
43
|
-
/** 主标题配置 */
|
|
44
|
-
title?: SkuCardTextConfig;
|
|
45
|
-
/** 副标题配置 */
|
|
46
|
-
subTitle?: SkuCardTextConfig;
|
|
47
|
-
/** 价格配置 */
|
|
48
|
-
price?: Omit<SkuCardTextConfig, 'lineClamp'>;
|
|
49
|
-
/** 图片配置 */
|
|
50
|
-
image?: SkuCardImageConfig;
|
|
51
|
-
/** disabled文本展示 */
|
|
52
|
-
disabledText?: SkuCardDisabledTextConfig;
|
|
53
|
-
}
|
|
54
|
-
export interface SKUCardProps {
|
|
55
|
-
cover?: string;
|
|
56
|
-
title?: string;
|
|
57
|
-
subtitle?: string;
|
|
58
|
-
price?: string;
|
|
59
|
-
arrow?: boolean;
|
|
60
|
-
selected?: boolean;
|
|
61
|
-
disabled?: boolean;
|
|
62
|
-
onClick?: () => void;
|
|
63
|
-
renderRight?: React.ReactNode | (() => React.ReactNode);
|
|
64
|
-
/** SKU Card 配置 */
|
|
65
|
-
skuCardConfig?: SkuCardConfig;
|
|
66
|
-
/** SKU 是否禁用 */
|
|
67
|
-
skuDisabled?: boolean;
|
|
68
|
-
theme?: {
|
|
69
|
-
token?: {
|
|
70
|
-
colorPrimary?: string;
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
}
|