@pisell/private-materials 6.11.49 → 6.11.51
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/Sales/Cart/utils.d.ts +68 -0
- package/es/components/Sales/Checkout/utils.d.ts +41 -0
- package/es/components/Sales/Summary/index.d.ts +37 -0
- package/es/components/Sales/Summary/utils.d.ts +58 -0
- package/es/components/appointmentBooking/locales.d.ts +606 -0
- package/es/components/booking/addons/model.d.ts +10 -1
- package/es/components/booking/components/voucher/utils.d.ts +4 -0
- package/es/components/booking/dashboard/serve.d.ts +2 -0
- package/es/components/booking/editBookingModal/utils.d.ts +12 -0
- package/es/components/booking/forms/model.d.ts +10 -1
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
- package/es/components/booking/forms/serve.d.ts +18 -0
- package/es/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
- package/es/components/booking/hooks/usePromotion.js +25 -20
- package/es/components/booking/info/client/serve.d.ts +2 -0
- package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/es/components/booking/info/hooks/useHolderConfig.d.ts +10 -0
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
- package/es/components/booking/info/model.d.ts +10 -1
- package/es/components/booking/info/pet/serve.d.ts +1 -0
- package/es/components/booking/info/service/Lists.js +11 -1
- package/es/components/booking/info/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
- package/es/components/booking/info/service/editService/constants.d.ts +1 -0
- package/es/components/booking/info/service/serve.d.ts +34 -0
- package/es/components/booking/info/service/serviceManager/distributeDiscount.d.ts +0 -5
- package/es/components/booking/info/service/serviceManager/distributeDiscount.js +3 -26
- package/es/components/booking/info/service2/Group/utils.js +0 -8
- package/es/components/booking/info/service2/utils.d.ts +1 -1
- package/es/components/booking/info2/cartClientCard/locales.d.ts +33 -0
- package/es/components/booking/info2/cartClientCard/types.d.ts +19 -0
- package/es/components/booking/info2/cartClientCard/utils.d.ts +3 -0
- package/es/components/booking/info2/model/index.d.ts +1 -0
- package/es/components/booking/info2/model/strategy/adapter/index.d.ts +7 -0
- package/es/components/booking/info2/model/strategy/adapter/promotion/evaluator.d.ts +185 -0
- package/es/components/booking/info2/model/strategy/adapter/promotion/type.d.ts +420 -0
- package/es/components/booking/info2/model/strategy/adapter/type.d.ts +28 -0
- package/es/components/booking/info2/model/strategy/adapter/walletPass/evaluator.d.ts +84 -0
- package/es/components/booking/info2/model/strategy/adapter/walletPass/example.d.ts +4 -0
- package/es/components/booking/info2/model/strategy/adapter/walletPass/index.d.ts +32 -0
- package/es/components/booking/info2/model/strategy/adapter/walletPass/locales.d.ts +1 -0
- package/es/components/booking/info2/model/strategy/adapter/walletPass/type.d.ts +165 -0
- package/es/components/booking/info2/model/strategy/adapter/walletPass/utils.d.ts +50 -0
- package/es/components/booking/info2/model/strategy/index.d.ts +107 -0
- package/es/components/booking/info2/model/strategy/strategy-example.d.ts +5 -0
- package/es/components/booking/info2/model/strategy/type.d.ts +228 -0
- package/es/components/booking/info2/serve.d.ts +6 -0
- package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info2/service/editService/index.js +23 -2
- package/es/components/booking/info2/service/openNormalService.d.ts +37 -0
- package/es/components/booking/locales.d.ts +1586 -0
- package/es/components/booking/model.d.ts +9 -1
- package/es/components/booking/notes/model.d.ts +10 -1
- package/es/components/booking/payments/model.d.ts +10 -1
- package/es/components/checkout/components/AdditionalModule/locales.d.ts +58 -0
- package/es/components/checkout/components/PaymentResultToast/types.d.ts +59 -0
- package/es/components/checkout/components/PaymentResultToast/utils.d.ts +44 -0
- package/es/components/checkout/components/ScrollableList/index.d.ts +5 -0
- package/es/components/checkout/components/ScrollableList/types.d.ts +53 -0
- package/es/components/checkout/components/WalletPassModule/types.d.ts +134 -0
- package/es/components/checkout/constants.d.ts +2 -0
- package/es/components/checkout/hooks/usePaymentLogger.d.ts +2 -0
- package/es/components/checkout/locales.d.ts +856 -0
- package/es/components/checkout/styles.d.ts +67 -0
- package/es/components/checkout/types.d.ts +130 -0
- package/es/components/checkout/utils.d.ts +3 -0
- package/es/components/ecocup/components/CupActionModal/hooks.d.ts +5 -0
- package/es/components/ecocup/components/CupStatusModal/hooks.d.ts +36 -0
- package/es/components/ecocup/components/CustomerAndCupModal/hooks.d.ts +14 -0
- package/es/components/ecocup/components/SearchBar/const.d.ts +4 -0
- package/es/components/ecocup/components/SettingModal/const.d.ts +6 -0
- package/es/components/ecocup/cupList/const.d.ts +144 -0
- package/es/components/ecocup/cupProject/const.d.ts +7 -0
- package/es/components/ecocup/customerList/const.d.ts +44 -0
- package/es/components/ecocup/customerList/hooks/index.d.ts +3 -0
- package/es/components/ecocup/customerList/hooks/useColumns.d.ts +15 -0
- package/es/components/ecocup/customerList/hooks/useCustomerApi.d.ts +15 -0
- package/es/components/ecocup/hooks.d.ts +57 -0
- package/es/components/ecocup/locales.d.ts +653 -0
- package/es/components/ecocup/types.d.ts +103 -0
- package/es/components/ecocup/utils/download.d.ts +7 -0
- package/es/components/ecocup/utils/index.d.ts +2 -0
- package/es/components/ecocup/utils/scanListener.d.ts +20 -0
- package/es/components/eftpos/const.d.ts +64 -0
- package/es/components/eftpos/hooks.d.ts +34 -0
- package/es/components/eftpos/locales.d.ts +163 -0
- package/es/components/eftposPay/aggregatePayment/index.d.ts +3 -0
- package/es/components/eftposPay/aggregatePayment/types.d.ts +106 -0
- package/es/components/eftposPay/aggregatePayment/utils/payment.d.ts +139 -0
- package/es/components/eftposPay/amount.d.ts +1 -1
- package/es/components/eftposPay/const.d.ts +195 -0
- package/es/components/eftposPay/device.d.ts +1 -1
- package/es/components/eftposPay/hooks.d.ts +2 -2
- package/es/components/eftposPay/huifu/hooks.d.ts +25 -0
- package/es/components/eftposPay/huifu/types.d.ts +14 -0
- package/es/components/eftposPay/locales.d.ts +608 -0
- package/es/components/eftposPay/manufacturer.d.ts +8 -0
- package/es/components/eftposPay/store/index.d.ts +362 -0
- package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/es/components/eventBooking/components/Voucher/components/locales.d.ts +61 -0
- package/es/components/eventBooking/components/Voucher/hooks.d.ts +7 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
- package/es/components/kioskSkuDetail/locales.d.ts +43 -0
- package/es/components/list/TestResponsiveWrapper.d.ts +8 -0
- package/es/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +13 -0
- package/es/components/list/components/ListItemSkeleton/index.d.ts +2 -0
- package/es/components/list/components/ScrollLoader/ScrollLoader.d.ts +18 -0
- package/es/components/list/components/ScrollLoader/index.d.ts +2 -0
- package/es/components/list/components/Tab/Tab.d.ts +5 -0
- package/es/components/list/components/Tab/index.d.ts +2 -0
- package/es/components/list/components/Tab/types.d.ts +14 -0
- package/es/components/list/components/TabSkeleton/TabSkeleton.d.ts +11 -0
- package/es/components/list/components/TabSkeleton/index.d.ts +2 -0
- package/es/components/list/components/WaterfallList/WaterfallList.d.ts +33 -0
- package/es/components/list/components/WaterfallList/index.d.ts +2 -0
- package/es/components/list/hooks/useDevice.d.ts +24 -0
- package/es/components/list/hooks/useWaterfall.d.ts +34 -0
- package/es/components/list/locales.d.ts +108 -0
- package/es/components/list/types.d.ts +181 -0
- package/es/components/list/utils/getText.d.ts +53 -0
- package/es/components/list/utils/index.d.ts +19 -0
- package/es/components/pay/toB/components/Content/utils.d.ts +16 -0
- package/es/components/pay/toB/components/MX51/index.d.ts +3 -0
- package/es/components/pay/toB/hooks.d.ts +12 -0
- package/es/components/pay/toB/locales.d.ts +88 -0
- package/es/components/pay/toB/store/context.d.ts +3 -0
- package/es/components/pay/toB/store/hooks.d.ts +15 -0
- package/es/components/pay/toB/store/index.d.ts +3 -0
- package/es/components/pay/toB/store/provider.d.ts +4 -0
- package/es/components/pay/toB/types/index.d.ts +81 -0
- package/es/components/pay/toB/types/storeTypes.d.ts +143 -0
- package/es/components/pay/toC/PaymentList/utils.d.ts +36 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +7 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +3 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +3 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +4 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/index.d.ts +10 -0
- package/es/components/pay/toC/locales.d.ts +511 -0
- package/es/components/pay/toC/model.d.ts +9 -1
- package/es/components/pay/toC/utils.d.ts +2 -2
- package/es/components/pisellSelectCustomerModal/locales.d.ts +133 -0
- package/es/components/ruleSetting/locales.d.ts +78 -0
- package/es/components/schedules/locales.d.ts +143 -0
- package/es/components/schedules/model.d.ts +9 -1
- package/es/components/shoppingCart/Provider.d.ts +3 -0
- package/es/components/shoppingCart/locales.d.ts +93 -0
- package/es/components/shoppingCart/mock.d.ts +54 -0
- package/es/components/shoppingCart/type.d.ts +58 -0
- package/es/components/subTotal/locales.d.ts +71 -0
- package/es/components/systemSettings/registry/locales.d.ts +525 -0
- package/es/components/systemSettings/registry/services.d.ts +97 -0
- package/es/components/systemSettings/registry/types.d.ts +139 -0
- package/es/components/taxSelect/locales.d.ts +38 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +115 -0
- package/es/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +6 -0
- package/es/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
- package/es/components/ticketBooking/context/IsActiveContext.d.ts +26 -0
- package/es/components/ticketBooking/context/OsKeyContext.d.ts +29 -0
- package/es/components/ticketBooking/context/index.d.ts +2 -0
- package/es/components/ticketBooking/hooks/pisellos/index.d.ts +4 -0
- package/es/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +21 -0
- package/es/components/ticketBooking/hooks/pisellos/useCartChangeEffect.d.ts +5 -0
- package/es/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +25 -0
- package/es/components/ticketBooking/hooks/pisellos/useProducts.d.ts +16 -0
- package/es/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +6 -0
- package/es/components/ticketBooking/locales.d.ts +340 -0
- package/es/components/ticketBooking/utils/edit.d.ts +1 -0
- package/es/components/ticketBooking/utils/productCache.d.ts +75 -0
- package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
- package/es/components/workSpaceList/components/Card/constants.d.ts +2 -0
- package/es/hooks/printer.d.ts +4 -0
- package/es/hooks/useEngineContext.d.ts +4 -0
- package/es/hooks/useLocale.d.ts +2 -0
- package/es/hooks/useLogger.d.ts +2 -0
- package/es/hooks/usePaymentLogger.d.ts +1 -0
- package/es/hooks/useThemeTokens.d.ts +7 -0
- package/es/hooks/useToast.d.ts +2 -0
- package/es/hooks/useWindowSize.d.ts +5 -0
- package/es/plus/clientCard/types.d.ts +135 -0
- package/es/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
- package/es/plus/noteModal/locales.d.ts +53 -0
- package/es/plus/noteModal/types.d.ts +19 -0
- package/es/plus/orderList/config.d.ts +2 -2
- package/es/plus/orderList/locales.d.ts +618 -0
- package/es/plus/pisellSalesGrid/locales.d.ts +9 -0
- package/es/plus/pisellSalesGrid/types.d.ts +170 -0
- package/es/plus/pisellSalesManagement/config/booking.d.ts +7 -6
- package/es/plus/pisellSalesManagement/hooks/perspectiveUtils.d.ts +15 -0
- package/es/plus/pisellSalesManagement/locales.d.ts +303 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +7 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +7 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +7 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +7 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +4 -0
- package/es/plus/productSelect/ProductCard/SkuCard/locales.d.ts +68 -0
- package/es/plus/productSelect/ProductCard/SkuCard/status.d.ts +173 -0
- package/es/plus/productSelect/ProductCard/SkuCard/type.d.ts +298 -0
- package/es/plus/productSelect/ProductCard/SkuCard/utils.d.ts +9 -0
- package/es/plus/productSelect/ProductCard/utils.d.ts +49 -0
- package/es/plus/productSelect/ProductList/gridComponents.d.ts +46 -0
- package/es/plus/productSelect/ProductList/index.d.ts +22 -0
- package/es/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
- package/es/plus/saasAttendance/locales.d.ts +591 -0
- package/es/plus/saasAttendance/settings/types.d.ts +136 -0
- package/es/plus/saasTeamMembers/locales.d.ts +546 -0
- package/es/plus/selectHolder/locales.d.ts +38 -0
- package/es/plus/skuOptionsSelection/hooks/index.d.ts +3 -0
- package/es/plus/skuOptionsSelection/hooks/useLanguage.d.ts +2 -0
- package/es/plus/skuOptionsSelection/hooks/useStore.d.ts +2 -0
- package/es/plus/skuOptionsSelection/hooks/useSymbol.d.ts +2 -0
- package/es/plus/skuOptionsSelection/locales.d.ts +53 -0
- package/es/plus/skuOptionsSelection/store/actions.d.ts +22 -0
- package/es/plus/skuOptionsSelection/store/createStore.d.ts +15 -0
- package/es/plus/skuOptionsSelection/store/index.d.ts +2 -0
- package/es/plus/skuOptionsSelection/store/store.d.ts +4 -0
- package/es/plus/skuOptionsSelection/types.d.ts +445 -0
- package/es/plus/skuOptionsSelection/utils/calculateOption.d.ts +6 -0
- package/es/plus/skuOptionsSelection/utils/checkSkuStatus.d.ts +37 -0
- package/es/plus/skuOptionsSelection/utils/index.d.ts +7 -0
- package/es/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
- package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
- package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
- package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
- package/es/plus/webPosLogin/components/MediaDisplay/type.d.ts +54 -0
- package/es/plus/webPosLogin/locales.d.ts +92 -0
- package/es/plus/webPosLogin/types.d.ts +288 -0
- package/es/pro/Cards/components/SKUCard/locales.d.ts +12 -0
- package/es/pro/Cards/components/SKUCard/types.d.ts +73 -0
- package/es/pro/Login2.0/locales.d.ts +903 -0
- package/es/pro/Login2.0/shared/types.d.ts +234 -0
- package/es/pro/NumberKeyboardPopover/types.d.ts +31 -0
- package/es/pro/Selector/BatchSelectorDemo.d.ts +3 -0
- package/es/pro/Selector/Selector.d.ts +1 -1
- package/es/pro/Selector/Selector.stories.d.ts +78 -0
- package/es/pro/Selector/components/Card/index.d.ts +57 -0
- package/es/pro/Selector/components/Card/types.d.ts +1 -0
- package/es/pro/Selector/components/Indicator/index.d.ts +20 -0
- package/es/pro/Selector/components/IntersectionObserver.d.ts +105 -0
- package/es/pro/Selector/components/LayoutContainer/index.d.ts +18 -0
- package/es/pro/Selector/components/Media/index.d.ts +6 -0
- package/es/pro/Selector/components/Media/types.d.ts +47 -0
- package/es/pro/Selector/components/index.d.ts +4 -0
- package/es/pro/Selector/demo.d.ts +3 -0
- package/es/pro/Selector/hooks/usePresetItemProps.d.ts +43 -0
- package/es/pro/Selector/hooks/usePresetProps.d.ts +24 -0
- package/es/pro/Selector/locales.d.ts +58 -0
- package/es/pro/Selector/types.d.ts +223 -0
- package/es/pro/Selector/utils/index.d.ts +49 -0
- package/es/pro/keyboards/locales.d.ts +38 -0
- package/es/pro/keyboards/numberKeyboard/types.d.ts +63 -0
- package/es/pro/multiDayTimeSelect/types.d.ts +28 -0
- package/es/pro/pisellPriceKeyboardModal/types.d.ts +25 -0
- package/es/pro/pisellPriceKeyboardPopover/index.d.ts +2 -0
- package/es/pro/pisellPriceKeyboardPopover/types.d.ts +33 -0
- package/es/pro/pisellSimplePriceKeyboardPopover/types.d.ts +33 -0
- package/es/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +63 -0
- package/es/pro/priceKeyboard/components/cashKeyboard/types.d.ts +98 -0
- package/es/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +68 -0
- package/es/pro/priceKeyboard/components/discountKeyboard/types.d.ts +17 -0
- package/es/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +73 -0
- package/es/pro/priceKeyboard/components/paymentKeyboard/types.d.ts +39 -0
- package/es/pro/priceKeyboard/components/shortcuts/index.d.ts +18 -0
- package/es/pro/skuDetailModal/locales.d.ts +159 -0
- package/es/pro/skuDetailModal/types.d.ts +395 -0
- package/es/pro/skuDetailModal/utils.d.ts +4 -0
- package/es/test/setup.d.ts +1 -0
- package/lib/components/Sales/Cart/utils.d.ts +68 -0
- package/lib/components/Sales/Checkout/utils.d.ts +41 -0
- package/lib/components/Sales/Summary/index.d.ts +37 -0
- package/lib/components/Sales/Summary/utils.d.ts +58 -0
- package/lib/components/appointmentBooking/locales.d.ts +606 -0
- package/lib/components/booking/addons/model.d.ts +10 -1
- package/lib/components/booking/components/voucher/utils.d.ts +4 -0
- package/lib/components/booking/dashboard/serve.d.ts +2 -0
- package/lib/components/booking/editBookingModal/utils.d.ts +12 -0
- package/lib/components/booking/forms/model.d.ts +10 -1
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
- package/lib/components/booking/forms/serve.d.ts +18 -0
- package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
- package/lib/components/booking/hooks/usePromotion.js +16 -13
- package/lib/components/booking/info/client/serve.d.ts +2 -0
- package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/lib/components/booking/info/hooks/useHolderConfig.d.ts +10 -0
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
- package/lib/components/booking/info/model.d.ts +10 -1
- package/lib/components/booking/info/pet/serve.d.ts +1 -0
- package/lib/components/booking/info/service/Lists.js +11 -3
- package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
- package/lib/components/booking/info/service/editService/constants.d.ts +1 -0
- package/lib/components/booking/info/service/serve.d.ts +34 -0
- package/lib/components/booking/info/service/serviceManager/distributeDiscount.d.ts +0 -5
- package/lib/components/booking/info/service/serviceManager/distributeDiscount.js +6 -29
- package/lib/components/booking/info/service2/Group/utils.js +0 -8
- package/lib/components/booking/info/service2/utils.d.ts +1 -1
- package/lib/components/booking/info2/cartClientCard/locales.d.ts +33 -0
- package/lib/components/booking/info2/cartClientCard/types.d.ts +19 -0
- package/lib/components/booking/info2/cartClientCard/utils.d.ts +3 -0
- package/lib/components/booking/info2/model/index.d.ts +1 -0
- package/lib/components/booking/info2/model/strategy/adapter/index.d.ts +7 -0
- package/lib/components/booking/info2/model/strategy/adapter/promotion/evaluator.d.ts +185 -0
- package/lib/components/booking/info2/model/strategy/adapter/promotion/type.d.ts +420 -0
- package/lib/components/booking/info2/model/strategy/adapter/type.d.ts +28 -0
- package/lib/components/booking/info2/model/strategy/adapter/walletPass/evaluator.d.ts +84 -0
- package/lib/components/booking/info2/model/strategy/adapter/walletPass/example.d.ts +4 -0
- package/lib/components/booking/info2/model/strategy/adapter/walletPass/index.d.ts +32 -0
- package/lib/components/booking/info2/model/strategy/adapter/walletPass/locales.d.ts +1 -0
- package/lib/components/booking/info2/model/strategy/adapter/walletPass/type.d.ts +165 -0
- package/lib/components/booking/info2/model/strategy/adapter/walletPass/utils.d.ts +50 -0
- package/lib/components/booking/info2/model/strategy/index.d.ts +107 -0
- package/lib/components/booking/info2/model/strategy/strategy-example.d.ts +5 -0
- package/lib/components/booking/info2/model/strategy/type.d.ts +228 -0
- package/lib/components/booking/info2/serve.d.ts +6 -0
- package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/editService/index.js +22 -8
- package/lib/components/booking/info2/service/openNormalService.d.ts +37 -0
- package/lib/components/booking/locales.d.ts +1586 -0
- package/lib/components/booking/model.d.ts +9 -1
- package/lib/components/booking/notes/model.d.ts +10 -1
- package/lib/components/booking/payments/model.d.ts +10 -1
- package/lib/components/checkout/components/AdditionalModule/locales.d.ts +58 -0
- package/lib/components/checkout/components/PaymentResultToast/types.d.ts +59 -0
- package/lib/components/checkout/components/PaymentResultToast/utils.d.ts +44 -0
- package/lib/components/checkout/components/ScrollableList/index.d.ts +5 -0
- package/lib/components/checkout/components/ScrollableList/types.d.ts +53 -0
- package/lib/components/checkout/components/WalletPassModule/types.d.ts +134 -0
- package/lib/components/checkout/constants.d.ts +2 -0
- package/lib/components/checkout/hooks/usePaymentLogger.d.ts +2 -0
- package/lib/components/checkout/locales.d.ts +856 -0
- package/lib/components/checkout/styles.d.ts +67 -0
- package/lib/components/checkout/types.d.ts +130 -0
- package/lib/components/checkout/utils.d.ts +3 -0
- package/lib/components/ecocup/components/CupActionModal/hooks.d.ts +5 -0
- package/lib/components/ecocup/components/CupStatusModal/hooks.d.ts +36 -0
- package/lib/components/ecocup/components/CustomerAndCupModal/hooks.d.ts +14 -0
- package/lib/components/ecocup/components/SearchBar/const.d.ts +4 -0
- package/lib/components/ecocup/components/SettingModal/const.d.ts +6 -0
- package/lib/components/ecocup/cupList/const.d.ts +144 -0
- package/lib/components/ecocup/cupProject/const.d.ts +7 -0
- package/lib/components/ecocup/customerList/const.d.ts +44 -0
- package/lib/components/ecocup/customerList/hooks/index.d.ts +3 -0
- package/lib/components/ecocup/customerList/hooks/useColumns.d.ts +15 -0
- package/lib/components/ecocup/customerList/hooks/useCustomerApi.d.ts +15 -0
- package/lib/components/ecocup/hooks.d.ts +57 -0
- package/lib/components/ecocup/locales.d.ts +653 -0
- package/lib/components/ecocup/types.d.ts +103 -0
- package/lib/components/ecocup/utils/download.d.ts +7 -0
- package/lib/components/ecocup/utils/index.d.ts +2 -0
- package/lib/components/ecocup/utils/scanListener.d.ts +20 -0
- package/lib/components/eftpos/const.d.ts +64 -0
- package/lib/components/eftpos/hooks.d.ts +34 -0
- package/lib/components/eftpos/locales.d.ts +163 -0
- package/lib/components/eftposPay/aggregatePayment/index.d.ts +3 -0
- package/lib/components/eftposPay/aggregatePayment/types.d.ts +106 -0
- package/lib/components/eftposPay/aggregatePayment/utils/payment.d.ts +139 -0
- package/lib/components/eftposPay/amount.d.ts +1 -1
- package/lib/components/eftposPay/const.d.ts +195 -0
- package/lib/components/eftposPay/device.d.ts +1 -1
- package/lib/components/eftposPay/hooks.d.ts +2 -2
- package/lib/components/eftposPay/huifu/hooks.d.ts +25 -0
- package/lib/components/eftposPay/huifu/types.d.ts +14 -0
- package/lib/components/eftposPay/locales.d.ts +608 -0
- package/lib/components/eftposPay/manufacturer.d.ts +8 -0
- package/lib/components/eftposPay/store/index.d.ts +362 -0
- package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/lib/components/eventBooking/components/Voucher/components/locales.d.ts +61 -0
- package/lib/components/eventBooking/components/Voucher/hooks.d.ts +7 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
- package/lib/components/kioskSkuDetail/locales.d.ts +43 -0
- package/lib/components/list/TestResponsiveWrapper.d.ts +8 -0
- package/lib/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +13 -0
- package/lib/components/list/components/ListItemSkeleton/index.d.ts +2 -0
- package/lib/components/list/components/ScrollLoader/ScrollLoader.d.ts +18 -0
- package/lib/components/list/components/ScrollLoader/index.d.ts +2 -0
- package/lib/components/list/components/Tab/Tab.d.ts +5 -0
- package/lib/components/list/components/Tab/index.d.ts +2 -0
- package/lib/components/list/components/Tab/types.d.ts +14 -0
- package/lib/components/list/components/TabSkeleton/TabSkeleton.d.ts +11 -0
- package/lib/components/list/components/TabSkeleton/index.d.ts +2 -0
- package/lib/components/list/components/WaterfallList/WaterfallList.d.ts +33 -0
- package/lib/components/list/components/WaterfallList/index.d.ts +2 -0
- package/lib/components/list/hooks/useDevice.d.ts +24 -0
- package/lib/components/list/hooks/useWaterfall.d.ts +34 -0
- package/lib/components/list/locales.d.ts +108 -0
- package/lib/components/list/types.d.ts +181 -0
- package/lib/components/list/utils/getText.d.ts +53 -0
- package/lib/components/list/utils/index.d.ts +19 -0
- package/lib/components/pay/toB/components/Content/utils.d.ts +16 -0
- package/lib/components/pay/toB/components/MX51/index.d.ts +3 -0
- package/lib/components/pay/toB/hooks.d.ts +12 -0
- package/lib/components/pay/toB/locales.d.ts +88 -0
- package/lib/components/pay/toB/store/context.d.ts +3 -0
- package/lib/components/pay/toB/store/hooks.d.ts +15 -0
- package/lib/components/pay/toB/store/index.d.ts +3 -0
- package/lib/components/pay/toB/store/provider.d.ts +4 -0
- package/lib/components/pay/toB/types/index.d.ts +81 -0
- package/lib/components/pay/toB/types/storeTypes.d.ts +143 -0
- package/lib/components/pay/toC/PaymentList/utils.d.ts +36 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +7 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +3 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +3 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +4 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/index.d.ts +10 -0
- package/lib/components/pay/toC/locales.d.ts +511 -0
- package/lib/components/pay/toC/model.d.ts +9 -1
- package/lib/components/pay/toC/utils.d.ts +2 -2
- package/lib/components/pisellSelectCustomerModal/locales.d.ts +133 -0
- package/lib/components/ruleSetting/locales.d.ts +78 -0
- package/lib/components/schedules/locales.d.ts +143 -0
- package/lib/components/schedules/model.d.ts +9 -1
- package/lib/components/shoppingCart/Provider.d.ts +3 -0
- package/lib/components/shoppingCart/locales.d.ts +93 -0
- package/lib/components/shoppingCart/mock.d.ts +54 -0
- package/lib/components/shoppingCart/type.d.ts +58 -0
- package/lib/components/subTotal/locales.d.ts +71 -0
- package/lib/components/systemSettings/registry/locales.d.ts +525 -0
- package/lib/components/systemSettings/registry/services.d.ts +97 -0
- package/lib/components/systemSettings/registry/types.d.ts +139 -0
- package/lib/components/taxSelect/locales.d.ts +38 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +115 -0
- package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +6 -0
- package/lib/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
- package/lib/components/ticketBooking/context/IsActiveContext.d.ts +26 -0
- package/lib/components/ticketBooking/context/OsKeyContext.d.ts +29 -0
- package/lib/components/ticketBooking/context/index.d.ts +2 -0
- package/lib/components/ticketBooking/hooks/pisellos/index.d.ts +4 -0
- package/lib/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +21 -0
- package/lib/components/ticketBooking/hooks/pisellos/useCartChangeEffect.d.ts +5 -0
- package/lib/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +25 -0
- package/lib/components/ticketBooking/hooks/pisellos/useProducts.d.ts +16 -0
- package/lib/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +6 -0
- package/lib/components/ticketBooking/locales.d.ts +340 -0
- package/lib/components/ticketBooking/utils/edit.d.ts +1 -0
- package/lib/components/ticketBooking/utils/productCache.d.ts +75 -0
- package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
- package/lib/components/workSpaceList/components/Card/constants.d.ts +2 -0
- package/lib/hooks/printer.d.ts +4 -0
- package/lib/hooks/useEngineContext.d.ts +4 -0
- package/lib/hooks/useLocale.d.ts +2 -0
- package/lib/hooks/useLogger.d.ts +2 -0
- package/lib/hooks/usePaymentLogger.d.ts +1 -0
- package/lib/hooks/useThemeTokens.d.ts +7 -0
- package/lib/hooks/useToast.d.ts +2 -0
- package/lib/hooks/useWindowSize.d.ts +5 -0
- package/lib/plus/clientCard/types.d.ts +135 -0
- package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
- package/lib/plus/noteModal/locales.d.ts +53 -0
- package/lib/plus/noteModal/types.d.ts +19 -0
- package/lib/plus/orderList/config.d.ts +2 -2
- package/lib/plus/orderList/locales.d.ts +618 -0
- package/lib/plus/pisellSalesGrid/locales.d.ts +9 -0
- package/lib/plus/pisellSalesGrid/types.d.ts +170 -0
- package/lib/plus/pisellSalesManagement/config/booking.d.ts +7 -6
- package/lib/plus/pisellSalesManagement/hooks/perspectiveUtils.d.ts +15 -0
- package/lib/plus/pisellSalesManagement/locales.d.ts +303 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +7 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +7 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +7 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +7 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +4 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/locales.d.ts +68 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/status.d.ts +173 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/type.d.ts +298 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/utils.d.ts +9 -0
- package/lib/plus/productSelect/ProductCard/utils.d.ts +49 -0
- package/lib/plus/productSelect/ProductList/gridComponents.d.ts +46 -0
- package/lib/plus/productSelect/ProductList/index.d.ts +22 -0
- package/lib/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
- package/lib/plus/saasAttendance/locales.d.ts +591 -0
- package/lib/plus/saasAttendance/settings/types.d.ts +136 -0
- package/lib/plus/saasTeamMembers/locales.d.ts +546 -0
- package/lib/plus/selectHolder/locales.d.ts +38 -0
- package/lib/plus/skuOptionsSelection/hooks/index.d.ts +3 -0
- package/lib/plus/skuOptionsSelection/hooks/useLanguage.d.ts +2 -0
- package/lib/plus/skuOptionsSelection/hooks/useStore.d.ts +2 -0
- package/lib/plus/skuOptionsSelection/hooks/useSymbol.d.ts +2 -0
- package/lib/plus/skuOptionsSelection/locales.d.ts +53 -0
- package/lib/plus/skuOptionsSelection/store/actions.d.ts +22 -0
- package/lib/plus/skuOptionsSelection/store/createStore.d.ts +15 -0
- package/lib/plus/skuOptionsSelection/store/index.d.ts +2 -0
- package/lib/plus/skuOptionsSelection/store/store.d.ts +4 -0
- package/lib/plus/skuOptionsSelection/types.d.ts +445 -0
- package/lib/plus/skuOptionsSelection/utils/calculateOption.d.ts +6 -0
- package/lib/plus/skuOptionsSelection/utils/checkSkuStatus.d.ts +37 -0
- package/lib/plus/skuOptionsSelection/utils/index.d.ts +7 -0
- package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
- package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
- package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
- package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
- package/lib/plus/webPosLogin/components/MediaDisplay/type.d.ts +54 -0
- package/lib/plus/webPosLogin/locales.d.ts +92 -0
- package/lib/plus/webPosLogin/types.d.ts +288 -0
- package/lib/pro/Cards/components/SKUCard/locales.d.ts +12 -0
- package/lib/pro/Cards/components/SKUCard/types.d.ts +73 -0
- package/lib/pro/Login2.0/locales.d.ts +903 -0
- package/lib/pro/Login2.0/shared/types.d.ts +234 -0
- package/lib/pro/NumberKeyboardPopover/types.d.ts +31 -0
- package/lib/pro/Selector/BatchSelectorDemo.d.ts +3 -0
- package/lib/pro/Selector/Selector.d.ts +1 -1
- package/lib/pro/Selector/Selector.stories.d.ts +78 -0
- package/lib/pro/Selector/components/Card/index.d.ts +57 -0
- package/lib/pro/Selector/components/Card/types.d.ts +1 -0
- package/lib/pro/Selector/components/Indicator/index.d.ts +20 -0
- package/lib/pro/Selector/components/IntersectionObserver.d.ts +105 -0
- package/lib/pro/Selector/components/LayoutContainer/index.d.ts +18 -0
- package/lib/pro/Selector/components/Media/index.d.ts +6 -0
- package/lib/pro/Selector/components/Media/types.d.ts +47 -0
- package/lib/pro/Selector/components/index.d.ts +4 -0
- package/lib/pro/Selector/demo.d.ts +3 -0
- package/lib/pro/Selector/hooks/usePresetItemProps.d.ts +43 -0
- package/lib/pro/Selector/hooks/usePresetProps.d.ts +24 -0
- package/lib/pro/Selector/locales.d.ts +58 -0
- package/lib/pro/Selector/types.d.ts +223 -0
- package/lib/pro/Selector/utils/index.d.ts +49 -0
- package/lib/pro/keyboards/locales.d.ts +38 -0
- package/lib/pro/keyboards/numberKeyboard/types.d.ts +63 -0
- package/lib/pro/multiDayTimeSelect/types.d.ts +28 -0
- package/lib/pro/pisellPriceKeyboardModal/types.d.ts +25 -0
- package/lib/pro/pisellPriceKeyboardPopover/index.d.ts +2 -0
- package/lib/pro/pisellPriceKeyboardPopover/types.d.ts +33 -0
- package/lib/pro/pisellSimplePriceKeyboardPopover/types.d.ts +33 -0
- package/lib/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +63 -0
- package/lib/pro/priceKeyboard/components/cashKeyboard/types.d.ts +98 -0
- package/lib/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +68 -0
- package/lib/pro/priceKeyboard/components/discountKeyboard/types.d.ts +17 -0
- package/lib/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +73 -0
- package/lib/pro/priceKeyboard/components/paymentKeyboard/types.d.ts +39 -0
- package/lib/pro/priceKeyboard/components/shortcuts/index.d.ts +18 -0
- package/lib/pro/skuDetailModal/locales.d.ts +159 -0
- package/lib/pro/skuDetailModal/types.d.ts +395 -0
- package/lib/pro/skuDetailModal/utils.d.ts +4 -0
- package/lib/test/setup.d.ts +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1,340 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.ticket-booking.info': string;
|
|
4
|
+
'pisell2.ticket-booking.notes': string;
|
|
5
|
+
'pisell2.ticket-booking.note': string;
|
|
6
|
+
'pisell2.ticket-booking.forms': string;
|
|
7
|
+
'pisell2.ticket-booking.sales': string;
|
|
8
|
+
'pisell2.ticket-booking.payment': string;
|
|
9
|
+
'pisell2.ticket-booking.unsaved-changes': string;
|
|
10
|
+
'pisell2.ticket-booking.exit-confirm': string;
|
|
11
|
+
'pisell2.ticket-booking.go-back': string;
|
|
12
|
+
'pisell2.ticket-booking.exit': string;
|
|
13
|
+
'pisell2.ticket-booking.deposit': string;
|
|
14
|
+
'pisell2.ticket-booking.copy-success': string;
|
|
15
|
+
'pisell2.ticket-booking.no-data': string;
|
|
16
|
+
'pisell2.ticket-booking.authorized': string;
|
|
17
|
+
'pisell2.ticket-booking.paid': string;
|
|
18
|
+
'pisell2.ticket-booking.partially-paid': string;
|
|
19
|
+
'pisell2.ticket-booking.partially-refunded': string;
|
|
20
|
+
'pisell2.ticket-booking.payment-pending': string;
|
|
21
|
+
'pisell2.ticket-booking.refunded': string;
|
|
22
|
+
'pisell2.ticket-booking.unpaid': string;
|
|
23
|
+
'pisell2.ticket-booking.voided': string;
|
|
24
|
+
'pisell2.ticket-booking.pending': string;
|
|
25
|
+
'pisell2.ticket-booking.all': string;
|
|
26
|
+
'pisell2.ticket-booking.not-started': string;
|
|
27
|
+
'pisell2.ticket-booking.started': string;
|
|
28
|
+
'pisell2.ticket-booking.finished': string;
|
|
29
|
+
'pisell2.ticket-booking.canceled': string;
|
|
30
|
+
'pisell2.ticket-booking.inform': string;
|
|
31
|
+
'pisell2.ticket-booking.check-management': string;
|
|
32
|
+
'pisell2.ticket-booking.confirm': string;
|
|
33
|
+
'pisell2.ticket-booking.dashboard': string;
|
|
34
|
+
'pisell2.ticket-booking.booking-list': string;
|
|
35
|
+
'pisell2.ticket-booking.full-data': string;
|
|
36
|
+
'pisell2.ticket-booking.today': string;
|
|
37
|
+
'pisell2.ticket-booking.now': string;
|
|
38
|
+
'pisell2.ticket-booking.start-time': string;
|
|
39
|
+
'pisell2.ticket-booking.create-time': string;
|
|
40
|
+
'pisell2.ticket-booking.customer': string;
|
|
41
|
+
'pisell2.ticket-booking.total': string;
|
|
42
|
+
'pisell2.ticket-booking.search': string;
|
|
43
|
+
'pisell2.ticket-booking.refresh-success': string;
|
|
44
|
+
'pisell2.ticket-booking.loading': string;
|
|
45
|
+
'pisell2.ticket-booking.appointment-not-found': string;
|
|
46
|
+
'pisell2.ticket-booking.scan': string;
|
|
47
|
+
'pisell2.ticket-booking.create-new': string;
|
|
48
|
+
'pisell2.ticket-booking.add-to-cart': string;
|
|
49
|
+
'pisell2.ticket-booking.not-available-title': string;
|
|
50
|
+
'pisell2.ticket-booking.not-available-ok': string;
|
|
51
|
+
'pisell2.ticket-booking.in-cart': (number: number) => string;
|
|
52
|
+
'pisell2.product.card.cart-items': (number: number) => string;
|
|
53
|
+
'pisell2.ticket-booking.input-search-to-show-data': string;
|
|
54
|
+
'pisell2.product.card.subtotal': string;
|
|
55
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
56
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
57
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
58
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
59
|
+
'pisell2.ticket-booking.reload': string;
|
|
60
|
+
'pisell2.text.scan-global-failed': string;
|
|
61
|
+
'pisell2.ticket-booking.terminal-upgrade-title': string;
|
|
62
|
+
'pisell2.ticket-booking.terminal-upgrade-description': string;
|
|
63
|
+
'pisell2.ticket-booking.terminal-upgrade-ok': string;
|
|
64
|
+
'pisell2.ticket-booking.terminal-upgrade-cancel': string;
|
|
65
|
+
'pisell2.ticket-booking.collapse': string;
|
|
66
|
+
'pisell2.ticket-booking.expand': string;
|
|
67
|
+
'pisell2.product-select.search': string;
|
|
68
|
+
'pisell2.ticket-booking.business-not-supported.title': string;
|
|
69
|
+
'pisell2.ticket-booking.business-not-supported.content': string;
|
|
70
|
+
};
|
|
71
|
+
'zh-CN': {
|
|
72
|
+
'pisell2.ticket-booking.info': string;
|
|
73
|
+
'pisell2.ticket-booking.notes': string;
|
|
74
|
+
'pisell2.ticket-booking.note': string;
|
|
75
|
+
'pisell2.ticket-booking.forms': string;
|
|
76
|
+
'pisell2.ticket-booking.sales': string;
|
|
77
|
+
'pisell2.ticket-booking.payment': string;
|
|
78
|
+
'pisell2.ticket-booking.unsaved-changes': string;
|
|
79
|
+
'pisell2.ticket-booking.exit-confirm': string;
|
|
80
|
+
'pisell2.ticket-booking.go-back': string;
|
|
81
|
+
'pisell2.ticket-booking.exit': string;
|
|
82
|
+
'pisell2.ticket-booking.deposit': string;
|
|
83
|
+
'pisell2.ticket-booking.copy-success': string;
|
|
84
|
+
'pisell2.ticket-booking.no-data': string;
|
|
85
|
+
'pisell2.ticket-booking.authorized': string;
|
|
86
|
+
'pisell2.ticket-booking.paid': string;
|
|
87
|
+
'pisell2.ticket-booking.partially-paid': string;
|
|
88
|
+
'pisell2.ticket-booking.partially-refunded': string;
|
|
89
|
+
'pisell2.ticket-booking.payment-pending': string;
|
|
90
|
+
'pisell2.ticket-booking.refunded': string;
|
|
91
|
+
'pisell2.ticket-booking.unpaid': string;
|
|
92
|
+
'pisell2.ticket-booking.voided': string;
|
|
93
|
+
'pisell2.ticket-booking.pending': string;
|
|
94
|
+
'pisell2.ticket-booking.all': string;
|
|
95
|
+
'pisell2.ticket-booking.not-started': string;
|
|
96
|
+
'pisell2.ticket-booking.started': string;
|
|
97
|
+
'pisell2.ticket-booking.finished': string;
|
|
98
|
+
'pisell2.ticket-booking.canceled': string;
|
|
99
|
+
'pisell2.ticket-booking.inform': string;
|
|
100
|
+
'pisell2.ticket-booking.check-management': string;
|
|
101
|
+
'pisell2.ticket-booking.confirm': string;
|
|
102
|
+
'pisell2.ticket-booking.dashboard': string;
|
|
103
|
+
'pisell2.ticket-booking.booking-list': string;
|
|
104
|
+
'pisell2.ticket-booking.full-data': string;
|
|
105
|
+
'pisell2.ticket-booking.today': string;
|
|
106
|
+
'pisell2.ticket-booking.now': string;
|
|
107
|
+
'pisell2.ticket-booking.start-time': string;
|
|
108
|
+
'pisell2.ticket-booking.create-time': string;
|
|
109
|
+
'pisell2.ticket-booking.customer': string;
|
|
110
|
+
'pisell2.ticket-booking.total': string;
|
|
111
|
+
'pisell2.ticket-booking.search': string;
|
|
112
|
+
'pisell2.ticket-booking.refresh-success': string;
|
|
113
|
+
'pisell2.ticket-booking.loading': string;
|
|
114
|
+
'pisell2.ticket-booking.appointment-not-found': string;
|
|
115
|
+
'pisell2.ticket-booking.scan': string;
|
|
116
|
+
'pisell2.ticket-booking.create-new': string;
|
|
117
|
+
'pisell2.ticket-booking.add-to-cart': string;
|
|
118
|
+
'pisell2.ticket-booking.not-available-title': string;
|
|
119
|
+
'pisell2.ticket-booking.not-available-ok': string;
|
|
120
|
+
'pisell2.product.card.cart-items': (number: number) => string;
|
|
121
|
+
'pisell2.product.card.subtotal': string;
|
|
122
|
+
'pisell2.ticket-booking.in-cart': (number: number) => string;
|
|
123
|
+
'pisell2.ticket-booking.input-search-to-show-data': string;
|
|
124
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
125
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
126
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
127
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
128
|
+
'pisell2.ticket-booking.reload': string;
|
|
129
|
+
'pisell2.text.scan-global-failed': string;
|
|
130
|
+
'pisell2.ticket-booking.terminal-upgrade-title': string;
|
|
131
|
+
'pisell2.ticket-booking.terminal-upgrade-description': string;
|
|
132
|
+
'pisell2.ticket-booking.terminal-upgrade-ok': string;
|
|
133
|
+
'pisell2.ticket-booking.terminal-upgrade-cancel': string;
|
|
134
|
+
'pisell2.ticket-booking.collapse': string;
|
|
135
|
+
'pisell2.ticket-booking.expand': string;
|
|
136
|
+
'pisell2.product-select.search': string;
|
|
137
|
+
'pisell2.ticket-booking.business-not-supported.title': string;
|
|
138
|
+
'pisell2.ticket-booking.business-not-supported.content': string;
|
|
139
|
+
};
|
|
140
|
+
'zh-HK': {
|
|
141
|
+
'pisell2.ticket-booking.info': string;
|
|
142
|
+
'pisell2.ticket-booking.notes': string;
|
|
143
|
+
'pisell2.ticket-booking.note': string;
|
|
144
|
+
'pisell2.ticket-booking.forms': string;
|
|
145
|
+
'pisell2.ticket-booking.sales': string;
|
|
146
|
+
'pisell2.ticket-booking.payment': string;
|
|
147
|
+
'pisell2.ticket-booking.unsaved-changes': string;
|
|
148
|
+
'pisell2.ticket-booking.exit-confirm': string;
|
|
149
|
+
'pisell2.ticket-booking.go-back': string;
|
|
150
|
+
'pisell2.ticket-booking.exit': string;
|
|
151
|
+
'pisell2.ticket-booking.deposit': string;
|
|
152
|
+
'pisell2.ticket-booking.copy-success': string;
|
|
153
|
+
'pisell2.ticket-booking.no-data': string;
|
|
154
|
+
'pisell2.ticket-booking.authorized': string;
|
|
155
|
+
'pisell2.ticket-booking.paid': string;
|
|
156
|
+
'pisell2.ticket-booking.partially-paid': string;
|
|
157
|
+
'pisell2.ticket-booking.partially-refunded': string;
|
|
158
|
+
'pisell2.ticket-booking.payment-pending': string;
|
|
159
|
+
'pisell2.ticket-booking.refunded': string;
|
|
160
|
+
'pisell2.ticket-booking.unpaid': string;
|
|
161
|
+
'pisell2.ticket-booking.voided': string;
|
|
162
|
+
'pisell2.ticket-booking.pending': string;
|
|
163
|
+
'pisell2.ticket-booking.all': string;
|
|
164
|
+
'pisell2.ticket-booking.not-started': string;
|
|
165
|
+
'pisell2.ticket-booking.started': string;
|
|
166
|
+
'pisell2.ticket-booking.finished': string;
|
|
167
|
+
'pisell2.ticket-booking.canceled': string;
|
|
168
|
+
'pisell2.ticket-booking.inform': string;
|
|
169
|
+
'pisell2.ticket-booking.check-management': string;
|
|
170
|
+
'pisell2.ticket-booking.confirm': string;
|
|
171
|
+
'pisell2.ticket-booking.dashboard': string;
|
|
172
|
+
'pisell2.ticket-booking.booking-list': string;
|
|
173
|
+
'pisell2.ticket-booking.full-data': string;
|
|
174
|
+
'pisell2.ticket-booking.today': string;
|
|
175
|
+
'pisell2.ticket-booking.now': string;
|
|
176
|
+
'pisell2.ticket-booking.start-time': string;
|
|
177
|
+
'pisell2.ticket-booking.create-time': string;
|
|
178
|
+
'pisell2.ticket-booking.customer': string;
|
|
179
|
+
'pisell2.ticket-booking.total': string;
|
|
180
|
+
'pisell2.ticket-booking.search': string;
|
|
181
|
+
'pisell2.ticket-booking.refresh-success': string;
|
|
182
|
+
'pisell2.ticket-booking.loading': string;
|
|
183
|
+
'pisell2.ticket-booking.appointment-not-found': string;
|
|
184
|
+
'pisell2.ticket-booking.scan': string;
|
|
185
|
+
'pisell2.ticket-booking.create-new': string;
|
|
186
|
+
'pisell2.ticket-booking.add-to-cart': string;
|
|
187
|
+
'pisell2.ticket-booking.not-available-title': string;
|
|
188
|
+
'pisell2.ticket-booking.not-available-ok': string;
|
|
189
|
+
'pisell2.ticket-booking.in-cart': (number: number) => string;
|
|
190
|
+
'pisell2.product.card.cart-items': (number: number) => string;
|
|
191
|
+
'pisell2.product.card.subtotal': string;
|
|
192
|
+
'pisell2.ticket-booking.input-search-to-show-data': string;
|
|
193
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
194
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
195
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
196
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
197
|
+
'pisell2.ticket-booking.reload': string;
|
|
198
|
+
'pisell2.text.scan-global-failed': string;
|
|
199
|
+
'pisell2.ticket-booking.terminal-upgrade-title': string;
|
|
200
|
+
'pisell2.ticket-booking.terminal-upgrade-description': string;
|
|
201
|
+
'pisell2.ticket-booking.terminal-upgrade-ok': string;
|
|
202
|
+
'pisell2.ticket-booking.terminal-upgrade-cancel': string;
|
|
203
|
+
'pisell2.ticket-booking.collapse': string;
|
|
204
|
+
'pisell2.ticket-booking.expand': string;
|
|
205
|
+
'pisell2.product-select.search': string;
|
|
206
|
+
'pisell2.ticket-booking.business-not-supported.title': string;
|
|
207
|
+
'pisell2.ticket-booking.business-not-supported.content': string;
|
|
208
|
+
};
|
|
209
|
+
ja: {
|
|
210
|
+
'pisell2.ticket-booking.info': string;
|
|
211
|
+
'pisell2.ticket-booking.notes': string;
|
|
212
|
+
'pisell2.ticket-booking.note': string;
|
|
213
|
+
'pisell2.ticket-booking.forms': string;
|
|
214
|
+
'pisell2.ticket-booking.sales': string;
|
|
215
|
+
'pisell2.ticket-booking.payment': string;
|
|
216
|
+
'pisell2.ticket-booking.unsaved-changes': string;
|
|
217
|
+
'pisell2.ticket-booking.exit-confirm': string;
|
|
218
|
+
'pisell2.ticket-booking.go-back': string;
|
|
219
|
+
'pisell2.ticket-booking.exit': string;
|
|
220
|
+
'pisell2.ticket-booking.deposit': string;
|
|
221
|
+
'pisell2.ticket-booking.copy-success': string;
|
|
222
|
+
'pisell2.ticket-booking.no-data': string;
|
|
223
|
+
'pisell2.ticket-booking.authorized': string;
|
|
224
|
+
'pisell2.ticket-booking.paid': string;
|
|
225
|
+
'pisell2.ticket-booking.partially-paid': string;
|
|
226
|
+
'pisell2.ticket-booking.partially-refunded': string;
|
|
227
|
+
'pisell2.ticket-booking.payment-pending': string;
|
|
228
|
+
'pisell2.ticket-booking.refunded': string;
|
|
229
|
+
'pisell2.ticket-booking.unpaid': string;
|
|
230
|
+
'pisell2.ticket-booking.voided': string;
|
|
231
|
+
'pisell2.ticket-booking.pending': string;
|
|
232
|
+
'pisell2.ticket-booking.all': string;
|
|
233
|
+
'pisell2.ticket-booking.not-started': string;
|
|
234
|
+
'pisell2.ticket-booking.started': string;
|
|
235
|
+
'pisell2.ticket-booking.finished': string;
|
|
236
|
+
'pisell2.ticket-booking.canceled': string;
|
|
237
|
+
'pisell2.ticket-booking.inform': string;
|
|
238
|
+
'pisell2.ticket-booking.check-management': string;
|
|
239
|
+
'pisell2.ticket-booking.confirm': string;
|
|
240
|
+
'pisell2.ticket-booking.dashboard': string;
|
|
241
|
+
'pisell2.ticket-booking.booking-list': string;
|
|
242
|
+
'pisell2.ticket-booking.full-data': string;
|
|
243
|
+
'pisell2.ticket-booking.today': string;
|
|
244
|
+
'pisell2.ticket-booking.now': string;
|
|
245
|
+
'pisell2.ticket-booking.start-time': string;
|
|
246
|
+
'pisell2.ticket-booking.create-time': string;
|
|
247
|
+
'pisell2.ticket-booking.customer': string;
|
|
248
|
+
'pisell2.ticket-booking.total': string;
|
|
249
|
+
'pisell2.ticket-booking.search': string;
|
|
250
|
+
'pisell2.ticket-booking.refresh-success': string;
|
|
251
|
+
'pisell2.ticket-booking.loading': string;
|
|
252
|
+
'pisell2.ticket-booking.appointment-not-found': string;
|
|
253
|
+
'pisell2.ticket-booking.scan': string;
|
|
254
|
+
'pisell2.ticket-booking.create-new': string;
|
|
255
|
+
'pisell2.ticket-booking.add-to-cart': string;
|
|
256
|
+
'pisell2.ticket-booking.not-available-title': string;
|
|
257
|
+
'pisell2.ticket-booking.not-available-ok': string;
|
|
258
|
+
'pisell2.ticket-booking.in-cart': (number: number) => string;
|
|
259
|
+
'pisell2.product.card.cart-items': (number: number) => string;
|
|
260
|
+
'pisell2.product.card.subtotal': string;
|
|
261
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
262
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
263
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
264
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
265
|
+
'pisell2.ticket-booking.reload': string;
|
|
266
|
+
'pisell2.text.scan-global-failed': string;
|
|
267
|
+
'pisell2.ticket-booking.terminal-upgrade-title': string;
|
|
268
|
+
'pisell2.ticket-booking.terminal-upgrade-description': string;
|
|
269
|
+
'pisell2.ticket-booking.terminal-upgrade-ok': string;
|
|
270
|
+
'pisell2.ticket-booking.terminal-upgrade-cancel': string;
|
|
271
|
+
'pisell2.ticket-booking.collapse': string;
|
|
272
|
+
'pisell2.ticket-booking.expand': string;
|
|
273
|
+
};
|
|
274
|
+
pt: {
|
|
275
|
+
'pisell2.ticket-booking.info': string;
|
|
276
|
+
'pisell2.ticket-booking.notes': string;
|
|
277
|
+
'pisell2.ticket-booking.note': string;
|
|
278
|
+
'pisell2.ticket-booking.forms': string;
|
|
279
|
+
'pisell2.ticket-booking.sales': string;
|
|
280
|
+
'pisell2.ticket-booking.payment': string;
|
|
281
|
+
'pisell2.ticket-booking.unsaved-changes': string;
|
|
282
|
+
'pisell2.ticket-booking.exit-confirm': string;
|
|
283
|
+
'pisell2.ticket-booking.go-back': string;
|
|
284
|
+
'pisell2.ticket-booking.exit': string;
|
|
285
|
+
'pisell2.ticket-booking.deposit': string;
|
|
286
|
+
'pisell2.ticket-booking.copy-success': string;
|
|
287
|
+
'pisell2.ticket-booking.no-data': string;
|
|
288
|
+
'pisell2.ticket-booking.authorized': string;
|
|
289
|
+
'pisell2.ticket-booking.paid': string;
|
|
290
|
+
'pisell2.ticket-booking.partially-paid': string;
|
|
291
|
+
'pisell2.ticket-booking.partially-refunded': string;
|
|
292
|
+
'pisell2.ticket-booking.payment-pending': string;
|
|
293
|
+
'pisell2.ticket-booking.refunded': string;
|
|
294
|
+
'pisell2.ticket-booking.unpaid': string;
|
|
295
|
+
'pisell2.ticket-booking.voided': string;
|
|
296
|
+
'pisell2.ticket-booking.pending': string;
|
|
297
|
+
'pisell2.ticket-booking.all': string;
|
|
298
|
+
'pisell2.ticket-booking.not-started': string;
|
|
299
|
+
'pisell2.ticket-booking.started': string;
|
|
300
|
+
'pisell2.ticket-booking.finished': string;
|
|
301
|
+
'pisell2.ticket-booking.canceled': string;
|
|
302
|
+
'pisell2.ticket-booking.inform': string;
|
|
303
|
+
'pisell2.ticket-booking.check-management': string;
|
|
304
|
+
'pisell2.ticket-booking.confirm': string;
|
|
305
|
+
'pisell2.ticket-booking.dashboard': string;
|
|
306
|
+
'pisell2.ticket-booking.booking-list': string;
|
|
307
|
+
'pisell2.ticket-booking.full-data': string;
|
|
308
|
+
'pisell2.ticket-booking.today': string;
|
|
309
|
+
'pisell2.ticket-booking.now': string;
|
|
310
|
+
'pisell2.ticket-booking.start-time': string;
|
|
311
|
+
'pisell2.ticket-booking.create-time': string;
|
|
312
|
+
'pisell2.ticket-booking.customer': string;
|
|
313
|
+
'pisell2.ticket-booking.total': string;
|
|
314
|
+
'pisell2.ticket-booking.search': string;
|
|
315
|
+
'pisell2.ticket-booking.refresh-success': string;
|
|
316
|
+
'pisell2.ticket-booking.loading': string;
|
|
317
|
+
'pisell2.ticket-booking.appointment-not-found': string;
|
|
318
|
+
'pisell2.ticket-booking.scan': string;
|
|
319
|
+
'pisell2.ticket-booking.create-new': string;
|
|
320
|
+
'pisell2.ticket-booking.add-to-cart': string;
|
|
321
|
+
'pisell2.ticket-booking.not-available-title': string;
|
|
322
|
+
'pisell2.ticket-booking.not-available-ok': string;
|
|
323
|
+
'pisell2.ticket-booking.in-cart': (number: number) => string;
|
|
324
|
+
'pisell2.product.card.cart-items': (number: number) => string;
|
|
325
|
+
'pisell2.product.card.subtotal': string;
|
|
326
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
327
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
328
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
329
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
330
|
+
'pisell2.ticket-booking.reload': string;
|
|
331
|
+
'pisell2.text.scan-global-failed': string;
|
|
332
|
+
'pisell2.ticket-booking.terminal-upgrade-title': string;
|
|
333
|
+
'pisell2.ticket-booking.terminal-upgrade-description': string;
|
|
334
|
+
'pisell2.ticket-booking.terminal-upgrade-ok': string;
|
|
335
|
+
'pisell2.ticket-booking.terminal-upgrade-cancel': string;
|
|
336
|
+
'pisell2.ticket-booking.collapse': string;
|
|
337
|
+
'pisell2.ticket-booking.expand': string;
|
|
338
|
+
};
|
|
339
|
+
};
|
|
340
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const formatBookingDetail: (data: any, modalState: any) => any;
|
|
@@ -0,0 +1,75 @@
|
|
|
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;
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import React, { ReactElement } from 'react';
|
|
2
|
+
export interface ClientData {
|
|
3
|
+
id: number;
|
|
4
|
+
shop_id: number;
|
|
5
|
+
display_name?: string;
|
|
6
|
+
nickname?: string;
|
|
7
|
+
email?: string;
|
|
8
|
+
phone?: string;
|
|
9
|
+
country_calling_code?: string;
|
|
10
|
+
channel?: string;
|
|
11
|
+
created_at: string;
|
|
12
|
+
updated_at: string;
|
|
13
|
+
waiver_form?: any;
|
|
14
|
+
avatar?: string;
|
|
15
|
+
birthday?: string;
|
|
16
|
+
address?: string;
|
|
17
|
+
tags?: string[];
|
|
18
|
+
[key: string]: any;
|
|
19
|
+
}
|
|
20
|
+
export declare type CardType = 'b1' | 'b2' | 'b5' | 'b9';
|
|
21
|
+
export declare type Direction = 'horizontal' | 'vertical';
|
|
22
|
+
export declare type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | number | string;
|
|
23
|
+
export declare type AvatarShape = 'circle' | 'square';
|
|
24
|
+
export interface AvatarConfig {
|
|
25
|
+
icon?: string;
|
|
26
|
+
shape?: AvatarShape;
|
|
27
|
+
borderRadius?: number | string;
|
|
28
|
+
size?: AvatarSize;
|
|
29
|
+
useTextAvatar?: boolean;
|
|
30
|
+
children?: string;
|
|
31
|
+
}
|
|
32
|
+
export interface StatusConfig {
|
|
33
|
+
color?: string;
|
|
34
|
+
}
|
|
35
|
+
export interface NameStyle {
|
|
36
|
+
fontSize?: number | string;
|
|
37
|
+
fontWeight?: number | string;
|
|
38
|
+
color?: string;
|
|
39
|
+
textDecoration?: string;
|
|
40
|
+
}
|
|
41
|
+
export interface TagItem {
|
|
42
|
+
children: string;
|
|
43
|
+
color: string;
|
|
44
|
+
}
|
|
45
|
+
export interface TagConfig {
|
|
46
|
+
placement?: 'separate' | 'inline';
|
|
47
|
+
flexWrap?: 'nowrap' | 'wrap';
|
|
48
|
+
gap?: number | string;
|
|
49
|
+
}
|
|
50
|
+
export interface ExtraField {
|
|
51
|
+
label?: string;
|
|
52
|
+
value?: string;
|
|
53
|
+
isShowLabel?: boolean;
|
|
54
|
+
isShowValue?: boolean;
|
|
55
|
+
icon?: string;
|
|
56
|
+
iconSize?: number;
|
|
57
|
+
iconColor?: string;
|
|
58
|
+
}
|
|
59
|
+
export interface Slots {
|
|
60
|
+
top?: React.ReactNode;
|
|
61
|
+
bottom?: React.ReactNode;
|
|
62
|
+
left?: React.ReactNode;
|
|
63
|
+
right?: React.ReactNode;
|
|
64
|
+
}
|
|
65
|
+
export interface StyleConfig {
|
|
66
|
+
width?: number | string;
|
|
67
|
+
border?: 'solid' | 'unset';
|
|
68
|
+
borderWidth?: number | string;
|
|
69
|
+
borderColor?: string;
|
|
70
|
+
borderRadius?: number | string;
|
|
71
|
+
padding?: number | string;
|
|
72
|
+
[key: string]: any;
|
|
73
|
+
}
|
|
74
|
+
export interface FieldNames {
|
|
75
|
+
id?: string | ((data: any) => any);
|
|
76
|
+
name?: string | ((data: any) => any);
|
|
77
|
+
cover?: string | ((data: any) => any);
|
|
78
|
+
phone?: string | ((data: any) => any);
|
|
79
|
+
email?: string | ((data: any) => any);
|
|
80
|
+
birthday?: string | ((data: any) => any);
|
|
81
|
+
address?: string | ((data: any) => any);
|
|
82
|
+
tags?: string | ((data: any) => any);
|
|
83
|
+
[key: string]: string | ((data: any) => any) | undefined;
|
|
84
|
+
}
|
|
85
|
+
export interface DisplayConfig {
|
|
86
|
+
isShowAvatar?: boolean;
|
|
87
|
+
isShowName?: boolean;
|
|
88
|
+
isShowPhone?: boolean;
|
|
89
|
+
isShowEmail?: boolean;
|
|
90
|
+
isShowBirthday?: boolean;
|
|
91
|
+
isShowAddress?: boolean;
|
|
92
|
+
isShowTag?: boolean;
|
|
93
|
+
isShowStatus?: boolean;
|
|
94
|
+
isShowEmptyDescription?: boolean;
|
|
95
|
+
}
|
|
96
|
+
export interface ClientCardProps extends DisplayConfig {
|
|
97
|
+
type?: CardType;
|
|
98
|
+
direction?: Direction;
|
|
99
|
+
dataSource?: ClientData | any;
|
|
100
|
+
fieldNames?: FieldNames;
|
|
101
|
+
style?: StyleConfig;
|
|
102
|
+
horizontalGap?: number | string;
|
|
103
|
+
verticalGap?: number | string;
|
|
104
|
+
avatar?: AvatarConfig;
|
|
105
|
+
status?: StatusConfig;
|
|
106
|
+
dropdown?: {
|
|
107
|
+
open?: boolean;
|
|
108
|
+
buttonProps?: {
|
|
109
|
+
icon?: ReactElement;
|
|
110
|
+
onClick?: (e: Event) => void;
|
|
111
|
+
style?: React.CSSProperties;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
defaultName?: string;
|
|
115
|
+
nameStyle?: NameStyle;
|
|
116
|
+
tags?: Array<TagItem | string>;
|
|
117
|
+
tag?: TagConfig;
|
|
118
|
+
extraFields?: ExtraField[];
|
|
119
|
+
slots?: Slots;
|
|
120
|
+
onAddClient?: () => void;
|
|
121
|
+
onChangeClient?: (data: ClientData) => void;
|
|
122
|
+
onRemoveClient?: (data: ClientData) => void;
|
|
123
|
+
onViewClient?: (data: ClientData) => void;
|
|
124
|
+
}
|
|
125
|
+
export interface ProcessedClientData {
|
|
126
|
+
id: any;
|
|
127
|
+
name: string;
|
|
128
|
+
cover?: string;
|
|
129
|
+
phone?: string;
|
|
130
|
+
email?: string;
|
|
131
|
+
birthday?: string;
|
|
132
|
+
address?: string;
|
|
133
|
+
tags?: string[];
|
|
134
|
+
[key: string]: any;
|
|
135
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
declare type NativeProps<S extends string = never> = {
|
|
4
|
+
className?: string;
|
|
5
|
+
style?: React.CSSProperties & Partial<Record<S, string>>;
|
|
6
|
+
};
|
|
7
|
+
declare type PropagationEvent = 'click';
|
|
8
|
+
import './index.less';
|
|
9
|
+
declare type SideType = 'left' | 'right';
|
|
10
|
+
export declare type SwipeActionRef = {
|
|
11
|
+
close: () => void;
|
|
12
|
+
show: (side?: SideType) => void;
|
|
13
|
+
};
|
|
14
|
+
declare type ActionColor = 'light' | 'weak' | 'primary' | 'success' | 'warning' | 'danger';
|
|
15
|
+
export declare type Action = {
|
|
16
|
+
key: string | number;
|
|
17
|
+
text: ReactNode;
|
|
18
|
+
color?: ActionColor | string;
|
|
19
|
+
onClick?: (e: React.MouseEvent) => void;
|
|
20
|
+
style?: React.CSSProperties;
|
|
21
|
+
};
|
|
22
|
+
export declare type SwipeActionProps = {
|
|
23
|
+
rightActions?: Action[];
|
|
24
|
+
leftActions?: Action[];
|
|
25
|
+
onAction?: (action: Action, e: React.MouseEvent) => void;
|
|
26
|
+
closeOnTouchOutside?: boolean;
|
|
27
|
+
closeOnAction?: boolean;
|
|
28
|
+
children: ReactNode;
|
|
29
|
+
stopPropagation?: PropagationEvent[];
|
|
30
|
+
onActionsReveal?: (side: SideType) => void;
|
|
31
|
+
onClose?: () => void;
|
|
32
|
+
escapeDom?: string;
|
|
33
|
+
} & NativeProps<'--background'>;
|
|
34
|
+
export declare const SwipeAction: React.ForwardRefExoticComponent<{
|
|
35
|
+
rightActions?: Action[] | undefined;
|
|
36
|
+
leftActions?: Action[] | undefined;
|
|
37
|
+
onAction?: ((action: Action, e: React.MouseEvent) => void) | undefined;
|
|
38
|
+
closeOnTouchOutside?: boolean | undefined;
|
|
39
|
+
closeOnAction?: boolean | undefined;
|
|
40
|
+
children: ReactNode;
|
|
41
|
+
stopPropagation?: "click"[] | undefined;
|
|
42
|
+
onActionsReveal?: ((side: SideType) => void) | undefined;
|
|
43
|
+
onClose?: (() => void) | undefined;
|
|
44
|
+
escapeDom?: string | undefined;
|
|
45
|
+
} & NativeProps<"--background"> & React.RefAttributes<SwipeActionRef>>;
|
|
46
|
+
export {};
|