@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
@@ -31,7 +31,25 @@ export default {
31
31
  'page.wallet.useAppleInstead': 'You are using an iOS device, would you like to use Apple Wallet instead of Google Wallet?',
32
32
  'page.wallet.openedInBrowser': 'Opened in browser',
33
33
  'page.wallet.openFailed': 'Failed to open wallet link',
34
- 'page.wallet.loading': 'Loading wallet...'
34
+ 'page.wallet.loading': 'Loading wallet...',
35
+ // Usage Rules
36
+ 'page.wallet.usageRules': 'Terms & Conditions',
37
+ 'page.wallet.usageRulesSubtitle': 'Please read the following usage conditions carefully',
38
+ 'page.wallet.timeUsageLimits': 'Time Window Restrictions',
39
+ 'page.wallet.totalQuantityControl': 'Total Usage Control',
40
+ 'page.wallet.dailyLimit': 'Daily Limit:',
41
+ 'page.wallet.weeklyLimit': 'Weekly Limit:',
42
+ 'page.wallet.monthlyLimit': 'Monthly Limit:',
43
+ 'page.wallet.personalLimit': 'Personal Limit:',
44
+ 'page.wallet.dailyLimitDesc': 'Maximum {limit} uses from 12:00 AM to 11:59 PM each day',
45
+ 'page.wallet.weeklyLimitDesc': 'Maximum {limit} uses from Monday 12:00 AM to Sunday 11:59 PM',
46
+ 'page.wallet.monthlyLimitDesc': 'Maximum {limit} uses from 1st 12:00 AM to end of month 11:59 PM',
47
+ 'page.wallet.monthlyLimitUnlimited': 'Unlimited',
48
+ 'page.wallet.personalLimitDesc': 'You can use this voucher maximum {total} times ({remaining} remaining)',
49
+ 'page.wallet.dailyReset': 'Counter resets automatically at midnight',
50
+ 'page.wallet.weeklyReset': 'Counter resets every Monday at midnight',
51
+ 'page.wallet.monthlyReset': 'Counter resets on 1st of each month at midnight',
52
+ 'page.wallet.voucherExpireNote': 'Voucher will automatically expire when limit is reached'
35
53
  },
36
54
  'zh-CN': {
37
55
  // 简体中文翻译
@@ -65,7 +83,25 @@ export default {
65
83
  'page.wallet.useAppleInstead': '您正在使用iOS设备,是否使用Apple Wallet代替Google Wallet?',
66
84
  'page.wallet.openedInBrowser': '已在浏览器中打开',
67
85
  'page.wallet.openFailed': '打开钱包链接失败',
68
- 'page.wallet.loading': '正在加载钱包...'
86
+ 'page.wallet.loading': '正在加载钱包...',
87
+ // Usage Rules
88
+ 'page.wallet.usageRules': '使用规则',
89
+ 'page.wallet.usageRulesSubtitle': '请仔细阅读以下使用条件',
90
+ 'page.wallet.timeUsageLimits': '时间使用限制',
91
+ 'page.wallet.totalQuantityControl': '总量控制',
92
+ 'page.wallet.dailyLimit': '每日限制:',
93
+ 'page.wallet.weeklyLimit': '每周限制:',
94
+ 'page.wallet.monthlyLimit': '每月限制:',
95
+ 'page.wallet.personalLimit': '个人限额:',
96
+ 'page.wallet.dailyLimitDesc': '每天0点-24点最多使用{limit}次',
97
+ 'page.wallet.weeklyLimitDesc': '每周一0点-周日24点最多使用{limit}次',
98
+ 'page.wallet.monthlyLimitDesc': '每月1号0点-月末24点最多使用{limit}次',
99
+ 'page.wallet.monthlyLimitUnlimited': '无限制',
100
+ 'page.wallet.personalLimitDesc': '您最多可使用此券{total}次(剩余{remaining}次)',
101
+ 'page.wallet.dailyReset': '每天0点自动重置计数',
102
+ 'page.wallet.weeklyReset': '每周一0点自动重置计数',
103
+ 'page.wallet.monthlyReset': '每月1号0点自动重置计数',
104
+ 'page.wallet.voucherExpireNote': '用完后此券将自动失效'
69
105
  },
70
106
  'zh-HK': {
71
107
  // 繁体中文翻译
@@ -99,6 +135,24 @@ export default {
99
135
  'page.wallet.useAppleInstead': '您正在使用iOS設備,是否使用Apple Wallet代替Google Wallet?',
100
136
  'page.wallet.openedInBrowser': '已在瀏覽器中打開',
101
137
  'page.wallet.openFailed': '打開錢包連結失敗',
102
- 'page.wallet.loading': '正在加載錢包...'
138
+ 'page.wallet.loading': '正在加載錢包...',
139
+ // Usage Rules
140
+ 'page.wallet.usageRules': '使用規則',
141
+ 'page.wallet.usageRulesSubtitle': '請仔細閱讀以下使用條件',
142
+ 'page.wallet.timeUsageLimits': '時間使用限制',
143
+ 'page.wallet.totalQuantityControl': '總量控制',
144
+ 'page.wallet.dailyLimit': '每日限制:',
145
+ 'page.wallet.weeklyLimit': '每週限制:',
146
+ 'page.wallet.monthlyLimit': '每月限制:',
147
+ 'page.wallet.personalLimit': '個人限額:',
148
+ 'page.wallet.dailyLimitDesc': '每天0點-24點最多使用{limit}次',
149
+ 'page.wallet.weeklyLimitDesc': '每週一0點-週日24點最多使用{limit}次',
150
+ 'page.wallet.monthlyLimitDesc': '每月1號0點-月末24點最多使用{limit}次',
151
+ 'page.wallet.monthlyLimitUnlimited': '無限制',
152
+ 'page.wallet.personalLimitDesc': '您最多可使用此券{total}次(剩餘{remaining}次)',
153
+ 'page.wallet.dailyReset': '每天0點自動重置計數',
154
+ 'page.wallet.weeklyReset': '每週一0點自動重置計數',
155
+ 'page.wallet.monthlyReset': '每月1號0點自動重置計數',
156
+ 'page.wallet.voucherExpireNote': '用完後此券將自動失效'
103
157
  }
104
158
  };
@@ -43,7 +43,11 @@ export var getDetailApi = /*#__PURE__*/function () {
43
43
  while (1) switch (_context2.prev = _context2.next) {
44
44
  case 0:
45
45
  _context2.next = 2;
46
- return request.getRequest().get("/h5/machinecode/lowcode/detail/".concat(params.id), {});
46
+ return request.getRequest().get("/h5/machinecode/lowcode/detail/".concat(params.id), {
47
+ order_behavior_count: 1,
48
+ // 订单行为次数
49
+ order_behavior_count_customer: 1 // 客户订单行为次数
50
+ });
47
51
  case 2:
48
52
  _yield$request$getReq2 = _context2.sent;
49
53
  data = _yield$request$getReq2.data;
@@ -0,0 +1,23 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ interface UsageRule {
4
+ type: 'daily' | 'weekly' | 'monthly';
5
+ limit: number;
6
+ description: string;
7
+ resetTime?: string;
8
+ }
9
+ interface UsageRulesProps {
10
+ className?: string;
11
+ style?: React.CSSProperties;
12
+ rules?: UsageRule[];
13
+ personalLimit?: {
14
+ total: number;
15
+ remaining: number;
16
+ note?: string;
17
+ };
18
+ locales?: {
19
+ getText: (key: string) => string;
20
+ };
21
+ }
22
+ declare function UsageRules({ className, style, rules, personalLimit, locales }: UsageRulesProps): JSX.Element;
23
+ export default UsageRules;
@@ -0,0 +1,147 @@
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
6
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
+ import React from 'react';
8
+ import { Typography } from '@pisell/materials';
9
+ import "./index.less";
10
+ var Text = Typography.Text;
11
+ function UsageRules(_ref) {
12
+ var _ref$className = _ref.className,
13
+ className = _ref$className === void 0 ? '' : _ref$className,
14
+ style = _ref.style,
15
+ rules = _ref.rules,
16
+ _ref$personalLimit = _ref.personalLimit,
17
+ personalLimit = _ref$personalLimit === void 0 ? {
18
+ total: 5,
19
+ remaining: 3,
20
+ note: '用完后此券将自动失效'
21
+ } : _ref$personalLimit,
22
+ locales = _ref.locales;
23
+ // Helper function to interpolate text with variables
24
+ var interpolateText = function interpolateText(text, variables) {
25
+ return text.replace(/\{(\w+)\}/g, function (match, key) {
26
+ return variables[key] !== undefined ? variables[key] : match;
27
+ });
28
+ };
29
+
30
+ // Get localized text with fallback
31
+ var getText = function getText(key, fallback) {
32
+ return (locales === null || locales === void 0 ? void 0 : locales.getText(key)) || fallback || key;
33
+ };
34
+
35
+ // Generate rule description with limit value
36
+ var getRuleDescription = function getRuleDescription(type, limit) {
37
+ // Handle unlimited case (limit = 0 means unlimited)
38
+ if (limit === 0 && type === 'monthly') {
39
+ return getText('page.wallet.monthlyLimitUnlimited', '无限制');
40
+ }
41
+ var templateKey = "page.wallet.".concat(type, "LimitDesc");
42
+ var template = getText(templateKey, '');
43
+ return interpolateText(template, {
44
+ limit: limit
45
+ });
46
+ };
47
+
48
+ // Generate rule reset time text
49
+ var getRuleResetTime = function getRuleResetTime(type) {
50
+ var resetKey = "page.wallet.".concat(type, "Reset");
51
+ return getText(resetKey, '');
52
+ };
53
+
54
+ // Default rules with localized text
55
+ var defaultRules = [{
56
+ type: 'daily',
57
+ limit: 3,
58
+ description: getRuleDescription('daily', 3),
59
+ resetTime: getRuleResetTime('daily')
60
+ }, {
61
+ type: 'weekly',
62
+ limit: 15,
63
+ description: getRuleDescription('weekly', 15),
64
+ resetTime: getRuleResetTime('weekly')
65
+ }, {
66
+ type: 'monthly',
67
+ limit: 60,
68
+ description: getRuleDescription('monthly', 60),
69
+ resetTime: getRuleResetTime('monthly')
70
+ }];
71
+
72
+ // Process rules to add localized descriptions
73
+ var processedRules = rules ? rules.map(function (rule) {
74
+ return _objectSpread(_objectSpread({}, rule), {}, {
75
+ description: getRuleDescription(rule.type, rule.limit),
76
+ resetTime: getRuleResetTime(rule.type)
77
+ });
78
+ }) : defaultRules;
79
+ var finalRules = processedRules;
80
+ var getRuleLabel = function getRuleLabel(type) {
81
+ switch (type) {
82
+ case 'daily':
83
+ return getText('page.wallet.dailyLimit', '每日限制:');
84
+ case 'weekly':
85
+ return getText('page.wallet.weeklyLimit', '每周限制:');
86
+ case 'monthly':
87
+ return getText('page.wallet.monthlyLimit', '每月限制:');
88
+ default:
89
+ return getText('page.wallet.dailyLimit', '限制:');
90
+ }
91
+ };
92
+ return /*#__PURE__*/React.createElement("div", {
93
+ className: "usage-rules ".concat(className),
94
+ style: style
95
+ }, /*#__PURE__*/React.createElement(Text, {
96
+ className: "usage-rules-title"
97
+ }, getText('page.wallet.usageRules', '使用规则')), /*#__PURE__*/React.createElement(Text, {
98
+ className: "usage-rules-subtitle"
99
+ }, getText('page.wallet.usageRulesSubtitle', '请仔细阅读以下使用条件')), /*#__PURE__*/React.createElement("div", {
100
+ className: "usage-rules-section"
101
+ }, /*#__PURE__*/React.createElement(Text, {
102
+ className: "usage-rules-section-title"
103
+ }, getText('page.wallet.timeUsageLimits', '时间使用限制')), /*#__PURE__*/React.createElement("div", {
104
+ className: "usage-rules-list"
105
+ }, finalRules.length > 0 ? finalRules.map(function (rule, index) {
106
+ return /*#__PURE__*/React.createElement("div", {
107
+ key: index,
108
+ className: "usage-rules-item"
109
+ }, /*#__PURE__*/React.createElement("div", {
110
+ className: "usage-rules-item-content"
111
+ }, /*#__PURE__*/React.createElement("div", {
112
+ className: "usage-rules-item-main-line"
113
+ }, /*#__PURE__*/React.createElement(Text, {
114
+ className: "usage-rules-item-label"
115
+ }, getRuleLabel(rule.type)), /*#__PURE__*/React.createElement(Text, {
116
+ className: "usage-rules-item-description"
117
+ }, rule.description)), rule.resetTime && /*#__PURE__*/React.createElement(Text, {
118
+ className: "usage-rules-item-reset"
119
+ }, rule.resetTime)));
120
+ }) : /*#__PURE__*/React.createElement("div", {
121
+ className: "usage-rules-item"
122
+ }, /*#__PURE__*/React.createElement("div", {
123
+ className: "usage-rules-item-content"
124
+ }, /*#__PURE__*/React.createElement(Text, {
125
+ className: "usage-rules-item-description"
126
+ }, getText('page.wallet.monthlyLimitUnlimited', '无限制')))))), /*#__PURE__*/React.createElement("div", {
127
+ className: "usage-rules-section"
128
+ }, /*#__PURE__*/React.createElement(Text, {
129
+ className: "usage-rules-section-title"
130
+ }, getText('page.wallet.totalQuantityControl', '总量控制')), /*#__PURE__*/React.createElement("div", {
131
+ className: "usage-rules-item"
132
+ }, /*#__PURE__*/React.createElement("div", {
133
+ className: "usage-rules-item-content"
134
+ }, personalLimit.total > 0 ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Text, {
135
+ className: "usage-rules-item-label"
136
+ }, getText('page.wallet.personalLimit', '个人限额:')), /*#__PURE__*/React.createElement(Text, {
137
+ className: "usage-rules-item-description"
138
+ }, interpolateText(getText('page.wallet.personalLimitDesc', '您最多可使用此券{total}次(剩余{remaining}次)'), {
139
+ total: personalLimit.total,
140
+ remaining: personalLimit.remaining
141
+ })), /*#__PURE__*/React.createElement(Text, {
142
+ className: "usage-rules-item-note"
143
+ }, getText('page.wallet.voucherExpireNote', '用完后此券将自动失效'))) : /*#__PURE__*/React.createElement(Text, {
144
+ className: "usage-rules-item-description"
145
+ }, getText('page.wallet.monthlyLimitUnlimited', '无限制'))))));
146
+ }
147
+ export default UsageRules;
@@ -0,0 +1,157 @@
1
+ .usage-rules {
2
+ padding: 16px;
3
+ background: #ffffff;
4
+ border-radius: 8px;
5
+ border: 1px solid #f0f0f0;
6
+ margin-top: 16px;
7
+ margin-bottom: 20px;
8
+
9
+ // 确保所有Text组件都是块级元素
10
+ .ant-typography {
11
+ display: block !important;
12
+ width: 100% !important;
13
+ margin-bottom: 0 !important;
14
+ }
15
+
16
+ &-title {
17
+ font-size: 18px;
18
+ font-weight: 600;
19
+ color: #000000;
20
+ line-height: 24px;
21
+ margin-bottom: 8px;
22
+ display: block;
23
+ width: 100%;
24
+ }
25
+
26
+ &-subtitle {
27
+ font-size: 14px;
28
+ color: #6B7280;
29
+ line-height: 20px;
30
+ margin-bottom: 24px;
31
+ display: block;
32
+ width: 100%;
33
+ }
34
+
35
+ &-section {
36
+ margin-bottom: 24px;
37
+
38
+ &:last-child {
39
+ margin-bottom: 0;
40
+ }
41
+
42
+ &-title {
43
+ font-size: 16px;
44
+ font-weight: 500;
45
+ color: #6B7280;
46
+ line-height: 20px;
47
+ margin-bottom: 16px;
48
+ display: block;
49
+ width: 100%;
50
+ }
51
+ }
52
+
53
+ &-list {
54
+ display: flex;
55
+ flex-direction: column;
56
+ gap: 16px;
57
+ }
58
+
59
+ &-item {
60
+ position: relative;
61
+ display: flex;
62
+ align-items: flex-start;
63
+
64
+ &::before {
65
+ content: '•';
66
+ color: #697281;
67
+ font-size: 16px;
68
+ line-height: 20px;
69
+ font-weight: bold;
70
+ margin-right: 8px;
71
+ flex-shrink: 0;
72
+ margin-top: 0;
73
+ }
74
+
75
+ &-content {
76
+ flex: 1;
77
+ min-width: 0;
78
+ }
79
+
80
+ &-main-line {
81
+ margin-bottom: 4px;
82
+ }
83
+
84
+ &-label {
85
+ font-size: 14px;
86
+ font-weight: 600;
87
+ color: #000000;
88
+ line-height: 20px;
89
+ display: inline;
90
+ margin-right: 4px;
91
+ }
92
+
93
+ &-description {
94
+ font-size: 14px;
95
+ color: #000000;
96
+ line-height: 20px;
97
+ display: inline;
98
+ word-wrap: break-word;
99
+ }
100
+
101
+ &-reset {
102
+ font-size: 14px;
103
+ color: #000000;
104
+ line-height: 20px;
105
+ display: block;
106
+ width: 100%;
107
+ }
108
+
109
+ &-note {
110
+ font-size: 14px;
111
+ color: #000000;
112
+ line-height: 20px;
113
+ margin-top: 4px;
114
+ display: block;
115
+ width: 100%;
116
+ }
117
+ }
118
+
119
+ }
120
+
121
+ // 响应式设计
122
+ @media (max-width: 768px) {
123
+ .usage-rules {
124
+ padding: 12px;
125
+ margin-top: 12px;
126
+
127
+ &-title {
128
+ font-size: 16px;
129
+ }
130
+
131
+ &-subtitle {
132
+ font-size: 13px;
133
+ }
134
+
135
+ &-section {
136
+ margin-bottom: 20px;
137
+
138
+ &-title {
139
+ font-size: 15px;
140
+ }
141
+ }
142
+
143
+ &-item {
144
+ &::before {
145
+ font-size: 14px;
146
+ margin-right: 6px;
147
+ }
148
+
149
+ &-label,
150
+ &-description,
151
+ &-reset,
152
+ &-note {
153
+ font-size: 13px;
154
+ }
155
+ }
156
+ }
157
+ }
@@ -62,9 +62,8 @@ var WalletCard = function WalletCard(_ref) {
62
62
  disabled: isDisabled,
63
63
  showDisabledReason: isDisabled,
64
64
  disabledReason: disabledReason,
65
- style: {
66
- marginBottom: 16,
67
- width: '100%'
65
+ propStyle: {
66
+ marginBottom: 16
68
67
  },
69
68
  showBalanceSymbol: !['point_card', 'good_pass'].includes(tag),
70
69
  active: isActive,
@@ -1,2 +1,3 @@
1
1
  export { default as WalletBar } from './WalletBar';
2
2
  export { default as FooterButtons } from './FooterButtons';
3
+ export { default as UsageRules } from './UsageRules';
@@ -1,3 +1,4 @@
1
1
  // 导出所有公共组件
2
2
  export { default as WalletBar } from "./WalletBar";
3
- export { default as FooterButtons } from "./FooterButtons";
3
+ export { default as FooterButtons } from "./FooterButtons";
4
+ export { default as UsageRules } from "./UsageRules";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { IWalletListItemProps } from '../serve';
2
3
  /**
3
4
  * 钱包卡片Hook的参数
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Modal as AntModal, ModalFuncProps as AntModalFuncProps, ModalProps as AntModalProps } from 'antd';
2
3
  import './index.less';
3
4
  interface ModalProps extends AntModalProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './../../index.less';
2
3
  declare const Search: () => JSX.Element;
3
4
  export default Search;
@@ -8,7 +8,7 @@ var useComponents = function useComponents(params) {
8
8
  var _utils$getComponents;
9
9
  var _ref = appHelper || {},
10
10
  utils = _ref.utils;
11
- return (utils === null || utils === void 0 || (_utils$getComponents = utils.getComponents) === null || _utils$getComponents === void 0 ? void 0 : _utils$getComponents.call(utils, components)) || [];
11
+ return (utils === null || utils === void 0 ? void 0 : (_utils$getComponents = utils.getComponents) === null || _utils$getComponents === void 0 ? void 0 : _utils$getComponents.call(utils, components)) || [];
12
12
  }, [components]);
13
13
  return Cpt;
14
14
  };
package/es/index.d.ts CHANGED
@@ -45,3 +45,6 @@ export { default as TicketBooking } from './components/ticketBooking';
45
45
  export { default as SubTotal } from './components/subTotal';
46
46
  export { default as EditBookingModal } from './components/booking/editBookingModal';
47
47
  export { default as StepController } from './components/stepController';
48
+ export { default as SaasLogin } from './plus/saasLogin';
49
+ export { default as SaasRegister } from './plus/saasRegister';
50
+ export { default as SaasCreateOrganization } from './plus/saasCreateOrganization';
package/es/index.js CHANGED
@@ -48,4 +48,7 @@ export { default as AppointmentDeposit } from "./components/appointmentBooking/d
48
48
  export { default as TicketBooking } from "./components/ticketBooking";
49
49
  export { default as SubTotal } from "./components/subTotal";
50
50
  export { default as EditBookingModal } from "./components/booking/editBookingModal";
51
- export { default as StepController } from "./components/stepController";
51
+ export { default as StepController } from "./components/stepController";
52
+ export { default as SaasLogin } from "./plus/saasLogin";
53
+ export { default as SaasRegister } from "./plus/saasRegister";
54
+ export { default as SaasCreateOrganization } from "./plus/saasCreateOrganization";
@@ -201,7 +201,8 @@
201
201
  .price-info {
202
202
  display: flex;
203
203
  align-items: center;
204
- gap: 8px;
204
+ flex-wrap: wrap;
205
+ gap: unset;
205
206
  }
206
207
 
207
208
  .price {
@@ -210,6 +211,8 @@
210
211
  font-style: normal;
211
212
  font-weight: 600;
212
213
  line-height: 28px;
214
+ overflow: hidden;
215
+ margin-right: 8px;
213
216
  }
214
217
 
215
218
  .original-price {
@@ -219,6 +222,7 @@
219
222
  font-weight: 400;
220
223
  line-height: 24px;
221
224
  position: relative;
225
+ overflow: hidden;
222
226
 
223
227
  &::before {
224
228
  content: '';
@@ -246,25 +250,4 @@
246
250
  }
247
251
  }
248
252
  }
249
-
250
- // 网格布局中的产品卡片样式调整
251
- .product-grid-wrapper {
252
- .pisell-product-select__product-card {
253
- min-width: unset;
254
- width: 100%;
255
- }
256
- }
257
-
258
- // 列表布局中的产品卡片样式调整
259
- .product-list-wrapper {
260
- .pisell-product-select__product-card {
261
- min-width: 363px;
262
- max-width: unset;
263
- margin-top: 12px;
264
-
265
- &:first-child {
266
- margin-top: 0;
267
- }
268
- }
269
- }
270
253
  }
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import './index.less';
2
3
  interface IProps {
3
4
  value: string | number;
4
5
  isMini?: boolean;
@@ -8,6 +8,7 @@ import React, { useMemo } from 'react';
8
8
  import { PisellText } from '@pisell/materials';
9
9
  import classNames from 'classnames';
10
10
  import useEngineContext from "../../../../hooks/useEngineContext";
11
+ import "./index.less";
11
12
  var index = function index(props) {
12
13
  var _context$appHelper$ut;
13
14
  var context = useEngineContext();
@@ -0,0 +1,4 @@
1
+ .pisell-price-text {
2
+ overflow: hidden;
3
+ text-overflow: ellipsis;
4
+ }
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { SCOProps } from '../types';
3
+ import '../index.less';
4
+ export declare const Header: (props: SCOProps) => JSX.Element;
@@ -0,0 +1,62 @@
1
+ import React from 'react';
2
+ import { locales } from '@pisell/utils';
3
+ import "../index.less";
4
+ export var Header = function Header(props) {
5
+ var _props$showLogo = props.showLogo,
6
+ showLogo = _props$showLogo === void 0 ? true : _props$showLogo,
7
+ _props$logo = props.logo,
8
+ logo = _props$logo === void 0 ? '' : _props$logo,
9
+ _props$logoSize = props.logoSize,
10
+ logoSize = _props$logoSize === void 0 ? {
11
+ width: 48,
12
+ height: 48
13
+ } : _props$logoSize,
14
+ _props$logoPosition = props.logoPosition,
15
+ logoPosition = _props$logoPosition === void 0 ? 'center' : _props$logoPosition,
16
+ _props$showWelcomeMes = props.showWelcomeMessage,
17
+ showWelcomeMessage = _props$showWelcomeMes === void 0 ? true : _props$showWelcomeMes,
18
+ _props$welcomeMessage = props.welcomeMessage,
19
+ welcomeMessage = _props$welcomeMessage === void 0 ? locales.getText('pisell-saas-create-org-welcome-message') : _props$welcomeMessage,
20
+ _props$welcomeMessage2 = props.welcomeMessageAlign,
21
+ welcomeMessageAlign = _props$welcomeMessage2 === void 0 ? 'center' : _props$welcomeMessage2,
22
+ _props$showTitle = props.showTitle,
23
+ showTitle = _props$showTitle === void 0 ? true : _props$showTitle,
24
+ _props$title = props.title,
25
+ title = _props$title === void 0 ? locales.getText('pisell-saas-create-org-title') : _props$title,
26
+ _props$titleAlign = props.titleAlign,
27
+ titleAlign = _props$titleAlign === void 0 ? 'center' : _props$titleAlign,
28
+ _props$showSubtitle = props.showSubtitle,
29
+ showSubtitle = _props$showSubtitle === void 0 ? true : _props$showSubtitle,
30
+ _props$subtitle = props.subtitle,
31
+ subtitle = _props$subtitle === void 0 ? '' : _props$subtitle,
32
+ _props$subtitleAlign = props.subtitleAlign,
33
+ subtitleAlign = _props$subtitleAlign === void 0 ? 'center' : _props$subtitleAlign;
34
+ return /*#__PURE__*/React.createElement(React.Fragment, null, showLogo && /*#__PURE__*/React.createElement("div", {
35
+ className: "pisell-saas-create-org-logo ".concat(logoPosition),
36
+ style: {
37
+ width: logoSize.width,
38
+ height: logoSize.height
39
+ }
40
+ }, logo && /*#__PURE__*/React.createElement("img", {
41
+ src: logo,
42
+ alt: "logo",
43
+ style: {
44
+ height: (logoSize === null || logoSize === void 0 ? void 0 : logoSize.height) || 48
45
+ }
46
+ })), showWelcomeMessage && /*#__PURE__*/React.createElement("h1", {
47
+ className: "pisell-saas-create-org-welcome-message",
48
+ style: {
49
+ textAlign: welcomeMessageAlign
50
+ }
51
+ }, welcomeMessage || ''), showTitle && /*#__PURE__*/React.createElement("h1", {
52
+ className: "pisell-saas-create-org-title",
53
+ style: {
54
+ textAlign: titleAlign
55
+ }
56
+ }, title || ''), showSubtitle && /*#__PURE__*/React.createElement("div", {
57
+ className: "pisell-saas-create-org-subtitle",
58
+ style: {
59
+ textAlign: subtitleAlign
60
+ }
61
+ }, subtitle || ''));
62
+ };
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { SCOProps } from './types';
3
+ import './index.less';
4
+ declare const SaasCreateOrganization: (props: SCOProps) => JSX.Element;
5
+ export default SaasCreateOrganization;
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import { locales } from '@pisell/utils';
3
+ import useEngineContext from "../../hooks/useEngineContext";
4
+ import { Header } from "./components/Header";
5
+ import localeTexts from "./locales";
6
+ import "./index.less";
7
+ var SaasCreateOrganization = function SaasCreateOrganization(props) {
8
+ var _context$engine;
9
+ var context = useEngineContext();
10
+ locales.init(localeTexts, (context === null || context === void 0 || (_context$engine = context.engine) === null || _context$engine === void 0 || (_context$engine = _context$engine.props) === null || _context$engine === void 0 ? void 0 : _context$engine.locale) || 'en');
11
+ return /*#__PURE__*/React.createElement("div", {
12
+ className: "pisell-saas-create-org-container"
13
+ }, /*#__PURE__*/React.createElement(Header, props), /*#__PURE__*/React.createElement("div", null, props === null || props === void 0 ? void 0 : props.children));
14
+ };
15
+ export default SaasCreateOrganization;