@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,72 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'page.setting.login.form.menu.title': string;
|
|
4
|
+
'page.setting.login.form.menu.desc': string;
|
|
5
|
+
'collect.info.enable': string;
|
|
6
|
+
'collect.info.account': string;
|
|
7
|
+
'collect.info.allow.skip': string;
|
|
8
|
+
'collect.info.prompt': string;
|
|
9
|
+
'collect.info.fields': string;
|
|
10
|
+
'collect.info.sort': string;
|
|
11
|
+
'collect.info.customer.form': string;
|
|
12
|
+
'collect.info.field.phone': string;
|
|
13
|
+
'collect.info.field.phone.desc': string;
|
|
14
|
+
'collect.info.field.email': string;
|
|
15
|
+
'collect.info.field.email.desc': string;
|
|
16
|
+
'collect.info.field.avatar': string;
|
|
17
|
+
'collect.info.field.nickname': string;
|
|
18
|
+
'collect.info.field.gender': string;
|
|
19
|
+
'collect.info.field.name': string;
|
|
20
|
+
'collect.info.required': string;
|
|
21
|
+
'collect.info.optional': string;
|
|
22
|
+
'collect.info.skip': string;
|
|
23
|
+
'collect.info.disallow.skip': string;
|
|
24
|
+
};
|
|
25
|
+
'zh-CN': {
|
|
26
|
+
'page.setting.login.form.menu.title': string;
|
|
27
|
+
'page.setting.login.form.menu.desc': string;
|
|
28
|
+
'collect.info.enable': string;
|
|
29
|
+
'collect.info.account': string;
|
|
30
|
+
'collect.info.allow.skip': string;
|
|
31
|
+
'collect.info.prompt': string;
|
|
32
|
+
'collect.info.fields': string;
|
|
33
|
+
'collect.info.sort': string;
|
|
34
|
+
'collect.info.customer.form': string;
|
|
35
|
+
'collect.info.field.phone': string;
|
|
36
|
+
'collect.info.field.phone.desc': string;
|
|
37
|
+
'collect.info.field.email': string;
|
|
38
|
+
'collect.info.field.email.desc': string;
|
|
39
|
+
'collect.info.field.avatar': string;
|
|
40
|
+
'collect.info.field.nickname': string;
|
|
41
|
+
'collect.info.field.gender': string;
|
|
42
|
+
'collect.info.field.name': string;
|
|
43
|
+
'collect.info.required': string;
|
|
44
|
+
'collect.info.optional': string;
|
|
45
|
+
'collect.info.skip': string;
|
|
46
|
+
'collect.info.disallow.skip': string;
|
|
47
|
+
};
|
|
48
|
+
'zh-HK': {
|
|
49
|
+
'page.setting.login.form.menu.title': string;
|
|
50
|
+
'page.setting.login.form.menu.desc': string;
|
|
51
|
+
'collect.info.enable': string;
|
|
52
|
+
'collect.info.account': string;
|
|
53
|
+
'collect.info.allow.skip': string;
|
|
54
|
+
'collect.info.prompt': string;
|
|
55
|
+
'collect.info.fields': string;
|
|
56
|
+
'collect.info.sort': string;
|
|
57
|
+
'collect.info.customer.form': string;
|
|
58
|
+
'collect.info.field.phone': string;
|
|
59
|
+
'collect.info.field.phone.desc': string;
|
|
60
|
+
'collect.info.field.email': string;
|
|
61
|
+
'collect.info.field.email.desc': string;
|
|
62
|
+
'collect.info.field.avatar': string;
|
|
63
|
+
'collect.info.field.nickname': string;
|
|
64
|
+
'collect.info.field.gender': string;
|
|
65
|
+
'collect.info.field.name': string;
|
|
66
|
+
'collect.info.required': string;
|
|
67
|
+
'collect.info.optional': string;
|
|
68
|
+
'collect.info.skip': string;
|
|
69
|
+
'collect.info.disallow.skip': string;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
export default _default;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface TranslationValue {
|
|
3
|
+
en: string;
|
|
4
|
+
'zh-CN': string;
|
|
5
|
+
'zh-HK': string;
|
|
6
|
+
original: string;
|
|
7
|
+
}
|
|
8
|
+
export interface AccountField {
|
|
9
|
+
id: string;
|
|
10
|
+
name: string;
|
|
11
|
+
description: string;
|
|
12
|
+
checked: boolean;
|
|
13
|
+
required: 'required' | 'optional';
|
|
14
|
+
}
|
|
15
|
+
export interface CustomerFormItem {
|
|
16
|
+
id: string;
|
|
17
|
+
name: string;
|
|
18
|
+
waiver: 'skip' | 'required';
|
|
19
|
+
}
|
|
20
|
+
export interface CollectInfoValue {
|
|
21
|
+
enableCollectInfo: boolean;
|
|
22
|
+
collectAccountInfo: boolean;
|
|
23
|
+
allowSkip: boolean;
|
|
24
|
+
promptMessage: TranslationValue;
|
|
25
|
+
accountFields: AccountField[];
|
|
26
|
+
customerForms: CustomerFormItem[];
|
|
27
|
+
}
|
|
28
|
+
export interface CollectInfoProps {
|
|
29
|
+
className?: string;
|
|
30
|
+
style?: React.CSSProperties;
|
|
31
|
+
value?: CollectInfoValue;
|
|
32
|
+
onChange?: (value: CollectInfoValue) => void;
|
|
33
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'page.setting.register.title': string;
|
|
4
|
+
'page.setting.register.description': string;
|
|
5
|
+
'page.setting.login.title': string;
|
|
6
|
+
'page.setting.login.description': string;
|
|
7
|
+
'page.setting.login.sameAsRegister': string;
|
|
8
|
+
'page.setting.login.sameAsRegister.description': string;
|
|
9
|
+
};
|
|
10
|
+
'zh-CN': {
|
|
11
|
+
'page.setting.register.title': string;
|
|
12
|
+
'page.setting.register.description': string;
|
|
13
|
+
'page.setting.login.title': string;
|
|
14
|
+
'page.setting.login.description': string;
|
|
15
|
+
'page.setting.login.sameAsRegister': string;
|
|
16
|
+
'page.setting.login.sameAsRegister.description': string;
|
|
17
|
+
};
|
|
18
|
+
'zh-HK': {
|
|
19
|
+
'page.setting.register.title': string;
|
|
20
|
+
'page.setting.register.description': string;
|
|
21
|
+
'page.setting.login.title': string;
|
|
22
|
+
'page.setting.login.description': string;
|
|
23
|
+
'page.setting.login.sameAsRegister': string;
|
|
24
|
+
'page.setting.login.sameAsRegister.description': string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { PageSettingItemValue } from '../PageSettingItem/types';
|
|
3
|
+
export interface PageSettingValue {
|
|
4
|
+
registerPage: PageSettingItemValue;
|
|
5
|
+
loginPage: {
|
|
6
|
+
sameAsRegister: boolean;
|
|
7
|
+
settings?: PageSettingItemValue;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export interface PageSettingProps {
|
|
11
|
+
className?: string;
|
|
12
|
+
style?: React.CSSProperties;
|
|
13
|
+
value?: PageSettingValue;
|
|
14
|
+
onChange?: (value: PageSettingValue) => void;
|
|
15
|
+
/**
|
|
16
|
+
* 是否显示注册页面配置
|
|
17
|
+
* 某些渠道(如POS)不支持注册页面,此时不显示"Same as Register Page Settings"选项
|
|
18
|
+
*/
|
|
19
|
+
showRegisterPage?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* 是否显示图片上传组件
|
|
22
|
+
* 默认为true,设置为false时隐藏背景图片上传功能
|
|
23
|
+
*/
|
|
24
|
+
showImageUpload?: boolean;
|
|
25
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'page.setting.item.background.title': string;
|
|
4
|
+
'page.setting.item.background.upload.text': string;
|
|
5
|
+
'page.setting.item.background.upload.hint': string;
|
|
6
|
+
'page.setting.item.background.description': string;
|
|
7
|
+
'page.setting.item.background.usage': string;
|
|
8
|
+
'page.setting.item.background.error.format': string;
|
|
9
|
+
'page.setting.item.background.error.size': string;
|
|
10
|
+
'page.setting.item.terms.title': string;
|
|
11
|
+
'page.setting.item.terms.subtitle': string;
|
|
12
|
+
'page.setting.item.terms.usage': string;
|
|
13
|
+
'page.setting.item.terms.table.name': string;
|
|
14
|
+
'page.setting.item.terms.table.url': string;
|
|
15
|
+
'page.setting.item.terms.table.action': string;
|
|
16
|
+
'page.setting.item.terms.table.name.placeholder': string;
|
|
17
|
+
'page.setting.item.terms.table.url.placeholder': string;
|
|
18
|
+
'page.setting.item.terms.button.add': string;
|
|
19
|
+
'page.setting.item.terms.error.name.required': string;
|
|
20
|
+
'page.setting.item.terms.error.url.required': string;
|
|
21
|
+
'page.setting.item.terms.error.url.invalid': string;
|
|
22
|
+
};
|
|
23
|
+
'zh-CN': {
|
|
24
|
+
'page.setting.item.background.title': string;
|
|
25
|
+
'page.setting.item.background.upload.text': string;
|
|
26
|
+
'page.setting.item.background.upload.hint': string;
|
|
27
|
+
'page.setting.item.background.description': string;
|
|
28
|
+
'page.setting.item.background.usage': string;
|
|
29
|
+
'page.setting.item.background.error.format': string;
|
|
30
|
+
'page.setting.item.background.error.size': string;
|
|
31
|
+
'page.setting.item.terms.title': string;
|
|
32
|
+
'page.setting.item.terms.subtitle': string;
|
|
33
|
+
'page.setting.item.terms.usage': string;
|
|
34
|
+
'page.setting.item.terms.table.name': string;
|
|
35
|
+
'page.setting.item.terms.table.url': string;
|
|
36
|
+
'page.setting.item.terms.table.action': string;
|
|
37
|
+
'page.setting.item.terms.table.name.placeholder': string;
|
|
38
|
+
'page.setting.item.terms.table.url.placeholder': string;
|
|
39
|
+
'page.setting.item.terms.button.add': string;
|
|
40
|
+
'page.setting.item.terms.error.name.required': string;
|
|
41
|
+
'page.setting.item.terms.error.url.required': string;
|
|
42
|
+
'page.setting.item.terms.error.url.invalid': string;
|
|
43
|
+
};
|
|
44
|
+
'zh-HK': {
|
|
45
|
+
'page.setting.item.background.title': string;
|
|
46
|
+
'page.setting.item.background.upload.text': string;
|
|
47
|
+
'page.setting.item.background.upload.hint': string;
|
|
48
|
+
'page.setting.item.background.description': string;
|
|
49
|
+
'page.setting.item.background.usage': string;
|
|
50
|
+
'page.setting.item.background.error.format': string;
|
|
51
|
+
'page.setting.item.background.error.size': string;
|
|
52
|
+
'page.setting.item.terms.title': string;
|
|
53
|
+
'page.setting.item.terms.subtitle': string;
|
|
54
|
+
'page.setting.item.terms.usage': string;
|
|
55
|
+
'page.setting.item.terms.table.name': string;
|
|
56
|
+
'page.setting.item.terms.table.url': string;
|
|
57
|
+
'page.setting.item.terms.table.action': string;
|
|
58
|
+
'page.setting.item.terms.table.name.placeholder': string;
|
|
59
|
+
'page.setting.item.terms.table.url.placeholder': string;
|
|
60
|
+
'page.setting.item.terms.button.add': string;
|
|
61
|
+
'page.setting.item.terms.error.name.required': string;
|
|
62
|
+
'page.setting.item.terms.error.url.required': string;
|
|
63
|
+
'page.setting.item.terms.error.url.invalid': string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface TranslationValue {
|
|
3
|
+
en: string;
|
|
4
|
+
'zh-CN': string;
|
|
5
|
+
'zh-HK': string;
|
|
6
|
+
original: string;
|
|
7
|
+
}
|
|
8
|
+
export interface TermsCondition {
|
|
9
|
+
name: TranslationValue;
|
|
10
|
+
url: string;
|
|
11
|
+
}
|
|
12
|
+
export interface PageSettingItemValue {
|
|
13
|
+
backgroundImage?: string;
|
|
14
|
+
termsConditions: TermsCondition[];
|
|
15
|
+
}
|
|
16
|
+
export interface PageSettingItemProps {
|
|
17
|
+
className?: string;
|
|
18
|
+
style?: React.CSSProperties;
|
|
19
|
+
value?: PageSettingItemValue;
|
|
20
|
+
onChange?: (value: PageSettingItemValue) => void;
|
|
21
|
+
/**
|
|
22
|
+
* 是否显示图片上传组件
|
|
23
|
+
* 默认为true,设置为false时隐藏背景图片上传功能
|
|
24
|
+
*/
|
|
25
|
+
showImageUpload?: boolean;
|
|
26
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'channel.auth.setting.title': string;
|
|
4
|
+
'channel.auth.setting.description': string;
|
|
5
|
+
'channel.auth.setting.tab.pageSetting': string;
|
|
6
|
+
'channel.auth.setting.tab.authenticationMethods': string;
|
|
7
|
+
'channel.auth.setting.tab.collectInfo': string;
|
|
8
|
+
'channel.auth.setting.button.cancel': string;
|
|
9
|
+
'channel.auth.setting.button.save': string;
|
|
10
|
+
'channel.auth.setting.message.saveSuccess': string;
|
|
11
|
+
'channel.auth.setting.message.saveError': string;
|
|
12
|
+
'channel.auth.setting.validation.error': string;
|
|
13
|
+
};
|
|
14
|
+
'zh-CN': {
|
|
15
|
+
'channel.auth.setting.title': string;
|
|
16
|
+
'channel.auth.setting.description': string;
|
|
17
|
+
'channel.auth.setting.tab.pageSetting': string;
|
|
18
|
+
'channel.auth.setting.tab.authenticationMethods': string;
|
|
19
|
+
'channel.auth.setting.tab.collectInfo': string;
|
|
20
|
+
'channel.auth.setting.button.cancel': string;
|
|
21
|
+
'channel.auth.setting.button.save': string;
|
|
22
|
+
'channel.auth.setting.message.saveSuccess': string;
|
|
23
|
+
'channel.auth.setting.message.saveError': string;
|
|
24
|
+
'channel.auth.setting.validation.error': string;
|
|
25
|
+
};
|
|
26
|
+
'zh-HK': {
|
|
27
|
+
'channel.auth.setting.title': string;
|
|
28
|
+
'channel.auth.setting.description': string;
|
|
29
|
+
'channel.auth.setting.tab.pageSetting': string;
|
|
30
|
+
'channel.auth.setting.tab.authenticationMethods': string;
|
|
31
|
+
'channel.auth.setting.tab.collectInfo': string;
|
|
32
|
+
'channel.auth.setting.button.cancel': string;
|
|
33
|
+
'channel.auth.setting.button.save': string;
|
|
34
|
+
'channel.auth.setting.message.saveSuccess': string;
|
|
35
|
+
'channel.auth.setting.message.saveError': string;
|
|
36
|
+
'channel.auth.setting.validation.error': string;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
export default _default;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { PageSettingValue } from './PageSetting/types';
|
|
3
|
+
import { AuthenticationMethodsValue } from './AuthenticationMethods/types';
|
|
4
|
+
import { CollectInfoValue } from './CollectInfo/types';
|
|
5
|
+
export declare type TabKey = 'pageSetting' | 'authenticationMethods' | 'collectInfo';
|
|
6
|
+
export interface ChannelAuthSettingValue {
|
|
7
|
+
pageSetting?: PageSettingValue;
|
|
8
|
+
authenticationMethods?: AuthenticationMethodsValue;
|
|
9
|
+
collectInfo?: CollectInfoValue;
|
|
10
|
+
}
|
|
11
|
+
export interface ChannelAuthSettingSaveParams {
|
|
12
|
+
value: ChannelAuthSettingValue;
|
|
13
|
+
currentTab: TabKey;
|
|
14
|
+
}
|
|
15
|
+
export interface ChannelAuthSettingProps {
|
|
16
|
+
className?: string;
|
|
17
|
+
style?: React.CSSProperties;
|
|
18
|
+
value?: ChannelAuthSettingValue;
|
|
19
|
+
/**
|
|
20
|
+
* 默认激活的Tab
|
|
21
|
+
*/
|
|
22
|
+
defaultActiveTab?: TabKey;
|
|
23
|
+
/**
|
|
24
|
+
* 可见的Tab列表,如果不传则显示所有Tab
|
|
25
|
+
* @example ['pageSetting', 'authenticationMethods'] // 只显示页面设置和身份验证方法
|
|
26
|
+
*/
|
|
27
|
+
visibleTabs?: TabKey[];
|
|
28
|
+
/**
|
|
29
|
+
* 是否显示注册页面配置
|
|
30
|
+
*/
|
|
31
|
+
showRegisterPage?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* 保存按钮回调
|
|
34
|
+
*/
|
|
35
|
+
onSave?: (params: ChannelAuthSettingSaveParams) => void;
|
|
36
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'customer.auth.title': string;
|
|
4
|
+
'customer.auth.description': string;
|
|
5
|
+
'customer.auth.methods.title': string;
|
|
6
|
+
'customer.auth.methods.description': string;
|
|
7
|
+
'customer.password.settings.title': string;
|
|
8
|
+
'customer.password.settings.description': string;
|
|
9
|
+
'customer.password.rules.title': string;
|
|
10
|
+
'customer.password.rules.description': string;
|
|
11
|
+
'auth.button.cancel': string;
|
|
12
|
+
'auth.button.save': string;
|
|
13
|
+
'auth.button.settings': string;
|
|
14
|
+
'auth.save.success': string;
|
|
15
|
+
'auth.save.error': string;
|
|
16
|
+
'auth.oauth.config.message': string;
|
|
17
|
+
'auth.oauth.config.link': string;
|
|
18
|
+
'auth.category.general': string;
|
|
19
|
+
'auth.category.oauth': string;
|
|
20
|
+
'auth.category.passwordFree': string;
|
|
21
|
+
'auth.category.authFree': string;
|
|
22
|
+
};
|
|
23
|
+
'zh-CN': {
|
|
24
|
+
'customer.auth.title': string;
|
|
25
|
+
'customer.auth.description': string;
|
|
26
|
+
'customer.auth.methods.title': string;
|
|
27
|
+
'customer.auth.methods.description': string;
|
|
28
|
+
'customer.password.settings.title': string;
|
|
29
|
+
'customer.password.settings.description': string;
|
|
30
|
+
'customer.password.rules.title': string;
|
|
31
|
+
'customer.password.rules.description': string;
|
|
32
|
+
'auth.button.cancel': string;
|
|
33
|
+
'auth.button.save': string;
|
|
34
|
+
'auth.button.settings': string;
|
|
35
|
+
'auth.save.success': string;
|
|
36
|
+
'auth.save.error': string;
|
|
37
|
+
'auth.oauth.config.message': string;
|
|
38
|
+
'auth.oauth.config.link': string;
|
|
39
|
+
'auth.category.general': string;
|
|
40
|
+
'auth.category.oauth': string;
|
|
41
|
+
'auth.category.passwordFree': string;
|
|
42
|
+
'auth.category.authFree': string;
|
|
43
|
+
};
|
|
44
|
+
'zh-HK': {
|
|
45
|
+
'customer.auth.title': string;
|
|
46
|
+
'customer.auth.description': string;
|
|
47
|
+
'customer.auth.methods.title': string;
|
|
48
|
+
'customer.auth.methods.description': string;
|
|
49
|
+
'customer.password.settings.title': string;
|
|
50
|
+
'customer.password.settings.description': string;
|
|
51
|
+
'customer.password.rules.title': string;
|
|
52
|
+
'customer.password.rules.description': string;
|
|
53
|
+
'auth.button.cancel': string;
|
|
54
|
+
'auth.button.save': string;
|
|
55
|
+
'auth.button.settings': string;
|
|
56
|
+
'auth.save.success': string;
|
|
57
|
+
'auth.save.error': string;
|
|
58
|
+
'auth.oauth.config.message': string;
|
|
59
|
+
'auth.oauth.config.link': string;
|
|
60
|
+
'auth.category.general': string;
|
|
61
|
+
'auth.category.oauth': string;
|
|
62
|
+
'auth.category.passwordFree': string;
|
|
63
|
+
'auth.category.authFree': string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { AuthMethod } from '../AuthMethods/types';
|
|
3
|
+
export interface CustomerAuthProps {
|
|
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,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { CustomerOAuthConfigProps } from './types';
|
|
3
|
+
import './CustomerOAuthConfig.less';
|
|
4
|
+
export type { CustomerOAuthConfigProps } from './types';
|
|
5
|
+
declare const CustomerOAuthConfig: React.FC<CustomerOAuthConfigProps>;
|
|
6
|
+
export default CustomerOAuthConfig;
|
|
@@ -0,0 +1,108 @@
|
|
|
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.google.clientId': string;
|
|
29
|
+
'oauth.google.clientId.required': string;
|
|
30
|
+
'oauth.google.clientId.placeholder': string;
|
|
31
|
+
'oauth.google.clientSecret': string;
|
|
32
|
+
'oauth.google.clientSecret.required': string;
|
|
33
|
+
'oauth.google.clientSecret.placeholder': string;
|
|
34
|
+
'oauth.save.success': string;
|
|
35
|
+
'oauth.save.error': string;
|
|
36
|
+
};
|
|
37
|
+
'zh-CN': {
|
|
38
|
+
'oauth.config.title': string;
|
|
39
|
+
'oauth.config.description': string;
|
|
40
|
+
'oauth.providers.title': string;
|
|
41
|
+
'oauth.providers.description': string;
|
|
42
|
+
'oauth.provider.google': string;
|
|
43
|
+
'oauth.provider.google.description': string;
|
|
44
|
+
'oauth.provider.apple': string;
|
|
45
|
+
'oauth.provider.apple.description': string;
|
|
46
|
+
'oauth.provider.facebook': string;
|
|
47
|
+
'oauth.provider.facebook.description': string;
|
|
48
|
+
'oauth.status.configured': string;
|
|
49
|
+
'oauth.status.not.configured': string;
|
|
50
|
+
'oauth.button.settings': string;
|
|
51
|
+
'oauth.button.save': string;
|
|
52
|
+
'oauth.button.cancel': string;
|
|
53
|
+
'oauth.drawer.title': string;
|
|
54
|
+
'oauth.apple.identifier': string;
|
|
55
|
+
'oauth.apple.identifier.required': string;
|
|
56
|
+
'oauth.apple.identifier.placeholder': string;
|
|
57
|
+
'oauth.facebook.appId': string;
|
|
58
|
+
'oauth.facebook.appId.required': string;
|
|
59
|
+
'oauth.facebook.appId.placeholder': string;
|
|
60
|
+
'oauth.facebook.appSecret': string;
|
|
61
|
+
'oauth.facebook.appSecret.required': string;
|
|
62
|
+
'oauth.facebook.appSecret.placeholder': string;
|
|
63
|
+
'oauth.google.clientId': string;
|
|
64
|
+
'oauth.google.clientId.required': string;
|
|
65
|
+
'oauth.google.clientId.placeholder': string;
|
|
66
|
+
'oauth.google.clientSecret': string;
|
|
67
|
+
'oauth.google.clientSecret.required': string;
|
|
68
|
+
'oauth.google.clientSecret.placeholder': string;
|
|
69
|
+
'oauth.save.success': string;
|
|
70
|
+
'oauth.save.error': string;
|
|
71
|
+
};
|
|
72
|
+
'zh-HK': {
|
|
73
|
+
'oauth.config.title': string;
|
|
74
|
+
'oauth.config.description': string;
|
|
75
|
+
'oauth.providers.title': string;
|
|
76
|
+
'oauth.providers.description': string;
|
|
77
|
+
'oauth.provider.google': string;
|
|
78
|
+
'oauth.provider.google.description': string;
|
|
79
|
+
'oauth.provider.apple': string;
|
|
80
|
+
'oauth.provider.apple.description': string;
|
|
81
|
+
'oauth.provider.facebook': string;
|
|
82
|
+
'oauth.provider.facebook.description': string;
|
|
83
|
+
'oauth.status.configured': string;
|
|
84
|
+
'oauth.status.not.configured': string;
|
|
85
|
+
'oauth.button.settings': string;
|
|
86
|
+
'oauth.button.save': string;
|
|
87
|
+
'oauth.button.cancel': string;
|
|
88
|
+
'oauth.drawer.title': string;
|
|
89
|
+
'oauth.apple.identifier': string;
|
|
90
|
+
'oauth.apple.identifier.required': string;
|
|
91
|
+
'oauth.apple.identifier.placeholder': string;
|
|
92
|
+
'oauth.facebook.appId': string;
|
|
93
|
+
'oauth.facebook.appId.required': string;
|
|
94
|
+
'oauth.facebook.appId.placeholder': string;
|
|
95
|
+
'oauth.facebook.appSecret': string;
|
|
96
|
+
'oauth.facebook.appSecret.required': string;
|
|
97
|
+
'oauth.facebook.appSecret.placeholder': string;
|
|
98
|
+
'oauth.google.clientId': string;
|
|
99
|
+
'oauth.google.clientId.required': string;
|
|
100
|
+
'oauth.google.clientId.placeholder': string;
|
|
101
|
+
'oauth.google.clientSecret': string;
|
|
102
|
+
'oauth.google.clientSecret.required': string;
|
|
103
|
+
'oauth.google.clientSecret.placeholder': string;
|
|
104
|
+
'oauth.save.success': string;
|
|
105
|
+
'oauth.save.error': string;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface CustomerOAuthProvider {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
description: string;
|
|
6
|
+
icon: React.ReactNode;
|
|
7
|
+
configured: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface CustomerOAuthConfigProps {
|
|
10
|
+
/**
|
|
11
|
+
* 自定义类名
|
|
12
|
+
*/
|
|
13
|
+
className?: string;
|
|
14
|
+
/**
|
|
15
|
+
* 自定义样式
|
|
16
|
+
*/
|
|
17
|
+
style?: React.CSSProperties;
|
|
18
|
+
/**
|
|
19
|
+
* 保存回调
|
|
20
|
+
*/
|
|
21
|
+
onSave?: (providers: CustomerOAuthProvider[]) => void;
|
|
22
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'device.auth.title': string;
|
|
4
|
+
'device.auth.description': string;
|
|
5
|
+
'device.auth.methods.title': string;
|
|
6
|
+
'device.auth.methods.description': string;
|
|
7
|
+
'device.auth.method.team-member.title': string;
|
|
8
|
+
'device.auth.method.team-member.description': string;
|
|
9
|
+
'device.auth.method.team-member.inherit': string;
|
|
10
|
+
'device.auth.method.device-passcode.title': string;
|
|
11
|
+
'device.auth.method.device-passcode.description': string;
|
|
12
|
+
'auth.button.cancel': string;
|
|
13
|
+
'auth.button.save': string;
|
|
14
|
+
'auth.button.settings': string;
|
|
15
|
+
'auth.save.success': string;
|
|
16
|
+
'auth.save.error': string;
|
|
17
|
+
'auth.category.general': string;
|
|
18
|
+
'auth.category.passwordFree': string;
|
|
19
|
+
};
|
|
20
|
+
'zh-CN': {
|
|
21
|
+
'device.auth.title': string;
|
|
22
|
+
'device.auth.description': string;
|
|
23
|
+
'device.auth.methods.title': string;
|
|
24
|
+
'device.auth.methods.description': string;
|
|
25
|
+
'device.auth.method.team-member.title': string;
|
|
26
|
+
'device.auth.method.team-member.description': string;
|
|
27
|
+
'device.auth.method.team-member.inherit': string;
|
|
28
|
+
'device.auth.method.device-passcode.title': string;
|
|
29
|
+
'device.auth.method.device-passcode.description': string;
|
|
30
|
+
'auth.button.cancel': string;
|
|
31
|
+
'auth.button.save': string;
|
|
32
|
+
'auth.button.settings': string;
|
|
33
|
+
'auth.save.success': string;
|
|
34
|
+
'auth.save.error': string;
|
|
35
|
+
'auth.category.general': string;
|
|
36
|
+
'auth.category.passwordFree': string;
|
|
37
|
+
};
|
|
38
|
+
'zh-HK': {
|
|
39
|
+
'device.auth.title': string;
|
|
40
|
+
'device.auth.description': string;
|
|
41
|
+
'device.auth.methods.title': string;
|
|
42
|
+
'device.auth.methods.description': string;
|
|
43
|
+
'device.auth.method.team-member.title': string;
|
|
44
|
+
'device.auth.method.team-member.description': string;
|
|
45
|
+
'device.auth.method.team-member.inherit': string;
|
|
46
|
+
'device.auth.method.device-passcode.title': string;
|
|
47
|
+
'device.auth.method.device-passcode.description': string;
|
|
48
|
+
'auth.button.cancel': string;
|
|
49
|
+
'auth.button.save': string;
|
|
50
|
+
'auth.button.settings': string;
|
|
51
|
+
'auth.save.success': string;
|
|
52
|
+
'auth.save.error': string;
|
|
53
|
+
'auth.category.general': string;
|
|
54
|
+
'auth.category.passwordFree': string;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { AuthMethod } from '../AuthMethods/types';
|
|
3
|
+
export interface DeviceAuthProps {
|
|
4
|
+
/**
|
|
5
|
+
* 自定义类名
|
|
6
|
+
*/
|
|
7
|
+
className?: string;
|
|
8
|
+
/**
|
|
9
|
+
* 自定义样式
|
|
10
|
+
*/
|
|
11
|
+
style?: React.CSSProperties;
|
|
12
|
+
/**
|
|
13
|
+
* 保存回调
|
|
14
|
+
*/
|
|
15
|
+
onSave?: (authMethods: AuthMethod[]) => void;
|
|
16
|
+
}
|