@pisell/private-materials 6.8.30 → 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/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/customSelect/index.d.ts +38 -0
- package/es/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
- 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 +0 -1
- package/es/components/booking/info/service/like/index.d.ts +0 -1
- 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/utils.d.ts +50 -0
- package/es/components/booking/info2/service/contactInfoMode/index.d.ts +0 -1
- 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/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/checkout/hooks/useWalletPass.d.ts +1 -1
- package/es/components/checkout/plugin.d.ts +2 -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/kioskSkuDetail/index.d.ts +7 -4
- package/es/components/kioskSkuDetail/index.js +182 -35
- package/es/components/kioskSkuDetail/locales.d.ts +21 -0
- package/es/components/kioskSkuDetail/locales.js +20 -0
- package/es/components/pay/toB/components/CardGroup/index.d.ts +0 -1
- 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/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/addServiceVariant/utils.d.ts +8 -0
- package/es/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +6 -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/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/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/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/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/customSelect/index.d.ts +38 -0
- package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
- 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 +0 -1
- package/lib/components/booking/info/service/like/index.d.ts +0 -1
- 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/utils.d.ts +50 -0
- package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +0 -1
- 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/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/checkout/hooks/useWalletPass.d.ts +1 -1
- package/lib/components/checkout/plugin.d.ts +2 -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/kioskSkuDetail/index.d.ts +7 -4
- package/lib/components/kioskSkuDetail/index.js +178 -65
- package/lib/components/kioskSkuDetail/locales.d.ts +21 -0
- package/lib/components/kioskSkuDetail/locales.js +44 -0
- package/lib/components/pay/toB/components/CardGroup/index.d.ts +0 -1
- 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/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/addServiceVariant/utils.d.ts +8 -0
- package/lib/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +6 -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/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/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/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,90 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'oauth.config.title': string;
|
|
4
|
+
'oauth.config.description': string;
|
|
5
|
+
'oauth.providers.title': string;
|
|
6
|
+
'oauth.providers.description': string;
|
|
7
|
+
'oauth.provider.google': string;
|
|
8
|
+
'oauth.provider.google.description': string;
|
|
9
|
+
'oauth.provider.apple': string;
|
|
10
|
+
'oauth.provider.apple.description': string;
|
|
11
|
+
'oauth.provider.facebook': string;
|
|
12
|
+
'oauth.provider.facebook.description': string;
|
|
13
|
+
'oauth.status.configured': string;
|
|
14
|
+
'oauth.status.not.configured': string;
|
|
15
|
+
'oauth.button.settings': string;
|
|
16
|
+
'oauth.button.save': string;
|
|
17
|
+
'oauth.button.cancel': string;
|
|
18
|
+
'oauth.drawer.title': string;
|
|
19
|
+
'oauth.apple.identifier': string;
|
|
20
|
+
'oauth.apple.identifier.required': string;
|
|
21
|
+
'oauth.apple.identifier.placeholder': string;
|
|
22
|
+
'oauth.facebook.appId': string;
|
|
23
|
+
'oauth.facebook.appId.required': string;
|
|
24
|
+
'oauth.facebook.appId.placeholder': string;
|
|
25
|
+
'oauth.facebook.appSecret': string;
|
|
26
|
+
'oauth.facebook.appSecret.required': string;
|
|
27
|
+
'oauth.facebook.appSecret.placeholder': string;
|
|
28
|
+
'oauth.save.success': string;
|
|
29
|
+
'oauth.save.error': string;
|
|
30
|
+
};
|
|
31
|
+
'zh-CN': {
|
|
32
|
+
'oauth.config.title': string;
|
|
33
|
+
'oauth.config.description': string;
|
|
34
|
+
'oauth.providers.title': string;
|
|
35
|
+
'oauth.providers.description': string;
|
|
36
|
+
'oauth.provider.google': string;
|
|
37
|
+
'oauth.provider.google.description': string;
|
|
38
|
+
'oauth.provider.apple': string;
|
|
39
|
+
'oauth.provider.apple.description': string;
|
|
40
|
+
'oauth.provider.facebook': string;
|
|
41
|
+
'oauth.provider.facebook.description': string;
|
|
42
|
+
'oauth.status.configured': string;
|
|
43
|
+
'oauth.status.not.configured': string;
|
|
44
|
+
'oauth.button.settings': string;
|
|
45
|
+
'oauth.button.save': string;
|
|
46
|
+
'oauth.button.cancel': string;
|
|
47
|
+
'oauth.drawer.title': string;
|
|
48
|
+
'oauth.apple.identifier': string;
|
|
49
|
+
'oauth.apple.identifier.required': string;
|
|
50
|
+
'oauth.apple.identifier.placeholder': string;
|
|
51
|
+
'oauth.facebook.appId': string;
|
|
52
|
+
'oauth.facebook.appId.required': string;
|
|
53
|
+
'oauth.facebook.appId.placeholder': string;
|
|
54
|
+
'oauth.facebook.appSecret': string;
|
|
55
|
+
'oauth.facebook.appSecret.required': string;
|
|
56
|
+
'oauth.facebook.appSecret.placeholder': string;
|
|
57
|
+
'oauth.save.success': string;
|
|
58
|
+
'oauth.save.error': string;
|
|
59
|
+
};
|
|
60
|
+
'zh-HK': {
|
|
61
|
+
'oauth.config.title': string;
|
|
62
|
+
'oauth.config.description': string;
|
|
63
|
+
'oauth.providers.title': string;
|
|
64
|
+
'oauth.providers.description': string;
|
|
65
|
+
'oauth.provider.google': string;
|
|
66
|
+
'oauth.provider.google.description': string;
|
|
67
|
+
'oauth.provider.apple': string;
|
|
68
|
+
'oauth.provider.apple.description': string;
|
|
69
|
+
'oauth.provider.facebook': string;
|
|
70
|
+
'oauth.provider.facebook.description': string;
|
|
71
|
+
'oauth.status.configured': string;
|
|
72
|
+
'oauth.status.not.configured': string;
|
|
73
|
+
'oauth.button.settings': string;
|
|
74
|
+
'oauth.button.save': string;
|
|
75
|
+
'oauth.button.cancel': string;
|
|
76
|
+
'oauth.drawer.title': string;
|
|
77
|
+
'oauth.apple.identifier': string;
|
|
78
|
+
'oauth.apple.identifier.required': string;
|
|
79
|
+
'oauth.apple.identifier.placeholder': string;
|
|
80
|
+
'oauth.facebook.appId': string;
|
|
81
|
+
'oauth.facebook.appId.required': string;
|
|
82
|
+
'oauth.facebook.appId.placeholder': string;
|
|
83
|
+
'oauth.facebook.appSecret': string;
|
|
84
|
+
'oauth.facebook.appSecret.required': string;
|
|
85
|
+
'oauth.facebook.appSecret.placeholder': string;
|
|
86
|
+
'oauth.save.success': string;
|
|
87
|
+
'oauth.save.error': string;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface OAuthProvider {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
description: string;
|
|
6
|
+
icon: React.ReactNode;
|
|
7
|
+
configured: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface OAuthConfigProps {
|
|
10
|
+
/**
|
|
11
|
+
* 自定义类名
|
|
12
|
+
*/
|
|
13
|
+
className?: string;
|
|
14
|
+
/**
|
|
15
|
+
* 自定义样式
|
|
16
|
+
*/
|
|
17
|
+
style?: React.CSSProperties;
|
|
18
|
+
/**
|
|
19
|
+
* 保存回调
|
|
20
|
+
*/
|
|
21
|
+
onSave?: (providers: OAuthProvider[]) => void;
|
|
22
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'org.admin.auth.title': string;
|
|
4
|
+
'org.admin.auth.description': string;
|
|
5
|
+
'org.admin.auth.methods.title': string;
|
|
6
|
+
'org.admin.auth.methods.description': string;
|
|
7
|
+
'org.admin.password.settings.title': string;
|
|
8
|
+
'org.admin.password.settings.description': string;
|
|
9
|
+
'auth.button.cancel': string;
|
|
10
|
+
'auth.button.save': string;
|
|
11
|
+
'auth.button.settings': string;
|
|
12
|
+
'auth.save.success': string;
|
|
13
|
+
'auth.save.error': string;
|
|
14
|
+
'auth.oauth.config.message': string;
|
|
15
|
+
'auth.oauth.config.link': string;
|
|
16
|
+
'auth.category.general': string;
|
|
17
|
+
'auth.category.oauth': string;
|
|
18
|
+
};
|
|
19
|
+
'zh-CN': {
|
|
20
|
+
'org.admin.auth.title': string;
|
|
21
|
+
'org.admin.auth.description': string;
|
|
22
|
+
'org.admin.auth.methods.title': string;
|
|
23
|
+
'org.admin.auth.methods.description': string;
|
|
24
|
+
'org.admin.password.settings.title': string;
|
|
25
|
+
'org.admin.password.settings.description': string;
|
|
26
|
+
'auth.button.cancel': string;
|
|
27
|
+
'auth.button.save': string;
|
|
28
|
+
'auth.button.settings': string;
|
|
29
|
+
'auth.save.success': string;
|
|
30
|
+
'auth.save.error': string;
|
|
31
|
+
'auth.oauth.config.message': string;
|
|
32
|
+
'auth.oauth.config.link': string;
|
|
33
|
+
'auth.category.general': string;
|
|
34
|
+
'auth.category.oauth': string;
|
|
35
|
+
};
|
|
36
|
+
'zh-HK': {
|
|
37
|
+
'org.admin.auth.title': string;
|
|
38
|
+
'org.admin.auth.description': string;
|
|
39
|
+
'org.admin.auth.methods.title': string;
|
|
40
|
+
'org.admin.auth.methods.description': string;
|
|
41
|
+
'org.admin.password.settings.title': string;
|
|
42
|
+
'org.admin.password.settings.description': string;
|
|
43
|
+
'auth.button.cancel': string;
|
|
44
|
+
'auth.button.save': string;
|
|
45
|
+
'auth.button.settings': string;
|
|
46
|
+
'auth.save.success': string;
|
|
47
|
+
'auth.save.error': string;
|
|
48
|
+
'auth.oauth.config.message': string;
|
|
49
|
+
'auth.oauth.config.link': string;
|
|
50
|
+
'auth.category.general': string;
|
|
51
|
+
'auth.category.oauth': string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { AuthMethod } from '../AuthMethods/types';
|
|
3
|
+
export interface OrgAdminAuthProps {
|
|
4
|
+
/**
|
|
5
|
+
* 自定义类名
|
|
6
|
+
*/
|
|
7
|
+
className?: string;
|
|
8
|
+
/**
|
|
9
|
+
* 自定义样式
|
|
10
|
+
*/
|
|
11
|
+
style?: React.CSSProperties;
|
|
12
|
+
/**
|
|
13
|
+
* 保存回调
|
|
14
|
+
*/
|
|
15
|
+
onSave?: (authMethods: AuthMethod[], passwordRules: any) => void;
|
|
16
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pos.operator.auth.title': string;
|
|
4
|
+
'pos.operator.auth.description': string;
|
|
5
|
+
'pos.operator.auth.methods.title': string;
|
|
6
|
+
'pos.operator.auth.methods.description': string;
|
|
7
|
+
'auth.method.digit_id_pin.title': string;
|
|
8
|
+
'auth.method.digit_id_pin.description': string;
|
|
9
|
+
'auth.button.cancel': string;
|
|
10
|
+
'auth.button.save': string;
|
|
11
|
+
'auth.button.settings': string;
|
|
12
|
+
'auth.category.general': string;
|
|
13
|
+
'auth.category.passwordFree': string;
|
|
14
|
+
'auth.save.success': string;
|
|
15
|
+
'auth.save.error': string;
|
|
16
|
+
};
|
|
17
|
+
'zh-CN': {
|
|
18
|
+
'pos.operator.auth.title': string;
|
|
19
|
+
'pos.operator.auth.description': string;
|
|
20
|
+
'pos.operator.auth.methods.title': string;
|
|
21
|
+
'pos.operator.auth.methods.description': string;
|
|
22
|
+
'auth.method.digit_id_pin.title': string;
|
|
23
|
+
'auth.method.digit_id_pin.description': string;
|
|
24
|
+
'auth.button.cancel': string;
|
|
25
|
+
'auth.button.save': string;
|
|
26
|
+
'auth.button.settings': string;
|
|
27
|
+
'auth.category.general': string;
|
|
28
|
+
'auth.category.passwordFree': string;
|
|
29
|
+
'auth.save.success': string;
|
|
30
|
+
'auth.save.error': string;
|
|
31
|
+
};
|
|
32
|
+
'zh-HK': {
|
|
33
|
+
'pos.operator.auth.title': string;
|
|
34
|
+
'pos.operator.auth.description': string;
|
|
35
|
+
'pos.operator.auth.methods.title': string;
|
|
36
|
+
'pos.operator.auth.methods.description': string;
|
|
37
|
+
'auth.method.digit_id_pin.title': string;
|
|
38
|
+
'auth.method.digit_id_pin.description': string;
|
|
39
|
+
'auth.button.cancel': string;
|
|
40
|
+
'auth.button.save': string;
|
|
41
|
+
'auth.button.settings': string;
|
|
42
|
+
'auth.category.general': string;
|
|
43
|
+
'auth.category.passwordFree': string;
|
|
44
|
+
'auth.save.success': string;
|
|
45
|
+
'auth.save.error': string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { AuthMethod } from '../AuthMethods/types';
|
|
3
|
+
export interface POSOperatorAuthProps {
|
|
4
|
+
/**
|
|
5
|
+
* 自定义类名
|
|
6
|
+
*/
|
|
7
|
+
className?: string;
|
|
8
|
+
/**
|
|
9
|
+
* 自定义样式
|
|
10
|
+
*/
|
|
11
|
+
style?: React.CSSProperties;
|
|
12
|
+
/**
|
|
13
|
+
* 保存回调
|
|
14
|
+
*/
|
|
15
|
+
onSave?: (authMethods: AuthMethod[]) => void;
|
|
16
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'saas.admin.auth.title': string;
|
|
4
|
+
'saas.admin.auth.description': string;
|
|
5
|
+
'saas.admin.auth.methods.title': string;
|
|
6
|
+
'saas.admin.auth.methods.description': string;
|
|
7
|
+
'saas.admin.password.settings.title': string;
|
|
8
|
+
'saas.admin.password.settings.description': string;
|
|
9
|
+
'auth.button.cancel': string;
|
|
10
|
+
'auth.button.save': string;
|
|
11
|
+
'auth.button.settings': string;
|
|
12
|
+
'auth.save.success': string;
|
|
13
|
+
'auth.save.error': string;
|
|
14
|
+
'auth.oauth.config.message': string;
|
|
15
|
+
'auth.oauth.config.link': string;
|
|
16
|
+
'auth.category.general': string;
|
|
17
|
+
'auth.category.oauth': string;
|
|
18
|
+
};
|
|
19
|
+
'zh-CN': {
|
|
20
|
+
'saas.admin.auth.title': string;
|
|
21
|
+
'saas.admin.auth.description': string;
|
|
22
|
+
'saas.admin.auth.methods.title': string;
|
|
23
|
+
'saas.admin.auth.methods.description': string;
|
|
24
|
+
'saas.admin.password.settings.title': string;
|
|
25
|
+
'saas.admin.password.settings.description': string;
|
|
26
|
+
'auth.button.cancel': string;
|
|
27
|
+
'auth.button.save': string;
|
|
28
|
+
'auth.button.settings': string;
|
|
29
|
+
'auth.save.success': string;
|
|
30
|
+
'auth.save.error': string;
|
|
31
|
+
'auth.oauth.config.message': string;
|
|
32
|
+
'auth.oauth.config.link': string;
|
|
33
|
+
'auth.category.general': string;
|
|
34
|
+
'auth.category.oauth': string;
|
|
35
|
+
};
|
|
36
|
+
'zh-HK': {
|
|
37
|
+
'saas.admin.auth.title': string;
|
|
38
|
+
'saas.admin.auth.description': string;
|
|
39
|
+
'saas.admin.auth.methods.title': string;
|
|
40
|
+
'saas.admin.auth.methods.description': string;
|
|
41
|
+
'saas.admin.password.settings.title': string;
|
|
42
|
+
'saas.admin.password.settings.description': string;
|
|
43
|
+
'auth.button.cancel': string;
|
|
44
|
+
'auth.button.save': string;
|
|
45
|
+
'auth.button.settings': string;
|
|
46
|
+
'auth.save.success': string;
|
|
47
|
+
'auth.save.error': string;
|
|
48
|
+
'auth.oauth.config.message': string;
|
|
49
|
+
'auth.oauth.config.link': string;
|
|
50
|
+
'auth.category.general': string;
|
|
51
|
+
'auth.category.oauth': string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { AuthMethod } from '../AuthMethods/types';
|
|
3
|
+
export interface SaaSAdminAuthProps {
|
|
4
|
+
/**
|
|
5
|
+
* 自定义类名
|
|
6
|
+
*/
|
|
7
|
+
className?: string;
|
|
8
|
+
/**
|
|
9
|
+
* 自定义样式
|
|
10
|
+
*/
|
|
11
|
+
style?: React.CSSProperties;
|
|
12
|
+
/**
|
|
13
|
+
* 保存回调
|
|
14
|
+
*/
|
|
15
|
+
onSave?: (authMethods: AuthMethod[], passwordRules: any) => void;
|
|
16
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FormState } from "../model";
|
|
3
|
+
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
4
|
+
state: FormState;
|
|
5
|
+
} & {
|
|
6
|
+
dispatch: (params: {
|
|
7
|
+
type: string;
|
|
8
|
+
payload: any;
|
|
9
|
+
}) => void;
|
|
10
|
+
}>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
interface CustomSelectProps {
|
|
4
|
+
options: any[];
|
|
5
|
+
onValueChange: (value: any[]) => void;
|
|
6
|
+
value: any[];
|
|
7
|
+
rowKey: string;
|
|
8
|
+
previewItemRender?: (item: any) => React.ReactNode;
|
|
9
|
+
previewItemTitleRender?: (item: any, index: number, values: any[]) => React.ReactNode;
|
|
10
|
+
addButtonRender?: () => React.ReactNode;
|
|
11
|
+
optionRender: (item: any) => React.ReactNode;
|
|
12
|
+
addButtonProps?: any;
|
|
13
|
+
drawerProps?: any;
|
|
14
|
+
createItemText?: string;
|
|
15
|
+
loading?: boolean;
|
|
16
|
+
previewItemClassName?: string;
|
|
17
|
+
optionClassName?: string;
|
|
18
|
+
mode?: 'single' | 'multiple' | 'form';
|
|
19
|
+
filterItem?: (item: any, search: string) => boolean;
|
|
20
|
+
isPreview?: boolean;
|
|
21
|
+
name?: string;
|
|
22
|
+
handleCreateItem?: () => void;
|
|
23
|
+
handleViewItem?: (item: any) => void;
|
|
24
|
+
searchChange?: (e: string) => void;
|
|
25
|
+
loadMore?: any;
|
|
26
|
+
virtualListHeight?: number;
|
|
27
|
+
disabled?: boolean;
|
|
28
|
+
searchValue?: string;
|
|
29
|
+
onVirtualListScroll?: any;
|
|
30
|
+
modalOpen?: boolean;
|
|
31
|
+
closeCallback?: () => any;
|
|
32
|
+
autoFocus?: boolean;
|
|
33
|
+
showDropDown?: boolean;
|
|
34
|
+
handleOpenModal?: () => void;
|
|
35
|
+
handleDayChange?: (value: any) => void;
|
|
36
|
+
}
|
|
37
|
+
declare const _default: React.ForwardRefExoticComponent<CustomSelectProps & React.RefAttributes<unknown>>;
|
|
38
|
+
export default _default;
|
|
@@ -1 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FormState } from "../model";
|
|
3
|
+
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
4
|
+
state: FormState;
|
|
5
|
+
} & {
|
|
6
|
+
dispatch: (params: {
|
|
7
|
+
type: string;
|
|
8
|
+
payload: any;
|
|
9
|
+
}) => void;
|
|
10
|
+
}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useIsBooking4Shop: (state: any) => any;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { FormState } from '../../../model';
|
|
2
|
+
interface useClientFnParams {
|
|
3
|
+
state: any;
|
|
4
|
+
setGlobalState: (val: any) => void;
|
|
5
|
+
modalRef: any;
|
|
6
|
+
onRemoveClient?: () => void;
|
|
7
|
+
}
|
|
8
|
+
declare const useClientFn: (_params: useClientFnParams) => {
|
|
9
|
+
setClient: (client: Partial<FormState['client']>) => void;
|
|
10
|
+
isWalkIn: boolean;
|
|
11
|
+
handleSelectClient: (value: any) => Promise<unknown>;
|
|
12
|
+
menuChange: (e: any) => void;
|
|
13
|
+
handleViewClient: () => void;
|
|
14
|
+
menus: {
|
|
15
|
+
key: string;
|
|
16
|
+
label: any;
|
|
17
|
+
}[];
|
|
18
|
+
handleCreateItem: (cb?: () => void) => void;
|
|
19
|
+
getClients: ({ customer_id, customer_ids, ...resetParams }: {
|
|
20
|
+
customer_id?: number | undefined;
|
|
21
|
+
skip?: number | undefined;
|
|
22
|
+
search?: string | undefined;
|
|
23
|
+
with?: string[] | undefined;
|
|
24
|
+
relation_form_id?: number | undefined;
|
|
25
|
+
num?: number | undefined;
|
|
26
|
+
customer_ids?: string[] | undefined;
|
|
27
|
+
}, returnResult?: boolean) => Promise<any>;
|
|
28
|
+
params: {
|
|
29
|
+
skip: number;
|
|
30
|
+
num: number;
|
|
31
|
+
total: number;
|
|
32
|
+
search: string;
|
|
33
|
+
with: string[];
|
|
34
|
+
relation_form_id: any;
|
|
35
|
+
};
|
|
36
|
+
searchChange: (search: string) => void;
|
|
37
|
+
loading: boolean;
|
|
38
|
+
loadMore: JSX.Element | null;
|
|
39
|
+
handleOpenClientModal: (val?: string) => void;
|
|
40
|
+
getNickname: (item: any) => any;
|
|
41
|
+
franchiseeLoading: number;
|
|
42
|
+
};
|
|
43
|
+
export default useClientFn;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './SelectDrawer.less';
|
|
3
|
+
interface SelectDrawerProps {
|
|
4
|
+
autoFocus?: boolean;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
handleSelectClient: (val: any) => void;
|
|
7
|
+
handleCreateItem: (cb: () => void) => void;
|
|
8
|
+
handleSelectPet: (val: any) => void;
|
|
9
|
+
childrenValue: any[];
|
|
10
|
+
formData: any;
|
|
11
|
+
searchChange: (val: string) => void;
|
|
12
|
+
options: any;
|
|
13
|
+
loading: boolean;
|
|
14
|
+
client: any;
|
|
15
|
+
loadMore: any;
|
|
16
|
+
showPet: boolean;
|
|
17
|
+
holder: any;
|
|
18
|
+
handleAddPet: any;
|
|
19
|
+
modalOpen: boolean;
|
|
20
|
+
franchiseeLoading?: number;
|
|
21
|
+
showHeader?: boolean;
|
|
22
|
+
showWalkIn?: boolean;
|
|
23
|
+
}
|
|
24
|
+
declare const _default: React.ForwardRefExoticComponent<SelectDrawerProps & React.RefAttributes<unknown>>;
|
|
25
|
+
export default _default;
|
|
@@ -1,5 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FormState } from '../model';
|
|
1
3
|
export declare const walkInData: {
|
|
2
4
|
id: number;
|
|
3
5
|
nickname: string;
|
|
4
6
|
};
|
|
5
|
-
export declare const Provider: any, Context:
|
|
7
|
+
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
8
|
+
state: FormState;
|
|
9
|
+
} & {
|
|
10
|
+
dispatch: (params: {
|
|
11
|
+
type: string;
|
|
12
|
+
payload: any;
|
|
13
|
+
}) => void;
|
|
14
|
+
}>;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export declare const getIsBundleOrCombination: (productDetail: any) => boolean;
|
|
2
|
+
export declare const uniqueByField: (arr: any[], field: string) => any[];
|
|
3
|
+
export declare const moveItemToFront: (arr: any[], targetId: string | number) => any[];
|
|
4
|
+
/**
|
|
5
|
+
* @title: 判断两个时间是否在同一个时间段内
|
|
6
|
+
* @description:
|
|
7
|
+
* @param {number} time1 开始时间
|
|
8
|
+
* @param {number} time2 结束时间
|
|
9
|
+
* @param {number} interval 时间间隔
|
|
10
|
+
* @return {*}
|
|
11
|
+
* @Author: zhiwei.Wang
|
|
12
|
+
* @Date: 2024-08-13 19:37
|
|
13
|
+
*/
|
|
14
|
+
export declare const isInterval: (time1: number, time2: number, interval?: number) => boolean;
|
|
15
|
+
/**
|
|
16
|
+
* @title: 根据时间间隔格式化服务列表
|
|
17
|
+
* @description: 防止短时间内添加多个相同服务, 如果两个服务的时间间隔小于1秒,则合并为一个服务
|
|
18
|
+
* @param {any} list 服务列表
|
|
19
|
+
* @return {*}
|
|
20
|
+
* @Author: zhiwei.Wang
|
|
21
|
+
* @Date: 2024-08-13 19:36
|
|
22
|
+
*/
|
|
23
|
+
export declare const formatServiceListByTime: (list: any[]) => any[];
|
|
24
|
+
export declare const isBooking4Shop: (shopId: number, renderType?: string, businessUtils?: any) => any;
|
|
25
|
+
declare type DataEntry = {
|
|
26
|
+
total: number;
|
|
27
|
+
origin_total: number;
|
|
28
|
+
num: number;
|
|
29
|
+
quotation_id: number;
|
|
30
|
+
start_date: string;
|
|
31
|
+
end_date: string;
|
|
32
|
+
};
|
|
33
|
+
declare type ResultStructure = Record<string, Record<string, any>>;
|
|
34
|
+
export declare const getMultiDayPrices: (data: DataEntry[]) => ResultStructure;
|
|
35
|
+
/**
|
|
36
|
+
* @title: 是否是跨日预约
|
|
37
|
+
* @description:
|
|
38
|
+
* @param {number} shopId
|
|
39
|
+
* @return {*}
|
|
40
|
+
* @Author: WangHan
|
|
41
|
+
* @Date: 2024-11-29 11:19
|
|
42
|
+
*/
|
|
43
|
+
export declare const isDayBooking: (shopId: number) => boolean;
|
|
44
|
+
export declare const isOpenAddTime: (state: any) => boolean;
|
|
45
|
+
export declare const isShowAddTime: (state: any, currentService: any) => boolean;
|
|
46
|
+
export declare const editSessionProduct: (cacheItem: any, session: any) => {
|
|
47
|
+
duration: any;
|
|
48
|
+
start_time: any;
|
|
49
|
+
} | undefined;
|
|
50
|
+
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
1. 在进入编辑服务前
|
|
3
|
+
|
|
4
|
+
计算出各种需要的列表
|
|
5
|
+
|
|
6
|
+
设置默认值
|
|
7
|
+
|
|
8
|
+
判断是否需要进入编辑服务页
|
|
9
|
+
*/
|
|
10
|
+
export declare const getAutoAllocationStorage: (id: string | number) => any;
|
|
11
|
+
export declare const setAutoAllocationStorage: (data: {
|
|
12
|
+
[key: string]: boolean;
|
|
13
|
+
}) => void;
|
|
14
|
+
/**
|
|
15
|
+
* 手动折扣后给商品价格和子商品价格重新计算
|
|
16
|
+
*
|
|
17
|
+
* 计算逻辑:
|
|
18
|
+
* 1. 子商品(bundle + option)按折扣比例计算,直接截取两位小数(不四舍五入)
|
|
19
|
+
* 2. 主商品价格 = newTotal - 所有子商品价格总和(确保总价精确等于 newTotal)
|
|
20
|
+
*
|
|
21
|
+
* @param cacheItem - 缓存的商品项
|
|
22
|
+
* @param newTotal - 折扣后的新总价
|
|
23
|
+
* @param origin_total - 原始总价
|
|
24
|
+
*/
|
|
25
|
+
export declare const setProductPrice: (cacheItem: any, { newTotal, origin_total }: {
|
|
26
|
+
newTotal: number;
|
|
27
|
+
origin_total: number;
|
|
28
|
+
}) => any;
|