@pisell/private-materials 3.4.47 → 3.4.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (367) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +2 -2
  6. package/build/lowcode/preview.js +8 -8
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +23 -8
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +23 -8
  11. package/es/components/Sales/Event/Detail.d.ts +30 -0
  12. package/es/components/Sales/Summary/utils.d.ts +1 -1
  13. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +3 -0
  14. package/es/components/appointmentBooking/components/ConfirmInformation/index.d.ts +4 -0
  15. package/es/components/appointmentBooking/components/Services/index.d.ts +4 -0
  16. package/es/components/appointmentBooking/hooks.d.ts +107 -0
  17. package/es/components/appointmentBooking/hooks.js +5 -0
  18. package/es/components/appointmentBooking/locales.d.ts +363 -0
  19. package/es/components/authentication/admin/AuthMethods/SettingList.d.ts +5 -0
  20. package/es/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +22 -0
  21. package/es/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
  22. package/es/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +13 -0
  23. package/es/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
  24. package/es/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +14 -0
  25. package/es/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +13 -0
  26. package/es/components/authentication/admin/AuthMethods/components/index.d.ts +10 -0
  27. package/es/components/authentication/admin/AuthMethods/constants.d.ts +22 -0
  28. package/es/components/authentication/admin/AuthMethods/index.d.ts +8 -0
  29. package/es/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
  30. package/es/components/authentication/admin/AuthMethods/types.d.ts +76 -0
  31. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
  32. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
  33. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
  34. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
  35. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
  36. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
  37. package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
  38. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/index.d.ts +8 -0
  39. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
  40. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
  41. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +8 -0
  42. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
  43. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
  44. package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
  45. package/es/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
  46. package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
  47. package/es/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
  48. package/es/components/authentication/admin/CustomerAuth/index.d.ts +6 -0
  49. package/es/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
  50. package/es/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
  51. package/es/components/authentication/admin/CustomerOAuthConfig/index.d.ts +6 -0
  52. package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
  53. package/es/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
  54. package/es/components/authentication/admin/DeviceAuth/index.d.ts +6 -0
  55. package/es/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
  56. package/es/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
  57. package/es/components/authentication/admin/OAuthConfig/index.d.ts +6 -0
  58. package/es/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
  59. package/es/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
  60. package/es/components/authentication/admin/OrgAdminAuth/index.d.ts +6 -0
  61. package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
  62. package/es/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
  63. package/es/components/authentication/admin/POSOperatorAuth/index.d.ts +6 -0
  64. package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
  65. package/es/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
  66. package/es/components/authentication/admin/SaaSAdminAuth/index.d.ts +6 -0
  67. package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
  68. package/es/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
  69. package/es/components/authentication/admin/index.d.ts +26 -0
  70. package/es/components/authentication/index.d.ts +0 -0
  71. package/es/components/booking/addons/model.d.ts +10 -1
  72. package/es/components/booking/components/customSelect/index.d.ts +38 -0
  73. package/es/components/booking/components/customSelect/index.js +22 -3
  74. package/es/components/booking/components/footer/index.d.ts +11 -0
  75. package/es/components/booking/components/footer/utils.d.ts +41 -0
  76. package/es/components/booking/forms/footer.d.ts +6 -0
  77. package/es/components/booking/forms/model.d.ts +10 -1
  78. package/es/components/booking/info/client/index.d.ts +4 -0
  79. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +43 -0
  80. package/es/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +25 -0
  81. package/es/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
  82. package/es/components/booking/info/main.d.ts +12 -0
  83. package/es/components/booking/info/model.d.ts +14 -0
  84. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  85. package/es/components/booking/info2/index.d.ts +12 -0
  86. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  87. package/es/components/booking/info2/service/contactInfoMode/index.d.ts +2 -0
  88. package/es/components/booking/locales.d.ts +834 -0
  89. package/es/components/booking/model.d.ts +119 -0
  90. package/es/components/booking/notes/model.d.ts +10 -1
  91. package/es/components/booking/payments/model.d.ts +10 -1
  92. package/es/components/eftposPay/hooks.d.ts +1 -1
  93. package/es/components/eftposPay/linkly/index.d.ts +2 -0
  94. package/es/components/eftposPay/store/index.d.ts +3 -3
  95. package/es/components/index.d.ts +23 -0
  96. package/es/components/index.js +1 -1
  97. package/es/components/pay/toC/PaymentMethods/ApplePay/index.d.ts +10 -0
  98. package/es/components/pay/toC/PaymentMethods/GooglePay/index.d.ts +9 -0
  99. package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +10 -0
  100. package/es/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.d.ts +15 -0
  101. package/es/components/pay/toC/PaymentMethods/hooks/index.d.ts +19 -0
  102. package/es/components/pay/toC/index.d.ts +3 -0
  103. package/es/components/pay/toC/locales.d.ts +298 -0
  104. package/es/components/pay/toC/model.d.ts +40 -0
  105. package/es/components/pay/toC/serve.d.ts +62 -0
  106. package/es/components/schedules/model.d.ts +9 -1
  107. package/es/components/wallet/Detail/model.d.ts +13 -1
  108. package/es/components/wallet/DiscountCard/model.d.ts +14 -1
  109. package/es/components/wallet/PointCard/model.d.ts +13 -1
  110. package/es/components/wallet/RechargeableCard/model.d.ts +29 -1
  111. package/es/components/wallet/Voucher/model.d.ts +13 -1
  112. package/es/components/wallet/model.d.ts +9 -1
  113. package/es/components/walletList/index.d.ts +0 -25
  114. package/es/components/walletList/index.js +93 -61
  115. package/es/components/walletList/serve.d.ts +4 -0
  116. package/es/components/walletList/serve.js +46 -13
  117. package/es/components/walletList/types/index.d.ts +12 -12
  118. package/es/components/walletList/types/index.js +2 -2
  119. package/es/index.d.ts +58 -0
  120. package/es/index.js +3 -2
  121. package/es/plus/clientName/index.d.ts +4 -0
  122. package/es/plus/clientName/type.d.ts +13 -0
  123. package/es/plus/clientName/utils.d.ts +2 -0
  124. package/es/plus/contactInfo/components/Avatar/index.d.ts +10 -0
  125. package/es/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
  126. package/es/plus/contactInfo/index.d.ts +6 -0
  127. package/es/plus/contactInfo/locales.d.ts +15 -0
  128. package/es/plus/contactInfo/types.d.ts +91 -0
  129. package/es/plus/contactInfo/utils.d.ts +7 -0
  130. package/es/plus/contactInfoModal/ContactInfoContent.d.ts +3 -0
  131. package/es/plus/contactInfoModal/index.d.ts +41 -0
  132. package/es/plus/contactInfoModal/locales.d.ts +66 -0
  133. package/es/plus/productSelect/CategoryTabs/index.d.ts +2 -0
  134. package/es/plus/productSelect/CategoryTabs/index.js +6 -3
  135. package/es/plus/productSelect/ProductCard/index.d.ts +47 -0
  136. package/es/plus/productSelect/components/TabsStructure/TabsStructure.less +0 -11
  137. package/es/plus/productSelect/index.d.ts +32 -0
  138. package/es/plus/productSelect/utils.js +0 -1
  139. package/es/plus/walletEditor/WalletEditor.d.ts +5 -0
  140. package/es/plus/walletEditor/WalletEditor.js +316 -0
  141. package/es/plus/walletEditor/WalletEditor.less +129 -0
  142. package/es/plus/walletEditor/components/ImageUpload/index.d.ts +8 -0
  143. package/es/plus/walletEditor/components/ImageUpload/index.js +223 -0
  144. package/es/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
  145. package/es/plus/walletEditor/components/JsonEditor/index.js +68 -0
  146. package/es/plus/walletEditor/components/JsonEditor/index.less +4 -0
  147. package/es/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +20 -0
  148. package/es/plus/walletEditor/components/ValidityPeriodSelector/index.js +222 -0
  149. package/es/plus/walletEditor/components/ValidityPeriodSelector/index.less +4 -0
  150. package/es/plus/walletEditor/components/relationProduct/index.d.ts +6 -0
  151. package/es/plus/walletEditor/components/relationProduct/index.js +49 -0
  152. package/es/plus/walletEditor/components/relationProduct/index.less +15 -0
  153. package/es/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +37 -0
  154. package/es/plus/walletEditor/components/sortableWalletPassTypes/index.js +193 -0
  155. package/es/plus/walletEditor/components/sortableWalletPassTypes/index.less +110 -0
  156. package/es/plus/walletEditor/index.d.ts +3 -0
  157. package/es/plus/walletEditor/index.js +3 -0
  158. package/es/plus/walletEditor/locales.d.ts +126 -0
  159. package/es/plus/walletEditor/locales.js +143 -0
  160. package/es/plus/walletEditor/types.d.ts +52 -0
  161. package/es/plus/walletEditor/types.js +1 -0
  162. package/es/plus/walletPassGallery/components/footerButton/index.d.ts +14 -0
  163. package/es/plus/walletPassGallery/components/footerButton/index.js +247 -0
  164. package/es/plus/walletPassGallery/components/footerButton/index.less +93 -0
  165. package/es/plus/walletPassGallery/components/passDetail/index.d.ts +8 -0
  166. package/es/plus/walletPassGallery/components/passDetail/index.js +274 -0
  167. package/es/plus/walletPassGallery/components/passDetail/index.less +57 -0
  168. package/es/plus/walletPassGallery/components/passList/index.d.ts +11 -0
  169. package/es/plus/walletPassGallery/components/passList/index.js +115 -0
  170. package/es/plus/walletPassGallery/components/recharge/index.d.ts +11 -0
  171. package/es/plus/walletPassGallery/components/recharge/index.js +134 -0
  172. package/es/plus/walletPassGallery/components/recharge/index.less +16 -0
  173. package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +8 -0
  174. package/es/plus/walletPassGallery/components/timelineSection/index.js +176 -0
  175. package/es/plus/walletPassGallery/components/timelineSection/index.less +67 -0
  176. package/es/plus/walletPassGallery/components/usageRule/index.d.ts +9 -0
  177. package/es/plus/walletPassGallery/components/usageRule/index.js +248 -0
  178. package/es/plus/walletPassGallery/components/usageRule/index.less +157 -0
  179. package/es/plus/walletPassGallery/index.d.ts +6 -0
  180. package/es/plus/walletPassGallery/index.js +602 -0
  181. package/es/plus/walletPassGallery/index.less +115 -0
  182. package/es/plus/walletPassGallery/locales.d.ts +270 -0
  183. package/es/plus/walletPassGallery/locales.js +279 -0
  184. package/es/plus/walletPassGallery/serve.d.ts +218 -0
  185. package/es/plus/walletPassGallery/serve.js +289 -0
  186. package/es/pro/pisellPaymentList/example.d.ts +19 -0
  187. package/lib/components/Sales/Event/Detail.d.ts +30 -0
  188. package/lib/components/Sales/Summary/utils.d.ts +1 -1
  189. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +3 -0
  190. package/lib/components/appointmentBooking/components/ConfirmInformation/index.d.ts +4 -0
  191. package/lib/components/appointmentBooking/components/Services/index.d.ts +4 -0
  192. package/lib/components/appointmentBooking/hooks.d.ts +107 -0
  193. package/lib/components/appointmentBooking/hooks.js +3 -0
  194. package/lib/components/appointmentBooking/locales.d.ts +363 -0
  195. package/lib/components/authentication/admin/AuthMethods/SettingList.d.ts +5 -0
  196. package/lib/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +22 -0
  197. package/lib/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
  198. package/lib/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +13 -0
  199. package/lib/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
  200. package/lib/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +14 -0
  201. package/lib/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +13 -0
  202. package/lib/components/authentication/admin/AuthMethods/components/index.d.ts +10 -0
  203. package/lib/components/authentication/admin/AuthMethods/constants.d.ts +22 -0
  204. package/lib/components/authentication/admin/AuthMethods/index.d.ts +8 -0
  205. package/lib/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
  206. package/lib/components/authentication/admin/AuthMethods/types.d.ts +76 -0
  207. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
  208. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
  209. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
  210. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
  211. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
  212. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
  213. package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
  214. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/index.d.ts +8 -0
  215. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
  216. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
  217. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +8 -0
  218. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
  219. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
  220. package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
  221. package/lib/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
  222. package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
  223. package/lib/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
  224. package/lib/components/authentication/admin/CustomerAuth/index.d.ts +6 -0
  225. package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
  226. package/lib/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
  227. package/lib/components/authentication/admin/CustomerOAuthConfig/index.d.ts +6 -0
  228. package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
  229. package/lib/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
  230. package/lib/components/authentication/admin/DeviceAuth/index.d.ts +6 -0
  231. package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
  232. package/lib/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
  233. package/lib/components/authentication/admin/OAuthConfig/index.d.ts +6 -0
  234. package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
  235. package/lib/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
  236. package/lib/components/authentication/admin/OrgAdminAuth/index.d.ts +6 -0
  237. package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
  238. package/lib/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
  239. package/lib/components/authentication/admin/POSOperatorAuth/index.d.ts +6 -0
  240. package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
  241. package/lib/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
  242. package/lib/components/authentication/admin/SaaSAdminAuth/index.d.ts +6 -0
  243. package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
  244. package/lib/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
  245. package/lib/components/authentication/admin/index.d.ts +26 -0
  246. package/lib/components/authentication/index.d.ts +0 -0
  247. package/lib/components/booking/addons/model.d.ts +10 -1
  248. package/lib/components/booking/components/customSelect/index.d.ts +38 -0
  249. package/lib/components/booking/components/customSelect/index.js +26 -3
  250. package/lib/components/booking/components/footer/index.d.ts +11 -0
  251. package/lib/components/booking/components/footer/utils.d.ts +41 -0
  252. package/lib/components/booking/forms/footer.d.ts +6 -0
  253. package/lib/components/booking/forms/model.d.ts +10 -1
  254. package/lib/components/booking/info/client/index.d.ts +4 -0
  255. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +43 -0
  256. package/lib/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +25 -0
  257. package/lib/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
  258. package/lib/components/booking/info/main.d.ts +12 -0
  259. package/lib/components/booking/info/model.d.ts +14 -0
  260. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  261. package/lib/components/booking/info2/index.d.ts +12 -0
  262. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  263. package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +2 -0
  264. package/lib/components/booking/locales.d.ts +834 -0
  265. package/lib/components/booking/model.d.ts +119 -0
  266. package/lib/components/booking/notes/model.d.ts +10 -1
  267. package/lib/components/booking/payments/model.d.ts +10 -1
  268. package/lib/components/eftposPay/hooks.d.ts +1 -1
  269. package/lib/components/eftposPay/linkly/index.d.ts +2 -0
  270. package/lib/components/eftposPay/store/index.d.ts +3 -3
  271. package/lib/components/index.d.ts +23 -0
  272. package/lib/components/index.js +1 -1
  273. package/lib/components/pay/toC/PaymentMethods/ApplePay/index.d.ts +10 -0
  274. package/lib/components/pay/toC/PaymentMethods/GooglePay/index.d.ts +9 -0
  275. package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +10 -0
  276. package/lib/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.d.ts +15 -0
  277. package/lib/components/pay/toC/PaymentMethods/hooks/index.d.ts +19 -0
  278. package/lib/components/pay/toC/index.d.ts +3 -0
  279. package/lib/components/pay/toC/locales.d.ts +298 -0
  280. package/lib/components/pay/toC/model.d.ts +40 -0
  281. package/lib/components/pay/toC/serve.d.ts +62 -0
  282. package/lib/components/schedules/model.d.ts +9 -1
  283. package/lib/components/wallet/Detail/model.d.ts +13 -1
  284. package/lib/components/wallet/DiscountCard/model.d.ts +14 -1
  285. package/lib/components/wallet/PointCard/model.d.ts +13 -1
  286. package/lib/components/wallet/RechargeableCard/model.d.ts +29 -1
  287. package/lib/components/wallet/Voucher/model.d.ts +13 -1
  288. package/lib/components/wallet/model.d.ts +9 -1
  289. package/lib/components/walletList/index.d.ts +0 -25
  290. package/lib/components/walletList/index.js +88 -47
  291. package/lib/components/walletList/serve.d.ts +4 -0
  292. package/lib/components/walletList/serve.js +12 -0
  293. package/lib/components/walletList/types/index.d.ts +12 -12
  294. package/lib/index.d.ts +58 -0
  295. package/lib/index.js +6 -3
  296. package/lib/plus/clientName/index.d.ts +4 -0
  297. package/lib/plus/clientName/type.d.ts +13 -0
  298. package/lib/plus/clientName/utils.d.ts +2 -0
  299. package/lib/plus/contactInfo/components/Avatar/index.d.ts +10 -0
  300. package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
  301. package/lib/plus/contactInfo/index.d.ts +6 -0
  302. package/lib/plus/contactInfo/locales.d.ts +15 -0
  303. package/lib/plus/contactInfo/types.d.ts +91 -0
  304. package/lib/plus/contactInfo/utils.d.ts +7 -0
  305. package/lib/plus/contactInfoModal/ContactInfoContent.d.ts +3 -0
  306. package/lib/plus/contactInfoModal/index.d.ts +41 -0
  307. package/lib/plus/contactInfoModal/locales.d.ts +66 -0
  308. package/lib/plus/productSelect/CategoryTabs/index.d.ts +2 -0
  309. package/lib/plus/productSelect/CategoryTabs/index.js +84 -69
  310. package/lib/plus/productSelect/ProductCard/index.d.ts +47 -0
  311. package/lib/plus/productSelect/components/TabsStructure/TabsStructure.less +0 -11
  312. package/lib/plus/productSelect/index.d.ts +32 -0
  313. package/lib/plus/productSelect/utils.js +0 -1
  314. package/lib/plus/walletEditor/WalletEditor.d.ts +5 -0
  315. package/lib/plus/walletEditor/WalletEditor.js +354 -0
  316. package/lib/plus/walletEditor/WalletEditor.less +129 -0
  317. package/lib/plus/walletEditor/components/ImageUpload/index.d.ts +8 -0
  318. package/lib/plus/walletEditor/components/ImageUpload/index.js +201 -0
  319. package/lib/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
  320. package/lib/plus/walletEditor/components/JsonEditor/index.js +89 -0
  321. package/lib/plus/walletEditor/components/JsonEditor/index.less +4 -0
  322. package/lib/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +20 -0
  323. package/lib/plus/walletEditor/components/ValidityPeriodSelector/index.js +176 -0
  324. package/lib/plus/walletEditor/components/ValidityPeriodSelector/index.less +4 -0
  325. package/lib/plus/walletEditor/components/relationProduct/index.d.ts +6 -0
  326. package/lib/plus/walletEditor/components/relationProduct/index.js +73 -0
  327. package/lib/plus/walletEditor/components/relationProduct/index.less +15 -0
  328. package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +37 -0
  329. package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.js +211 -0
  330. package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.less +110 -0
  331. package/lib/plus/walletEditor/index.d.ts +3 -0
  332. package/lib/plus/walletEditor/index.js +42 -0
  333. package/lib/plus/walletEditor/locales.d.ts +126 -0
  334. package/lib/plus/walletEditor/locales.js +167 -0
  335. package/lib/plus/walletEditor/types.d.ts +52 -0
  336. package/lib/plus/walletEditor/types.js +17 -0
  337. package/lib/plus/walletPassGallery/components/footerButton/index.d.ts +14 -0
  338. package/lib/plus/walletPassGallery/components/footerButton/index.js +187 -0
  339. package/lib/plus/walletPassGallery/components/footerButton/index.less +93 -0
  340. package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +8 -0
  341. package/lib/plus/walletPassGallery/components/passDetail/index.js +287 -0
  342. package/lib/plus/walletPassGallery/components/passDetail/index.less +57 -0
  343. package/lib/plus/walletPassGallery/components/passList/index.d.ts +11 -0
  344. package/lib/plus/walletPassGallery/components/passList/index.js +136 -0
  345. package/lib/plus/walletPassGallery/components/recharge/index.d.ts +11 -0
  346. package/lib/plus/walletPassGallery/components/recharge/index.js +146 -0
  347. package/lib/plus/walletPassGallery/components/recharge/index.less +16 -0
  348. package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +8 -0
  349. package/lib/plus/walletPassGallery/components/timelineSection/index.js +212 -0
  350. package/lib/plus/walletPassGallery/components/timelineSection/index.less +67 -0
  351. package/lib/plus/walletPassGallery/components/usageRule/index.d.ts +9 -0
  352. package/lib/plus/walletPassGallery/components/usageRule/index.js +209 -0
  353. package/lib/plus/walletPassGallery/components/usageRule/index.less +157 -0
  354. package/lib/plus/walletPassGallery/index.d.ts +6 -0
  355. package/lib/plus/walletPassGallery/index.js +498 -0
  356. package/lib/plus/walletPassGallery/index.less +115 -0
  357. package/lib/plus/walletPassGallery/locales.d.ts +270 -0
  358. package/lib/plus/walletPassGallery/locales.js +299 -0
  359. package/lib/plus/walletPassGallery/serve.d.ts +218 -0
  360. package/lib/plus/walletPassGallery/serve.js +98 -0
  361. package/lib/pro/pisellPaymentList/example.d.ts +19 -0
  362. package/lowcode/sortable-wallet-pass-types/meta.ts +267 -0
  363. package/lowcode/wallet-editor/meta.ts +57 -0
  364. package/lowcode/wallet-editor/snippets.ts +13 -0
  365. package/lowcode/wallet-pass-gallery/meta.ts +35 -0
  366. package/package.json +3 -3
  367. package/lowcode/wallet/meta.ts +0 -79
@@ -0,0 +1,30 @@
1
+ import React from 'react';
2
+ interface EventDetailContextType {
3
+ detail: any;
4
+ open: boolean;
5
+ onOpenEventDetail: (eventItem: any) => void;
6
+ onCloseEventDetail: () => void;
7
+ onSelectEventDetail: () => void;
8
+ selectEventDetailBookingOptions: (v: any) => void;
9
+ getEventDetailSelectDate: {
10
+ run: (id: number, params: any) => void;
11
+ loading: boolean;
12
+ data?: any;
13
+ };
14
+ currentBookingOption: any;
15
+ selectEventDetailProductDetail: (productDetail: any) => void;
16
+ checkBeforeSelectEventDetail: () => boolean;
17
+ getProductDetailRequest: any;
18
+ }
19
+ interface EventDetailProviderProps {
20
+ children: React.ReactNode;
21
+ }
22
+ export declare const EventDetailContext: React.Context<EventDetailContextType | undefined>;
23
+ export declare const EventDetailProvider: React.FC<EventDetailProviderProps>;
24
+ /**
25
+ * 使用步骤管理的Hook
26
+ * @throws {Error} 如果在StepProvider外部使用会抛出错误
27
+ * @returns {StepContextType} 步骤管理上下文
28
+ */
29
+ export declare const useEventDetail: () => EventDetailContextType;
30
+ export {};
@@ -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[]) => "0.00" | Decimal;
33
+ export declare const calculateTaxFee: (shopInfo: any, items: CartItem[]) => Decimal | "0.00";
34
34
  /**
35
35
  * 计算所有价格明细
36
36
  * @param items - 购物车商品数组
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const CartItem: ({ onNext, renderContactInfo }: any) => JSX.Element;
3
+ export default CartItem;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ declare const ConfirmInformation: React.ForwardRefExoticComponent<React.RefAttributes<unknown>>;
4
+ export default ConfirmInformation;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ declare const Services: React.ForwardRefExoticComponent<React.RefAttributes<unknown>>;
4
+ export default Services;
@@ -0,0 +1,107 @@
1
+ export declare const useAppointmentBooking: () => any;
2
+ export declare const useShopDiscount: () => any;
3
+ export declare const contextUtils: () => any;
4
+ /**
5
+ * @title: 监听步骤发生变化
6
+ * @description:
7
+ * @return {*}
8
+ * @Author: WangHan
9
+ * @Date: 2025-04-15 11:11
10
+ */
11
+ export declare const useAppointmentBookingStep: () => {
12
+ getStepIndex: (type: string, skipNumber?: number) => any;
13
+ stepList: any;
14
+ removeStep: (key: string) => any;
15
+ addStep: (props: any, stepKey?: string) => any;
16
+ updateStep: (key: string, step: any) => void;
17
+ nextStep: () => any;
18
+ };
19
+ /**
20
+ * @title: 获取商品数据
21
+ * @description:
22
+ * @return {*}
23
+ * @Author: WangHan
24
+ * @Date: 2025-04-15 11:12
25
+ */
26
+ export declare const useAppointmentBookingProduct: () => {
27
+ checkProductType: (productId: number) => Promise<any>;
28
+ getProducts: () => Promise<any>;
29
+ };
30
+ /**
31
+ * @title: 更新购物车数据
32
+ * @description:
33
+ * @return {*}
34
+ * @Author: WangHan
35
+ * @Date: 2025-04-15 11:12
36
+ */
37
+ export declare const useAppointmentBookingCart: () => void;
38
+ /**
39
+ * @title: 获取登录状态
40
+ * @description:
41
+ * @return {*}
42
+ * @Author: WangHan
43
+ * @Date: 2025-04-15 11:14
44
+ */
45
+ export declare const useAppointmentBookingLogin: () => {
46
+ isLogin: boolean;
47
+ openLoginModal: (params: {
48
+ callback: any;
49
+ }) => void;
50
+ };
51
+ /**
52
+ * @title: 获取账户
53
+ * @description:
54
+ * @return {*}
55
+ * @Author: WangHan
56
+ * @Date: 2025-04-15 11:15
57
+ */
58
+ export declare const useAppointmentBookingAccount: () => {
59
+ accountLists: any;
60
+ getHolders: () => Promise<any>;
61
+ form_id: any;
62
+ addAccount: (val: any, type?: string) => Promise<any>;
63
+ checkAccount: (type: any) => any;
64
+ };
65
+ /**
66
+ * @title: 获取资源数据
67
+ * @description:
68
+ * @return {*}
69
+ * @Author: WangHan
70
+ * @Date: 2025-04-15 11:29
71
+ */
72
+ export declare const useAppointmentBookingResource: () => {
73
+ getResourceTimeSlot: (index?: number) => Promise<void>;
74
+ getResourceList: () => {
75
+ resources: any;
76
+ resourceCodes: any;
77
+ };
78
+ };
79
+ /**
80
+ * @title: 是否跳过资源选择步骤
81
+ * @description:
82
+ * @return {*}
83
+ * @Author: WangHan
84
+ * @Date: 2025-04-21 11:47
85
+ */
86
+ export declare const useIsSkipResourceStep: () => {
87
+ checkSkipResourceStep: () => Promise<boolean>;
88
+ };
89
+ /**
90
+ * @title: 获取预约配置
91
+ * @description:
92
+ * @return {*}
93
+ * @Author: WangHan
94
+ * @Date: 2025-04-24 18:15
95
+ */
96
+ export declare const useAppointmentBookingSetting: () => {
97
+ isDateSelectedFirst: boolean;
98
+ isFormSubject: boolean;
99
+ isRetailTemplate: any;
100
+ customPageId: any;
101
+ channel: any;
102
+ bookingSubject: any;
103
+ setOtherData: (key: string, val: any) => any;
104
+ getOtherData: (key: string) => any;
105
+ formName: any;
106
+ bookingSetting: any;
107
+ };
@@ -367,6 +367,11 @@ export var useAppointmentBookingStep = function useAppointmentBookingStep() {
367
367
  if (res === 'success') {
368
368
  checkHolder();
369
369
  }
370
+
371
+ // 关闭登录弹窗
372
+ if (res === 'close') {
373
+ setLoading(false);
374
+ }
370
375
  });
371
376
  return _context3.abrupt("return", openLoginModal({
372
377
  callback: function callback(status) {
@@ -0,0 +1,363 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.event.calendar.limit.unavailable': string;
4
+ 'pisell2.event.calendar.limit.sold.out': string;
5
+ 'pisell2.event.calendar.limit.call.to.book': string;
6
+ 'pisell2.event.calendar.limit.filling.up.fast': string;
7
+ 'pisell2.event.calendar.limit.lots.of.space': string;
8
+ 'pisell2.event.calendar.booking-closed': string;
9
+ 'pisell2.event.calendar.call-to-book': string;
10
+ 'pisell2.event.calendar.email-to-book': string;
11
+ 'pisell2.event.close.title': string;
12
+ 'pisell2.event.close.tip': string;
13
+ 'pisell2.event.close.continue': string;
14
+ 'pisell2.event.close.exit': string;
15
+ 'pisell2.appointment.step': (step: number) => string;
16
+ 'pisell2.event.select.category': (val: string) => string;
17
+ 'pisell2.event.select.campus': (val: string) => string;
18
+ 'pisell2.event.select.event': string;
19
+ 'pisell2.event.cart': string;
20
+ 'pisell2.event.total': string;
21
+ 'pisell2.event.total.gst': (val: string, amount: any) => string;
22
+ 'pisell2.event.continue': string;
23
+ 'pisell2.event.details': string;
24
+ 'pisell2.event.introduction': string;
25
+ 'pisell2.event.schedule': string;
26
+ 'pisell2.event.teacher': string;
27
+ 'pisell2.event.campus': string;
28
+ 'pisell2.event.resource': string;
29
+ 'pisell2.event.booking.options': string;
30
+ 'pisell2.event.add.to.cart': string;
31
+ 'pisell2.event.description': string;
32
+ 'pisell2.event.view.more': string;
33
+ 'pisell2.event.view.less': string;
34
+ 'pisell2.event.holder.modal.title': string;
35
+ 'pisell2.event.confirm': string;
36
+ 'pisell2.event.confirm.information': string;
37
+ 'pisell2.event.confirm.information.tip': string;
38
+ 'pisell2.event.confirm.information.other': string;
39
+ 'pisell2.event.add.others': string;
40
+ 'pisell2.event.checkout': string;
41
+ 'pisell2.event.edit.event': string;
42
+ 'pisell2.event.remove': string;
43
+ 'pisell2.event.option': string;
44
+ 'pisell2.event.order.items.error.title': string;
45
+ 'pisell2.event.order.items.error.tip': (val: number) => string;
46
+ 'pisell2.event.order.items.error.proceed': string;
47
+ 'pisell2.event.order.items.error.return': string;
48
+ 'pisell2.event.order.items.error.back': string;
49
+ 'pisell2.event.order.items.error.continue': string;
50
+ 'pisell2.event.order.items.error.all.tip': string;
51
+ 'pisell2.event.remove.title': string;
52
+ 'pisell2.event.remove.tip': string;
53
+ 'pisell2.event.remove.cancel': string;
54
+ 'pisell2.event.create': string;
55
+ 'pisell2.event.search': string;
56
+ 'pisell2.event.empty.service': string;
57
+ 'pisell2.event.title': (val: number) => string;
58
+ 'pisell2.event.create.form': string;
59
+ 'pisell2.event.empty.event': string;
60
+ 'pisell2.event.error.holder': string;
61
+ 'pisell2.event.price.from': string;
62
+ 'pisell2.event.empty.holder.title': string;
63
+ 'pisell2.event.empty.holder.tip': string;
64
+ 'pisell2.event.empty.holder.continue.tip': string;
65
+ 'pisell2.event.empty.holder.go.back': string;
66
+ 'pisell2.event.empty.holder.continue.anyway': string;
67
+ 'pisell2.event.event.full.title': string;
68
+ 'pisell2.event.event.full.tip': string;
69
+ 'pisell2.event.event.full.ok': string;
70
+ 'pisell2.event.capacity.limit.reached.title': string;
71
+ 'pisell2.event.capacity.limit.reached.tip': string;
72
+ 'pisell2.appointment.booking.empty.service': string;
73
+ 'pisell2.appointment.booking.empty.data': string;
74
+ 'pisell2.appointment.booking.empty.time': string;
75
+ 'pisell2.appointment.service.title': (val: number) => string;
76
+ 'pisell2.appointment.add.guest': string;
77
+ 'pisell2.appointment.edit.service': string;
78
+ 'pisell2.appointment.remove.guest': string;
79
+ 'pisell2.appointment.no.available.service': string;
80
+ 'pisell2.appointment.max.guest': string;
81
+ 'pisell2.appointment.no.available.time': string;
82
+ 'pisell2.appointment.monday': string;
83
+ 'pisell2.appointment.tuesday': string;
84
+ 'pisell2.appointment.wednesday': string;
85
+ 'pisell2.appointment.thursday': string;
86
+ 'pisell2.appointment.friday': string;
87
+ 'pisell2.appointment.saturday': string;
88
+ 'pisell2.appointment.sunday': string;
89
+ 'pisell2.appointment.any.professional': string;
90
+ 'pisell2.appointment.for.maximum.availability': string;
91
+ 'pisell2.appointment.deposit': string;
92
+ 'pisell2.appointment.deposit.agreed': string;
93
+ 'pisell2.appointment.deposit.agree.policy': string;
94
+ 'pisell2.appointment.deposit.and': string;
95
+ 'pisell2.appointment.deposit.amount.tip1': string;
96
+ 'pisell2.appointment.deposit.amount.tip2': string;
97
+ 'pisell2.appointment.deposit.close': string;
98
+ 'pisell2.appointment.tips': string;
99
+ 'pisell2.appointment.tips.content': string;
100
+ 'pisell2.appointment.fill-form': string;
101
+ 'pisell2.appointment.select.holder': (val: string) => string;
102
+ 'pisell2.appointment.select.time': string;
103
+ 'pisell2.appointment.unselect.time': string;
104
+ 'pisell2.appointment.unselect.date': string;
105
+ 'pisell2.appointment.unuse.date': string;
106
+ 'pisell2.appointment.add-guests': string;
107
+ 'pisell2.appointment.policy': string;
108
+ 'pisell2.appointment.policy.confirm': string;
109
+ 'pisell2.appointment.resource.tip': (val: string) => string;
110
+ 'pisell2.text.apply': string;
111
+ 'pisell2.text.goodpass': string;
112
+ 'pisell2.text.goodpass.product-vouchers': string;
113
+ 'pisell2.text.goodpass.view-more': string;
114
+ 'pisell2.text.goodpass.code': string;
115
+ 'pisell2.text.goodpass.enter-code': string;
116
+ 'pisell2.text.goodpass.code-invalid': string;
117
+ 'pisell2.text.goodpass.code-invalid-cart': string;
118
+ 'pisell2.text.goodpass.login': string;
119
+ 'pisell2.text.goodpass.login-tip': string;
120
+ 'pisell2.text.contact-info.title': string;
121
+ };
122
+ 'zh-CN': {
123
+ 'pisell2.event.calendar.limit.unavailable': string;
124
+ 'pisell2.event.calendar.limit.sold.out': string;
125
+ 'pisell2.event.calendar.limit.call.to.book': string;
126
+ 'pisell2.event.calendar.limit.filling.up.fast': string;
127
+ 'pisell2.event.calendar.limit.lots.of.space': string;
128
+ 'pisell2.event.calendar.booking-closed': string;
129
+ 'pisell2.event.calendar.call-to-book': string;
130
+ 'pisell2.event.calendar.email-to-book': string;
131
+ 'pisell2.event.close.title': string;
132
+ 'pisell2.event.close.tip': string;
133
+ 'pisell2.event.close.continue': string;
134
+ 'pisell2.event.close.exit': string;
135
+ 'pisell2.appointment.step': (step: number) => string;
136
+ 'pisell2.event.select.category': (val: string) => string;
137
+ 'pisell2.event.select.event': string;
138
+ 'pisell2.event.select.campus': (val: string) => string;
139
+ 'pisell2.event.cart': string;
140
+ 'pisell2.event.total': string;
141
+ 'pisell2.event.total.gst': (val: string, amount: any) => string;
142
+ 'pisell2.event.continue': string;
143
+ 'pisell2.event.details': string;
144
+ 'pisell2.event.introduction': string;
145
+ 'pisell2.event.schedule': string;
146
+ 'pisell2.event.teacher': string;
147
+ 'pisell2.event.campus': string;
148
+ 'pisell2.event.resource': string;
149
+ 'pisell2.event.booking.options': string;
150
+ 'pisell2.event.add.to.cart': string;
151
+ 'pisell2.event.description': string;
152
+ 'pisell2.event.view.more': string;
153
+ 'pisell2.event.view.less': string;
154
+ 'pisell2.event.holder.modal.title': string;
155
+ 'pisell2.event.confirm': string;
156
+ 'pisell2.event.confirm.information': string;
157
+ 'pisell2.event.confirm.information.tip': string;
158
+ 'pisell2.event.confirm.information.other': string;
159
+ 'pisell2.event.add.others': string;
160
+ 'pisell2.event.checkout': string;
161
+ 'pisell2.event.edit.event': string;
162
+ 'pisell2.event.remove': string;
163
+ 'pisell2.event.option': string;
164
+ 'pisell2.event.order.items.error.title': string;
165
+ 'pisell2.event.order.items.error.tip': (val: number) => string;
166
+ 'pisell2.event.order.items.error.proceed': string;
167
+ 'pisell2.event.order.items.error.return': string;
168
+ 'pisell2.event.order.items.error.back': string;
169
+ 'pisell2.event.order.items.error.continue': string;
170
+ 'pisell2.event.order.items.error.all.tip': string;
171
+ 'pisell2.event.remove.title': string;
172
+ 'pisell2.event.remove.tip': string;
173
+ 'pisell2.event.remove.cancel': string;
174
+ 'pisell2.event.create': string;
175
+ 'pisell2.event.search': string;
176
+ 'pisell2.event.empty.service': string;
177
+ 'pisell2.event.title': (val: number) => string;
178
+ 'pisell2.event.create.form': string;
179
+ 'pisell2.event.empty.event': string;
180
+ 'pisell2.event.error.holder': string;
181
+ 'pisell2.event.price.from': string;
182
+ 'pisell2.event.empty.holder.title': string;
183
+ 'pisell2.event.empty.holder.tip': string;
184
+ 'pisell2.event.empty.holder.continue.tip': string;
185
+ 'pisell2.event.empty.holder.go.back': string;
186
+ 'pisell2.event.empty.holder.continue.anyway': string;
187
+ 'pisell2.event.event.full.title': string;
188
+ 'pisell2.event.event.full.tip': string;
189
+ 'pisell2.event.event.full.ok': string;
190
+ 'pisell2.event.capacity.limit.reached.title': string;
191
+ 'pisell2.event.capacity.limit.reached.tip': string;
192
+ 'pisell2.appointment.booking.empty.service': string;
193
+ 'pisell2.appointment.booking.empty.data': string;
194
+ 'pisell2.appointment.booking.empty.time': string;
195
+ 'pisell2.appointment.service.title': (val: number) => string;
196
+ 'pisell2.appointment.add.guest': string;
197
+ 'pisell2.appointment.edit.service': string;
198
+ 'pisell2.appointment.remove.guest': string;
199
+ 'pisell2.appointment.no.available.service': string;
200
+ 'pisell2.appointment.max.guest': string;
201
+ 'pisell2.appointment.no.available.time': string;
202
+ 'pisell2.appointment.monday': string;
203
+ 'pisell2.appointment.tuesday': string;
204
+ 'pisell2.appointment.wednesday': string;
205
+ 'pisell2.appointment.thursday': string;
206
+ 'pisell2.appointment.friday': string;
207
+ 'pisell2.appointment.saturday': string;
208
+ 'pisell2.appointment.sunday': string;
209
+ 'pisell2.appointment.any.professional': string;
210
+ 'pisell2.appointment.for.maximum.availability': string;
211
+ 'pisell2.appointment.deposit': string;
212
+ 'pisell2.appointment.deposit.agreed': string;
213
+ 'pisell2.appointment.deposit.agree.policy': string;
214
+ 'pisell2.appointment.deposit.and': string;
215
+ 'pisell2.appointment.deposit.amount.tip1': string;
216
+ 'pisell2.appointment.deposit.amount.tip2': string;
217
+ 'pisell2.appointment.deposit.close': string;
218
+ 'pisell2.appointment.tips': string;
219
+ 'pisell2.appointment.tips.content': string;
220
+ 'pisell2.appointment.fill-form': string;
221
+ 'pisell2.appointment.select.holder': (val: string) => string;
222
+ 'pisell2.appointment.select.time': string;
223
+ 'pisell2.appointment.unselect.time': string;
224
+ 'pisell2.appointment.unselect.date': string;
225
+ 'pisell2.appointment.unuse.date': string;
226
+ 'pisell2.appointment.add-guests': string;
227
+ 'pisell2.appointment.policy': string;
228
+ 'pisell2.appointment.policy.confirm': string;
229
+ 'pisell2.appointment.resource.tip': (val: string) => string;
230
+ 'pisell2.text.apply': string;
231
+ 'pisell2.text.goodpass': string;
232
+ 'pisell2.text.goodpass.product-vouchers': string;
233
+ 'pisell2.text.goodpass.view-more': string;
234
+ 'pisell2.text.goodpass.code': string;
235
+ 'pisell2.text.goodpass.enter-code': string;
236
+ 'pisell2.text.goodpass.code-invalid': string;
237
+ 'pisell2.text.goodpass.code-invalid-cart': string;
238
+ 'pisell2.text.goodpass.login': string;
239
+ 'pisell2.text.goodpass.login-tip': string;
240
+ 'pisell2.text.contact-info.title': string;
241
+ };
242
+ 'zh-HK': {
243
+ 'pisell2.event.calendar.limit.unavailable': string;
244
+ 'pisell2.event.calendar.limit.sold.out': string;
245
+ 'pisell2.event.calendar.limit.call.to.book': string;
246
+ 'pisell2.event.calendar.limit.filling.up.fast': string;
247
+ 'pisell2.event.calendar.limit.lots.of.space': string;
248
+ 'pisell2.event.calendar.booking-closed': string;
249
+ 'pisell2.event.calendar.call-to-book': string;
250
+ 'pisell2.event.calendar.email-to-book': string;
251
+ 'pisell2.event.close.title': string;
252
+ 'pisell2.event.close.tip': string;
253
+ 'pisell2.event.close.continue': string;
254
+ 'pisell2.event.close.exit': string;
255
+ 'pisell2.appointment.step': (step: number) => string;
256
+ 'pisell2.event.select.category': (val: string) => string;
257
+ 'pisell2.event.select.event': string;
258
+ 'pisell2.event.select.campus': (val: string) => string;
259
+ 'pisell2.event.cart': string;
260
+ 'pisell2.event.total': string;
261
+ 'pisell2.event.total.gst': (val: string, amount: any) => string;
262
+ 'pisell2.event.continue': string;
263
+ 'pisell2.event.details': string;
264
+ 'pisell2.event.introduction': string;
265
+ 'pisell2.event.schedule': string;
266
+ 'pisell2.event.teacher': string;
267
+ 'pisell2.event.campus': string;
268
+ 'pisell2.event.resource': string;
269
+ 'pisell2.event.booking.options': string;
270
+ 'pisell2.event.add.to.cart': string;
271
+ 'pisell2.event.description': string;
272
+ 'pisell2.event.view.more': string;
273
+ 'pisell2.event.view.less': string;
274
+ 'pisell2.event.holder.modal.title': string;
275
+ 'pisell2.event.confirm': string;
276
+ 'pisell2.event.confirm.information': string;
277
+ 'pisell2.event.confirm.information.tip': string;
278
+ 'pisell2.event.confirm.information.other': string;
279
+ 'pisell2.event.add.others': string;
280
+ 'pisell2.event.checkout': string;
281
+ 'pisell2.event.edit.event': string;
282
+ 'pisell2.event.remove': string;
283
+ 'pisell2.event.option': string;
284
+ 'pisell2.event.order.items.error.title': string;
285
+ 'pisell2.event.order.items.error.tip': (val: number) => string;
286
+ 'pisell2.event.order.items.error.proceed': string;
287
+ 'pisell2.event.order.items.error.return': string;
288
+ 'pisell2.event.order.items.error.back': string;
289
+ 'pisell2.event.order.items.error.continue': string;
290
+ 'pisell2.event.order.items.error.all.tip': string;
291
+ 'pisell2.event.remove.title': string;
292
+ 'pisell2.event.remove.tip': string;
293
+ 'pisell2.event.remove.cancel': string;
294
+ 'pisell2.event.create': string;
295
+ 'pisell2.event.search': string;
296
+ 'pisell2.event.empty.service': string;
297
+ 'pisell2.event.title': (val: number) => string;
298
+ 'pisell2.event.create.form': string;
299
+ 'pisell2.event.empty.event': string;
300
+ 'pisell2.event.error.holder': string;
301
+ 'pisell2.event.price.from': string;
302
+ 'pisell2.event.empty.holder.title': string;
303
+ 'pisell2.event.empty.holder.tip': string;
304
+ 'pisell2.event.empty.holder.continue.tip': string;
305
+ 'pisell2.event.empty.holder.go.back': string;
306
+ 'pisell2.event.empty.holder.continue.anyway': string;
307
+ 'pisell2.event.event.full.title': string;
308
+ 'pisell2.event.event.full.tip': string;
309
+ 'pisell2.event.event.full.ok': string;
310
+ 'pisell2.event.capacity.limit.reached.title': string;
311
+ 'pisell2.event.capacity.limit.reached.tip': string;
312
+ 'pisell2.appointment.booking.empty.service': string;
313
+ 'pisell2.appointment.booking.empty.data': string;
314
+ 'pisell2.appointment.booking.empty.time': string;
315
+ 'pisell2.appointment.service.title': (val: number) => string;
316
+ 'pisell2.appointment.add.guest': string;
317
+ 'pisell2.appointment.edit.service': string;
318
+ 'pisell2.appointment.remove.guest': string;
319
+ 'pisell2.appointment.no.available.service': string;
320
+ 'pisell2.appointment.max.guest': string;
321
+ 'pisell2.appointment.no.available.time': string;
322
+ 'pisell2.appointment.monday': string;
323
+ 'pisell2.appointment.tuesday': string;
324
+ 'pisell2.appointment.wednesday': string;
325
+ 'pisell2.appointment.thursday': string;
326
+ 'pisell2.appointment.friday': string;
327
+ 'pisell2.appointment.saturday': string;
328
+ 'pisell2.appointment.sunday': string;
329
+ 'pisell2.appointment.any.professional': string;
330
+ 'pisell2.appointment.for.maximum.availability': string;
331
+ 'pisell2.appointment.deposit': string;
332
+ 'pisell2.appointment.deposit.agreed': string;
333
+ 'pisell2.appointment.deposit.agree.policy': string;
334
+ 'pisell2.appointment.deposit.and': string;
335
+ 'pisell2.appointment.deposit.amount.tip1': string;
336
+ 'pisell2.appointment.deposit.amount.tip2': string;
337
+ 'pisell2.appointment.deposit.close': string;
338
+ 'pisell2.appointment.tips': string;
339
+ 'pisell2.appointment.tips.content': string;
340
+ 'pisell2.appointment.fill-form': string;
341
+ 'pisell2.appointment.select.holder': (val: string) => string;
342
+ 'pisell2.appointment.select.time': string;
343
+ 'pisell2.appointment.unselect.time': string;
344
+ 'pisell2.appointment.unselect.date': string;
345
+ 'pisell2.appointment.unuse.date': string;
346
+ 'pisell2.appointment.add-guests': string;
347
+ 'pisell2.appointment.policy': string;
348
+ 'pisell2.appointment.policy.confirm': string;
349
+ 'pisell2.appointment.resource.tip': (val: string) => string;
350
+ 'pisell2.text.apply': string;
351
+ 'pisell2.text.goodpass': string;
352
+ 'pisell2.text.goodpass.product-vouchers': string;
353
+ 'pisell2.text.goodpass.view-more': string;
354
+ 'pisell2.text.goodpass.code': string;
355
+ 'pisell2.text.goodpass.enter-code': string;
356
+ 'pisell2.text.goodpass.code-invalid': string;
357
+ 'pisell2.text.goodpass.code-invalid-cart': string;
358
+ 'pisell2.text.goodpass.login': string;
359
+ 'pisell2.text.goodpass.login-tip': string;
360
+ 'pisell2.text.contact-info.title': string;
361
+ };
362
+ };
363
+ export default _default;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { AuthMethodsProps } from './types';
3
+ import './SettingList.less';
4
+ declare const SettingList: React.FC<AuthMethodsProps>;
5
+ export default SettingList;
@@ -0,0 +1,22 @@
1
+ import React from 'react';
2
+ import { AuthMethod } from './types';
3
+ import { EmailSettings, PhoneSettings, DefaultSettings, PasswordRulesSettings } from './components';
4
+ import './SettingsDrawer.less';
5
+ interface SettingsDrawerProps {
6
+ open: boolean;
7
+ method: AuthMethod | null;
8
+ onClose: () => void;
9
+ onSave?: (settings: EmailSettings | PhoneSettings | DefaultSettings | PasswordRulesSettings) => void;
10
+ /**
11
+ * 模式:
12
+ * - 'auth-methods': 来自AuthMethods组件,显示所有设置包括启用/禁用
13
+ * - 'setting-list': 来自SettingList组件,不显示默认的启用/禁用设置
14
+ */
15
+ mode?: 'auth-methods' | 'setting-list';
16
+ /**
17
+ * 初始设置值
18
+ */
19
+ initialSettings?: EmailSettings | PhoneSettings | DefaultSettings | PasswordRulesSettings;
20
+ }
21
+ declare const SettingsDrawer: React.FC<SettingsDrawerProps>;
22
+ export default SettingsDrawer;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { AuthMethod } from '../types';
3
+ interface DefaultSettingsContentProps {
4
+ method: AuthMethod;
5
+ onSettingsChange?: (settings: DefaultSettings) => void;
6
+ }
7
+ export interface DefaultSettings {
8
+ enabled: boolean;
9
+ }
10
+ declare const DefaultSettingsContent: React.FC<DefaultSettingsContentProps>;
11
+ export default DefaultSettingsContent;
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { LoginMethod } from './LoginMethodsList';
3
+ interface EmailSettingsContentProps {
4
+ onSettingsChange?: (settings: EmailSettings) => void;
5
+ initialSettings?: EmailSettings;
6
+ }
7
+ export interface EmailSettings {
8
+ enableRegistration: boolean;
9
+ verificationType: 'link' | 'code';
10
+ loginMethods: LoginMethod[];
11
+ }
12
+ declare const EmailSettingsContent: React.FC<EmailSettingsContentProps>;
13
+ export default EmailSettingsContent;
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ export interface LoginMethod {
3
+ id: string;
4
+ title: string;
5
+ description: string;
6
+ enabled: boolean;
7
+ }
8
+ interface LoginMethodsListProps {
9
+ methods: LoginMethod[];
10
+ onMethodsChange?: (methods: LoginMethod[]) => void;
11
+ }
12
+ declare const LoginMethodsList: React.FC<LoginMethodsListProps>;
13
+ export default LoginMethodsList;
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ interface PasswordRulesSettingsContentProps {
3
+ onSettingsChange?: (settings: PasswordRulesSettings) => void;
4
+ initialSettings?: PasswordRulesSettings;
5
+ }
6
+ export interface PasswordRulesSettings {
7
+ minLength: number;
8
+ requireUppercase: boolean;
9
+ requireLowercase: boolean;
10
+ requireNumbers: boolean;
11
+ requireSpecialChars: boolean;
12
+ }
13
+ declare const PasswordRulesSettingsContent: React.FC<PasswordRulesSettingsContentProps>;
14
+ export default PasswordRulesSettingsContent;
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { LoginMethod } from './LoginMethodsList';
3
+ interface PhoneSettingsContentProps {
4
+ onSettingsChange?: (settings: PhoneSettings) => void;
5
+ initialSettings?: PhoneSettings;
6
+ }
7
+ export interface PhoneSettings {
8
+ enableRegistration: boolean;
9
+ verificationType: 'sms';
10
+ loginMethods: LoginMethod[];
11
+ }
12
+ declare const PhoneSettingsContent: React.FC<PhoneSettingsContentProps>;
13
+ export default PhoneSettingsContent;
@@ -0,0 +1,10 @@
1
+ export { default as LoginMethodsList } from './LoginMethodsList';
2
+ export type { LoginMethod } from './LoginMethodsList';
3
+ export { default as EmailSettingsContent } from './EmailSettingsContent';
4
+ export type { EmailSettings } from './EmailSettingsContent';
5
+ export { default as PhoneSettingsContent } from './PhoneSettingsContent';
6
+ export type { PhoneSettings } from './PhoneSettingsContent';
7
+ export { default as DefaultSettingsContent } from './DefaultSettingsContent';
8
+ export type { DefaultSettings } from './DefaultSettingsContent';
9
+ export { default as PasswordRulesSettingsContent } from './PasswordRulesSettingsContent';
10
+ export type { PasswordRulesSettings } from './PasswordRulesSettingsContent';