@pisell/private-materials 6.8.31 → 6.8.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (425) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +1 -1
  6. package/build/lowcode/preview.js +150 -164
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +11 -11
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +11 -11
  11. package/es/businessModel/SalesModel/index.d.ts +0 -1
  12. package/es/components/appointmentBooking/components/Services/index.d.ts +4 -0
  13. package/es/components/appointmentBooking/components/Voucher/index.d.ts +4 -0
  14. package/es/components/authentication/admin/AuthMethods/SettingList.d.ts +5 -0
  15. package/es/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +22 -0
  16. package/es/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
  17. package/es/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +13 -0
  18. package/es/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
  19. package/es/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +14 -0
  20. package/es/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +13 -0
  21. package/es/components/authentication/admin/AuthMethods/components/index.d.ts +10 -0
  22. package/es/components/authentication/admin/AuthMethods/constants.d.ts +22 -0
  23. package/es/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
  24. package/es/components/authentication/admin/AuthMethods/types.d.ts +76 -0
  25. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
  26. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
  27. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
  28. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
  29. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
  30. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
  31. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
  32. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
  33. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
  34. package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
  35. package/es/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
  36. package/es/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
  37. package/es/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
  38. package/es/components/authentication/admin/CustomerOAuthConfig/index.d.ts +6 -0
  39. package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
  40. package/es/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
  41. package/es/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
  42. package/es/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
  43. package/es/components/authentication/admin/OAuthConfig/index.d.ts +6 -0
  44. package/es/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
  45. package/es/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
  46. package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
  47. package/es/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
  48. package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
  49. package/es/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
  50. package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
  51. package/es/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
  52. package/es/components/authentication/index.d.ts +0 -0
  53. package/es/components/booking/addons/model.d.ts +10 -0
  54. package/es/components/booking/components/actionButtons/index.d.ts +31 -0
  55. package/es/components/booking/components/customSelect/index.d.ts +38 -0
  56. package/es/components/booking/components/footer/index.d.ts +0 -1
  57. package/es/components/booking/components/footer/utils.d.ts +67 -0
  58. package/es/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  59. package/es/components/booking/components/voucher/index.d.ts +3 -0
  60. package/es/components/booking/deposit/index.d.ts +0 -1
  61. package/es/components/booking/forms/model.d.ts +10 -1
  62. package/es/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  63. package/es/components/booking/info/addServiceVariant/index.d.ts +6 -0
  64. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +43 -0
  65. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  66. package/es/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +25 -0
  67. package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  68. package/es/components/booking/info/index.d.ts +0 -1
  69. package/es/components/booking/info/model.d.ts +10 -1
  70. package/es/components/booking/info/notes/index.d.ts +0 -1
  71. package/es/components/booking/info/service/Lists.d.ts +2 -0
  72. package/es/components/booking/info/service/addTimeModal/index.d.ts +0 -1
  73. package/es/components/booking/info/service/like/index.d.ts +0 -1
  74. package/es/components/booking/info/service/serve.d.ts +34 -0
  75. package/es/components/booking/info/service/serviceList/index.d.ts +0 -1
  76. package/es/components/booking/info/service2/Lists.d.ts +0 -1
  77. package/es/components/booking/info/service2/utils.d.ts +219 -0
  78. package/es/components/booking/info/utils.d.ts +50 -0
  79. package/es/components/booking/info2/service/addService/utils.d.ts +106 -0
  80. package/es/components/booking/info2/service/contactInfoMode/index.d.ts +0 -1
  81. package/es/components/booking/info2/service/editService/index.d.ts +8 -0
  82. package/es/components/booking/info2/service/editService/utils.d.ts +28 -0
  83. package/es/components/booking/info2/service/serviceList/index.d.ts +0 -1
  84. package/es/components/booking/info2/utilsByBooking.d.ts +36 -0
  85. package/es/components/booking/materiels/duration/index.d.ts +1 -0
  86. package/es/components/booking/materiels/startTime/index.d.ts +1 -0
  87. package/es/components/booking/notes/NoteBlock/index.d.ts +0 -1
  88. package/es/components/booking/notes/addNote/index.d.ts +0 -1
  89. package/es/components/booking/notes/model.d.ts +10 -1
  90. package/es/components/booking/payments/model.d.ts +10 -1
  91. package/es/components/booking/utils.d.ts +182 -0
  92. package/es/components/checkout/PaymentModal.d.ts +39 -0
  93. package/es/components/checkout/components/AdditionalModule/index.d.ts +15 -0
  94. package/es/components/checkout/components/CashPaymentModule/index.d.ts +26 -0
  95. package/es/components/checkout/components/PaymentDetailModal/index.d.ts +38 -0
  96. package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +85 -0
  97. package/es/components/checkout/components/SearchAndClientModule/index.d.ts +14 -0
  98. package/es/components/checkout/hooks/useWalletPass.d.ts +40 -0
  99. package/es/components/checkout/plugin.d.ts +2 -0
  100. package/es/components/checkout/utils/PaymentResultToastUtils.d.ts +32 -0
  101. package/es/components/eftpos/deviceList/index.d.ts +0 -1
  102. package/es/components/eftpos/form/index.d.ts +0 -1
  103. package/es/components/eftpos/group/index.d.ts +0 -1
  104. package/es/components/eftpos/hooks.d.ts +0 -1
  105. package/es/components/eftpos/icon/apiKey.d.ts +0 -1
  106. package/es/components/eftpos/icon/device.d.ts +0 -1
  107. package/es/components/eftpos/receipt/index.d.ts +0 -1
  108. package/es/components/eftpos/surcharge/index.d.ts +0 -1
  109. package/es/components/eftposPay/component/alert/warn.d.ts +0 -1
  110. package/es/components/eftposPay/component/header/titlebar.d.ts +0 -1
  111. package/es/components/eftposPay/component/step/step.d.ts +0 -1
  112. package/es/components/eftposPay/hooks.d.ts +1 -1
  113. package/es/components/eftposPay/store/index.d.ts +1 -1
  114. package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
  115. package/es/components/eftposPay/utils/log/index.d.ts +110 -0
  116. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  117. package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  118. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  119. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  120. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  121. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  122. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  123. package/es/components/list/List.d.ts +5 -0
  124. package/es/components/list/hooks/useListState.d.ts +45 -0
  125. package/es/components/pay/toB/components/CardGroup/index.d.ts +0 -1
  126. package/es/components/pay/toB/components/MX51/index.d.ts +3 -0
  127. package/es/components/pay/toB/types/index.d.ts +72 -0
  128. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  129. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  130. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  131. package/es/components/pay/toC/locales.d.ts +301 -0
  132. package/es/components/pay/toC/model.d.ts +9 -1
  133. package/es/components/pay/toC/status.d.ts +13 -0
  134. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  135. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  136. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
  137. package/es/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
  138. package/es/components/productExtension/fields/Actor/index.d.ts +0 -1
  139. package/es/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  140. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  141. package/es/components/productExtension/index.d.ts +0 -1
  142. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  143. package/es/components/schedules/model.d.ts +9 -1
  144. package/es/components/schedules/resources/relationProduct/index.d.ts +0 -1
  145. package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
  146. package/es/components/shoppingCart/components/Render/index.d.ts +0 -1
  147. package/es/components/shoppingCart/index.d.ts +0 -1
  148. package/es/components/systemSettings/registry/components/ModuleList.d.ts +4 -0
  149. package/es/components/systemSettings/registry/locales.d.ts +272 -0
  150. package/es/components/systemSettings/registry/services.d.ts +77 -0
  151. package/es/components/systemSettings/registry/types.d.ts +126 -0
  152. package/es/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
  153. package/es/components/systemSettings/registry/utils/validators.d.ts +8 -0
  154. package/es/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.d.ts +27 -0
  155. package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +31 -0
  156. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +10 -0
  157. package/es/components/ticketBooking/components/addServiceVariant/utils.d.ts +8 -0
  158. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +0 -1
  159. package/es/components/ticketBooking/components/timeBar/index.d.ts +14 -0
  160. package/es/components/ticketBooking/hooks/pisellos/useProducts.d.ts +16 -0
  161. package/es/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +6 -0
  162. package/es/components/ticketBooking/index.d.ts +15 -0
  163. package/es/components/ticketBooking/serve.d.ts +288 -0
  164. package/es/components/ticketBooking/utils/index.d.ts +101 -0
  165. package/es/components/wallet/utils.d.ts +48 -0
  166. package/es/components/walletList/types/index.d.ts +194 -0
  167. package/es/plus/clientName/index.d.ts +4 -0
  168. package/es/plus/clientName/type.d.ts +13 -0
  169. package/es/plus/clientName/utils.d.ts +2 -0
  170. package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -1
  171. package/es/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
  172. package/es/plus/contactInfo/locales.d.ts +15 -0
  173. package/es/plus/contactInfo/types.d.ts +91 -0
  174. package/es/plus/contactInfo/utils.d.ts +7 -0
  175. package/es/plus/contactInfoModal/locales.d.ts +66 -0
  176. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +0 -1
  177. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +0 -1
  178. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +0 -1
  179. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +0 -1
  180. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +0 -1
  181. package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +0 -1
  182. package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +4 -0
  183. package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +0 -1
  184. package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.js +1 -1
  185. package/es/plus/productSelect/ProductCard/SkuCard/index.d.ts +0 -1
  186. package/es/plus/productSelect/ProductCard/index.d.ts +47 -0
  187. package/es/plus/productSelect/utils.d.ts +39 -0
  188. package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -1
  189. package/es/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
  190. package/es/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +20 -0
  191. package/es/plus/walletEditor/components/relationProduct/index.d.ts +7 -0
  192. package/es/plus/walletEditor/types.d.ts +52 -0
  193. package/es/plus/webPosLogin/WebPosLogin.d.ts +11 -0
  194. package/es/plus/webPosLogin/WebPosLoginCpt.d.ts +9 -0
  195. package/es/plus/webPosLogin/components/BrandPanel/index.d.ts +9 -0
  196. package/es/plus/webPosLogin/components/LoginPanel/index.d.ts +21 -0
  197. package/es/plus/webPosLogin/components/MediaDisplay/index.d.ts +12 -0
  198. package/es/plus/webPosLogin/components/MediaDisplay/type.d.ts +54 -0
  199. package/es/plus/webPosLogin/components/SelectDevice/index.d.ts +28 -0
  200. package/es/plus/webPosLogin/components/SelectStore/index.d.ts +24 -0
  201. package/es/plus/webPosLogin/components/UserFooter/index.d.ts +28 -0
  202. package/es/plus/webPosLogin/index.d.ts +12 -0
  203. package/es/plus/webPosLogin/locales.d.ts +49 -0
  204. package/es/plus/webPosLogin/service.d.ts +44 -0
  205. package/es/plus/webPosLogin/types.d.ts +286 -0
  206. package/es/pro/Login2.0/Login2.d.ts +61 -0
  207. package/es/pro/Login2.0/components/phoneValidation.d.ts +17 -0
  208. package/es/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +24 -0
  209. package/es/pro/Login2.0/locales.d.ts +543 -0
  210. package/es/pro/Login2.0/shared/registerFlow.d.ts +116 -0
  211. package/es/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +12 -0
  212. package/es/pro/Login2.0/steps/VerificationSuccess.d.ts +8 -0
  213. package/es/pro/Login2.0/steps/VerifyingEmailLink.d.ts +7 -0
  214. package/es/pro/Login2.0/steps/WaitEmailLink.d.ts +18 -0
  215. package/es/pro/Login2.0/types.d.ts +167 -0
  216. package/es/pro/priceKeyboard/components/cashKeyboard/index.d.ts +0 -1
  217. package/lib/businessModel/SalesModel/index.d.ts +0 -1
  218. package/lib/components/appointmentBooking/components/Services/index.d.ts +4 -0
  219. package/lib/components/appointmentBooking/components/Voucher/index.d.ts +4 -0
  220. package/lib/components/authentication/admin/AuthMethods/SettingList.d.ts +5 -0
  221. package/lib/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +22 -0
  222. package/lib/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
  223. package/lib/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +13 -0
  224. package/lib/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
  225. package/lib/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +14 -0
  226. package/lib/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +13 -0
  227. package/lib/components/authentication/admin/AuthMethods/components/index.d.ts +10 -0
  228. package/lib/components/authentication/admin/AuthMethods/constants.d.ts +22 -0
  229. package/lib/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
  230. package/lib/components/authentication/admin/AuthMethods/types.d.ts +76 -0
  231. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
  232. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
  233. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
  234. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
  235. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
  236. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
  237. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
  238. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
  239. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
  240. package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
  241. package/lib/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
  242. package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
  243. package/lib/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
  244. package/lib/components/authentication/admin/CustomerOAuthConfig/index.d.ts +6 -0
  245. package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
  246. package/lib/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
  247. package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
  248. package/lib/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
  249. package/lib/components/authentication/admin/OAuthConfig/index.d.ts +6 -0
  250. package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
  251. package/lib/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
  252. package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
  253. package/lib/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
  254. package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
  255. package/lib/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
  256. package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
  257. package/lib/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
  258. package/lib/components/authentication/index.d.ts +0 -0
  259. package/lib/components/booking/addons/model.d.ts +10 -0
  260. package/lib/components/booking/components/actionButtons/index.d.ts +31 -0
  261. package/lib/components/booking/components/customSelect/index.d.ts +38 -0
  262. package/lib/components/booking/components/footer/index.d.ts +0 -1
  263. package/lib/components/booking/components/footer/utils.d.ts +67 -0
  264. package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  265. package/lib/components/booking/components/voucher/index.d.ts +3 -0
  266. package/lib/components/booking/deposit/index.d.ts +0 -1
  267. package/lib/components/booking/forms/model.d.ts +10 -1
  268. package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  269. package/lib/components/booking/info/addServiceVariant/index.d.ts +6 -0
  270. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +43 -0
  271. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  272. package/lib/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +25 -0
  273. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  274. package/lib/components/booking/info/index.d.ts +0 -1
  275. package/lib/components/booking/info/model.d.ts +10 -1
  276. package/lib/components/booking/info/notes/index.d.ts +0 -1
  277. package/lib/components/booking/info/service/Lists.d.ts +2 -0
  278. package/lib/components/booking/info/service/addTimeModal/index.d.ts +0 -1
  279. package/lib/components/booking/info/service/like/index.d.ts +0 -1
  280. package/lib/components/booking/info/service/serve.d.ts +34 -0
  281. package/lib/components/booking/info/service/serviceList/index.d.ts +0 -1
  282. package/lib/components/booking/info/service2/Lists.d.ts +0 -1
  283. package/lib/components/booking/info/service2/utils.d.ts +219 -0
  284. package/lib/components/booking/info/utils.d.ts +50 -0
  285. package/lib/components/booking/info2/service/addService/utils.d.ts +106 -0
  286. package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +0 -1
  287. package/lib/components/booking/info2/service/editService/index.d.ts +8 -0
  288. package/lib/components/booking/info2/service/editService/utils.d.ts +28 -0
  289. package/lib/components/booking/info2/service/serviceList/index.d.ts +0 -1
  290. package/lib/components/booking/info2/utilsByBooking.d.ts +36 -0
  291. package/lib/components/booking/materiels/duration/index.d.ts +1 -0
  292. package/lib/components/booking/materiels/startTime/index.d.ts +1 -0
  293. package/lib/components/booking/notes/NoteBlock/index.d.ts +0 -1
  294. package/lib/components/booking/notes/addNote/index.d.ts +0 -1
  295. package/lib/components/booking/notes/model.d.ts +10 -1
  296. package/lib/components/booking/payments/model.d.ts +10 -1
  297. package/lib/components/booking/utils.d.ts +182 -0
  298. package/lib/components/checkout/PaymentModal.d.ts +39 -0
  299. package/lib/components/checkout/components/AdditionalModule/index.d.ts +15 -0
  300. package/lib/components/checkout/components/CashPaymentModule/index.d.ts +26 -0
  301. package/lib/components/checkout/components/PaymentDetailModal/index.d.ts +38 -0
  302. package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +85 -0
  303. package/lib/components/checkout/components/SearchAndClientModule/index.d.ts +14 -0
  304. package/lib/components/checkout/hooks/useWalletPass.d.ts +40 -0
  305. package/lib/components/checkout/plugin.d.ts +2 -0
  306. package/lib/components/checkout/utils/PaymentResultToastUtils.d.ts +32 -0
  307. package/lib/components/eftpos/deviceList/index.d.ts +0 -1
  308. package/lib/components/eftpos/form/index.d.ts +0 -1
  309. package/lib/components/eftpos/group/index.d.ts +0 -1
  310. package/lib/components/eftpos/hooks.d.ts +0 -1
  311. package/lib/components/eftpos/icon/apiKey.d.ts +0 -1
  312. package/lib/components/eftpos/icon/device.d.ts +0 -1
  313. package/lib/components/eftpos/receipt/index.d.ts +0 -1
  314. package/lib/components/eftpos/surcharge/index.d.ts +0 -1
  315. package/lib/components/eftposPay/component/alert/warn.d.ts +0 -1
  316. package/lib/components/eftposPay/component/header/titlebar.d.ts +0 -1
  317. package/lib/components/eftposPay/component/step/step.d.ts +0 -1
  318. package/lib/components/eftposPay/hooks.d.ts +1 -1
  319. package/lib/components/eftposPay/store/index.d.ts +1 -1
  320. package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
  321. package/lib/components/eftposPay/utils/log/index.d.ts +110 -0
  322. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  323. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  324. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  325. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  326. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  327. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  328. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  329. package/lib/components/list/List.d.ts +5 -0
  330. package/lib/components/list/hooks/useListState.d.ts +45 -0
  331. package/lib/components/pay/toB/components/CardGroup/index.d.ts +0 -1
  332. package/lib/components/pay/toB/components/MX51/index.d.ts +3 -0
  333. package/lib/components/pay/toB/types/index.d.ts +72 -0
  334. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  335. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  336. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  337. package/lib/components/pay/toC/locales.d.ts +301 -0
  338. package/lib/components/pay/toC/model.d.ts +9 -1
  339. package/lib/components/pay/toC/status.d.ts +13 -0
  340. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  341. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  342. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
  343. package/lib/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
  344. package/lib/components/productExtension/fields/Actor/index.d.ts +0 -1
  345. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  346. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  347. package/lib/components/productExtension/index.d.ts +0 -1
  348. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  349. package/lib/components/schedules/model.d.ts +9 -1
  350. package/lib/components/schedules/resources/relationProduct/index.d.ts +0 -1
  351. package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
  352. package/lib/components/shoppingCart/components/Render/index.d.ts +0 -1
  353. package/lib/components/shoppingCart/index.d.ts +0 -1
  354. package/lib/components/systemSettings/registry/components/ModuleList.d.ts +4 -0
  355. package/lib/components/systemSettings/registry/locales.d.ts +272 -0
  356. package/lib/components/systemSettings/registry/services.d.ts +77 -0
  357. package/lib/components/systemSettings/registry/types.d.ts +126 -0
  358. package/lib/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
  359. package/lib/components/systemSettings/registry/utils/validators.d.ts +8 -0
  360. package/lib/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.d.ts +27 -0
  361. package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +31 -0
  362. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +10 -0
  363. package/lib/components/ticketBooking/components/addServiceVariant/utils.d.ts +8 -0
  364. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +0 -1
  365. package/lib/components/ticketBooking/components/timeBar/index.d.ts +14 -0
  366. package/lib/components/ticketBooking/hooks/pisellos/useProducts.d.ts +16 -0
  367. package/lib/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +6 -0
  368. package/lib/components/ticketBooking/index.d.ts +15 -0
  369. package/lib/components/ticketBooking/serve.d.ts +288 -0
  370. package/lib/components/ticketBooking/utils/index.d.ts +101 -0
  371. package/lib/components/wallet/utils.d.ts +48 -0
  372. package/lib/components/walletList/types/index.d.ts +194 -0
  373. package/lib/plus/clientName/index.d.ts +4 -0
  374. package/lib/plus/clientName/type.d.ts +13 -0
  375. package/lib/plus/clientName/utils.d.ts +2 -0
  376. package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -1
  377. package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
  378. package/lib/plus/contactInfo/locales.d.ts +15 -0
  379. package/lib/plus/contactInfo/types.d.ts +91 -0
  380. package/lib/plus/contactInfo/utils.d.ts +7 -0
  381. package/lib/plus/contactInfoModal/locales.d.ts +66 -0
  382. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +0 -1
  383. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +0 -1
  384. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +0 -1
  385. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +0 -1
  386. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +0 -1
  387. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +0 -1
  388. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +4 -0
  389. package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +0 -1
  390. package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.js +1 -1
  391. package/lib/plus/productSelect/ProductCard/SkuCard/index.d.ts +0 -1
  392. package/lib/plus/productSelect/ProductCard/index.d.ts +47 -0
  393. package/lib/plus/productSelect/utils.d.ts +39 -0
  394. package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -1
  395. package/lib/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
  396. package/lib/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +20 -0
  397. package/lib/plus/walletEditor/components/relationProduct/index.d.ts +7 -0
  398. package/lib/plus/walletEditor/types.d.ts +52 -0
  399. package/lib/plus/webPosLogin/WebPosLogin.d.ts +11 -0
  400. package/lib/plus/webPosLogin/WebPosLoginCpt.d.ts +9 -0
  401. package/lib/plus/webPosLogin/components/BrandPanel/index.d.ts +9 -0
  402. package/lib/plus/webPosLogin/components/LoginPanel/index.d.ts +21 -0
  403. package/lib/plus/webPosLogin/components/MediaDisplay/index.d.ts +12 -0
  404. package/lib/plus/webPosLogin/components/MediaDisplay/type.d.ts +54 -0
  405. package/lib/plus/webPosLogin/components/SelectDevice/index.d.ts +28 -0
  406. package/lib/plus/webPosLogin/components/SelectStore/index.d.ts +24 -0
  407. package/lib/plus/webPosLogin/components/UserFooter/index.d.ts +28 -0
  408. package/lib/plus/webPosLogin/index.d.ts +12 -0
  409. package/lib/plus/webPosLogin/locales.d.ts +49 -0
  410. package/lib/plus/webPosLogin/service.d.ts +44 -0
  411. package/lib/plus/webPosLogin/types.d.ts +286 -0
  412. package/lib/pro/Login2.0/Login2.d.ts +61 -0
  413. package/lib/pro/Login2.0/components/phoneValidation.d.ts +17 -0
  414. package/lib/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +24 -0
  415. package/lib/pro/Login2.0/locales.d.ts +543 -0
  416. package/lib/pro/Login2.0/shared/registerFlow.d.ts +116 -0
  417. package/lib/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +12 -0
  418. package/lib/pro/Login2.0/steps/VerificationSuccess.d.ts +8 -0
  419. package/lib/pro/Login2.0/steps/VerifyingEmailLink.d.ts +7 -0
  420. package/lib/pro/Login2.0/steps/WaitEmailLink.d.ts +18 -0
  421. package/lib/pro/Login2.0/types.d.ts +167 -0
  422. package/lib/pro/priceKeyboard/components/cashKeyboard/index.d.ts +0 -1
  423. package/package.json +3 -3
  424. package/es/pro/pisellNumberSelector/example.d.ts +0 -3
  425. package/lib/pro/pisellNumberSelector/example.d.ts +0 -3
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import type { RegisterFlowData } from '../shared/registerFlow';
3
+ export interface VerificationSuccessProps {
4
+ /** 流程数据 */
5
+ flowData: RegisterFlowData;
6
+ }
7
+ declare function VerificationSuccess({ flowData }: VerificationSuccessProps): JSX.Element;
8
+ export default VerificationSuccess;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ export interface VerifyingEmailLinkProps {
3
+ /** 加载提示文本(可选,不传则使用国际化默认文本) */
4
+ loadingText?: string;
5
+ }
6
+ declare function VerifyingEmailLink({ loadingText }: VerifyingEmailLinkProps): JSX.Element;
7
+ export default VerifyingEmailLink;
@@ -0,0 +1,18 @@
1
+ /// <reference types="react" />
2
+ import type { RegisterFlowData, VerificationMethod } from '../shared/registerFlow';
3
+ export interface WaitEmailLinkProps {
4
+ /** 流程数据 */
5
+ flowData: RegisterFlowData;
6
+ /** 重新发送 */
7
+ onResend?: () => void;
8
+ /** 返回 */
9
+ onBack?: () => void;
10
+ /** 编辑邮箱 */
11
+ onEditEmail?: () => void;
12
+ /** 倒计时秒数 */
13
+ countdown?: number;
14
+ /** 验证方式 */
15
+ verificationMethod?: VerificationMethod;
16
+ }
17
+ declare function WaitEmailLink({ flowData, onResend, onBack, onEditEmail, countdown, verificationMethod, }: WaitEmailLinkProps): JSX.Element;
18
+ export default WaitEmailLink;
@@ -0,0 +1,167 @@
1
+ /**
2
+ * 登录注册 2.0 组件类型定义
3
+ */
4
+ /// <reference types="react" />
5
+ /** 验证方式枚举 */
6
+ export declare type VerificationMethod = 'verification_code' | 'password';
7
+ /** 邮箱注册验证方式 */
8
+ export declare type EmailRegistrationVerification = 'verification_link' | 'verification_code';
9
+ /** 认证方式类型 */
10
+ export declare type AuthMethodType = 'email' | 'phone' | 'google' | 'facebook' | 'apple';
11
+ /** 当前状态:登录或注册 */
12
+ export declare type AuthState = 'login' | 'register';
13
+ /** 邮箱认证配置 */
14
+ export interface EmailAuthConfig {
15
+ /** 是否启用邮箱认证 */
16
+ enable_email: boolean;
17
+ /** 注册验证方式 */
18
+ registration_verification: EmailRegistrationVerification;
19
+ /** 登录验证方式列表 */
20
+ login_verification_methods: VerificationMethod[];
21
+ }
22
+ /** 手机认证配置 */
23
+ export interface PhoneAuthConfig {
24
+ /** 是否启用手机认证 */
25
+ enable_phone_number: boolean;
26
+ /** 注册验证方式(手机仅支持验证码) */
27
+ registration_verification: 'verification_code';
28
+ /** 登录验证方式列表 */
29
+ login_verification_methods: VerificationMethod[];
30
+ }
31
+ /** 三方 OAuth 配置 */
32
+ export interface OAuthConfig {
33
+ /** Google 登录 */
34
+ google?: {
35
+ enabled: boolean;
36
+ client_id?: string;
37
+ };
38
+ /** Facebook 登录 */
39
+ facebook?: {
40
+ enabled: boolean;
41
+ app_id?: string;
42
+ };
43
+ /** Apple 登录 */
44
+ apple?: {
45
+ enabled: boolean;
46
+ client_id?: string;
47
+ };
48
+ }
49
+ /** UI 配置 */
50
+ export interface UIConfig {
51
+ /** Logo 配置 */
52
+ logo?: {
53
+ show: boolean;
54
+ url?: string;
55
+ position?: 'left' | 'center' | 'right';
56
+ size?: {
57
+ width: number;
58
+ height: number;
59
+ };
60
+ };
61
+ /** 标题配置 */
62
+ title?: {
63
+ show: boolean;
64
+ text?: string;
65
+ align?: 'left' | 'center' | 'right';
66
+ };
67
+ /** 副标题配置 */
68
+ subtitle?: {
69
+ show: boolean;
70
+ text?: string;
71
+ align?: 'left' | 'center' | 'right';
72
+ };
73
+ /** 描述配置 */
74
+ desc?: {
75
+ show: boolean;
76
+ text?: string;
77
+ align?: 'left' | 'center' | 'right';
78
+ };
79
+ /** 标签页配置 */
80
+ tabs?: {
81
+ show: boolean;
82
+ loginText?: string;
83
+ registerText?: string;
84
+ };
85
+ /** 主题色 */
86
+ themeColor?: string;
87
+ }
88
+ /** 组件总配置 */
89
+ export interface Login2Config {
90
+ /** 邮箱认证配置 */
91
+ email?: EmailAuthConfig;
92
+ /** 手机认证配置 */
93
+ phone?: PhoneAuthConfig;
94
+ /** 三方 OAuth 配置 */
95
+ oauth?: OAuthConfig;
96
+ /** UI 配置 */
97
+ ui?: UIConfig;
98
+ /** 默认认证方式 */
99
+ defaultAuthMethod?: AuthMethodType;
100
+ /** 默认状态(登录或注册) */
101
+ defaultState?: AuthState;
102
+ }
103
+ /** 登录表单数据 */
104
+ export interface LoginFormData {
105
+ /** 邮箱或手机号 */
106
+ account: string;
107
+ /** 密码 */
108
+ password?: string;
109
+ /** 验证码 */
110
+ verification_code?: string;
111
+ /** 记住我 */
112
+ remember_me?: boolean;
113
+ }
114
+ /** 注册表单数据 */
115
+ export interface RegisterFormData {
116
+ /** 邮箱或手机号 */
117
+ account: string;
118
+ /** 密码 */
119
+ password?: string;
120
+ /** 确认密码 */
121
+ confirm_password?: string;
122
+ /** 验证码 */
123
+ verification_code?: string;
124
+ /** 验证链接 token */
125
+ verification_token?: string;
126
+ }
127
+ /** 组件事件回调 */
128
+ export interface Login2Events {
129
+ /** 登录回调 */
130
+ onLogin?: (data: LoginFormData, method: AuthMethodType) => Promise<void> | void;
131
+ /** 注册回调 */
132
+ onRegister?: (data: RegisterFormData, method: AuthMethodType) => Promise<void> | void;
133
+ /** 三方登录回调 */
134
+ onOAuthLogin?: (provider: 'google' | 'facebook' | 'apple') => Promise<void> | void;
135
+ /** 发送验证码回调 */
136
+ onSendVerificationCode?: (account: string, type: 'email' | 'phone') => Promise<void> | void;
137
+ /** 忘记密码回调 */
138
+ onForgotPassword?: (account: string) => Promise<void> | void;
139
+ }
140
+ /** 组件完整属性 */
141
+ export interface Login2Props extends Login2Events {
142
+ /** 配置对象 */
143
+ config: Login2Config;
144
+ /** 是否显示 */
145
+ visible?: boolean;
146
+ /** 关闭回调 */
147
+ onClose?: () => void;
148
+ /** 自定义类名 */
149
+ className?: string;
150
+ /** 自定义样式 */
151
+ style?: React.CSSProperties;
152
+ }
153
+ /** 组件内部状态 */
154
+ export interface Login2State {
155
+ /** 当前状态:登录或注册 */
156
+ authState: AuthState;
157
+ /** 当前认证方式 */
158
+ currentAuthMethod: AuthMethodType;
159
+ /** 当前使用的验证方式 */
160
+ currentVerificationMethod: VerificationMethod;
161
+ /** 加载状态 */
162
+ loading: boolean;
163
+ /** 验证码倒计时 */
164
+ countdown: number;
165
+ /** 表单数据 */
166
+ formData: Partial<LoginFormData | RegisterFormData>;
167
+ }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CashKeyboardBaseProps } from './types';
3
2
  export interface CashKeyboardProps extends CashKeyboardBaseProps {
4
3
  containerProps?: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const SalesModel: ({ children, hooks, config }: any) => JSX.Element;
3
2
  export * from './Sales';
4
3
  export default SalesModel;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ declare const Services: React.ForwardRefExoticComponent<React.RefAttributes<unknown>>;
4
+ export default Services;
@@ -0,0 +1,4 @@
1
+ import '../../../booking/components/voucher/index.less';
2
+ import './index.less';
3
+ declare const VoucherCard: (props: any) => JSX.Element;
4
+ export default VoucherCard;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { AuthMethodsProps } from './types';
3
+ import './SettingList.less';
4
+ declare const SettingList: React.FC<AuthMethodsProps>;
5
+ export default SettingList;
@@ -0,0 +1,22 @@
1
+ import React from 'react';
2
+ import { AuthMethod } from './types';
3
+ import { EmailSettings, PhoneSettings, DefaultSettings, PasswordRulesSettings } from './components';
4
+ import './SettingsDrawer.less';
5
+ interface SettingsDrawerProps {
6
+ open: boolean;
7
+ method: AuthMethod | null;
8
+ onClose: () => void;
9
+ onSave?: (settings: EmailSettings | PhoneSettings | DefaultSettings | PasswordRulesSettings) => void;
10
+ /**
11
+ * 模式:
12
+ * - 'auth-methods': 来自AuthMethods组件,显示所有设置包括启用/禁用
13
+ * - 'setting-list': 来自SettingList组件,不显示默认的启用/禁用设置
14
+ */
15
+ mode?: 'auth-methods' | 'setting-list';
16
+ /**
17
+ * 初始设置值
18
+ */
19
+ initialSettings?: EmailSettings | PhoneSettings | DefaultSettings | PasswordRulesSettings;
20
+ }
21
+ declare const SettingsDrawer: React.FC<SettingsDrawerProps>;
22
+ export default SettingsDrawer;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { AuthMethod } from '../types';
3
+ interface DefaultSettingsContentProps {
4
+ method: AuthMethod;
5
+ onSettingsChange?: (settings: DefaultSettings) => void;
6
+ }
7
+ export interface DefaultSettings {
8
+ enabled: boolean;
9
+ }
10
+ declare const DefaultSettingsContent: React.FC<DefaultSettingsContentProps>;
11
+ export default DefaultSettingsContent;
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { LoginMethod } from './LoginMethodsList';
3
+ interface EmailSettingsContentProps {
4
+ onSettingsChange?: (settings: EmailSettings) => void;
5
+ initialSettings?: EmailSettings;
6
+ }
7
+ export interface EmailSettings {
8
+ enableRegistration: boolean;
9
+ verificationType: 'link' | 'code';
10
+ loginMethods: LoginMethod[];
11
+ }
12
+ declare const EmailSettingsContent: React.FC<EmailSettingsContentProps>;
13
+ export default EmailSettingsContent;
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ export interface LoginMethod {
3
+ id: string;
4
+ title: string;
5
+ description: string;
6
+ enabled: boolean;
7
+ }
8
+ interface LoginMethodsListProps {
9
+ methods: LoginMethod[];
10
+ onMethodsChange?: (methods: LoginMethod[]) => void;
11
+ }
12
+ declare const LoginMethodsList: React.FC<LoginMethodsListProps>;
13
+ export default LoginMethodsList;
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ interface PasswordRulesSettingsContentProps {
3
+ onSettingsChange?: (settings: PasswordRulesSettings) => void;
4
+ initialSettings?: PasswordRulesSettings;
5
+ }
6
+ export interface PasswordRulesSettings {
7
+ minLength: number;
8
+ requireUppercase: boolean;
9
+ requireLowercase: boolean;
10
+ requireNumbers: boolean;
11
+ requireSpecialChars: boolean;
12
+ }
13
+ declare const PasswordRulesSettingsContent: React.FC<PasswordRulesSettingsContentProps>;
14
+ export default PasswordRulesSettingsContent;
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { LoginMethod } from './LoginMethodsList';
3
+ interface PhoneSettingsContentProps {
4
+ onSettingsChange?: (settings: PhoneSettings) => void;
5
+ initialSettings?: PhoneSettings;
6
+ }
7
+ export interface PhoneSettings {
8
+ enableRegistration: boolean;
9
+ verificationType: 'sms';
10
+ loginMethods: LoginMethod[];
11
+ }
12
+ declare const PhoneSettingsContent: React.FC<PhoneSettingsContentProps>;
13
+ export default PhoneSettingsContent;
@@ -0,0 +1,10 @@
1
+ export { default as LoginMethodsList } from './LoginMethodsList';
2
+ export type { LoginMethod } from './LoginMethodsList';
3
+ export { default as EmailSettingsContent } from './EmailSettingsContent';
4
+ export type { EmailSettings } from './EmailSettingsContent';
5
+ export { default as PhoneSettingsContent } from './PhoneSettingsContent';
6
+ export type { PhoneSettings } from './PhoneSettingsContent';
7
+ export { default as DefaultSettingsContent } from './DefaultSettingsContent';
8
+ export type { DefaultSettings } from './DefaultSettingsContent';
9
+ export { default as PasswordRulesSettingsContent } from './PasswordRulesSettingsContent';
10
+ export type { PasswordRulesSettings } from './PasswordRulesSettingsContent';
@@ -0,0 +1,22 @@
1
+ import { AuthMethod } from './types';
2
+ /**
3
+ * 获取默认的认证方法列表(支持多语言)
4
+ * 每次调用都会根据当前语言设置返回对应的文本
5
+ * @returns 认证方法数组
6
+ */
7
+ export declare const getDefaultAuthMethods: () => AuthMethod[];
8
+ /**
9
+ * 默认认证方法列表(已废弃,仅保留用于向后兼容)
10
+ * @deprecated 请使用 getDefaultAuthMethods() 函数以获取实时的多语言支持
11
+ *
12
+ * 注意:此常量在模块加载时初始化,使用模块首次加载时的语言设置
13
+ * 如果需要响应语言切换,请直接调用 getDefaultAuthMethods() 函数
14
+ */
15
+ export declare const DEFAULT_AUTH_METHODS: AuthMethod[];
16
+ /**
17
+ * 获取密码规则设置项(支持多语言)
18
+ * 每次调用都会根据当前语言设置返回对应的文本
19
+ * @param id - 密码规则的唯一标识符,用于区分不同场景下的密码规则
20
+ * @returns 密码规则设置数组
21
+ */
22
+ export declare const getPasswordRulesSetting: (id?: string) => AuthMethod[];
@@ -0,0 +1,249 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'auth.method.email.title': string;
4
+ 'auth.method.email.description': string;
5
+ 'auth.method.phone.title': string;
6
+ 'auth.method.phone.description': string;
7
+ 'auth.method.facebook.title': string;
8
+ 'auth.method.facebook.description': string;
9
+ 'auth.method.apple.title': string;
10
+ 'auth.method.apple.description': string;
11
+ 'auth.method.guest.title': string;
12
+ 'auth.method.guest.description': string;
13
+ 'auth.login.method.password.title': string;
14
+ 'auth.login.method.password.email.description': string;
15
+ 'auth.login.method.password.phone.description': string;
16
+ 'auth.login.method.magic-link.title': string;
17
+ 'auth.login.method.magic-link.description': string;
18
+ 'auth.login.method.verification-code.title': string;
19
+ 'auth.login.method.verification-code.description': string;
20
+ 'auth.login.method.sms.title': string;
21
+ 'auth.login.method.sms.description': string;
22
+ 'auth.email.settings': string;
23
+ 'auth.phone.settings': string;
24
+ 'auth.email.registration.title': string;
25
+ 'auth.email.registration.enable': string;
26
+ 'auth.email.registration.enable.description': string;
27
+ 'auth.email.verification.title': string;
28
+ 'auth.email.verification.description': string;
29
+ 'auth.email.verification.link': string;
30
+ 'auth.email.verification.link.description': string;
31
+ 'auth.email.verification.code': string;
32
+ 'auth.email.verification.code.description': string;
33
+ 'auth.email.verification.note': string;
34
+ 'auth.email.verification.note.description': string;
35
+ 'auth.email.login.title': string;
36
+ 'auth.email.login.description': string;
37
+ 'auth.email.login.password': string;
38
+ 'auth.email.login.password.description': string;
39
+ 'auth.email.login.magic-link': string;
40
+ 'auth.email.login.magic-link.description': string;
41
+ 'auth.email.login.verification-code': string;
42
+ 'auth.email.login.verification-code.description': string;
43
+ 'auth.phone.registration.title': string;
44
+ 'auth.phone.registration.enable': string;
45
+ 'auth.phone.registration.enable.description': string;
46
+ 'auth.phone.verification.title': string;
47
+ 'auth.phone.verification.description': string;
48
+ 'auth.phone.verification.sms': string;
49
+ 'auth.phone.verification.sms.description': string;
50
+ 'auth.phone.login.title': string;
51
+ 'auth.phone.login.description': string;
52
+ 'auth.phone.login.password': string;
53
+ 'auth.phone.login.password.description': string;
54
+ 'auth.phone.login.sms': string;
55
+ 'auth.phone.login.sms.description': string;
56
+ 'auth.password.settings': string;
57
+ 'auth.password.rules.title': string;
58
+ 'auth.password.rules.description': string;
59
+ 'auth.password.requirements.title': string;
60
+ 'auth.password.requirements.description': string;
61
+ 'auth.password.min.length': string;
62
+ 'auth.password.min.length.description': string;
63
+ 'auth.password.requirements': string;
64
+ 'auth.password.requirements.character': string;
65
+ 'auth.password.require.uppercase': string;
66
+ 'auth.password.require.uppercase.description': string;
67
+ 'auth.password.require.lowercase': string;
68
+ 'auth.password.require.lowercase.description': string;
69
+ 'auth.password.require.numbers': string;
70
+ 'auth.password.require.numbers.description': string;
71
+ 'auth.password.require.special': string;
72
+ 'auth.password.require.special.description': string;
73
+ 'auth.button.cancel': string;
74
+ 'auth.button.save': string;
75
+ 'auth.button.settings': string;
76
+ 'auth.category.general': string;
77
+ 'auth.category.password-free': string;
78
+ 'auth.category.auth-free': string;
79
+ 'auth.category.oauth': string;
80
+ 'auth.oauth.config.message': string;
81
+ 'auth.oauth.config.link': string;
82
+ 'auth.settings.no.additional': string;
83
+ };
84
+ 'zh-CN': {
85
+ 'auth.method.email.title': string;
86
+ 'auth.method.email.description': string;
87
+ 'auth.method.phone.title': string;
88
+ 'auth.method.phone.description': string;
89
+ 'auth.method.facebook.title': string;
90
+ 'auth.method.facebook.description': string;
91
+ 'auth.method.apple.title': string;
92
+ 'auth.method.apple.description': string;
93
+ 'auth.method.guest.title': string;
94
+ 'auth.method.guest.description': string;
95
+ 'auth.login.method.password.title': string;
96
+ 'auth.login.method.password.email.description': string;
97
+ 'auth.login.method.password.phone.description': string;
98
+ 'auth.login.method.magic-link.title': string;
99
+ 'auth.login.method.magic-link.description': string;
100
+ 'auth.login.method.verification-code.title': string;
101
+ 'auth.login.method.verification-code.description': string;
102
+ 'auth.login.method.sms.title': string;
103
+ 'auth.login.method.sms.description': string;
104
+ 'auth.email.settings': string;
105
+ 'auth.phone.settings': string;
106
+ 'auth.email.registration.title': string;
107
+ 'auth.email.registration.enable': string;
108
+ 'auth.email.registration.enable.description': string;
109
+ 'auth.email.verification.title': string;
110
+ 'auth.email.verification.description': string;
111
+ 'auth.email.verification.link': string;
112
+ 'auth.email.verification.link.description': string;
113
+ 'auth.email.verification.code': string;
114
+ 'auth.email.verification.code.description': string;
115
+ 'auth.email.verification.note': string;
116
+ 'auth.email.verification.note.description': string;
117
+ 'auth.email.login.title': string;
118
+ 'auth.email.login.description': string;
119
+ 'auth.email.login.password': string;
120
+ 'auth.email.login.password.description': string;
121
+ 'auth.email.login.magic-link': string;
122
+ 'auth.email.login.magic-link.description': string;
123
+ 'auth.email.login.verification-code': string;
124
+ 'auth.email.login.verification-code.description': string;
125
+ 'auth.phone.registration.title': string;
126
+ 'auth.phone.registration.enable': string;
127
+ 'auth.phone.registration.enable.description': string;
128
+ 'auth.phone.verification.title': string;
129
+ 'auth.phone.verification.description': string;
130
+ 'auth.phone.verification.sms': string;
131
+ 'auth.phone.verification.sms.description': string;
132
+ 'auth.phone.login.title': string;
133
+ 'auth.phone.login.description': string;
134
+ 'auth.phone.login.password': string;
135
+ 'auth.phone.login.password.description': string;
136
+ 'auth.phone.login.sms': string;
137
+ 'auth.phone.login.sms.description': string;
138
+ 'auth.password.settings': string;
139
+ 'auth.password.rules.title': string;
140
+ 'auth.password.rules.description': string;
141
+ 'auth.password.requirements.title': string;
142
+ 'auth.password.requirements.description': string;
143
+ 'auth.password.min.length': string;
144
+ 'auth.password.min.length.description': string;
145
+ 'auth.password.requirements': string;
146
+ 'auth.password.requirements.character': string;
147
+ 'auth.password.require.uppercase': string;
148
+ 'auth.password.require.uppercase.description': string;
149
+ 'auth.password.require.lowercase': string;
150
+ 'auth.password.require.lowercase.description': string;
151
+ 'auth.password.require.numbers': string;
152
+ 'auth.password.require.numbers.description': string;
153
+ 'auth.password.require.special': string;
154
+ 'auth.password.require.special.description': string;
155
+ 'auth.button.cancel': string;
156
+ 'auth.button.save': string;
157
+ 'auth.button.settings': string;
158
+ 'auth.category.general': string;
159
+ 'auth.category.password-free': string;
160
+ 'auth.category.auth-free': string;
161
+ 'auth.category.oauth': string;
162
+ 'auth.oauth.config.message': string;
163
+ 'auth.oauth.config.link': string;
164
+ 'auth.settings.no.additional': string;
165
+ };
166
+ 'zh-HK': {
167
+ 'auth.method.email.title': string;
168
+ 'auth.method.email.description': string;
169
+ 'auth.method.phone.title': string;
170
+ 'auth.method.phone.description': string;
171
+ 'auth.method.facebook.title': string;
172
+ 'auth.method.facebook.description': string;
173
+ 'auth.method.apple.title': string;
174
+ 'auth.method.apple.description': string;
175
+ 'auth.method.guest.title': string;
176
+ 'auth.method.guest.description': string;
177
+ 'auth.login.method.password.title': string;
178
+ 'auth.login.method.password.email.description': string;
179
+ 'auth.login.method.password.phone.description': string;
180
+ 'auth.login.method.magic-link.title': string;
181
+ 'auth.login.method.magic-link.description': string;
182
+ 'auth.login.method.verification-code.title': string;
183
+ 'auth.login.method.verification-code.description': string;
184
+ 'auth.login.method.sms.title': string;
185
+ 'auth.login.method.sms.description': string;
186
+ 'auth.email.settings': string;
187
+ 'auth.phone.settings': string;
188
+ 'auth.email.registration.title': string;
189
+ 'auth.email.registration.enable': string;
190
+ 'auth.email.registration.enable.description': string;
191
+ 'auth.email.verification.title': string;
192
+ 'auth.email.verification.description': string;
193
+ 'auth.email.verification.link': string;
194
+ 'auth.email.verification.link.description': string;
195
+ 'auth.email.verification.code': string;
196
+ 'auth.email.verification.code.description': string;
197
+ 'auth.email.verification.note': string;
198
+ 'auth.email.verification.note.description': string;
199
+ 'auth.email.login.title': string;
200
+ 'auth.email.login.description': string;
201
+ 'auth.email.login.password': string;
202
+ 'auth.email.login.password.description': string;
203
+ 'auth.email.login.magic-link': string;
204
+ 'auth.email.login.magic-link.description': string;
205
+ 'auth.email.login.verification-code': string;
206
+ 'auth.email.login.verification-code.description': string;
207
+ 'auth.phone.registration.title': string;
208
+ 'auth.phone.registration.enable': string;
209
+ 'auth.phone.registration.enable.description': string;
210
+ 'auth.phone.verification.title': string;
211
+ 'auth.phone.verification.description': string;
212
+ 'auth.phone.verification.sms': string;
213
+ 'auth.phone.verification.sms.description': string;
214
+ 'auth.phone.login.title': string;
215
+ 'auth.phone.login.description': string;
216
+ 'auth.phone.login.password': string;
217
+ 'auth.phone.login.password.description': string;
218
+ 'auth.phone.login.sms': string;
219
+ 'auth.phone.login.sms.description': string;
220
+ 'auth.password.settings': string;
221
+ 'auth.password.rules.title': string;
222
+ 'auth.password.rules.description': string;
223
+ 'auth.password.requirements.title': string;
224
+ 'auth.password.requirements.description': string;
225
+ 'auth.password.min.length': string;
226
+ 'auth.password.min.length.description': string;
227
+ 'auth.password.requirements': string;
228
+ 'auth.password.requirements.character': string;
229
+ 'auth.password.require.uppercase': string;
230
+ 'auth.password.require.uppercase.description': string;
231
+ 'auth.password.require.lowercase': string;
232
+ 'auth.password.require.lowercase.description': string;
233
+ 'auth.password.require.numbers': string;
234
+ 'auth.password.require.numbers.description': string;
235
+ 'auth.password.require.special': string;
236
+ 'auth.password.require.special.description': string;
237
+ 'auth.button.cancel': string;
238
+ 'auth.button.save': string;
239
+ 'auth.button.settings': string;
240
+ 'auth.category.general': string;
241
+ 'auth.category.password-free': string;
242
+ 'auth.category.auth-free': string;
243
+ 'auth.category.oauth': string;
244
+ 'auth.oauth.config.message': string;
245
+ 'auth.oauth.config.link': string;
246
+ 'auth.settings.no.additional': string;
247
+ };
248
+ };
249
+ export default _default;