@pisell/private-materials 6.3.10 → 6.3.11

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 (448) 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 +1 -1
  6. package/build/lowcode/preview.js +13 -13
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +9 -9
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +9 -9
  11. package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
  12. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
  13. package/es/components/appointmentBooking/components/Cart/index.d.ts +1 -0
  14. package/es/components/appointmentBooking/components/Content/index.js +2 -2
  15. package/es/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
  16. package/es/components/appointmentBooking/components/Footer/index.d.ts +1 -0
  17. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
  18. package/es/components/appointmentBooking/components/Header/index.d.ts +1 -0
  19. package/es/components/appointmentBooking/components/Voucher/index.js +6 -5
  20. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +1 -0
  21. package/es/components/appointmentBooking/deposit/index.d.ts +1 -0
  22. package/es/components/appointmentBooking/hooks.js +4 -2
  23. package/es/components/appointmentBooking/index.d.ts +1 -0
  24. package/es/components/booking/addons/index.js +12 -8
  25. package/es/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  26. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
  27. package/es/components/booking/components/TabProduct/tabs/index.js +1 -5
  28. package/es/components/booking/components/browserSelect/index.js +1 -1
  29. package/es/components/booking/components/collapsibleList/utils.d.ts +1 -0
  30. package/es/components/booking/components/emptyBooking/index.d.ts +1 -0
  31. package/es/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  32. package/es/components/booking/components/footer/index.js +19 -9
  33. package/es/components/booking/components/reloadResourceModal/index.d.ts +1 -0
  34. package/es/components/booking/components/voucher/index.js +8 -5
  35. package/es/components/booking/deposit/index.d.ts +1 -0
  36. package/es/components/booking/forms/footer.d.ts +1 -0
  37. package/es/components/booking/forms/model.js +5 -5
  38. package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
  39. package/es/components/booking/forms/single/index.d.ts +1 -0
  40. package/es/components/booking/hooks/useClearCart.d.ts +1 -0
  41. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  42. package/es/components/booking/info/date/index.d.ts +1 -0
  43. package/es/components/booking/info/dateRange/index.d.ts +1 -0
  44. package/es/components/booking/info/header/index.d.ts +1 -0
  45. package/es/components/booking/info/notes/index.d.ts +1 -0
  46. package/es/components/booking/info/service/actions/index.d.ts +1 -0
  47. package/es/components/booking/info/service/addService/index.d.ts +1 -0
  48. package/es/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  49. package/es/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
  50. package/es/components/booking/info/service/like/index.js +1 -1
  51. package/es/components/booking/info/service/serviceList/index.d.ts +1 -0
  52. package/es/components/booking/info2/service/actions/index.d.ts +1 -0
  53. package/es/components/booking/info2/service/addService/index.d.ts +1 -0
  54. package/es/components/booking/info2/service/addService/utils.js +16 -1
  55. package/es/components/booking/info2/service/serviceList/index.d.ts +1 -0
  56. package/es/components/booking/materiels/contacts/index.d.ts +1 -0
  57. package/es/components/booking/materiels/duration/index.d.ts +1 -0
  58. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  59. package/es/components/booking/notes/NoteBlock/NoteItem/index.js +1 -1
  60. package/es/components/booking/notes/NoteBlock/index.d.ts +1 -0
  61. package/es/components/booking/notes/NoteBlock/index.js +11 -11
  62. package/es/components/booking/notes/model.js +5 -5
  63. package/es/components/booking/payments/model.js +5 -5
  64. package/es/components/eftpos/index.d.ts +1 -0
  65. package/es/components/eftpos/pos.d.ts +1 -0
  66. package/es/components/eftposPay/amount.d.ts +2 -1
  67. package/es/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  68. package/es/components/eftposPay/component/fail/index.d.ts +1 -0
  69. package/es/components/eftposPay/component/fail/network.d.ts +1 -0
  70. package/es/components/eftposPay/component/fail/unknow.d.ts +1 -0
  71. package/es/components/eftposPay/component/manual/index.d.ts +1 -0
  72. package/es/components/eftposPay/component/signature/index.d.ts +1 -0
  73. package/es/components/eftposPay/device.d.ts +2 -1
  74. package/es/components/eftposPay/hooks.d.ts +1 -1
  75. package/es/components/eftposPay/index.d.ts +1 -0
  76. package/es/components/eftposPay/linkly/index.d.ts +1 -0
  77. package/es/components/eftposPay/pay.d.ts +1 -0
  78. package/es/components/eftposPay/payo/config.d.ts +1 -0
  79. package/es/components/eftposPay/store/index.d.ts +2 -2
  80. package/es/components/eftposPay/tip.d.ts +1 -0
  81. package/es/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  82. package/es/components/eftposPay/windcave/windcave.d.ts +1 -0
  83. package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  84. package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +1 -0
  85. package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +1 -0
  86. package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -0
  87. package/es/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
  88. package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  89. package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -0
  90. package/es/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
  91. package/es/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
  92. package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  93. package/es/components/eventBooking/components/Provider/Information/index.d.ts +1 -0
  94. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
  95. package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -0
  96. package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -0
  97. package/es/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
  98. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  99. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
  100. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  101. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  102. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
  103. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  104. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  105. package/es/components/eventBooking/components/progressBar/index.js +0 -20
  106. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
  107. package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
  108. package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
  109. package/es/components/eventBooking/index.d.ts +1 -0
  110. package/es/components/listComponent/index.js +5 -5
  111. package/es/components/login/index.d.ts +1 -0
  112. package/es/components/pay/toC/PaymentMethods/GooglePay/index.js +7 -20
  113. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
  114. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
  115. package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +0 -1
  116. package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.js +2 -12
  117. package/es/components/pay/toC/PaymentMethods/WalletPass/index.js +24 -31
  118. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
  119. package/es/components/pay/toC/utils.d.ts +1 -1
  120. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  121. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  122. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  123. package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
  124. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  125. package/es/components/pisellSelectCustomerModal/index.d.ts +1 -0
  126. package/es/components/productExtension/card/index.js +3 -3
  127. package/es/components/productExtension/fields/Actor/CutOffTime/index.js +1 -1
  128. package/es/components/productExtension/fields/Forms/index.js +12 -12
  129. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  130. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  131. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.js +1 -1
  132. package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  133. package/es/components/productExtension/fields/SelectProducts/server.js +2 -2
  134. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  135. package/es/components/productExtension/fields/SelectResourcesTable/server.js +2 -2
  136. package/es/components/productExtension/index.d.ts +1 -0
  137. package/es/components/productExtension/server.js +2 -2
  138. package/es/components/ruleSetting/index.d.ts +1 -0
  139. package/es/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  140. package/es/components/ruleSetting/ruleBorder/index.js +1 -1
  141. package/es/components/schedules/calendar/index.d.ts +1 -0
  142. package/es/components/schedules/calendar/index.js +4 -4
  143. package/es/components/schedules/calendar/serve.js +2 -2
  144. package/es/components/schedules/components/CurrentDay/index.js +5 -5
  145. package/es/components/schedules/components/CurrentDay/serve.js +2 -2
  146. package/es/components/schedules/components/DropdownSort/index.js +1 -1
  147. package/es/components/schedules/components/ResourceList/index.js +1 -1
  148. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  149. package/es/components/schedules/components/ScheduleList/index.d.ts +1 -0
  150. package/es/components/schedules/components/Search/index.js +5 -5
  151. package/es/components/schedules/model.js +5 -5
  152. package/es/components/schedules/openHours/index.js +1 -1
  153. package/es/components/schedules/openHours/serve.js +2 -2
  154. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  155. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.js +1 -1
  156. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  157. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.js +5 -5
  158. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
  159. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
  160. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.js +4 -4
  161. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  162. package/es/components/schedules/products/ProductDetailDrawer/index.js +3 -3
  163. package/es/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  164. package/es/components/schedules/products/list/index.d.ts +1 -0
  165. package/es/components/schedules/products/serve.js +2 -2
  166. package/es/components/schedules/products/utils.js +5 -5
  167. package/es/components/schedules/resources/detail/detailContent.js +2 -2
  168. package/es/components/schedules/resources/detail/index.js +10 -10
  169. package/es/components/schedules/resources/index.d.ts +1 -0
  170. package/es/components/schedules/resources/list/index.d.ts +1 -0
  171. package/es/components/schedules/resources/list/index.js +2 -2
  172. package/es/components/schedules/resources/relationProduct/index.js +1 -1
  173. package/es/components/schedules/resources/serve.js +2 -2
  174. package/es/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  175. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  176. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.js +9 -9
  177. package/es/components/schedules/schedules/index.d.ts +1 -0
  178. package/es/components/schedules/utils.d.ts +1 -1
  179. package/es/components/schedules/utils.js +4 -4
  180. package/es/components/selectModal/index.js +2 -2
  181. package/es/components/shoppingCart/components/Cart/index.d.ts +1 -0
  182. package/es/components/shoppingCart/hooks/useAddService.d.ts +1 -0
  183. package/es/components/shoppingCart/hooks/useClearCart.d.ts +1 -0
  184. package/es/components/shoppingCart/index.d.ts +1 -0
  185. package/es/components/taxSelect/index.d.ts +1 -0
  186. package/es/components/ticketBooking/components/menuBar/index.d.ts +1 -0
  187. package/es/components/wallet/Detail/index.js +250 -64
  188. package/es/components/wallet/Detail/locales.d.ts +51 -0
  189. package/es/components/wallet/Detail/locales.js +57 -3
  190. package/es/components/wallet/Detail/serve.js +5 -1
  191. package/es/components/wallet/components/UsageRules/index.d.ts +23 -0
  192. package/es/components/wallet/components/UsageRules/index.js +147 -0
  193. package/es/components/wallet/components/UsageRules/index.less +157 -0
  194. package/es/components/wallet/components/WalletCard.js +2 -3
  195. package/es/components/wallet/components/index.d.ts +1 -0
  196. package/es/components/wallet/components/index.js +2 -1
  197. package/es/components/wallet/hooks/useWalletCard.d.ts +1 -0
  198. package/es/components/workSpaceList/components/Modal/index.d.ts +1 -0
  199. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
  200. package/es/hooks/useComponents.js +1 -1
  201. package/es/index.d.ts +3 -0
  202. package/es/index.js +4 -1
  203. package/es/plus/productSelect/ProductCard/index.less +5 -22
  204. package/es/plus/productSelect/components/pisellPriceText/index.d.ts +1 -0
  205. package/es/plus/productSelect/components/pisellPriceText/index.js +1 -0
  206. package/es/plus/productSelect/components/pisellPriceText/index.less +4 -0
  207. package/es/plus/saasCreateOrganization/components/Header.d.ts +4 -0
  208. package/es/plus/saasCreateOrganization/components/Header.js +62 -0
  209. package/es/plus/saasCreateOrganization/index.d.ts +5 -0
  210. package/es/plus/saasCreateOrganization/index.js +15 -0
  211. package/es/plus/saasCreateOrganization/index.less +55 -0
  212. package/es/plus/saasCreateOrganization/locales.d.ts +15 -0
  213. package/es/plus/saasCreateOrganization/locales.js +14 -0
  214. package/es/plus/saasCreateOrganization/types.d.ts +69 -0
  215. package/es/plus/saasCreateOrganization/types.js +1 -0
  216. package/es/plus/saasLogin/index.d.ts +5 -0
  217. package/es/plus/saasLogin/index.js +165 -0
  218. package/es/plus/saasLogin/index.less +136 -0
  219. package/es/plus/saasLogin/locales.d.ts +51 -0
  220. package/es/plus/saasLogin/locales.js +50 -0
  221. package/es/plus/saasLogin/types.d.ts +62 -0
  222. package/es/plus/saasLogin/types.js +1 -0
  223. package/es/plus/saasLogin/utils.d.ts +35 -0
  224. package/es/plus/saasLogin/utils.js +31 -0
  225. package/es/plus/saasRegister/components/EntryEmail.d.ts +10 -0
  226. package/es/plus/saasRegister/components/EntryEmail.js +92 -0
  227. package/es/plus/saasRegister/components/EntryInfo.d.ts +10 -0
  228. package/es/plus/saasRegister/components/EntryInfo.js +145 -0
  229. package/es/plus/saasRegister/components/GoLogin.d.ts +5 -0
  230. package/es/plus/saasRegister/components/GoLogin.js +27 -0
  231. package/es/plus/saasRegister/components/Header.d.ts +4 -0
  232. package/es/plus/saasRegister/components/Header.js +62 -0
  233. package/es/plus/saasRegister/components/VerifyError.d.ts +9 -0
  234. package/es/plus/saasRegister/components/VerifyError.js +68 -0
  235. package/es/plus/saasRegister/components/VerifyingLink.d.ts +6 -0
  236. package/es/plus/saasRegister/components/VerifyingLink.js +16 -0
  237. package/es/plus/saasRegister/components/VertifyEmail.d.ts +8 -0
  238. package/es/plus/saasRegister/components/VertifyEmail.js +121 -0
  239. package/es/plus/saasRegister/index.d.ts +5 -0
  240. package/es/plus/saasRegister/index.js +246 -0
  241. package/es/plus/saasRegister/index.less +218 -0
  242. package/es/plus/saasRegister/locales.d.ts +117 -0
  243. package/es/plus/saasRegister/locales.js +116 -0
  244. package/es/plus/saasRegister/types.d.ts +114 -0
  245. package/es/plus/saasRegister/types.js +24 -0
  246. package/es/utils/index.d.ts +1 -1
  247. package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
  248. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
  249. package/lib/components/appointmentBooking/components/Cart/index.d.ts +1 -0
  250. package/lib/components/appointmentBooking/components/Content/index.js +1 -1
  251. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
  252. package/lib/components/appointmentBooking/components/Footer/index.d.ts +1 -0
  253. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
  254. package/lib/components/appointmentBooking/components/Header/index.d.ts +1 -0
  255. package/lib/components/appointmentBooking/components/Voucher/index.js +2 -1
  256. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +1 -0
  257. package/lib/components/appointmentBooking/deposit/index.d.ts +1 -0
  258. package/lib/components/appointmentBooking/hooks.js +4 -2
  259. package/lib/components/appointmentBooking/index.d.ts +1 -0
  260. package/lib/components/booking/addons/index.js +1 -11
  261. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  262. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
  263. package/lib/components/booking/components/collapsibleList/utils.d.ts +1 -0
  264. package/lib/components/booking/components/emptyBooking/index.d.ts +1 -0
  265. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  266. package/lib/components/booking/components/footer/index.js +15 -8
  267. package/lib/components/booking/components/reloadResourceModal/index.d.ts +1 -0
  268. package/lib/components/booking/components/voucher/index.js +3 -1
  269. package/lib/components/booking/deposit/index.d.ts +1 -0
  270. package/lib/components/booking/forms/footer.d.ts +1 -0
  271. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
  272. package/lib/components/booking/forms/single/index.d.ts +1 -0
  273. package/lib/components/booking/hooks/useClearCart.d.ts +1 -0
  274. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  275. package/lib/components/booking/info/date/index.d.ts +1 -0
  276. package/lib/components/booking/info/dateRange/index.d.ts +1 -0
  277. package/lib/components/booking/info/header/index.d.ts +1 -0
  278. package/lib/components/booking/info/notes/index.d.ts +1 -0
  279. package/lib/components/booking/info/service/actions/index.d.ts +1 -0
  280. package/lib/components/booking/info/service/addService/index.d.ts +1 -0
  281. package/lib/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  282. package/lib/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
  283. package/lib/components/booking/info/service/serviceList/index.d.ts +1 -0
  284. package/lib/components/booking/info2/service/actions/index.d.ts +1 -0
  285. package/lib/components/booking/info2/service/addService/index.d.ts +1 -0
  286. package/lib/components/booking/info2/service/addService/utils.js +15 -3
  287. package/lib/components/booking/info2/service/serviceList/index.d.ts +1 -0
  288. package/lib/components/booking/materiels/contacts/index.d.ts +1 -0
  289. package/lib/components/booking/materiels/duration/index.d.ts +1 -0
  290. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  291. package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -0
  292. package/lib/components/eftpos/index.d.ts +1 -0
  293. package/lib/components/eftpos/pos.d.ts +1 -0
  294. package/lib/components/eftposPay/amount.d.ts +2 -1
  295. package/lib/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  296. package/lib/components/eftposPay/component/fail/index.d.ts +1 -0
  297. package/lib/components/eftposPay/component/fail/network.d.ts +1 -0
  298. package/lib/components/eftposPay/component/fail/unknow.d.ts +1 -0
  299. package/lib/components/eftposPay/component/manual/index.d.ts +1 -0
  300. package/lib/components/eftposPay/component/signature/index.d.ts +1 -0
  301. package/lib/components/eftposPay/device.d.ts +2 -1
  302. package/lib/components/eftposPay/hooks.d.ts +1 -1
  303. package/lib/components/eftposPay/index.d.ts +1 -0
  304. package/lib/components/eftposPay/linkly/index.d.ts +1 -0
  305. package/lib/components/eftposPay/pay.d.ts +1 -0
  306. package/lib/components/eftposPay/payo/config.d.ts +1 -0
  307. package/lib/components/eftposPay/store/index.d.ts +2 -2
  308. package/lib/components/eftposPay/tip.d.ts +1 -0
  309. package/lib/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  310. package/lib/components/eftposPay/windcave/windcave.d.ts +1 -0
  311. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  312. package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +1 -0
  313. package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +1 -0
  314. package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -0
  315. package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
  316. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  317. package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -0
  318. package/lib/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
  319. package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
  320. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  321. package/lib/components/eventBooking/components/Provider/Information/index.d.ts +1 -0
  322. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
  323. package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -0
  324. package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -0
  325. package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
  326. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  327. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
  328. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  329. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  330. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
  331. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  332. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  333. package/lib/components/eventBooking/components/progressBar/index.js +0 -18
  334. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
  335. package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
  336. package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
  337. package/lib/components/eventBooking/index.d.ts +1 -0
  338. package/lib/components/login/index.d.ts +1 -0
  339. package/lib/components/pay/toC/PaymentMethods/GooglePay/index.js +7 -11
  340. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
  341. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
  342. package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +0 -1
  343. package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.js +2 -9
  344. package/lib/components/pay/toC/PaymentMethods/WalletPass/index.js +2 -6
  345. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
  346. package/lib/components/pay/toC/utils.d.ts +1 -1
  347. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  348. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  349. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  350. package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
  351. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  352. package/lib/components/pisellSelectCustomerModal/index.d.ts +1 -0
  353. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  354. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  355. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  356. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  357. package/lib/components/productExtension/index.d.ts +1 -0
  358. package/lib/components/ruleSetting/index.d.ts +1 -0
  359. package/lib/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  360. package/lib/components/schedules/calendar/index.d.ts +1 -0
  361. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  362. package/lib/components/schedules/components/ScheduleList/index.d.ts +1 -0
  363. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  364. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  365. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
  366. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
  367. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  368. package/lib/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  369. package/lib/components/schedules/products/list/index.d.ts +1 -0
  370. package/lib/components/schedules/resources/index.d.ts +1 -0
  371. package/lib/components/schedules/resources/list/index.d.ts +1 -0
  372. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  373. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  374. package/lib/components/schedules/schedules/index.d.ts +1 -0
  375. package/lib/components/schedules/utils.d.ts +1 -1
  376. package/lib/components/schedules/utils.js +1 -1
  377. package/lib/components/shoppingCart/components/Cart/index.d.ts +1 -0
  378. package/lib/components/shoppingCart/hooks/useAddService.d.ts +1 -0
  379. package/lib/components/shoppingCart/hooks/useClearCart.d.ts +1 -0
  380. package/lib/components/shoppingCart/index.d.ts +1 -0
  381. package/lib/components/taxSelect/index.d.ts +1 -0
  382. package/lib/components/ticketBooking/components/menuBar/index.d.ts +1 -0
  383. package/lib/components/wallet/Detail/index.js +128 -9
  384. package/lib/components/wallet/Detail/locales.d.ts +51 -0
  385. package/lib/components/wallet/Detail/locales.js +57 -3
  386. package/lib/components/wallet/Detail/serve.js +6 -1
  387. package/lib/components/wallet/components/UsageRules/index.d.ts +23 -0
  388. package/lib/components/wallet/components/UsageRules/index.js +113 -0
  389. package/lib/components/wallet/components/UsageRules/index.less +157 -0
  390. package/lib/components/wallet/components/WalletCard.js +1 -1
  391. package/lib/components/wallet/components/index.d.ts +1 -0
  392. package/lib/components/wallet/components/index.js +3 -0
  393. package/lib/components/wallet/hooks/useWalletCard.d.ts +1 -0
  394. package/lib/components/workSpaceList/components/Modal/index.d.ts +1 -0
  395. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
  396. package/lib/index.d.ts +3 -0
  397. package/lib/index.js +9 -0
  398. package/lib/plus/productSelect/ProductCard/index.less +5 -22
  399. package/lib/plus/productSelect/components/pisellPriceText/index.d.ts +1 -0
  400. package/lib/plus/productSelect/components/pisellPriceText/index.js +1 -0
  401. package/lib/plus/productSelect/components/pisellPriceText/index.less +4 -0
  402. package/lib/plus/saasCreateOrganization/components/Header.d.ts +4 -0
  403. package/lib/plus/saasCreateOrganization/components/Header.js +99 -0
  404. package/lib/plus/saasCreateOrganization/index.d.ts +5 -0
  405. package/lib/plus/saasCreateOrganization/index.js +47 -0
  406. package/lib/plus/saasCreateOrganization/index.less +55 -0
  407. package/lib/plus/saasCreateOrganization/locales.d.ts +15 -0
  408. package/lib/plus/saasCreateOrganization/locales.js +38 -0
  409. package/lib/plus/saasCreateOrganization/types.d.ts +69 -0
  410. package/lib/plus/saasCreateOrganization/types.js +17 -0
  411. package/lib/plus/saasLogin/index.d.ts +5 -0
  412. package/lib/plus/saasLogin/index.js +171 -0
  413. package/lib/plus/saasLogin/index.less +136 -0
  414. package/lib/plus/saasLogin/locales.d.ts +51 -0
  415. package/lib/plus/saasLogin/locales.js +74 -0
  416. package/lib/plus/saasLogin/types.d.ts +62 -0
  417. package/lib/plus/saasLogin/types.js +17 -0
  418. package/lib/plus/saasLogin/utils.d.ts +35 -0
  419. package/lib/plus/saasLogin/utils.js +50 -0
  420. package/lib/plus/saasRegister/components/EntryEmail.d.ts +10 -0
  421. package/lib/plus/saasRegister/components/EntryEmail.js +92 -0
  422. package/lib/plus/saasRegister/components/EntryInfo.d.ts +10 -0
  423. package/lib/plus/saasRegister/components/EntryInfo.js +128 -0
  424. package/lib/plus/saasRegister/components/GoLogin.d.ts +5 -0
  425. package/lib/plus/saasRegister/components/GoLogin.js +58 -0
  426. package/lib/plus/saasRegister/components/Header.d.ts +4 -0
  427. package/lib/plus/saasRegister/components/Header.js +99 -0
  428. package/lib/plus/saasRegister/components/VerifyError.d.ts +9 -0
  429. package/lib/plus/saasRegister/components/VerifyError.js +123 -0
  430. package/lib/plus/saasRegister/components/VerifyingLink.d.ts +6 -0
  431. package/lib/plus/saasRegister/components/VerifyingLink.js +44 -0
  432. package/lib/plus/saasRegister/components/VertifyEmail.d.ts +8 -0
  433. package/lib/plus/saasRegister/components/VertifyEmail.js +110 -0
  434. package/lib/plus/saasRegister/index.d.ts +5 -0
  435. package/lib/plus/saasRegister/index.js +205 -0
  436. package/lib/plus/saasRegister/index.less +218 -0
  437. package/lib/plus/saasRegister/locales.d.ts +117 -0
  438. package/lib/plus/saasRegister/locales.js +140 -0
  439. package/lib/plus/saasRegister/types.d.ts +114 -0
  440. package/lib/plus/saasRegister/types.js +54 -0
  441. package/lib/utils/index.d.ts +1 -1
  442. package/lowcode/saas-create-organization/meta.ts +214 -0
  443. package/lowcode/saas-create-organization/snippets.ts +25 -0
  444. package/lowcode/saas-login/meta.ts +370 -0
  445. package/lowcode/saas-login/snippets.ts +38 -0
  446. package/lowcode/saas-register/meta.ts +386 -0
  447. package/lowcode/saas-register/snippets.ts +31 -0
  448. package/package.json +5 -5
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  export declare const updateServiceDate: (services: any[], date: any, isTime: boolean) => any[];
3
4
  declare const DateCom: () => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  export declare const disabledDate: (current: any, position: any, currentDate: any) => any;
3
4
  declare const DateRange: ({ state, dispatch, key }: any) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const header: ({ state, dispatch }: any) => JSX.Element;
3
4
  export default header;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Notes: () => JSX.Element | null;
2
3
  export default Notes;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const Actions: ({ currentService }: {
3
4
  currentService: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PisellDrawerProps } from '../../../components/drawer';
2
3
  import './index.less';
3
4
  interface AddServiceProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const AddTimeModal: () => JSX.Element;
3
4
  export default AddTimeModal;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const BookingList: ({ items }: {
2
3
  items: any[];
3
4
  }) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ServiceList: ({ onEdit }: {
3
4
  onEdit: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import '../../../info/service/actions/index.less';
2
3
  declare const Actions: ({ currentService }: {
3
4
  currentService: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PisellDrawerProps } from '../../../components/drawer';
2
3
  import '../../../info/service/addService/index.less';
3
4
  interface AddServiceProps {
@@ -232,9 +232,21 @@ var setDefaultResource = ({ cacheItem, resources }) => {
232
232
  const serviceParams = (0, import_utils.getCacheParams)();
233
233
  let resourceId = Number(serviceParams == null ? void 0 : serviceParams.resource_id);
234
234
  for (let item of resources) {
235
- const renderList = item.renderList.filter(
236
- (d) => d.id === resourceId
237
- );
235
+ const {
236
+ select_type = {},
237
+ optional_resource = [],
238
+ default_resource = []
239
+ } = item;
240
+ const renderList = item.renderList.filter((d) => {
241
+ if ((select_type == null ? void 0 : select_type.type) === "single") {
242
+ if (resourceId && (optional_resource.includes(resourceId) || default_resource.includes(resourceId))) {
243
+ return d.id === resourceId;
244
+ }
245
+ return d.is_default === 1;
246
+ } else {
247
+ return d.is_default === 1 || d.id === resourceId;
248
+ }
249
+ });
238
250
  let defaultOriginalResource = [];
239
251
  if (renderList.length === 0) {
240
252
  defaultOriginalResource = getResourceMaxFreeTime(item);
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ServiceList: ({ onEdit }: {
3
4
  onEdit: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare type ContactType = {
3
4
  country_calling_code: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { SelectProps } from 'antd';
2
3
  interface DurationProps extends SelectProps {
3
4
  locale?: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  export interface InfoProps {
3
4
  isEdit: boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  export interface InfoProps {
3
4
  title?: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Eftpos, DeviceStatus } from './const';
2
3
  import './index.less';
3
4
  interface PosProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { DeviceProp } from "./const";
2
3
  interface PosProps {
3
4
  eftposName: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PosProps } from './const';
2
3
  /**
3
4
  * @title: 支付金额信息配置页
@@ -8,7 +9,7 @@ import { PosProps } from './const';
8
9
  */
9
10
  declare const _default: ({ className, onChange, onClose, formatAmount, isMobile, net, client }: {
10
11
  className?: string | undefined;
11
- onChange?: ((status: "page" | "success" | "print" | "fail" | "mark_tx_processed", params?: string | {
12
+ onChange?: ((status: "success" | "page" | "print" | "fail" | "mark_tx_processed", params?: string | {
12
13
  [keys: string]: unknown;
13
14
  } | undefined, other?: any) => void) | undefined;
14
15
  onClose: () => void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ActionProps } from '../../const';
2
3
  declare const _default: ({ className, isMobile, onChange }: ActionProps) => JSX.Element;
3
4
  export default _default;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ActionProps } from '../../const';
2
3
  declare const _default: ({ onChange, className, isMobile }: ActionProps) => JSX.Element;
3
4
  export default _default;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ActionProps } from '../../const';
2
3
  /**
3
4
  * @title: 断网(客户端)提示页
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ActionProps } from '../../const';
2
3
  /**
3
4
  * @title: 支付状态未知页面
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ActionProps } from '../../const';
2
3
  import './index.less';
3
4
  /**
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ActionProps } from '../../const';
2
3
  /**
3
4
  * @title: 取消签名确认页
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PayProps, PosProps } from './const';
2
3
  import './device.less';
3
4
  /**
@@ -10,7 +11,7 @@ import './device.less';
10
11
  declare const _default: ({ api, onChange, onClose, className, device_number, isMobile, net, client, formatAmount, }: {
11
12
  api: PayProps['api'];
12
13
  className?: string | undefined;
13
- onChange?: ((status: "page" | "success" | "print" | "fail" | "mark_tx_processed", params?: string | {
14
+ onChange?: ((status: "success" | "page" | "print" | "fail" | "mark_tx_processed", params?: string | {
14
15
  [keys: string]: unknown;
15
16
  } | undefined, other?: any) => void) | undefined;
16
17
  onClose: () => void;
@@ -15,7 +15,7 @@ export declare const useStoreRef: <T extends {
15
15
  readonly numRef: React.MutableRefObject<string | number | undefined>;
16
16
  readonly orderIdRef: React.MutableRefObject<string | number>;
17
17
  readonly modeRef: React.MutableRefObject<ModeEnum>;
18
- readonly statusRef: React.MutableRefObject<"loading" | "success" | "warn" | "fail" | "pedding" | "resove" | "reject" | "question">;
18
+ readonly statusRef: React.MutableRefObject<"success" | "loading" | "warn" | "fail" | "pedding" | "resove" | "reject" | "question">;
19
19
  readonly netRef: React.MutableRefObject<boolean | undefined>;
20
20
  readonly symbolRef: React.MutableRefObject<string>;
21
21
  readonly amountRef: React.MutableRefObject<string | number>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PosProps } from './const';
2
3
  import './index.less';
3
4
  declare const _default: (props: PosProps) => JSX.Element | null;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Linkly: ({ api, onChange }: any) => JSX.Element;
2
3
  export default Linkly;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PayProps } from './const';
2
3
  import './index.less';
3
4
  /**
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { StatusEnum } from '../const';
2
3
  export declare const POS: ({ api, onChange, }: {
3
4
  api: {
@@ -174,7 +174,7 @@ export declare const updateCustom: (payload: {
174
174
  export declare const updateStatus: (status: 'loading' | 'warn' | 'fail' | 'success' | 'question') => {
175
175
  type: EActionTypes;
176
176
  payload: {
177
- status: "loading" | "success" | "warn" | "fail" | "question";
177
+ status: "success" | "loading" | "warn" | "fail" | "question";
178
178
  };
179
179
  };
180
180
  /**
@@ -308,7 +308,7 @@ export declare const backUpFree: (payload: Partial<State>) => {
308
308
  net?: boolean | undefined;
309
309
  component?: string | undefined;
310
310
  form?: string | undefined;
311
- status?: "loading" | "success" | "warn" | "fail" | "pedding" | "resove" | "reject" | "question" | undefined;
311
+ status?: "success" | "loading" | "warn" | "fail" | "pedding" | "resove" | "reject" | "question" | undefined;
312
312
  warn?: string | undefined;
313
313
  steps?: {
314
314
  /** 用于重置当前步骤 */
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './tip.less';
2
3
  /**
3
4
  * @title: 支付状态未知页面
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  /**
2
3
  * @title: 按钮操作区
3
4
  * @description: 仅包含签名
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: ({ api, onChange, formatAmount, }: {
2
3
  api: any;
3
4
  onChange: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ErrorTip: ({ text }: any) => JSX.Element;
3
4
  export default ErrorTip;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ContinueButton: () => JSX.Element;
3
4
  export default ContinueButton;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Total: ({ className, isFooter }: any) => JSX.Element;
3
4
  export default Total;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const CartItem: () => JSX.Element;
3
4
  export default CartItem;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Cart: ({ open, onCancel }: any) => JSX.Element;
3
4
  export default Cart;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Layout: () => JSX.Element;
3
4
  export default Layout;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const EmptyHolderModal: (props: any) => JSX.Element;
3
4
  export default EmptyHolderModal;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Event: () => JSX.Element;
3
4
  export default Event;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Footer: () => JSX.Element;
3
4
  export default Footer;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Header: () => JSX.Element;
3
4
  export default Header;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Information: () => JSX.Element;
3
4
  export default Information;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const InformationOptionsModal: (props: any) => JSX.Element;
3
4
  export default InformationOptionsModal;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const OrderProductModal: (props: any) => JSX.Element;
3
4
  export default OrderProductModal;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const RemoveOptionConfirmModal: (props: any) => JSX.Element;
2
3
  export default RemoveOptionConfirmModal;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Resource: () => JSX.Element;
3
4
  export default Resource;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const SelectHolderModal: (props: any) => JSX.Element;
2
3
  export default SelectHolderModal;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare type CallToBookProps = {
2
3
  show: boolean;
3
4
  type: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const WeekItem: (props: any) => JSX.Element;
3
4
  export default WeekItem;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare type CalenDateWeekProps = {
3
4
  currentDate: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const BookingOptions: (props: {
2
3
  onChangeBookingOption?: ((bookingOption: any) => void) | undefined;
3
4
  }) => JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Resource: (props: any) => JSX.Element;
2
3
  export default Resource;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Schedule: () => JSX.Element;
2
3
  export default Schedule;
@@ -64,24 +64,6 @@ var ProgressBar = ({
64
64
  const handleOk = () => {
65
65
  var _a2, _b;
66
66
  if ((_b = (_a2 = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _a2.isAppEnv) == null ? void 0 : _b.call(_a2)) {
67
- const url = window.location.href;
68
- if (url.includes("isByTabbar")) {
69
- removeSessionStorage == null ? void 0 : removeSessionStorage();
70
- const urlParams = new URLSearchParams(window.location.search);
71
- urlParams.delete("cacheId");
72
- setOpen(false);
73
- interaction.utils.postMessageToApp({
74
- module: "global",
75
- key: "openNative",
76
- data: {
77
- link: {
78
- page: "home"
79
- }
80
- }
81
- });
82
- window.location.href = window.location.pathname + "?" + urlParams.toString();
83
- return;
84
- }
85
67
  interaction.utils.postMessageToApp({
86
68
  module: "global",
87
69
  key: "paymentResultAction",
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare type Item = any;
3
4
  interface ProductItemProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { CalendarDataItem } from '../../type';
2
3
  declare type CalendarItemProps = {
3
4
  month: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ScheduleTimeItem: ({ timeList }: any) => JSX.Element;
3
4
  export default ScheduleTimeItem;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const EventBooking: () => JSX.Element;
3
4
  export default EventBooking;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  export interface LoginProps {
3
4
  title: string;
@@ -41,34 +41,30 @@ var import_payGroup = require("../../payGroup");
41
41
  var import_useEngineContext = __toESM(require("../../../../../hooks/useEngineContext"));
42
42
  var import_utils2 = require("../../utils");
43
43
  var GooglePay = (props, ref) => {
44
- var _a, _b;
44
+ var _a;
45
45
  const { state } = (0, import_react.useContext)(import_model.Context);
46
46
  const [open, setOpen] = (0, import_react.useState)(false);
47
47
  const context = (0, import_useEngineContext.default)();
48
48
  const { config } = ((_a = context.appHelper) == null ? void 0 : _a.constants) || {};
49
- const { interaction } = (_b = context.appHelper) == null ? void 0 : _b.utils;
50
49
  const init = async ({ payGroup }) => {
51
- var _a2, _b2, _c, _d, _e, _f, _g, _h, _i, _j, _k;
50
+ var _a2, _b, _c, _d, _e, _f, _g;
51
+ setOpen(true);
52
52
  const utils = context.appHelper.utils || {};
53
- const dvaStore = (_b2 = (_a2 = utils == null ? void 0 : utils.getStore) == null ? void 0 : _a2.call(utils)) == null ? void 0 : _b2.getState();
53
+ const dvaStore = (_b = (_a2 = utils == null ? void 0 : utils.getStore) == null ? void 0 : _a2.call(utils)) == null ? void 0 : _b.getState();
54
54
  const values = (0, import_payGroup.getPayGroupParamsFromStorage)(payGroup.order_id);
55
- if (((_d = (_c = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _c.isAppEnv) == null ? void 0 : _d.call(_c)) && ((_f = (_e = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _e.isAndroid_ios) == null ? void 0 : _f.call(_e)) === "android") {
56
- return (0, import_utils2.clientPayment)({ order_id: payGroup.order_id, type: "google_pay", values, interaction });
57
- }
58
- setOpen(true);
59
55
  if (!values) {
60
56
  setOpen(false);
61
57
  return;
62
58
  }
63
59
  try {
64
- const locale = ((_g = dvaStore.core) == null ? void 0 : _g.translateLocale) || "en";
65
- const shopId = (_j = (_i = (_h = dvaStore.core) == null ? void 0 : _h.core) == null ? void 0 : _i.shop) == null ? void 0 : _j.id;
60
+ const locale = ((_c = dvaStore.core) == null ? void 0 : _c.translateLocale) || "en";
61
+ const shopId = (_f = (_e = (_d = dvaStore.core) == null ? void 0 : _d.core) == null ? void 0 : _e.shop) == null ? void 0 : _f.id;
66
62
  const currentURL = window.location.href;
67
63
  const linkElement = document.createElement("a");
68
64
  linkElement.href = currentURL;
69
65
  const shop_domain = linkElement.hostname;
70
66
  const _href = `${config.pay}${(0, import_utils2.formatFranchiseeRoute)(
71
- `/google-pay?order_id=${(_k = state.payGroup) == null ? void 0 : _k.order_id}&shop_id=${shopId}&locale=${locale}&shop_domain=${shop_domain}&total_amount=${values.amount}&payment_group_id=${values.payment_group_id}`,
67
+ `/google-pay?order_id=${(_g = state.payGroup) == null ? void 0 : _g.order_id}&shop_id=${shopId}&locale=${locale}&shop_domain=${shop_domain}&total_amount=${values.amount}&payment_group_id=${values.payment_group_id}`,
72
68
  state.history
73
69
  )}`;
74
70
  window.location.href = _href;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ThreedsLoading: ({ title, showSuccessBackButton, onSuccessBack }: any) => JSX.Element;
3
4
  export default ThreedsLoading;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const SetupForm: ({ onReady, amount, order_id, payment_method, scene, }: any) => JSX.Element;
3
4
  export default SetupForm;
@@ -10,7 +10,6 @@ export interface WalletPassListProps {
10
10
  walletSetting: {
11
11
  name: string;
12
12
  };
13
- onChangeDebounce?: boolean;
14
13
  }
15
14
  export declare type WalletPassListRef = {
16
15
  init: (params: MachineCodeListParams, formatList?: (val: WalletPassDataType[]) => WalletPassDataType[]) => void;
@@ -41,7 +41,7 @@ var import_utils2 = require("../utils");
41
41
  var import_index = require("./index.less");
42
42
  var WalletPassList = (0, import_react.forwardRef)(
43
43
  (props, ref) => {
44
- const { title, onChange, data: propsData, value, walletSetting, onLoadingChange, loading: propsLoading, onChangeDebounce } = props;
44
+ const { title, onChange, data: propsData, value, walletSetting } = props;
45
45
  const [data, setData] = (0, import_react.useState)(
46
46
  propsData || []
47
47
  );
@@ -51,9 +51,6 @@ var WalletPassList = (0, import_react.forwardRef)(
51
51
  setData(propsData);
52
52
  }
53
53
  }, [propsData]);
54
- (0, import_react.useEffect)(() => {
55
- setLoading(!!propsLoading);
56
- }, [propsLoading]);
57
54
  const getList = async (params, formatList) => {
58
55
  setLoading(true);
59
56
  try {
@@ -73,9 +70,6 @@ var WalletPassList = (0, import_react.forwardRef)(
73
70
  (0, import_react.useImperativeHandle)(ref, () => ({
74
71
  init
75
72
  }));
76
- (0, import_react.useEffect)(() => {
77
- onLoadingChange == null ? void 0 : onLoadingChange(loading);
78
- }, [loading]);
79
73
  const { availableList, disabledList } = (0, import_react.useMemo)(() => {
80
74
  const _disabledList = [];
81
75
  const _availableList = [];
@@ -117,8 +111,7 @@ var WalletPassList = (0, import_react.forwardRef)(
117
111
  value,
118
112
  onChange: handleChange,
119
113
  showEmpty: data.length === 0,
120
- empty,
121
- onChangeDebounce
114
+ empty
122
115
  }
123
116
  ), !!disabledList.length && /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-walletPass-list-disabled" }, import_utils.locales.getText("tocPay.text.walletPassDisabled")), /* @__PURE__ */ import_react.default.createElement(
124
117
  import_materials.PisellCardList,
@@ -48,7 +48,6 @@ var WalletPass = (0, import_react.forwardRef)((props, ref) => {
48
48
  var _a;
49
49
  const { onWalletPassChange, walletPass, walletSetting } = props;
50
50
  const [currentWalletPass, setCurrentWalletPass] = (0, import_react.useState)(walletPass);
51
- const [loading, setLoading] = (0, import_react.useState)(false);
52
51
  const [open, setOpen] = (0, import_react.useState)(false);
53
52
  const [searchOpen, setSearchOpen] = (0, import_react.useState)(false);
54
53
  const [addList, setAddList] = (0, import_react.useState)([]);
@@ -282,9 +281,7 @@ var WalletPass = (0, import_react.forwardRef)((props, ref) => {
282
281
  data: otherCustomerWalletPassList,
283
282
  title: import_utils.locales.getText("tocPay.text.couponCodesAdded"),
284
283
  onChange: handleOtherChange,
285
- value: selectValue,
286
- loading,
287
- onChangeDebounce: true
284
+ value: selectValue
288
285
  }
289
286
  ), /* @__PURE__ */ import_react.default.createElement(
290
287
  import_List.default,
@@ -293,8 +290,7 @@ var WalletPass = (0, import_react.forwardRef)((props, ref) => {
293
290
  title: walletSetting.name,
294
291
  onChange: handleCurrentChange,
295
292
  ref: listRef,
296
- value: selectValue,
297
- onLoadingChange: setLoading
293
+ value: selectValue
298
294
  }
299
295
  ))
300
296
  ), /* @__PURE__ */ import_react.default.createElement(
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { WalletPassDataType } from '../../../PaymentMethods/WalletPass/serve';
2
3
  import './index.less';
3
4
  interface WalletUseListProps {
@@ -51,7 +51,7 @@ export declare const formatFranchiseeRoute: (url: string, history?: any) => stri
51
51
  export declare const getAvailableMaxAmount: (data: WalletPassDataType) => string;
52
52
  export declare const clientPayment: (params: {
53
53
  order_id: number;
54
- type: "aliPay" | "wxPay" | 'google_pay';
54
+ type: "aliPay" | "wxPay";
55
55
  values: any;
56
56
  interaction?: any;
57
57
  }) => void;