@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,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,83 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+
29
+ // src/components/authentication/admin/index.ts
30
+ var admin_exports = {};
31
+ __export(admin_exports, {
32
+ AuthMethodCategory: () => import_AuthMethods.AuthMethodCategory,
33
+ AuthMethodType: () => import_AuthMethods.AuthMethodType,
34
+ AuthenticationMethods: () => import_AuthenticationMethods.default,
35
+ ChannelAuthSetting: () => import_ChannelAuthSetting.default,
36
+ CollectInfo: () => import_CollectInfo.default,
37
+ CustomerAuth: () => import_CustomerAuth.default,
38
+ CustomerOAuthConfig: () => import_CustomerOAuthConfig.default,
39
+ DeviceAuth: () => import_DeviceAuth.default,
40
+ OAuthConfig: () => import_OAuthConfig.default,
41
+ OnlineShopAuth: () => import_OnlineShopAuth.default,
42
+ OrgAdminAuth: () => import_OrgAdminAuth.default,
43
+ POSOperatorAuth: () => import_POSOperatorAuth.default,
44
+ PageSetting: () => import_PageSetting.default,
45
+ PageSettingItem: () => import_PageSettingItem.default,
46
+ SaaSAdminAuth: () => import_SaaSAdminAuth.default,
47
+ SaaSManagermentAuth: () => import_SaaSManagermentAuth.default
48
+ });
49
+ module.exports = __toCommonJS(admin_exports);
50
+ var import_AuthMethods = require("./AuthMethods");
51
+ var import_ChannelAuthSetting = __toESM(require("./ChannelAuthSetting"));
52
+ var import_PageSetting = __toESM(require("./ChannelAuthSetting/PageSetting"));
53
+ var import_PageSettingItem = __toESM(require("./ChannelAuthSetting/PageSettingItem"));
54
+ var import_AuthenticationMethods = __toESM(require("./ChannelAuthSetting/AuthenticationMethods"));
55
+ var import_CollectInfo = __toESM(require("./ChannelAuthSetting/CollectInfo"));
56
+ var import_SaaSAdminAuth = __toESM(require("./SaaSAdminAuth"));
57
+ var import_OrgAdminAuth = __toESM(require("./OrgAdminAuth"));
58
+ var import_OAuthConfig = __toESM(require("./OAuthConfig"));
59
+ var import_CustomerAuth = __toESM(require("./CustomerAuth"));
60
+ var import_CustomerOAuthConfig = __toESM(require("./CustomerOAuthConfig"));
61
+ var import_DeviceAuth = __toESM(require("./DeviceAuth"));
62
+ var import_POSOperatorAuth = __toESM(require("./POSOperatorAuth"));
63
+ var import_OnlineShopAuth = __toESM(require("./ChannelAuthSetting/OnlineShopAuth"));
64
+ var import_SaaSManagermentAuth = __toESM(require("./ChannelAuthSetting/SaaSManagermentAuth"));
65
+ // Annotate the CommonJS export names for ESM import in node:
66
+ 0 && (module.exports = {
67
+ AuthMethodCategory,
68
+ AuthMethodType,
69
+ AuthenticationMethods,
70
+ ChannelAuthSetting,
71
+ CollectInfo,
72
+ CustomerAuth,
73
+ CustomerOAuthConfig,
74
+ DeviceAuth,
75
+ OAuthConfig,
76
+ OnlineShopAuth,
77
+ OrgAdminAuth,
78
+ POSOperatorAuth,
79
+ PageSetting,
80
+ PageSettingItem,
81
+ SaaSAdminAuth,
82
+ SaaSManagermentAuth
83
+ });
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[];
@@ -165,14 +165,37 @@ var CustomSelect = (props, ref) => {
165
165
  const renderList = (0, import_react.useMemo)(() => {
166
166
  let _list = [...options];
167
167
  if (search) {
168
- const isIncludes = (str) => {
169
- return str.toLowerCase().indexOf(search.toLowerCase()) !== -1;
168
+ const isIncludes = (item) => {
169
+ try {
170
+ const q = search.toLowerCase();
171
+ const numericKeys = Object.keys(item).filter((k) => /^\d+$/.test(k));
172
+ const customerKeys = [
173
+ "customer_nickname",
174
+ "customer_first_name",
175
+ "customer_last_name",
176
+ "customer_phone",
177
+ "customer_email"
178
+ ];
179
+ const allKeys = [...numericKeys, ...customerKeys];
180
+ return allKeys.some((k) => {
181
+ const val = item[k];
182
+ if (val === null || val === void 0) return false;
183
+ try {
184
+ const str = JSON.stringify(val);
185
+ return str.includes(q) || str.toLocaleLowerCase().includes(q);
186
+ } catch (error) {
187
+ return false;
188
+ }
189
+ });
190
+ } catch (e) {
191
+ return false;
192
+ }
170
193
  };
171
194
  _list = _list.filter((d) => {
172
195
  if (filterItem) {
173
196
  return filterItem(d, search);
174
197
  }
175
- return isIncludes(d.main_field || "");
198
+ return isIncludes(d);
176
199
  });
177
200
  }
178
201
  return _list;
@@ -274,7 +297,7 @@ var CustomSelect = (props, ref) => {
274
297
  ref: searchRef,
275
298
  prefix: /* @__PURE__ */ import_react.default.createElement(import_SearchLg.default, null),
276
299
  style: { marginTop: 16, height: 44 },
277
- placeholder: import_utils2.locales.getText("pisell2.text.search"),
300
+ placeholder: import_utils2.locales.getText("pisell2.booking.text.search-placeholder"),
278
301
  value: search,
279
302
  allowClear: true,
280
303
  onChange: (e) => {
@@ -151,7 +151,7 @@ var Footer = (props) => {
151
151
  return false;
152
152
  }, [(_g = state.addons) == null ? void 0 : _g.edit]);
153
153
  const infoEdit = (0, import_react.useMemo)(() => {
154
- var _a2, _b2, _c2, _d2, _e2, _f2;
154
+ var _a2, _b2, _c2, _d2, _e2, _f2, _g2;
155
155
  if (!state.bookingId) {
156
156
  return true;
157
157
  }
@@ -173,6 +173,9 @@ var Footer = (props) => {
173
173
  if ((_f2 = state.contacts) == null ? void 0 : _f2.edit) {
174
174
  return true;
175
175
  }
176
+ if ((_g2 = state.contacts_info) == null ? void 0 : _g2.edit) {
177
+ return true;
178
+ }
176
179
  return false;
177
180
  }, [state]);
178
181
  const isEdit = (0, import_react.useMemo)(() => {
@@ -71,9 +71,9 @@ var formatProductOption = (option) => {
71
71
  }
72
72
  return option.map((d) => {
73
73
  return {
74
- "num": d.num,
75
- "option_group_item_id": d.product_option_item_id || d.option_group_item_id,
76
- "option_group_id": d.option_group_id
74
+ num: d.num,
75
+ option_group_item_id: d.product_option_item_id || d.option_group_item_id,
76
+ option_group_id: d.option_group_id
77
77
  // "add_price": Number(d?.add_price),
78
78
  };
79
79
  });
@@ -92,7 +92,9 @@ var formatProductBundle = (bundle) => {
92
92
  return;
93
93
  }
94
94
  try {
95
- const errorBundles = bundle == null ? void 0 : bundle.filter((d) => !(d == null ? void 0 : d.group_id) || !(d == null ? void 0 : d.id) || !(d == null ? void 0 : d._bundle_product_id));
95
+ const errorBundles = bundle == null ? void 0 : bundle.filter(
96
+ (d) => !(d == null ? void 0 : d.group_id) || !(d == null ? void 0 : d.id) || !(d == null ? void 0 : d._bundle_product_id)
97
+ );
96
98
  if ((errorBundles == null ? void 0 : errorBundles.length) > 0) {
97
99
  log(errorBundles);
98
100
  }
@@ -100,16 +102,16 @@ var formatProductBundle = (bundle) => {
100
102
  }
101
103
  return bundle.map((d) => {
102
104
  return {
103
- "bundle_group_id": d.group_id,
104
- "bundle_id": d.id,
105
- "bundle_product_id": (d == null ? void 0 : d._bundle_product_id) || (d == null ? void 0 : d.product_id),
106
- "bundle_variant_id": d.bundle_variant_id,
107
- "num": d.num,
108
- "extension_id": d.extension_id,
109
- "extension_type": d.extension_type,
105
+ bundle_group_id: d.group_id,
106
+ bundle_id: d.id,
107
+ bundle_product_id: (d == null ? void 0 : d._bundle_product_id) || (d == null ? void 0 : d.product_id),
108
+ bundle_variant_id: d.bundle_variant_id,
109
+ num: d.num,
110
+ extension_id: d.extension_id,
111
+ extension_type: d.extension_type,
110
112
  // "price": Number(d?.price),
111
113
  // "price_type": d?.price_type,
112
- "option": formatProductOption(d.option)
114
+ option: formatProductOption(d.option)
113
115
  };
114
116
  });
115
117
  };
@@ -168,11 +170,14 @@ var formatResource = (service) => {
168
170
  return void 0;
169
171
  }
170
172
  try {
171
- return Object.values(service._extend.resource).reduce((pre, cur) => {
172
- const newList = checkResourcesFormat(cur, service);
173
- pre = pre.concat(newList);
174
- return pre;
175
- }, []);
173
+ return Object.values(service._extend.resource).reduce(
174
+ (pre, cur) => {
175
+ const newList = checkResourcesFormat(cur, service);
176
+ pre = pre.concat(newList);
177
+ return pre;
178
+ },
179
+ []
180
+ );
176
181
  } catch (err) {
177
182
  return void 0;
178
183
  }
@@ -199,7 +204,9 @@ var formatProductPrice = (item) => {
199
204
  const other = (_a = item._extend) == null ? void 0 : _a.other;
200
205
  let price = Number((_b = item._extend) == null ? void 0 : _b.price);
201
206
  if ((other == null ? void 0 : other.product_variant_id) > 0 && ((_c = item == null ? void 0 : item.variant) == null ? void 0 : _c.length) > 0) {
202
- const variant = item.variant.find((d) => d.id === (other == null ? void 0 : other.product_variant_id));
207
+ const variant = item.variant.find(
208
+ (d) => d.id === (other == null ? void 0 : other.product_variant_id)
209
+ );
203
210
  if (variant) {
204
211
  price = Number(variant == null ? void 0 : variant.price) || 0;
205
212
  }
@@ -211,7 +218,7 @@ var formatProductPrice = (item) => {
211
218
  }
212
219
  return price;
213
220
  };
214
- var formatMetaData = (item) => {
221
+ var formatMetaData = (item, isMultiDayPrices) => {
215
222
  var _a, _b, _c, _d, _e;
216
223
  let metadata = {};
217
224
  if ((_a = item._extend) == null ? void 0 : _a.capacity) {
@@ -223,7 +230,7 @@ var formatMetaData = (item) => {
223
230
  if ((_b = item._extend) == null ? void 0 : _b.holder_id) {
224
231
  metadata.holder_id = (_c = item._extend) == null ? void 0 : _c.holder_id;
225
232
  }
226
- if ((_d = item._extend) == null ? void 0 : _d.multiDayPrices) {
233
+ if (isMultiDayPrices && ((_d = item._extend) == null ? void 0 : _d.multiDayPrices)) {
227
234
  metadata.multiDayPrices = (_e = item._extend) == null ? void 0 : _e.multiDayPrices;
228
235
  }
229
236
  return metadata;
@@ -233,7 +240,9 @@ var getSourceProductPrice = (item) => {
233
240
  const other = (_a = item._extend) == null ? void 0 : _a.other;
234
241
  let price = Number((_b = item._extend) == null ? void 0 : _b.price);
235
242
  if ((other == null ? void 0 : other.product_variant_id) > 0 && ((_c = item == null ? void 0 : item.variant) == null ? void 0 : _c.length) > 0) {
236
- const variant = item.variant.find((d) => d.id === (other == null ? void 0 : other.product_variant_id));
243
+ const variant = item.variant.find(
244
+ (d) => d.id === (other == null ? void 0 : other.product_variant_id)
245
+ );
237
246
  if (variant) {
238
247
  price = Number(variant == null ? void 0 : variant.price) || 0;
239
248
  }
@@ -247,7 +256,9 @@ var formatProducts = (item, quantity) => {
247
256
  const discount_amount = origin_total - total;
248
257
  const discount_list = (item == null ? void 0 : item.discount_list) || [];
249
258
  const discount_type = discount_amount < 0 ? "change_price" : "discount";
250
- const notManualDiscount = discount_list.filter((item2) => item2.type !== "product");
259
+ const notManualDiscount = discount_list.filter(
260
+ (item2) => item2.type !== "product"
261
+ );
251
262
  if (item.isCustomItem) {
252
263
  item.product_id = 0;
253
264
  }
@@ -277,10 +288,12 @@ var formatAppointmentProductLists = (data) => {
277
288
  var _a;
278
289
  try {
279
290
  let list = data.service.value;
280
- list = list.filter((item) => {
281
- var _a2;
282
- return ((_a2 = item._extend) == null ? void 0 : _a2.holder_id) && !(0, import_utils4.isNormalProductByDurationSchedule)(item);
283
- });
291
+ list = list.filter(
292
+ (item) => {
293
+ var _a2;
294
+ return ((_a2 = item._extend) == null ? void 0 : _a2.holder_id) && !(0, import_utils4.isNormalProductByDurationSchedule)(item);
295
+ }
296
+ );
284
297
  const groupMap = /* @__PURE__ */ new Map();
285
298
  list.forEach((item) => {
286
299
  var _a2;
@@ -290,7 +303,10 @@ var formatAppointmentProductLists = (data) => {
290
303
  }
291
304
  groupMap.get(key).push(item);
292
305
  });
293
- const result = (_a = Array.from(groupMap.values())) == null ? void 0 : _a.reduce((acc, group) => acc.concat(group), []);
306
+ const result = (_a = Array.from(groupMap.values())) == null ? void 0 : _a.reduce(
307
+ (acc, group) => acc.concat(group),
308
+ []
309
+ );
294
310
  return list || [];
295
311
  } catch (error) {
296
312
  }
@@ -321,8 +337,9 @@ var formatBookings = (data, values) => {
321
337
  let dayParams = {};
322
338
  const eventOtherParams = data.eventOtherParams;
323
339
  let bookings = [];
340
+ let obj = {};
324
341
  list.forEach((item) => {
325
- var _a, _b, _c, _d;
342
+ var _a, _b, _c, _d, _e;
326
343
  if (item.isCustomItem) {
327
344
  bookings.push({
328
345
  ...item._extend,
@@ -342,15 +359,22 @@ var formatBookings = (data, values) => {
342
359
  if (isDay) {
343
360
  const startDate = ((_a = item._extend) == null ? void 0 : _a.startDate) || ((_b = item._extend) == null ? void 0 : _b.start_date);
344
361
  const endDate = ((_c = item._extend) == null ? void 0 : _c.endDate) || ((_d = item._extend) == null ? void 0 : _d.end_date);
345
- const { startDateTime, endDateTime } = (0, import_utils4.formatDayTime)({ startDate, endDate });
362
+ const { startDateTime, endDateTime } = (0, import_utils4.formatDayTime)({
363
+ startDate,
364
+ endDate
365
+ });
346
366
  start_date = (0, import_dayjs.default)(startDateTime).format("YYYY-MM-DD");
347
367
  start_time = (0, import_dayjs.default)(startDateTime).format("HH:mm");
348
368
  end_date = (0, import_dayjs.default)(endDateTime).format("YYYY-MM-DD");
349
369
  end_time = (0, import_dayjs.default)(endDateTime).format("HH:mm");
350
370
  dayParams.relation_products = (item == null ? void 0 : item.relation_products) || [];
351
371
  dayParams.holder = formatHolders(data, item, values);
352
- dayParams.duration = (0, import_utils3.getDays)({ _extend: { start_date: startDateTime, end_date: endDateTime } }, "minutes");
372
+ dayParams.duration = (0, import_utils3.getDays)(
373
+ { _extend: { start_date: startDateTime, end_date: endDateTime } },
374
+ "minutes"
375
+ );
353
376
  }
377
+ const isSetGroupId = obj[(_e = item == null ? void 0 : item._extend) == null ? void 0 : _e.groupId];
354
378
  const booking = {
355
379
  "product": formatProducts(item),
356
380
  "relation_products": formatRelationDetails(item._extend.relation_details),
@@ -369,11 +393,14 @@ var formatBookings = (data, values) => {
369
393
  "duration": isDay ? 0 : import_utils.flexibleObj.getValue(item._extend.duration),
370
394
  "number": item._extend.capacity ? (0, import_utilsByBooking.getSumCapacity)({ cacheItem: item }) : item._extend.number || 1,
371
395
  "resources": formatResource(item),
372
- "metadata": formatMetaData(item),
396
+ "metadata": formatMetaData(item, !isSetGroupId),
373
397
  "note": item._extend.note,
374
398
  ...eventOtherParams || {},
375
399
  ...dayParams
376
400
  };
401
+ if (!isSetGroupId) {
402
+ obj[item._extend.groupId] = true;
403
+ }
377
404
  if (isDay) {
378
405
  bookings.push(booking);
379
406
  return;
@@ -381,9 +408,9 @@ var formatBookings = (data, values) => {
381
408
  for (let i = 0; i < (item._extend.quantity || 1); i++) {
382
409
  bookings.push({
383
410
  ...booking,
384
- "product": formatProducts(item, 1),
385
- "number": item._extend.capacity ? (0, import_utilsByBooking.getSumCapacity)({ cacheItem: item }, false) : item._extend.number || 1,
386
- "holder": getHolderByIndex(booking.holder, i)
411
+ product: formatProducts(item, 1),
412
+ number: item._extend.capacity ? (0, import_utilsByBooking.getSumCapacity)({ cacheItem: item }, false) : item._extend.number || 1,
413
+ holder: getHolderByIndex(booking.holder, i)
387
414
  });
388
415
  }
389
416
  });
@@ -435,7 +462,7 @@ var formatHolder = (state, values) => {
435
462
  return obj;
436
463
  };
437
464
  var formatValues = (state) => {
438
- var _a, _b, _c, _d, _e, _f, _g;
465
+ var _a, _b, _c, _d, _e, _f, _g, _h;
439
466
  let values = {
440
467
  type: state.renderType === "eventBooking" ? "event_booking_v2" : "appointment_booking",
441
468
  platform: state.isBookingTicket2 ? "pos" : "shop",
@@ -467,7 +494,10 @@ var formatValues = (state) => {
467
494
  };
468
495
  values.holder = formatHolder(state, values);
469
496
  if (isDay || isEvent) {
470
- values.relation_products = formatRelationProducts(state, isDay ? "day" : "event");
497
+ values.relation_products = formatRelationProducts(
498
+ state,
499
+ isDay ? "day" : "event"
500
+ );
471
501
  } else {
472
502
  values.relation_products = formatNormalProducts(state);
473
503
  if (!((_b = values.relation_products) == null ? void 0 : _b.length)) {
@@ -486,6 +516,7 @@ var formatValues = (state) => {
486
516
  if (!((_g = values == null ? void 0 : values.bookings) == null ? void 0 : _g.length)) {
487
517
  values.type = "virtual";
488
518
  }
519
+ values.contacts_info = ((_h = state.contacts_info) == null ? void 0 : _h.value) || null;
489
520
  return values;
490
521
  };
491
522
  var checkHolderIsError = (state) => {
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const FormItemChildrenWrap: (props: any) => JSX.Element;
2
3
  export default FormItemChildrenWrap;
@@ -45,28 +45,40 @@ var Footer = ({ state, reload }) => {
45
45
  await reload();
46
46
  import_materials.message.success(import_utils.locales.getText("pisell2.text.send-form-reminder-refresh"));
47
47
  };
48
- const isAllCompleted = (0, import_react.useMemo)(() => {
49
- var _a2;
50
- return Object.values(((_a2 = state == null ? void 0 : state.form) == null ? void 0 : _a2.value) || {}).every(
51
- (item) => item.length > 0
52
- );
53
- }, [(_a = state == null ? void 0 : state.form) == null ? void 0 : _a.value]);
54
48
  const defaultValues = (0, import_react.useMemo)(() => {
55
- var _a2, _b2, _c2, _d2, _e2, _f, _g, _h, _i, _j;
49
+ var _a2, _b2;
50
+ const { email: contactsEmail, phone: contactsPhone } = ((_a2 = state.contacts_info) == null ? void 0 : _a2.value) || {};
51
+ const {
52
+ email: clientEmail,
53
+ phone: clientPhone,
54
+ country_calling_code: clientCode
55
+ } = ((_b2 = state.client) == null ? void 0 : _b2.value) || {};
56
+ let email = contactsEmail || clientEmail;
57
+ let phone = (contactsPhone == null ? void 0 : contactsPhone.phone) || clientPhone;
58
+ let code = (contactsPhone == null ? void 0 : contactsPhone.country_calling_code) || clientCode || "+61";
59
+ if (!code.startsWith("+")) {
60
+ code = `+${code}`;
61
+ }
56
62
  return {
57
- sendSms: !!((_b2 = (_a2 = state.client) == null ? void 0 : _a2.value) == null ? void 0 : _b2.phone),
58
- sendEmail: !!((_d2 = (_c2 = state.client) == null ? void 0 : _c2.value) == null ? void 0 : _d2.email),
59
- email: (_f = (_e2 = state.client) == null ? void 0 : _e2.value) == null ? void 0 : _f.email,
63
+ sendSms: !!phone,
64
+ sendEmail: !!email,
65
+ email,
60
66
  phone: {
61
- code: (_h = (_g = state.client) == null ? void 0 : _g.value) == null ? void 0 : _h.country_calling_code,
62
- phone: (_j = (_i = state.client) == null ? void 0 : _i.value) == null ? void 0 : _j.phone
67
+ code,
68
+ phone
63
69
  }
64
70
  };
65
- }, [(_b = state.client) == null ? void 0 : _b.value]);
71
+ }, [(_a = state.client) == null ? void 0 : _a.value, (_b = state.contacts_info) == null ? void 0 : _b.value]);
66
72
  if (!state.bookingId || !((_c = state == null ? void 0 : state.form) == null ? void 0 : _c.forms.length)) {
67
73
  return null;
68
74
  }
69
- return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-form-footer" }, /* @__PURE__ */ import_react.default.createElement(import_materials.Tooltip, { title: import_utils.locales.getText("pisell2.text.send-form-reminder-tooltip") }, /* @__PURE__ */ import_react.default.createElement(import_materials.Button, { size: "large", icon: /* @__PURE__ */ import_react.default.createElement(import_icons.ReloadOutlined, null), onClick: handleReload })), /* @__PURE__ */ import_react.default.createElement(import_materials.Button, { size: "large", block: true, type: "primary", onClick: handleOpen, disabled: isAllCompleted }, !isAllCompleted ? import_utils.locales.getText("pisell2.text.send-form-reminder") : import_utils.locales.getText("pisell2.text.send-form-reminder-completed")), /* @__PURE__ */ import_react.default.createElement(
75
+ return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-form-footer" }, /* @__PURE__ */ import_react.default.createElement(
76
+ import_materials.Tooltip,
77
+ {
78
+ title: import_utils.locales.getText("pisell2.text.send-form-reminder-tooltip")
79
+ },
80
+ /* @__PURE__ */ import_react.default.createElement(import_materials.Button, { size: "large", icon: /* @__PURE__ */ import_react.default.createElement(import_icons.ReloadOutlined, null), onClick: handleReload })
81
+ ), /* @__PURE__ */ import_react.default.createElement(import_materials.Button, { size: "large", block: true, type: "primary", onClick: handleOpen }, import_utils.locales.getText("pisell2.text.send-form-reminder")), open && /* @__PURE__ */ import_react.default.createElement(
70
82
  import_sendModal.default,
71
83
  {
72
84
  refreshKey: (_e = (_d = state.client) == null ? void 0 : _d.value) == null ? void 0 : _e.id,
@@ -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
+ }>;
@@ -91,8 +91,13 @@ var Client = () => {
91
91
  }
92
92
  _setLoading(true);
93
93
  const api = state.isFranchisee ? import_serve.getFranchiseeCustomerList : state.apis.getClientsEs;
94
+ const withKey = [...(resetParams == null ? void 0 : resetParams.with) || []];
95
+ if (!withKey.includes("contactsInfo")) {
96
+ withKey.push("contactsInfo");
97
+ }
94
98
  const data = await api({
95
99
  ...resetParams,
100
+ with: withKey,
96
101
  ...!state.isFranchisee ? { _config: { abort: true } } : {}
97
102
  });
98
103
  const list = ((data == null ? void 0 : data.list) || []).map((d) => {
@@ -322,6 +327,14 @@ var Client = () => {
322
327
  closeCallback: () => {
323
328
  },
324
329
  optionRender: (item) => {
330
+ var _a2, _b2, _c2, _d2, _e2;
331
+ console.log("render_optionRender", item);
332
+ let displayEmail = item == null ? void 0 : item.email;
333
+ let displayPhone = item == null ? void 0 : item.phone;
334
+ if (!displayEmail && !displayPhone) {
335
+ displayEmail = (_b2 = (_a2 = item == null ? void 0 : item.contacts_info) == null ? void 0 : _a2.value) == null ? void 0 : _b2.email;
336
+ displayPhone = (_e2 = (_d2 = (_c2 = item == null ? void 0 : item.contacts_info) == null ? void 0 : _c2.value) == null ? void 0 : _d2.phone) == null ? void 0 : _e2.phone;
337
+ }
325
338
  return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(
326
339
  import_antd.Avatar,
327
340
  {
@@ -329,7 +342,7 @@ var Client = () => {
329
342
  src: import_utils.image.ali(item.cover, 100) || void 0,
330
343
  icon: /* @__PURE__ */ import_react.default.createElement(import_User01.default, { className: "pisell-lowcode__booking-client-list-item-avatar-icon" })
331
344
  }
332
- ), /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-client-list-item-info" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-client-list-item-info-name" }, getNickname(item)), /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-client-list-item-info-desc" }, item.email ? /* @__PURE__ */ import_react.default.createElement("div", { className: "" }, item.email) : null, item.phone ? /* @__PURE__ */ import_react.default.createElement("div", { className: "" }, item.phone) : null), /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-client-list-item-info-waiver", title: (0, import_utils3.getWaiverTitle)(item.waiver_form) }, (item.waiver_form || []).map((item2) => {
345
+ ), /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-client-list-item-info" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-client-list-item-info-name" }, getNickname(item)), /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-client-list-item-info-desc" }, displayEmail ? /* @__PURE__ */ import_react.default.createElement("div", { className: "" }, displayEmail) : null, displayPhone ? /* @__PURE__ */ import_react.default.createElement("div", { className: "" }, displayPhone) : null), /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-client-list-item-info-waiver", title: (0, import_utils3.getWaiverTitle)(item.waiver_form) }, (item.waiver_form || []).map((item2) => {
333
346
  return /* @__PURE__ */ import_react.default.createElement("span", null, item2.form_title, ":", item2.is_filled ? /* @__PURE__ */ import_react.default.createElement("span", { className: "pisell-lowcode__booking-client-list-item-waiver-filled" }, import_utils.locales.getText("pisell2.text.filled")) : /* @__PURE__ */ import_react.default.createElement("span", { className: "pisell-lowcode__booking-client-list-item-waiver-not-filled" }, import_utils.locales.getText("pisell2.text.not-filled")), "; ");
334
347
  }))), /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-client-list-item-loading" }, /* @__PURE__ */ import_react.default.createElement(import_antd.Spin, { spinning: franchiseeLoading === item.id })));
335
348
  },
@@ -52,7 +52,7 @@ var useClientFn = (_params) => {
52
52
  num: 5,
53
53
  total: 0,
54
54
  search: "",
55
- with: ["formRecord"],
55
+ with: ["formRecord", "contactsInfo"],
56
56
  relation_form_id: (_d = (_c = (_b = (_a = state == null ? void 0 : state.bookingConfig) == null ? void 0 : _a.config) == null ? void 0 : _b.basic) == null ? void 0 : _c.appointment_subject) == null ? void 0 : _d.form_id
57
57
  });
58
58
  const paramsRef = (0, import_react.useRef)(params);
@@ -91,11 +91,16 @@ var useClientFn = (_params) => {
91
91
  }
92
92
  _setLoading(true);
93
93
  const api = state.isFranchisee ? import_serve.getFranchiseeCustomerList : state.apis.getClients;
94
+ const withKey = [...(resetParams == null ? void 0 : resetParams.with) || []];
95
+ if (!withKey.includes("contactsInfo")) {
96
+ withKey.push("contactsInfo");
97
+ }
94
98
  const data = await api({
95
99
  ...resetParams,
96
100
  ...resetParams.search ? { num: 10 } : {},
97
101
  ...state.isFranchisee ? { franchisee_customer_ids: customer_ids } : { customer_ids },
98
- ...!state.isFranchisee && !returnResult ? { _config: { abort: true } } : {}
102
+ ...!state.isFranchisee && !returnResult ? { _config: { abort: true } } : {},
103
+ with: withKey
99
104
  });
100
105
  const list = ((data == null ? void 0 : data.list) || []).map((d) => {
101
106
  var _a3;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const useIsLowSpeedNetwork: () => import("react").MutableRefObject<boolean>;
2
3
  export default useIsLowSpeedNetwork;
@@ -279,6 +279,7 @@ var SelectDrawer = (props, ref) => {
279
279
  }
280
280
  closeDrawer();
281
281
  };
282
+ console.log("options7777", options);
282
283
  return /* @__PURE__ */ import_react.default.createElement(
283
284
  import_drawer.default,
284
285
  {
@@ -292,7 +293,7 @@ var SelectDrawer = (props, ref) => {
292
293
  ref: searchRef,
293
294
  prefix: /* @__PURE__ */ import_react.default.createElement(import_SearchLg.default, null),
294
295
  style: { margin: "16px 0", height: 44 },
295
- placeholder: import_utils.locales.getText("pisell2.text.search"),
296
+ placeholder: import_utils.locales.getText("pisell2.booking.text.search-placeholder"),
296
297
  value: search,
297
298
  allowClear: true,
298
299
  onChange: (e) => {
@@ -335,7 +336,13 @@ var SelectDrawer = (props, ref) => {
335
336
  }
336
337
  }
337
338
  ) : null), /* @__PURE__ */ import_react.default.createElement(import_antd.Spin, { spinning: !!loading, delay: 500 }, !!options.length ? options.map((item) => {
338
- var _a;
339
+ var _a, _b, _c, _d, _e, _f;
340
+ let displayEmail = item == null ? void 0 : item.email;
341
+ let displayPhone = item == null ? void 0 : item.phone;
342
+ if (!displayEmail && !displayPhone) {
343
+ displayEmail = (_b = (_a = item == null ? void 0 : item.contacts_info) == null ? void 0 : _a.value) == null ? void 0 : _b.email;
344
+ displayPhone = (_e = (_d = (_c = item == null ? void 0 : item.contacts_info) == null ? void 0 : _c.value) == null ? void 0 : _d.phone) == null ? void 0 : _e.phone;
345
+ }
339
346
  return /* @__PURE__ */ import_react.default.createElement(
340
347
  "div",
341
348
  {
@@ -348,7 +355,7 @@ var SelectDrawer = (props, ref) => {
348
355
  onClick: () => handleClientClick(item),
349
356
  cover: item.cover,
350
357
  title: getNickname(item),
351
- desc: [item.email, item.phone],
358
+ desc: [displayEmail, displayPhone],
352
359
  checked: item.id === client.id,
353
360
  style: showPet ? { marginBottom: 6 } : {},
354
361
  loading: franchiseeLoading === item.id,
@@ -396,7 +403,7 @@ var SelectDrawer = (props, ref) => {
396
403
  },
397
404
  style: { padding: 16 }
398
405
  },
399
- /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(import_PlusCircle.default, { className: "pisell-lowcode__custom-select-create-icon" }), /* @__PURE__ */ import_react.default.createElement("span", { className: "pisell-lowcode__custom-select-create-txt" }, `${import_utils.locales.getText("pisell2.text.create-new")} ${((_a = holder.form) == null ? void 0 : _a.title) || "-"}`))
406
+ /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(import_PlusCircle.default, { className: "pisell-lowcode__custom-select-create-icon" }), /* @__PURE__ */ import_react.default.createElement("span", { className: "pisell-lowcode__custom-select-create-txt" }, `${import_utils.locales.getText("pisell2.text.create-new")} ${((_f = holder.form) == null ? void 0 : _f.title) || "-"}`))
400
407
  ), /* @__PURE__ */ import_react.default.createElement("div", null))
401
408
  );
402
409
  }) : /* @__PURE__ */ import_react.default.createElement(import_antd.Empty, { image: import_antd.Empty.PRESENTED_IMAGE_SIMPLE }), /* @__PURE__ */ import_react.default.createElement("div", null, loadMore)))