@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,139 +0,0 @@
|
|
|
1
|
-
import { CSSProperties } from 'react';
|
|
2
|
-
export interface MultiLanguageText {
|
|
3
|
-
en: string;
|
|
4
|
-
'zh-CN': string;
|
|
5
|
-
'zh-HK': string;
|
|
6
|
-
'ja': string;
|
|
7
|
-
'pt': string;
|
|
8
|
-
original: string;
|
|
9
|
-
}
|
|
10
|
-
export interface BaseItem {
|
|
11
|
-
id: number;
|
|
12
|
-
name: string | MultiLanguageText;
|
|
13
|
-
code: string;
|
|
14
|
-
order?: number;
|
|
15
|
-
}
|
|
16
|
-
export interface SettingItem extends BaseItem {
|
|
17
|
-
key?: string;
|
|
18
|
-
scopes?: string[];
|
|
19
|
-
groupId?: number;
|
|
20
|
-
group_id?: number;
|
|
21
|
-
fieldType?: string;
|
|
22
|
-
type?: string;
|
|
23
|
-
interfaceType?: string;
|
|
24
|
-
interface?: string;
|
|
25
|
-
description?: string | MultiLanguageText;
|
|
26
|
-
systemDefaultValue?: string;
|
|
27
|
-
default?: string;
|
|
28
|
-
schema?: any;
|
|
29
|
-
title?: string | MultiLanguageText;
|
|
30
|
-
sort: number;
|
|
31
|
-
created_at?: string | null;
|
|
32
|
-
updated_at?: string | null;
|
|
33
|
-
deleted_at?: string | null;
|
|
34
|
-
}
|
|
35
|
-
export interface SettingGroup extends BaseItem {
|
|
36
|
-
items: SettingItem[];
|
|
37
|
-
expanded?: boolean;
|
|
38
|
-
sort: number;
|
|
39
|
-
}
|
|
40
|
-
export interface Section extends BaseItem {
|
|
41
|
-
icon?: string;
|
|
42
|
-
description?: string | MultiLanguageText;
|
|
43
|
-
groups: SettingGroup[];
|
|
44
|
-
created_at?: string | null;
|
|
45
|
-
updated_at?: string | null;
|
|
46
|
-
deleted_at?: string | null;
|
|
47
|
-
}
|
|
48
|
-
export interface TreeNode {
|
|
49
|
-
key: string;
|
|
50
|
-
type: 'group' | 'item';
|
|
51
|
-
data: SettingGroup | SettingItem;
|
|
52
|
-
children?: TreeNode[];
|
|
53
|
-
parentKey?: string;
|
|
54
|
-
}
|
|
55
|
-
export declare type OperationType = 'add' | 'edit' | 'delete';
|
|
56
|
-
export interface DragItem {
|
|
57
|
-
id: number;
|
|
58
|
-
type: 'group' | 'item';
|
|
59
|
-
groupId?: number;
|
|
60
|
-
}
|
|
61
|
-
export interface RegistryProps {
|
|
62
|
-
className?: string;
|
|
63
|
-
style?: CSSProperties;
|
|
64
|
-
sections?: Section[];
|
|
65
|
-
selectedSectionId?: number;
|
|
66
|
-
onSectionSelect?: (sectionId: number) => void;
|
|
67
|
-
onDataChange?: (sections: Section[]) => void;
|
|
68
|
-
}
|
|
69
|
-
export interface SectionListProps {
|
|
70
|
-
sections: Section[];
|
|
71
|
-
selectedSectionId?: number;
|
|
72
|
-
onSectionSelect: (sectionId: number) => void;
|
|
73
|
-
loading?: boolean;
|
|
74
|
-
hasMore?: boolean;
|
|
75
|
-
onLoadMore?: () => void;
|
|
76
|
-
}
|
|
77
|
-
export interface SettingsTableProps {
|
|
78
|
-
section?: Section;
|
|
79
|
-
groupList?: SettingGroup[];
|
|
80
|
-
groupLoading?: boolean;
|
|
81
|
-
onDataChange?: (section: Section) => void;
|
|
82
|
-
onEditGroup?: (group: SettingGroup) => void;
|
|
83
|
-
onDeleteGroup?: (groupId: number) => void;
|
|
84
|
-
onAddItem?: (groupId: number) => void;
|
|
85
|
-
onEditItem?: (item: SettingItem) => void;
|
|
86
|
-
onDeleteItem?: (itemId: number) => void;
|
|
87
|
-
onGroupReorder?: (groupIds: number[]) => void;
|
|
88
|
-
onItemMove?: (itemId: number, targetGroupId: number, newOrder: number) => void;
|
|
89
|
-
}
|
|
90
|
-
export interface GroupFormData {
|
|
91
|
-
title: MultiLanguageText;
|
|
92
|
-
code: string;
|
|
93
|
-
}
|
|
94
|
-
export interface ItemFormData {
|
|
95
|
-
name: MultiLanguageText;
|
|
96
|
-
key: string;
|
|
97
|
-
fieldType: string;
|
|
98
|
-
interfaceType?: string;
|
|
99
|
-
scopes: string[];
|
|
100
|
-
description?: MultiLanguageText;
|
|
101
|
-
default?: string | null;
|
|
102
|
-
schema?: Record<string, any>;
|
|
103
|
-
xDataSource?: {
|
|
104
|
-
type?: string;
|
|
105
|
-
options?: Array<{
|
|
106
|
-
id?: string;
|
|
107
|
-
label: string | MultiLanguageText;
|
|
108
|
-
value: string;
|
|
109
|
-
color?: string;
|
|
110
|
-
}>;
|
|
111
|
-
dataSource?: Record<string, any>;
|
|
112
|
-
extraParams?: string;
|
|
113
|
-
};
|
|
114
|
-
xCustomUiSchema?: string;
|
|
115
|
-
}
|
|
116
|
-
export interface GroupModalProps {
|
|
117
|
-
open: boolean;
|
|
118
|
-
type: OperationType;
|
|
119
|
-
data?: SettingGroup;
|
|
120
|
-
onOk: (data: GroupFormData) => void | Promise<void>;
|
|
121
|
-
onCancel: () => void;
|
|
122
|
-
}
|
|
123
|
-
export interface ItemModalProps {
|
|
124
|
-
open: boolean;
|
|
125
|
-
type: OperationType;
|
|
126
|
-
data?: SettingItem;
|
|
127
|
-
section?: Section;
|
|
128
|
-
onOk: (data: ItemFormData) => void | Promise<void>;
|
|
129
|
-
onCancel: () => void;
|
|
130
|
-
}
|
|
131
|
-
export interface ApiResponse<T> {
|
|
132
|
-
data: T[];
|
|
133
|
-
meta: {
|
|
134
|
-
count: number;
|
|
135
|
-
page: number;
|
|
136
|
-
pageSize: number;
|
|
137
|
-
totalPage: number;
|
|
138
|
-
};
|
|
139
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
en: {
|
|
3
|
-
'pisell2.text.tax-free': string;
|
|
4
|
-
'pisell2.text.custom': string;
|
|
5
|
-
'pisell2.text.cancel': string;
|
|
6
|
-
'pisell2.text.confirm': string;
|
|
7
|
-
'pisell2.text.please-enter': string;
|
|
8
|
-
};
|
|
9
|
-
'zh-CN': {
|
|
10
|
-
'pisell2.text.tax-free': string;
|
|
11
|
-
'pisell2.text.custom': string;
|
|
12
|
-
'pisell2.text.cancel': string;
|
|
13
|
-
'pisell2.text.confirm': string;
|
|
14
|
-
'pisell2.text.please-enter': string;
|
|
15
|
-
};
|
|
16
|
-
'zh-HK': {
|
|
17
|
-
'pisell2.text.tax-free': string;
|
|
18
|
-
'pisell2.text.custom': string;
|
|
19
|
-
'pisell2.text.cancel': string;
|
|
20
|
-
'pisell2.text.confirm': string;
|
|
21
|
-
'pisell2.text.please-enter': string;
|
|
22
|
-
};
|
|
23
|
-
ja: {
|
|
24
|
-
'pisell2.text.tax-free': string;
|
|
25
|
-
'pisell2.text.custom': string;
|
|
26
|
-
'pisell2.text.cancel': string;
|
|
27
|
-
'pisell2.text.confirm': string;
|
|
28
|
-
'pisell2.text.please-enter': string;
|
|
29
|
-
};
|
|
30
|
-
pt: {
|
|
31
|
-
'pisell2.text.tax-free': string;
|
|
32
|
-
'pisell2.text.custom': string;
|
|
33
|
-
'pisell2.text.cancel': string;
|
|
34
|
-
'pisell2.text.confirm': string;
|
|
35
|
-
'pisell2.text.please-enter': string;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
export default _default;
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 产品展示配置类型定义
|
|
3
|
-
*/
|
|
4
|
-
import type { ProductCardConfig } from '../../../../plus/productSelect/ProductCard/SkuCard/type';
|
|
5
|
-
/** 预设配置的字符串键 */
|
|
6
|
-
export declare type ProductDisplayPresetKey = 'product-select' | 'sku-list-a1' | 'sku-list-a2' | 'sku-list-a5' | 'default';
|
|
7
|
-
/** ProductSelect 布局配置 */
|
|
8
|
-
export interface ProductSelectLayout {
|
|
9
|
-
grid: boolean;
|
|
10
|
-
config: string;
|
|
11
|
-
}
|
|
12
|
-
export declare type NumberBoolean = 0 | 1;
|
|
13
|
-
/** ProductSelect 列表设置 */
|
|
14
|
-
export interface ProductListSetting {
|
|
15
|
-
/** 是否显示产品封面 */
|
|
16
|
-
isProductCover?: NumberBoolean;
|
|
17
|
-
/** 是否显示标题 */
|
|
18
|
-
isTitle?: NumberBoolean;
|
|
19
|
-
/** 是否显示副标题 */
|
|
20
|
-
isSubtitle?: NumberBoolean;
|
|
21
|
-
/** 是否显示价格 */
|
|
22
|
-
isPrice?: NumberBoolean;
|
|
23
|
-
/** 是否显示原价 */
|
|
24
|
-
isOriginPrice?: NumberBoolean;
|
|
25
|
-
/** 是否显示库存 */
|
|
26
|
-
isStock?: NumberBoolean;
|
|
27
|
-
}
|
|
28
|
-
/** ProductSelect 模式配置 */
|
|
29
|
-
export interface ProductSelectConfig {
|
|
30
|
-
/** 是否显示搜索框 */
|
|
31
|
-
showSearch?: boolean;
|
|
32
|
-
/** 是否显示分类Tab */
|
|
33
|
-
showTab?: boolean;
|
|
34
|
-
/** 布局配置 */
|
|
35
|
-
layout?: ProductSelectLayout;
|
|
36
|
-
/** 产品列表设置 */
|
|
37
|
-
productListSetting?: ProductListSetting;
|
|
38
|
-
}
|
|
39
|
-
/** SkuCard 显示模式 */
|
|
40
|
-
export declare type SkuCardDisplayMode = 'display_a1' | 'display_a2' | 'display_a5' | 'display_a9' | 'display_custom';
|
|
41
|
-
/**
|
|
42
|
-
* SkuCard 配置
|
|
43
|
-
* 直接使用 ProductCardConfig 类型,保持类型同步
|
|
44
|
-
*
|
|
45
|
-
* @see packages/private-materials/src/plus/productSelect/ProductCard/SkuCard/type.ts ProductCardConfig
|
|
46
|
-
*/
|
|
47
|
-
export declare type SkuCardAllConfig = ProductCardConfig;
|
|
48
|
-
/** List 布局类型 */
|
|
49
|
-
export declare type ListLayoutType = 'grid' | 'list';
|
|
50
|
-
/** Tab 样式类型 */
|
|
51
|
-
export declare type TabStyleType = 'switch' | 'anchor' | 'none';
|
|
52
|
-
/** List 组件配置 */
|
|
53
|
-
export interface ListConfig {
|
|
54
|
-
/** 布局类型 */
|
|
55
|
-
layout?: ListLayoutType;
|
|
56
|
-
/** 列数 */
|
|
57
|
-
columns?: number;
|
|
58
|
-
/** 是否显示分页 */
|
|
59
|
-
showPagination?: boolean;
|
|
60
|
-
/** 是否显示Tab */
|
|
61
|
-
showTab?: boolean;
|
|
62
|
-
/** Tab 样式类型:switch-切换模式,anchor-锚点模式,none-不显示 */
|
|
63
|
-
tabStyle?: TabStyleType;
|
|
64
|
-
/** Tab 是否吸顶 */
|
|
65
|
-
stickyTop?: boolean;
|
|
66
|
-
/** Tab配置 */
|
|
67
|
-
tabConfig?: any;
|
|
68
|
-
/** 分页配置 */
|
|
69
|
-
paginationConfig?: any;
|
|
70
|
-
[key: string]: any;
|
|
71
|
-
}
|
|
72
|
-
/** SkuList 模式配置 */
|
|
73
|
-
export interface SkuListConfig {
|
|
74
|
-
/** List 组件配置 */
|
|
75
|
-
listConfig?: ListConfig;
|
|
76
|
-
/** SkuCard 配置 */
|
|
77
|
-
skuCardAllConfig?: SkuCardAllConfig;
|
|
78
|
-
}
|
|
79
|
-
/** 展示模式类型 */
|
|
80
|
-
export declare type DisplayMode = 'product-select' | 'sku-list';
|
|
81
|
-
/**
|
|
82
|
-
* 产品展示配置
|
|
83
|
-
* 用于配置化控制产品展示的方式
|
|
84
|
-
*/
|
|
85
|
-
export interface ProductDisplayConfig {
|
|
86
|
-
/** 展示模式 */
|
|
87
|
-
displayMode: DisplayMode;
|
|
88
|
-
/** ProductSelect 模式配置 */
|
|
89
|
-
productSelectConfig?: ProductSelectConfig;
|
|
90
|
-
/** SkuList 模式配置 */
|
|
91
|
-
skuListConfig?: SkuListConfig;
|
|
92
|
-
}
|
|
93
|
-
/**
|
|
94
|
-
* 产品展示配置预设
|
|
95
|
-
* 支持通过字符串键或直接使用配置对象
|
|
96
|
-
*/
|
|
97
|
-
export declare const ProductDisplayPresets: Record<ProductDisplayPresetKey, ProductDisplayConfig>;
|
|
98
|
-
/**
|
|
99
|
-
* 兼容性:保持原有的导出方式
|
|
100
|
-
* @deprecated 建议使用 ProductDisplayPresets['product-select'] 或字符串键访问
|
|
101
|
-
*/
|
|
102
|
-
export declare const LegacyProductDisplayPresets: {
|
|
103
|
-
/** @deprecated 使用 ProductDisplayPresets['product-select'] */
|
|
104
|
-
DEFAULT_PRODUCT_SELECT: ProductDisplayConfig;
|
|
105
|
-
/** @deprecated 使用 ProductDisplayPresets['sku-list-a1'] */
|
|
106
|
-
DEFAULT_SKU_LIST_A1: ProductDisplayConfig;
|
|
107
|
-
/** @deprecated 使用 ProductDisplayPresets['sku-list-a2'] */
|
|
108
|
-
DEFAULT_SKU_LIST_A2: ProductDisplayConfig;
|
|
109
|
-
/** @deprecated 使用 ProductDisplayPresets['sku-list-a5'] */
|
|
110
|
-
DEFAULT_SKU_LIST_A5: ProductDisplayConfig;
|
|
111
|
-
};
|
|
112
|
-
/**
|
|
113
|
-
* 工具函数:将字符串键或配置对象解析为配置对象
|
|
114
|
-
*/
|
|
115
|
-
export declare function resolveProductDisplayConfig(config?: ProductDisplayPresetKey | ProductDisplayConfig): ProductDisplayConfig;
|
|
File without changes
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* IsActive Context
|
|
4
|
-
* 用于在 TicketBooking 组件树中提供 isActive 状态
|
|
5
|
-
* isActive 用于标识当前组件是否处于激活状态
|
|
6
|
-
*/
|
|
7
|
-
interface IsActiveContextType {
|
|
8
|
-
/** 是否激活 */
|
|
9
|
-
isActive: boolean;
|
|
10
|
-
}
|
|
11
|
-
declare const IsActiveContext: React.Context<IsActiveContextType>;
|
|
12
|
-
interface IsActiveProviderProps {
|
|
13
|
-
isActive: boolean;
|
|
14
|
-
children: React.ReactNode;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* IsActive Provider
|
|
18
|
-
* 提供 isActive 给子组件使用
|
|
19
|
-
*/
|
|
20
|
-
export declare const IsActiveProvider: React.FC<IsActiveProviderProps>;
|
|
21
|
-
/**
|
|
22
|
-
* useIsActive Hook
|
|
23
|
-
* 在子组件中使用此 hook 获取 isActive 状态
|
|
24
|
-
*/
|
|
25
|
-
export declare const useIsActive: () => boolean;
|
|
26
|
-
export default IsActiveContext;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* OsKey Context
|
|
4
|
-
* 用于在 TicketBooking 组件树中提供 pisellos 的 osKey
|
|
5
|
-
* osKey 用于区分不同页面使用同一个组件时的模块标识
|
|
6
|
-
*/
|
|
7
|
-
interface OsKeyContextType {
|
|
8
|
-
/** pisellos 模块的唯一标识 */
|
|
9
|
-
osKey: string | undefined;
|
|
10
|
-
businessCode: string | undefined;
|
|
11
|
-
}
|
|
12
|
-
declare const OsKeyContext: React.Context<OsKeyContextType>;
|
|
13
|
-
interface OsKeyProviderProps {
|
|
14
|
-
osKey: string | undefined;
|
|
15
|
-
businessCode: string | undefined;
|
|
16
|
-
children: React.ReactNode;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* OsKey Provider
|
|
20
|
-
* 提供 osKey 给子组件使用
|
|
21
|
-
*/
|
|
22
|
-
export declare const OsKeyProvider: React.FC<OsKeyProviderProps>;
|
|
23
|
-
/**
|
|
24
|
-
* useOsKey Hook
|
|
25
|
-
* 在子组件中使用此 hook 获取 osKey
|
|
26
|
-
*/
|
|
27
|
-
export declare const useOsKey: () => string;
|
|
28
|
-
export declare const useBusinessCode: () => string;
|
|
29
|
-
export default OsKeyContext;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* useActiveExecute Hook
|
|
3
|
-
* 返回一个函数,该函数接收一个回调函数,并返回一个包装后的函数
|
|
4
|
-
* 包装后的函数只在 isActive 为 true 时执行原始回调
|
|
5
|
-
*
|
|
6
|
-
* @example
|
|
7
|
-
* ```tsx
|
|
8
|
-
* const { executeIfActive } = useActiveExecute();
|
|
9
|
-
*
|
|
10
|
-
* // 创建一个包装函数用于事件监听
|
|
11
|
-
* const handleChange = (data) => {
|
|
12
|
-
* console.log('data:', data);
|
|
13
|
-
* };
|
|
14
|
-
*
|
|
15
|
-
* // 返回的函数会在被调用时检查 isActive
|
|
16
|
-
* pisellos.effects.on('event', executeIfActive(handleChange));
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
export declare const useActiveExecute: () => {
|
|
20
|
-
executeIfActive: (this: unknown, fn: (...args: any[]) => any) => (...args: any[]) => any;
|
|
21
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { ClientData } from '../../../booking/info2/cartClientCard/types';
|
|
2
|
-
export declare const useCustomer: (props: {
|
|
3
|
-
changeCustomerToGlobalState?: ((value: ClientData, options?: any) => void) | undefined;
|
|
4
|
-
}) => {
|
|
5
|
-
customers: never[];
|
|
6
|
-
selectedCustomer: ClientData | null;
|
|
7
|
-
loading: boolean;
|
|
8
|
-
error: null;
|
|
9
|
-
pagination: {
|
|
10
|
-
page: number;
|
|
11
|
-
pageSize: number;
|
|
12
|
-
total: number;
|
|
13
|
-
};
|
|
14
|
-
loadCustomers: (this: unknown, params?: {
|
|
15
|
-
skip?: number | undefined;
|
|
16
|
-
num?: number | undefined;
|
|
17
|
-
search?: string | undefined;
|
|
18
|
-
} | undefined) => Promise<void>;
|
|
19
|
-
changePage: (this: unknown, page: number, pageSize: number) => Promise<void>;
|
|
20
|
-
selectCustomer: (this: unknown, customer: ClientData | null, options?: any) => void;
|
|
21
|
-
addCustomerToFirst: (this: unknown, customer: ClientData) => void;
|
|
22
|
-
initLoad: (this: any, keyword: any, formId: number) => Promise<void>;
|
|
23
|
-
hasMore: boolean;
|
|
24
|
-
loadMore: (this: unknown) => Promise<void>;
|
|
25
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
interface IGetProductsParams {
|
|
2
|
-
schedule_date?: string;
|
|
3
|
-
customer_id?: number;
|
|
4
|
-
menu_list_ids?: number[];
|
|
5
|
-
schedule_datetime?: string;
|
|
6
|
-
}
|
|
7
|
-
interface IGetScheduleTimePointsParams {
|
|
8
|
-
menu_list_ids?: number[];
|
|
9
|
-
}
|
|
10
|
-
export declare const useProducts: (notAvailableRef: any) => {
|
|
11
|
-
getScheduleTimePoints: (this: unknown, params?: IGetScheduleTimePointsParams | undefined) => Promise<void>;
|
|
12
|
-
getProducts: (this: unknown, params?: IGetProductsParams | undefined) => Promise<void>;
|
|
13
|
-
products: any[];
|
|
14
|
-
loading: boolean;
|
|
15
|
-
};
|
|
16
|
-
export {};
|