@pisell/private-materials 6.3.37 → 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 (291) 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 +146 -160
  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/authentication/admin/AuthMethods/AuthMethods.less +136 -0
  12. package/es/components/authentication/admin/AuthMethods/SettingList.d.ts +5 -0
  13. package/es/components/authentication/admin/AuthMethods/SettingList.js +62 -0
  14. package/es/components/authentication/admin/AuthMethods/SettingList.less +85 -0
  15. package/es/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +22 -0
  16. package/es/components/authentication/admin/AuthMethods/SettingsDrawer.js +121 -0
  17. package/es/components/authentication/admin/AuthMethods/SettingsDrawer.less +163 -0
  18. package/es/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
  19. package/es/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.js +15 -0
  20. package/es/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +13 -0
  21. package/es/components/authentication/admin/AuthMethods/components/EmailSettingsContent.js +152 -0
  22. package/es/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
  23. package/es/components/authentication/admin/AuthMethods/components/LoginMethodsList.js +114 -0
  24. package/es/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +14 -0
  25. package/es/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.js +170 -0
  26. package/es/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +13 -0
  27. package/es/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.js +116 -0
  28. package/es/components/authentication/admin/AuthMethods/components/index.d.ts +10 -0
  29. package/es/components/authentication/admin/AuthMethods/components/index.js +5 -0
  30. package/es/components/authentication/admin/AuthMethods/constants.d.ts +22 -0
  31. package/es/components/authentication/admin/AuthMethods/constants.js +121 -0
  32. package/es/components/authentication/admin/AuthMethods/index.d.ts +8 -0
  33. package/es/components/authentication/admin/AuthMethods/index.js +233 -0
  34. package/es/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
  35. package/es/components/authentication/admin/AuthMethods/locales.js +290 -0
  36. package/es/components/authentication/admin/AuthMethods/types.d.ts +76 -0
  37. package/es/components/authentication/admin/AuthMethods/types.js +23 -0
  38. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/AuthenticationMethods.less +231 -0
  39. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
  40. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.js +447 -0
  41. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
  42. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.js +107 -0
  43. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
  44. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.js +1 -0
  45. package/es/components/authentication/admin/ChannelAuthSetting/ChannelAuthSetting.less +111 -0
  46. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/CollectInfo.less +259 -0
  47. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
  48. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.js +530 -0
  49. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
  50. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.js +86 -0
  51. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
  52. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.js +1 -0
  53. package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
  54. package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.js +460 -0
  55. package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.less +111 -0
  56. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/PageSetting.less +105 -0
  57. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/index.d.ts +8 -0
  58. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/index.js +185 -0
  59. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
  60. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.js +32 -0
  61. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
  62. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/types.js +1 -0
  63. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/PageSettingItem.less +272 -0
  64. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +8 -0
  65. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.js +214 -0
  66. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
  67. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.js +71 -0
  68. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
  69. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.js +1 -0
  70. package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
  71. package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.js +287 -0
  72. package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.less +111 -0
  73. package/es/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
  74. package/es/components/authentication/admin/ChannelAuthSetting/index.js +228 -0
  75. package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
  76. package/es/components/authentication/admin/ChannelAuthSetting/locales.js +50 -0
  77. package/es/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
  78. package/es/components/authentication/admin/ChannelAuthSetting/types.js +1 -0
  79. package/es/components/authentication/admin/CustomerAuth/CustomerAuth.less +104 -0
  80. package/es/components/authentication/admin/CustomerAuth/index.d.ts +6 -0
  81. package/es/components/authentication/admin/CustomerAuth/index.js +711 -0
  82. package/es/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
  83. package/es/components/authentication/admin/CustomerAuth/locales.js +86 -0
  84. package/es/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
  85. package/es/components/authentication/admin/CustomerAuth/types.js +1 -0
  86. package/es/components/authentication/admin/CustomerOAuthConfig/CustomerOAuthConfig.less +164 -0
  87. package/es/components/authentication/admin/CustomerOAuthConfig/index.d.ts +6 -0
  88. package/es/components/authentication/admin/CustomerOAuthConfig/index.js +545 -0
  89. package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
  90. package/es/components/authentication/admin/CustomerOAuthConfig/locales.js +137 -0
  91. package/es/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
  92. package/es/components/authentication/admin/CustomerOAuthConfig/types.js +1 -0
  93. package/es/components/authentication/admin/DeviceAuth/DeviceAuth.less +104 -0
  94. package/es/components/authentication/admin/DeviceAuth/index.d.ts +6 -0
  95. package/es/components/authentication/admin/DeviceAuth/index.js +366 -0
  96. package/es/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
  97. package/es/components/authentication/admin/DeviceAuth/locales.js +74 -0
  98. package/es/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
  99. package/es/components/authentication/admin/DeviceAuth/types.js +1 -0
  100. package/es/components/authentication/admin/OAuthConfig/OAuthConfig.less +165 -0
  101. package/es/components/authentication/admin/OAuthConfig/index.d.ts +6 -0
  102. package/es/components/authentication/admin/OAuthConfig/index.js +347 -0
  103. package/es/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
  104. package/es/components/authentication/admin/OAuthConfig/locales.js +116 -0
  105. package/es/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
  106. package/es/components/authentication/admin/OAuthConfig/types.js +1 -0
  107. package/es/components/authentication/admin/OrgAdminAuth/OrgAdminAuth.less +104 -0
  108. package/es/components/authentication/admin/OrgAdminAuth/index.d.ts +6 -0
  109. package/es/components/authentication/admin/OrgAdminAuth/index.js +543 -0
  110. package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
  111. package/es/components/authentication/admin/OrgAdminAuth/locales.js +74 -0
  112. package/es/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
  113. package/es/components/authentication/admin/OrgAdminAuth/types.js +1 -0
  114. package/es/components/authentication/admin/POSOperatorAuth/POSOperatorAuth.less +104 -0
  115. package/es/components/authentication/admin/POSOperatorAuth/index.d.ts +6 -0
  116. package/es/components/authentication/admin/POSOperatorAuth/index.js +374 -0
  117. package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
  118. package/es/components/authentication/admin/POSOperatorAuth/locales.js +65 -0
  119. package/es/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
  120. package/es/components/authentication/admin/POSOperatorAuth/types.js +1 -0
  121. package/es/components/authentication/admin/SaaSAdminAuth/SaaSAdminAuth.less +104 -0
  122. package/es/components/authentication/admin/SaaSAdminAuth/index.d.ts +6 -0
  123. package/es/components/authentication/admin/SaaSAdminAuth/index.js +625 -0
  124. package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
  125. package/es/components/authentication/admin/SaaSAdminAuth/locales.js +74 -0
  126. package/es/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
  127. package/es/components/authentication/admin/SaaSAdminAuth/types.js +1 -0
  128. package/es/components/authentication/admin/index.d.ts +26 -0
  129. package/es/components/authentication/admin/index.js +23 -0
  130. package/es/components/authentication/index.d.ts +0 -0
  131. package/es/components/authentication/index.js +0 -0
  132. package/es/components/booking/components/customSelect/index.js +6 -2
  133. package/es/components/booking/components/footer/utils.js +1 -1
  134. package/es/components/eftposPay/hooks.d.ts +1 -1
  135. package/es/components/eftposPay/store/index.d.ts +1 -1
  136. package/es/components/index.d.ts +2 -1
  137. package/es/components/index.js +2 -1
  138. package/es/components/pay/toC/index.js +19 -14
  139. package/es/components/pay/toC/status.d.ts +1 -0
  140. package/es/components/pay/toC/status.js +3 -0
  141. package/es/index.d.ts +2 -0
  142. package/es/index.js +1 -0
  143. package/es/pro/pisellPaymentList/example.d.ts +19 -0
  144. package/es/pro/pisellPaymentList/example.js +434 -0
  145. package/lib/components/authentication/admin/AuthMethods/AuthMethods.less +136 -0
  146. package/lib/components/authentication/admin/AuthMethods/SettingList.d.ts +5 -0
  147. package/lib/components/authentication/admin/AuthMethods/SettingList.js +75 -0
  148. package/lib/components/authentication/admin/AuthMethods/SettingList.less +85 -0
  149. package/lib/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +22 -0
  150. package/lib/components/authentication/admin/AuthMethods/SettingsDrawer.js +126 -0
  151. package/lib/components/authentication/admin/AuthMethods/SettingsDrawer.less +163 -0
  152. package/lib/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
  153. package/lib/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.js +42 -0
  154. package/lib/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +13 -0
  155. package/lib/components/authentication/admin/AuthMethods/components/EmailSettingsContent.js +108 -0
  156. package/lib/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
  157. package/lib/components/authentication/admin/AuthMethods/components/LoginMethodsList.js +108 -0
  158. package/lib/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +14 -0
  159. package/lib/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.js +93 -0
  160. package/lib/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +13 -0
  161. package/lib/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.js +85 -0
  162. package/lib/components/authentication/admin/AuthMethods/components/index.d.ts +10 -0
  163. package/lib/components/authentication/admin/AuthMethods/components/index.js +51 -0
  164. package/lib/components/authentication/admin/AuthMethods/constants.d.ts +22 -0
  165. package/lib/components/authentication/admin/AuthMethods/constants.js +115 -0
  166. package/lib/components/authentication/admin/AuthMethods/index.d.ts +8 -0
  167. package/lib/components/authentication/admin/AuthMethods/index.js +196 -0
  168. package/lib/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
  169. package/lib/components/authentication/admin/AuthMethods/locales.js +314 -0
  170. package/lib/components/authentication/admin/AuthMethods/types.d.ts +76 -0
  171. package/lib/components/authentication/admin/AuthMethods/types.js +53 -0
  172. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/AuthenticationMethods.less +231 -0
  173. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
  174. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.js +311 -0
  175. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
  176. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.js +131 -0
  177. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
  178. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.js +17 -0
  179. package/lib/components/authentication/admin/ChannelAuthSetting/ChannelAuthSetting.less +111 -0
  180. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/CollectInfo.less +259 -0
  181. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
  182. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.js +410 -0
  183. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
  184. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.js +110 -0
  185. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
  186. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.js +17 -0
  187. package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
  188. package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.js +383 -0
  189. package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.less +111 -0
  190. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/PageSetting.less +105 -0
  191. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/index.d.ts +8 -0
  192. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/index.js +148 -0
  193. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
  194. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.js +56 -0
  195. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
  196. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/types.js +17 -0
  197. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/PageSettingItem.less +272 -0
  198. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +8 -0
  199. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.js +206 -0
  200. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
  201. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.js +95 -0
  202. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
  203. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.js +17 -0
  204. package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
  205. package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.js +246 -0
  206. package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.less +111 -0
  207. package/lib/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
  208. package/lib/components/authentication/admin/ChannelAuthSetting/index.js +177 -0
  209. package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
  210. package/lib/components/authentication/admin/ChannelAuthSetting/locales.js +74 -0
  211. package/lib/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
  212. package/lib/components/authentication/admin/ChannelAuthSetting/types.js +17 -0
  213. package/lib/components/authentication/admin/CustomerAuth/CustomerAuth.less +104 -0
  214. package/lib/components/authentication/admin/CustomerAuth/index.d.ts +6 -0
  215. package/lib/components/authentication/admin/CustomerAuth/index.js +507 -0
  216. package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
  217. package/lib/components/authentication/admin/CustomerAuth/locales.js +110 -0
  218. package/lib/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
  219. package/lib/components/authentication/admin/CustomerAuth/types.js +17 -0
  220. package/lib/components/authentication/admin/CustomerOAuthConfig/CustomerOAuthConfig.less +164 -0
  221. package/lib/components/authentication/admin/CustomerOAuthConfig/index.d.ts +6 -0
  222. package/lib/components/authentication/admin/CustomerOAuthConfig/index.js +331 -0
  223. package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
  224. package/lib/components/authentication/admin/CustomerOAuthConfig/locales.js +161 -0
  225. package/lib/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
  226. package/lib/components/authentication/admin/CustomerOAuthConfig/types.js +17 -0
  227. package/lib/components/authentication/admin/DeviceAuth/DeviceAuth.less +104 -0
  228. package/lib/components/authentication/admin/DeviceAuth/index.d.ts +6 -0
  229. package/lib/components/authentication/admin/DeviceAuth/index.js +254 -0
  230. package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
  231. package/lib/components/authentication/admin/DeviceAuth/locales.js +98 -0
  232. package/lib/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
  233. package/lib/components/authentication/admin/DeviceAuth/types.js +17 -0
  234. package/lib/components/authentication/admin/OAuthConfig/OAuthConfig.less +165 -0
  235. package/lib/components/authentication/admin/OAuthConfig/index.d.ts +6 -0
  236. package/lib/components/authentication/admin/OAuthConfig/index.js +226 -0
  237. package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
  238. package/lib/components/authentication/admin/OAuthConfig/locales.js +140 -0
  239. package/lib/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
  240. package/lib/components/authentication/admin/OAuthConfig/types.js +17 -0
  241. package/lib/components/authentication/admin/OrgAdminAuth/OrgAdminAuth.less +104 -0
  242. package/lib/components/authentication/admin/OrgAdminAuth/index.d.ts +6 -0
  243. package/lib/components/authentication/admin/OrgAdminAuth/index.js +398 -0
  244. package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
  245. package/lib/components/authentication/admin/OrgAdminAuth/locales.js +98 -0
  246. package/lib/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
  247. package/lib/components/authentication/admin/OrgAdminAuth/types.js +17 -0
  248. package/lib/components/authentication/admin/POSOperatorAuth/POSOperatorAuth.less +104 -0
  249. package/lib/components/authentication/admin/POSOperatorAuth/index.d.ts +6 -0
  250. package/lib/components/authentication/admin/POSOperatorAuth/index.js +262 -0
  251. package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
  252. package/lib/components/authentication/admin/POSOperatorAuth/locales.js +89 -0
  253. package/lib/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
  254. package/lib/components/authentication/admin/POSOperatorAuth/types.js +17 -0
  255. package/lib/components/authentication/admin/SaaSAdminAuth/SaaSAdminAuth.less +104 -0
  256. package/lib/components/authentication/admin/SaaSAdminAuth/index.d.ts +6 -0
  257. package/lib/components/authentication/admin/SaaSAdminAuth/index.js +481 -0
  258. package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
  259. package/lib/components/authentication/admin/SaaSAdminAuth/locales.js +98 -0
  260. package/lib/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
  261. package/lib/components/authentication/admin/SaaSAdminAuth/types.js +17 -0
  262. package/lib/components/authentication/admin/index.d.ts +26 -0
  263. package/lib/components/authentication/admin/index.js +83 -0
  264. package/lib/components/authentication/index.d.ts +0 -0
  265. package/lib/components/authentication/index.js +0 -0
  266. package/lib/components/booking/components/customSelect/index.js +6 -2
  267. package/lib/components/booking/components/footer/utils.js +1 -1
  268. package/lib/components/eftposPay/hooks.d.ts +1 -1
  269. package/lib/components/eftposPay/store/index.d.ts +1 -1
  270. package/lib/components/index.d.ts +2 -1
  271. package/lib/components/index.js +19 -0
  272. package/lib/components/pay/toC/index.js +10 -2
  273. package/lib/components/pay/toC/status.d.ts +1 -0
  274. package/lib/components/pay/toC/status.js +5 -0
  275. package/lib/index.d.ts +2 -0
  276. package/lib/index.js +19 -0
  277. package/lib/pro/pisellPaymentList/example.d.ts +19 -0
  278. package/lib/pro/pisellPaymentList/example.js +416 -0
  279. package/lowcode/admin-auth-customer-auth/meta.ts +29 -0
  280. package/lowcode/admin-auth-customer-oauth-config/meta.ts +55 -0
  281. package/lowcode/admin-auth-device-auth/meta.ts +30 -0
  282. package/lowcode/admin-auth-methods/meta.ts +385 -0
  283. package/lowcode/admin-auth-oauth-config/meta.ts +29 -0
  284. package/lowcode/admin-auth-online-shop-auth/meta.ts +29 -0
  285. package/lowcode/admin-auth-org-admin-auth/meta.ts +29 -0
  286. package/lowcode/admin-auth-pos-operator-auth/meta.ts +30 -0
  287. package/lowcode/admin-auth-saas-admin-auth/meta.ts +29 -0
  288. package/lowcode/admin-auth-saas-managerment-auth/meta.ts +30 -0
  289. package/lowcode/admin-setting-list/meta.ts +125 -0
  290. package/lowcode/pro-register/meta.ts +385 -0
  291. package/package.json +2 -2
@@ -0,0 +1,272 @@
1
+ .page-setting-item {
2
+ display: flex;
3
+ flex-direction: column;
4
+ gap: 32px;
5
+ padding: 24px;
6
+ background: #ffffff;
7
+ border-radius: 8px;
8
+ border: 1px solid #e0e0e0;
9
+ }
10
+
11
+ .page-setting-item-section {
12
+ display: flex;
13
+ flex-direction: column;
14
+ gap: 16px;
15
+ }
16
+
17
+ .page-setting-item-section-header {
18
+ display: flex;
19
+ flex-direction: column;
20
+ gap: 4px;
21
+ }
22
+
23
+ .page-setting-item-section-title {
24
+ font-size: 16px;
25
+ font-weight: 600;
26
+ color: rgba(0, 0, 0, 0.88);
27
+ margin: 0;
28
+ }
29
+
30
+ .page-setting-item-section-subtitle {
31
+ font-size: 14px;
32
+ color: rgba(0, 0, 0, 0.45);
33
+ margin: 0;
34
+ }
35
+
36
+ .page-setting-item-section-description {
37
+ font-size: 13px;
38
+ color: rgba(0, 0, 0, 0.65);
39
+ margin: 8px 0 0;
40
+ line-height: 1.5;
41
+ }
42
+
43
+ /* Background Image Section */
44
+ .page-setting-item-background {
45
+ display: flex;
46
+ flex-direction: column;
47
+ gap: 12px;
48
+ }
49
+
50
+ .page-setting-item-background-upload {
51
+ width: 200px;
52
+ height: 200px;
53
+ }
54
+
55
+ .page-setting-item-background-upload .ant-upload {
56
+ width: 100%;
57
+ height: 100%;
58
+ }
59
+
60
+ .page-setting-item-background-upload-content {
61
+ display: flex;
62
+ flex-direction: column;
63
+ align-items: center;
64
+ justify-content: center;
65
+ height: 100%;
66
+ padding: 16px;
67
+ text-align: center;
68
+ }
69
+
70
+ .page-setting-item-background-upload-icon {
71
+ font-size: 48px;
72
+ color: rgba(0, 0, 0, 0.25);
73
+ margin-bottom: 8px;
74
+ }
75
+
76
+ .page-setting-item-background-upload-text {
77
+ font-size: 14px;
78
+ color: rgba(0, 0, 0, 0.65);
79
+ margin-bottom: 4px;
80
+ }
81
+
82
+ .page-setting-item-background-upload-hint {
83
+ font-size: 12px;
84
+ color: rgba(0, 0, 0, 0.45);
85
+ }
86
+
87
+ .page-setting-item-background-info {
88
+ display: flex;
89
+ flex-direction: column;
90
+ gap: 4px;
91
+ }
92
+
93
+ .page-setting-item-background-info-item {
94
+ font-size: 13px;
95
+ color: rgba(0, 0, 0, 0.65);
96
+ display: flex;
97
+ align-items: flex-start;
98
+ gap: 4px;
99
+ }
100
+
101
+ .page-setting-item-background-info-item::before {
102
+ content: '•';
103
+ color: rgba(0, 0, 0, 0.45);
104
+ margin-right: 4px;
105
+ }
106
+
107
+ /* Terms & Conditions Section */
108
+ .page-setting-item-terms {
109
+ display: flex;
110
+ flex-direction: column;
111
+ gap: 16px;
112
+ }
113
+
114
+ .page-setting-item-terms-table {
115
+ display: flex;
116
+ flex-direction: column;
117
+ }
118
+
119
+ .page-setting-item-terms-table-header {
120
+ display: grid;
121
+ grid-template-columns: 1fr 1fr 120px;
122
+ gap: 16px;
123
+ padding: 12px 16px;
124
+ background: #fafafa;
125
+ border: 1px solid #e0e0e0;
126
+ border-radius: 8px 8px 0 0;
127
+ font-weight: 600;
128
+ font-size: 14px;
129
+ color: rgba(0, 0, 0, 0.88);
130
+ }
131
+
132
+ .page-setting-item-terms-table-body {
133
+ display: flex;
134
+ flex-direction: column;
135
+ gap: 0;
136
+ }
137
+
138
+ .page-setting-item-terms-table-row {
139
+ display: grid;
140
+ grid-template-columns: 1fr 1fr 120px;
141
+ gap: 16px;
142
+ align-items: start;
143
+ padding: 16px;
144
+ border: 1px solid #e0e0e0;
145
+ border-top: none;
146
+ background: #ffffff;
147
+ position: relative;
148
+ }
149
+
150
+ .page-setting-item-terms-table-row:last-child {
151
+ border-radius: 0 0 8px 8px;
152
+ }
153
+
154
+ .page-setting-item-terms-table-cell {
155
+ display: flex;
156
+ flex-direction: column;
157
+ justify-content: flex-start;
158
+ gap: 8px;
159
+ font-size: 14px;
160
+ color: rgba(0, 0, 0, 0.88);
161
+ overflow: visible;
162
+ position: relative;
163
+ min-height: 32px;
164
+ }
165
+
166
+ .page-setting-item-terms-table-cell .ant-form-item {
167
+ position: relative;
168
+ margin-bottom: 0 !important;
169
+ width: 100%;
170
+ }
171
+
172
+ .page-setting-item-terms-table-cell .ant-form-item-label {
173
+ display: none;
174
+ }
175
+
176
+ .page-setting-item-terms-table-cell .ant-form-item-control {
177
+ position: relative;
178
+ }
179
+
180
+ .page-setting-item-terms-table-cell .ant-form-item-explain-error {
181
+ position: absolute;
182
+ top: 100%;
183
+ left: 0;
184
+ right: 0;
185
+ margin-top: 4px;
186
+ white-space: normal;
187
+ overflow: visible;
188
+ z-index: 10;
189
+ line-height: 1.4;
190
+ font-size: 12px;
191
+ }
192
+
193
+ .page-setting-item-terms-table-cell-icon {
194
+ flex-shrink: 0;
195
+ color: rgba(0, 0, 0, 0.45);
196
+ }
197
+
198
+ .page-setting-item-terms-table-cell-text {
199
+ flex: 1;
200
+ overflow: hidden;
201
+ text-overflow: ellipsis;
202
+ white-space: nowrap;
203
+ }
204
+
205
+ .page-setting-item-terms-table-cell-url {
206
+ color: rgba(0, 0, 0, 0.65);
207
+ }
208
+
209
+ .page-setting-item-terms-table-actions {
210
+ display: flex;
211
+ justify-content: center;
212
+ align-items: flex-start;
213
+ padding-top: 4px;
214
+ }
215
+
216
+
217
+ .page-setting-item-terms-add-row {
218
+ display: flex;
219
+ justify-content: flex-start;
220
+ padding-top: 16px;
221
+ }
222
+
223
+ .page-setting-item-terms-info {
224
+ display: flex;
225
+ flex-direction: column;
226
+ gap: 4px;
227
+ margin-top: 8px;
228
+ }
229
+
230
+ .page-setting-item-terms-info-item {
231
+ font-size: 13px;
232
+ color: rgba(0, 0, 0, 0.65);
233
+ display: flex;
234
+ align-items: flex-start;
235
+ gap: 4px;
236
+ }
237
+
238
+ .page-setting-item-terms-info-item::before {
239
+ content: '•';
240
+ color: rgba(0, 0, 0, 0.45);
241
+ margin-right: 4px;
242
+ }
243
+
244
+ /* Empty State */
245
+ .page-setting-item-terms-empty {
246
+ padding: 32px;
247
+ text-align: center;
248
+ color: rgba(0, 0, 0, 0.45);
249
+ font-size: 14px;
250
+ }
251
+
252
+ /* Input Error States */
253
+ .page-setting-item-terms-table-row.has-error .ant-input {
254
+ border-color: #ff4d4f;
255
+ }
256
+
257
+ .page-setting-item-terms-table-row.has-error .ant-input:focus {
258
+ border-color: #ff4d4f;
259
+ box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.1);
260
+ }
261
+
262
+ /* Responsive */
263
+ @media (max-width: 768px) {
264
+ .page-setting-item {
265
+ padding: 16px;
266
+ }
267
+
268
+ .page-setting-item-terms-table-row {
269
+ padding: 12px;
270
+ }
271
+ }
272
+
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { PageSettingItemProps } from './types';
3
+ import './PageSettingItem.less';
4
+ declare const PageSettingItem: React.ForwardRefExoticComponent<PageSettingItemProps & React.RefAttributes<{
5
+ validateFields: () => Promise<any>;
6
+ }>>;
7
+ export default PageSettingItem;
8
+ export type { PageSettingItemProps, PageSettingItemValue, TermsCondition, TranslationValue } from './types';
@@ -0,0 +1,214 @@
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
3
+ 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."); }
4
+ 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); }
5
+ 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; }
6
+ 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; } }
7
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
8
+ import React, { useEffect, useRef, forwardRef, useImperativeHandle } from 'react';
9
+ import { Button, Form, Input } from 'antd';
10
+ import { PlusOutlined, DeleteOutlined } from '@ant-design/icons';
11
+ import classNames from 'classnames';
12
+ import { locales } from '@pisell/utils';
13
+ import localeTexts from "./locales";
14
+ import useEngineContext from "../../../../../hooks/useEngineContext";
15
+ import { BaseTranslation, FormItemUpload } from '@pisell/materials';
16
+ import "./PageSettingItem.less";
17
+ var PageSettingItem = /*#__PURE__*/forwardRef(function (_ref, ref) {
18
+ var _context$engine, _appHelper$constants, _appHelper$constants2;
19
+ var className = _ref.className,
20
+ style = _ref.style,
21
+ value = _ref.value,
22
+ onChange = _ref.onChange,
23
+ _ref$showImageUpload = _ref.showImageUpload,
24
+ showImageUpload = _ref$showImageUpload === void 0 ? true : _ref$showImageUpload;
25
+ var context = useEngineContext();
26
+ var appHelper = context === null || context === void 0 ? void 0 : context.appHelper;
27
+ 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');
28
+ var _Form$useForm = Form.useForm(),
29
+ _Form$useForm2 = _slicedToArray(_Form$useForm, 1),
30
+ form = _Form$useForm2[0];
31
+
32
+ // 暴露校验方法给父组件
33
+ useImperativeHandle(ref, function () {
34
+ return {
35
+ validateFields: function validateFields() {
36
+ return form.validateFields();
37
+ }
38
+ };
39
+ });
40
+
41
+ // 初始化表单值,只在value发生实质性变化时更新
42
+ var previousValueRef = useRef(value);
43
+ useEffect(function () {
44
+ // 检查value是否发生了实质性变化
45
+ var prevValue = previousValueRef.current;
46
+ var hasValueChanged = (value === null || value === void 0 ? void 0 : value.backgroundImage) !== (prevValue === null || prevValue === void 0 ? void 0 : prevValue.backgroundImage) || JSON.stringify(value === null || value === void 0 ? void 0 : value.termsConditions) !== JSON.stringify(prevValue === null || prevValue === void 0 ? void 0 : prevValue.termsConditions);
47
+ if (hasValueChanged) {
48
+ var defaultName = {
49
+ en: '',
50
+ 'zh-CN': '',
51
+ 'zh-HK': '',
52
+ original: ''
53
+ };
54
+ form.setFieldsValue({
55
+ backgroundImage: (value === null || value === void 0 ? void 0 : value.backgroundImage) || '',
56
+ termsConditions: (value === null || value === void 0 ? void 0 : value.termsConditions) || [{
57
+ name: {
58
+ en: 'Terms of Service',
59
+ 'zh-CN': '服务条款',
60
+ 'zh-HK': '服務條款',
61
+ original: 'Terms of Service'
62
+ },
63
+ url: 'https://example.com/terms'
64
+ }, {
65
+ name: {
66
+ en: 'Privacy Policy',
67
+ 'zh-CN': '隐私政策',
68
+ 'zh-HK': '隱私政策',
69
+ original: 'Privacy Policy'
70
+ },
71
+ url: 'https://example.com/privacy'
72
+ }]
73
+ });
74
+
75
+ // 更新ref值
76
+ previousValueRef.current = value;
77
+ }
78
+ }, [value, form]);
79
+
80
+ // 表单值变化时触发
81
+ var handleFormChange = function handleFormChange() {
82
+ var formValues = form.getFieldsValue();
83
+ var newValue = {
84
+ backgroundImage: formValues.backgroundImage || '',
85
+ termsConditions: formValues.termsConditions || []
86
+ };
87
+ onChange === null || onChange === void 0 || onChange(newValue);
88
+ };
89
+ return /*#__PURE__*/React.createElement("div", {
90
+ className: classNames('page-setting-item', className),
91
+ style: style
92
+ }, /*#__PURE__*/React.createElement(Form, {
93
+ form: form,
94
+ onValuesChange: handleFormChange
95
+ }, showImageUpload && /*#__PURE__*/React.createElement("div", {
96
+ className: "page-setting-item-section page-setting-item-background"
97
+ }, /*#__PURE__*/React.createElement("div", {
98
+ className: "page-setting-item-section-title"
99
+ }, locales.getText('page.setting.item.background.title')), /*#__PURE__*/React.createElement(Form.Item, {
100
+ name: "backgroundImage",
101
+ style: {
102
+ margin: 0
103
+ }
104
+ }, /*#__PURE__*/React.createElement(FormItemUpload, {
105
+ renderMode: "edit",
106
+ mediaUploadUrl: appHelper === null || appHelper === void 0 || (_appHelper$constants = appHelper.constants) === null || _appHelper$constants === void 0 ? void 0 : _appHelper$constants.mediaUploadUrl,
107
+ getHeaders: appHelper === null || appHelper === void 0 || (_appHelper$constants2 = appHelper.constants) === null || _appHelper$constants2 === void 0 ? void 0 : _appHelper$constants2.getHeaders,
108
+ maxCount: 1,
109
+ multiple: false,
110
+ enableCustomType: true,
111
+ customType: ['.png', '.jpg', '.jpeg'],
112
+ allowPreview: true
113
+ }))), /*#__PURE__*/React.createElement("div", {
114
+ className: "page-setting-item-section page-setting-item-terms"
115
+ }, /*#__PURE__*/React.createElement("div", {
116
+ className: "page-setting-item-section-header"
117
+ }, /*#__PURE__*/React.createElement("div", {
118
+ className: "page-setting-item-section-title"
119
+ }, locales.getText('page.setting.item.terms.title')), /*#__PURE__*/React.createElement("div", {
120
+ className: "page-setting-item-section-subtitle"
121
+ }, locales.getText('page.setting.item.terms.subtitle'))), /*#__PURE__*/React.createElement("div", {
122
+ className: "page-setting-item-terms-table"
123
+ }, /*#__PURE__*/React.createElement("div", {
124
+ className: "page-setting-item-terms-table-header"
125
+ }, /*#__PURE__*/React.createElement("div", null, locales.getText('page.setting.item.terms.table.name')), /*#__PURE__*/React.createElement("div", null, locales.getText('page.setting.item.terms.table.url')), /*#__PURE__*/React.createElement("div", {
126
+ style: {
127
+ textAlign: 'center'
128
+ }
129
+ }, locales.getText('page.setting.item.terms.table.action'))), /*#__PURE__*/React.createElement(Form.List, {
130
+ name: "termsConditions"
131
+ }, function (fields, _ref2) {
132
+ var add = _ref2.add,
133
+ remove = _ref2.remove;
134
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
135
+ className: "page-setting-item-terms-table-body"
136
+ }, fields.map(function (field) {
137
+ return /*#__PURE__*/React.createElement("div", {
138
+ key: field.key,
139
+ className: "page-setting-item-terms-table-row"
140
+ }, /*#__PURE__*/React.createElement("div", {
141
+ className: "page-setting-item-terms-table-cell"
142
+ }, /*#__PURE__*/React.createElement(Form.Item, _extends({}, field, {
143
+ name: [field.name, 'name'],
144
+ validateTrigger: ['onChange', 'onBlur'],
145
+ rules: [{
146
+ validator: function validator(_, value) {
147
+ if (!value || !value.original || !value.original.trim()) {
148
+ return Promise.reject(new Error(locales.getText('page.setting.item.terms.error.name.required')));
149
+ }
150
+ return Promise.resolve();
151
+ }
152
+ }],
153
+ style: {
154
+ margin: 0,
155
+ flex: 1
156
+ }
157
+ }), /*#__PURE__*/React.createElement(BaseTranslation, {
158
+ renderMode: "edit",
159
+ placeholder: locales.getText('page.setting.item.terms.table.name.placeholder')
160
+ }))), /*#__PURE__*/React.createElement("div", {
161
+ className: "page-setting-item-terms-table-cell"
162
+ }, /*#__PURE__*/React.createElement(Form.Item, _extends({}, field, {
163
+ name: [field.name, 'url'],
164
+ validateTrigger: ['onChange', 'onBlur'],
165
+ rules: [{
166
+ validator: function validator(_, value) {
167
+ if (!value || !value.trim()) {
168
+ return Promise.reject(new Error(locales.getText('page.setting.item.terms.error.url.required')));
169
+ }
170
+ return Promise.resolve();
171
+ }
172
+ }, {
173
+ type: 'url',
174
+ message: locales.getText('page.setting.item.terms.error.url.invalid')
175
+ }],
176
+ style: {
177
+ margin: 0,
178
+ flex: 1
179
+ }
180
+ }), /*#__PURE__*/React.createElement(Input, {
181
+ placeholder: locales.getText('page.setting.item.terms.table.url.placeholder')
182
+ }))), /*#__PURE__*/React.createElement("div", {
183
+ className: "page-setting-item-terms-table-actions"
184
+ }, /*#__PURE__*/React.createElement(Button, {
185
+ type: "text",
186
+ danger: true,
187
+ icon: /*#__PURE__*/React.createElement(DeleteOutlined, null),
188
+ size: "small",
189
+ onClick: function onClick() {
190
+ return remove(field.name);
191
+ }
192
+ })));
193
+ })), /*#__PURE__*/React.createElement("div", {
194
+ className: "page-setting-item-terms-add-row"
195
+ }, /*#__PURE__*/React.createElement(Button, {
196
+ type: "default",
197
+ icon: /*#__PURE__*/React.createElement(PlusOutlined, null),
198
+ onClick: function onClick() {
199
+ return add({
200
+ name: {
201
+ en: '',
202
+ 'zh-CN': '',
203
+ 'zh-HK': '',
204
+ original: ''
205
+ },
206
+ url: ''
207
+ });
208
+ },
209
+ className: "page-setting-item-terms-add-button"
210
+ }, locales.getText('page.setting.item.terms.button.add'))));
211
+ })))));
212
+ });
213
+ PageSettingItem.displayName = 'PageSettingItem';
214
+ export default PageSettingItem;
@@ -0,0 +1,66 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'page.setting.item.background.title': string;
4
+ 'page.setting.item.background.upload.text': string;
5
+ 'page.setting.item.background.upload.hint': string;
6
+ 'page.setting.item.background.description': string;
7
+ 'page.setting.item.background.usage': string;
8
+ 'page.setting.item.background.error.format': string;
9
+ 'page.setting.item.background.error.size': string;
10
+ 'page.setting.item.terms.title': string;
11
+ 'page.setting.item.terms.subtitle': string;
12
+ 'page.setting.item.terms.usage': string;
13
+ 'page.setting.item.terms.table.name': string;
14
+ 'page.setting.item.terms.table.url': string;
15
+ 'page.setting.item.terms.table.action': string;
16
+ 'page.setting.item.terms.table.name.placeholder': string;
17
+ 'page.setting.item.terms.table.url.placeholder': string;
18
+ 'page.setting.item.terms.button.add': string;
19
+ 'page.setting.item.terms.error.name.required': string;
20
+ 'page.setting.item.terms.error.url.required': string;
21
+ 'page.setting.item.terms.error.url.invalid': string;
22
+ };
23
+ 'zh-CN': {
24
+ 'page.setting.item.background.title': string;
25
+ 'page.setting.item.background.upload.text': string;
26
+ 'page.setting.item.background.upload.hint': string;
27
+ 'page.setting.item.background.description': string;
28
+ 'page.setting.item.background.usage': string;
29
+ 'page.setting.item.background.error.format': string;
30
+ 'page.setting.item.background.error.size': string;
31
+ 'page.setting.item.terms.title': string;
32
+ 'page.setting.item.terms.subtitle': string;
33
+ 'page.setting.item.terms.usage': string;
34
+ 'page.setting.item.terms.table.name': string;
35
+ 'page.setting.item.terms.table.url': string;
36
+ 'page.setting.item.terms.table.action': string;
37
+ 'page.setting.item.terms.table.name.placeholder': string;
38
+ 'page.setting.item.terms.table.url.placeholder': string;
39
+ 'page.setting.item.terms.button.add': string;
40
+ 'page.setting.item.terms.error.name.required': string;
41
+ 'page.setting.item.terms.error.url.required': string;
42
+ 'page.setting.item.terms.error.url.invalid': string;
43
+ };
44
+ 'zh-HK': {
45
+ 'page.setting.item.background.title': string;
46
+ 'page.setting.item.background.upload.text': string;
47
+ 'page.setting.item.background.upload.hint': string;
48
+ 'page.setting.item.background.description': string;
49
+ 'page.setting.item.background.usage': string;
50
+ 'page.setting.item.background.error.format': string;
51
+ 'page.setting.item.background.error.size': string;
52
+ 'page.setting.item.terms.title': string;
53
+ 'page.setting.item.terms.subtitle': string;
54
+ 'page.setting.item.terms.usage': string;
55
+ 'page.setting.item.terms.table.name': string;
56
+ 'page.setting.item.terms.table.url': string;
57
+ 'page.setting.item.terms.table.action': string;
58
+ 'page.setting.item.terms.table.name.placeholder': string;
59
+ 'page.setting.item.terms.table.url.placeholder': string;
60
+ 'page.setting.item.terms.button.add': string;
61
+ 'page.setting.item.terms.error.name.required': string;
62
+ 'page.setting.item.terms.error.url.required': string;
63
+ 'page.setting.item.terms.error.url.invalid': string;
64
+ };
65
+ };
66
+ export default _default;
@@ -0,0 +1,71 @@
1
+ export default {
2
+ en: {
3
+ // Background Image section
4
+ 'page.setting.item.background.title': 'Background Image',
5
+ 'page.setting.item.background.upload.text': 'Click or drag file to upload',
6
+ 'page.setting.item.background.upload.hint': 'Support JPG, PNG format, max 2MB',
7
+ 'page.setting.item.background.description': 'Background image for registration page',
8
+ 'page.setting.item.background.usage': 'Used for brand display and visual enhancement',
9
+ 'page.setting.item.background.error.format': 'Only JPG and PNG formats are supported',
10
+ 'page.setting.item.background.error.size': 'File size must not exceed 2MB',
11
+ // Terms & Conditions section
12
+ 'page.setting.item.terms.title': 'Terms & Conditions',
13
+ 'page.setting.item.terms.subtitle': 'Legal agreements and policy links displayed on registration page',
14
+ 'page.setting.item.terms.usage': 'Support adding terms of service, privacy policy, etc.',
15
+ 'page.setting.item.terms.table.name': 'Name',
16
+ 'page.setting.item.terms.table.url': 'URL',
17
+ 'page.setting.item.terms.table.action': 'Action',
18
+ 'page.setting.item.terms.table.name.placeholder': 'Terms of Service',
19
+ 'page.setting.item.terms.table.url.placeholder': 'https://example.com/terms',
20
+ 'page.setting.item.terms.button.add': 'Add',
21
+ 'page.setting.item.terms.error.name.required': 'Name is required',
22
+ 'page.setting.item.terms.error.url.required': 'URL is required',
23
+ 'page.setting.item.terms.error.url.invalid': 'Please enter a valid URL'
24
+ },
25
+ 'zh-CN': {
26
+ // Background Image section
27
+ 'page.setting.item.background.title': '背景图片',
28
+ 'page.setting.item.background.upload.text': '点击或拖拽文件上传',
29
+ 'page.setting.item.background.upload.hint': '支持 JPG、PNG 格式,最大 2MB',
30
+ 'page.setting.item.background.description': '注册页面的背景图片',
31
+ 'page.setting.item.background.usage': '用于品牌展示和视觉美化',
32
+ 'page.setting.item.background.error.format': '只支持 JPG 和 PNG 格式',
33
+ 'page.setting.item.background.error.size': '文件大小不能超过 2MB',
34
+ // Terms & Conditions section
35
+ 'page.setting.item.terms.title': '条款与条件',
36
+ 'page.setting.item.terms.subtitle': '注册页面展示的法律协议和政策链接',
37
+ 'page.setting.item.terms.usage': '支持添加服务条款、隐私政策等',
38
+ 'page.setting.item.terms.table.name': '名称',
39
+ 'page.setting.item.terms.table.url': 'URL',
40
+ 'page.setting.item.terms.table.action': '操作',
41
+ 'page.setting.item.terms.table.name.placeholder': '服务条款',
42
+ 'page.setting.item.terms.table.url.placeholder': 'https://example.com/terms',
43
+ 'page.setting.item.terms.button.add': '添加',
44
+ 'page.setting.item.terms.error.name.required': '名称不能为空',
45
+ 'page.setting.item.terms.error.url.required': 'URL不能为空',
46
+ 'page.setting.item.terms.error.url.invalid': '请输入有效的URL'
47
+ },
48
+ 'zh-HK': {
49
+ // Background Image section
50
+ 'page.setting.item.background.title': '背景圖片',
51
+ 'page.setting.item.background.upload.text': '點擊或拖拽文件上傳',
52
+ 'page.setting.item.background.upload.hint': '支持 JPG、PNG 格式,最大 2MB',
53
+ 'page.setting.item.background.description': '註冊頁面的背景圖片',
54
+ 'page.setting.item.background.usage': '用於品牌展示和視覺美化',
55
+ 'page.setting.item.background.error.format': '只支持 JPG 和 PNG 格式',
56
+ 'page.setting.item.background.error.size': '文件大小不能超過 2MB',
57
+ // Terms & Conditions section
58
+ 'page.setting.item.terms.title': '條款與條件',
59
+ 'page.setting.item.terms.subtitle': '註冊頁面展示的法律協議和政策鏈接',
60
+ 'page.setting.item.terms.usage': '支持添加服務條款、隱私政策等',
61
+ 'page.setting.item.terms.table.name': '名稱',
62
+ 'page.setting.item.terms.table.url': 'URL',
63
+ 'page.setting.item.terms.table.action': '操作',
64
+ 'page.setting.item.terms.table.name.placeholder': '服務條款',
65
+ 'page.setting.item.terms.table.url.placeholder': 'https://example.com/terms',
66
+ 'page.setting.item.terms.button.add': '添加',
67
+ 'page.setting.item.terms.error.name.required': '名稱不能為空',
68
+ 'page.setting.item.terms.error.url.required': 'URL不能為空',
69
+ 'page.setting.item.terms.error.url.invalid': '請輸入有效的URL'
70
+ }
71
+ };
@@ -0,0 +1,26 @@
1
+ /// <reference types="react" />
2
+ export interface TranslationValue {
3
+ en: string;
4
+ 'zh-CN': string;
5
+ 'zh-HK': string;
6
+ original: string;
7
+ }
8
+ export interface TermsCondition {
9
+ name: TranslationValue;
10
+ url: string;
11
+ }
12
+ export interface PageSettingItemValue {
13
+ backgroundImage?: string;
14
+ termsConditions: TermsCondition[];
15
+ }
16
+ export interface PageSettingItemProps {
17
+ className?: string;
18
+ style?: React.CSSProperties;
19
+ value?: PageSettingItemValue;
20
+ onChange?: (value: PageSettingItemValue) => void;
21
+ /**
22
+ * 是否显示图片上传组件
23
+ * 默认为true,设置为false时隐藏背景图片上传功能
24
+ */
25
+ showImageUpload?: boolean;
26
+ }
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { ChannelAuthSettingProps } from '../types';
3
+ import './index.less';
4
+ declare const SaaSManagermentAuth: React.FC<ChannelAuthSettingProps>;
5
+ export default SaaSManagermentAuth;
6
+ export type { ChannelAuthSettingProps, ChannelAuthSettingValue, ChannelAuthSettingSaveParams, TabKey } from '../types';