@pisell/private-materials 6.3.36 → 6.3.38

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 (303) 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 +10 -29
  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/components/Sales/Summary/utils.d.ts +1 -1
  12. package/es/components/authentication/admin/AuthMethods/AuthMethods.less +136 -0
  13. package/es/components/authentication/admin/AuthMethods/SettingList.d.ts +5 -0
  14. package/es/components/authentication/admin/AuthMethods/SettingList.js +62 -0
  15. package/es/components/authentication/admin/AuthMethods/SettingList.less +85 -0
  16. package/es/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +22 -0
  17. package/es/components/authentication/admin/AuthMethods/SettingsDrawer.js +121 -0
  18. package/es/components/authentication/admin/AuthMethods/SettingsDrawer.less +163 -0
  19. package/es/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
  20. package/es/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.js +15 -0
  21. package/es/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +13 -0
  22. package/es/components/authentication/admin/AuthMethods/components/EmailSettingsContent.js +152 -0
  23. package/es/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
  24. package/es/components/authentication/admin/AuthMethods/components/LoginMethodsList.js +114 -0
  25. package/es/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +14 -0
  26. package/es/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.js +170 -0
  27. package/es/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +13 -0
  28. package/es/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.js +116 -0
  29. package/es/components/authentication/admin/AuthMethods/components/index.d.ts +10 -0
  30. package/es/components/authentication/admin/AuthMethods/components/index.js +5 -0
  31. package/es/components/authentication/admin/AuthMethods/constants.d.ts +22 -0
  32. package/es/components/authentication/admin/AuthMethods/constants.js +121 -0
  33. package/es/components/authentication/admin/AuthMethods/index.d.ts +8 -0
  34. package/es/components/authentication/admin/AuthMethods/index.js +233 -0
  35. package/es/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
  36. package/es/components/authentication/admin/AuthMethods/locales.js +290 -0
  37. package/es/components/authentication/admin/AuthMethods/types.d.ts +76 -0
  38. package/es/components/authentication/admin/AuthMethods/types.js +23 -0
  39. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/AuthenticationMethods.less +231 -0
  40. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
  41. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.js +447 -0
  42. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
  43. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.js +107 -0
  44. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
  45. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.js +1 -0
  46. package/es/components/authentication/admin/ChannelAuthSetting/ChannelAuthSetting.less +111 -0
  47. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/CollectInfo.less +259 -0
  48. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
  49. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.js +530 -0
  50. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
  51. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.js +86 -0
  52. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
  53. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.js +1 -0
  54. package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
  55. package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.js +460 -0
  56. package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.less +111 -0
  57. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/PageSetting.less +105 -0
  58. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/index.d.ts +8 -0
  59. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/index.js +185 -0
  60. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
  61. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.js +32 -0
  62. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
  63. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/types.js +1 -0
  64. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/PageSettingItem.less +272 -0
  65. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +8 -0
  66. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.js +214 -0
  67. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
  68. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.js +71 -0
  69. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
  70. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.js +1 -0
  71. package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
  72. package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.js +287 -0
  73. package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.less +111 -0
  74. package/es/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
  75. package/es/components/authentication/admin/ChannelAuthSetting/index.js +228 -0
  76. package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
  77. package/es/components/authentication/admin/ChannelAuthSetting/locales.js +50 -0
  78. package/es/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
  79. package/es/components/authentication/admin/ChannelAuthSetting/types.js +1 -0
  80. package/es/components/authentication/admin/CustomerAuth/CustomerAuth.less +104 -0
  81. package/es/components/authentication/admin/CustomerAuth/index.d.ts +6 -0
  82. package/es/components/authentication/admin/CustomerAuth/index.js +711 -0
  83. package/es/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
  84. package/es/components/authentication/admin/CustomerAuth/locales.js +86 -0
  85. package/es/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
  86. package/es/components/authentication/admin/CustomerAuth/types.js +1 -0
  87. package/es/components/authentication/admin/CustomerOAuthConfig/CustomerOAuthConfig.less +164 -0
  88. package/es/components/authentication/admin/CustomerOAuthConfig/index.d.ts +6 -0
  89. package/es/components/authentication/admin/CustomerOAuthConfig/index.js +545 -0
  90. package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
  91. package/es/components/authentication/admin/CustomerOAuthConfig/locales.js +137 -0
  92. package/es/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
  93. package/es/components/authentication/admin/CustomerOAuthConfig/types.js +1 -0
  94. package/es/components/authentication/admin/DeviceAuth/DeviceAuth.less +104 -0
  95. package/es/components/authentication/admin/DeviceAuth/index.d.ts +6 -0
  96. package/es/components/authentication/admin/DeviceAuth/index.js +366 -0
  97. package/es/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
  98. package/es/components/authentication/admin/DeviceAuth/locales.js +74 -0
  99. package/es/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
  100. package/es/components/authentication/admin/DeviceAuth/types.js +1 -0
  101. package/es/components/authentication/admin/OAuthConfig/OAuthConfig.less +165 -0
  102. package/es/components/authentication/admin/OAuthConfig/index.d.ts +6 -0
  103. package/es/components/authentication/admin/OAuthConfig/index.js +347 -0
  104. package/es/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
  105. package/es/components/authentication/admin/OAuthConfig/locales.js +116 -0
  106. package/es/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
  107. package/es/components/authentication/admin/OAuthConfig/types.js +1 -0
  108. package/es/components/authentication/admin/OrgAdminAuth/OrgAdminAuth.less +104 -0
  109. package/es/components/authentication/admin/OrgAdminAuth/index.d.ts +6 -0
  110. package/es/components/authentication/admin/OrgAdminAuth/index.js +543 -0
  111. package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
  112. package/es/components/authentication/admin/OrgAdminAuth/locales.js +74 -0
  113. package/es/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
  114. package/es/components/authentication/admin/OrgAdminAuth/types.js +1 -0
  115. package/es/components/authentication/admin/POSOperatorAuth/POSOperatorAuth.less +104 -0
  116. package/es/components/authentication/admin/POSOperatorAuth/index.d.ts +6 -0
  117. package/es/components/authentication/admin/POSOperatorAuth/index.js +374 -0
  118. package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
  119. package/es/components/authentication/admin/POSOperatorAuth/locales.js +65 -0
  120. package/es/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
  121. package/es/components/authentication/admin/POSOperatorAuth/types.js +1 -0
  122. package/es/components/authentication/admin/SaaSAdminAuth/SaaSAdminAuth.less +104 -0
  123. package/es/components/authentication/admin/SaaSAdminAuth/index.d.ts +6 -0
  124. package/es/components/authentication/admin/SaaSAdminAuth/index.js +625 -0
  125. package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
  126. package/es/components/authentication/admin/SaaSAdminAuth/locales.js +74 -0
  127. package/es/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
  128. package/es/components/authentication/admin/SaaSAdminAuth/types.js +1 -0
  129. package/es/components/authentication/admin/index.d.ts +26 -0
  130. package/es/components/authentication/admin/index.js +23 -0
  131. package/es/components/authentication/index.d.ts +0 -0
  132. package/es/components/authentication/index.js +0 -0
  133. package/es/components/booking/components/customSelect/index.js +6 -2
  134. package/es/components/booking/components/footer/utils.js +1 -1
  135. package/es/components/booking/info/service2/utils.d.ts +1 -1
  136. package/es/components/booking/utils.d.ts +2 -2
  137. package/es/components/eftposPay/amount.d.ts +1 -1
  138. package/es/components/eftposPay/device.d.ts +1 -1
  139. package/es/components/eftposPay/hooks.d.ts +2 -2
  140. package/es/components/eftposPay/store/index.d.ts +6 -6
  141. package/es/components/index.d.ts +2 -1
  142. package/es/components/index.js +2 -1
  143. package/es/components/pay/toC/index.js +19 -14
  144. package/es/components/pay/toC/status.d.ts +1 -0
  145. package/es/components/pay/toC/status.js +3 -0
  146. package/es/index.d.ts +2 -0
  147. package/es/index.js +1 -0
  148. package/es/pro/Login2.0/Login2.js +78 -27
  149. package/es/pro/pisellPaymentList/example.d.ts +19 -0
  150. package/es/pro/pisellPaymentList/example.js +434 -0
  151. package/lib/components/Sales/Summary/utils.d.ts +1 -1
  152. package/lib/components/authentication/admin/AuthMethods/AuthMethods.less +136 -0
  153. package/lib/components/authentication/admin/AuthMethods/SettingList.d.ts +5 -0
  154. package/lib/components/authentication/admin/AuthMethods/SettingList.js +75 -0
  155. package/lib/components/authentication/admin/AuthMethods/SettingList.less +85 -0
  156. package/lib/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +22 -0
  157. package/lib/components/authentication/admin/AuthMethods/SettingsDrawer.js +126 -0
  158. package/lib/components/authentication/admin/AuthMethods/SettingsDrawer.less +163 -0
  159. package/lib/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
  160. package/lib/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.js +42 -0
  161. package/lib/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +13 -0
  162. package/lib/components/authentication/admin/AuthMethods/components/EmailSettingsContent.js +108 -0
  163. package/lib/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
  164. package/lib/components/authentication/admin/AuthMethods/components/LoginMethodsList.js +108 -0
  165. package/lib/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +14 -0
  166. package/lib/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.js +93 -0
  167. package/lib/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +13 -0
  168. package/lib/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.js +85 -0
  169. package/lib/components/authentication/admin/AuthMethods/components/index.d.ts +10 -0
  170. package/lib/components/authentication/admin/AuthMethods/components/index.js +51 -0
  171. package/lib/components/authentication/admin/AuthMethods/constants.d.ts +22 -0
  172. package/lib/components/authentication/admin/AuthMethods/constants.js +115 -0
  173. package/lib/components/authentication/admin/AuthMethods/index.d.ts +8 -0
  174. package/lib/components/authentication/admin/AuthMethods/index.js +196 -0
  175. package/lib/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
  176. package/lib/components/authentication/admin/AuthMethods/locales.js +314 -0
  177. package/lib/components/authentication/admin/AuthMethods/types.d.ts +76 -0
  178. package/lib/components/authentication/admin/AuthMethods/types.js +53 -0
  179. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/AuthenticationMethods.less +231 -0
  180. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
  181. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.js +311 -0
  182. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
  183. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.js +131 -0
  184. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
  185. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.js +17 -0
  186. package/lib/components/authentication/admin/ChannelAuthSetting/ChannelAuthSetting.less +111 -0
  187. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/CollectInfo.less +259 -0
  188. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
  189. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.js +410 -0
  190. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
  191. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.js +110 -0
  192. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
  193. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.js +17 -0
  194. package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
  195. package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.js +383 -0
  196. package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.less +111 -0
  197. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/PageSetting.less +105 -0
  198. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/index.d.ts +8 -0
  199. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/index.js +148 -0
  200. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
  201. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.js +56 -0
  202. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
  203. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/types.js +17 -0
  204. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/PageSettingItem.less +272 -0
  205. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +8 -0
  206. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.js +206 -0
  207. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
  208. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.js +95 -0
  209. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
  210. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.js +17 -0
  211. package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
  212. package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.js +246 -0
  213. package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.less +111 -0
  214. package/lib/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
  215. package/lib/components/authentication/admin/ChannelAuthSetting/index.js +177 -0
  216. package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
  217. package/lib/components/authentication/admin/ChannelAuthSetting/locales.js +74 -0
  218. package/lib/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
  219. package/lib/components/authentication/admin/ChannelAuthSetting/types.js +17 -0
  220. package/lib/components/authentication/admin/CustomerAuth/CustomerAuth.less +104 -0
  221. package/lib/components/authentication/admin/CustomerAuth/index.d.ts +6 -0
  222. package/lib/components/authentication/admin/CustomerAuth/index.js +507 -0
  223. package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
  224. package/lib/components/authentication/admin/CustomerAuth/locales.js +110 -0
  225. package/lib/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
  226. package/lib/components/authentication/admin/CustomerAuth/types.js +17 -0
  227. package/lib/components/authentication/admin/CustomerOAuthConfig/CustomerOAuthConfig.less +164 -0
  228. package/lib/components/authentication/admin/CustomerOAuthConfig/index.d.ts +6 -0
  229. package/lib/components/authentication/admin/CustomerOAuthConfig/index.js +331 -0
  230. package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
  231. package/lib/components/authentication/admin/CustomerOAuthConfig/locales.js +161 -0
  232. package/lib/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
  233. package/lib/components/authentication/admin/CustomerOAuthConfig/types.js +17 -0
  234. package/lib/components/authentication/admin/DeviceAuth/DeviceAuth.less +104 -0
  235. package/lib/components/authentication/admin/DeviceAuth/index.d.ts +6 -0
  236. package/lib/components/authentication/admin/DeviceAuth/index.js +254 -0
  237. package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
  238. package/lib/components/authentication/admin/DeviceAuth/locales.js +98 -0
  239. package/lib/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
  240. package/lib/components/authentication/admin/DeviceAuth/types.js +17 -0
  241. package/lib/components/authentication/admin/OAuthConfig/OAuthConfig.less +165 -0
  242. package/lib/components/authentication/admin/OAuthConfig/index.d.ts +6 -0
  243. package/lib/components/authentication/admin/OAuthConfig/index.js +226 -0
  244. package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
  245. package/lib/components/authentication/admin/OAuthConfig/locales.js +140 -0
  246. package/lib/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
  247. package/lib/components/authentication/admin/OAuthConfig/types.js +17 -0
  248. package/lib/components/authentication/admin/OrgAdminAuth/OrgAdminAuth.less +104 -0
  249. package/lib/components/authentication/admin/OrgAdminAuth/index.d.ts +6 -0
  250. package/lib/components/authentication/admin/OrgAdminAuth/index.js +398 -0
  251. package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
  252. package/lib/components/authentication/admin/OrgAdminAuth/locales.js +98 -0
  253. package/lib/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
  254. package/lib/components/authentication/admin/OrgAdminAuth/types.js +17 -0
  255. package/lib/components/authentication/admin/POSOperatorAuth/POSOperatorAuth.less +104 -0
  256. package/lib/components/authentication/admin/POSOperatorAuth/index.d.ts +6 -0
  257. package/lib/components/authentication/admin/POSOperatorAuth/index.js +262 -0
  258. package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
  259. package/lib/components/authentication/admin/POSOperatorAuth/locales.js +89 -0
  260. package/lib/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
  261. package/lib/components/authentication/admin/POSOperatorAuth/types.js +17 -0
  262. package/lib/components/authentication/admin/SaaSAdminAuth/SaaSAdminAuth.less +104 -0
  263. package/lib/components/authentication/admin/SaaSAdminAuth/index.d.ts +6 -0
  264. package/lib/components/authentication/admin/SaaSAdminAuth/index.js +481 -0
  265. package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
  266. package/lib/components/authentication/admin/SaaSAdminAuth/locales.js +98 -0
  267. package/lib/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
  268. package/lib/components/authentication/admin/SaaSAdminAuth/types.js +17 -0
  269. package/lib/components/authentication/admin/index.d.ts +26 -0
  270. package/lib/components/authentication/admin/index.js +83 -0
  271. package/lib/components/authentication/index.d.ts +0 -0
  272. package/lib/components/authentication/index.js +0 -0
  273. package/lib/components/booking/components/customSelect/index.js +6 -2
  274. package/lib/components/booking/components/footer/utils.js +1 -1
  275. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  276. package/lib/components/booking/utils.d.ts +2 -2
  277. package/lib/components/eftposPay/amount.d.ts +1 -1
  278. package/lib/components/eftposPay/device.d.ts +1 -1
  279. package/lib/components/eftposPay/hooks.d.ts +2 -2
  280. package/lib/components/eftposPay/store/index.d.ts +6 -6
  281. package/lib/components/index.d.ts +2 -1
  282. package/lib/components/index.js +19 -0
  283. package/lib/components/pay/toC/index.js +10 -2
  284. package/lib/components/pay/toC/status.d.ts +1 -0
  285. package/lib/components/pay/toC/status.js +5 -0
  286. package/lib/index.d.ts +2 -0
  287. package/lib/index.js +19 -0
  288. package/lib/pro/Login2.0/Login2.js +86 -23
  289. package/lib/pro/pisellPaymentList/example.d.ts +19 -0
  290. package/lib/pro/pisellPaymentList/example.js +416 -0
  291. package/lowcode/admin-auth-customer-auth/meta.ts +29 -0
  292. package/lowcode/admin-auth-customer-oauth-config/meta.ts +55 -0
  293. package/lowcode/admin-auth-device-auth/meta.ts +30 -0
  294. package/lowcode/admin-auth-methods/meta.ts +385 -0
  295. package/lowcode/admin-auth-oauth-config/meta.ts +29 -0
  296. package/lowcode/admin-auth-online-shop-auth/meta.ts +29 -0
  297. package/lowcode/admin-auth-org-admin-auth/meta.ts +29 -0
  298. package/lowcode/admin-auth-pos-operator-auth/meta.ts +30 -0
  299. package/lowcode/admin-auth-saas-admin-auth/meta.ts +29 -0
  300. package/lowcode/admin-auth-saas-managerment-auth/meta.ts +30 -0
  301. package/lowcode/admin-setting-list/meta.ts +125 -0
  302. package/lowcode/pro-register/meta.ts +385 -0
  303. package/package.json +2 -2
@@ -30,7 +30,7 @@ export declare const calculateSubtotal: (items: CartItem[]) => string;
30
30
  * @return {*}
31
31
  * @Author: xiangfeng.xue
32
32
  */
33
- export declare const calculateTaxFee: (shopInfo: any, items: CartItem[]) => Decimal | "0.00";
33
+ export declare const calculateTaxFee: (shopInfo: any, items: CartItem[]) => "0.00" | Decimal;
34
34
  /**
35
35
  * 计算所有价格明细
36
36
  * @param items - 购物车商品数组
@@ -0,0 +1,136 @@
1
+ .auth-methods {
2
+ background: #fff;
3
+ padding: 0;
4
+ }
5
+
6
+ .auth-methods-item {
7
+ display: flex;
8
+ align-items: center;
9
+ border: 1px solid #f0f0f0;
10
+ border-radius: 8px;
11
+ background: #fff;
12
+ margin-bottom: 12px;
13
+ }
14
+
15
+ .auth-methods-item-body {
16
+ display: flex;
17
+ flex: 1;
18
+ padding: 20px 24px 20px 0;
19
+ align-items: center;
20
+ }
21
+
22
+ .auth-methods-item:hover {
23
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
24
+ }
25
+
26
+ .auth-methods-item-drag {
27
+ display: flex;
28
+ align-items: center;
29
+ justify-content: center;
30
+ color: #d9d9d9;
31
+ font-size: 20px;
32
+ padding-left: 24px;
33
+ padding-right: 16px;
34
+ cursor: grab;
35
+ align-self: stretch;
36
+ }
37
+
38
+ .auth-methods-item-icon {
39
+ display: flex;
40
+ align-items: center;
41
+ justify-content: center;
42
+ width: 40px;
43
+ height: 40px;
44
+ margin-right: 16px;
45
+ }
46
+
47
+ .auth-methods-item-content {
48
+ flex: 1;
49
+ min-width: 0;
50
+ }
51
+
52
+ .auth-methods-item-header {
53
+ display: flex;
54
+ align-items: center;
55
+ margin-bottom: 4px;
56
+ }
57
+
58
+ .auth-methods-item-title {
59
+ font-size: 15px;
60
+ font-weight: 500;
61
+ color: #262626;
62
+ margin-right: 8px;
63
+ }
64
+
65
+ .auth-methods-item-category {
66
+ display: inline-block;
67
+ padding: 2px 8px;
68
+ border-radius: 4px;
69
+ font-size: 12px;
70
+ font-weight: 400;
71
+ }
72
+
73
+ .auth-methods-item-category.general {
74
+ color: #4096ff;
75
+ background: #e6f4ff;
76
+ border: 1px solid #91caff;
77
+ }
78
+
79
+ .auth-methods-item-category.password-free {
80
+ color: #52c41a;
81
+ background: #f6ffed;
82
+ border: 1px solid #b7eb8f;
83
+ }
84
+
85
+ .auth-methods-item-category.auth-free {
86
+ color: #8c8c8c;
87
+ background: #f5f5f5;
88
+ border: 1px solid #d9d9d9;
89
+ }
90
+
91
+ .auth-methods-item-category.oauth {
92
+ color: #722ed1;
93
+ background: #f9f0ff;
94
+ border: 1px solid #d3adf7;
95
+ }
96
+
97
+ .auth-methods-item-description {
98
+ font-size: 13px;
99
+ color: #8c8c8c;
100
+ line-height: 1.5;
101
+ }
102
+
103
+ .auth-methods-item-config-link {
104
+ font-size: 12px;
105
+ color: #4096ff;
106
+ display: inline-block;
107
+ }
108
+
109
+ .auth-methods-item-config-link .anticon {
110
+ margin-right: 4px;
111
+ font-size: 14px;
112
+ }
113
+
114
+ .auth-methods-item-config-link:hover {
115
+ text-decoration: underline;
116
+ cursor: pointer;
117
+ }
118
+
119
+ .auth-methods-item-actions {
120
+ display: flex;
121
+ align-items: center;
122
+ gap: 12px;
123
+ margin-left: 16px;
124
+ }
125
+
126
+ .auth-methods-dragging {
127
+ opacity: 0.5;
128
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
129
+ }
130
+
131
+ .auth-methods-empty {
132
+ padding: 48px 24px;
133
+ text-align: center;
134
+ color: #8c8c8c;
135
+ }
136
+
@@ -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,62 @@
1
+ import React from 'react';
2
+ import { Button } from 'antd';
3
+ import classNames from 'classnames';
4
+ import { locales } from '@pisell/utils';
5
+ import { getDefaultAuthMethods } from "./constants";
6
+ import localeTexts from "./locales";
7
+ import useEngineContext from "../../../../hooks/useEngineContext";
8
+ import "./SettingList.less";
9
+ var SettingList = function SettingList(_ref) {
10
+ var _context$engine;
11
+ var className = _ref.className,
12
+ style = _ref.style,
13
+ initialMethods = _ref.methods,
14
+ onToggle = _ref.onToggle,
15
+ onSettings = _ref.onSettings,
16
+ onConfigClick = _ref.onConfigClick,
17
+ _ref$enableSetting = _ref.enableSetting,
18
+ enableSetting = _ref$enableSetting === void 0 ? true : _ref$enableSetting,
19
+ renderTitle = _ref.renderTitle;
20
+ var context = useEngineContext();
21
+ locales.init(localeTexts, (context === null || context === void 0 || (_context$engine = context.engine) === null || _context$engine === void 0 || (_context$engine = _context$engine.props) === null || _context$engine === void 0 ? void 0 : _context$engine.locale) || 'en');
22
+ var methods = initialMethods || getDefaultAuthMethods();
23
+ var handleSettings = function handleSettings(method) {
24
+ onSettings === null || onSettings === void 0 || onSettings(method);
25
+ };
26
+
27
+ // SettingList组件中,根据业务逻辑判断是否显示设置按钮
28
+ // 与AuthMethods组件不同,这里可以为更多的方法类型显示设置按钮
29
+ var shouldShowSettings = function shouldShowSettings(method) {
30
+ // 如果外部禁用了设置按钮,直接返回 false
31
+ if (!enableSetting) {
32
+ return false;
33
+ }
34
+ // 否则所有方法在SettingList中都显示设置按钮
35
+ return true;
36
+ };
37
+ return /*#__PURE__*/React.createElement("div", {
38
+ className: classNames('setting-list', className),
39
+ style: style
40
+ }, methods.map(function (method) {
41
+ return /*#__PURE__*/React.createElement("div", {
42
+ key: method.id,
43
+ className: "setting-list-item"
44
+ }, /*#__PURE__*/React.createElement("div", {
45
+ className: "setting-list-item-icon"
46
+ }, method.icon), /*#__PURE__*/React.createElement("div", {
47
+ className: "setting-list-item-content"
48
+ }, /*#__PURE__*/React.createElement("div", {
49
+ className: "setting-list-item-title"
50
+ }, renderTitle ? renderTitle(method) : method.title), /*#__PURE__*/React.createElement("div", {
51
+ className: "setting-list-item-description"
52
+ }, method.description)), /*#__PURE__*/React.createElement("div", {
53
+ className: "setting-list-item-actions"
54
+ }, shouldShowSettings(method) && /*#__PURE__*/React.createElement(Button, {
55
+ type: "default",
56
+ onClick: function onClick() {
57
+ return handleSettings(method);
58
+ }
59
+ }, locales.getText('auth.button.settings'))));
60
+ }));
61
+ };
62
+ export default SettingList;
@@ -0,0 +1,85 @@
1
+ .setting-list {
2
+ background: #fff;
3
+ padding: 0;
4
+ display: flex;
5
+ flex-direction: column;
6
+ gap: 16px;
7
+ }
8
+
9
+ .setting-list-item {
10
+ display: flex;
11
+ align-items: center;
12
+ padding: 20px 24px;
13
+ border: 1px solid #e8e8e8;
14
+ border-radius: 8px;
15
+ background: #ffffff;
16
+ transition: all 0.2s;
17
+ }
18
+
19
+ .setting-list-item:hover {
20
+ border-color: #d9d9d9;
21
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
22
+ }
23
+
24
+ .setting-list-item-icon {
25
+ display: flex;
26
+ align-items: center;
27
+ justify-content: center;
28
+ width: 48px;
29
+ height: 48px;
30
+ margin-right: 16px;
31
+ border-radius: 8px;
32
+ background: #fafafa;
33
+ }
34
+
35
+ .setting-list-item-content {
36
+ flex: 1;
37
+ min-width: 0;
38
+ display: flex;
39
+ flex-direction: column;
40
+ gap: 4px;
41
+ }
42
+
43
+ .setting-list-item-title {
44
+ font-size: 16px;
45
+ font-weight: 500;
46
+ color: #262626;
47
+ }
48
+
49
+ .setting-list-item-description {
50
+ font-size: 13px;
51
+ color: #8c8c8c;
52
+ line-height: 1.5;
53
+ }
54
+
55
+ .setting-list-item-status {
56
+ display: inline-flex;
57
+ align-items: center;
58
+ }
59
+
60
+ .setting-list-item-actions {
61
+ margin-left: 16px;
62
+ }
63
+
64
+ /* 响应式设计 */
65
+ @media (max-width: 768px) {
66
+ .setting-list-item {
67
+ flex-direction: column;
68
+ align-items: flex-start;
69
+ }
70
+
71
+ .setting-list-item-icon {
72
+ margin-bottom: 12px;
73
+ }
74
+
75
+ .setting-list-item-actions {
76
+ margin-left: 0;
77
+ margin-top: 12px;
78
+ width: 100%;
79
+ }
80
+
81
+ .setting-list-item-actions button {
82
+ width: 100%;
83
+ }
84
+ }
85
+
@@ -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,121 @@
1
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
2
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
3
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
4
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
5
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
6
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
7
+ import React from 'react';
8
+ import { Drawer, Button } from 'antd';
9
+ import { locales } from '@pisell/utils';
10
+ import { AuthMethodType } from "./types";
11
+ import { EmailSettingsContent, PhoneSettingsContent, DefaultSettingsContent, PasswordRulesSettingsContent } from "./components";
12
+ import "./SettingsDrawer.less";
13
+ import localeTexts from "./locales";
14
+
15
+ // 初始化 locales
16
+ locales.init(localeTexts, localStorage.getItem('umi_locale') || 'en');
17
+ var SettingsDrawer = function SettingsDrawer(_ref) {
18
+ var open = _ref.open,
19
+ method = _ref.method,
20
+ onClose = _ref.onClose,
21
+ onSave = _ref.onSave,
22
+ _ref$mode = _ref.mode,
23
+ mode = _ref$mode === void 0 ? 'auth-methods' : _ref$mode,
24
+ initialSettings = _ref.initialSettings;
25
+ var _React$useState = React.useState(null),
26
+ _React$useState2 = _slicedToArray(_React$useState, 2),
27
+ currentSettings = _React$useState2[0],
28
+ setCurrentSettings = _React$useState2[1];
29
+ var handleSave = function handleSave() {
30
+ // 只在点击保存按钮时才调用 onSave
31
+ if (currentSettings) {
32
+ onSave === null || onSave === void 0 || onSave(currentSettings);
33
+ }
34
+ onClose();
35
+ };
36
+ var handleCancel = function handleCancel() {
37
+ onClose();
38
+ };
39
+ var getDrawerTitle = function getDrawerTitle() {
40
+ if (!method) return locales.getText('auth.email.settings');
41
+ if (method.type === AuthMethodType.EMAIL) {
42
+ return locales.getText('auth.email.settings');
43
+ }
44
+ if (method.type === AuthMethodType.PHONE) {
45
+ return locales.getText('auth.phone.settings');
46
+ }
47
+ if (method.type === AuthMethodType.PASSWORD_RULES) {
48
+ return locales.getText('auth.password.settings');
49
+ }
50
+ return "".concat(method.title, " Settings");
51
+ };
52
+ var handleSettingsChange = function handleSettingsChange(settings) {
53
+ // 实时更新设置到本地状态,不触发保存
54
+ setCurrentSettings(settings);
55
+ console.log('Settings changed:', settings);
56
+ };
57
+ var renderContent = function renderContent() {
58
+ if (!method) return null;
59
+ switch (method.type) {
60
+ case AuthMethodType.EMAIL:
61
+ return /*#__PURE__*/React.createElement(EmailSettingsContent, {
62
+ initialSettings: initialSettings,
63
+ onSettingsChange: handleSettingsChange
64
+ });
65
+ case AuthMethodType.PHONE:
66
+ return /*#__PURE__*/React.createElement(PhoneSettingsContent, {
67
+ initialSettings: initialSettings,
68
+ onSettingsChange: handleSettingsChange
69
+ });
70
+ case AuthMethodType.PASSWORD_RULES:
71
+ return /*#__PURE__*/React.createElement(PasswordRulesSettingsContent, {
72
+ initialSettings: initialSettings,
73
+ onSettingsChange: handleSettingsChange
74
+ });
75
+ default:
76
+ // SettingList 模式下,对于没有特定设置的方法,显示空状态或提示
77
+ if (mode === 'setting-list') {
78
+ return /*#__PURE__*/React.createElement("div", {
79
+ className: "settings-section"
80
+ }, /*#__PURE__*/React.createElement("div", {
81
+ className: "settings-section-description",
82
+ style: {
83
+ padding: '20px 0',
84
+ color: '#8c8c8c'
85
+ }
86
+ }, locales.getText('auth.settings.no.additional')));
87
+ }
88
+ // AuthMethods 模式下,显示默认的启用/禁用设置
89
+ return /*#__PURE__*/React.createElement(DefaultSettingsContent, {
90
+ method: method,
91
+ onSettingsChange: handleSettingsChange
92
+ });
93
+ }
94
+ };
95
+ return /*#__PURE__*/React.createElement(Drawer, {
96
+ title: getDrawerTitle(),
97
+ placement: "right",
98
+ width: 640,
99
+ open: open,
100
+ onClose: handleCancel,
101
+ maskClosable: true,
102
+ keyboard: true,
103
+ footer: /*#__PURE__*/React.createElement("div", {
104
+ className: "drawer-footer"
105
+ }, /*#__PURE__*/React.createElement(Button, {
106
+ onClick: handleCancel
107
+ }, locales.getText('auth.button.cancel')), /*#__PURE__*/React.createElement(Button, {
108
+ type: "primary",
109
+ onClick: handleSave,
110
+ style: {
111
+ marginLeft: 8
112
+ }
113
+ }, locales.getText('auth.button.save')))
114
+ }, /*#__PURE__*/React.createElement("div", {
115
+ className: "settings-drawer-content",
116
+ onClick: function onClick(e) {
117
+ return e.stopPropagation();
118
+ }
119
+ }, renderContent()));
120
+ };
121
+ export default SettingsDrawer;
@@ -0,0 +1,163 @@
1
+ .settings-drawer-content {
2
+ padding-bottom: 80px;
3
+ }
4
+
5
+ .settings-section {
6
+ margin-bottom: 32px;
7
+ }
8
+
9
+ .settings-section-title {
10
+ font-size: 16px;
11
+ font-weight: 600;
12
+ color: #262626;
13
+ margin: 0 0 8px 0;
14
+ }
15
+
16
+ .settings-section-description {
17
+ font-size: 14px;
18
+ color: #8c8c8c;
19
+ margin-bottom: 16px;
20
+ line-height: 1.5;
21
+ }
22
+
23
+ .settings-item {
24
+ padding: 16px 0;
25
+ }
26
+
27
+ .settings-item-main {
28
+ display: flex;
29
+ align-items: flex-start;
30
+ gap: 12px;
31
+ }
32
+
33
+ .settings-item-content {
34
+ flex: 1;
35
+ }
36
+
37
+ .settings-item-title {
38
+ font-size: 15px;
39
+ font-weight: 500;
40
+ color: #262626;
41
+ margin-bottom: 4px;
42
+ }
43
+
44
+ .settings-item-description {
45
+ font-size: 13px;
46
+ color: #8c8c8c;
47
+ line-height: 1.5;
48
+ }
49
+
50
+ /* Verification Radio Group */
51
+ .verification-radio-group {
52
+ width: 100%;
53
+ display: flex !important;
54
+ flex-direction: column !important;
55
+ gap: 12px;
56
+ }
57
+
58
+ .verification-option {
59
+ border: 1px solid #d9d9d9;
60
+ border-radius: 8px;
61
+ padding: 16px;
62
+ transition: all 0.3s;
63
+ }
64
+
65
+ .verification-option:hover {
66
+ border-color: #4096ff;
67
+ background: #fff;
68
+ }
69
+
70
+ .verification-option .ant-radio-wrapper {
71
+ width: 100%;
72
+ margin: 0;
73
+ align-items: flex-start;
74
+ }
75
+
76
+ .verification-option-content {
77
+ flex: 1;
78
+ margin-left: 8px;
79
+ }
80
+
81
+ .verification-option-title {
82
+ font-size: 15px;
83
+ font-weight: 500;
84
+ color: #262626;
85
+ margin-bottom: 4px;
86
+ }
87
+
88
+ .verification-option-description {
89
+ font-size: 13px;
90
+ color: #8c8c8c;
91
+ line-height: 1.5;
92
+ }
93
+
94
+ .verification-note {
95
+ margin-top: 16px !important;
96
+ }
97
+
98
+ /* Login Methods List */
99
+ .login-methods-list {
100
+ display: flex;
101
+ flex-direction: column;
102
+ gap: 12px;
103
+ }
104
+
105
+ .login-method-item {
106
+ display: flex;
107
+ align-items: center;
108
+ padding: 16px;
109
+ border: 1px solid #d9d9d9;
110
+ border-radius: 8px;
111
+ background: #fff;
112
+ transition: all 0.3s;
113
+ cursor: move;
114
+ }
115
+
116
+ .login-method-item:hover {
117
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
118
+ }
119
+
120
+ .login-method-item.dragging {
121
+ opacity: 0.5;
122
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
123
+ }
124
+
125
+ .login-method-drag {
126
+ display: flex;
127
+ align-items: center;
128
+ justify-content: center;
129
+ margin-right: 12px;
130
+ color: #d9d9d9;
131
+ font-size: 16px;
132
+ cursor: grab;
133
+ }
134
+
135
+ .login-method-drag:active {
136
+ cursor: grabbing;
137
+ }
138
+
139
+ .login-method-content {
140
+ flex: 1;
141
+ min-width: 0;
142
+ }
143
+
144
+ .login-method-title {
145
+ font-size: 15px;
146
+ font-weight: 500;
147
+ color: #262626;
148
+ margin-bottom: 4px;
149
+ }
150
+
151
+ .login-method-description {
152
+ font-size: 13px;
153
+ color: #8c8c8c;
154
+ line-height: 1.5;
155
+ }
156
+
157
+ /* Drawer Footer */
158
+ .drawer-footer {
159
+ display: flex;
160
+ justify-content: flex-end;
161
+ padding: 16px 0;
162
+ }
163
+
@@ -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,15 @@
1
+ import React from 'react';
2
+ var DefaultSettingsContent = function DefaultSettingsContent(_ref) {
3
+ var method = _ref.method,
4
+ onSettingsChange = _ref.onSettingsChange;
5
+ return /*#__PURE__*/React.createElement("div", {
6
+ className: "settings-section"
7
+ }, /*#__PURE__*/React.createElement("div", {
8
+ className: "settings-section-description",
9
+ style: {
10
+ padding: '20px 0',
11
+ color: '#8c8c8c'
12
+ }
13
+ }, "No additional settings available for ", method.title));
14
+ };
15
+ 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;