@pisell/private-materials 6.7.7 → 6.7.8

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 (345) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +2 -2
  6. package/build/lowcode/preview.js +17 -8
  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/Voucher/index.js +1 -2
  12. package/es/components/booking/addons/index.js +17 -25
  13. package/es/components/booking/components/footer/amount.d.ts +0 -1
  14. package/es/components/booking/components/footer/amount.js +84 -548
  15. package/es/components/booking/components/footer/index.js +56 -77
  16. package/es/components/booking/components/footer/utils.d.ts +0 -19
  17. package/es/components/booking/components/footer/utils.js +73 -194
  18. package/es/components/booking/components/voucher/index.js +7 -23
  19. package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  20. package/es/components/booking/hooks/useQuotation.js +1 -4
  21. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  22. package/es/components/booking/info/service2/utils.js +0 -1
  23. package/es/components/booking/info2/cartClientCard/index.js +6 -30
  24. package/es/components/booking/info2/index.js +1 -1
  25. package/es/components/booking/info2/service/addService/index.js +3 -2
  26. package/es/components/booking/info2/service/editNormalService/index.js +0 -6
  27. package/es/components/booking/info2/service/editService/index.js +6 -16
  28. package/es/components/booking/info2/service/editService/utils.d.ts +0 -15
  29. package/es/components/booking/info2/service/editService/utils.js +0 -66
  30. package/es/components/booking/utils.d.ts +0 -1
  31. package/es/components/booking/utils.js +3 -16
  32. package/es/components/checkout/PaymentModal.d.ts +5 -13
  33. package/es/components/checkout/PaymentModal.js +252 -304
  34. package/es/components/checkout/PaymentPlugin.d.ts +3 -0
  35. package/es/components/{systemSettings/registry/components/GroupModal.js → checkout/PaymentPlugin.js} +171 -132
  36. package/es/components/checkout/components/AdditionalModule/index.d.ts +1 -3
  37. package/es/components/checkout/components/AdditionalModule/index.js +12 -52
  38. package/es/components/checkout/components/AmountSummary/index.js +76 -9
  39. package/es/components/checkout/components/AmountSummary/index.less +6 -5
  40. package/es/components/checkout/components/CashPaymentModule/index.d.ts +1 -3
  41. package/es/components/checkout/components/CashPaymentModule/index.js +2 -5
  42. package/es/components/checkout/components/PaymentDetailModal/index.js +2 -2
  43. package/es/components/checkout/components/PaymentOptionsModule/PaymentMethodItem.d.ts +0 -2
  44. package/es/components/checkout/components/PaymentOptionsModule/PaymentMethodItem.js +1 -6
  45. package/es/components/checkout/components/PaymentOptionsModule/index.d.ts +0 -1
  46. package/es/components/checkout/components/PaymentOptionsModule/index.js +1 -2
  47. package/es/components/checkout/components/PaymentOptionsModule/index.less +0 -4
  48. package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +0 -4
  49. package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.js +8 -31
  50. package/es/components/checkout/components/PaymentResultToast/index.js +6 -6
  51. package/es/components/checkout/components/PaymentResultToast/index.less +33 -94
  52. package/es/components/checkout/components/SearchAndClientModule/index.js +40 -39
  53. package/es/components/checkout/index.less +1 -1
  54. package/es/components/checkout/locales.d.ts +0 -6
  55. package/es/components/checkout/locales.js +0 -6
  56. package/es/components/checkout/utils/PaymentResultToastUtils.d.ts +1 -0
  57. package/es/components/checkout/utils/PaymentResultToastUtils.js +1 -11
  58. package/es/components/eftpos/hooks.d.ts +0 -1
  59. package/es/components/eftposPay/hooks.d.ts +1 -1
  60. package/es/components/eftposPay/linkly/hooks/useTimeQuery.js +6 -14
  61. package/es/components/eftposPay/payo/config.js +32 -70
  62. package/es/components/eftposPay/store/index.d.ts +4 -4
  63. package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
  64. package/es/components/eftposPay/tyro/index.js +0 -12
  65. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  66. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  67. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  68. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  69. package/es/components/index.d.ts +1 -2
  70. package/es/components/index.js +1 -2
  71. package/es/components/list/List.js +40 -56
  72. package/es/components/list/hooks/useListState.d.ts +3 -5
  73. package/es/components/list/hooks/useListState.js +2 -17
  74. package/es/components/list/styles/header.less +3 -3
  75. package/es/components/list/utils/index.d.ts +1 -13
  76. package/es/components/list/utils/index.js +1 -43
  77. package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +12 -14
  78. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
  79. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  80. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
  81. package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +0 -6
  82. package/es/components/pay/toC/PaymentMethods/WalletPass/utils.js +2 -4
  83. package/es/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.js +0 -2
  84. package/es/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.less +3 -13
  85. package/es/components/pay/toC/index.js +4 -7
  86. package/es/components/pay/toC/locales.d.ts +0 -3
  87. package/es/components/pay/toC/locales.js +3 -6
  88. package/es/components/pay/toC/status.d.ts +0 -1
  89. package/es/components/pay/toC/status.js +0 -3
  90. package/es/components/schedules/utils.d.ts +1 -1
  91. package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
  92. package/es/components/subTotal/index.js +1 -1
  93. package/es/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.js +0 -1
  94. package/es/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +2 -33
  95. package/es/components/ticketBooking/components/ProductDisplayAdapter/utils.js +36 -139
  96. package/es/components/ticketBooking/components/addServiceVariant/addService.js +86 -2
  97. package/es/components/ticketBooking/components/menuBar/index.js +12 -109
  98. package/es/components/ticketBooking/components/ticketBooking/index.js +2 -2
  99. package/es/components/ticketBooking/components/timeBar/index.js +7 -112
  100. package/es/components/ticketBooking/components/timeBar/index.less +0 -59
  101. package/es/components/ticketBooking/hooks/pisellos/useProducts.js +18 -29
  102. package/es/components/ticketBooking/locales.d.ts +0 -6
  103. package/es/components/ticketBooking/locales.js +3 -9
  104. package/es/components/ticketBooking/utils/index.d.ts +0 -3
  105. package/es/components/ticketBooking/utils/index.js +13 -36
  106. package/es/components/wallet/Detail/index.js +2 -34
  107. package/es/components/wallet/Detail/index.less +0 -11
  108. package/es/components/wallet/Detail/locales.d.ts +0 -6
  109. package/es/components/wallet/Detail/locales.js +2 -14
  110. package/es/components/wallet/Voucher/index.js +10 -11
  111. package/es/components/wallet/components/WalletCard.js +1 -5
  112. package/es/components/wallet/index.js +2 -4
  113. package/es/components/wallet/serve.d.ts +0 -7
  114. package/es/hooks/usePaymentLogger.d.ts +0 -1
  115. package/es/index.d.ts +0 -4
  116. package/es/index.js +1 -5
  117. package/es/plus/clientCard/locales.js +3 -3
  118. package/es/plus/clinetSearch/index.js +30 -28
  119. package/es/plus/clinetSearch/locales.d.ts +0 -3
  120. package/es/plus/clinetSearch/locales.js +4 -7
  121. package/es/plus/clinetSearch/types.d.ts +0 -12
  122. package/es/plus/walletPassGallery/components/footerButton/index.js +4 -2
  123. package/es/plus/walletPassGallery/components/footerButton/index.less +59 -14
  124. package/es/plus/walletPassGallery/components/passDetail/index.d.ts +0 -1
  125. package/es/plus/walletPassGallery/components/passDetail/index.js +31 -84
  126. package/es/plus/walletPassGallery/components/passDetail/index.less +0 -4
  127. package/es/plus/walletPassGallery/components/recharge/index.js +8 -19
  128. package/es/plus/walletPassGallery/index.js +3 -7
  129. package/es/plus/walletPassGallery/serve.d.ts +0 -3
  130. package/es/plus/walletPassGallery/serve.js +2 -4
  131. package/es/pro/Login2.0/index.less +8 -15
  132. package/es/pro/comprehensiveSearch/components/searchSection/locales.js +3 -3
  133. package/es/pro/comprehensiveSearch/locales.js +1 -1
  134. package/es/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.js +36 -45
  135. package/es/pro/priceKeyboard/components/cashKeyboard/index.d.ts +0 -1
  136. package/es/pro/priceKeyboard/components/cashKeyboard/index.js +2 -4
  137. package/es/pro/priceKeyboard/components/cashKeyboard/types.d.ts +0 -1
  138. package/es/pro/priceKeyboard/components/discountKeyboard/index.js +1 -10
  139. package/es/pro/priceKeyboard/components/discountKeyboard/index.less +0 -14
  140. package/es/pro/priceKeyboard/components/shortcuts/index.d.ts +0 -1
  141. package/es/pro/priceKeyboard/components/shortcuts/index.js +2 -5
  142. package/es/pro/priceKeyboard/components/shortcuts/index.less +0 -4
  143. package/es/utils/index.d.ts +1 -1
  144. package/lib/components/appointmentBooking/components/Voucher/index.js +1 -2
  145. package/lib/components/booking/addons/index.js +7 -15
  146. package/lib/components/booking/components/footer/amount.d.ts +0 -1
  147. package/lib/components/booking/components/footer/amount.js +41 -293
  148. package/lib/components/booking/components/footer/index.js +11 -30
  149. package/lib/components/booking/components/footer/utils.d.ts +0 -19
  150. package/lib/components/booking/components/footer/utils.js +41 -138
  151. package/lib/components/booking/components/voucher/index.js +9 -25
  152. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  153. package/lib/components/booking/hooks/useQuotation.js +1 -2
  154. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  155. package/lib/components/booking/info/service2/utils.js +0 -1
  156. package/lib/components/booking/info2/cartClientCard/index.js +5 -25
  157. package/lib/components/booking/info2/index.js +2 -7
  158. package/lib/components/booking/info2/service/addService/index.js +2 -1
  159. package/lib/components/booking/info2/service/editNormalService/index.js +0 -6
  160. package/lib/components/booking/info2/service/editService/index.js +3 -12
  161. package/lib/components/booking/info2/service/editService/utils.d.ts +0 -15
  162. package/lib/components/booking/info2/service/editService/utils.js +3 -40
  163. package/lib/components/booking/utils.d.ts +0 -1
  164. package/lib/components/booking/utils.js +0 -11
  165. package/lib/components/checkout/PaymentModal.d.ts +5 -13
  166. package/lib/components/checkout/PaymentModal.js +147 -190
  167. package/lib/components/checkout/PaymentPlugin.d.ts +3 -0
  168. package/lib/components/checkout/PaymentPlugin.js +181 -0
  169. package/lib/components/checkout/components/AdditionalModule/index.d.ts +1 -3
  170. package/lib/components/checkout/components/AdditionalModule/index.js +11 -52
  171. package/lib/components/checkout/components/AmountSummary/index.js +46 -5
  172. package/lib/components/checkout/components/AmountSummary/index.less +6 -5
  173. package/lib/components/checkout/components/CashPaymentModule/index.d.ts +1 -3
  174. package/lib/components/checkout/components/CashPaymentModule/index.js +2 -5
  175. package/lib/components/checkout/components/PaymentDetailModal/index.js +2 -2
  176. package/lib/components/checkout/components/PaymentOptionsModule/PaymentMethodItem.d.ts +0 -2
  177. package/lib/components/checkout/components/PaymentOptionsModule/PaymentMethodItem.js +1 -5
  178. package/lib/components/checkout/components/PaymentOptionsModule/index.d.ts +0 -1
  179. package/lib/components/checkout/components/PaymentOptionsModule/index.js +0 -6
  180. package/lib/components/checkout/components/PaymentOptionsModule/index.less +0 -4
  181. package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +0 -4
  182. package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.js +5 -23
  183. package/lib/components/checkout/components/PaymentResultToast/index.js +4 -4
  184. package/lib/components/checkout/components/PaymentResultToast/index.less +33 -94
  185. package/lib/components/checkout/components/SearchAndClientModule/index.js +3 -29
  186. package/lib/components/checkout/index.less +1 -1
  187. package/lib/components/checkout/locales.d.ts +0 -6
  188. package/lib/components/checkout/locales.js +0 -6
  189. package/lib/components/checkout/utils/PaymentResultToastUtils.d.ts +1 -0
  190. package/lib/components/checkout/utils/PaymentResultToastUtils.js +1 -11
  191. package/lib/components/eftpos/hooks.d.ts +0 -1
  192. package/lib/components/eftposPay/hooks.d.ts +1 -1
  193. package/lib/components/eftposPay/linkly/hooks/useTimeQuery.js +6 -12
  194. package/lib/components/eftposPay/payo/config.js +73 -98
  195. package/lib/components/eftposPay/store/index.d.ts +4 -4
  196. package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
  197. package/lib/components/eftposPay/tyro/index.js +0 -12
  198. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  199. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  200. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  201. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  202. package/lib/components/index.d.ts +1 -2
  203. package/lib/components/index.js +0 -3
  204. package/lib/components/list/List.js +16 -34
  205. package/lib/components/list/hooks/useListState.d.ts +3 -5
  206. package/lib/components/list/hooks/useListState.js +1 -14
  207. package/lib/components/list/styles/header.less +3 -3
  208. package/lib/components/list/utils/index.d.ts +1 -13
  209. package/lib/components/list/utils/index.js +0 -27
  210. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +12 -14
  211. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
  212. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  213. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
  214. package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +0 -6
  215. package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.js +2 -4
  216. package/lib/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.js +1 -1
  217. package/lib/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.less +3 -13
  218. package/lib/components/pay/toC/index.js +1 -4
  219. package/lib/components/pay/toC/locales.d.ts +0 -3
  220. package/lib/components/pay/toC/locales.js +3 -6
  221. package/lib/components/pay/toC/status.d.ts +0 -1
  222. package/lib/components/pay/toC/status.js +0 -5
  223. package/lib/components/schedules/utils.d.ts +1 -1
  224. package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
  225. package/lib/components/subTotal/index.js +1 -1
  226. package/lib/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.js +0 -1
  227. package/lib/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +2 -33
  228. package/lib/components/ticketBooking/components/ProductDisplayAdapter/utils.js +24 -84
  229. package/lib/components/ticketBooking/components/addServiceVariant/addService.js +1 -0
  230. package/lib/components/ticketBooking/components/menuBar/index.js +6 -42
  231. package/lib/components/ticketBooking/components/ticketBooking/index.js +2 -2
  232. package/lib/components/ticketBooking/components/timeBar/index.js +4 -105
  233. package/lib/components/ticketBooking/components/timeBar/index.less +0 -59
  234. package/lib/components/ticketBooking/hooks/pisellos/useProducts.js +13 -17
  235. package/lib/components/ticketBooking/locales.d.ts +0 -6
  236. package/lib/components/ticketBooking/locales.js +3 -9
  237. package/lib/components/ticketBooking/utils/index.d.ts +0 -3
  238. package/lib/components/ticketBooking/utils/index.js +6 -20
  239. package/lib/components/wallet/Detail/index.js +3 -31
  240. package/lib/components/wallet/Detail/index.less +0 -11
  241. package/lib/components/wallet/Detail/locales.d.ts +0 -6
  242. package/lib/components/wallet/Detail/locales.js +2 -14
  243. package/lib/components/wallet/Voucher/index.js +8 -8
  244. package/lib/components/wallet/components/WalletCard.js +0 -4
  245. package/lib/components/wallet/index.js +2 -2
  246. package/lib/components/wallet/serve.d.ts +0 -7
  247. package/lib/hooks/usePaymentLogger.d.ts +0 -1
  248. package/lib/index.d.ts +0 -4
  249. package/lib/index.js +0 -12
  250. package/lib/plus/clientCard/locales.js +3 -3
  251. package/lib/plus/clinetSearch/index.js +8 -17
  252. package/lib/plus/clinetSearch/locales.d.ts +0 -3
  253. package/lib/plus/clinetSearch/locales.js +4 -7
  254. package/lib/plus/clinetSearch/types.d.ts +0 -12
  255. package/lib/plus/walletPassGallery/components/footerButton/index.js +2 -2
  256. package/lib/plus/walletPassGallery/components/footerButton/index.less +59 -14
  257. package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +0 -1
  258. package/lib/plus/walletPassGallery/components/passDetail/index.js +15 -54
  259. package/lib/plus/walletPassGallery/components/passDetail/index.less +0 -4
  260. package/lib/plus/walletPassGallery/components/recharge/index.js +1 -7
  261. package/lib/plus/walletPassGallery/index.js +3 -7
  262. package/lib/plus/walletPassGallery/serve.d.ts +0 -3
  263. package/lib/plus/walletPassGallery/serve.js +2 -3
  264. package/lib/pro/Login2.0/index.less +8 -15
  265. package/lib/pro/comprehensiveSearch/components/searchSection/locales.js +3 -3
  266. package/lib/pro/comprehensiveSearch/locales.js +1 -1
  267. package/lib/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.js +43 -42
  268. package/lib/pro/priceKeyboard/components/cashKeyboard/index.d.ts +0 -1
  269. package/lib/pro/priceKeyboard/components/cashKeyboard/index.js +2 -3
  270. package/lib/pro/priceKeyboard/components/cashKeyboard/types.d.ts +0 -1
  271. package/lib/pro/priceKeyboard/components/discountKeyboard/index.js +1 -8
  272. package/lib/pro/priceKeyboard/components/discountKeyboard/index.less +0 -14
  273. package/lib/pro/priceKeyboard/components/shortcuts/index.d.ts +0 -1
  274. package/lib/pro/priceKeyboard/components/shortcuts/index.js +2 -3
  275. package/lib/pro/priceKeyboard/components/shortcuts/index.less +0 -4
  276. package/lib/utils/index.d.ts +1 -1
  277. package/package.json +4 -4
  278. package/es/components/checkout/plugin.d.ts +0 -2
  279. package/es/components/checkout/plugin.js +0 -303
  280. package/es/components/eftposPay/payo/payment.d.ts +0 -66
  281. package/es/components/eftposPay/payo/payment.js +0 -579
  282. package/es/components/eftposPay/utils/log/index.d.ts +0 -110
  283. package/es/components/eftposPay/utils/log/index.js +0 -371
  284. package/es/components/systemSettings/registry/components/GroupModal.d.ts +0 -4
  285. package/es/components/systemSettings/registry/components/ItemModal.d.ts +0 -4
  286. package/es/components/systemSettings/registry/components/ItemModal.js +0 -547
  287. package/es/components/systemSettings/registry/components/ModuleList.d.ts +0 -4
  288. package/es/components/systemSettings/registry/components/ModuleList.js +0 -54
  289. package/es/components/systemSettings/registry/components/SectionList.d.ts +0 -4
  290. package/es/components/systemSettings/registry/components/SectionList.js +0 -174
  291. package/es/components/systemSettings/registry/components/SettingsTable.d.ts +0 -4
  292. package/es/components/systemSettings/registry/components/SettingsTable.js +0 -765
  293. package/es/components/systemSettings/registry/components/index.d.ts +0 -4
  294. package/es/components/systemSettings/registry/components/index.js +0 -4
  295. package/es/components/systemSettings/registry/index.d.ts +0 -5
  296. package/es/components/systemSettings/registry/index.js +0 -1059
  297. package/es/components/systemSettings/registry/index.less +0 -410
  298. package/es/components/systemSettings/registry/locales.d.ts +0 -272
  299. package/es/components/systemSettings/registry/locales.js +0 -300
  300. package/es/components/systemSettings/registry/services.d.ts +0 -77
  301. package/es/components/systemSettings/registry/services.js +0 -472
  302. package/es/components/systemSettings/registry/types.d.ts +0 -126
  303. package/es/components/systemSettings/registry/types.js +0 -1
  304. package/es/components/systemSettings/registry/utils/typeValidation.d.ts +0 -16
  305. package/es/components/systemSettings/registry/utils/typeValidation.js +0 -284
  306. package/es/components/systemSettings/registry/utils/validators.d.ts +0 -8
  307. package/es/components/systemSettings/registry/utils/validators.js +0 -44
  308. package/es/components/wallet/utils.d.ts +0 -48
  309. package/es/components/wallet/utils.js +0 -342
  310. package/lib/components/checkout/plugin.d.ts +0 -2
  311. package/lib/components/checkout/plugin.js +0 -263
  312. package/lib/components/eftposPay/payo/payment.d.ts +0 -66
  313. package/lib/components/eftposPay/payo/payment.js +0 -357
  314. package/lib/components/eftposPay/utils/log/index.d.ts +0 -110
  315. package/lib/components/eftposPay/utils/log/index.js +0 -294
  316. package/lib/components/systemSettings/registry/components/GroupModal.d.ts +0 -4
  317. package/lib/components/systemSettings/registry/components/GroupModal.js +0 -177
  318. package/lib/components/systemSettings/registry/components/ItemModal.d.ts +0 -4
  319. package/lib/components/systemSettings/registry/components/ItemModal.js +0 -508
  320. package/lib/components/systemSettings/registry/components/ModuleList.d.ts +0 -4
  321. package/lib/components/systemSettings/registry/components/ModuleList.js +0 -71
  322. package/lib/components/systemSettings/registry/components/SectionList.d.ts +0 -4
  323. package/lib/components/systemSettings/registry/components/SectionList.js +0 -181
  324. package/lib/components/systemSettings/registry/components/SettingsTable.d.ts +0 -4
  325. package/lib/components/systemSettings/registry/components/SettingsTable.js +0 -575
  326. package/lib/components/systemSettings/registry/components/index.d.ts +0 -4
  327. package/lib/components/systemSettings/registry/components/index.js +0 -48
  328. package/lib/components/systemSettings/registry/index.d.ts +0 -5
  329. package/lib/components/systemSettings/registry/index.js +0 -529
  330. package/lib/components/systemSettings/registry/index.less +0 -410
  331. package/lib/components/systemSettings/registry/locales.d.ts +0 -272
  332. package/lib/components/systemSettings/registry/locales.js +0 -324
  333. package/lib/components/systemSettings/registry/services.d.ts +0 -77
  334. package/lib/components/systemSettings/registry/services.js +0 -290
  335. package/lib/components/systemSettings/registry/types.d.ts +0 -126
  336. package/lib/components/systemSettings/registry/types.js +0 -17
  337. package/lib/components/systemSettings/registry/utils/typeValidation.d.ts +0 -16
  338. package/lib/components/systemSettings/registry/utils/typeValidation.js +0 -228
  339. package/lib/components/systemSettings/registry/utils/validators.d.ts +0 -8
  340. package/lib/components/systemSettings/registry/utils/validators.js +0 -54
  341. package/lib/components/wallet/utils.d.ts +0 -48
  342. package/lib/components/wallet/utils.js +0 -287
  343. package/lowcode/payment-modal/meta.ts +0 -135
  344. package/lowcode/settings-registry/meta.ts +0 -29
  345. package/lowcode/wallet-pass-detail/meta.ts +0 -89
@@ -20,63 +20,4 @@
20
20
  }
21
21
  }
22
22
  }
23
-
24
- // 收起状态
25
- &.collapsed {
26
- position: fixed;
27
- bottom: 0;
28
- left: 86px;
29
- padding: 0;
30
- background-color: transparent;
31
- display: block;
32
- // 高度通过内联样式动态设置以补偿 body 的 scale
33
-
34
- .pisell-ticket-booking-time-bar-collapsed-content {
35
- display: flex;
36
- align-items: center;
37
- justify-content: space-between;
38
- width: 100%;
39
- // 高度通过内联样式动态设置以补偿 body 的 scale
40
- padding: 0 16px;
41
- background-color: #fff;
42
- border-radius: 0 8px 8px 0;
43
- box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
44
- box-sizing: border-box;
45
- overflow: hidden;
46
-
47
- .pisell-ticket-booking-time-bar-collapsed-today {
48
- font-weight: 600;
49
- font-size: 18px;
50
- color: #000;
51
- flex-shrink: 0;
52
- margin-right: 16px;
53
- // line-height 通过内联样式动态设置
54
- }
55
-
56
- .pisell-ticket-booking-time-bar-collapsed-expand {
57
- color: #7F56DA;
58
- padding: 0;
59
- margin: 0;
60
- height: auto;
61
- font-size: 18px;
62
- font-weight: 500;
63
- display: inline-flex;
64
- align-items: center;
65
- flex-shrink: 0;
66
- // line-height 通过内联样式动态设置
67
-
68
- &:hover {
69
- color: #6941c6;
70
- }
71
-
72
- span {
73
- margin-right: 2px;
74
- }
75
- .anticon {
76
- margin-left: 0px;
77
- margin-right: 0px;
78
- }
79
- }
80
- }
81
- }
82
23
  }
@@ -38,21 +38,17 @@ var import_react = require("react");
38
38
  var import_useEngineContext = __toESM(require("../../../../hooks/useEngineContext"));
39
39
  var import_dayjs = __toESM(require("dayjs"));
40
40
  var useProducts = (notAvailableRef) => {
41
- var _a;
42
41
  const bookingTicket = (0, import_bookingTicket.useBookingTicket)();
43
42
  const context = (0, import_useEngineContext.default)();
44
43
  const platform = (0, import_useEngineContext.usePlatform)();
45
44
  const [products, setProducts] = (0, import_react.useState)([]);
46
45
  const [loading, setLoading] = (0, import_react.useState)(true);
47
46
  const isFirstLoadRef = (0, import_react.useRef)(true);
48
- const isFirstLoadDataRef = (0, import_react.useRef)(true);
49
- const { getApp } = ((_a = context.appHelper) == null ? void 0 : _a.utils) || {};
50
- const app = getApp();
51
47
  const [scheduleTimePoints, setScheduleTimePoints] = (0, import_react.useState)([]);
52
48
  const scheduledTaskQueueIdRef = (0, import_react.useRef)("booking-schedule-products");
53
49
  const paramsRef = (0, import_react.useRef)(void 0);
54
50
  const getProducts = (0, import_ahooks.useMemoizedFn)(async (params) => {
55
- var _a2;
51
+ var _a;
56
52
  setLoading(true);
57
53
  try {
58
54
  paramsRef.current = params;
@@ -62,30 +58,30 @@ var useProducts = (notAvailableRef) => {
62
58
  isFirstLoadRef.current = false;
63
59
  } catch (error) {
64
60
  if ((error == null ? void 0 : error.code) === 607100 && (isFirstLoadRef.current || products.length > 0)) {
65
- (_a2 = notAvailableRef.current) == null ? void 0 : _a2.open();
61
+ (_a = notAvailableRef.current) == null ? void 0 : _a.open();
66
62
  }
67
63
  setLoading(false);
68
64
  isFirstLoadRef.current = false;
69
65
  }
70
66
  });
71
67
  (0, import_react.useEffect)(() => {
72
- var _a2, _b, _c;
68
+ var _a, _b, _c;
73
69
  if (platform === "shop") {
74
70
  return;
75
71
  }
76
72
  try {
77
- const app2 = (_c = (_b = (_a2 = context == null ? void 0 : context.appHelper) == null ? void 0 : _a2.utils) == null ? void 0 : _b.getApp) == null ? void 0 : _c.call(_b);
78
- if (!app2 || !app2.tasksManager) {
73
+ const app = (_c = (_b = (_a = context == null ? void 0 : context.appHelper) == null ? void 0 : _a.utils) == null ? void 0 : _b.getApp) == null ? void 0 : _c.call(_b);
74
+ if (!app || !app.tasksManager) {
79
75
  console.warn("App 或 tasksManager 不可用");
80
76
  return;
81
77
  }
82
- app2.tasksManager.addTaskFunction("getProducts", async ({ task }) => {
78
+ app.tasksManager.addTaskFunction("getProducts", async ({ task }) => {
83
79
  console.log("定时执行 getProducts,参数:", task.payload);
84
80
  await getProducts(task.payload);
85
81
  return { status: "success" };
86
82
  });
87
83
  if (scheduleTimePoints && scheduleTimePoints.length > 0) {
88
- app2.tasksManager.clearTasks({
84
+ app.tasksManager.clearTasks({
89
85
  module: "scheduledTasks",
90
86
  queueId: scheduledTaskQueueIdRef.current
91
87
  });
@@ -106,12 +102,12 @@ var useProducts = (notAvailableRef) => {
106
102
  }
107
103
  };
108
104
  });
109
- app2.tasksManager.addTask({
105
+ app.tasksManager.addTask({
110
106
  module: "scheduledTasks",
111
107
  queueId: scheduledTaskQueueIdRef.current,
112
108
  tasks
113
109
  });
114
- app2.tasksManager.run({
110
+ app.tasksManager.run({
115
111
  module: "scheduledTasks",
116
112
  queueId: scheduledTaskQueueIdRef.current
117
113
  });
@@ -121,11 +117,11 @@ var useProducts = (notAvailableRef) => {
121
117
  console.error("创建定时任务失败:", error);
122
118
  }
123
119
  return () => {
124
- var _a3, _b2, _c2;
120
+ var _a2, _b2, _c2;
125
121
  try {
126
- const app2 = (_c2 = (_b2 = (_a3 = context == null ? void 0 : context.appHelper) == null ? void 0 : _a3.utils) == null ? void 0 : _b2.getApp) == null ? void 0 : _c2.call(_b2);
127
- if (app2 && app2.tasksManager) {
128
- app2.tasksManager.clearTasks({
122
+ const app = (_c2 = (_b2 = (_a2 = context == null ? void 0 : context.appHelper) == null ? void 0 : _a2.utils) == null ? void 0 : _b2.getApp) == null ? void 0 : _c2.call(_b2);
123
+ if (app && app.tasksManager) {
124
+ app.tasksManager.clearTasks({
129
125
  module: "scheduledTasks",
130
126
  queueId: scheduledTaskQueueIdRef.current
131
127
  });
@@ -61,8 +61,6 @@ declare const _default: {
61
61
  'pisell2.ticket-booking.terminal-upgrade-description': string;
62
62
  'pisell2.ticket-booking.terminal-upgrade-ok': string;
63
63
  'pisell2.ticket-booking.terminal-upgrade-cancel': string;
64
- 'pisell2.ticket-booking.collapse': string;
65
- 'pisell2.ticket-booking.expand': string;
66
64
  };
67
65
  'zh-CN': {
68
66
  'pisell2.ticket-booking.info': string;
@@ -126,8 +124,6 @@ declare const _default: {
126
124
  'pisell2.ticket-booking.terminal-upgrade-description': string;
127
125
  'pisell2.ticket-booking.terminal-upgrade-ok': string;
128
126
  'pisell2.ticket-booking.terminal-upgrade-cancel': string;
129
- 'pisell2.ticket-booking.collapse': string;
130
- 'pisell2.ticket-booking.expand': string;
131
127
  };
132
128
  'zh-HK': {
133
129
  'pisell2.ticket-booking.info': string;
@@ -191,8 +187,6 @@ declare const _default: {
191
187
  'pisell2.ticket-booking.terminal-upgrade-description': string;
192
188
  'pisell2.ticket-booking.terminal-upgrade-ok': string;
193
189
  'pisell2.ticket-booking.terminal-upgrade-cancel': string;
194
- 'pisell2.ticket-booking.collapse': string;
195
- 'pisell2.ticket-booking.expand': string;
196
190
  };
197
191
  };
198
192
  export default _default;
@@ -87,9 +87,7 @@ var locales_default = {
87
87
  "pisell2.ticket-booking.terminal-upgrade-title": "Terminal Version Reminder",
88
88
  "pisell2.ticket-booking.terminal-upgrade-description": "Your Terminal version is outdated. Please upgrade Terminal to use all features.",
89
89
  "pisell2.ticket-booking.terminal-upgrade-ok": "I understand",
90
- "pisell2.ticket-booking.terminal-upgrade-cancel": "Cancel",
91
- "pisell2.ticket-booking.collapse": "Collapse",
92
- "pisell2.ticket-booking.expand": "Expand"
90
+ "pisell2.ticket-booking.terminal-upgrade-cancel": "Cancel"
93
91
  },
94
92
  "zh-CN": {
95
93
  "pisell2.ticket-booking.info": "信息",
@@ -155,9 +153,7 @@ var locales_default = {
155
153
  "pisell2.ticket-booking.terminal-upgrade-title": "Terminal版本提醒",
156
154
  "pisell2.ticket-booking.terminal-upgrade-description": "检测到您的Terminal版本较低,请升级Terminal以使用完整功能",
157
155
  "pisell2.ticket-booking.terminal-upgrade-ok": "我知道了",
158
- "pisell2.ticket-booking.terminal-upgrade-cancel": "取消",
159
- "pisell2.ticket-booking.collapse": "收起",
160
- "pisell2.ticket-booking.expand": "展开"
156
+ "pisell2.ticket-booking.terminal-upgrade-cancel": "取消"
161
157
  },
162
158
  "zh-HK": {
163
159
  "pisell2.ticket-booking.info": "資訊",
@@ -223,8 +219,6 @@ var locales_default = {
223
219
  "pisell2.ticket-booking.terminal-upgrade-title": "Terminal版本提醒",
224
220
  "pisell2.ticket-booking.terminal-upgrade-description": "檢測到您的Terminal版本較低,請升級Terminal以使用完整功能",
225
221
  "pisell2.ticket-booking.terminal-upgrade-ok": "我知道了",
226
- "pisell2.ticket-booking.terminal-upgrade-cancel": "取消",
227
- "pisell2.ticket-booking.collapse": "收起",
228
- "pisell2.ticket-booking.expand": "展開"
222
+ "pisell2.ticket-booking.terminal-upgrade-cancel": "取消"
229
223
  }
230
224
  };
@@ -73,9 +73,6 @@ export declare const rulesHooks: {
73
73
  num: any;
74
74
  quantity: any;
75
75
  vouchersApplicable: any;
76
- startDate: any;
77
- bundle: any;
78
- options: any;
79
76
  };
80
77
  setProduct(product: Record<string, any>, values: {
81
78
  total: number;
@@ -197,17 +197,12 @@ var addService = (list, addItem, state) => {
197
197
  let isNotSame = true;
198
198
  let isSetCount = false;
199
199
  value = list.map((item) => {
200
- var _a2, _b, _c, _d, _e;
200
+ var _a2, _b, _c;
201
201
  const isGoodPassDiscountProduct = (item.discount_list || []).some((item2) => item2.type === "good_pass");
202
202
  const isEdit = item == null ? void 0 : item.edit;
203
- const bundleDiscountList = [];
204
- (((_b = (_a2 = item == null ? void 0 : item._extend) == null ? void 0 : _a2.other) == null ? void 0 : _b.bundle) || []).forEach((item2) => {
205
- bundleDiscountList.push(...(item2 == null ? void 0 : item2.discount_list) || []);
206
- });
207
- const isGoodPassBundleProduct = bundleDiscountList.some((item2) => item2.type === "good_pass");
208
- if (isSameProduct(item, addItem) && !isSetCount && !isGoodPassDiscountProduct && !isEdit && !isGoodPassBundleProduct) {
203
+ if (isSameProduct(item, addItem) && !isSetCount && !isGoodPassDiscountProduct && !isEdit) {
209
204
  isNotSame = false;
210
- const quantity = (((_c = item == null ? void 0 : item._extend) == null ? void 0 : _c.quantity) || 1) + (((_d = addItem == null ? void 0 : addItem._extend) == null ? void 0 : _d.quantity) || 1);
205
+ const quantity = (((_a2 = item == null ? void 0 : item._extend) == null ? void 0 : _a2.quantity) || 1) + (((_b = addItem == null ? void 0 : addItem._extend) == null ? void 0 : _b.quantity) || 1);
211
206
  count = quantity;
212
207
  isSetCount = true;
213
208
  return {
@@ -216,7 +211,7 @@ var addService = (list, addItem, state) => {
216
211
  ...item._extend,
217
212
  quantity,
218
213
  other: {
219
- ...((_e = item._extend) == null ? void 0 : _e.other) || {},
214
+ ...((_c = item._extend) == null ? void 0 : _c.other) || {},
220
215
  quantity
221
216
  }
222
217
  }
@@ -346,21 +341,17 @@ var getShopDiscountKey = (osKey) => {
346
341
  var rulesHooks = {
347
342
  // 获取商品关键信息
348
343
  getProduct(product) {
349
- var _a, _b, _c, _d, _e;
350
344
  const detail = {
351
345
  booking_id: product.booking_id,
352
346
  id: product.id,
353
347
  _id: product._id,
354
- price: product._extend.price,
348
+ price: product.price,
355
349
  total: product._extend.total,
356
350
  discount_list: product.discount_list,
357
351
  origin_total: product._extend.origin_total,
358
352
  num: product._extend.quantity,
359
353
  quantity: product._extend.quantity || 1,
360
- vouchersApplicable: product.vouchersApplicable,
361
- startDate: (_a = product._extend) == null ? void 0 : _a.startDate,
362
- bundle: ((_c = (_b = product._extend) == null ? void 0 : _b.other) == null ? void 0 : _c.bundle) || [],
363
- options: ((_e = (_d = product._extend) == null ? void 0 : _d.other) == null ? void 0 : _e.option) || []
354
+ vouchersApplicable: product.vouchersApplicable
364
355
  };
365
356
  return detail;
366
357
  },
@@ -371,12 +362,7 @@ var rulesHooks = {
371
362
  discount_list: values.discount_list,
372
363
  _extend: {
373
364
  ...product._extend,
374
- other: {
375
- ...product._extend.other,
376
- ..."bundle" in values ? { bundle: values.bundle } : {}
377
- },
378
365
  ..."total" in values ? { total: values.total } : {},
379
- ..."main_product_selling_price" in values ? { main_product_selling_price: values.main_product_selling_price } : {},
380
366
  ..."quantity" in values ? { quantity: values.quantity } : {}
381
367
  }
382
368
  };
@@ -45,7 +45,6 @@ var import_locales = __toESM(require("./locales"));
45
45
  var import_serve = require("./serve");
46
46
  var import_utils2 = require("./../../../utils");
47
47
  var import_components = require("../components");
48
- var import_utils3 = require("../utils");
49
48
  var import_index = require("./index.less");
50
49
  var { Text } = import_materials2.Typography;
51
50
  import_dayjs.default.extend(import_timezone.default);
@@ -66,10 +65,8 @@ var Detail = (0, import_react.forwardRef)((props, ref) => {
66
65
  encoded = "",
67
66
  balance,
68
67
  expire_date = "",
69
- product = {},
70
- custom_schedule_snapshot
68
+ product = {}
71
69
  } = detail;
72
- console.log(detail, "detail22");
73
70
  const {
74
71
  description = "",
75
72
  extension_data = [],
@@ -215,33 +212,8 @@ var Detail = (0, import_react.forwardRef)((props, ref) => {
215
212
  onGoogleClick();
216
213
  }
217
214
  };
218
- const scheduleList = (0, import_react.useMemo)(() => {
219
- return (custom_schedule_snapshot == null ? void 0 : custom_schedule_snapshot.data) || [];
220
- }, [custom_schedule_snapshot]);
221
215
  (0, import_react.useEffect)(() => {
222
216
  var _a2;
223
- const detail2 = (0, import_utils3.formatScheduleText)(scheduleList, "zh-CN");
224
- let expireText = expire_date ? expire_date : import_utils.locales.getText("page.wallet.expireDate");
225
- if (scheduleList.length > 0) {
226
- let validityTexts = "";
227
- let excludedText = "";
228
- let includedText = "";
229
- detail2.forEach((item) => {
230
- if (item.validityTexts.length > 0) {
231
- validityTexts = `${validityTexts}${item.validityTexts.join("\n")}
232
- `;
233
- }
234
- if (item.excluded_date.length > 0) {
235
- excludedText = `${excludedText}${item.excluded_date.join("\n")}
236
- `;
237
- }
238
- if (item.included_date.length > 0) {
239
- includedText = `${includedText}${item.included_date.join("\n")}
240
- `;
241
- }
242
- });
243
- expireText = /* @__PURE__ */ import_react.default.createElement("span", { className: "wallet-detail-expire-text" }, validityTexts, excludedText && /* @__PURE__ */ import_react.default.createElement("div", { className: "wallet-detail-expire-text-title" }, import_utils.locales.getText("page.wallet.notValidDate")), excludedText, includedText && /* @__PURE__ */ import_react.default.createElement("div", { className: "wallet-detail-expire-text-title" }, import_utils.locales.getText("page.wallet.includedDate")), includedText);
244
- }
245
217
  let data = [
246
218
  {
247
219
  label: import_utils.locales.getText("page.wallet.cardName"),
@@ -254,11 +226,11 @@ var Detail = (0, import_react.forwardRef)((props, ref) => {
254
226
  },
255
227
  {
256
228
  label: import_utils.locales.getText("page.wallet.validDate"),
257
- value: expireText
229
+ value: expire_date ? expire_date : import_utils.locales.getText("page.wallet.expireDate")
258
230
  }
259
231
  ];
260
232
  if (tag === "product_discount_card") {
261
- const isFixedAmount = ((_a2 = detail2.metadata) == null ? void 0 : _a2.discount_card_type) === "fixed_amount";
233
+ const isFixedAmount = ((_a2 = detail.metadata) == null ? void 0 : _a2.discount_card_type) === "fixed_amount";
262
234
  data.splice(2, 0, {
263
235
  label: import_utils.locales.getText("page.wallet.discount"),
264
236
  value: balance ? isFixedAmount ? `${symbol}${Number(balance)}` : `${Number(balance)}%` : ""
@@ -373,14 +373,3 @@
373
373
  font-weight: 500;
374
374
  line-height: 24px;
375
375
  }
376
-
377
- .wallet-detail-expire-text {
378
- white-space: pre-wrap;
379
- }
380
-
381
- .wallet-detail-expire-text-title {
382
- font-size: 14px;
383
- font-weight: 500;
384
- line-height: 20px;
385
- color: #667085;
386
- }
@@ -21,8 +21,6 @@ declare const _default: {
21
21
  'page.wallet.addGoogle': string;
22
22
  'page.wallet.viewDetails': string;
23
23
  'page.wallet.expireDate': string;
24
- 'page.wallet.notValidDate': string;
25
- 'page.wallet.includedDate': string;
26
24
  'page.wallet.urlEmpty': string;
27
25
  'page.wallet.notIOS': string;
28
26
  'page.wallet.addSuccess': string;
@@ -71,8 +69,6 @@ declare const _default: {
71
69
  'page.wallet.addGoogle': string;
72
70
  'page.wallet.viewDetails': string;
73
71
  'page.wallet.expireDate': string;
74
- 'page.wallet.notValidDate': string;
75
- 'page.wallet.includedDate': string;
76
72
  'page.wallet.urlEmpty': string;
77
73
  'page.wallet.notIOS': string;
78
74
  'page.wallet.addSuccess': string;
@@ -121,8 +117,6 @@ declare const _default: {
121
117
  'page.wallet.addGoogle': string;
122
118
  'page.wallet.viewDetails': string;
123
119
  'page.wallet.expireDate': string;
124
- 'page.wallet.notValidDate': string;
125
- 'page.wallet.includedDate': string;
126
120
  'page.wallet.urlEmpty': string;
127
121
  'page.wallet.notIOS': string;
128
122
  'page.wallet.addSuccess': string;
@@ -48,10 +48,6 @@ var locales_default = {
48
48
  "page.wallet.addGoogle": "Add to Google Wallet",
49
49
  "page.wallet.viewDetails": "See details",
50
50
  "page.wallet.expireDate": "Long term",
51
- "page.wallet.notValidDate": "Not valid on",
52
- // 不可用日期
53
- "page.wallet.includedDate": "Included dates",
54
- // 包含日期
55
51
  "page.wallet.urlEmpty": "Wallet link is empty",
56
52
  "page.wallet.notIOS": "Apple Wallet is not supported on non-iOS devices",
57
53
  "page.wallet.addSuccess": "Successfully added to wallet",
@@ -104,10 +100,6 @@ var locales_default = {
104
100
  "page.wallet.addGoogle": "添加到谷歌钱包",
105
101
  "page.wallet.viewDetails": "查看详情",
106
102
  "page.wallet.expireDate": "长期",
107
- "page.wallet.notValidDate": "不可用日期",
108
- // 不可用日期
109
- "page.wallet.includedDate": "包含日期",
110
- // 包含日期
111
103
  "page.wallet.urlEmpty": "钱包链接为空",
112
104
  "page.wallet.notIOS": "非iOS设备不支持Apple Wallet",
113
105
  "page.wallet.addSuccess": "已成功添加到钱包",
@@ -119,7 +111,7 @@ var locales_default = {
119
111
  // Usage Rules
120
112
  "page.wallet.usageRules": "使用规则",
121
113
  "page.wallet.usageRulesSubtitle": "请仔细阅读以下使用条件",
122
- "page.wallet.timeUsageLimits": "使用频次限制",
114
+ "page.wallet.timeUsageLimits": "时间使用限制",
123
115
  "page.wallet.totalQuantityControl": "总量控制",
124
116
  "page.wallet.dailyLimit": "每日限制:",
125
117
  "page.wallet.weeklyLimit": "每周限制:",
@@ -160,10 +152,6 @@ var locales_default = {
160
152
  "page.wallet.addGoogle": "添加到谷歌錢包",
161
153
  "page.wallet.viewDetails": "查看詳情",
162
154
  "page.wallet.expireDate": "長期",
163
- "page.wallet.notValidDate": "不可用日期",
164
- // 不可用日期
165
- "page.wallet.includedDate": "包含日期",
166
- // 包含日期
167
155
  "page.wallet.urlEmpty": "錢包連結為空",
168
156
  "page.wallet.notIOS": "非iOS設備不支持Apple Wallet",
169
157
  "page.wallet.addSuccess": "已成功添加到錢包",
@@ -175,7 +163,7 @@ var locales_default = {
175
163
  // Usage Rules
176
164
  "page.wallet.usageRules": "使用規則",
177
165
  "page.wallet.usageRulesSubtitle": "請仔細閱讀以下使用條件",
178
- "page.wallet.timeUsageLimits": "使用頻次限制",
166
+ "page.wallet.timeUsageLimits": "時間使用限制",
179
167
  "page.wallet.totalQuantityControl": "總量控制",
180
168
  "page.wallet.dailyLimit": "每日限制:",
181
169
  "page.wallet.weeklyLimit": "每週限制:",
@@ -65,14 +65,6 @@ var Voucher = (0, import_model.Provider)((props) => {
65
65
  recordViewRef.current.closeDetailModal();
66
66
  }
67
67
  }, [globalState.setup]);
68
- const handleBack = (0, import_react.useCallback)(() => {
69
- if (recordViewRef.current) {
70
- recordViewRef.current.closeDetailModal();
71
- }
72
- setGlobalState({
73
- setup: "list"
74
- });
75
- }, [recordViewRef, setGlobalState]);
76
68
  const renderItem = (item) => /* @__PURE__ */ import_react.default.createElement(
77
69
  import_WalletCard.default,
78
70
  {
@@ -90,6 +82,14 @@ var Voucher = (0, import_model.Provider)((props) => {
90
82
  if (isEmpty) {
91
83
  return /* @__PURE__ */ import_react.default.createElement(import_materials.PisellEmpty, null);
92
84
  }
85
+ const handleBack = (0, import_react.useCallback)(() => {
86
+ if (recordViewRef.current) {
87
+ recordViewRef.current.closeDetailModal();
88
+ }
89
+ setGlobalState({
90
+ setup: "list"
91
+ });
92
+ }, [recordViewRef, setGlobalState]);
93
93
  return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, platform !== "pc" && /* @__PURE__ */ import_react.default.createElement(Title, { className: "wallet-voucher-title" }, import_utils.locales.getText("page.wallet.voucher")), /* @__PURE__ */ import_react.default.createElement(
94
94
  import_materials.CardMetricItem,
95
95
  {
@@ -55,8 +55,6 @@ var WalletCard = ({
55
55
  product_cover = "",
56
56
  par_value = "",
57
57
  unified_messages = {},
58
- custom_schedule_snapshot,
59
- metadata,
60
58
  ...rest
61
59
  } = item;
62
60
  const platform = (0, import_react.useMemo)(() => (0, import_utils.isMobile)() ? "h5" : "pc", []);
@@ -68,8 +66,6 @@ var WalletCard = ({
68
66
  import_materials.PisellWalletPassCard,
69
67
  {
70
68
  ...rest,
71
- scheduleList: (custom_schedule_snapshot == null ? void 0 : custom_schedule_snapshot.data) || [],
72
- validDateBySchedule: (metadata == null ? void 0 : metadata.validity_type) === "custom_schedule_validity",
73
69
  balanceTitle,
74
70
  showDetail: false,
75
71
  showRedeem: false,
@@ -88,7 +88,7 @@ var Wallet = (0, import_model.Provider)(() => {
88
88
  import_utils2.request.setRequest(utils == null ? void 0 : utils.request);
89
89
  (0, import_react.useEffect)(() => {
90
90
  document.body.id = "body";
91
- getList({ num: 999, skip: 1, with: ["customScheduleSnapshot"] });
91
+ getList({ num: 999, skip: 1 });
92
92
  }, []);
93
93
  const transformData = (data) => {
94
94
  const result = {};
@@ -353,7 +353,7 @@ var Wallet = (0, import_model.Provider)(() => {
353
353
  content: successMessage,
354
354
  duration: 2
355
355
  });
356
- getList({ num: 999, skip: 1, with: ["customScheduleSnapshot"] }, code);
356
+ getList({ num: 999, skip: 1 }, code);
357
357
  }
358
358
  dispatch({
359
359
  type: "setState",
@@ -15,7 +15,6 @@ export interface IWalletListParmsProps {
15
15
  used_status?: string;
16
16
  num?: number;
17
17
  skip?: number;
18
- with?: string[];
19
18
  }
20
19
  /**
21
20
  * 钱包列表项属性接口
@@ -49,12 +48,6 @@ export interface IWalletListItemProps {
49
48
  machinecode_config?: {
50
49
  hide_recharge?: number;
51
50
  };
52
- metadata: {
53
- validity_type: string;
54
- };
55
- custom_schedule_snapshot: {
56
- data: any[];
57
- };
58
51
  }
59
52
  /**
60
53
  * 商店信息接口
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface LogData {
3
2
  key: string;
4
3
  value: any;
package/lib/index.d.ts CHANGED
@@ -23,7 +23,6 @@ export { default as EftposPay } from './components/eftposPay';
23
23
  export { default as ToCPay } from './components/pay/toC';
24
24
  export { default as ToBPay } from './components/pay/toB';
25
25
  export { default as Eftpos } from './components/eftpos';
26
- export { default as Wallet } from './components/wallet';
27
26
  export { default as WalletList } from './components/walletList';
28
27
  export { default as BookingDashboard } from './components/booking/dashboard';
29
28
  export { default as PisellSelectCustomerModal } from './components/pisellSelectCustomerModal';
@@ -70,7 +69,4 @@ export { default as ContactInfoModal } from './plus/contactInfoModal';
70
69
  export { Login2, Register2, AuthModal } from './pro/Login2.0';
71
70
  export { default as WalletEditor } from './plus/walletEditor';
72
71
  export { default as WalletPassGallery } from './plus/walletPassGallery';
73
- export { default as WalletPassDetail } from './plus/walletPassGallery/components/passDetail';
74
- export { default as SettingsRegistry } from './components/systemSettings/registry';
75
72
  export { default as WebPosLogin } from './plus/webPosLogin';
76
- export { default as PaymentModal } from './components/checkout/plugin';
package/lib/index.js CHANGED
@@ -74,7 +74,6 @@ __export(src_exports, {
74
74
  OnlineShopAuth: () => import_admin.OnlineShopAuth,
75
75
  OrgAdminAuth: () => import_admin.OrgAdminAuth,
76
76
  POSOperatorAuth: () => import_admin.POSOperatorAuth,
77
- PaymentModal: () => import_plugin.default,
78
77
  PinModal: () => import_pinModal.default,
79
78
  PinVerifyModal: () => import_pinVerifyModal.default,
80
79
  PisellSelectCustomerModal: () => import_pisellSelectCustomerModal.default,
@@ -93,7 +92,6 @@ __export(src_exports, {
93
92
  SaasLogin: () => import_saasLogin.default,
94
93
  SaasRegister: () => import_saasRegister.default,
95
94
  Schedules: () => import_schedules.default,
96
- SettingsRegistry: () => import_registry.default,
97
95
  ShoppingCart: () => import_shoppingCart.default,
98
96
  SkuCard: () => import_SkuCard.default,
99
97
  SkuList: () => import_list.ResponsiveList,
@@ -105,10 +103,8 @@ __export(src_exports, {
105
103
  ToCPay: () => import_toC.default,
106
104
  VerticalAddService: () => import_addServiceVariant.default,
107
105
  VerticalClient: () => import_clientVariant.VerticalClient,
108
- Wallet: () => import_wallet.default,
109
106
  WalletEditor: () => import_walletEditor.default,
110
107
  WalletList: () => import_walletList.default,
111
- WalletPassDetail: () => import_passDetail.default,
112
108
  WalletPassGallery: () => import_walletPassGallery.default,
113
109
  WebPosLogin: () => import_webPosLogin.default,
114
110
  WorkspaceList: () => import_workSpaceList.default,
@@ -142,7 +138,6 @@ var import_eftposPay = __toESM(require("./components/eftposPay"));
142
138
  var import_toC = __toESM(require("./components/pay/toC"));
143
139
  var import_toB = __toESM(require("./components/pay/toB"));
144
140
  var import_eftpos = __toESM(require("./components/eftpos"));
145
- var import_wallet = __toESM(require("./components/wallet"));
146
141
  var import_walletList = __toESM(require("./components/walletList"));
147
142
  var import_dashboard = __toESM(require("./components/booking/dashboard"));
148
143
  var import_pisellSelectCustomerModal = __toESM(require("./components/pisellSelectCustomerModal"));
@@ -188,10 +183,7 @@ var import_contactInfoModal = __toESM(require("./plus/contactInfoModal"));
188
183
  var import_Login2 = require("./pro/Login2.0");
189
184
  var import_walletEditor = __toESM(require("./plus/walletEditor"));
190
185
  var import_walletPassGallery = __toESM(require("./plus/walletPassGallery"));
191
- var import_passDetail = __toESM(require("./plus/walletPassGallery/components/passDetail"));
192
- var import_registry = __toESM(require("./components/systemSettings/registry"));
193
186
  var import_webPosLogin = __toESM(require("./plus/webPosLogin"));
194
- var import_plugin = __toESM(require("./components/checkout/plugin"));
195
187
  import_dayjs.default.extend(import_weekday.default);
196
188
  import_dayjs.default.extend(import_localeData.default);
197
189
  // Annotate the CommonJS export names for ESM import in node:
@@ -241,7 +233,6 @@ import_dayjs.default.extend(import_localeData.default);
241
233
  OnlineShopAuth,
242
234
  OrgAdminAuth,
243
235
  POSOperatorAuth,
244
- PaymentModal,
245
236
  PinModal,
246
237
  PinVerifyModal,
247
238
  PisellSelectCustomerModal,
@@ -260,7 +251,6 @@ import_dayjs.default.extend(import_localeData.default);
260
251
  SaasLogin,
261
252
  SaasRegister,
262
253
  Schedules,
263
- SettingsRegistry,
264
254
  ShoppingCart,
265
255
  SkuCard,
266
256
  SkuList,
@@ -272,10 +262,8 @@ import_dayjs.default.extend(import_localeData.default);
272
262
  ToCPay,
273
263
  VerticalAddService,
274
264
  VerticalClient,
275
- Wallet,
276
265
  WalletEditor,
277
266
  WalletList,
278
- WalletPassDetail,
279
267
  WalletPassGallery,
280
268
  WebPosLogin,
281
269
  WorkspaceList,
@@ -24,9 +24,9 @@ __export(locales_exports, {
24
24
  module.exports = __toCommonJS(locales_exports);
25
25
  var locales_default = {
26
26
  en: {
27
- "pisell2.text.add-client": "Add Customer",
28
- "pisell2.text.change-client": "Change Customer",
29
- "pisell2.text.remove-client": " Remove Customer"
27
+ "pisell2.text.add-client": "Add client",
28
+ "pisell2.text.change-client": "Change Client",
29
+ "pisell2.text.remove-client": " Remove Client"
30
30
  },
31
31
  "zh-CN": {
32
32
  "pisell2.text.add-client": "添加客户",