@pisell/private-materials 3.4.47 → 3.4.49

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 (367) 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 +2 -2
  6. package/build/lowcode/preview.js +8 -8
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +23 -8
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +23 -8
  11. package/es/components/Sales/Event/Detail.d.ts +30 -0
  12. package/es/components/Sales/Summary/utils.d.ts +1 -1
  13. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +3 -0
  14. package/es/components/appointmentBooking/components/ConfirmInformation/index.d.ts +4 -0
  15. package/es/components/appointmentBooking/components/Services/index.d.ts +4 -0
  16. package/es/components/appointmentBooking/hooks.d.ts +107 -0
  17. package/es/components/appointmentBooking/hooks.js +5 -0
  18. package/es/components/appointmentBooking/locales.d.ts +363 -0
  19. package/es/components/authentication/admin/AuthMethods/SettingList.d.ts +5 -0
  20. package/es/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +22 -0
  21. package/es/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
  22. package/es/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +13 -0
  23. package/es/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
  24. package/es/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +14 -0
  25. package/es/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +13 -0
  26. package/es/components/authentication/admin/AuthMethods/components/index.d.ts +10 -0
  27. package/es/components/authentication/admin/AuthMethods/constants.d.ts +22 -0
  28. package/es/components/authentication/admin/AuthMethods/index.d.ts +8 -0
  29. package/es/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
  30. package/es/components/authentication/admin/AuthMethods/types.d.ts +76 -0
  31. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
  32. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
  33. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
  34. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
  35. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
  36. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
  37. package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
  38. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/index.d.ts +8 -0
  39. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
  40. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
  41. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +8 -0
  42. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
  43. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
  44. package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
  45. package/es/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
  46. package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
  47. package/es/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
  48. package/es/components/authentication/admin/CustomerAuth/index.d.ts +6 -0
  49. package/es/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
  50. package/es/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
  51. package/es/components/authentication/admin/CustomerOAuthConfig/index.d.ts +6 -0
  52. package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
  53. package/es/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
  54. package/es/components/authentication/admin/DeviceAuth/index.d.ts +6 -0
  55. package/es/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
  56. package/es/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
  57. package/es/components/authentication/admin/OAuthConfig/index.d.ts +6 -0
  58. package/es/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
  59. package/es/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
  60. package/es/components/authentication/admin/OrgAdminAuth/index.d.ts +6 -0
  61. package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
  62. package/es/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
  63. package/es/components/authentication/admin/POSOperatorAuth/index.d.ts +6 -0
  64. package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
  65. package/es/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
  66. package/es/components/authentication/admin/SaaSAdminAuth/index.d.ts +6 -0
  67. package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
  68. package/es/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
  69. package/es/components/authentication/admin/index.d.ts +26 -0
  70. package/es/components/authentication/index.d.ts +0 -0
  71. package/es/components/booking/addons/model.d.ts +10 -1
  72. package/es/components/booking/components/customSelect/index.d.ts +38 -0
  73. package/es/components/booking/components/customSelect/index.js +22 -3
  74. package/es/components/booking/components/footer/index.d.ts +11 -0
  75. package/es/components/booking/components/footer/utils.d.ts +41 -0
  76. package/es/components/booking/forms/footer.d.ts +6 -0
  77. package/es/components/booking/forms/model.d.ts +10 -1
  78. package/es/components/booking/info/client/index.d.ts +4 -0
  79. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +43 -0
  80. package/es/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +25 -0
  81. package/es/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
  82. package/es/components/booking/info/main.d.ts +12 -0
  83. package/es/components/booking/info/model.d.ts +14 -0
  84. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  85. package/es/components/booking/info2/index.d.ts +12 -0
  86. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  87. package/es/components/booking/info2/service/contactInfoMode/index.d.ts +2 -0
  88. package/es/components/booking/locales.d.ts +834 -0
  89. package/es/components/booking/model.d.ts +119 -0
  90. package/es/components/booking/notes/model.d.ts +10 -1
  91. package/es/components/booking/payments/model.d.ts +10 -1
  92. package/es/components/eftposPay/hooks.d.ts +1 -1
  93. package/es/components/eftposPay/linkly/index.d.ts +2 -0
  94. package/es/components/eftposPay/store/index.d.ts +3 -3
  95. package/es/components/index.d.ts +23 -0
  96. package/es/components/index.js +1 -1
  97. package/es/components/pay/toC/PaymentMethods/ApplePay/index.d.ts +10 -0
  98. package/es/components/pay/toC/PaymentMethods/GooglePay/index.d.ts +9 -0
  99. package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +10 -0
  100. package/es/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.d.ts +15 -0
  101. package/es/components/pay/toC/PaymentMethods/hooks/index.d.ts +19 -0
  102. package/es/components/pay/toC/index.d.ts +3 -0
  103. package/es/components/pay/toC/locales.d.ts +298 -0
  104. package/es/components/pay/toC/model.d.ts +40 -0
  105. package/es/components/pay/toC/serve.d.ts +62 -0
  106. package/es/components/schedules/model.d.ts +9 -1
  107. package/es/components/wallet/Detail/model.d.ts +13 -1
  108. package/es/components/wallet/DiscountCard/model.d.ts +14 -1
  109. package/es/components/wallet/PointCard/model.d.ts +13 -1
  110. package/es/components/wallet/RechargeableCard/model.d.ts +29 -1
  111. package/es/components/wallet/Voucher/model.d.ts +13 -1
  112. package/es/components/wallet/model.d.ts +9 -1
  113. package/es/components/walletList/index.d.ts +0 -25
  114. package/es/components/walletList/index.js +93 -61
  115. package/es/components/walletList/serve.d.ts +4 -0
  116. package/es/components/walletList/serve.js +46 -13
  117. package/es/components/walletList/types/index.d.ts +12 -12
  118. package/es/components/walletList/types/index.js +2 -2
  119. package/es/index.d.ts +58 -0
  120. package/es/index.js +3 -2
  121. package/es/plus/clientName/index.d.ts +4 -0
  122. package/es/plus/clientName/type.d.ts +13 -0
  123. package/es/plus/clientName/utils.d.ts +2 -0
  124. package/es/plus/contactInfo/components/Avatar/index.d.ts +10 -0
  125. package/es/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
  126. package/es/plus/contactInfo/index.d.ts +6 -0
  127. package/es/plus/contactInfo/locales.d.ts +15 -0
  128. package/es/plus/contactInfo/types.d.ts +91 -0
  129. package/es/plus/contactInfo/utils.d.ts +7 -0
  130. package/es/plus/contactInfoModal/ContactInfoContent.d.ts +3 -0
  131. package/es/plus/contactInfoModal/index.d.ts +41 -0
  132. package/es/plus/contactInfoModal/locales.d.ts +66 -0
  133. package/es/plus/productSelect/CategoryTabs/index.d.ts +2 -0
  134. package/es/plus/productSelect/CategoryTabs/index.js +6 -3
  135. package/es/plus/productSelect/ProductCard/index.d.ts +47 -0
  136. package/es/plus/productSelect/components/TabsStructure/TabsStructure.less +0 -11
  137. package/es/plus/productSelect/index.d.ts +32 -0
  138. package/es/plus/productSelect/utils.js +0 -1
  139. package/es/plus/walletEditor/WalletEditor.d.ts +5 -0
  140. package/es/plus/walletEditor/WalletEditor.js +316 -0
  141. package/es/plus/walletEditor/WalletEditor.less +129 -0
  142. package/es/plus/walletEditor/components/ImageUpload/index.d.ts +8 -0
  143. package/es/plus/walletEditor/components/ImageUpload/index.js +223 -0
  144. package/es/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
  145. package/es/plus/walletEditor/components/JsonEditor/index.js +68 -0
  146. package/es/plus/walletEditor/components/JsonEditor/index.less +4 -0
  147. package/es/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +20 -0
  148. package/es/plus/walletEditor/components/ValidityPeriodSelector/index.js +222 -0
  149. package/es/plus/walletEditor/components/ValidityPeriodSelector/index.less +4 -0
  150. package/es/plus/walletEditor/components/relationProduct/index.d.ts +6 -0
  151. package/es/plus/walletEditor/components/relationProduct/index.js +49 -0
  152. package/es/plus/walletEditor/components/relationProduct/index.less +15 -0
  153. package/es/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +37 -0
  154. package/es/plus/walletEditor/components/sortableWalletPassTypes/index.js +193 -0
  155. package/es/plus/walletEditor/components/sortableWalletPassTypes/index.less +110 -0
  156. package/es/plus/walletEditor/index.d.ts +3 -0
  157. package/es/plus/walletEditor/index.js +3 -0
  158. package/es/plus/walletEditor/locales.d.ts +126 -0
  159. package/es/plus/walletEditor/locales.js +143 -0
  160. package/es/plus/walletEditor/types.d.ts +52 -0
  161. package/es/plus/walletEditor/types.js +1 -0
  162. package/es/plus/walletPassGallery/components/footerButton/index.d.ts +14 -0
  163. package/es/plus/walletPassGallery/components/footerButton/index.js +247 -0
  164. package/es/plus/walletPassGallery/components/footerButton/index.less +93 -0
  165. package/es/plus/walletPassGallery/components/passDetail/index.d.ts +8 -0
  166. package/es/plus/walletPassGallery/components/passDetail/index.js +274 -0
  167. package/es/plus/walletPassGallery/components/passDetail/index.less +57 -0
  168. package/es/plus/walletPassGallery/components/passList/index.d.ts +11 -0
  169. package/es/plus/walletPassGallery/components/passList/index.js +115 -0
  170. package/es/plus/walletPassGallery/components/recharge/index.d.ts +11 -0
  171. package/es/plus/walletPassGallery/components/recharge/index.js +134 -0
  172. package/es/plus/walletPassGallery/components/recharge/index.less +16 -0
  173. package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +8 -0
  174. package/es/plus/walletPassGallery/components/timelineSection/index.js +176 -0
  175. package/es/plus/walletPassGallery/components/timelineSection/index.less +67 -0
  176. package/es/plus/walletPassGallery/components/usageRule/index.d.ts +9 -0
  177. package/es/plus/walletPassGallery/components/usageRule/index.js +248 -0
  178. package/es/plus/walletPassGallery/components/usageRule/index.less +157 -0
  179. package/es/plus/walletPassGallery/index.d.ts +6 -0
  180. package/es/plus/walletPassGallery/index.js +602 -0
  181. package/es/plus/walletPassGallery/index.less +115 -0
  182. package/es/plus/walletPassGallery/locales.d.ts +270 -0
  183. package/es/plus/walletPassGallery/locales.js +279 -0
  184. package/es/plus/walletPassGallery/serve.d.ts +218 -0
  185. package/es/plus/walletPassGallery/serve.js +289 -0
  186. package/es/pro/pisellPaymentList/example.d.ts +19 -0
  187. package/lib/components/Sales/Event/Detail.d.ts +30 -0
  188. package/lib/components/Sales/Summary/utils.d.ts +1 -1
  189. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +3 -0
  190. package/lib/components/appointmentBooking/components/ConfirmInformation/index.d.ts +4 -0
  191. package/lib/components/appointmentBooking/components/Services/index.d.ts +4 -0
  192. package/lib/components/appointmentBooking/hooks.d.ts +107 -0
  193. package/lib/components/appointmentBooking/hooks.js +3 -0
  194. package/lib/components/appointmentBooking/locales.d.ts +363 -0
  195. package/lib/components/authentication/admin/AuthMethods/SettingList.d.ts +5 -0
  196. package/lib/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +22 -0
  197. package/lib/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
  198. package/lib/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +13 -0
  199. package/lib/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
  200. package/lib/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +14 -0
  201. package/lib/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +13 -0
  202. package/lib/components/authentication/admin/AuthMethods/components/index.d.ts +10 -0
  203. package/lib/components/authentication/admin/AuthMethods/constants.d.ts +22 -0
  204. package/lib/components/authentication/admin/AuthMethods/index.d.ts +8 -0
  205. package/lib/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
  206. package/lib/components/authentication/admin/AuthMethods/types.d.ts +76 -0
  207. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
  208. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
  209. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
  210. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
  211. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
  212. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
  213. package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
  214. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/index.d.ts +8 -0
  215. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
  216. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
  217. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +8 -0
  218. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
  219. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
  220. package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
  221. package/lib/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
  222. package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
  223. package/lib/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
  224. package/lib/components/authentication/admin/CustomerAuth/index.d.ts +6 -0
  225. package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
  226. package/lib/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
  227. package/lib/components/authentication/admin/CustomerOAuthConfig/index.d.ts +6 -0
  228. package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
  229. package/lib/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
  230. package/lib/components/authentication/admin/DeviceAuth/index.d.ts +6 -0
  231. package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
  232. package/lib/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
  233. package/lib/components/authentication/admin/OAuthConfig/index.d.ts +6 -0
  234. package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
  235. package/lib/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
  236. package/lib/components/authentication/admin/OrgAdminAuth/index.d.ts +6 -0
  237. package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
  238. package/lib/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
  239. package/lib/components/authentication/admin/POSOperatorAuth/index.d.ts +6 -0
  240. package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
  241. package/lib/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
  242. package/lib/components/authentication/admin/SaaSAdminAuth/index.d.ts +6 -0
  243. package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
  244. package/lib/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
  245. package/lib/components/authentication/admin/index.d.ts +26 -0
  246. package/lib/components/authentication/index.d.ts +0 -0
  247. package/lib/components/booking/addons/model.d.ts +10 -1
  248. package/lib/components/booking/components/customSelect/index.d.ts +38 -0
  249. package/lib/components/booking/components/customSelect/index.js +26 -3
  250. package/lib/components/booking/components/footer/index.d.ts +11 -0
  251. package/lib/components/booking/components/footer/utils.d.ts +41 -0
  252. package/lib/components/booking/forms/footer.d.ts +6 -0
  253. package/lib/components/booking/forms/model.d.ts +10 -1
  254. package/lib/components/booking/info/client/index.d.ts +4 -0
  255. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +43 -0
  256. package/lib/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +25 -0
  257. package/lib/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
  258. package/lib/components/booking/info/main.d.ts +12 -0
  259. package/lib/components/booking/info/model.d.ts +14 -0
  260. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  261. package/lib/components/booking/info2/index.d.ts +12 -0
  262. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  263. package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +2 -0
  264. package/lib/components/booking/locales.d.ts +834 -0
  265. package/lib/components/booking/model.d.ts +119 -0
  266. package/lib/components/booking/notes/model.d.ts +10 -1
  267. package/lib/components/booking/payments/model.d.ts +10 -1
  268. package/lib/components/eftposPay/hooks.d.ts +1 -1
  269. package/lib/components/eftposPay/linkly/index.d.ts +2 -0
  270. package/lib/components/eftposPay/store/index.d.ts +3 -3
  271. package/lib/components/index.d.ts +23 -0
  272. package/lib/components/index.js +1 -1
  273. package/lib/components/pay/toC/PaymentMethods/ApplePay/index.d.ts +10 -0
  274. package/lib/components/pay/toC/PaymentMethods/GooglePay/index.d.ts +9 -0
  275. package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +10 -0
  276. package/lib/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.d.ts +15 -0
  277. package/lib/components/pay/toC/PaymentMethods/hooks/index.d.ts +19 -0
  278. package/lib/components/pay/toC/index.d.ts +3 -0
  279. package/lib/components/pay/toC/locales.d.ts +298 -0
  280. package/lib/components/pay/toC/model.d.ts +40 -0
  281. package/lib/components/pay/toC/serve.d.ts +62 -0
  282. package/lib/components/schedules/model.d.ts +9 -1
  283. package/lib/components/wallet/Detail/model.d.ts +13 -1
  284. package/lib/components/wallet/DiscountCard/model.d.ts +14 -1
  285. package/lib/components/wallet/PointCard/model.d.ts +13 -1
  286. package/lib/components/wallet/RechargeableCard/model.d.ts +29 -1
  287. package/lib/components/wallet/Voucher/model.d.ts +13 -1
  288. package/lib/components/wallet/model.d.ts +9 -1
  289. package/lib/components/walletList/index.d.ts +0 -25
  290. package/lib/components/walletList/index.js +88 -47
  291. package/lib/components/walletList/serve.d.ts +4 -0
  292. package/lib/components/walletList/serve.js +12 -0
  293. package/lib/components/walletList/types/index.d.ts +12 -12
  294. package/lib/index.d.ts +58 -0
  295. package/lib/index.js +6 -3
  296. package/lib/plus/clientName/index.d.ts +4 -0
  297. package/lib/plus/clientName/type.d.ts +13 -0
  298. package/lib/plus/clientName/utils.d.ts +2 -0
  299. package/lib/plus/contactInfo/components/Avatar/index.d.ts +10 -0
  300. package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
  301. package/lib/plus/contactInfo/index.d.ts +6 -0
  302. package/lib/plus/contactInfo/locales.d.ts +15 -0
  303. package/lib/plus/contactInfo/types.d.ts +91 -0
  304. package/lib/plus/contactInfo/utils.d.ts +7 -0
  305. package/lib/plus/contactInfoModal/ContactInfoContent.d.ts +3 -0
  306. package/lib/plus/contactInfoModal/index.d.ts +41 -0
  307. package/lib/plus/contactInfoModal/locales.d.ts +66 -0
  308. package/lib/plus/productSelect/CategoryTabs/index.d.ts +2 -0
  309. package/lib/plus/productSelect/CategoryTabs/index.js +84 -69
  310. package/lib/plus/productSelect/ProductCard/index.d.ts +47 -0
  311. package/lib/plus/productSelect/components/TabsStructure/TabsStructure.less +0 -11
  312. package/lib/plus/productSelect/index.d.ts +32 -0
  313. package/lib/plus/productSelect/utils.js +0 -1
  314. package/lib/plus/walletEditor/WalletEditor.d.ts +5 -0
  315. package/lib/plus/walletEditor/WalletEditor.js +354 -0
  316. package/lib/plus/walletEditor/WalletEditor.less +129 -0
  317. package/lib/plus/walletEditor/components/ImageUpload/index.d.ts +8 -0
  318. package/lib/plus/walletEditor/components/ImageUpload/index.js +201 -0
  319. package/lib/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
  320. package/lib/plus/walletEditor/components/JsonEditor/index.js +89 -0
  321. package/lib/plus/walletEditor/components/JsonEditor/index.less +4 -0
  322. package/lib/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +20 -0
  323. package/lib/plus/walletEditor/components/ValidityPeriodSelector/index.js +176 -0
  324. package/lib/plus/walletEditor/components/ValidityPeriodSelector/index.less +4 -0
  325. package/lib/plus/walletEditor/components/relationProduct/index.d.ts +6 -0
  326. package/lib/plus/walletEditor/components/relationProduct/index.js +73 -0
  327. package/lib/plus/walletEditor/components/relationProduct/index.less +15 -0
  328. package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +37 -0
  329. package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.js +211 -0
  330. package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.less +110 -0
  331. package/lib/plus/walletEditor/index.d.ts +3 -0
  332. package/lib/plus/walletEditor/index.js +42 -0
  333. package/lib/plus/walletEditor/locales.d.ts +126 -0
  334. package/lib/plus/walletEditor/locales.js +167 -0
  335. package/lib/plus/walletEditor/types.d.ts +52 -0
  336. package/lib/plus/walletEditor/types.js +17 -0
  337. package/lib/plus/walletPassGallery/components/footerButton/index.d.ts +14 -0
  338. package/lib/plus/walletPassGallery/components/footerButton/index.js +187 -0
  339. package/lib/plus/walletPassGallery/components/footerButton/index.less +93 -0
  340. package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +8 -0
  341. package/lib/plus/walletPassGallery/components/passDetail/index.js +287 -0
  342. package/lib/plus/walletPassGallery/components/passDetail/index.less +57 -0
  343. package/lib/plus/walletPassGallery/components/passList/index.d.ts +11 -0
  344. package/lib/plus/walletPassGallery/components/passList/index.js +136 -0
  345. package/lib/plus/walletPassGallery/components/recharge/index.d.ts +11 -0
  346. package/lib/plus/walletPassGallery/components/recharge/index.js +146 -0
  347. package/lib/plus/walletPassGallery/components/recharge/index.less +16 -0
  348. package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +8 -0
  349. package/lib/plus/walletPassGallery/components/timelineSection/index.js +212 -0
  350. package/lib/plus/walletPassGallery/components/timelineSection/index.less +67 -0
  351. package/lib/plus/walletPassGallery/components/usageRule/index.d.ts +9 -0
  352. package/lib/plus/walletPassGallery/components/usageRule/index.js +209 -0
  353. package/lib/plus/walletPassGallery/components/usageRule/index.less +157 -0
  354. package/lib/plus/walletPassGallery/index.d.ts +6 -0
  355. package/lib/plus/walletPassGallery/index.js +498 -0
  356. package/lib/plus/walletPassGallery/index.less +115 -0
  357. package/lib/plus/walletPassGallery/locales.d.ts +270 -0
  358. package/lib/plus/walletPassGallery/locales.js +299 -0
  359. package/lib/plus/walletPassGallery/serve.d.ts +218 -0
  360. package/lib/plus/walletPassGallery/serve.js +98 -0
  361. package/lib/pro/pisellPaymentList/example.d.ts +19 -0
  362. package/lowcode/sortable-wallet-pass-types/meta.ts +267 -0
  363. package/lowcode/wallet-editor/meta.ts +57 -0
  364. package/lowcode/wallet-editor/snippets.ts +13 -0
  365. package/lowcode/wallet-pass-gallery/meta.ts +35 -0
  366. package/package.json +3 -3
  367. package/lowcode/wallet/meta.ts +0 -79
@@ -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,8 @@
1
+ import React from 'react';
2
+ import { AuthMethodsProps, AuthMethod } from './types';
3
+ import './AuthMethods.less';
4
+ declare const AuthMethods: React.FC<AuthMethodsProps>;
5
+ export default AuthMethods;
6
+ export { default as SettingList } from './SettingList';
7
+ export type { AuthMethodsProps, AuthMethod };
8
+ export { AuthMethodType, AuthMethodCategory } from './types';
@@ -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;
@@ -0,0 +1,76 @@
1
+ /// <reference types="react" />
2
+ export declare enum AuthMethodType {
3
+ EMAIL = "email",
4
+ PHONE = "phone",
5
+ WALLET_PIN = "wallet_pin",
6
+ CUSTOMER_PASSCODE = "customer_passcode",
7
+ DEVICE_PASSCODE = "device_passcode",
8
+ TEAM_MEMBER = "team_member",
9
+ PASSWORD_RULES = "password_rules",
10
+ GUEST = "guest",
11
+ WALK_IN = "walk_in",
12
+ GOOGLE = "google",
13
+ FACEBOOK = "facebook",
14
+ APPLE = "apple",
15
+ DIGIT_ID_PIN = "digit_id_pin"
16
+ }
17
+ export declare enum AuthMethodCategory {
18
+ GENERAL = "General",
19
+ PASSWORD_FREE = "Password-free",
20
+ AUTH_FREE = "Auth-free",
21
+ OAUTH = "OAuth"
22
+ }
23
+ export interface AuthMethod {
24
+ id: string;
25
+ type: AuthMethodType;
26
+ title: string;
27
+ category: AuthMethodCategory;
28
+ description: string;
29
+ icon: React.ReactNode;
30
+ enabled: boolean;
31
+ hasSettings: boolean;
32
+ sort?: number;
33
+ configLink?: string;
34
+ requiresOAuthConfig?: boolean;
35
+ inheritMessage?: string;
36
+ disableToggle?: boolean;
37
+ }
38
+ export interface AuthMethodsProps {
39
+ /**
40
+ * 自定义类名
41
+ */
42
+ className?: string;
43
+ /**
44
+ * 自定义样式
45
+ */
46
+ style?: React.CSSProperties;
47
+ /**
48
+ * 认证方法列表
49
+ */
50
+ methods?: AuthMethod[];
51
+ /**
52
+ * 顺序变化回调
53
+ */
54
+ onOrderChange?: (methods: AuthMethod[]) => void;
55
+ /**
56
+ * 启用/禁用回调
57
+ */
58
+ onToggle?: (method: AuthMethod, enabled: boolean) => void;
59
+ /**
60
+ * 设置按钮点击回调
61
+ */
62
+ onSettings?: (method: AuthMethod) => void;
63
+ /**
64
+ * 配置链接点击回调
65
+ */
66
+ onConfigClick?: (method: AuthMethod) => void;
67
+ /**
68
+ * 是否启用设置按钮
69
+ * @default true
70
+ */
71
+ enableSetting?: boolean;
72
+ /**
73
+ * 自定义标题渲染函数
74
+ */
75
+ renderTitle?: (method: AuthMethod) => React.ReactNode;
76
+ }
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { AuthenticationMethodsProps } from './types';
3
+ import './AuthenticationMethods.less';
4
+ declare const AuthenticationMethods: React.FC<AuthenticationMethodsProps>;
5
+ export default AuthenticationMethods;
6
+ export type { AuthenticationMethodsProps, AuthenticationMethodsValue, GlobalAuthMethod } from './types';
@@ -0,0 +1,84 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'auth.methods.title': string;
4
+ 'auth.methods.mode.default.title': string;
5
+ 'auth.methods.mode.default.description': string;
6
+ 'auth.methods.mode.default.configure': string;
7
+ 'auth.methods.mode.custom.title': string;
8
+ 'auth.methods.mode.custom.description': string;
9
+ 'auth.methods.custom.warning.title': string;
10
+ 'auth.methods.custom.warning.description': string;
11
+ 'auth.methods.preview.title': string;
12
+ 'auth.methods.preview.description': string;
13
+ 'auth.methods.preview.inherited': string;
14
+ 'auth.methods.customer.title': string;
15
+ 'auth.methods.customer.description': string;
16
+ 'auth.methods.label.email': string;
17
+ 'auth.methods.label.phoneNumber': string;
18
+ 'auth.methods.label.walletCode': string;
19
+ 'auth.methods.label.guest': string;
20
+ 'auth.methods.label.walkIn': string;
21
+ 'auth.methods.label.google': string;
22
+ 'auth.methods.label.facebook': string;
23
+ 'auth.methods.label.apple': string;
24
+ 'auth.methods.status.enabled': string;
25
+ 'auth.methods.status.disabled': string;
26
+ 'auth.methods.button.cancel': string;
27
+ 'auth.methods.button.save': string;
28
+ };
29
+ 'zh-CN': {
30
+ 'auth.methods.title': string;
31
+ 'auth.methods.mode.default.title': string;
32
+ 'auth.methods.mode.default.description': string;
33
+ 'auth.methods.mode.default.configure': string;
34
+ 'auth.methods.mode.custom.title': string;
35
+ 'auth.methods.mode.custom.description': string;
36
+ 'auth.methods.custom.warning.title': string;
37
+ 'auth.methods.custom.warning.description': string;
38
+ 'auth.methods.preview.title': string;
39
+ 'auth.methods.preview.description': string;
40
+ 'auth.methods.preview.inherited': string;
41
+ 'auth.methods.customer.title': string;
42
+ 'auth.methods.customer.description': string;
43
+ 'auth.methods.label.email': string;
44
+ 'auth.methods.label.phoneNumber': string;
45
+ 'auth.methods.label.walletCode': string;
46
+ 'auth.methods.label.guest': string;
47
+ 'auth.methods.label.walkIn': string;
48
+ 'auth.methods.label.google': string;
49
+ 'auth.methods.label.facebook': string;
50
+ 'auth.methods.label.apple': string;
51
+ 'auth.methods.status.enabled': string;
52
+ 'auth.methods.status.disabled': string;
53
+ 'auth.methods.button.cancel': string;
54
+ 'auth.methods.button.save': string;
55
+ };
56
+ 'zh-HK': {
57
+ 'auth.methods.title': string;
58
+ 'auth.methods.mode.default.title': string;
59
+ 'auth.methods.mode.default.description': string;
60
+ 'auth.methods.mode.default.configure': string;
61
+ 'auth.methods.mode.custom.title': string;
62
+ 'auth.methods.mode.custom.description': string;
63
+ 'auth.methods.custom.warning.title': string;
64
+ 'auth.methods.custom.warning.description': string;
65
+ 'auth.methods.preview.title': string;
66
+ 'auth.methods.preview.description': string;
67
+ 'auth.methods.preview.inherited': string;
68
+ 'auth.methods.customer.title': string;
69
+ 'auth.methods.customer.description': string;
70
+ 'auth.methods.label.email': string;
71
+ 'auth.methods.label.phoneNumber': string;
72
+ 'auth.methods.label.walletCode': string;
73
+ 'auth.methods.label.guest': string;
74
+ 'auth.methods.label.walkIn': string;
75
+ 'auth.methods.label.google': string;
76
+ 'auth.methods.label.facebook': string;
77
+ 'auth.methods.label.apple': string;
78
+ 'auth.methods.status.enabled': string;
79
+ 'auth.methods.status.disabled': string;
80
+ 'auth.methods.button.cancel': string;
81
+ 'auth.methods.button.save': string;
82
+ };
83
+ };
84
+ export default _default;
@@ -0,0 +1,41 @@
1
+ /// <reference types="react" />
2
+ export declare type AuthenticationMethod = 'email' | 'phoneNumber' | 'facebook' | 'apple' | 'guest';
3
+ export interface GlobalAuthMethod {
4
+ method: AuthenticationMethod;
5
+ enabled: boolean;
6
+ label: {
7
+ en: string;
8
+ 'zh-CN': string;
9
+ 'zh-HK': string;
10
+ };
11
+ }
12
+ export declare type AuthenticationSettingsMode = 'default' | 'custom';
13
+ export interface AuthMethodConfig {
14
+ enabled: boolean;
15
+ sort: number;
16
+ }
17
+ export interface AuthenticationMethodsValue {
18
+ mode: AuthenticationSettingsMode;
19
+ customMethods?: AuthenticationMethod[];
20
+ methods?: {
21
+ email?: AuthMethodConfig;
22
+ phoneNumber?: AuthMethodConfig;
23
+ facebook?: AuthMethodConfig;
24
+ apple?: AuthMethodConfig;
25
+ guest?: AuthMethodConfig;
26
+ };
27
+ }
28
+ export interface AuthenticationMethodsProps {
29
+ className?: string;
30
+ style?: React.CSSProperties;
31
+ value?: AuthenticationMethodsValue;
32
+ onChange?: (value: AuthenticationMethodsValue) => void;
33
+ /**
34
+ * 从全局设置中获取的认证方法配置
35
+ */
36
+ globalMethods?: GlobalAuthMethod[];
37
+ /**
38
+ * 配置全局设置的链接
39
+ */
40
+ onConfigureGlobal?: () => void;
41
+ }
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { CollectInfoProps } from './types';
3
+ import './CollectInfo.less';
4
+ declare const CollectInfo: React.FC<CollectInfoProps>;
5
+ export default CollectInfo;
6
+ export type { CollectInfoProps, CollectInfoValue } from './types';
@@ -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,6 @@
1
+ import React from 'react';
2
+ import { ChannelAuthSettingProps } from '../types';
3
+ import './index.less';
4
+ declare const Onlineshopauth: React.FC<ChannelAuthSettingProps>;
5
+ export default Onlineshopauth;
6
+ export type { ChannelAuthSettingProps, ChannelAuthSettingValue, ChannelAuthSettingSaveParams, TabKey } from '../types';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { PageSettingProps } from './types';
3
+ import './PageSetting.less';
4
+ declare const PageSetting: React.ForwardRefExoticComponent<PageSettingProps & React.RefAttributes<{
5
+ validateFields: () => Promise<any>;
6
+ }>>;
7
+ export default PageSetting;
8
+ export type { PageSettingProps, PageSettingValue } from './types';
@@ -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;