@pisell/private-materials 6.8.31 → 6.8.32
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/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +150 -164
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +11 -11
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +11 -11
- package/es/businessModel/SalesModel/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Services/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Voucher/index.d.ts +4 -0
- package/es/components/authentication/admin/AuthMethods/SettingList.d.ts +5 -0
- package/es/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +22 -0
- package/es/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
- package/es/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +13 -0
- package/es/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
- package/es/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +14 -0
- package/es/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +13 -0
- package/es/components/authentication/admin/AuthMethods/components/index.d.ts +10 -0
- package/es/components/authentication/admin/AuthMethods/constants.d.ts +22 -0
- package/es/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
- package/es/components/authentication/admin/AuthMethods/types.d.ts +76 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
- package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
- package/es/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
- package/es/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
- package/es/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
- package/es/components/authentication/admin/CustomerOAuthConfig/index.d.ts +6 -0
- package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
- package/es/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
- package/es/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
- package/es/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
- package/es/components/authentication/admin/OAuthConfig/index.d.ts +6 -0
- package/es/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
- package/es/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
- package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
- package/es/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
- package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
- package/es/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
- package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
- package/es/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
- package/es/components/authentication/index.d.ts +0 -0
- package/es/components/booking/addons/model.d.ts +10 -0
- package/es/components/booking/components/actionButtons/index.d.ts +31 -0
- package/es/components/booking/components/customSelect/index.d.ts +38 -0
- package/es/components/booking/components/footer/index.d.ts +0 -1
- package/es/components/booking/components/footer/utils.d.ts +67 -0
- package/es/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
- package/es/components/booking/components/voucher/index.d.ts +3 -0
- package/es/components/booking/deposit/index.d.ts +0 -1
- package/es/components/booking/forms/model.d.ts +10 -1
- package/es/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
- package/es/components/booking/info/addServiceVariant/index.d.ts +6 -0
- package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +43 -0
- package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
- package/es/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +25 -0
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
- package/es/components/booking/info/index.d.ts +0 -1
- package/es/components/booking/info/model.d.ts +10 -1
- package/es/components/booking/info/notes/index.d.ts +0 -1
- package/es/components/booking/info/service/Lists.d.ts +2 -0
- package/es/components/booking/info/service/addTimeModal/index.d.ts +0 -1
- package/es/components/booking/info/service/like/index.d.ts +0 -1
- package/es/components/booking/info/service/serve.d.ts +34 -0
- package/es/components/booking/info/service/serviceList/index.d.ts +0 -1
- package/es/components/booking/info/service2/Lists.d.ts +0 -1
- package/es/components/booking/info/service2/utils.d.ts +219 -0
- package/es/components/booking/info/utils.d.ts +50 -0
- package/es/components/booking/info2/service/addService/utils.d.ts +106 -0
- package/es/components/booking/info2/service/contactInfoMode/index.d.ts +0 -1
- package/es/components/booking/info2/service/editService/index.d.ts +8 -0
- package/es/components/booking/info2/service/editService/utils.d.ts +28 -0
- package/es/components/booking/info2/service/serviceList/index.d.ts +0 -1
- package/es/components/booking/info2/utilsByBooking.d.ts +36 -0
- package/es/components/booking/materiels/duration/index.d.ts +1 -0
- package/es/components/booking/materiels/startTime/index.d.ts +1 -0
- package/es/components/booking/notes/NoteBlock/index.d.ts +0 -1
- package/es/components/booking/notes/addNote/index.d.ts +0 -1
- package/es/components/booking/notes/model.d.ts +10 -1
- package/es/components/booking/payments/model.d.ts +10 -1
- package/es/components/booking/utils.d.ts +182 -0
- package/es/components/checkout/PaymentModal.d.ts +39 -0
- package/es/components/checkout/components/AdditionalModule/index.d.ts +15 -0
- package/es/components/checkout/components/CashPaymentModule/index.d.ts +26 -0
- package/es/components/checkout/components/PaymentDetailModal/index.d.ts +38 -0
- package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +85 -0
- package/es/components/checkout/components/SearchAndClientModule/index.d.ts +14 -0
- package/es/components/checkout/hooks/useWalletPass.d.ts +40 -0
- package/es/components/checkout/plugin.d.ts +2 -0
- package/es/components/checkout/utils/PaymentResultToastUtils.d.ts +32 -0
- package/es/components/eftpos/deviceList/index.d.ts +0 -1
- package/es/components/eftpos/form/index.d.ts +0 -1
- package/es/components/eftpos/group/index.d.ts +0 -1
- package/es/components/eftpos/hooks.d.ts +0 -1
- package/es/components/eftpos/icon/apiKey.d.ts +0 -1
- package/es/components/eftpos/icon/device.d.ts +0 -1
- package/es/components/eftpos/receipt/index.d.ts +0 -1
- package/es/components/eftpos/surcharge/index.d.ts +0 -1
- package/es/components/eftposPay/component/alert/warn.d.ts +0 -1
- package/es/components/eftposPay/component/header/titlebar.d.ts +0 -1
- package/es/components/eftposPay/component/step/step.d.ts +0 -1
- package/es/components/eftposPay/hooks.d.ts +1 -1
- package/es/components/eftposPay/store/index.d.ts +1 -1
- package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
- package/es/components/eftposPay/utils/log/index.d.ts +110 -0
- package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
- package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
- package/es/components/list/List.d.ts +5 -0
- package/es/components/list/hooks/useListState.d.ts +45 -0
- package/es/components/pay/toB/components/CardGroup/index.d.ts +0 -1
- package/es/components/pay/toB/components/MX51/index.d.ts +3 -0
- package/es/components/pay/toB/types/index.d.ts +72 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
- package/es/components/pay/toC/locales.d.ts +301 -0
- package/es/components/pay/toC/model.d.ts +9 -1
- package/es/components/pay/toC/status.d.ts +13 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
- package/es/components/productExtension/fields/Actor/index.d.ts +0 -1
- package/es/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
- package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
- package/es/components/productExtension/index.d.ts +0 -1
- package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
- package/es/components/schedules/model.d.ts +9 -1
- package/es/components/schedules/resources/relationProduct/index.d.ts +0 -1
- package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
- package/es/components/shoppingCart/components/Render/index.d.ts +0 -1
- package/es/components/shoppingCart/index.d.ts +0 -1
- package/es/components/systemSettings/registry/components/ModuleList.d.ts +4 -0
- package/es/components/systemSettings/registry/locales.d.ts +272 -0
- package/es/components/systemSettings/registry/services.d.ts +77 -0
- package/es/components/systemSettings/registry/types.d.ts +126 -0
- package/es/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
- package/es/components/systemSettings/registry/utils/validators.d.ts +8 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.d.ts +27 -0
- package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +31 -0
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +10 -0
- package/es/components/ticketBooking/components/addServiceVariant/utils.d.ts +8 -0
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +0 -1
- package/es/components/ticketBooking/components/timeBar/index.d.ts +14 -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/index.d.ts +15 -0
- package/es/components/ticketBooking/serve.d.ts +288 -0
- package/es/components/ticketBooking/utils/index.d.ts +101 -0
- package/es/components/wallet/utils.d.ts +48 -0
- package/es/components/walletList/types/index.d.ts +194 -0
- package/es/plus/clientName/index.d.ts +4 -0
- package/es/plus/clientName/type.d.ts +13 -0
- package/es/plus/clientName/utils.d.ts +2 -0
- package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -1
- package/es/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
- package/es/plus/contactInfo/locales.d.ts +15 -0
- package/es/plus/contactInfo/types.d.ts +91 -0
- package/es/plus/contactInfo/utils.d.ts +7 -0
- package/es/plus/contactInfoModal/locales.d.ts +66 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +4 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.js +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/index.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/index.d.ts +47 -0
- package/es/plus/productSelect/utils.d.ts +39 -0
- package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -1
- package/es/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
- package/es/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +20 -0
- package/es/plus/walletEditor/components/relationProduct/index.d.ts +7 -0
- package/es/plus/walletEditor/types.d.ts +52 -0
- package/es/plus/webPosLogin/WebPosLogin.d.ts +11 -0
- package/es/plus/webPosLogin/WebPosLoginCpt.d.ts +9 -0
- package/es/plus/webPosLogin/components/BrandPanel/index.d.ts +9 -0
- package/es/plus/webPosLogin/components/LoginPanel/index.d.ts +21 -0
- package/es/plus/webPosLogin/components/MediaDisplay/index.d.ts +12 -0
- package/es/plus/webPosLogin/components/MediaDisplay/type.d.ts +54 -0
- package/es/plus/webPosLogin/components/SelectDevice/index.d.ts +28 -0
- package/es/plus/webPosLogin/components/SelectStore/index.d.ts +24 -0
- package/es/plus/webPosLogin/components/UserFooter/index.d.ts +28 -0
- package/es/plus/webPosLogin/index.d.ts +12 -0
- package/es/plus/webPosLogin/locales.d.ts +49 -0
- package/es/plus/webPosLogin/service.d.ts +44 -0
- package/es/plus/webPosLogin/types.d.ts +286 -0
- package/es/pro/Login2.0/Login2.d.ts +61 -0
- package/es/pro/Login2.0/components/phoneValidation.d.ts +17 -0
- package/es/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +24 -0
- package/es/pro/Login2.0/locales.d.ts +543 -0
- package/es/pro/Login2.0/shared/registerFlow.d.ts +116 -0
- package/es/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +12 -0
- package/es/pro/Login2.0/steps/VerificationSuccess.d.ts +8 -0
- package/es/pro/Login2.0/steps/VerifyingEmailLink.d.ts +7 -0
- package/es/pro/Login2.0/steps/WaitEmailLink.d.ts +18 -0
- package/es/pro/Login2.0/types.d.ts +167 -0
- package/es/pro/priceKeyboard/components/cashKeyboard/index.d.ts +0 -1
- package/lib/businessModel/SalesModel/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Services/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Voucher/index.d.ts +4 -0
- package/lib/components/authentication/admin/AuthMethods/SettingList.d.ts +5 -0
- package/lib/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +22 -0
- package/lib/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
- package/lib/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +13 -0
- package/lib/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
- package/lib/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +14 -0
- package/lib/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +13 -0
- package/lib/components/authentication/admin/AuthMethods/components/index.d.ts +10 -0
- package/lib/components/authentication/admin/AuthMethods/constants.d.ts +22 -0
- package/lib/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
- package/lib/components/authentication/admin/AuthMethods/types.d.ts +76 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
- package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
- package/lib/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
- package/lib/components/authentication/admin/CustomerOAuthConfig/index.d.ts +6 -0
- package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
- package/lib/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
- package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
- package/lib/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
- package/lib/components/authentication/admin/OAuthConfig/index.d.ts +6 -0
- package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
- package/lib/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
- package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
- package/lib/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
- package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
- package/lib/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
- package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
- package/lib/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
- package/lib/components/authentication/index.d.ts +0 -0
- package/lib/components/booking/addons/model.d.ts +10 -0
- package/lib/components/booking/components/actionButtons/index.d.ts +31 -0
- package/lib/components/booking/components/customSelect/index.d.ts +38 -0
- package/lib/components/booking/components/footer/index.d.ts +0 -1
- package/lib/components/booking/components/footer/utils.d.ts +67 -0
- package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
- package/lib/components/booking/components/voucher/index.d.ts +3 -0
- package/lib/components/booking/deposit/index.d.ts +0 -1
- package/lib/components/booking/forms/model.d.ts +10 -1
- package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
- package/lib/components/booking/info/addServiceVariant/index.d.ts +6 -0
- package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +43 -0
- package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
- package/lib/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +25 -0
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
- package/lib/components/booking/info/index.d.ts +0 -1
- package/lib/components/booking/info/model.d.ts +10 -1
- package/lib/components/booking/info/notes/index.d.ts +0 -1
- package/lib/components/booking/info/service/Lists.d.ts +2 -0
- package/lib/components/booking/info/service/addTimeModal/index.d.ts +0 -1
- package/lib/components/booking/info/service/like/index.d.ts +0 -1
- package/lib/components/booking/info/service/serve.d.ts +34 -0
- package/lib/components/booking/info/service/serviceList/index.d.ts +0 -1
- package/lib/components/booking/info/service2/Lists.d.ts +0 -1
- package/lib/components/booking/info/service2/utils.d.ts +219 -0
- package/lib/components/booking/info/utils.d.ts +50 -0
- package/lib/components/booking/info2/service/addService/utils.d.ts +106 -0
- package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +0 -1
- package/lib/components/booking/info2/service/editService/index.d.ts +8 -0
- package/lib/components/booking/info2/service/editService/utils.d.ts +28 -0
- package/lib/components/booking/info2/service/serviceList/index.d.ts +0 -1
- package/lib/components/booking/info2/utilsByBooking.d.ts +36 -0
- package/lib/components/booking/materiels/duration/index.d.ts +1 -0
- package/lib/components/booking/materiels/startTime/index.d.ts +1 -0
- package/lib/components/booking/notes/NoteBlock/index.d.ts +0 -1
- package/lib/components/booking/notes/addNote/index.d.ts +0 -1
- package/lib/components/booking/notes/model.d.ts +10 -1
- package/lib/components/booking/payments/model.d.ts +10 -1
- package/lib/components/booking/utils.d.ts +182 -0
- package/lib/components/checkout/PaymentModal.d.ts +39 -0
- package/lib/components/checkout/components/AdditionalModule/index.d.ts +15 -0
- package/lib/components/checkout/components/CashPaymentModule/index.d.ts +26 -0
- package/lib/components/checkout/components/PaymentDetailModal/index.d.ts +38 -0
- package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +85 -0
- package/lib/components/checkout/components/SearchAndClientModule/index.d.ts +14 -0
- package/lib/components/checkout/hooks/useWalletPass.d.ts +40 -0
- package/lib/components/checkout/plugin.d.ts +2 -0
- package/lib/components/checkout/utils/PaymentResultToastUtils.d.ts +32 -0
- package/lib/components/eftpos/deviceList/index.d.ts +0 -1
- package/lib/components/eftpos/form/index.d.ts +0 -1
- package/lib/components/eftpos/group/index.d.ts +0 -1
- package/lib/components/eftpos/hooks.d.ts +0 -1
- package/lib/components/eftpos/icon/apiKey.d.ts +0 -1
- package/lib/components/eftpos/icon/device.d.ts +0 -1
- package/lib/components/eftpos/receipt/index.d.ts +0 -1
- package/lib/components/eftpos/surcharge/index.d.ts +0 -1
- package/lib/components/eftposPay/component/alert/warn.d.ts +0 -1
- package/lib/components/eftposPay/component/header/titlebar.d.ts +0 -1
- package/lib/components/eftposPay/component/step/step.d.ts +0 -1
- package/lib/components/eftposPay/hooks.d.ts +1 -1
- package/lib/components/eftposPay/store/index.d.ts +1 -1
- package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
- package/lib/components/eftposPay/utils/log/index.d.ts +110 -0
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
- package/lib/components/list/List.d.ts +5 -0
- package/lib/components/list/hooks/useListState.d.ts +45 -0
- package/lib/components/pay/toB/components/CardGroup/index.d.ts +0 -1
- package/lib/components/pay/toB/components/MX51/index.d.ts +3 -0
- package/lib/components/pay/toB/types/index.d.ts +72 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
- package/lib/components/pay/toC/locales.d.ts +301 -0
- package/lib/components/pay/toC/model.d.ts +9 -1
- package/lib/components/pay/toC/status.d.ts +13 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
- package/lib/components/productExtension/fields/Actor/index.d.ts +0 -1
- package/lib/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
- package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
- package/lib/components/productExtension/index.d.ts +0 -1
- package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
- package/lib/components/schedules/model.d.ts +9 -1
- package/lib/components/schedules/resources/relationProduct/index.d.ts +0 -1
- package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
- package/lib/components/shoppingCart/components/Render/index.d.ts +0 -1
- package/lib/components/shoppingCart/index.d.ts +0 -1
- package/lib/components/systemSettings/registry/components/ModuleList.d.ts +4 -0
- package/lib/components/systemSettings/registry/locales.d.ts +272 -0
- package/lib/components/systemSettings/registry/services.d.ts +77 -0
- package/lib/components/systemSettings/registry/types.d.ts +126 -0
- package/lib/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
- package/lib/components/systemSettings/registry/utils/validators.d.ts +8 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.d.ts +27 -0
- package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +31 -0
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +10 -0
- package/lib/components/ticketBooking/components/addServiceVariant/utils.d.ts +8 -0
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +0 -1
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +14 -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/index.d.ts +15 -0
- package/lib/components/ticketBooking/serve.d.ts +288 -0
- package/lib/components/ticketBooking/utils/index.d.ts +101 -0
- package/lib/components/wallet/utils.d.ts +48 -0
- package/lib/components/walletList/types/index.d.ts +194 -0
- package/lib/plus/clientName/index.d.ts +4 -0
- package/lib/plus/clientName/type.d.ts +13 -0
- package/lib/plus/clientName/utils.d.ts +2 -0
- package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -1
- package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
- package/lib/plus/contactInfo/locales.d.ts +15 -0
- package/lib/plus/contactInfo/types.d.ts +91 -0
- package/lib/plus/contactInfo/utils.d.ts +7 -0
- package/lib/plus/contactInfoModal/locales.d.ts +66 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +4 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.js +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/index.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/index.d.ts +47 -0
- package/lib/plus/productSelect/utils.d.ts +39 -0
- package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -1
- package/lib/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
- package/lib/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +20 -0
- package/lib/plus/walletEditor/components/relationProduct/index.d.ts +7 -0
- package/lib/plus/walletEditor/types.d.ts +52 -0
- package/lib/plus/webPosLogin/WebPosLogin.d.ts +11 -0
- package/lib/plus/webPosLogin/WebPosLoginCpt.d.ts +9 -0
- package/lib/plus/webPosLogin/components/BrandPanel/index.d.ts +9 -0
- package/lib/plus/webPosLogin/components/LoginPanel/index.d.ts +21 -0
- package/lib/plus/webPosLogin/components/MediaDisplay/index.d.ts +12 -0
- package/lib/plus/webPosLogin/components/MediaDisplay/type.d.ts +54 -0
- package/lib/plus/webPosLogin/components/SelectDevice/index.d.ts +28 -0
- package/lib/plus/webPosLogin/components/SelectStore/index.d.ts +24 -0
- package/lib/plus/webPosLogin/components/UserFooter/index.d.ts +28 -0
- package/lib/plus/webPosLogin/index.d.ts +12 -0
- package/lib/plus/webPosLogin/locales.d.ts +49 -0
- package/lib/plus/webPosLogin/service.d.ts +44 -0
- package/lib/plus/webPosLogin/types.d.ts +286 -0
- package/lib/pro/Login2.0/Login2.d.ts +61 -0
- package/lib/pro/Login2.0/components/phoneValidation.d.ts +17 -0
- package/lib/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +24 -0
- package/lib/pro/Login2.0/locales.d.ts +543 -0
- package/lib/pro/Login2.0/shared/registerFlow.d.ts +116 -0
- package/lib/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +12 -0
- package/lib/pro/Login2.0/steps/VerificationSuccess.d.ts +8 -0
- package/lib/pro/Login2.0/steps/VerifyingEmailLink.d.ts +7 -0
- package/lib/pro/Login2.0/steps/WaitEmailLink.d.ts +18 -0
- package/lib/pro/Login2.0/types.d.ts +167 -0
- package/lib/pro/priceKeyboard/components/cashKeyboard/index.d.ts +0 -1
- package/package.json +3 -3
- package/es/pro/pisellNumberSelector/example.d.ts +0 -3
- package/lib/pro/pisellNumberSelector/example.d.ts +0 -3
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ProductDisplayConfig, ProductDisplayPresetKey } from '../ProductDisplayAdapter';
|
|
2
|
+
import './index.less';
|
|
3
|
+
interface AddServiceProps {
|
|
4
|
+
onEdit?: any;
|
|
5
|
+
dispatch?: any;
|
|
6
|
+
state?: any;
|
|
7
|
+
renderMode?: 'current' | 'drawer';
|
|
8
|
+
onPrerenderComplete?: () => void;
|
|
9
|
+
onGetProductsReady?: (getProducts: any) => void;
|
|
10
|
+
/**
|
|
11
|
+
* 产品展示配置
|
|
12
|
+
*
|
|
13
|
+
* 支持两种方式:
|
|
14
|
+
* 1. 简易模式:传入预设字符串,如 'product-select', 'sku-list-a1', 'sku-list-a2', 'sku-list-a5'
|
|
15
|
+
* 2. 完整配置模式:传入完整的配置对象
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* // 简易模式
|
|
19
|
+
* <AddService productDisplayConfig="sku-list-a1" />
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* // 完整配置模式
|
|
23
|
+
* <AddService productDisplayConfig={{
|
|
24
|
+
* displayMode: 'sku-list',
|
|
25
|
+
* skuListConfig: { ... }
|
|
26
|
+
* }} />
|
|
27
|
+
*/
|
|
28
|
+
productDisplayConfig?: ProductDisplayPresetKey | ProductDisplayConfig;
|
|
29
|
+
}
|
|
30
|
+
declare const AddSerivce: (props: AddServiceProps) => JSX.Element | null;
|
|
31
|
+
export default AddSerivce;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ProductDisplayConfig, ProductDisplayPresetKey } from '../ProductDisplayAdapter/types';
|
|
2
|
+
interface AddServiceVariantProps {
|
|
3
|
+
globalState: any;
|
|
4
|
+
setGlobalState: any;
|
|
5
|
+
onPrerenderComplete?: () => void;
|
|
6
|
+
onGetProductsReady?: (getProducts: any) => void;
|
|
7
|
+
productDisplayConfig?: ProductDisplayPresetKey | ProductDisplayConfig;
|
|
8
|
+
}
|
|
9
|
+
declare const AddServiceVariant: (props: AddServiceVariantProps) => JSX.Element;
|
|
10
|
+
export default AddServiceVariant;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const formatVariantGroupTitle: (title: any, variant_group?: never[]) => string | undefined;
|
|
2
|
+
export declare const createCacheItem: (detail: any, values: any, state: any) => any;
|
|
3
|
+
export declare const isVariant: (item: any) => boolean;
|
|
4
|
+
export declare const isOption: (item: any) => boolean;
|
|
5
|
+
export declare const isBundle: (item: any) => boolean;
|
|
6
|
+
export declare const genValues: (item: any, code: string) => any;
|
|
7
|
+
export declare const setHandleSetService: (fn: ((list: any[], code: string) => void) | null) => void;
|
|
8
|
+
export declare const getHandleSetService: () => ((list: any[], code: string) => void) | null;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Dayjs } from 'dayjs';
|
|
2
|
+
import './index.less';
|
|
3
|
+
interface ITimeBarProps {
|
|
4
|
+
globalState: any;
|
|
5
|
+
setGlobalState: any;
|
|
6
|
+
onDateChange: (date: Dayjs, dateString?: string) => void;
|
|
7
|
+
onDateTimeChange: (date: Dayjs, timeString: string) => void;
|
|
8
|
+
setIntervalTime: (value: boolean) => void;
|
|
9
|
+
locale: string;
|
|
10
|
+
onCreateClick: () => void;
|
|
11
|
+
setNowTime?: (time: Dayjs) => void;
|
|
12
|
+
}
|
|
13
|
+
declare const TimeBar: (props: ITimeBarProps) => JSX.Element;
|
|
14
|
+
export default TimeBar;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
interface IGetProductsParams {
|
|
2
|
+
schedule_date?: string;
|
|
3
|
+
customer_id?: number;
|
|
4
|
+
menu_list_ids?: number[];
|
|
5
|
+
schedule_datetime?: string;
|
|
6
|
+
}
|
|
7
|
+
interface IGetScheduleTimePointsParams {
|
|
8
|
+
menu_list_ids?: number[];
|
|
9
|
+
}
|
|
10
|
+
export declare const useProducts: (notAvailableRef: any) => {
|
|
11
|
+
getScheduleTimePoints: (params?: IGetScheduleTimePointsParams) => Promise<void>;
|
|
12
|
+
getProducts: (params?: IGetProductsParams) => Promise<void>;
|
|
13
|
+
products: any[];
|
|
14
|
+
loading: boolean;
|
|
15
|
+
};
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ProductDisplayConfig, ProductDisplayPresetKey } from './components/ProductDisplayAdapter/types';
|
|
2
|
+
import './index.less';
|
|
3
|
+
interface TicketBookingProps {
|
|
4
|
+
productExtensionType: string[];
|
|
5
|
+
bookingConfigParams: Record<string, any>;
|
|
6
|
+
isShowMenuBar?: boolean;
|
|
7
|
+
onPrerenderComplete?: () => void;
|
|
8
|
+
isShowTimeBar?: boolean;
|
|
9
|
+
isShowFloatButtons?: boolean;
|
|
10
|
+
productDisplayConfig?: ProductDisplayPresetKey | ProductDisplayConfig;
|
|
11
|
+
isActive?: boolean;
|
|
12
|
+
rulesHooks?: any;
|
|
13
|
+
}
|
|
14
|
+
declare const _default: (props: TicketBookingProps) => JSX.Element;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @title: 获取客户列表
|
|
3
|
+
* @description: 获取客户列表
|
|
4
|
+
* @param {any} params
|
|
5
|
+
* @return {*}
|
|
6
|
+
* @Author: cong.shao
|
|
7
|
+
* @Date: 2025-04-24 16:28
|
|
8
|
+
*/
|
|
9
|
+
export declare const getClients: (params: any) => Promise<any>;
|
|
10
|
+
/**
|
|
11
|
+
* @title: 获取服务列表
|
|
12
|
+
* @description: 查询服务列表
|
|
13
|
+
* @param {any} params
|
|
14
|
+
* @return {*}
|
|
15
|
+
* @Author: cong.shao
|
|
16
|
+
* @Date: 2025-04-24 16:28
|
|
17
|
+
*/
|
|
18
|
+
export declare const getServices: (params: any) => Promise<any>;
|
|
19
|
+
/**
|
|
20
|
+
* @title: 获取资源列表
|
|
21
|
+
* @description: 资源列表
|
|
22
|
+
* @param {any} params
|
|
23
|
+
* @return {*}
|
|
24
|
+
* @Author: cong.shao
|
|
25
|
+
* @Date: 2025-04-24 16:28
|
|
26
|
+
*/
|
|
27
|
+
export declare const getResources: (params: any) => Promise<any>;
|
|
28
|
+
/**
|
|
29
|
+
* @title: 获取产品列表
|
|
30
|
+
* @description: 查询产品列表
|
|
31
|
+
* @param {any} params
|
|
32
|
+
* @return {*}
|
|
33
|
+
* @Author: cong.shao
|
|
34
|
+
* @Date: 2025-04-24 16:28
|
|
35
|
+
*/
|
|
36
|
+
export declare const getProducts: (params: any) => Promise<any>;
|
|
37
|
+
/**
|
|
38
|
+
* @title: 获取表单列表
|
|
39
|
+
* @description: 获取关联记录表单列表
|
|
40
|
+
* @param {any} params
|
|
41
|
+
* @return {*}
|
|
42
|
+
* @Author: cong.shao
|
|
43
|
+
* @Date: 2025-04-24 16:28
|
|
44
|
+
*/
|
|
45
|
+
export declare const getForms: (params: any) => Promise<any>;
|
|
46
|
+
/**
|
|
47
|
+
* @title: 获取预约配置
|
|
48
|
+
* @description: 获取预约相关配置信息
|
|
49
|
+
* @param {any} params
|
|
50
|
+
* @return {*}
|
|
51
|
+
* @Author: cong.shao
|
|
52
|
+
* @Date: 2025-04-24 16:28
|
|
53
|
+
*/
|
|
54
|
+
export declare const getBookingConfig: (params: any) => Promise<any>;
|
|
55
|
+
/**
|
|
56
|
+
* @title: 获取宠物信息
|
|
57
|
+
* @description: 根据ID获取宠物信息
|
|
58
|
+
* @param {string} formId
|
|
59
|
+
* @param {any} params
|
|
60
|
+
* @return {*}
|
|
61
|
+
* @Author: cong.shao
|
|
62
|
+
* @Date: 2025-04-24 16:28
|
|
63
|
+
*/
|
|
64
|
+
export declare const getPets: (formId: string, params: any) => Promise<any>;
|
|
65
|
+
/**
|
|
66
|
+
* @title: 获取宠物数据
|
|
67
|
+
* @description: 获取宠物数据
|
|
68
|
+
* @param {any} params
|
|
69
|
+
* @return {*}
|
|
70
|
+
* @Author: cong.shao
|
|
71
|
+
* @Date: 2025-04-24 16:28
|
|
72
|
+
*/
|
|
73
|
+
export declare const getPetsData: (params: any) => Promise<any>;
|
|
74
|
+
/**
|
|
75
|
+
* @title: 创建预约
|
|
76
|
+
* @description: 创建新的预约记录
|
|
77
|
+
* @param {any} params
|
|
78
|
+
* @return {*}
|
|
79
|
+
* @Author: cong.shao
|
|
80
|
+
* @Date: 2025-04-24 16:28
|
|
81
|
+
*/
|
|
82
|
+
export declare const createBooking: (params: any) => Promise<any>;
|
|
83
|
+
/**
|
|
84
|
+
* @title: 获取预约附加服务
|
|
85
|
+
* @description: 根据预约ID获取附加服务信息
|
|
86
|
+
* @param {string} bookingId
|
|
87
|
+
* @param {any} params
|
|
88
|
+
* @return {*}
|
|
89
|
+
* @Author: cong.shao
|
|
90
|
+
* @Date: 2025-04-24 16:28
|
|
91
|
+
*/
|
|
92
|
+
export declare const getAddonsByOrderId: (bookingId: string, params: any) => Promise<any>;
|
|
93
|
+
/**
|
|
94
|
+
* @title: 保存预约附加服务
|
|
95
|
+
* @description: 保存预约的附加服务信息
|
|
96
|
+
* @param {string} bookingId
|
|
97
|
+
* @param {any} params
|
|
98
|
+
* @return {*}
|
|
99
|
+
* @Author: cong.shao
|
|
100
|
+
* @Date: 2025-04-24 16:28
|
|
101
|
+
*/
|
|
102
|
+
export declare const saveAddonsByOrderId: (bookingId: string, params: any) => Promise<any>;
|
|
103
|
+
/**
|
|
104
|
+
* @title: 获取预约详情
|
|
105
|
+
* @description: 获取预约详细信息
|
|
106
|
+
* @param {number} bookingId
|
|
107
|
+
* @param {any} params
|
|
108
|
+
* @return {*}
|
|
109
|
+
* @Author: cong.shao
|
|
110
|
+
* @Date: 2025-04-24 16:28
|
|
111
|
+
*/
|
|
112
|
+
export declare const getBookingDetail: (bookingId: number, params?: any) => Promise<any>;
|
|
113
|
+
/**
|
|
114
|
+
* @title: 编辑预约状态
|
|
115
|
+
* @description: 更新预约状态
|
|
116
|
+
* @param {string} bookingId
|
|
117
|
+
* @param {any} params
|
|
118
|
+
* @return {*}
|
|
119
|
+
* @Author: cong.shao
|
|
120
|
+
* @Date: 2025-04-24 16:28
|
|
121
|
+
*/
|
|
122
|
+
export declare const editBookingStatus: (bookingId: string, params: any) => Promise<any>;
|
|
123
|
+
/**
|
|
124
|
+
* @title: 编辑预约信息
|
|
125
|
+
* @description: 更新预约信息
|
|
126
|
+
* @param {string} bookingId
|
|
127
|
+
* @param {any} params
|
|
128
|
+
* @return {*}
|
|
129
|
+
* @Author: cong.shao
|
|
130
|
+
* @Date: 2025-04-24 16:28
|
|
131
|
+
*/
|
|
132
|
+
export declare const editBooking: (bookingId: string, params: any) => Promise<any>;
|
|
133
|
+
/**
|
|
134
|
+
* @title: 获取预约备注
|
|
135
|
+
* @description: 获取预约相关备注信息
|
|
136
|
+
* @param {any} params
|
|
137
|
+
* @return {*}
|
|
138
|
+
* @Author: cong.shao
|
|
139
|
+
* @Date: 2025-04-24 16:28
|
|
140
|
+
*/
|
|
141
|
+
export declare const getNotesByOrder: (params: any) => Promise<any>;
|
|
142
|
+
/**
|
|
143
|
+
* @title: 添加预约备注
|
|
144
|
+
* @description: 添加预约相关备注
|
|
145
|
+
* @param {any} params
|
|
146
|
+
* @return {*}
|
|
147
|
+
* @Author: cong.shao
|
|
148
|
+
* @Date: 2025-04-24 16:28
|
|
149
|
+
*/
|
|
150
|
+
export declare const addNotesByOrder: (params: any) => Promise<any>;
|
|
151
|
+
/**
|
|
152
|
+
* @title: 编辑预约备注
|
|
153
|
+
* @description: 更新预约备注信息
|
|
154
|
+
* @param {string} bookingId
|
|
155
|
+
* @param {any} params
|
|
156
|
+
* @return {*}
|
|
157
|
+
* @Author: cong.shao
|
|
158
|
+
* @Date: 2025-04-24 16:28
|
|
159
|
+
*/
|
|
160
|
+
export declare const editNoteByOrder: (bookingId: string, params: any) => Promise<any>;
|
|
161
|
+
/**
|
|
162
|
+
* @title: 删除预约备注
|
|
163
|
+
* @description: 删除预约相关备注
|
|
164
|
+
* @param {string} bookingId
|
|
165
|
+
* @param {any} params
|
|
166
|
+
* @return {*}
|
|
167
|
+
* @Author: cong.shao
|
|
168
|
+
* @Date: 2025-04-24 16:28
|
|
169
|
+
*/
|
|
170
|
+
export declare const removeNoteByOrder: (bookingId: string, params: any) => Promise<any>;
|
|
171
|
+
/**
|
|
172
|
+
* @title: 保存预约表单数据
|
|
173
|
+
* @description: 保存预约相关的表单数据
|
|
174
|
+
* @param {any} params
|
|
175
|
+
* @return {*}
|
|
176
|
+
* @Author: cong.shao
|
|
177
|
+
* @Date: 2025-04-24 16:28
|
|
178
|
+
*/
|
|
179
|
+
export declare const saveBookingFormData: (params: any) => Promise<any>;
|
|
180
|
+
/**
|
|
181
|
+
* @title: 获取支付列表
|
|
182
|
+
* @description: 获取支付相关列表数据
|
|
183
|
+
* @param {any} params
|
|
184
|
+
* @return {*}
|
|
185
|
+
* @Author: cong.shao
|
|
186
|
+
* @Date: 2025-04-24 16:28
|
|
187
|
+
*/
|
|
188
|
+
export declare const getPaymentList: (params: any) => Promise<any>;
|
|
189
|
+
/**
|
|
190
|
+
* @title: 编辑订单备注
|
|
191
|
+
* @description: 更新订单备注信息
|
|
192
|
+
* @param {string} bookingId
|
|
193
|
+
* @param {any} params
|
|
194
|
+
* @return {*}
|
|
195
|
+
* @Author: cong.shao
|
|
196
|
+
* @Date: 2025-04-24 16:28
|
|
197
|
+
*/
|
|
198
|
+
export declare const editOrderNote: (bookingId: string, params: any) => Promise<any>;
|
|
199
|
+
/**
|
|
200
|
+
* @title: 获取退款信息
|
|
201
|
+
* @description: 获取退款相关信息
|
|
202
|
+
* @param {string} bookingId
|
|
203
|
+
* @param {any} params
|
|
204
|
+
* @return {*}
|
|
205
|
+
* @Author: cong.shao
|
|
206
|
+
* @Date: 2025-04-24 16:28
|
|
207
|
+
*/
|
|
208
|
+
export declare const getRefundInfo: (bookingId: string, params: any) => Promise<any>;
|
|
209
|
+
/**
|
|
210
|
+
* @title: 创建活动预约
|
|
211
|
+
* @description: 创建新的活动预约记录
|
|
212
|
+
* @param {any} params
|
|
213
|
+
* @return {*}
|
|
214
|
+
* @Author: cong.shao
|
|
215
|
+
* @Date: 2025-04-24 16:28
|
|
216
|
+
*/
|
|
217
|
+
export declare const createEventBooking: (params: any) => Promise<any>;
|
|
218
|
+
/**
|
|
219
|
+
* @title: 获取活动预约详情
|
|
220
|
+
* @description: 获取活动预约详细信息
|
|
221
|
+
* @param {number} bookingId
|
|
222
|
+
* @param {any} params
|
|
223
|
+
* @return {*}
|
|
224
|
+
* @Author: cong.shao
|
|
225
|
+
* @Date: 2025-04-24 16:28
|
|
226
|
+
*/
|
|
227
|
+
export declare const getEventBookingDetail: (bookingId: number, params?: any) => Promise<any>;
|
|
228
|
+
/**
|
|
229
|
+
* @title: 编辑活动预约
|
|
230
|
+
* @description: 更新活动预约信息
|
|
231
|
+
* @param {string} bookingId
|
|
232
|
+
* @param {any} params
|
|
233
|
+
* @return {*}
|
|
234
|
+
* @Author: cong.shao
|
|
235
|
+
* @Date: 2025-04-24 16:28
|
|
236
|
+
*/
|
|
237
|
+
export declare const editEventBooking: (bookingId: string, params: any) => Promise<any>;
|
|
238
|
+
/**
|
|
239
|
+
* @title: 获取定金显示配置
|
|
240
|
+
* @description: 获取定金相关显示配置
|
|
241
|
+
* @param {any} params
|
|
242
|
+
* @return {*}
|
|
243
|
+
* @Author: cong.shao
|
|
244
|
+
* @Date: 2025-04-24 16:28
|
|
245
|
+
*/
|
|
246
|
+
export declare const getDepositShow: (params: any) => Promise<any>;
|
|
247
|
+
/**
|
|
248
|
+
* @title: 获取表单记录
|
|
249
|
+
* @description: 获取表单记录数据
|
|
250
|
+
* @param {any} params
|
|
251
|
+
* @return {*}
|
|
252
|
+
* @Author: cong.shao
|
|
253
|
+
* @Date: 2025-04-24 16:28
|
|
254
|
+
*/
|
|
255
|
+
export declare const getFormRecords: (params: any) => Promise<any>;
|
|
256
|
+
/**
|
|
257
|
+
* @title: 获取预约列表
|
|
258
|
+
* @description: 获取预约列表数据
|
|
259
|
+
* @param {any} params
|
|
260
|
+
* @return {*}
|
|
261
|
+
* @Author: cong.shao
|
|
262
|
+
* @Date: 2025-04-24 16:28
|
|
263
|
+
*/
|
|
264
|
+
export declare const getBookingList2: (params: any) => Promise<any>;
|
|
265
|
+
/**
|
|
266
|
+
* @title: 获取订单信息
|
|
267
|
+
* @description: 根据机器码获取订单信息
|
|
268
|
+
* @param {any} params
|
|
269
|
+
* @return {*}
|
|
270
|
+
* @Author: cong.shao
|
|
271
|
+
* @Date: 2025-04-24 16:28
|
|
272
|
+
*/
|
|
273
|
+
export declare const getOrderInfoByCode: (params: any) => Promise<any>;
|
|
274
|
+
/**
|
|
275
|
+
* @title: 获取ES客户数据
|
|
276
|
+
* @description: 从ES获取客户数据
|
|
277
|
+
* @param {any} params
|
|
278
|
+
* @return {*}
|
|
279
|
+
* @Author: cong.shao
|
|
280
|
+
* @Date: 2025-04-24 16:28
|
|
281
|
+
*/
|
|
282
|
+
export declare const getClientsEs: (params: any) => Promise<any>;
|
|
283
|
+
/**
|
|
284
|
+
* 作废2.0预约订单
|
|
285
|
+
* @param order_id
|
|
286
|
+
*/
|
|
287
|
+
export declare const voidAppointment: (order_id: number) => Promise<any>;
|
|
288
|
+
export declare const getProductList: (params: any) => Promise<any>;
|
|
@@ -0,0 +1,101 @@
|
|
|
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: "product" | "customer" | "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
|
+
};
|
|
88
|
+
setProduct(product: Record<string, any>, values: {
|
|
89
|
+
total: number;
|
|
90
|
+
discount_list: any[];
|
|
91
|
+
price: number;
|
|
92
|
+
quantity: number;
|
|
93
|
+
_id?: string;
|
|
94
|
+
}): {
|
|
95
|
+
_id: any;
|
|
96
|
+
discount_list: any[];
|
|
97
|
+
_extend: any;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
export { getCache, setCache, clearCache, clearAllCache, clearAllCacheByOsKey, getProductCache, setProductCache, clearProductCache, clearAllProductCache, getBoardConfigCache, setBoardConfigCache, clearBoardConfigCache, } from './productCache';
|
|
101
|
+
export type { CacheType } from './productCache';
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
interface ScheduleTextResult {
|
|
2
|
+
validityTexts: string[];
|
|
3
|
+
excluded_date: string[];
|
|
4
|
+
included_date: string[];
|
|
5
|
+
}
|
|
6
|
+
declare type Locale = 'en' | 'zh-CN' | 'zh-HK';
|
|
7
|
+
interface ScheduleItem {
|
|
8
|
+
id: number;
|
|
9
|
+
name: string | {
|
|
10
|
+
[key: string]: string;
|
|
11
|
+
};
|
|
12
|
+
type: 'standard' | 'time-slots' | 'designation';
|
|
13
|
+
start_time: string | null;
|
|
14
|
+
end_time: string | null;
|
|
15
|
+
repeat_type: 'none' | 'daily' | 'weekly';
|
|
16
|
+
repeat_rule: {
|
|
17
|
+
end: {
|
|
18
|
+
type: 'never' | 'date' | 'occurrence';
|
|
19
|
+
end_date: string | null;
|
|
20
|
+
occurrence: number | null;
|
|
21
|
+
};
|
|
22
|
+
frequency: number;
|
|
23
|
+
excluded_date: Array<{
|
|
24
|
+
start: string;
|
|
25
|
+
end: string;
|
|
26
|
+
}>;
|
|
27
|
+
included_date: any[];
|
|
28
|
+
frequency_date: number[];
|
|
29
|
+
} | null;
|
|
30
|
+
designation: Array<{
|
|
31
|
+
start_date: string;
|
|
32
|
+
start_time: string;
|
|
33
|
+
end_date: string;
|
|
34
|
+
end_time: string;
|
|
35
|
+
}> | null;
|
|
36
|
+
is_all: number;
|
|
37
|
+
time_slot: Array<{
|
|
38
|
+
start_time: string;
|
|
39
|
+
end_time: string;
|
|
40
|
+
}>;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* 根据scheduleList格式化文案展示
|
|
44
|
+
* @param scheduleList 日程列表
|
|
45
|
+
* @returns 格式化后的文案结果数组,每个日程对应一个结果
|
|
46
|
+
*/
|
|
47
|
+
export declare function formatScheduleText(scheduleList: ScheduleItem[], locale?: Locale): ScheduleTextResult[];
|
|
48
|
+
export {};
|