@pisell/private-materials 6.2.50 → 6.2.52

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 (836) 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 +145 -143
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +24 -9
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +24 -9
  11. package/es/components/Sales/Event/Detail.js +4 -3
  12. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -1
  13. package/es/components/appointmentBooking/components/Cart/Item/index.js +3 -2
  14. package/es/components/appointmentBooking/components/ConfirmInformation/index.js +273 -76
  15. package/es/components/appointmentBooking/components/ConfirmInformation/index.less +15 -0
  16. package/es/components/appointmentBooking/components/Services/index.js +22 -8
  17. package/es/components/appointmentBooking/hooks.d.ts +1 -0
  18. package/es/components/appointmentBooking/hooks.js +35 -30
  19. package/es/components/appointmentBooking/locales.d.ts +3 -0
  20. package/es/components/appointmentBooking/locales.js +9 -6
  21. package/es/components/authentication/admin/AuthMethods/AuthMethods.less +136 -0
  22. package/es/components/authentication/admin/AuthMethods/SettingList.d.ts +5 -0
  23. package/es/components/authentication/admin/AuthMethods/SettingList.js +62 -0
  24. package/es/components/authentication/admin/AuthMethods/SettingList.less +85 -0
  25. package/es/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +22 -0
  26. package/es/components/authentication/admin/AuthMethods/SettingsDrawer.js +121 -0
  27. package/es/components/authentication/admin/AuthMethods/SettingsDrawer.less +163 -0
  28. package/es/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
  29. package/es/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.js +15 -0
  30. package/es/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +13 -0
  31. package/es/components/authentication/admin/AuthMethods/components/EmailSettingsContent.js +152 -0
  32. package/es/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
  33. package/es/components/authentication/admin/AuthMethods/components/LoginMethodsList.js +114 -0
  34. package/es/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +14 -0
  35. package/es/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.js +170 -0
  36. package/es/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +13 -0
  37. package/es/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.js +116 -0
  38. package/es/components/authentication/admin/AuthMethods/components/index.d.ts +10 -0
  39. package/es/components/authentication/admin/AuthMethods/components/index.js +5 -0
  40. package/es/components/authentication/admin/AuthMethods/constants.d.ts +22 -0
  41. package/es/components/authentication/admin/AuthMethods/constants.js +121 -0
  42. package/es/components/authentication/admin/AuthMethods/index.d.ts +8 -0
  43. package/es/components/authentication/admin/AuthMethods/index.js +233 -0
  44. package/es/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
  45. package/es/components/authentication/admin/AuthMethods/locales.js +290 -0
  46. package/es/components/authentication/admin/AuthMethods/types.d.ts +76 -0
  47. package/es/components/authentication/admin/AuthMethods/types.js +23 -0
  48. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/AuthenticationMethods.less +231 -0
  49. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
  50. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.js +447 -0
  51. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
  52. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.js +107 -0
  53. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
  54. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.js +1 -0
  55. package/es/components/authentication/admin/ChannelAuthSetting/ChannelAuthSetting.less +111 -0
  56. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/CollectInfo.less +259 -0
  57. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
  58. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.js +530 -0
  59. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
  60. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.js +86 -0
  61. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
  62. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.js +1 -0
  63. package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
  64. package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.js +460 -0
  65. package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.less +111 -0
  66. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/PageSetting.less +105 -0
  67. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/index.d.ts +8 -0
  68. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/index.js +185 -0
  69. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
  70. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.js +32 -0
  71. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
  72. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/types.js +1 -0
  73. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/PageSettingItem.less +272 -0
  74. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +8 -0
  75. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.js +214 -0
  76. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
  77. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.js +71 -0
  78. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
  79. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.js +1 -0
  80. package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
  81. package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.js +287 -0
  82. package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.less +111 -0
  83. package/es/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
  84. package/es/components/authentication/admin/ChannelAuthSetting/index.js +228 -0
  85. package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
  86. package/es/components/authentication/admin/ChannelAuthSetting/locales.js +50 -0
  87. package/es/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
  88. package/es/components/authentication/admin/ChannelAuthSetting/types.js +1 -0
  89. package/es/components/authentication/admin/CustomerAuth/CustomerAuth.less +104 -0
  90. package/es/components/authentication/admin/CustomerAuth/index.d.ts +6 -0
  91. package/es/components/authentication/admin/CustomerAuth/index.js +711 -0
  92. package/es/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
  93. package/es/components/authentication/admin/CustomerAuth/locales.js +86 -0
  94. package/es/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
  95. package/es/components/authentication/admin/CustomerAuth/types.js +1 -0
  96. package/es/components/authentication/admin/CustomerOAuthConfig/CustomerOAuthConfig.less +164 -0
  97. package/es/components/authentication/admin/CustomerOAuthConfig/index.d.ts +6 -0
  98. package/es/components/authentication/admin/CustomerOAuthConfig/index.js +545 -0
  99. package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
  100. package/es/components/authentication/admin/CustomerOAuthConfig/locales.js +137 -0
  101. package/es/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
  102. package/es/components/authentication/admin/CustomerOAuthConfig/types.js +1 -0
  103. package/es/components/authentication/admin/DeviceAuth/DeviceAuth.less +104 -0
  104. package/es/components/authentication/admin/DeviceAuth/index.d.ts +6 -0
  105. package/es/components/authentication/admin/DeviceAuth/index.js +366 -0
  106. package/es/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
  107. package/es/components/authentication/admin/DeviceAuth/locales.js +74 -0
  108. package/es/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
  109. package/es/components/authentication/admin/DeviceAuth/types.js +1 -0
  110. package/es/components/authentication/admin/OAuthConfig/OAuthConfig.less +165 -0
  111. package/es/components/authentication/admin/OAuthConfig/index.d.ts +6 -0
  112. package/es/components/authentication/admin/OAuthConfig/index.js +347 -0
  113. package/es/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
  114. package/es/components/authentication/admin/OAuthConfig/locales.js +116 -0
  115. package/es/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
  116. package/es/components/authentication/admin/OAuthConfig/types.js +1 -0
  117. package/es/components/authentication/admin/OrgAdminAuth/OrgAdminAuth.less +104 -0
  118. package/es/components/authentication/admin/OrgAdminAuth/index.d.ts +6 -0
  119. package/es/components/authentication/admin/OrgAdminAuth/index.js +543 -0
  120. package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
  121. package/es/components/authentication/admin/OrgAdminAuth/locales.js +74 -0
  122. package/es/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
  123. package/es/components/authentication/admin/OrgAdminAuth/types.js +1 -0
  124. package/es/components/authentication/admin/POSOperatorAuth/POSOperatorAuth.less +104 -0
  125. package/es/components/authentication/admin/POSOperatorAuth/index.d.ts +6 -0
  126. package/es/components/authentication/admin/POSOperatorAuth/index.js +374 -0
  127. package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
  128. package/es/components/authentication/admin/POSOperatorAuth/locales.js +65 -0
  129. package/es/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
  130. package/es/components/authentication/admin/POSOperatorAuth/types.js +1 -0
  131. package/es/components/authentication/admin/SaaSAdminAuth/SaaSAdminAuth.less +104 -0
  132. package/es/components/authentication/admin/SaaSAdminAuth/index.d.ts +6 -0
  133. package/es/components/authentication/admin/SaaSAdminAuth/index.js +625 -0
  134. package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
  135. package/es/components/authentication/admin/SaaSAdminAuth/locales.js +74 -0
  136. package/es/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
  137. package/es/components/authentication/admin/SaaSAdminAuth/types.js +1 -0
  138. package/es/components/authentication/admin/index.d.ts +26 -0
  139. package/es/components/authentication/admin/index.js +23 -0
  140. package/es/components/authentication/index.d.ts +0 -0
  141. package/es/components/authentication/index.js +0 -0
  142. package/es/components/booking/addons/model.d.ts +10 -1
  143. package/es/components/booking/components/TabProduct/index.d.ts +1 -0
  144. package/es/components/booking/components/customSelect/index.js +23 -4
  145. package/es/components/booking/components/footer/index.js +4 -1
  146. package/es/components/booking/components/footer/utils.js +63 -48
  147. package/es/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
  148. package/es/components/booking/forms/footer.js +26 -21
  149. package/es/components/booking/forms/model.d.ts +10 -1
  150. package/es/components/booking/info/client/index.js +28 -13
  151. package/es/components/booking/info/clientVariant/hooks/useClientFn.js +16 -10
  152. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
  153. package/es/components/booking/info/clientVariant/vertical/SelectDrawer.js +10 -2
  154. package/es/components/booking/info/clientVariant/vertical/index.js +1 -1
  155. package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  156. package/es/components/booking/info/main.js +3 -2
  157. package/es/components/booking/info/model.d.ts +10 -1
  158. package/es/components/booking/info/model.js +5 -0
  159. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  160. package/es/components/booking/info/service/like/index.d.ts +1 -0
  161. package/es/components/booking/info2/index.js +3 -2
  162. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  163. package/es/components/booking/info2/service/contactInfoMode/index.d.ts +2 -0
  164. package/es/components/booking/info2/service/contactInfoMode/index.js +94 -0
  165. package/es/components/booking/locales.d.ts +6 -0
  166. package/es/components/booking/locales.js +12 -3
  167. package/es/components/booking/model.d.ts +13 -1
  168. package/es/components/booking/model.js +3 -0
  169. package/es/components/booking/notes/model.d.ts +10 -1
  170. package/es/components/booking/payments/model.d.ts +10 -1
  171. package/es/components/eftpos/deviceList/index.d.ts +1 -0
  172. package/es/components/eftpos/group/index.d.ts +1 -0
  173. package/es/components/eftpos/icon/apiKey.d.ts +1 -0
  174. package/es/components/eftpos/icon/device.d.ts +1 -0
  175. package/es/components/eftpos/receipt/index.d.ts +1 -0
  176. package/es/components/eftposPay/component/alert/warn.d.ts +1 -0
  177. package/es/components/eftposPay/component/header/titlebar.d.ts +1 -0
  178. package/es/components/eftposPay/component/step/index.d.ts +1 -0
  179. package/es/components/eftposPay/component/step/step.d.ts +1 -0
  180. package/es/components/eftposPay/hooks.d.ts +1 -1
  181. package/es/components/eftposPay/linkly/hooks/useTimeQuery.js +43 -13
  182. package/es/components/eftposPay/linkly/index.js +64 -2
  183. package/es/components/eftposPay/payo/config.js +76 -38
  184. package/es/components/eftposPay/payo/payment.d.ts +66 -0
  185. package/es/components/eftposPay/payo/payment.js +579 -0
  186. package/es/components/eftposPay/store/index.d.ts +2 -2
  187. package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
  188. package/es/components/eftposPay/utils/log/index.d.ts +110 -0
  189. package/es/components/eftposPay/utils/log/index.js +371 -0
  190. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  191. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
  192. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
  193. package/es/components/index.d.ts +4 -2
  194. package/es/components/index.js +4 -2
  195. package/es/components/pay/toC/PaymentMethods/ApplePay/index.js +100 -21
  196. package/es/components/pay/toC/PaymentMethods/BankDeposit/index.js +58 -8
  197. package/es/components/pay/toC/PaymentMethods/CashManual/index.js +74 -12
  198. package/es/components/pay/toC/PaymentMethods/CustomPayment/index.js +73 -12
  199. package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.js +93 -11
  200. package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.js +90 -12
  201. package/es/components/pay/toC/PaymentMethods/GlobePayQrcode/index.js +46 -7
  202. package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/index.js +90 -12
  203. package/es/components/pay/toC/PaymentMethods/GooglePay/index.js +107 -28
  204. package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +13 -11
  205. package/es/components/pay/toC/PaymentMethods/OfflinePayment/index.js +73 -8
  206. package/es/components/pay/toC/PaymentMethods/StripePay/index.js +68 -17
  207. package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.js +126 -23
  208. package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.js +89 -15
  209. package/es/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.d.ts +15 -0
  210. package/es/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.js +145 -0
  211. package/es/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.less +44 -0
  212. package/es/components/pay/toC/PaymentMethods/hooks/index.d.ts +19 -0
  213. package/es/components/pay/toC/PaymentMethods/hooks/index.js +126 -0
  214. package/es/components/pay/toC/index.js +290 -123
  215. package/es/components/pay/toC/locales.d.ts +12 -0
  216. package/es/components/pay/toC/locales.js +15 -3
  217. package/es/components/pay/toC/model.d.ts +10 -1
  218. package/es/components/pay/toC/serve.d.ts +5 -0
  219. package/es/components/pay/toC/serve.js +9 -1
  220. package/es/components/pay/toC/status.d.ts +1 -0
  221. package/es/components/pay/toC/status.js +3 -0
  222. package/es/components/productExtension/fields/Forms/index.d.ts +1 -0
  223. package/es/components/schedules/model.d.ts +9 -1
  224. package/es/components/systemSettings/registry/components/GroupModal.d.ts +4 -0
  225. package/es/components/systemSettings/registry/components/GroupModal.js +160 -0
  226. package/es/components/systemSettings/registry/components/ItemModal.d.ts +4 -0
  227. package/es/components/systemSettings/registry/components/ItemModal.js +547 -0
  228. package/es/components/systemSettings/registry/components/ModuleList.d.ts +4 -0
  229. package/es/components/systemSettings/registry/components/ModuleList.js +54 -0
  230. package/es/components/systemSettings/registry/components/SectionList.d.ts +4 -0
  231. package/es/components/systemSettings/registry/components/SectionList.js +174 -0
  232. package/es/components/systemSettings/registry/components/SettingsTable.d.ts +4 -0
  233. package/es/components/systemSettings/registry/components/SettingsTable.js +765 -0
  234. package/es/components/systemSettings/registry/components/index.d.ts +4 -0
  235. package/es/components/systemSettings/registry/components/index.js +4 -0
  236. package/es/components/systemSettings/registry/index.d.ts +5 -0
  237. package/es/components/systemSettings/registry/index.js +1059 -0
  238. package/es/components/systemSettings/registry/index.less +410 -0
  239. package/es/components/systemSettings/registry/locales.d.ts +272 -0
  240. package/es/components/systemSettings/registry/locales.js +300 -0
  241. package/es/components/systemSettings/registry/services.d.ts +77 -0
  242. package/es/components/systemSettings/registry/services.js +472 -0
  243. package/es/components/systemSettings/registry/types.d.ts +126 -0
  244. package/es/components/systemSettings/registry/types.js +1 -0
  245. package/es/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
  246. package/es/components/systemSettings/registry/utils/typeValidation.js +284 -0
  247. package/es/components/systemSettings/registry/utils/validators.d.ts +8 -0
  248. package/es/components/systemSettings/registry/utils/validators.js +44 -0
  249. package/es/components/ticketBooking/components/ticketBooking/index.less +2 -1
  250. package/es/components/ticketBooking/utils/index.d.ts +1 -1
  251. package/es/components/wallet/Detail/model.d.ts +13 -1
  252. package/es/components/wallet/DiscountCard/model.d.ts +14 -1
  253. package/es/components/wallet/PointCard/model.d.ts +13 -1
  254. package/es/components/wallet/RechargeableCard/model.d.ts +29 -1
  255. package/es/components/wallet/Voucher/model.d.ts +13 -1
  256. package/es/components/wallet/model.d.ts +9 -1
  257. package/es/components/walletList/index.d.ts +0 -25
  258. package/es/components/walletList/index.js +93 -61
  259. package/es/components/walletList/serve.d.ts +4 -0
  260. package/es/components/walletList/serve.js +46 -13
  261. package/es/components/walletList/types/index.d.ts +12 -12
  262. package/es/components/walletList/types/index.js +2 -2
  263. package/es/hooks/usePaymentLogger.d.ts +22 -0
  264. package/es/hooks/usePaymentLogger.js +78 -0
  265. package/es/index.d.ts +8 -0
  266. package/es/index.js +8 -1
  267. package/es/plus/clientName/index.d.ts +1 -0
  268. package/es/plus/contactInfo/components/Avatar/index.d.ts +10 -0
  269. package/es/plus/contactInfo/components/Avatar/index.js +30 -0
  270. package/es/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
  271. package/es/plus/contactInfo/components/SwipeAction/index.js +360 -0
  272. package/es/plus/contactInfo/components/SwipeAction/index.less +74 -0
  273. package/es/plus/contactInfo/index.d.ts +6 -0
  274. package/es/plus/contactInfo/index.js +198 -0
  275. package/es/plus/contactInfo/index.less +621 -0
  276. package/es/plus/contactInfo/locales.d.ts +15 -0
  277. package/es/plus/contactInfo/locales.js +14 -0
  278. package/es/plus/contactInfo/types.d.ts +91 -0
  279. package/es/plus/contactInfo/types.js +1 -0
  280. package/es/plus/contactInfo/utils.d.ts +7 -0
  281. package/es/plus/contactInfo/utils.js +50 -0
  282. package/es/plus/contactInfoModal/ContactInfoContent.d.ts +3 -0
  283. package/es/plus/contactInfoModal/ContactInfoContent.js +74 -0
  284. package/es/plus/contactInfoModal/index.d.ts +41 -0
  285. package/es/plus/contactInfoModal/index.js +155 -0
  286. package/es/plus/contactInfoModal/index.less +19 -0
  287. package/es/plus/contactInfoModal/locales.d.ts +66 -0
  288. package/es/plus/contactInfoModal/locales.js +65 -0
  289. package/es/plus/productSelect/CategoryTabs/index.d.ts +2 -0
  290. package/es/plus/productSelect/CategoryTabs/index.js +6 -3
  291. package/es/plus/productSelect/ProductCard/index.d.ts +3 -1
  292. package/es/plus/productSelect/ProductCard/index.js +14 -5
  293. package/es/plus/productSelect/components/TabsStructure/TabsStructure.less +0 -11
  294. package/es/plus/productSelect/index.d.ts +3 -2
  295. package/es/plus/productSelect/index.js +33 -8
  296. package/es/plus/productSelect/index.less +4 -0
  297. package/es/plus/productSelect/utils.js +0 -1
  298. package/es/plus/walletEditor/WalletEditor.d.ts +5 -0
  299. package/es/plus/walletEditor/WalletEditor.js +316 -0
  300. package/es/plus/walletEditor/WalletEditor.less +129 -0
  301. package/es/plus/walletEditor/components/ImageUpload/index.d.ts +8 -0
  302. package/es/plus/walletEditor/components/ImageUpload/index.js +223 -0
  303. package/es/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
  304. package/es/plus/walletEditor/components/JsonEditor/index.js +68 -0
  305. package/es/plus/walletEditor/components/JsonEditor/index.less +4 -0
  306. package/es/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +20 -0
  307. package/es/plus/walletEditor/components/ValidityPeriodSelector/index.js +222 -0
  308. package/es/plus/walletEditor/components/ValidityPeriodSelector/index.less +4 -0
  309. package/es/plus/walletEditor/components/relationProduct/index.d.ts +6 -0
  310. package/es/plus/walletEditor/components/relationProduct/index.js +49 -0
  311. package/es/plus/walletEditor/components/relationProduct/index.less +15 -0
  312. package/es/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +37 -0
  313. package/es/plus/walletEditor/components/sortableWalletPassTypes/index.js +193 -0
  314. package/es/plus/walletEditor/components/sortableWalletPassTypes/index.less +110 -0
  315. package/es/plus/walletEditor/index.d.ts +3 -0
  316. package/es/plus/walletEditor/index.js +3 -0
  317. package/es/plus/walletEditor/locales.d.ts +126 -0
  318. package/es/plus/walletEditor/locales.js +143 -0
  319. package/es/plus/walletEditor/types.d.ts +52 -0
  320. package/es/plus/walletEditor/types.js +1 -0
  321. package/es/plus/walletPassGallery/components/footerButton/index.d.ts +14 -0
  322. package/es/plus/walletPassGallery/components/footerButton/index.js +245 -0
  323. package/es/plus/walletPassGallery/components/footerButton/index.less +48 -0
  324. package/es/plus/walletPassGallery/components/passDetail/index.d.ts +8 -0
  325. package/es/plus/walletPassGallery/components/passDetail/index.js +278 -0
  326. package/es/plus/walletPassGallery/components/passDetail/index.less +61 -0
  327. package/es/plus/walletPassGallery/components/passList/index.d.ts +11 -0
  328. package/es/plus/walletPassGallery/components/passList/index.js +115 -0
  329. package/es/plus/walletPassGallery/components/recharge/index.d.ts +11 -0
  330. package/es/plus/walletPassGallery/components/recharge/index.js +145 -0
  331. package/es/plus/walletPassGallery/components/recharge/index.less +16 -0
  332. package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +8 -0
  333. package/es/plus/walletPassGallery/components/timelineSection/index.js +176 -0
  334. package/es/plus/walletPassGallery/components/timelineSection/index.less +67 -0
  335. package/es/plus/walletPassGallery/components/usageRule/index.d.ts +9 -0
  336. package/es/plus/walletPassGallery/components/usageRule/index.js +248 -0
  337. package/es/plus/walletPassGallery/components/usageRule/index.less +157 -0
  338. package/es/plus/walletPassGallery/index.d.ts +6 -0
  339. package/es/plus/walletPassGallery/index.js +604 -0
  340. package/es/plus/walletPassGallery/index.less +115 -0
  341. package/es/plus/walletPassGallery/locales.d.ts +270 -0
  342. package/es/plus/walletPassGallery/locales.js +279 -0
  343. package/es/plus/walletPassGallery/serve.d.ts +218 -0
  344. package/es/plus/walletPassGallery/serve.js +289 -0
  345. package/es/pro/Login2.0/AuthModal.d.ts +143 -0
  346. package/es/pro/Login2.0/AuthModal.js +630 -0
  347. package/es/pro/Login2.0/Login2.d.ts +61 -0
  348. package/es/pro/Login2.0/Login2.js +2236 -0
  349. package/es/pro/Login2.0/Register2.d.ts +65 -0
  350. package/es/pro/Login2.0/Register2.js +1502 -0
  351. package/es/pro/Login2.0/components/ForgotPasswordFlow.d.ts +31 -0
  352. package/es/pro/Login2.0/components/ForgotPasswordFlow.js +330 -0
  353. package/es/pro/Login2.0/components/LegalTerms.d.ts +8 -0
  354. package/es/pro/Login2.0/components/LegalTerms.js +51 -0
  355. package/es/pro/Login2.0/components/LegalTerms.less +74 -0
  356. package/es/pro/Login2.0/components/LoginCodeInput.d.ts +27 -0
  357. package/es/pro/Login2.0/components/LoginCodeInput.js +207 -0
  358. package/es/pro/Login2.0/components/OAuthButtonGroup.d.ts +22 -0
  359. package/es/pro/Login2.0/components/OAuthButtonGroup.js +55 -0
  360. package/es/pro/Login2.0/components/PhoneInput.d.ts +53 -0
  361. package/es/pro/Login2.0/components/PhoneInput.js +414 -0
  362. package/es/pro/Login2.0/components/PhoneInput.less +148 -0
  363. package/es/pro/Login2.0/components/phoneValidation.d.ts +17 -0
  364. package/es/pro/Login2.0/components/phoneValidation.js +228 -0
  365. package/es/pro/Login2.0/hooks/index.d.ts +2 -0
  366. package/es/pro/Login2.0/hooks/index.js +1 -0
  367. package/es/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +24 -0
  368. package/es/pro/Login2.0/hooks/usePasswordValidationRules.js +87 -0
  369. package/es/pro/Login2.0/hooks/useRegisterFlow.d.ts +39 -0
  370. package/es/pro/Login2.0/hooks/useRegisterFlow.js +158 -0
  371. package/es/pro/Login2.0/hooks/useRegistrationMethods.d.ts +9 -0
  372. package/es/pro/Login2.0/hooks/useRegistrationMethods.js +31 -0
  373. package/es/pro/Login2.0/index.js +8 -0
  374. package/es/pro/Login2.0/index.less +1009 -0
  375. package/es/pro/Login2.0/locales.d.ts +543 -0
  376. package/es/pro/Login2.0/locales.js +622 -0
  377. package/es/pro/Login2.0/shared/Header.d.ts +11 -0
  378. package/es/pro/Login2.0/shared/Header.js +42 -0
  379. package/es/pro/Login2.0/shared/OAuthButtons.d.ts +11 -0
  380. package/es/pro/Login2.0/shared/OAuthButtons.js +59 -0
  381. package/es/pro/Login2.0/shared/registerFlow.d.ts +116 -0
  382. package/es/pro/Login2.0/shared/registerFlow.js +171 -0
  383. package/es/pro/Login2.0/shared/types.d.ts +232 -0
  384. package/es/pro/Login2.0/shared/types.js +1 -0
  385. package/es/pro/Login2.0/steps/CodeInput.d.ts +24 -0
  386. package/es/pro/Login2.0/steps/CodeInput.js +209 -0
  387. package/es/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +12 -0
  388. package/es/pro/Login2.0/steps/EmailAlreadyRegistered.js +35 -0
  389. package/es/pro/Login2.0/steps/EmailLinkAlreadyUsed.d.ts +7 -0
  390. package/es/pro/Login2.0/steps/EmailLinkAlreadyUsed.js +25 -0
  391. package/es/pro/Login2.0/steps/EmailLinkExpired.d.ts +9 -0
  392. package/es/pro/Login2.0/steps/EmailLinkExpired.js +33 -0
  393. package/es/pro/Login2.0/steps/SetPassword.d.ts +19 -0
  394. package/es/pro/Login2.0/steps/SetPassword.js +148 -0
  395. package/es/pro/Login2.0/steps/VerificationSuccess.d.ts +8 -0
  396. package/es/pro/Login2.0/steps/VerificationSuccess.js +35 -0
  397. package/es/pro/Login2.0/steps/VerifyingEmailLink.d.ts +7 -0
  398. package/es/pro/Login2.0/steps/VerifyingEmailLink.js +17 -0
  399. package/es/pro/Login2.0/steps/WaitEmailLink.d.ts +18 -0
  400. package/es/pro/Login2.0/steps/WaitEmailLink.js +54 -0
  401. package/es/pro/Login2.0/steps/index.d.ts +19 -0
  402. package/es/pro/Login2.0/steps/index.js +11 -0
  403. package/es/pro/Login2.0/steps/steps.less +423 -0
  404. package/es/pro/Login2.0/types.d.ts +167 -0
  405. package/es/pro/Login2.0/types.js +1 -0
  406. package/es/pro/pisellPaymentList/example.d.ts +20 -0
  407. package/es/pro/pisellPaymentList/example.js +434 -0
  408. package/lib/components/Sales/Event/Detail.js +3 -2
  409. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -1
  410. package/lib/components/appointmentBooking/components/Cart/Item/index.js +5 -3
  411. package/lib/components/appointmentBooking/components/ConfirmInformation/index.js +156 -13
  412. package/lib/components/appointmentBooking/components/ConfirmInformation/index.less +15 -0
  413. package/lib/components/appointmentBooking/components/Services/index.js +8 -3
  414. package/lib/components/appointmentBooking/hooks.d.ts +1 -0
  415. package/lib/components/appointmentBooking/hooks.js +76 -35
  416. package/lib/components/appointmentBooking/locales.d.ts +3 -0
  417. package/lib/components/appointmentBooking/locales.js +6 -3
  418. package/lib/components/authentication/admin/AuthMethods/AuthMethods.less +136 -0
  419. package/lib/components/authentication/admin/AuthMethods/SettingList.d.ts +5 -0
  420. package/lib/components/authentication/admin/AuthMethods/SettingList.js +75 -0
  421. package/lib/components/authentication/admin/AuthMethods/SettingList.less +85 -0
  422. package/lib/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +22 -0
  423. package/lib/components/authentication/admin/AuthMethods/SettingsDrawer.js +126 -0
  424. package/lib/components/authentication/admin/AuthMethods/SettingsDrawer.less +163 -0
  425. package/lib/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
  426. package/lib/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.js +42 -0
  427. package/lib/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +13 -0
  428. package/lib/components/authentication/admin/AuthMethods/components/EmailSettingsContent.js +108 -0
  429. package/lib/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
  430. package/lib/components/authentication/admin/AuthMethods/components/LoginMethodsList.js +108 -0
  431. package/lib/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +14 -0
  432. package/lib/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.js +93 -0
  433. package/lib/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +13 -0
  434. package/lib/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.js +85 -0
  435. package/lib/components/authentication/admin/AuthMethods/components/index.d.ts +10 -0
  436. package/lib/components/authentication/admin/AuthMethods/components/index.js +51 -0
  437. package/lib/components/authentication/admin/AuthMethods/constants.d.ts +22 -0
  438. package/lib/components/authentication/admin/AuthMethods/constants.js +115 -0
  439. package/lib/components/authentication/admin/AuthMethods/index.d.ts +8 -0
  440. package/lib/components/authentication/admin/AuthMethods/index.js +196 -0
  441. package/lib/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
  442. package/lib/components/authentication/admin/AuthMethods/locales.js +314 -0
  443. package/lib/components/authentication/admin/AuthMethods/types.d.ts +76 -0
  444. package/lib/components/authentication/admin/AuthMethods/types.js +53 -0
  445. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/AuthenticationMethods.less +231 -0
  446. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
  447. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.js +311 -0
  448. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
  449. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.js +131 -0
  450. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
  451. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.js +17 -0
  452. package/lib/components/authentication/admin/ChannelAuthSetting/ChannelAuthSetting.less +111 -0
  453. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/CollectInfo.less +259 -0
  454. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
  455. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.js +410 -0
  456. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
  457. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.js +110 -0
  458. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
  459. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.js +17 -0
  460. package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
  461. package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.js +383 -0
  462. package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.less +111 -0
  463. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/PageSetting.less +105 -0
  464. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/index.d.ts +8 -0
  465. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/index.js +148 -0
  466. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
  467. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.js +56 -0
  468. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
  469. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/types.js +17 -0
  470. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/PageSettingItem.less +272 -0
  471. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +8 -0
  472. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.js +206 -0
  473. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
  474. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.js +95 -0
  475. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
  476. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.js +17 -0
  477. package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
  478. package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.js +246 -0
  479. package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.less +111 -0
  480. package/lib/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
  481. package/lib/components/authentication/admin/ChannelAuthSetting/index.js +177 -0
  482. package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
  483. package/lib/components/authentication/admin/ChannelAuthSetting/locales.js +74 -0
  484. package/lib/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
  485. package/lib/components/authentication/admin/ChannelAuthSetting/types.js +17 -0
  486. package/lib/components/authentication/admin/CustomerAuth/CustomerAuth.less +104 -0
  487. package/lib/components/authentication/admin/CustomerAuth/index.d.ts +6 -0
  488. package/lib/components/authentication/admin/CustomerAuth/index.js +507 -0
  489. package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
  490. package/lib/components/authentication/admin/CustomerAuth/locales.js +110 -0
  491. package/lib/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
  492. package/lib/components/authentication/admin/CustomerAuth/types.js +17 -0
  493. package/lib/components/authentication/admin/CustomerOAuthConfig/CustomerOAuthConfig.less +164 -0
  494. package/lib/components/authentication/admin/CustomerOAuthConfig/index.d.ts +6 -0
  495. package/lib/components/authentication/admin/CustomerOAuthConfig/index.js +331 -0
  496. package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
  497. package/lib/components/authentication/admin/CustomerOAuthConfig/locales.js +161 -0
  498. package/lib/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
  499. package/lib/components/authentication/admin/CustomerOAuthConfig/types.js +17 -0
  500. package/lib/components/authentication/admin/DeviceAuth/DeviceAuth.less +104 -0
  501. package/lib/components/authentication/admin/DeviceAuth/index.d.ts +6 -0
  502. package/lib/components/authentication/admin/DeviceAuth/index.js +254 -0
  503. package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
  504. package/lib/components/authentication/admin/DeviceAuth/locales.js +98 -0
  505. package/lib/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
  506. package/lib/components/authentication/admin/DeviceAuth/types.js +17 -0
  507. package/lib/components/authentication/admin/OAuthConfig/OAuthConfig.less +165 -0
  508. package/lib/components/authentication/admin/OAuthConfig/index.d.ts +6 -0
  509. package/lib/components/authentication/admin/OAuthConfig/index.js +226 -0
  510. package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
  511. package/lib/components/authentication/admin/OAuthConfig/locales.js +140 -0
  512. package/lib/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
  513. package/lib/components/authentication/admin/OAuthConfig/types.js +17 -0
  514. package/lib/components/authentication/admin/OrgAdminAuth/OrgAdminAuth.less +104 -0
  515. package/lib/components/authentication/admin/OrgAdminAuth/index.d.ts +6 -0
  516. package/lib/components/authentication/admin/OrgAdminAuth/index.js +398 -0
  517. package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
  518. package/lib/components/authentication/admin/OrgAdminAuth/locales.js +98 -0
  519. package/lib/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
  520. package/lib/components/authentication/admin/OrgAdminAuth/types.js +17 -0
  521. package/lib/components/authentication/admin/POSOperatorAuth/POSOperatorAuth.less +104 -0
  522. package/lib/components/authentication/admin/POSOperatorAuth/index.d.ts +6 -0
  523. package/lib/components/authentication/admin/POSOperatorAuth/index.js +262 -0
  524. package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
  525. package/lib/components/authentication/admin/POSOperatorAuth/locales.js +89 -0
  526. package/lib/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
  527. package/lib/components/authentication/admin/POSOperatorAuth/types.js +17 -0
  528. package/lib/components/authentication/admin/SaaSAdminAuth/SaaSAdminAuth.less +104 -0
  529. package/lib/components/authentication/admin/SaaSAdminAuth/index.d.ts +6 -0
  530. package/lib/components/authentication/admin/SaaSAdminAuth/index.js +481 -0
  531. package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
  532. package/lib/components/authentication/admin/SaaSAdminAuth/locales.js +98 -0
  533. package/lib/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
  534. package/lib/components/authentication/admin/SaaSAdminAuth/types.js +17 -0
  535. package/lib/components/authentication/admin/index.d.ts +26 -0
  536. package/lib/components/authentication/admin/index.js +83 -0
  537. package/lib/components/authentication/index.d.ts +0 -0
  538. package/lib/components/authentication/index.js +0 -0
  539. package/lib/components/booking/addons/model.d.ts +10 -1
  540. package/lib/components/booking/components/TabProduct/index.d.ts +1 -0
  541. package/lib/components/booking/components/customSelect/index.js +27 -4
  542. package/lib/components/booking/components/footer/index.js +4 -1
  543. package/lib/components/booking/components/footer/utils.js +67 -36
  544. package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
  545. package/lib/components/booking/forms/footer.js +26 -14
  546. package/lib/components/booking/forms/model.d.ts +10 -1
  547. package/lib/components/booking/info/client/index.js +14 -1
  548. package/lib/components/booking/info/clientVariant/hooks/useClientFn.js +7 -2
  549. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
  550. package/lib/components/booking/info/clientVariant/vertical/SelectDrawer.js +11 -4
  551. package/lib/components/booking/info/clientVariant/vertical/index.js +34 -17
  552. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  553. package/lib/components/booking/info/main.js +5 -4
  554. package/lib/components/booking/info/model.d.ts +10 -1
  555. package/lib/components/booking/info/model.js +5 -0
  556. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  557. package/lib/components/booking/info/service/like/index.d.ts +1 -0
  558. package/lib/components/booking/info2/index.js +5 -4
  559. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  560. package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +2 -0
  561. package/lib/components/booking/info2/service/contactInfoMode/index.js +111 -0
  562. package/lib/components/booking/locales.d.ts +6 -0
  563. package/lib/components/booking/locales.js +12 -3
  564. package/lib/components/booking/model.d.ts +13 -1
  565. package/lib/components/booking/model.js +3 -0
  566. package/lib/components/booking/notes/model.d.ts +10 -1
  567. package/lib/components/booking/payments/model.d.ts +10 -1
  568. package/lib/components/eftpos/deviceList/index.d.ts +1 -0
  569. package/lib/components/eftpos/group/index.d.ts +1 -0
  570. package/lib/components/eftpos/icon/apiKey.d.ts +1 -0
  571. package/lib/components/eftpos/icon/device.d.ts +1 -0
  572. package/lib/components/eftpos/receipt/index.d.ts +1 -0
  573. package/lib/components/eftposPay/component/alert/warn.d.ts +1 -0
  574. package/lib/components/eftposPay/component/header/titlebar.d.ts +1 -0
  575. package/lib/components/eftposPay/component/step/index.d.ts +1 -0
  576. package/lib/components/eftposPay/component/step/step.d.ts +1 -0
  577. package/lib/components/eftposPay/hooks.d.ts +1 -1
  578. package/lib/components/eftposPay/linkly/hooks/useTimeQuery.js +49 -11
  579. package/lib/components/eftposPay/linkly/index.js +31 -1
  580. package/lib/components/eftposPay/payo/config.js +98 -73
  581. package/lib/components/eftposPay/payo/payment.d.ts +66 -0
  582. package/lib/components/eftposPay/payo/payment.js +357 -0
  583. package/lib/components/eftposPay/store/index.d.ts +2 -2
  584. package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
  585. package/lib/components/eftposPay/utils/log/index.d.ts +110 -0
  586. package/lib/components/eftposPay/utils/log/index.js +294 -0
  587. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  588. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
  589. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
  590. package/lib/components/index.d.ts +4 -2
  591. package/lib/components/index.js +23 -1
  592. package/lib/components/pay/toC/PaymentMethods/ApplePay/index.js +67 -8
  593. package/lib/components/pay/toC/PaymentMethods/BankDeposit/index.js +52 -15
  594. package/lib/components/pay/toC/PaymentMethods/CashManual/index.js +60 -2
  595. package/lib/components/pay/toC/PaymentMethods/CustomPayment/index.js +60 -2
  596. package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.js +66 -2
  597. package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.js +61 -0
  598. package/lib/components/pay/toC/PaymentMethods/GlobePayQrcode/index.js +29 -0
  599. package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/index.js +61 -0
  600. package/lib/components/pay/toC/PaymentMethods/GooglePay/index.js +77 -9
  601. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +13 -11
  602. package/lib/components/pay/toC/PaymentMethods/OfflinePayment/index.js +72 -10
  603. package/lib/components/pay/toC/PaymentMethods/StripePay/index.js +47 -5
  604. package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.js +90 -6
  605. package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.js +63 -3
  606. package/lib/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.d.ts +15 -0
  607. package/lib/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.js +88 -0
  608. package/lib/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.less +44 -0
  609. package/lib/components/pay/toC/PaymentMethods/hooks/index.d.ts +19 -0
  610. package/lib/components/pay/toC/PaymentMethods/hooks/index.js +90 -0
  611. package/lib/components/pay/toC/index.js +198 -51
  612. package/lib/components/pay/toC/locales.d.ts +12 -0
  613. package/lib/components/pay/toC/locales.js +15 -3
  614. package/lib/components/pay/toC/model.d.ts +10 -1
  615. package/lib/components/pay/toC/serve.d.ts +5 -0
  616. package/lib/components/pay/toC/serve.js +3 -0
  617. package/lib/components/pay/toC/status.d.ts +1 -0
  618. package/lib/components/pay/toC/status.js +5 -0
  619. package/lib/components/productExtension/fields/Forms/index.d.ts +1 -0
  620. package/lib/components/schedules/model.d.ts +9 -1
  621. package/lib/components/systemSettings/registry/components/GroupModal.d.ts +4 -0
  622. package/lib/components/systemSettings/registry/components/GroupModal.js +177 -0
  623. package/lib/components/systemSettings/registry/components/ItemModal.d.ts +4 -0
  624. package/lib/components/systemSettings/registry/components/ItemModal.js +508 -0
  625. package/lib/components/systemSettings/registry/components/ModuleList.d.ts +4 -0
  626. package/lib/components/systemSettings/registry/components/ModuleList.js +71 -0
  627. package/lib/components/systemSettings/registry/components/SectionList.d.ts +4 -0
  628. package/lib/components/systemSettings/registry/components/SectionList.js +181 -0
  629. package/lib/components/systemSettings/registry/components/SettingsTable.d.ts +4 -0
  630. package/lib/components/systemSettings/registry/components/SettingsTable.js +575 -0
  631. package/lib/components/systemSettings/registry/components/index.d.ts +4 -0
  632. package/lib/components/systemSettings/registry/components/index.js +48 -0
  633. package/lib/components/systemSettings/registry/index.d.ts +5 -0
  634. package/lib/components/systemSettings/registry/index.js +529 -0
  635. package/lib/components/systemSettings/registry/index.less +410 -0
  636. package/lib/components/systemSettings/registry/locales.d.ts +272 -0
  637. package/lib/components/systemSettings/registry/locales.js +324 -0
  638. package/lib/components/systemSettings/registry/services.d.ts +77 -0
  639. package/lib/components/systemSettings/registry/services.js +290 -0
  640. package/lib/components/systemSettings/registry/types.d.ts +126 -0
  641. package/lib/components/systemSettings/registry/types.js +17 -0
  642. package/lib/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
  643. package/lib/components/systemSettings/registry/utils/typeValidation.js +228 -0
  644. package/lib/components/systemSettings/registry/utils/validators.d.ts +8 -0
  645. package/lib/components/systemSettings/registry/utils/validators.js +54 -0
  646. package/lib/components/ticketBooking/components/ticketBooking/index.less +2 -1
  647. package/lib/components/ticketBooking/utils/index.d.ts +1 -1
  648. package/lib/components/wallet/Detail/model.d.ts +13 -1
  649. package/lib/components/wallet/DiscountCard/model.d.ts +14 -1
  650. package/lib/components/wallet/PointCard/model.d.ts +13 -1
  651. package/lib/components/wallet/RechargeableCard/model.d.ts +29 -1
  652. package/lib/components/wallet/Voucher/model.d.ts +13 -1
  653. package/lib/components/wallet/model.d.ts +9 -1
  654. package/lib/components/walletList/index.d.ts +0 -25
  655. package/lib/components/walletList/index.js +88 -47
  656. package/lib/components/walletList/serve.d.ts +4 -0
  657. package/lib/components/walletList/serve.js +12 -0
  658. package/lib/components/walletList/types/index.d.ts +12 -12
  659. package/lib/hooks/usePaymentLogger.d.ts +22 -0
  660. package/lib/hooks/usePaymentLogger.js +69 -0
  661. package/lib/index.d.ts +8 -0
  662. package/lib/index.js +41 -0
  663. package/lib/plus/clientName/index.d.ts +1 -0
  664. package/lib/plus/contactInfo/components/Avatar/index.d.ts +10 -0
  665. package/lib/plus/contactInfo/components/Avatar/index.js +56 -0
  666. package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
  667. package/lib/plus/contactInfo/components/SwipeAction/index.js +373 -0
  668. package/lib/plus/contactInfo/components/SwipeAction/index.less +74 -0
  669. package/lib/plus/contactInfo/index.d.ts +6 -0
  670. package/lib/plus/contactInfo/index.js +226 -0
  671. package/lib/plus/contactInfo/index.less +621 -0
  672. package/lib/plus/contactInfo/locales.d.ts +15 -0
  673. package/lib/plus/contactInfo/locales.js +38 -0
  674. package/lib/plus/contactInfo/types.d.ts +91 -0
  675. package/lib/plus/contactInfo/types.js +17 -0
  676. package/lib/plus/contactInfo/utils.d.ts +7 -0
  677. package/lib/plus/contactInfo/utils.js +64 -0
  678. package/lib/plus/contactInfoModal/ContactInfoContent.d.ts +3 -0
  679. package/lib/plus/contactInfoModal/ContactInfoContent.js +129 -0
  680. package/lib/plus/contactInfoModal/index.d.ts +41 -0
  681. package/lib/plus/contactInfoModal/index.js +139 -0
  682. package/lib/plus/contactInfoModal/index.less +19 -0
  683. package/lib/plus/contactInfoModal/locales.d.ts +66 -0
  684. package/lib/plus/contactInfoModal/locales.js +89 -0
  685. package/lib/plus/productSelect/CategoryTabs/index.d.ts +2 -0
  686. package/lib/plus/productSelect/CategoryTabs/index.js +84 -69
  687. package/lib/plus/productSelect/ProductCard/index.d.ts +3 -1
  688. package/lib/plus/productSelect/ProductCard/index.js +18 -4
  689. package/lib/plus/productSelect/components/TabsStructure/TabsStructure.less +0 -11
  690. package/lib/plus/productSelect/index.d.ts +3 -2
  691. package/lib/plus/productSelect/index.js +20 -6
  692. package/lib/plus/productSelect/index.less +4 -0
  693. package/lib/plus/productSelect/utils.js +0 -1
  694. package/lib/plus/walletEditor/WalletEditor.d.ts +5 -0
  695. package/lib/plus/walletEditor/WalletEditor.js +354 -0
  696. package/lib/plus/walletEditor/WalletEditor.less +129 -0
  697. package/lib/plus/walletEditor/components/ImageUpload/index.d.ts +8 -0
  698. package/lib/plus/walletEditor/components/ImageUpload/index.js +201 -0
  699. package/lib/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
  700. package/lib/plus/walletEditor/components/JsonEditor/index.js +89 -0
  701. package/lib/plus/walletEditor/components/JsonEditor/index.less +4 -0
  702. package/lib/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +20 -0
  703. package/lib/plus/walletEditor/components/ValidityPeriodSelector/index.js +176 -0
  704. package/lib/plus/walletEditor/components/ValidityPeriodSelector/index.less +4 -0
  705. package/lib/plus/walletEditor/components/relationProduct/index.d.ts +6 -0
  706. package/lib/plus/walletEditor/components/relationProduct/index.js +73 -0
  707. package/lib/plus/walletEditor/components/relationProduct/index.less +15 -0
  708. package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +37 -0
  709. package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.js +211 -0
  710. package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.less +110 -0
  711. package/lib/plus/walletEditor/index.d.ts +3 -0
  712. package/lib/plus/walletEditor/index.js +42 -0
  713. package/lib/plus/walletEditor/locales.d.ts +126 -0
  714. package/lib/plus/walletEditor/locales.js +167 -0
  715. package/lib/plus/walletEditor/types.d.ts +52 -0
  716. package/lib/plus/walletEditor/types.js +17 -0
  717. package/lib/plus/walletPassGallery/components/footerButton/index.d.ts +14 -0
  718. package/lib/plus/walletPassGallery/components/footerButton/index.js +187 -0
  719. package/lib/plus/walletPassGallery/components/footerButton/index.less +48 -0
  720. package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +8 -0
  721. package/lib/plus/walletPassGallery/components/passDetail/index.js +290 -0
  722. package/lib/plus/walletPassGallery/components/passDetail/index.less +61 -0
  723. package/lib/plus/walletPassGallery/components/passList/index.d.ts +11 -0
  724. package/lib/plus/walletPassGallery/components/passList/index.js +136 -0
  725. package/lib/plus/walletPassGallery/components/recharge/index.d.ts +11 -0
  726. package/lib/plus/walletPassGallery/components/recharge/index.js +152 -0
  727. package/lib/plus/walletPassGallery/components/recharge/index.less +16 -0
  728. package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +8 -0
  729. package/lib/plus/walletPassGallery/components/timelineSection/index.js +212 -0
  730. package/lib/plus/walletPassGallery/components/timelineSection/index.less +67 -0
  731. package/lib/plus/walletPassGallery/components/usageRule/index.d.ts +9 -0
  732. package/lib/plus/walletPassGallery/components/usageRule/index.js +209 -0
  733. package/lib/plus/walletPassGallery/components/usageRule/index.less +157 -0
  734. package/lib/plus/walletPassGallery/index.d.ts +6 -0
  735. package/lib/plus/walletPassGallery/index.js +500 -0
  736. package/lib/plus/walletPassGallery/index.less +115 -0
  737. package/lib/plus/walletPassGallery/locales.d.ts +270 -0
  738. package/lib/plus/walletPassGallery/locales.js +299 -0
  739. package/lib/plus/walletPassGallery/serve.d.ts +218 -0
  740. package/lib/plus/walletPassGallery/serve.js +98 -0
  741. package/lib/pro/Login2.0/AuthModal.d.ts +143 -0
  742. package/lib/pro/Login2.0/AuthModal.js +503 -0
  743. package/lib/pro/Login2.0/Login2.d.ts +61 -0
  744. package/lib/pro/Login2.0/Login2.js +1545 -0
  745. package/lib/pro/Login2.0/Register2.d.ts +65 -0
  746. package/lib/pro/Login2.0/Register2.js +1063 -0
  747. package/lib/pro/Login2.0/components/ForgotPasswordFlow.d.ts +31 -0
  748. package/lib/pro/Login2.0/components/ForgotPasswordFlow.js +213 -0
  749. package/lib/pro/Login2.0/components/LegalTerms.d.ts +8 -0
  750. package/lib/pro/Login2.0/components/LegalTerms.js +76 -0
  751. package/lib/pro/Login2.0/components/LegalTerms.less +74 -0
  752. package/lib/pro/Login2.0/components/LoginCodeInput.d.ts +27 -0
  753. package/lib/pro/Login2.0/components/LoginCodeInput.js +161 -0
  754. package/lib/pro/Login2.0/components/OAuthButtonGroup.d.ts +22 -0
  755. package/lib/pro/Login2.0/components/OAuthButtonGroup.js +87 -0
  756. package/lib/pro/Login2.0/components/PhoneInput.d.ts +53 -0
  757. package/lib/pro/Login2.0/components/PhoneInput.js +263 -0
  758. package/lib/pro/Login2.0/components/PhoneInput.less +148 -0
  759. package/lib/pro/Login2.0/components/phoneValidation.d.ts +17 -0
  760. package/lib/pro/Login2.0/components/phoneValidation.js +153 -0
  761. package/lib/pro/Login2.0/hooks/index.d.ts +2 -0
  762. package/lib/pro/Login2.0/hooks/index.js +29 -0
  763. package/lib/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +24 -0
  764. package/lib/pro/Login2.0/hooks/usePasswordValidationRules.js +140 -0
  765. package/lib/pro/Login2.0/hooks/useRegisterFlow.d.ts +39 -0
  766. package/lib/pro/Login2.0/hooks/useRegisterFlow.js +149 -0
  767. package/lib/pro/Login2.0/hooks/useRegistrationMethods.d.ts +9 -0
  768. package/lib/pro/Login2.0/hooks/useRegistrationMethods.js +51 -0
  769. package/lib/pro/Login2.0/index.js +45 -0
  770. package/lib/pro/Login2.0/index.less +1009 -0
  771. package/lib/pro/Login2.0/locales.d.ts +543 -0
  772. package/lib/pro/Login2.0/locales.js +646 -0
  773. package/lib/pro/Login2.0/shared/Header.d.ts +11 -0
  774. package/lib/pro/Login2.0/shared/Header.js +81 -0
  775. package/lib/pro/Login2.0/shared/OAuthButtons.d.ts +11 -0
  776. package/lib/pro/Login2.0/shared/OAuthButtons.js +78 -0
  777. package/lib/pro/Login2.0/shared/registerFlow.d.ts +116 -0
  778. package/lib/pro/Login2.0/shared/registerFlow.js +235 -0
  779. package/lib/pro/Login2.0/shared/types.d.ts +232 -0
  780. package/lib/pro/Login2.0/shared/types.js +17 -0
  781. package/lib/pro/Login2.0/steps/CodeInput.d.ts +24 -0
  782. package/lib/pro/Login2.0/steps/CodeInput.js +160 -0
  783. package/lib/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +12 -0
  784. package/lib/pro/Login2.0/steps/EmailAlreadyRegistered.js +46 -0
  785. package/lib/pro/Login2.0/steps/EmailLinkAlreadyUsed.d.ts +7 -0
  786. package/lib/pro/Login2.0/steps/EmailLinkAlreadyUsed.js +51 -0
  787. package/lib/pro/Login2.0/steps/EmailLinkExpired.d.ts +9 -0
  788. package/lib/pro/Login2.0/steps/EmailLinkExpired.js +51 -0
  789. package/lib/pro/Login2.0/steps/SetPassword.d.ts +19 -0
  790. package/lib/pro/Login2.0/steps/SetPassword.js +131 -0
  791. package/lib/pro/Login2.0/steps/VerificationSuccess.d.ts +8 -0
  792. package/lib/pro/Login2.0/steps/VerificationSuccess.js +49 -0
  793. package/lib/pro/Login2.0/steps/VerifyingEmailLink.d.ts +7 -0
  794. package/lib/pro/Login2.0/steps/VerifyingEmailLink.js +41 -0
  795. package/lib/pro/Login2.0/steps/WaitEmailLink.d.ts +18 -0
  796. package/lib/pro/Login2.0/steps/WaitEmailLink.js +67 -0
  797. package/lib/pro/Login2.0/steps/index.d.ts +19 -0
  798. package/lib/pro/Login2.0/steps/index.js +60 -0
  799. package/lib/pro/Login2.0/steps/steps.less +423 -0
  800. package/lib/pro/Login2.0/types.d.ts +167 -0
  801. package/lib/pro/Login2.0/types.js +17 -0
  802. package/lib/pro/pisellPaymentList/example.d.ts +20 -0
  803. package/lib/pro/pisellPaymentList/example.js +416 -0
  804. package/lowcode/admin-auth-customer-auth/meta.ts +29 -0
  805. package/lowcode/admin-auth-customer-oauth-config/meta.ts +55 -0
  806. package/lowcode/admin-auth-device-auth/meta.ts +30 -0
  807. package/lowcode/admin-auth-methods/meta.ts +385 -0
  808. package/lowcode/admin-auth-oauth-config/meta.ts +29 -0
  809. package/lowcode/admin-auth-online-shop-auth/meta.ts +29 -0
  810. package/lowcode/admin-auth-org-admin-auth/meta.ts +29 -0
  811. package/lowcode/admin-auth-pos-operator-auth/meta.ts +30 -0
  812. package/lowcode/admin-auth-saas-admin-auth/meta.ts +29 -0
  813. package/lowcode/admin-auth-saas-managerment-auth/meta.ts +30 -0
  814. package/lowcode/admin-setting-list/meta.ts +125 -0
  815. package/lowcode/authmodal/meta.ts +395 -0
  816. package/lowcode/contact-info/fragments/cardStyle.ts +68 -0
  817. package/lowcode/contact-info/fragments/nameStyle.ts +33 -0
  818. package/lowcode/contact-info/fragments/pisellAvatar.ts +103 -0
  819. package/lowcode/contact-info/fragments/textStyle.ts +33 -0
  820. package/lowcode/contact-info/meta.ts +199 -0
  821. package/lowcode/contact-info-modal/meta.ts +98 -0
  822. package/lowcode/login2/CONFIG.md +447 -0
  823. package/lowcode/login2/TEST_CONFIG.md +324 -0
  824. package/lowcode/login2/VERIFICATION_METHODS.md +364 -0
  825. package/lowcode/login2/meta.ts +560 -0
  826. package/lowcode/login2/snippets.ts +124 -0
  827. package/lowcode/pro-register/meta.ts +385 -0
  828. package/lowcode/register2/meta.ts +562 -0
  829. package/lowcode/register2/snippets.ts +257 -0
  830. package/lowcode/settings-registry/meta.ts +29 -0
  831. package/lowcode/sortable-wallet-pass-types/meta.ts +267 -0
  832. package/lowcode/wallet-editor/meta.ts +57 -0
  833. package/lowcode/wallet-editor/snippets.ts +13 -0
  834. package/lowcode/wallet-pass-gallery/meta.ts +35 -0
  835. package/package.json +7 -5
  836. package/lowcode/wallet/meta.ts +0 -79
@@ -0,0 +1,74 @@
1
+ export default {
2
+ en: {
3
+ // Page title and description
4
+ 'saas.admin.auth.title': 'SaaS Platform Admin Authentication',
5
+ 'saas.admin.auth.description': 'Configure authentication methods for your SaaS platform admin portal and other administrative channels.',
6
+ // Auth Methods section
7
+ 'saas.admin.auth.methods.title': 'Auth Methods',
8
+ 'saas.admin.auth.methods.description': 'Configure authentication methods that will be available for SaaS platform admins. Drag to reorder by priority.',
9
+ // Password Settings section
10
+ 'saas.admin.password.settings.title': 'Password Settings',
11
+ 'saas.admin.password.settings.description': 'Configure password requirements specifically for SaaS platform admin accounts. These rules apply to all platform administrative users.',
12
+ // Buttons
13
+ 'auth.button.cancel': 'Cancel',
14
+ 'auth.button.save': 'Save',
15
+ 'auth.button.settings': 'Settings',
16
+ // Messages
17
+ 'auth.save.success': 'Settings saved successfully',
18
+ 'auth.save.error': 'Failed to save settings',
19
+ // OAuth configuration
20
+ 'auth.oauth.config.message': 'Configure OAuth settings in Auth Configuration page first',
21
+ 'auth.oauth.config.link': 'click to config',
22
+ // Category badges
23
+ 'auth.category.general': 'General',
24
+ 'auth.category.oauth': 'OAuth'
25
+ },
26
+ 'zh-CN': {
27
+ // Page title and description
28
+ 'saas.admin.auth.title': 'SaaS平台管理员认证',
29
+ 'saas.admin.auth.description': '为您的SaaS平台管理员门户和其他管理渠道配置认证方法。',
30
+ // Auth Methods section
31
+ 'saas.admin.auth.methods.title': '认证方法',
32
+ 'saas.admin.auth.methods.description': '配置SaaS平台管理员可用的认证方法。拖动以调整优先级。',
33
+ // Password Settings section
34
+ 'saas.admin.password.settings.title': '密码设置',
35
+ 'saas.admin.password.settings.description': '专门为SaaS平台管理员账户配置密码要求。这些规则适用于所有平台管理用户。',
36
+ // Buttons
37
+ 'auth.button.cancel': '取消',
38
+ 'auth.button.save': '保存',
39
+ 'auth.button.settings': '设置',
40
+ // Messages
41
+ 'auth.save.success': '保存成功',
42
+ 'auth.save.error': '保存失败',
43
+ // OAuth configuration
44
+ 'auth.oauth.config.message': '请先在OAuth配置页面中配置OAuth设置',
45
+ 'auth.oauth.config.link': '点击配置',
46
+ // Category badges
47
+ 'auth.category.general': '通用',
48
+ 'auth.category.oauth': 'OAuth'
49
+ },
50
+ 'zh-HK': {
51
+ // Page title and description
52
+ 'saas.admin.auth.title': 'SaaS平台管理員認證',
53
+ 'saas.admin.auth.description': '為您的SaaS平台管理員門戶和其他管理渠道配置認證方法。',
54
+ // Auth Methods section
55
+ 'saas.admin.auth.methods.title': '認證方法',
56
+ 'saas.admin.auth.methods.description': '配置SaaS平台管理員可用的認證方法。拖動以調整優先級。',
57
+ // Password Settings section
58
+ 'saas.admin.password.settings.title': '密碼設置',
59
+ 'saas.admin.password.settings.description': '專門為SaaS平台管理員賬戶配置密碼要求。這些規則適用於所有平台管理用戶。',
60
+ // Buttons
61
+ 'auth.button.cancel': '取消',
62
+ 'auth.button.save': '保存',
63
+ 'auth.button.settings': '設置',
64
+ // Messages
65
+ 'auth.save.success': '保存成功',
66
+ 'auth.save.error': '保存失敗',
67
+ // OAuth configuration
68
+ 'auth.oauth.config.message': '請先在OAuth配置頁面中配置OAuth設置',
69
+ 'auth.oauth.config.link': '點擊配置',
70
+ // Category badges
71
+ 'auth.category.general': '通用',
72
+ 'auth.category.oauth': 'OAuth'
73
+ }
74
+ };
@@ -0,0 +1,16 @@
1
+ /// <reference types="react" />
2
+ import { AuthMethod } from '../AuthMethods/types';
3
+ export interface SaaSAdminAuthProps {
4
+ /**
5
+ * 自定义类名
6
+ */
7
+ className?: string;
8
+ /**
9
+ * 自定义样式
10
+ */
11
+ style?: React.CSSProperties;
12
+ /**
13
+ * 保存回调
14
+ */
15
+ onSave?: (authMethods: AuthMethod[], passwordRules: any) => void;
16
+ }
@@ -0,0 +1,26 @@
1
+ export type { AuthMethodsProps, AuthMethod } from './AuthMethods';
2
+ export { AuthMethodType, AuthMethodCategory } from './AuthMethods';
3
+ export { default as ChannelAuthSetting } from './ChannelAuthSetting';
4
+ export type { ChannelAuthSettingProps, ChannelAuthSettingValue, TabKey } from './ChannelAuthSetting';
5
+ export { default as PageSetting } from './ChannelAuthSetting/PageSetting';
6
+ export { default as PageSettingItem } from './ChannelAuthSetting/PageSettingItem';
7
+ export { default as AuthenticationMethods } from './ChannelAuthSetting/AuthenticationMethods';
8
+ export { default as CollectInfo } from './ChannelAuthSetting/CollectInfo';
9
+ export type { PageSettingProps, PageSettingValue, } from './ChannelAuthSetting/PageSetting/types';
10
+ export type { PageSettingItemProps, PageSettingItemValue, TermsCondition, TranslationValue as PageTranslationValue, } from './ChannelAuthSetting/PageSettingItem/types';
11
+ export type { AuthenticationMethodsProps, AuthenticationMethodsValue, GlobalAuthMethod, AuthenticationMethod, AuthenticationSettingsMode, } from './ChannelAuthSetting/AuthenticationMethods/types';
12
+ export type { CollectInfoProps, CollectInfoValue, AccountField, CustomerFormItem, TranslationValue as CollectInfoTranslationValue, } from './ChannelAuthSetting/CollectInfo/types';
13
+ export type { SaaSAdminAuthProps } from './SaaSAdminAuth';
14
+ export type { OrgAdminAuthProps } from './OrgAdminAuth';
15
+ export type { DeviceAuthProps } from './DeviceAuth';
16
+ export type { POSOperatorAuthProps } from './POSOperatorAuth';
17
+ export type { CustomerOAuthConfigProps } from './CustomerOAuthConfig';
18
+ export { default as SaaSAdminAuth } from './SaaSAdminAuth';
19
+ export { default as OrgAdminAuth } from './OrgAdminAuth';
20
+ export { default as OAuthConfig } from './OAuthConfig';
21
+ export { default as CustomerAuth } from './CustomerAuth';
22
+ export { default as CustomerOAuthConfig } from './CustomerOAuthConfig';
23
+ export { default as DeviceAuth } from './DeviceAuth';
24
+ export { default as POSOperatorAuth } from './POSOperatorAuth';
25
+ export { default as OnlineShopAuth } from './ChannelAuthSetting/OnlineShopAuth';
26
+ export { default as SaaSManagermentAuth } from './ChannelAuthSetting/SaaSManagermentAuth';
@@ -0,0 +1,23 @@
1
+ // export { default as AuthMethods, SettingList } from './AuthMethods';
2
+
3
+ export { AuthMethodType, AuthMethodCategory } from "./AuthMethods";
4
+
5
+ // ChannelAuthSetting 主组件
6
+ export { default as ChannelAuthSetting } from "./ChannelAuthSetting";
7
+ // ChannelAuthSetting 子组件
8
+ export { default as PageSetting } from "./ChannelAuthSetting/PageSetting";
9
+ export { default as PageSettingItem } from "./ChannelAuthSetting/PageSettingItem";
10
+ export { default as AuthenticationMethods } from "./ChannelAuthSetting/AuthenticationMethods";
11
+ export { default as CollectInfo } from "./ChannelAuthSetting/CollectInfo";
12
+
13
+ // ChannelAuthSetting 类型
14
+
15
+ export { default as SaaSAdminAuth } from "./SaaSAdminAuth";
16
+ export { default as OrgAdminAuth } from "./OrgAdminAuth";
17
+ export { default as OAuthConfig } from "./OAuthConfig";
18
+ export { default as CustomerAuth } from "./CustomerAuth";
19
+ export { default as CustomerOAuthConfig } from "./CustomerOAuthConfig";
20
+ export { default as DeviceAuth } from "./DeviceAuth";
21
+ export { default as POSOperatorAuth } from "./POSOperatorAuth";
22
+ export { default as OnlineShopAuth } from "./ChannelAuthSetting/OnlineShopAuth";
23
+ export { default as SaaSManagermentAuth } from "./ChannelAuthSetting/SaaSManagermentAuth";
File without changes
File without changes
@@ -1 +1,10 @@
1
- export declare const Provider: any, Context: any;
1
+ /// <reference types="react" />
2
+ import { FormState } from "../model";
3
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
+ state: FormState;
5
+ } & {
6
+ dispatch: (params: {
7
+ type: string;
8
+ payload: any;
9
+ }) => void;
10
+ }>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  interface TabProductProps {
3
4
  list: any[];
@@ -270,15 +270,34 @@ var CustomSelect = function CustomSelect(props, ref) {
270
270
  var renderList = useMemo(function () {
271
271
  var _list = _toConsumableArray(options);
272
272
  if (search) {
273
- var isIncludes = function isIncludes(str) {
274
- return str.toLowerCase().indexOf(search.toLowerCase()) !== -1;
273
+ var isIncludes = function isIncludes(item) {
274
+ try {
275
+ var q = search.toLowerCase();
276
+ var numericKeys = Object.keys(item).filter(function (k) {
277
+ return /^\d+$/.test(k);
278
+ });
279
+ var customerKeys = ['customer_nickname', 'customer_first_name', 'customer_last_name', 'customer_phone', 'customer_email'];
280
+ var allKeys = [].concat(_toConsumableArray(numericKeys), customerKeys);
281
+ return allKeys.some(function (k) {
282
+ var val = item[k];
283
+ if (val === null || val === undefined) return false;
284
+ try {
285
+ var str = JSON.stringify(val);
286
+ return str.includes(q) || str.toLocaleLowerCase().includes(q);
287
+ } catch (error) {
288
+ return false;
289
+ }
290
+ });
291
+ } catch (e) {
292
+ return false;
293
+ }
275
294
  };
276
295
  _list = _list.filter(function (d) {
277
296
  // 自定义搜索
278
297
  if (filterItem) {
279
298
  return filterItem(d, search);
280
299
  }
281
- return isIncludes(d.main_field || '');
300
+ return isIncludes(d);
282
301
  });
283
302
  }
284
303
  return _list;
@@ -424,7 +443,7 @@ var CustomSelect = function CustomSelect(props, ref) {
424
443
  marginTop: 16,
425
444
  height: 44
426
445
  },
427
- placeholder: locales.getText('pisell2.text.search'),
446
+ placeholder: locales.getText('pisell2.booking.text.search-placeholder'),
428
447
  value: search,
429
448
  allowClear: true,
430
449
  onChange: function onChange(e) {
@@ -185,7 +185,7 @@ var Footer = function Footer(props) {
185
185
 
186
186
  // info 是否有编辑
187
187
  var infoEdit = useMemo(function () {
188
- var _state$client, _state$date, _state$pet, _state$service, _state$notes, _state$contacts;
188
+ var _state$client, _state$date, _state$pet, _state$service, _state$notes, _state$contacts, _state$contacts_info;
189
189
  if (!state.bookingId) {
190
190
  return true;
191
191
  }
@@ -207,6 +207,9 @@ var Footer = function Footer(props) {
207
207
  if ((_state$contacts = state.contacts) !== null && _state$contacts !== void 0 && _state$contacts.edit) {
208
208
  return true;
209
209
  }
210
+ if ((_state$contacts_info = state.contacts_info) !== null && _state$contacts_info !== void 0 && _state$contacts_info.edit) {
211
+ return true;
212
+ }
210
213
  return false;
211
214
  }, [state]);
212
215
 
@@ -4,7 +4,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
4
4
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
5
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
6
6
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
- import dayjs from "dayjs";
7
+ import dayjs from 'dayjs';
8
8
  import { flexibleObj, isNowTime, getNowTime } from "../../utils";
9
9
  import { isWalkIn } from "../../utils";
10
10
  import { getSumCapacity } from "../../info2/utilsByBooking";
@@ -12,10 +12,10 @@ import { getDays } from "../../utils";
12
12
  import { appointmentTypes } from "../../info/service2/status";
13
13
  import { isDaysBooking, formatDayTime, isEventBooking, isNormalProductByDurationSchedule, genRowKey } from "../../info/service2/utils";
14
14
  import { isArr, locales, sendWarningLog } from '@pisell/utils';
15
- import { PisellToast } from "@pisell/materials";
15
+ import { PisellToast } from '@pisell/materials';
16
16
  var formatNote = function formatNote(data) {
17
17
  var _data$notes;
18
- return ((_data$notes = data.notes) === null || _data$notes === void 0 ? void 0 : _data$notes.orderNote) || "";
18
+ return ((_data$notes = data.notes) === null || _data$notes === void 0 ? void 0 : _data$notes.orderNote) || '';
19
19
  };
20
20
  var formatCustomer = function formatCustomer(data) {
21
21
  var _data$client, _data$client2, _data$client3, _data$client4, _data$client5, _data$client6;
@@ -34,7 +34,7 @@ var formatCustomer = function formatCustomer(data) {
34
34
 
35
35
  /**
36
36
  * @title: 套餐单规格信息
37
- * @description:
37
+ * @description:
38
38
  * @param {any} option
39
39
  * @return {*}
40
40
  * @Author: zhiwei.Wang
@@ -46,9 +46,9 @@ export var formatProductOption = function formatProductOption(option) {
46
46
  }
47
47
  return option.map(function (d) {
48
48
  return {
49
- "num": d.num,
50
- "option_group_item_id": d.product_option_item_id || d.option_group_item_id,
51
- "option_group_id": d.option_group_id
49
+ num: d.num,
50
+ option_group_item_id: d.product_option_item_id || d.option_group_item_id,
51
+ option_group_id: d.option_group_id
52
52
  // "add_price": Number(d?.add_price),
53
53
  };
54
54
  });
@@ -56,7 +56,7 @@ export var formatProductOption = function formatProductOption(option) {
56
56
 
57
57
  /**
58
58
  * @title: 添加套餐警告
59
- * @description:
59
+ * @description:
60
60
  * @param {any} data
61
61
  * @return {*}
62
62
  * @Author: WangHan
@@ -77,7 +77,7 @@ var log = function log(data) {
77
77
 
78
78
  /**
79
79
  * @title: 套餐信息
80
- * @description:
80
+ * @description:
81
81
  * @param {any} bundle
82
82
  * @return {*}
83
83
  * @Author: zhiwei.Wang
@@ -99,16 +99,16 @@ export var formatProductBundle = function formatProductBundle(bundle) {
99
99
  } catch (error) {}
100
100
  return bundle.map(function (d) {
101
101
  return {
102
- "bundle_group_id": d.group_id,
103
- "bundle_id": d.id,
104
- "bundle_product_id": (d === null || d === void 0 ? void 0 : d._bundle_product_id) || (d === null || d === void 0 ? void 0 : d.product_id),
105
- "bundle_variant_id": d.bundle_variant_id,
106
- "num": d.num,
107
- "extension_id": d.extension_id,
108
- "extension_type": d.extension_type,
102
+ bundle_group_id: d.group_id,
103
+ bundle_id: d.id,
104
+ bundle_product_id: (d === null || d === void 0 ? void 0 : d._bundle_product_id) || (d === null || d === void 0 ? void 0 : d.product_id),
105
+ bundle_variant_id: d.bundle_variant_id,
106
+ num: d.num,
107
+ extension_id: d.extension_id,
108
+ extension_type: d.extension_type,
109
109
  // "price": Number(d?.price),
110
110
  // "price_type": d?.price_type,
111
- "option": formatProductOption(d.option)
111
+ option: formatProductOption(d.option)
112
112
  };
113
113
  });
114
114
  };
@@ -189,7 +189,7 @@ var formatResource = function formatResource(service) {
189
189
 
190
190
  /**
191
191
  * @title: 格式化子预约的holder数据
192
- * @description:
192
+ * @description:
193
193
  * @param {any} state
194
194
  * @param {any} item
195
195
  * @param {any} values
@@ -220,7 +220,7 @@ var formatHolders = function formatHolders(state, item, values) {
220
220
 
221
221
  /**
222
222
  * @title: 格式化商品单价
223
- * @description:
223
+ * @description:
224
224
  * @param {any} item
225
225
  * @return {*}
226
226
  * @Author: WangHan
@@ -250,7 +250,7 @@ export var formatProductPrice = function formatProductPrice(item) {
250
250
  }
251
251
  return price;
252
252
  };
253
- var formatMetaData = function formatMetaData(item) {
253
+ var formatMetaData = function formatMetaData(item, isMultiDayPrices) {
254
254
  var _item$_extend8, _item$_extend9, _item$_extend11;
255
255
  var metadata = {};
256
256
  if ((_item$_extend8 = item._extend) !== null && _item$_extend8 !== void 0 && _item$_extend8.capacity) {
@@ -263,7 +263,7 @@ var formatMetaData = function formatMetaData(item) {
263
263
  var _item$_extend10;
264
264
  metadata.holder_id = (_item$_extend10 = item._extend) === null || _item$_extend10 === void 0 ? void 0 : _item$_extend10.holder_id;
265
265
  }
266
- if ((_item$_extend11 = item._extend) !== null && _item$_extend11 !== void 0 && _item$_extend11.multiDayPrices) {
266
+ if (isMultiDayPrices && (_item$_extend11 = item._extend) !== null && _item$_extend11 !== void 0 && _item$_extend11.multiDayPrices) {
267
267
  var _item$_extend12;
268
268
  metadata.multiDayPrices = (_item$_extend12 = item._extend) === null || _item$_extend12 === void 0 ? void 0 : _item$_extend12.multiDayPrices;
269
269
  }
@@ -304,7 +304,7 @@ var getSourceProductPrice = function getSourceProductPrice(item) {
304
304
 
305
305
  /**
306
306
  * @title: 格式化商品数据
307
- * @description:
307
+ * @description:
308
308
  * @param {any} item
309
309
  * @return {*}
310
310
  * @Author: WangHan
@@ -352,7 +352,7 @@ var formatProducts = function formatProducts(item, quantity) {
352
352
 
353
353
  /**
354
354
  * @title: 格式化跨日预约下的普通商品
355
- * @description:
355
+ * @description:
356
356
  * @param {any} data
357
357
  * @param {any} booking_item
358
358
  * @return {*}
@@ -378,7 +378,7 @@ var formatDayRelationProducts = function formatDayRelationProducts(data, booking
378
378
 
379
379
  /**
380
380
  * @title: 格式化跨日预约商品列表
381
- * @description:
381
+ * @description:
382
382
  * @param {any} data
383
383
  * @return {*}
384
384
  * @Author: WangHan
@@ -428,7 +428,7 @@ var getHolderByIndex = function getHolderByIndex(holder, index) {
428
428
 
429
429
  /**
430
430
  * @title: 预约商品信息
431
- * @description:
431
+ * @description:
432
432
  * @param {any} data
433
433
  * @return {*}
434
434
  * @Author: zhiwei.Wang
@@ -458,7 +458,9 @@ var formatBookings = function formatBookings(data, values) {
458
458
  var dayParams = {};
459
459
  var eventOtherParams = data.eventOtherParams;
460
460
  var bookings = [];
461
+ var obj = {};
461
462
  list.forEach(function (item) {
463
+ var _item$_extend26;
462
464
  // 自定义商品直接使用 _extend 中的数据,并将 id 转换为 0 提交给后端
463
465
  if (item.isCustomItem) {
464
466
  bookings.push(_objectSpread(_objectSpread({}, item._extend), {}, {
@@ -468,8 +470,8 @@ var formatBookings = function formatBookings(data, values) {
468
470
  }
469
471
  var start_date = item._extend.startDate.format('YYYY-MM-DD');
470
472
  var end_date = item._extend.endDate.format('YYYY-MM-DD');
471
- var end_time = item._extend.endDate.format("HH:mm");
472
- var start_time = item._extend.startDate.format("HH:mm");
473
+ var end_time = item._extend.endDate.format('HH:mm');
474
+ var start_time = item._extend.startDate.format('HH:mm');
473
475
 
474
476
  // 更新当前时间
475
477
  if (isNowTime(item._extend.start_time)) {
@@ -503,6 +505,11 @@ var formatBookings = function formatBookings(data, values) {
503
505
  }
504
506
  }, 'minutes');
505
507
  }
508
+
509
+ // 跨日预约处理: 跨日预约所有数据都在list中, 每一组预约通过groupId进行分组
510
+ // 通过obj 记录下每个GroupId第一次出现的时机, 第一次出现需要设置 metadata.multiDayPrices
511
+ // 后续出现不需要设置 metadata.multiDayPrices. 节省体积
512
+ var isSetGroupId = obj[item === null || item === void 0 || (_item$_extend26 = item._extend) === null || _item$_extend26 === void 0 ? void 0 : _item$_extend26.groupId];
506
513
  var booking = _objectSpread(_objectSpread({
507
514
  "product": formatProducts(item),
508
515
  "relation_products": formatRelationDetails(item._extend.relation_details),
@@ -523,20 +530,25 @@ var formatBookings = function formatBookings(data, values) {
523
530
  cacheItem: item
524
531
  }) : item._extend.number || 1,
525
532
  "resources": formatResource(item),
526
- "metadata": formatMetaData(item),
533
+ "metadata": formatMetaData(item, !isSetGroupId),
527
534
  "note": item._extend.note
528
535
  }, eventOtherParams || {}), dayParams);
536
+
537
+ // 记录下每个GroupId第一次出现的时机
538
+ if (!isSetGroupId) {
539
+ obj[item._extend.groupId] = true;
540
+ }
529
541
  if (isDay) {
530
542
  bookings.push(booking);
531
543
  return;
532
544
  }
533
545
  for (var i = 0; i < (item._extend.quantity || 1); i++) {
534
546
  bookings.push(_objectSpread(_objectSpread({}, booking), {}, {
535
- "product": formatProducts(item, 1),
536
- "number": item._extend.capacity ? getSumCapacity({
547
+ product: formatProducts(item, 1),
548
+ number: item._extend.capacity ? getSumCapacity({
537
549
  cacheItem: item
538
550
  }, false) : item._extend.number || 1,
539
- "holder": getHolderByIndex(booking.holder, i)
551
+ holder: getHolderByIndex(booking.holder, i)
540
552
  }));
541
553
  }
542
554
  });
@@ -545,7 +557,7 @@ var formatBookings = function formatBookings(data, values) {
545
557
 
546
558
  /**
547
559
  * @title: 普通商品
548
- * @description:
560
+ * @description:
549
561
  * @param {any} data
550
562
  * @return {*}
551
563
  * @Author: WangHan
@@ -556,10 +568,10 @@ var formatRelationProducts = function formatRelationProducts(data, type) {
556
568
  var list = ((_data$service = data.service) === null || _data$service === void 0 ? void 0 : _data$service.value) || [];
557
569
  // open items 下的商品
558
570
  list = list.filter(function (item) {
559
- var _item$_extend26;
571
+ var _item$_extend27;
560
572
  return (
561
573
  // 跨日预约把普通商品加在relationProducts 活动预约按之前逻辑
562
- type === 'day' ? isNormalProductByDurationSchedule(item) : ((_item$_extend26 = item._extend) === null || _item$_extend26 === void 0 ? void 0 : _item$_extend26.holder_id) && appointmentTypes.includes(item.extension_type)
574
+ type === 'day' ? isNormalProductByDurationSchedule(item) : ((_item$_extend27 = item._extend) === null || _item$_extend27 === void 0 ? void 0 : _item$_extend27.holder_id) && appointmentTypes.includes(item.extension_type)
563
575
  );
564
576
  });
565
577
  var relationProducts = [];
@@ -586,7 +598,7 @@ var formatNormalProducts = function formatNormalProducts(data) {
586
598
 
587
599
  /**
588
600
  * @title: 预约主体信息
589
- * @description:
601
+ * @description:
590
602
  * @param {any} state
591
603
  * @param {any} values
592
604
  * @return {*}
@@ -619,15 +631,15 @@ var formatHolder = function formatHolder(state, values) {
619
631
 
620
632
  // https://menutech.w.eolink.com/home/api-studio/inside/K2bI3n465fe7244b3dbd6679d87caedfbb0636bf8c29eda/api/2778666/detail/53001549?spaceKey=menutech
621
633
  export var formatValues = function formatValues(state) {
622
- var _values, _values3;
634
+ var _values, _values3, _state$contacts_info;
623
635
  var values = {
624
- type: state.renderType === 'eventBooking' ? "event_booking_v2" : "appointment_booking",
625
- platform: state.isBookingTicket2 ? "pos" : "shop",
626
- sales_channel: "my_pisel",
627
- order_sales_channel: state.isBookingTicket2 ? "pos" : "online_store",
636
+ type: state.renderType === 'eventBooking' ? 'event_booking_v2' : 'appointment_booking',
637
+ platform: state.isBookingTicket2 ? 'pos' : 'shop',
638
+ sales_channel: 'my_pisel',
639
+ order_sales_channel: state.isBookingTicket2 ? 'pos' : 'online_store',
628
640
  bookings: [],
629
641
  customer_id: 1,
630
- customer_name: "",
642
+ customer_name: '',
631
643
  holder: {},
632
644
  relation_products: [],
633
645
  metadata: {}
@@ -656,7 +668,7 @@ export var formatValues = function formatValues(state) {
656
668
  // 主体
657
669
  values.holder = formatHolder(state, values);
658
670
  if (isDay || isEvent) {
659
- values.relation_products = formatRelationProducts(state, isDay ? "day" : "event");
671
+ values.relation_products = formatRelationProducts(state, isDay ? 'day' : 'event');
660
672
  } else {
661
673
  var _values$relation_prod;
662
674
  values.relation_products = formatNormalProducts(state);
@@ -685,6 +697,9 @@ export var formatValues = function formatValues(state) {
685
697
  if (!((_values3 = values) !== null && _values3 !== void 0 && (_values3 = _values3.bookings) !== null && _values3 !== void 0 && _values3.length)) {
686
698
  values.type = 'virtual';
687
699
  }
700
+
701
+ // 联系信息
702
+ values.contacts_info = ((_state$contacts_info = state.contacts_info) === null || _state$contacts_info === void 0 ? void 0 : _state$contacts_info.value) || null;
688
703
  return values;
689
704
  };
690
705
 
@@ -693,19 +708,19 @@ export var checkHolderIsError = function checkHolderIsError(state) {
693
708
  var _state$client;
694
709
  var errorRowKey = "";
695
710
  var holderError = state.service.value.some(function (item) {
696
- var _item$_extend28;
711
+ var _item$_extend29;
697
712
  // 普通商品不需要检测holder
698
713
  if (isNormalProductByDurationSchedule(item)) {
699
714
  return false;
700
715
  }
701
716
  if (item._extend.quantity === 1 && !item._extend.holder_id) {
702
- var _item$_extend27;
703
- errorRowKey = genRowKey(item === null || item === void 0 || (_item$_extend27 = item._extend) === null || _item$_extend27 === void 0 || (_item$_extend27 = _item$_extend27.other) === null || _item$_extend27 === void 0 ? void 0 : _item$_extend27.rowKey);
717
+ var _item$_extend28;
718
+ errorRowKey = genRowKey(item === null || item === void 0 || (_item$_extend28 = item._extend) === null || _item$_extend28 === void 0 || (_item$_extend28 = _item$_extend28.other) === null || _item$_extend28 === void 0 ? void 0 : _item$_extend28.rowKey);
704
719
  return true;
705
720
  }
706
- if (item._extend.quantity > 1 && ((_item$_extend28 = item._extend) === null || _item$_extend28 === void 0 || (_item$_extend28 = _item$_extend28.holder_id) === null || _item$_extend28 === void 0 ? void 0 : _item$_extend28.length) !== item._extend.quantity) {
707
- var _item$_extend29;
708
- errorRowKey = genRowKey(item === null || item === void 0 || (_item$_extend29 = item._extend) === null || _item$_extend29 === void 0 || (_item$_extend29 = _item$_extend29.other) === null || _item$_extend29 === void 0 ? void 0 : _item$_extend29.rowKey);
721
+ if (item._extend.quantity > 1 && ((_item$_extend29 = item._extend) === null || _item$_extend29 === void 0 || (_item$_extend29 = _item$_extend29.holder_id) === null || _item$_extend29 === void 0 ? void 0 : _item$_extend29.length) !== item._extend.quantity) {
722
+ var _item$_extend30;
723
+ errorRowKey = genRowKey(item === null || item === void 0 || (_item$_extend30 = item._extend) === null || _item$_extend30 === void 0 || (_item$_extend30 = _item$_extend30.other) === null || _item$_extend30 === void 0 ? void 0 : _item$_extend30.rowKey);
709
724
  return true;
710
725
  }
711
726
  return false;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const FormItemChildrenWrap: (props: any) => JSX.Element;
2
3
  export default FormItemChildrenWrap;
@@ -9,7 +9,7 @@ import useSendModal from "./sendModal/useSendModal";
9
9
  import SendModal from "./sendModal";
10
10
  import { locales } from '@pisell/utils';
11
11
  var Footer = function Footer(_ref) {
12
- var _state$form2, _state$client6, _state$form3, _state$client7;
12
+ var _state$client2, _state$contacts_info2, _state$form, _state$client3;
13
13
  var state = _ref.state,
14
14
  reload = _ref.reload;
15
15
  var _useSendModal = useSendModal(state === null || state === void 0 ? void 0 : state.bookingId),
@@ -37,27 +37,33 @@ var Footer = function Footer(_ref) {
37
37
  return _ref2.apply(this, arguments);
38
38
  };
39
39
  }();
40
-
41
- // 是否都填写完成
42
- var isAllCompleted = useMemo(function () {
43
- var _state$form;
44
- return Object.values((state === null || state === void 0 || (_state$form = state.form) === null || _state$form === void 0 ? void 0 : _state$form.value) || {}).every(function (item) {
45
- return item.length > 0;
46
- });
47
- }, [state === null || state === void 0 || (_state$form2 = state.form) === null || _state$form2 === void 0 ? void 0 : _state$form2.value]);
48
40
  var defaultValues = useMemo(function () {
49
- var _state$client, _state$client2, _state$client3, _state$client4, _state$client5;
41
+ var _state$contacts_info, _state$client;
42
+ // 优先取contacts_info中的phone和email,如果不存在则取客户信息中的phone和email
43
+ var _ref3 = ((_state$contacts_info = state.contacts_info) === null || _state$contacts_info === void 0 ? void 0 : _state$contacts_info.value) || {},
44
+ contactsEmail = _ref3.email,
45
+ contactsPhone = _ref3.phone;
46
+ var _ref4 = ((_state$client = state.client) === null || _state$client === void 0 ? void 0 : _state$client.value) || {},
47
+ clientEmail = _ref4.email,
48
+ clientPhone = _ref4.phone,
49
+ clientCode = _ref4.country_calling_code;
50
+ var email = contactsEmail || clientEmail;
51
+ var phone = (contactsPhone === null || contactsPhone === void 0 ? void 0 : contactsPhone.phone) || clientPhone;
52
+ var code = (contactsPhone === null || contactsPhone === void 0 ? void 0 : contactsPhone.country_calling_code) || clientCode || '+61';
53
+ if (!code.startsWith('+')) {
54
+ code = "+".concat(code);
55
+ }
50
56
  return {
51
- sendSms: !!((_state$client = state.client) !== null && _state$client !== void 0 && (_state$client = _state$client.value) !== null && _state$client !== void 0 && _state$client.phone),
52
- sendEmail: !!((_state$client2 = state.client) !== null && _state$client2 !== void 0 && (_state$client2 = _state$client2.value) !== null && _state$client2 !== void 0 && _state$client2.email),
53
- email: (_state$client3 = state.client) === null || _state$client3 === void 0 || (_state$client3 = _state$client3.value) === null || _state$client3 === void 0 ? void 0 : _state$client3.email,
57
+ sendSms: !!phone,
58
+ sendEmail: !!email,
59
+ email: email,
54
60
  phone: {
55
- code: (_state$client4 = state.client) === null || _state$client4 === void 0 || (_state$client4 = _state$client4.value) === null || _state$client4 === void 0 ? void 0 : _state$client4.country_calling_code,
56
- phone: (_state$client5 = state.client) === null || _state$client5 === void 0 || (_state$client5 = _state$client5.value) === null || _state$client5 === void 0 ? void 0 : _state$client5.phone
61
+ code: code,
62
+ phone: phone
57
63
  }
58
64
  };
59
- }, [(_state$client6 = state.client) === null || _state$client6 === void 0 ? void 0 : _state$client6.value]);
60
- if (!state.bookingId || !(state !== null && state !== void 0 && (_state$form3 = state.form) !== null && _state$form3 !== void 0 && _state$form3.forms.length)) {
65
+ }, [(_state$client2 = state.client) === null || _state$client2 === void 0 ? void 0 : _state$client2.value, (_state$contacts_info2 = state.contacts_info) === null || _state$contacts_info2 === void 0 ? void 0 : _state$contacts_info2.value]);
66
+ if (!state.bookingId || !(state !== null && state !== void 0 && (_state$form = state.form) !== null && _state$form !== void 0 && _state$form.forms.length)) {
61
67
  return null;
62
68
  }
63
69
  return /*#__PURE__*/React.createElement("div", {
@@ -72,10 +78,9 @@ var Footer = function Footer(_ref) {
72
78
  size: "large",
73
79
  block: true,
74
80
  type: "primary",
75
- onClick: handleOpen,
76
- disabled: isAllCompleted
77
- }, !isAllCompleted ? locales.getText('pisell2.text.send-form-reminder') : locales.getText('pisell2.text.send-form-reminder-completed')), /*#__PURE__*/React.createElement(SendModal, {
78
- refreshKey: (_state$client7 = state.client) === null || _state$client7 === void 0 || (_state$client7 = _state$client7.value) === null || _state$client7 === void 0 ? void 0 : _state$client7.id,
81
+ onClick: handleOpen
82
+ }, locales.getText('pisell2.text.send-form-reminder')), open && /*#__PURE__*/React.createElement(SendModal, {
83
+ refreshKey: (_state$client3 = state.client) === null || _state$client3 === void 0 || (_state$client3 = _state$client3.value) === null || _state$client3 === void 0 ? void 0 : _state$client3.id,
79
84
  open: open,
80
85
  onCancel: function onCancel() {
81
86
  return setOpen(false);
@@ -1 +1,10 @@
1
- export declare const Provider: any, Context: any;
1
+ /// <reference types="react" />
2
+ import { FormState } from "../model";
3
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
+ state: FormState;
5
+ } & {
6
+ dispatch: (params: {
7
+ type: string;
8
+ payload: any;
9
+ }) => void;
10
+ }>;