@pisell/private-materials 6.11.60 → 6.11.62
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/forms/sendModal/useSendModal.d.ts +1 -1
- package/es/components/checkout/plugin.js +9 -3
- package/es/components/list/hooks/useListState.js +29 -14
- package/es/components/ticketBooking/hooks/pisellos/useProducts.js +110 -1
- package/es/plus/orderList/config.d.ts +2 -2
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
- package/lib/components/checkout/plugin.js +6 -1
- package/lib/components/list/hooks/useListState.js +19 -10
- package/lib/components/ticketBooking/hooks/pisellos/useProducts.js +70 -1
- package/lib/plus/orderList/config.d.ts +2 -2
- package/package.json +2 -2
- package/es/components/Sales/Cart/index.d.ts +0 -53
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -3
- package/es/components/appointmentBooking/components/Services/index.d.ts +0 -4
- package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +0 -6
- package/es/components/booking/addons/index.d.ts +0 -17
- package/es/components/booking/components/footer/amount.d.ts +0 -38
- package/es/components/booking/components/reloadResourceModal/index.d.ts +0 -8
- package/es/components/booking/components/tabPane/index.d.ts +0 -4
- package/es/components/booking/components/voucherModal/index.d.ts +0 -19
- package/es/components/booking/dashboard/serve.d.ts +0 -2
- package/es/components/booking/deposit/ClientItem/index.d.ts +0 -18
- package/es/components/booking/deposit/DepositItem/index.d.ts +0 -25
- package/es/components/booking/deposit/index.d.ts +0 -2
- package/es/components/booking/forms/forms.d.ts +0 -30
- package/es/components/booking/forms/serve.d.ts +0 -18
- package/es/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
- package/es/components/booking/hooks/usePromotion.d.ts +0 -301
- package/es/components/booking/info/addServiceVariant/index.d.ts +0 -7
- package/es/components/booking/info/client/index.d.ts +0 -4
- package/es/components/booking/info/client/serve.d.ts +0 -2
- package/es/components/booking/info/clientVariant/utils.d.ts +0 -3
- package/es/components/booking/info/clientVariant/vertical/index.d.ts +0 -8
- package/es/components/booking/info/header/index.d.ts +0 -3
- package/es/components/booking/info/hooks/useHolderConfig.d.ts +0 -10
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -10
- package/es/components/booking/info/index.d.ts +0 -3
- package/es/components/booking/info/main.d.ts +0 -12
- package/es/components/booking/info/model.d.ts +0 -14
- package/es/components/booking/info/pet/index.d.ts +0 -14
- package/es/components/booking/info/pet/serve.d.ts +0 -1
- package/es/components/booking/info/service/Lists.d.ts +0 -2
- package/es/components/booking/info/service/addService/index.d.ts +0 -11
- 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/info/service/serviceList/index.d.ts +0 -5
- package/es/components/booking/info/service/serviceManager/index.d.ts +0 -20
- package/es/components/booking/info/service2/Group/utils.d.ts +0 -14
- package/es/components/booking/info/service2/Lists.d.ts +0 -2
- package/es/components/booking/info/service2/utils.d.ts +0 -226
- package/es/components/booking/info/utils.d.ts +0 -50
- 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/addService/index.d.ts +0 -11
- package/es/components/booking/info2/service/addService/utils.d.ts +0 -106
- package/es/components/booking/info2/service/addTimeModal/index.d.ts +0 -4
- package/es/components/booking/info2/service/editNormalService/index.d.ts +0 -3
- package/es/components/booking/info2/service/editService/utils.d.ts +0 -28
- package/es/components/booking/info2/service/index.d.ts +0 -4
- package/es/components/booking/info2/service/openNormalService.d.ts +0 -37
- package/es/components/booking/info2/service/serviceList/index.d.ts +0 -5
- package/es/components/booking/info2/utilsByBooking.d.ts +0 -36
- package/es/components/booking/locales.d.ts +0 -1586
- package/es/components/booking/model.d.ts +0 -121
- package/es/components/booking/notes/addNote/index.d.ts +0 -3
- package/es/components/booking/utils/selectHolderModal.d.ts +0 -24
- package/es/components/booking/utils.d.ts +0 -184
- package/es/components/checkout/PaymentProvider.d.ts +0 -13
- package/es/components/checkout/components/AdditionalModule/locales.d.ts +0 -58
- package/es/components/checkout/components/CashPaymentModule/index.d.ts +0 -26
- package/es/components/checkout/components/PaymentDetailModal/index.d.ts +0 -38
- package/es/components/checkout/components/PaymentOptionsModule/index.d.ts +0 -16
- package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +0 -85
- 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/SendPaymentLinkModal/index.d.ts +0 -12
- package/es/components/checkout/components/WalletPassModule/types.d.ts +0 -134
- package/es/components/checkout/constants.d.ts +0 -2
- package/es/components/checkout/export.d.ts +0 -9
- package/es/components/checkout/hooks/usePaymentLogger.d.ts +0 -2
- package/es/components/checkout/index.d.ts +0 -5
- package/es/components/checkout/locales.d.ts +0 -856
- package/es/components/checkout/payment-modal-utils.d.ts +0 -30
- package/es/components/checkout/styles.d.ts +0 -67
- package/es/components/checkout/types.d.ts +0 -130
- package/es/components/checkout/utils/PaymentResultToastUtils.d.ts +0 -32
- package/es/components/checkout/utils.d.ts +0 -3
- package/es/components/ecocup/cupList/const.d.ts +0 -144
- package/es/components/eftposPay/EFTPos.d.ts +0 -14
- package/es/components/eftposPay/aggregatePayment/hooks/useMicropay.d.ts +0 -7
- package/es/components/eftposPay/aggregatePayment/index.d.ts +0 -3
- package/es/components/eftposPay/aggregatePayment/service.d.ts +0 -24
- package/es/components/eftposPay/aggregatePayment/types.d.ts +0 -106
- package/es/components/eftposPay/aggregatePayment/utils/logs.d.ts +0 -110
- package/es/components/eftposPay/aggregatePayment/utils/payment.d.ts +0 -139
- package/es/components/eftposPay/app.d.ts +0 -10
- package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -3
- package/es/components/eftposPay/component/fail/index.d.ts +0 -3
- package/es/components/eftposPay/const.d.ts +0 -195
- package/es/components/eftposPay/device.d.ts +0 -25
- package/es/components/eftposPay/huifu/const.d.ts +0 -5
- package/es/components/eftposPay/huifu/hooks.d.ts +0 -25
- package/es/components/eftposPay/huifu/index.d.ts +0 -5
- package/es/components/eftposPay/huifu/types.d.ts +0 -14
- package/es/components/eftposPay/index.d.ts +0 -4
- package/es/components/eftposPay/locales.d.ts +0 -608
- package/es/components/eftposPay/manufacturer.d.ts +0 -8
- package/es/components/eftposPay/pay.d.ts +0 -20
- package/es/components/eftposPay/payo/const.d.ts +0 -26
- package/es/components/eftposPay/serve.d.ts +0 -16
- package/es/components/eftposPay/store/index.d.ts +0 -362
- package/es/components/eftposPay/tyro/index.d.ts +0 -9
- package/es/components/list/ResponsiveWrapper.d.ts +0 -16
- package/es/components/list/TestResponsiveWrapper.d.ts +0 -8
- package/es/components/list/components/EmptyState/index.d.ts +0 -2
- 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/Pagination/index.d.ts +0 -1
- 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/examples/GroupedListExample.d.ts +0 -3
- package/es/components/list/hooks/index.d.ts +0 -5
- package/es/components/list/hooks/useDevice.d.ts +0 -24
- package/es/components/list/hooks/useWaterfall.d.ts +0 -34
- package/es/components/list/index.d.ts +0 -10
- 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/CardGroup/index.d.ts +0 -8
- package/es/components/pay/toB/components/Content/Header.d.ts +0 -4
- package/es/components/pay/toB/components/Content/utils.d.ts +0 -16
- package/es/components/pay/toB/components/EFTPOS/index.d.ts +0 -8
- package/es/components/pay/toB/components/MX51/index.d.ts +0 -3
- package/es/components/pay/toB/components/index.d.ts +0 -5
- package/es/components/pay/toB/hooks.d.ts +0 -12
- package/es/components/pay/toB/index.d.ts +0 -3
- package/es/components/pay/toB/locales.d.ts +0 -88
- package/es/components/pay/toB/paymentMethods/index.d.ts +0 -11
- 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/store/utils.d.ts +0 -13
- 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/serve.d.ts +0 -28
- 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 -4
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -4
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -4
- package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +0 -161
- package/es/components/pay/toC/PaymentMethods/index.d.ts +0 -9
- package/es/components/pay/toC/model.d.ts +0 -41
- package/es/components/pay/toC/serve.d.ts +0 -82
- package/es/components/pay/toC/utils.d.ts +0 -57
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -3
- package/es/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +0 -3
- package/es/components/productSelect/components/productGroup/index.d.ts +0 -38
- package/es/components/shoppingCart/Provider.d.ts +0 -3
- package/es/components/shoppingCart/hooks/index.d.ts +0 -4
- package/es/components/shoppingCart/locales.d.ts +0 -93
- package/es/components/shoppingCart/mock.d.ts +0 -54
- package/es/components/shoppingCart/server.d.ts +0 -12
- package/es/components/shoppingCart/type.d.ts +0 -59
- package/es/components/shoppingCart/utils.d.ts +0 -192
- package/es/components/subTotal/locales.d.ts +0 -71
- package/es/components/systemSettings/registry/locales.d.ts +0 -525
- package/es/components/systemSettings/registry/types.d.ts +0 -139
- package/es/components/ticketBooking/components/ProductDisplayAdapter/index.d.ts +0 -7
- package/es/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +0 -115
- package/es/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +0 -94
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -10
- package/es/components/ticketBooking/components/addServiceVariant/utils.d.ts +0 -11
- package/es/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.d.ts +0 -7
- package/es/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +0 -6
- package/es/components/ticketBooking/components/bookingDataPanel/constants.d.ts +0 -22
- 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/bookingTicket.d.ts +0 -6
- 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/useScanManager.d.ts +0 -6
- package/es/components/ticketBooking/hooks/pisellos/useShopDiscountModule.d.ts +0 -6
- package/es/components/ticketBooking/index.d.ts +0 -23
- package/es/components/ticketBooking/locales.d.ts +0 -340
- package/es/components/ticketBooking/serve.d.ts +0 -289
- package/es/components/ticketBooking/utils/edit.d.ts +0 -1
- package/es/components/ticketBooking/utils/index.d.ts +0 -104
- package/es/components/ticketBooking/utils/productCache.d.ts +0 -75
- package/es/hooks/index.d.ts +0 -10
- package/es/hooks/printer.d.ts +0 -4
- package/es/hooks/useEngineContext.d.ts +0 -4
- package/es/hooks/useLogger.d.ts +0 -2
- package/es/hooks/useModal.example.d.ts +0 -12
- package/es/hooks/useModal.integration.example.d.ts +0 -15
- package/es/hooks/useToast.d.ts +0 -2
- package/es/hooks/useWindowSize.d.ts +0 -5
- package/es/index.d.ts +0 -91
- package/es/plus/noteModal/locales.d.ts +0 -53
- package/es/plus/noteModal/types.d.ts +0 -19
- package/es/plus/productSelect/CategoryTabs/index.d.ts +0 -21
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +0 -4
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +0 -4
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +0 -4
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +0 -4
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +0 -4
- package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/Cover/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/Price/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/Stock/index.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +0 -6
- 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 -6
- package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +0 -4
- package/es/plus/productSelect/ProductCard/SkuCard/hooks/useDynamicComponents.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/index.d.ts +0 -9
- 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/index.d.ts +0 -54
- package/es/plus/productSelect/ProductCard/utils.d.ts +0 -49
- package/es/plus/productSelect/ProductList/gridComponents.d.ts +0 -46
- package/es/plus/selectHolder/locales.d.ts +0 -38
- package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -6
- package/es/plus/skuOptionsSelection/index.d.ts +0 -5
- package/es/plus/skuOptionsSelection/types.d.ts +0 -445
- package/es/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +0 -19
- 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/WebPosLoginCpt.d.ts +0 -9
- package/es/plus/webPosLogin/components/BrandPanel/index.d.ts +0 -9
- package/es/plus/webPosLogin/components/LoginPanel/index.d.ts +0 -21
- package/es/plus/webPosLogin/components/MediaDisplay/type.d.ts +0 -54
- package/es/plus/webPosLogin/index.d.ts +0 -12
- package/es/plus/webPosLogin/locales.d.ts +0 -92
- package/es/plus/webPosLogin/service.d.ts +0 -44
- package/es/plus/webPosLogin/types.d.ts +0 -288
- package/es/pro/Login2.0/locales.d.ts +0 -903
- package/es/pro/NumberKeyboardPopover/index.d.ts +0 -36
- package/es/pro/NumberKeyboardPopover/types.d.ts +0 -31
- package/es/pro/Selector/hooks/usePresetProps.d.ts +0 -24
- package/es/pro/multiDayTimeSelect/index.d.ts +0 -3
- package/es/pro/multiDayTimeSelect/types.d.ts +0 -28
- package/es/pro/pisellPriceKeyboardModal/index.d.ts +0 -2
- package/es/pro/pisellPriceKeyboardModal/types.d.ts +0 -25
- package/es/pro/pisellPriceKeyboardPopover/PisellPriceKeyboardPopover.d.ts +0 -5
- package/es/pro/pisellPriceKeyboardPopover/index.d.ts +0 -2
- package/es/pro/pisellPriceKeyboardPopover/types.d.ts +0 -33
- package/es/pro/pisellSimplePriceKeyboardPopover/index.d.ts +0 -2
- package/es/pro/pisellSimplePriceKeyboardPopover/types.d.ts +0 -33
- package/es/pro/priceKeyboard/components/cashKeyboard/index.d.ts +0 -12
- 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/priceKeyboard/hooks/keyActions.d.ts +0 -28
- package/es/pro/priceKeyboard/index.d.ts +0 -3
- package/es/pro/priceKeyboard/utils.d.ts +0 -31
- 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/lib/components/Sales/Cart/index.d.ts +0 -53
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -3
- package/lib/components/appointmentBooking/components/Services/index.d.ts +0 -4
- package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +0 -6
- package/lib/components/booking/addons/index.d.ts +0 -17
- package/lib/components/booking/components/footer/amount.d.ts +0 -38
- package/lib/components/booking/components/reloadResourceModal/index.d.ts +0 -8
- package/lib/components/booking/components/tabPane/index.d.ts +0 -4
- package/lib/components/booking/components/voucherModal/index.d.ts +0 -19
- package/lib/components/booking/dashboard/serve.d.ts +0 -2
- package/lib/components/booking/deposit/ClientItem/index.d.ts +0 -18
- package/lib/components/booking/deposit/DepositItem/index.d.ts +0 -25
- package/lib/components/booking/deposit/index.d.ts +0 -2
- package/lib/components/booking/forms/forms.d.ts +0 -30
- package/lib/components/booking/forms/serve.d.ts +0 -18
- package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
- package/lib/components/booking/hooks/usePromotion.d.ts +0 -301
- package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -7
- package/lib/components/booking/info/client/index.d.ts +0 -4
- package/lib/components/booking/info/client/serve.d.ts +0 -2
- package/lib/components/booking/info/clientVariant/utils.d.ts +0 -3
- package/lib/components/booking/info/clientVariant/vertical/index.d.ts +0 -8
- package/lib/components/booking/info/header/index.d.ts +0 -3
- package/lib/components/booking/info/hooks/useHolderConfig.d.ts +0 -10
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -10
- package/lib/components/booking/info/index.d.ts +0 -3
- package/lib/components/booking/info/main.d.ts +0 -12
- package/lib/components/booking/info/model.d.ts +0 -14
- package/lib/components/booking/info/pet/index.d.ts +0 -14
- package/lib/components/booking/info/pet/serve.d.ts +0 -1
- package/lib/components/booking/info/service/Lists.d.ts +0 -2
- package/lib/components/booking/info/service/addService/index.d.ts +0 -11
- 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/info/service/serviceList/index.d.ts +0 -5
- package/lib/components/booking/info/service/serviceManager/index.d.ts +0 -20
- package/lib/components/booking/info/service2/Group/utils.d.ts +0 -14
- package/lib/components/booking/info/service2/Lists.d.ts +0 -2
- package/lib/components/booking/info/service2/utils.d.ts +0 -226
- package/lib/components/booking/info/utils.d.ts +0 -50
- 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/addService/index.d.ts +0 -11
- package/lib/components/booking/info2/service/addService/utils.d.ts +0 -106
- package/lib/components/booking/info2/service/addTimeModal/index.d.ts +0 -4
- package/lib/components/booking/info2/service/editNormalService/index.d.ts +0 -3
- package/lib/components/booking/info2/service/editService/utils.d.ts +0 -28
- package/lib/components/booking/info2/service/index.d.ts +0 -4
- package/lib/components/booking/info2/service/openNormalService.d.ts +0 -37
- package/lib/components/booking/info2/service/serviceList/index.d.ts +0 -5
- package/lib/components/booking/info2/utilsByBooking.d.ts +0 -36
- package/lib/components/booking/locales.d.ts +0 -1586
- package/lib/components/booking/model.d.ts +0 -121
- package/lib/components/booking/notes/addNote/index.d.ts +0 -3
- package/lib/components/booking/utils/selectHolderModal.d.ts +0 -24
- package/lib/components/booking/utils.d.ts +0 -184
- package/lib/components/checkout/PaymentProvider.d.ts +0 -13
- package/lib/components/checkout/components/AdditionalModule/locales.d.ts +0 -58
- package/lib/components/checkout/components/CashPaymentModule/index.d.ts +0 -26
- package/lib/components/checkout/components/PaymentDetailModal/index.d.ts +0 -38
- package/lib/components/checkout/components/PaymentOptionsModule/index.d.ts +0 -16
- package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +0 -85
- 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/SendPaymentLinkModal/index.d.ts +0 -12
- package/lib/components/checkout/components/WalletPassModule/types.d.ts +0 -134
- package/lib/components/checkout/constants.d.ts +0 -2
- package/lib/components/checkout/export.d.ts +0 -9
- package/lib/components/checkout/hooks/usePaymentLogger.d.ts +0 -2
- package/lib/components/checkout/index.d.ts +0 -5
- package/lib/components/checkout/locales.d.ts +0 -856
- package/lib/components/checkout/payment-modal-utils.d.ts +0 -30
- package/lib/components/checkout/styles.d.ts +0 -67
- package/lib/components/checkout/types.d.ts +0 -130
- package/lib/components/checkout/utils/PaymentResultToastUtils.d.ts +0 -32
- package/lib/components/checkout/utils.d.ts +0 -3
- package/lib/components/ecocup/cupList/const.d.ts +0 -144
- package/lib/components/eftposPay/EFTPos.d.ts +0 -14
- package/lib/components/eftposPay/aggregatePayment/hooks/useMicropay.d.ts +0 -7
- package/lib/components/eftposPay/aggregatePayment/index.d.ts +0 -3
- package/lib/components/eftposPay/aggregatePayment/service.d.ts +0 -24
- package/lib/components/eftposPay/aggregatePayment/types.d.ts +0 -106
- package/lib/components/eftposPay/aggregatePayment/utils/logs.d.ts +0 -110
- package/lib/components/eftposPay/aggregatePayment/utils/payment.d.ts +0 -139
- package/lib/components/eftposPay/app.d.ts +0 -10
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -3
- package/lib/components/eftposPay/component/fail/index.d.ts +0 -3
- package/lib/components/eftposPay/const.d.ts +0 -195
- package/lib/components/eftposPay/device.d.ts +0 -25
- package/lib/components/eftposPay/huifu/const.d.ts +0 -5
- package/lib/components/eftposPay/huifu/hooks.d.ts +0 -25
- package/lib/components/eftposPay/huifu/index.d.ts +0 -5
- package/lib/components/eftposPay/huifu/types.d.ts +0 -14
- package/lib/components/eftposPay/index.d.ts +0 -4
- package/lib/components/eftposPay/locales.d.ts +0 -608
- package/lib/components/eftposPay/manufacturer.d.ts +0 -8
- package/lib/components/eftposPay/pay.d.ts +0 -20
- package/lib/components/eftposPay/payo/const.d.ts +0 -26
- package/lib/components/eftposPay/serve.d.ts +0 -16
- package/lib/components/eftposPay/store/index.d.ts +0 -362
- package/lib/components/eftposPay/tyro/index.d.ts +0 -9
- package/lib/components/list/ResponsiveWrapper.d.ts +0 -16
- package/lib/components/list/TestResponsiveWrapper.d.ts +0 -8
- package/lib/components/list/components/EmptyState/index.d.ts +0 -2
- 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/Pagination/index.d.ts +0 -1
- 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/examples/GroupedListExample.d.ts +0 -3
- package/lib/components/list/hooks/index.d.ts +0 -5
- package/lib/components/list/hooks/useDevice.d.ts +0 -24
- package/lib/components/list/hooks/useWaterfall.d.ts +0 -34
- package/lib/components/list/index.d.ts +0 -10
- 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/CardGroup/index.d.ts +0 -8
- package/lib/components/pay/toB/components/Content/Header.d.ts +0 -4
- package/lib/components/pay/toB/components/Content/utils.d.ts +0 -16
- package/lib/components/pay/toB/components/EFTPOS/index.d.ts +0 -8
- package/lib/components/pay/toB/components/MX51/index.d.ts +0 -3
- package/lib/components/pay/toB/components/index.d.ts +0 -5
- package/lib/components/pay/toB/hooks.d.ts +0 -12
- package/lib/components/pay/toB/index.d.ts +0 -3
- package/lib/components/pay/toB/locales.d.ts +0 -88
- package/lib/components/pay/toB/paymentMethods/index.d.ts +0 -11
- 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/store/utils.d.ts +0 -13
- 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/serve.d.ts +0 -28
- 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 -4
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -4
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -4
- package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +0 -161
- package/lib/components/pay/toC/PaymentMethods/index.d.ts +0 -9
- package/lib/components/pay/toC/model.d.ts +0 -41
- package/lib/components/pay/toC/serve.d.ts +0 -82
- package/lib/components/pay/toC/utils.d.ts +0 -57
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -3
- package/lib/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +0 -3
- package/lib/components/productSelect/components/productGroup/index.d.ts +0 -38
- package/lib/components/shoppingCart/Provider.d.ts +0 -3
- package/lib/components/shoppingCart/hooks/index.d.ts +0 -4
- package/lib/components/shoppingCart/locales.d.ts +0 -93
- package/lib/components/shoppingCart/mock.d.ts +0 -54
- package/lib/components/shoppingCart/server.d.ts +0 -12
- package/lib/components/shoppingCart/type.d.ts +0 -59
- package/lib/components/shoppingCart/utils.d.ts +0 -192
- package/lib/components/subTotal/locales.d.ts +0 -71
- package/lib/components/systemSettings/registry/locales.d.ts +0 -525
- package/lib/components/systemSettings/registry/types.d.ts +0 -139
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/index.d.ts +0 -7
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +0 -115
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +0 -94
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -10
- package/lib/components/ticketBooking/components/addServiceVariant/utils.d.ts +0 -11
- package/lib/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.d.ts +0 -7
- package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +0 -6
- package/lib/components/ticketBooking/components/bookingDataPanel/constants.d.ts +0 -22
- 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/bookingTicket.d.ts +0 -6
- 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/useScanManager.d.ts +0 -6
- package/lib/components/ticketBooking/hooks/pisellos/useShopDiscountModule.d.ts +0 -6
- package/lib/components/ticketBooking/index.d.ts +0 -23
- package/lib/components/ticketBooking/locales.d.ts +0 -340
- package/lib/components/ticketBooking/serve.d.ts +0 -289
- package/lib/components/ticketBooking/utils/edit.d.ts +0 -1
- package/lib/components/ticketBooking/utils/index.d.ts +0 -104
- package/lib/components/ticketBooking/utils/productCache.d.ts +0 -75
- package/lib/hooks/index.d.ts +0 -10
- package/lib/hooks/printer.d.ts +0 -4
- package/lib/hooks/useEngineContext.d.ts +0 -4
- package/lib/hooks/useLogger.d.ts +0 -2
- package/lib/hooks/useModal.example.d.ts +0 -12
- package/lib/hooks/useModal.integration.example.d.ts +0 -15
- package/lib/hooks/useToast.d.ts +0 -2
- package/lib/hooks/useWindowSize.d.ts +0 -5
- package/lib/index.d.ts +0 -91
- package/lib/plus/noteModal/locales.d.ts +0 -53
- package/lib/plus/noteModal/types.d.ts +0 -19
- package/lib/plus/productSelect/CategoryTabs/index.d.ts +0 -21
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +0 -4
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +0 -4
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +0 -4
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +0 -4
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +0 -4
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Cover/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/Price/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/Stock/index.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +0 -6
- 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 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +0 -4
- package/lib/plus/productSelect/ProductCard/SkuCard/hooks/useDynamicComponents.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/index.d.ts +0 -9
- 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/index.d.ts +0 -54
- package/lib/plus/productSelect/ProductCard/utils.d.ts +0 -49
- package/lib/plus/productSelect/ProductList/gridComponents.d.ts +0 -46
- package/lib/plus/selectHolder/locales.d.ts +0 -38
- package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -6
- package/lib/plus/skuOptionsSelection/index.d.ts +0 -5
- package/lib/plus/skuOptionsSelection/types.d.ts +0 -445
- package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +0 -19
- 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/WebPosLoginCpt.d.ts +0 -9
- package/lib/plus/webPosLogin/components/BrandPanel/index.d.ts +0 -9
- package/lib/plus/webPosLogin/components/LoginPanel/index.d.ts +0 -21
- package/lib/plus/webPosLogin/components/MediaDisplay/type.d.ts +0 -54
- package/lib/plus/webPosLogin/index.d.ts +0 -12
- package/lib/plus/webPosLogin/locales.d.ts +0 -92
- package/lib/plus/webPosLogin/service.d.ts +0 -44
- package/lib/plus/webPosLogin/types.d.ts +0 -288
- package/lib/pro/Login2.0/locales.d.ts +0 -903
- package/lib/pro/NumberKeyboardPopover/index.d.ts +0 -36
- package/lib/pro/NumberKeyboardPopover/types.d.ts +0 -31
- package/lib/pro/Selector/hooks/usePresetProps.d.ts +0 -24
- package/lib/pro/multiDayTimeSelect/index.d.ts +0 -3
- package/lib/pro/multiDayTimeSelect/types.d.ts +0 -28
- package/lib/pro/pisellPriceKeyboardModal/index.d.ts +0 -2
- package/lib/pro/pisellPriceKeyboardModal/types.d.ts +0 -25
- package/lib/pro/pisellPriceKeyboardPopover/PisellPriceKeyboardPopover.d.ts +0 -5
- package/lib/pro/pisellPriceKeyboardPopover/index.d.ts +0 -2
- package/lib/pro/pisellPriceKeyboardPopover/types.d.ts +0 -33
- package/lib/pro/pisellSimplePriceKeyboardPopover/index.d.ts +0 -2
- package/lib/pro/pisellSimplePriceKeyboardPopover/types.d.ts +0 -33
- package/lib/pro/priceKeyboard/components/cashKeyboard/index.d.ts +0 -12
- 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/priceKeyboard/hooks/keyActions.d.ts +0 -28
- package/lib/pro/priceKeyboard/index.d.ts +0 -3
- package/lib/pro/priceKeyboard/utils.d.ts +0 -31
- 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
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import type { Dayjs } from 'dayjs';
|
|
2
|
-
/** dayjs对象格式化为字符串时间 */
|
|
3
|
-
export declare const formatDateToStr: (date: Dayjs[]) => string | string[];
|
|
4
|
-
export declare const getDefaultStartParam: () => string | string[];
|
|
5
|
-
export declare const formatBookingList: (bookingList: any[]) => any[];
|
|
6
|
-
export declare const getNextTimeSlice: (sliceMinutes: number) => Dayjs;
|
|
7
|
-
export declare const getDisabledEdit: ({ shop_discount, bookings, payment_status }: any) => boolean;
|
|
8
|
-
export declare const formatOptions: (detail: any) => any;
|
|
9
|
-
export declare const formatHolder: (detail: any) => any;
|
|
10
|
-
export declare const restoreProductOtherData: (data: any) => {
|
|
11
|
-
product_id: any;
|
|
12
|
-
option: any;
|
|
13
|
-
bundle: any;
|
|
14
|
-
product_variant_id: any;
|
|
15
|
-
quantity: number;
|
|
16
|
-
} | undefined;
|
|
17
|
-
export declare const isSameProduct: (a: any, b: any) => boolean;
|
|
18
|
-
export declare const addService: (list: any[], addItem: any, state: any, isMultiDay?: boolean) => {
|
|
19
|
-
list: any[];
|
|
20
|
-
count: number;
|
|
21
|
-
quantity?: undefined;
|
|
22
|
-
} | {
|
|
23
|
-
list: any[];
|
|
24
|
-
quantity: any;
|
|
25
|
-
count?: undefined;
|
|
26
|
-
};
|
|
27
|
-
export declare const addServiceScroll: (rowKey: string, cacheItem: any) => void;
|
|
28
|
-
export declare const getCartProductOverlay: (state: any) => any;
|
|
29
|
-
export declare const getIsOverlayProduct: (item: any, state: any) => any;
|
|
30
|
-
export declare const getIsShowNumber: (item: any, state: any) => any;
|
|
31
|
-
export declare const genServiceKey: (item: any) => string;
|
|
32
|
-
export declare const genHolderKey: (item: any) => string;
|
|
33
|
-
export declare const getIsParallelResourcesBooking: (record: any) => boolean;
|
|
34
|
-
declare type ScanData = {
|
|
35
|
-
type: string;
|
|
36
|
-
status: 'success' | 'failed';
|
|
37
|
-
scanType: 'nfc' | 'scanner';
|
|
38
|
-
scanCode: string;
|
|
39
|
-
result: {
|
|
40
|
-
searchType: 'customer' | 'wallet' | 'walletPass' | 'product' | 'local_product';
|
|
41
|
-
response: {
|
|
42
|
-
status: boolean;
|
|
43
|
-
code: number;
|
|
44
|
-
message: string;
|
|
45
|
-
data: any;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
export declare const formatScanCustomer: (data: ScanData) => {
|
|
50
|
-
searchType: "customer" | "product" | "wallet" | "walletPass" | "local_product";
|
|
51
|
-
data: any;
|
|
52
|
-
scanCode: string;
|
|
53
|
-
} | null;
|
|
54
|
-
export declare const formatScanGlobal: (data: ScanData) => {
|
|
55
|
-
searchType: "wallet";
|
|
56
|
-
data: any;
|
|
57
|
-
scanCode: string;
|
|
58
|
-
} | {
|
|
59
|
-
searchType: "walletPass";
|
|
60
|
-
data: any;
|
|
61
|
-
scanCode: string;
|
|
62
|
-
} | {
|
|
63
|
-
searchType: "product" | "local_product";
|
|
64
|
-
data: any;
|
|
65
|
-
scanCode: string;
|
|
66
|
-
} | null | undefined;
|
|
67
|
-
export declare const createSimpleCacheItem: (item: any, e: any, state: any) => any;
|
|
68
|
-
export declare const getBookingTicketKey: (osKey: string) => string;
|
|
69
|
-
export declare const getShopDiscountKey: (osKey: string) => string;
|
|
70
|
-
export declare const rulesHooks: {
|
|
71
|
-
getProduct(product: Record<string, any>): {
|
|
72
|
-
booking_id: any;
|
|
73
|
-
id: any;
|
|
74
|
-
_id: any;
|
|
75
|
-
price: any;
|
|
76
|
-
total: any;
|
|
77
|
-
discount_list: any;
|
|
78
|
-
origin_total: any;
|
|
79
|
-
num: any;
|
|
80
|
-
quantity: any;
|
|
81
|
-
vouchersApplicable: any;
|
|
82
|
-
holder_id: any;
|
|
83
|
-
isNormalProduct: any;
|
|
84
|
-
startDate: any;
|
|
85
|
-
bundle: any;
|
|
86
|
-
options: any;
|
|
87
|
-
main_product_selling_price: any;
|
|
88
|
-
inPromotion: any;
|
|
89
|
-
_promotion: any;
|
|
90
|
-
};
|
|
91
|
-
setProduct(product: Record<string, any>, values: {
|
|
92
|
-
total: number;
|
|
93
|
-
discount_list: any[];
|
|
94
|
-
price: number;
|
|
95
|
-
quantity: number;
|
|
96
|
-
_id?: string;
|
|
97
|
-
}): {
|
|
98
|
-
_id: any;
|
|
99
|
-
discount_list: any[];
|
|
100
|
-
_extend: any;
|
|
101
|
-
};
|
|
102
|
-
};
|
|
103
|
-
export { getCache, setCache, clearCache, clearAllCache, clearAllCacheByOsKey, getProductCache, setProductCache, clearProductCache, clearAllProductCache, getBoardConfigCache, setBoardConfigCache, clearBoardConfigCache, } from './productCache';
|
|
104
|
-
export type { CacheType } from './productCache';
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 产品数据缓存工具
|
|
3
|
-
* 使用 localStorage 实现类似 SWR 的缓存功能
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* 缓存类型
|
|
7
|
-
*/
|
|
8
|
-
export declare type CacheType = 'product' | 'boardConfig';
|
|
9
|
-
/**
|
|
10
|
-
* 通用缓存获取函数
|
|
11
|
-
* @param osKey - OS 实例的唯一标识
|
|
12
|
-
* @param cacheType - 缓存类型
|
|
13
|
-
* @param maxAge - 缓存最大有效期(毫秒),默认不限制
|
|
14
|
-
*/
|
|
15
|
-
export declare const getCache: <T = any>(osKey: string, cacheType?: CacheType, maxAge?: number) => T | null;
|
|
16
|
-
/**
|
|
17
|
-
* 从缓存中获取产品数据(兼容旧接口)
|
|
18
|
-
* @param osKey - OS 实例的唯一标识
|
|
19
|
-
* @param maxAge - 缓存最大有效期(毫秒),默认不限制
|
|
20
|
-
*/
|
|
21
|
-
export declare const getProductCache: <T = any>(osKey: string, maxAge?: number) => T | null;
|
|
22
|
-
/**
|
|
23
|
-
* 通用缓存设置函数
|
|
24
|
-
* @param osKey - OS 实例的唯一标识
|
|
25
|
-
* @param data - 要缓存的数据
|
|
26
|
-
* @param cacheType - 缓存类型
|
|
27
|
-
*/
|
|
28
|
-
export declare const setCache: <T = any>(osKey: string, data: T, cacheType?: CacheType) => void;
|
|
29
|
-
/**
|
|
30
|
-
* 设置产品缓存数据(兼容旧接口)
|
|
31
|
-
* @param osKey - OS 实例的唯一标识
|
|
32
|
-
* @param data - 要缓存的数据
|
|
33
|
-
*/
|
|
34
|
-
export declare const setProductCache: <T = any>(osKey: string, data: T) => void;
|
|
35
|
-
/**
|
|
36
|
-
* 清除指定类型的缓存
|
|
37
|
-
* @param osKey - OS 实例的唯一标识
|
|
38
|
-
* @param cacheType - 缓存类型
|
|
39
|
-
*/
|
|
40
|
-
export declare const clearCache: (osKey: string, cacheType?: CacheType) => void;
|
|
41
|
-
/**
|
|
42
|
-
* 清除指定 osKey 的产品缓存(兼容旧接口)
|
|
43
|
-
* @param osKey - OS 实例的唯一标识
|
|
44
|
-
*/
|
|
45
|
-
export declare const clearProductCache: (osKey: string) => void;
|
|
46
|
-
/**
|
|
47
|
-
* 清除指定 osKey 的 BoardConfig 缓存
|
|
48
|
-
* @param osKey - OS 实例的唯一标识
|
|
49
|
-
*/
|
|
50
|
-
export declare const clearBoardConfigCache: (osKey: string) => void;
|
|
51
|
-
/**
|
|
52
|
-
* 清除指定 osKey 的所有类型缓存
|
|
53
|
-
* @param osKey - OS 实例的唯一标识
|
|
54
|
-
*/
|
|
55
|
-
export declare const clearAllCacheByOsKey: (osKey: string) => void;
|
|
56
|
-
/**
|
|
57
|
-
* 清除所有产品缓存
|
|
58
|
-
*/
|
|
59
|
-
export declare const clearAllProductCache: () => void;
|
|
60
|
-
/**
|
|
61
|
-
* 清除所有类型的缓存
|
|
62
|
-
*/
|
|
63
|
-
export declare const clearAllCache: () => void;
|
|
64
|
-
/**
|
|
65
|
-
* 获取 BoardConfig 缓存
|
|
66
|
-
* @param osKey - OS 实例的唯一标识
|
|
67
|
-
* @param maxAge - 缓存最大有效期(毫秒),默认不限制
|
|
68
|
-
*/
|
|
69
|
-
export declare const getBoardConfigCache: <T = any>(osKey: string, maxAge?: number) => T | null;
|
|
70
|
-
/**
|
|
71
|
-
* 设置 BoardConfig 缓存
|
|
72
|
-
* @param osKey - OS 实例的唯一标识
|
|
73
|
-
* @param data - 要缓存的数据
|
|
74
|
-
*/
|
|
75
|
-
export declare const setBoardConfigCache: <T = any>(osKey: string, data: T) => void;
|
package/es/hooks/index.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export { default as useComponents } from './useComponents';
|
|
2
|
-
export { default as useEngineContext } from './useEngineContext';
|
|
3
|
-
export { default as useLocale } from './useLocale';
|
|
4
|
-
export { default as useLoginUser } from './useLoginUser';
|
|
5
|
-
export { default as useModal } from './useModal';
|
|
6
|
-
export { default as usePrefix } from './usePrefix';
|
|
7
|
-
export { default as useToast } from './useToast';
|
|
8
|
-
export { default as useTranslationOriginal } from './useTranslationOriginal';
|
|
9
|
-
export { default as useWindowSize } from './useWindowSize';
|
|
10
|
-
export type { UseModalOptions, UseModalReturn } from './useModal';
|
package/es/hooks/printer.d.ts
DELETED
package/es/hooks/useLogger.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* useModal Hook 使用示例
|
|
4
|
-
*
|
|
5
|
-
* 这个文件展示了 useModal hook 的各种用法
|
|
6
|
-
*/
|
|
7
|
-
export declare const BasicExample: React.FC;
|
|
8
|
-
export declare const WithDefaultPropsExample: React.FC;
|
|
9
|
-
export declare const DynamicConfigExample: React.FC;
|
|
10
|
-
export declare const WithConfirmExample: React.FC;
|
|
11
|
-
export declare const ComplexContentExample: React.FC;
|
|
12
|
-
export declare const UseModalExamples: React.FC;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* 如何在现有组件中集成新的 useModal hook 的示例
|
|
4
|
-
*
|
|
5
|
-
* 这个示例展示了如何重构 SendPaymentLinkModal 来使用新的 useModal hook
|
|
6
|
-
*/
|
|
7
|
-
interface SendPaymentLinkModalProps {
|
|
8
|
-
balanceAmount?: string;
|
|
9
|
-
customerEmail?: string;
|
|
10
|
-
}
|
|
11
|
-
export declare const SendPaymentLinkModal: React.FC<SendPaymentLinkModalProps>;
|
|
12
|
-
export declare const ConfirmDeleteModal: React.FC;
|
|
13
|
-
export declare const InfoModal: React.FC;
|
|
14
|
-
export declare const IntegrationExamples: React.FC;
|
|
15
|
-
export {};
|
package/es/hooks/useToast.d.ts
DELETED
package/es/index.d.ts
DELETED
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
export { default as Login } from './components/login';
|
|
2
|
-
export type { LoginProps } from './components/login';
|
|
3
|
-
export { default as BookingInfo } from './components/booking/info/index';
|
|
4
|
-
export { default as BookingNotes } from './components/booking/notes';
|
|
5
|
-
export { default as BookingAddons } from './components/booking/addons';
|
|
6
|
-
export { default as BookingForms } from './components/booking/forms';
|
|
7
|
-
export { default as BookingPayment } from './components/booking/payments';
|
|
8
|
-
export { default as Booking } from './components/booking';
|
|
9
|
-
export { default as Schedules } from './components/schedules';
|
|
10
|
-
export { default as BookingResources } from './components/booking/materiels/resources';
|
|
11
|
-
export { default as BookingStartTime } from './components/booking/materiels/startTime';
|
|
12
|
-
export { default as BookingDuration } from './components/booking/materiels/duration';
|
|
13
|
-
export { default as BookingContacts } from './components/booking/materiels/contacts';
|
|
14
|
-
export { VerticalClient } from './components/booking/info/clientVariant';
|
|
15
|
-
export { default as VerticalAddService } from './components/booking/info/addServiceVariant';
|
|
16
|
-
export { default as ProductExtension } from './components/productExtension';
|
|
17
|
-
export { default as BookingDeposit } from './components/booking/deposit';
|
|
18
|
-
export { default as WorkspaceList } from './components/workSpaceList';
|
|
19
|
-
export { default as WorkspaceListDetail } from './components/workSpaceListDetail';
|
|
20
|
-
export { default as RuleSetting } from './components/ruleSetting';
|
|
21
|
-
export { default as TaxSelect } from './components/taxSelect';
|
|
22
|
-
export { default as EftposPay } from './components/eftposPay';
|
|
23
|
-
export { default as ToCPay } from './components/pay/toC';
|
|
24
|
-
export { default as ToBPay } from './components/pay/toB';
|
|
25
|
-
export { default as Eftpos } from './components/eftpos';
|
|
26
|
-
export { default as WalletList } from './components/walletList';
|
|
27
|
-
export { default as BookingDashboard } from './components/booking/dashboard';
|
|
28
|
-
export { default as PisellSelectCustomerModal } from './components/pisellSelectCustomerModal';
|
|
29
|
-
export { default as EventBooking } from './components/eventBooking';
|
|
30
|
-
export { default as EventCard } from './components/eventBooking/components/eventCard';
|
|
31
|
-
export { default as EventResourceDisplay } from './components/eventBooking/components/resourceDisplay';
|
|
32
|
-
export { default as EventResourceUsability } from './components/eventBooking/components/resourceUsability';
|
|
33
|
-
export { default as EventProductCard } from './components/eventBooking/components/productCard';
|
|
34
|
-
export { default as EventTimeResourceSelector } from './components/eventBooking/components/timeResourceSelector';
|
|
35
|
-
export { default as EventSelectHolder } from './components/eventBooking/components/selectHolder';
|
|
36
|
-
export { default as EventBookingServiceList } from './components/eventBooking/components/bookingServiceList';
|
|
37
|
-
export { default as EventBookingAvailabilityCalendar } from './components/eventBooking/components/bookingAvailabilityCalendar';
|
|
38
|
-
export { default as EventScheduleCalendar } from './components/eventBooking/components/scheduleCalendar';
|
|
39
|
-
export { default as EventBookingDetailModal } from './components/eventBooking/components/bookingDetailModal';
|
|
40
|
-
export { default as EventProgressBar } from './components/eventBooking/components/progressBar';
|
|
41
|
-
export { default as ShoppingCart } from './components/shoppingCart';
|
|
42
|
-
export { default as AppointmentBooking } from './components/appointmentBooking';
|
|
43
|
-
export { default as AppointmentDeposit } from './components/appointmentBooking/deposit';
|
|
44
|
-
export { default as TicketBooking } from './components/ticketBooking';
|
|
45
|
-
export { default as SubTotal } from './components/subTotal';
|
|
46
|
-
export { default as EditBookingModal } from './components/booking/editBookingModal';
|
|
47
|
-
export { default as StepController } from './components/stepController';
|
|
48
|
-
export { default as ClientCard } from './plus/clientCard';
|
|
49
|
-
export { default as ClientSearch } from './plus/clinetSearch';
|
|
50
|
-
export { default as ComprehensiveSearch } from './pro/comprehensiveSearch';
|
|
51
|
-
export { default as NoteModal } from './plus/noteModal';
|
|
52
|
-
export { default as ProNumberKeyboard } from './pro/numberKeyboard';
|
|
53
|
-
export { default as ProNumberSelector } from './pro/pisellNumberSelector';
|
|
54
|
-
export { default as ProPhoneSelector } from './pro/pisellPhoneKeyboard';
|
|
55
|
-
export { default as ProPriceKeyboard } from './pro/pisellPriceKeyboardModal';
|
|
56
|
-
export { default as ProPriceRadio } from './pro/pisellPriceRadio';
|
|
57
|
-
export { default as ProSkuDetailModal } from './pro/skuDetailModal';
|
|
58
|
-
export { default as SaasLogin } from './plus/saasLogin';
|
|
59
|
-
export { default as SaasRegister } from './plus/saasRegister';
|
|
60
|
-
export { default as SaasCreateOrganization } from './plus/saasCreateOrganization';
|
|
61
|
-
export { default as SkuCard } from './plus/productSelect/ProductCard/SkuCard';
|
|
62
|
-
export { default as PinModal } from './components/pinModal';
|
|
63
|
-
export { default as PinVerifyModal } from './components/pinVerifyModal';
|
|
64
|
-
export { ResponsiveList as SkuList } from './components/list';
|
|
65
|
-
export { OAuthConfig, SaaSAdminAuth, OrgAdminAuth, CustomerAuth, CustomerOAuthConfig, DeviceAuth, POSOperatorAuth, OnlineShopAuth, SaaSManagermentAuth, } from './components/authentication/admin';
|
|
66
|
-
export type { SaaSAdminAuthProps, OrgAdminAuthProps, DeviceAuthProps, POSOperatorAuthProps, CustomerOAuthConfigProps, } from './components/authentication/admin';
|
|
67
|
-
export { default as ContactInfo } from './plus/contactInfo';
|
|
68
|
-
export { default as ContactInfoModal } from './plus/contactInfoModal';
|
|
69
|
-
export { Login2, Register2, AuthModal } from './pro/Login2.0';
|
|
70
|
-
export { default as WalletEditor } from './plus/walletEditor';
|
|
71
|
-
export { default as WalletPassGallery } from './plus/walletPassGallery';
|
|
72
|
-
export { default as SettingsRegistry } from './components/systemSettings/registry';
|
|
73
|
-
export { default as Selector } from './pro/Selector';
|
|
74
|
-
export { default as SelectHolder } from './plus/selectHolder';
|
|
75
|
-
export { default as HolderList } from './plus/selectHolder/components/HolderList';
|
|
76
|
-
export { default as WalletPassDetail } from './plus/walletPassGallery/components/passDetail';
|
|
77
|
-
export { default as WebPosLogin } from './plus/webPosLogin';
|
|
78
|
-
export { default as PaymentModal } from './components/checkout/plugin';
|
|
79
|
-
export { default as SKUOptionsSelection } from './plus/skuOptionsSelection';
|
|
80
|
-
export { default as SaasRole } from './plus/saasRole';
|
|
81
|
-
export { default as SaasTeamMembers } from './plus/saasTeamMembers';
|
|
82
|
-
export type { SaasTeamMembersProps } from './plus/saasTeamMembers/type';
|
|
83
|
-
export { default as KioskSkuDetail } from './components/kioskSkuDetail';
|
|
84
|
-
export { default as SaasAttendance } from './plus/saasAttendance';
|
|
85
|
-
export { default as PisellSalesGrid } from './plus/pisellSalesGrid';
|
|
86
|
-
export { default as EcoCupProject } from './components/ecocup/cupProject';
|
|
87
|
-
export { default as EcoCupList } from './components/ecocup/cupList';
|
|
88
|
-
export { default as EcoCustomerList } from './components/ecocup/customerList';
|
|
89
|
-
export { default as OrderList } from './plus/orderList';
|
|
90
|
-
export { default as TicketBookingDialog } from './components/ticketBooking/dialog';
|
|
91
|
-
export { default as pisellSalesManagement } from './plus/pisellSalesManagement';
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
en: {
|
|
3
|
-
'pisell2.text.note': string;
|
|
4
|
-
'pisell2.text.note.modal.title': string;
|
|
5
|
-
'pisell2.text.note.modal.btn.confirm': string;
|
|
6
|
-
'pisell2.text.note.modal.btn.cancel': string;
|
|
7
|
-
'pisell2.text.note.modal.btn.delete': string;
|
|
8
|
-
'pisell2.text.note.modal.btn.add.template': string;
|
|
9
|
-
'pisell2.text.note.modal.placeholder': string;
|
|
10
|
-
'pisell2.text.note.modal.add.template.title': string;
|
|
11
|
-
};
|
|
12
|
-
'zh-CN': {
|
|
13
|
-
'pisell2.text.note': string;
|
|
14
|
-
'pisell2.text.note.modal.title': string;
|
|
15
|
-
'pisell2.text.note.modal.btn.confirm': string;
|
|
16
|
-
'pisell2.text.note.modal.btn.cancel': string;
|
|
17
|
-
'pisell2.text.note.modal.btn.delete': string;
|
|
18
|
-
'pisell2.text.note.modal.btn.add.template': string;
|
|
19
|
-
'pisell2.text.note.modal.placeholder': string;
|
|
20
|
-
'pisell2.text.note.modal.add.template.title': string;
|
|
21
|
-
};
|
|
22
|
-
'zh-HK': {
|
|
23
|
-
'pisell2.text.note': string;
|
|
24
|
-
'pisell2.text.note.modal.title': string;
|
|
25
|
-
'pisell2.text.note.modal.btn.confirm': string;
|
|
26
|
-
'pisell2.text.note.modal.btn.cancel': string;
|
|
27
|
-
'pisell2.text.note.modal.btn.delete': string;
|
|
28
|
-
'pisell2.text.note.modal.btn.add.template': string;
|
|
29
|
-
'pisell2.text.note.modal.placeholder': string;
|
|
30
|
-
'pisell2.text.note.modal.add.template.title': string;
|
|
31
|
-
};
|
|
32
|
-
ja: {
|
|
33
|
-
'pisell2.text.note': string;
|
|
34
|
-
'pisell2.text.note.modal.title': string;
|
|
35
|
-
'pisell2.text.note.modal.btn.confirm': string;
|
|
36
|
-
'pisell2.text.note.modal.btn.cancel': string;
|
|
37
|
-
'pisell2.text.note.modal.btn.delete': string;
|
|
38
|
-
'pisell2.text.note.modal.btn.add.template': string;
|
|
39
|
-
'pisell2.text.note.modal.placeholder': string;
|
|
40
|
-
'pisell2.text.note.modal.add.template.title': string;
|
|
41
|
-
};
|
|
42
|
-
pt: {
|
|
43
|
-
'pisell2.text.note': string;
|
|
44
|
-
'pisell2.text.note.modal.title': string;
|
|
45
|
-
'pisell2.text.note.modal.btn.confirm': string;
|
|
46
|
-
'pisell2.text.note.modal.btn.cancel': string;
|
|
47
|
-
'pisell2.text.note.modal.btn.delete': string;
|
|
48
|
-
'pisell2.text.note.modal.btn.add.template': string;
|
|
49
|
-
'pisell2.text.note.modal.placeholder': string;
|
|
50
|
-
'pisell2.text.note.modal.add.template.title': string;
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
export default _default;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface NoteModalProps {
|
|
3
|
-
/** 是否显示弹窗 */
|
|
4
|
-
open?: boolean;
|
|
5
|
-
/** 弹窗标题 */
|
|
6
|
-
title?: string;
|
|
7
|
-
/** 初始内容 */
|
|
8
|
-
value?: string;
|
|
9
|
-
/** 确认回调 */
|
|
10
|
-
onConfirm?: (value: string) => void;
|
|
11
|
-
/** 删除回调 */
|
|
12
|
-
onDelete?: () => void;
|
|
13
|
-
/** 取消回调 */
|
|
14
|
-
onCancel?: () => void;
|
|
15
|
-
/** 弹窗层级 */
|
|
16
|
-
zIndex?: number;
|
|
17
|
-
}
|
|
18
|
-
export interface NoteModalComponent extends React.FC<NoteModalProps> {
|
|
19
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import '../components/TabsStructure/TabsStructure.less';
|
|
3
|
-
import CategorySkeleton from './CategorySkeleton';
|
|
4
|
-
declare type TabItem = {
|
|
5
|
-
key: string;
|
|
6
|
-
label: React.ReactNode;
|
|
7
|
-
icon?: React.ReactNode;
|
|
8
|
-
};
|
|
9
|
-
interface IProps {
|
|
10
|
-
className?: string;
|
|
11
|
-
items: TabItem[];
|
|
12
|
-
activeKey: string;
|
|
13
|
-
onChange: (key: string) => void;
|
|
14
|
-
loading?: boolean;
|
|
15
|
-
skeleton?: React.ReactNode;
|
|
16
|
-
style?: React.CSSProperties;
|
|
17
|
-
id?: string;
|
|
18
|
-
}
|
|
19
|
-
declare const CategoryTabs: React.ForwardRefExoticComponent<IProps & React.RefAttributes<unknown>>;
|
|
20
|
-
export default CategoryTabs;
|
|
21
|
-
export { CategorySkeleton };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { SkuStatusOverlayConfig } from '../../type';
|
|
3
|
-
import './index.less';
|
|
4
|
-
declare const CardMask: ({ props }: {
|
|
5
|
-
props: SkuStatusOverlayConfig;
|
|
6
|
-
}) => string | number | true | React.ReactFragment | JSX.Element | null;
|
|
7
|
-
export default CardMask;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ProductCardConfig } from '../../type';
|
|
3
|
-
import './index.less';
|
|
4
|
-
declare const Countdown: ({ props }: {
|
|
5
|
-
props: ProductCardConfig;
|
|
6
|
-
}) => string | number | true | React.ReactFragment | JSX.Element | null;
|
|
7
|
-
export default Countdown;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const useDynamicComponents: () => {
|
|
3
|
-
renderComponent: (key: string, props: any) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
|
|
4
|
-
renderComponents: (props: any) => any;
|
|
5
|
-
componentMap: Record<string, React.ComponentType<any>>;
|
|
6
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const SkuCard: {
|
|
3
|
-
(props: any): JSX.Element | null;
|
|
4
|
-
A1: (props: any) => JSX.Element;
|
|
5
|
-
A2: (props: any) => JSX.Element;
|
|
6
|
-
A5: (props: any) => JSX.Element;
|
|
7
|
-
A9: (props: any) => JSX.Element;
|
|
8
|
-
};
|
|
9
|
-
export default SkuCard;
|