@pisell/private-materials 6.3.78 → 6.3.80

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 (353) 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/meta.js +1 -1
  5. package/build/lowcode/render/default/view.css +1 -1
  6. package/build/lowcode/render/default/view.js +9 -9
  7. package/build/lowcode/view.css +1 -1
  8. package/build/lowcode/view.js +9 -9
  9. package/es/businessModel/SalesModel/index.d.ts +0 -1
  10. package/es/components/Sales/Cart/index.d.ts +1 -1
  11. package/es/components/Sales/Cart/index.js +18 -3
  12. package/es/components/Sales/Cart/utils.d.ts +68 -0
  13. package/es/components/Sales/Checkout/utils.d.ts +41 -0
  14. package/es/components/Sales/Checkout/utils.js +57 -1
  15. package/es/components/Sales/Summary/index.d.ts +2 -0
  16. package/es/components/Sales/Summary/index.js +7 -2
  17. package/es/components/Sales/Summary/utils.d.ts +58 -0
  18. package/es/components/Sales/Summary/utils.js +57 -10
  19. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -1
  20. package/es/components/appointmentBooking/components/Cart/Item/index.js +62 -4
  21. package/es/components/appointmentBooking/components/Content/index.d.ts +0 -1
  22. package/es/components/appointmentBooking/components/Deposit/index.d.ts +5 -1
  23. package/es/components/appointmentBooking/components/Deposit/index.js +9 -4
  24. package/es/components/appointmentBooking/components/Header/index.d.ts +0 -1
  25. package/es/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +0 -1
  26. package/es/components/appointmentBooking/index.d.ts +0 -1
  27. package/es/components/appointmentBooking/locales.d.ts +366 -0
  28. package/es/components/booking/addons/model.d.ts +10 -1
  29. package/es/components/booking/components/footer/index.d.ts +0 -1
  30. package/es/components/booking/components/reloadResourceModal/index.d.ts +1 -0
  31. package/es/components/booking/components/tabPane/index.d.ts +4 -0
  32. package/es/components/booking/deposit/DepositItem/index.d.ts +25 -0
  33. package/es/components/booking/deposit/index.d.ts +0 -1
  34. package/es/components/booking/forms/model.d.ts +10 -1
  35. package/es/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  36. package/es/components/booking/info/addServiceVariant/index.d.ts +0 -1
  37. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  38. package/es/components/booking/info/clientVariant/utils.d.ts +1 -0
  39. package/es/components/booking/info/date/index.d.ts +1 -0
  40. package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  41. package/es/components/booking/info/index.d.ts +0 -1
  42. package/es/components/booking/info/model.d.ts +10 -1
  43. package/es/components/booking/info/notes/index.d.ts +1 -0
  44. package/es/components/booking/info/service/Lists.d.ts +0 -1
  45. package/es/components/booking/info/service/actions/index.d.ts +1 -0
  46. package/es/components/booking/info/service/addService/index.d.ts +0 -1
  47. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  48. package/es/components/booking/info/service/addTimeModal/index.d.ts +0 -1
  49. package/es/components/booking/info/service/serviceList/index.d.ts +0 -1
  50. package/es/components/booking/info/service2/Lists.d.ts +0 -1
  51. package/es/components/booking/info/service2/utils.d.ts +1 -0
  52. package/es/components/booking/info/service2/utils.js +4 -4
  53. package/es/components/booking/info2/service/actions/index.d.ts +1 -0
  54. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  55. package/es/components/booking/info2/service/addTimeModal/index.d.ts +0 -1
  56. package/es/components/booking/info2/service/editService/utils.d.ts +13 -0
  57. package/es/components/booking/info2/service/serviceList/index.d.ts +0 -1
  58. package/es/components/booking/materiels/contacts/index.d.ts +1 -0
  59. package/es/components/booking/materiels/duration/index.d.ts +1 -0
  60. package/es/components/booking/materiels/holder/index.d.ts +1 -0
  61. package/es/components/booking/materiels/startTime/index.d.ts +1 -0
  62. package/es/components/booking/model.d.ts +9 -1
  63. package/es/components/booking/notes/addNote/index.d.ts +3 -0
  64. package/es/components/booking/notes/model.d.ts +10 -1
  65. package/es/components/booking/payments/model.d.ts +10 -1
  66. package/es/components/booking/utils.d.ts +2 -2
  67. package/es/components/eftpos/const.d.ts +3 -1
  68. package/es/components/eftpos/const.js +2 -0
  69. package/es/components/eftpos/device.d.ts +3 -1
  70. package/es/components/eftpos/device.js +5 -3
  71. package/es/components/eftpos/index.js +34 -11
  72. package/es/components/eftpos/index.less +26 -1
  73. package/es/components/eftpos/locales.d.ts +3 -0
  74. package/es/components/eftpos/locales.js +3 -0
  75. package/es/components/eftpos/pos.d.ts +1 -0
  76. package/es/components/eftposPay/aggregatePayment/hooks/usePayment.d.ts +6 -0
  77. package/es/components/eftposPay/aggregatePayment/hooks/usePayment.js +125 -0
  78. package/es/components/eftposPay/aggregatePayment/index.d.ts +3 -0
  79. package/es/components/eftposPay/aggregatePayment/index.js +3 -0
  80. package/es/components/eftposPay/aggregatePayment/mock.d.ts +495 -0
  81. package/es/components/eftposPay/aggregatePayment/mock.js +567 -0
  82. package/es/components/eftposPay/aggregatePayment/service.d.ts +24 -0
  83. package/es/components/eftposPay/aggregatePayment/service.js +70 -0
  84. package/es/components/eftposPay/aggregatePayment/types.d.ts +96 -0
  85. package/es/components/eftposPay/aggregatePayment/types.js +61 -0
  86. package/es/components/eftposPay/aggregatePayment/utils/logs.d.ts +110 -0
  87. package/es/components/eftposPay/aggregatePayment/utils/logs.js +385 -0
  88. package/es/components/eftposPay/aggregatePayment/utils/payment.d.ts +132 -0
  89. package/es/components/eftposPay/aggregatePayment/utils/payment.js +1127 -0
  90. package/es/components/eftposPay/amount.d.ts +1 -2
  91. package/es/components/eftposPay/app.d.ts +0 -1
  92. package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -1
  93. package/es/components/eftposPay/component/fail/network.d.ts +1 -0
  94. package/es/components/eftposPay/component/fail/unknow.d.ts +1 -0
  95. package/es/components/eftposPay/component/manual/index.d.ts +1 -0
  96. package/es/components/eftposPay/component/signature/index.d.ts +1 -0
  97. package/es/components/eftposPay/const.d.ts +189 -0
  98. package/es/components/eftposPay/const.js +2 -0
  99. package/es/components/eftposPay/device.d.ts +1 -2
  100. package/es/components/eftposPay/hooks.d.ts +36 -0
  101. package/es/components/eftposPay/hooks.js +12 -0
  102. package/es/components/eftposPay/index.d.ts +0 -1
  103. package/es/components/eftposPay/linkly/index.d.ts +0 -1
  104. package/es/components/eftposPay/linkly/index.js +1 -0
  105. package/es/components/eftposPay/locales.d.ts +330 -0
  106. package/es/components/eftposPay/manufacturer.d.ts +1 -0
  107. package/es/components/eftposPay/manufacturer.js +4 -0
  108. package/es/components/eftposPay/mx51/Action.d.ts +6 -0
  109. package/es/components/eftposPay/mx51/Action.js +91 -0
  110. package/es/components/eftposPay/mx51/const.d.ts +5 -0
  111. package/es/components/eftposPay/mx51/const.js +69 -0
  112. package/es/components/eftposPay/mx51/index.d.ts +6 -0
  113. package/es/components/eftposPay/mx51/index.js +362 -0
  114. package/es/components/eftposPay/mx51/types.d.ts +136 -0
  115. package/es/components/eftposPay/mx51/types.js +29 -0
  116. package/es/components/eftposPay/mx51/utils.d.ts +10 -0
  117. package/es/components/eftposPay/mx51/utils.js +120 -0
  118. package/es/components/eftposPay/pay.d.ts +0 -1
  119. package/es/components/eftposPay/pay.js +7 -2
  120. package/es/components/eftposPay/store/index.d.ts +355 -0
  121. package/es/components/eftposPay/tyro/index.d.ts +9 -0
  122. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +4 -2
  123. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.js +4 -1
  124. package/es/components/eventBooking/components/Provider/Cart/Item/index.js +79 -6
  125. package/es/components/eventBooking/components/Provider/Cart/Item/index.less +7 -6
  126. package/es/components/eventBooking/components/Provider/Cart/index.js +2 -7
  127. package/es/components/eventBooking/components/Provider/Content/index.less +1 -1
  128. package/es/components/eventBooking/components/Voucher/components/locales.d.ts +39 -0
  129. package/es/components/eventBooking/components/Voucher/index.js +1 -1
  130. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
  131. package/es/components/eventBooking/index.d.ts +0 -1
  132. package/es/components/index.d.ts +1 -2
  133. package/es/components/index.js +1 -2
  134. package/es/components/pay/toC/PaymentList/utils.d.ts +36 -0
  135. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
  136. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +2 -0
  137. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +2 -0
  138. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +2 -0
  139. package/es/components/pay/toC/PaymentMethods/StripePay/index.d.ts +10 -0
  140. package/es/components/pay/toC/model.d.ts +40 -0
  141. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  142. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
  143. package/es/components/productExtension/index.d.ts +0 -1
  144. package/es/components/ruleSetting/index.d.ts +0 -1
  145. package/es/components/schedules/components/ScheduleList/index.d.ts +1 -0
  146. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  147. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
  148. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  149. package/es/components/schedules/products/index.d.ts +1 -0
  150. package/es/components/schedules/resources/index.d.ts +1 -0
  151. package/es/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  152. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  153. package/es/components/schedules/schedules/index.d.ts +1 -0
  154. package/es/components/shoppingCart/locales.d.ts +33 -0
  155. package/es/components/shoppingCart/type.d.ts +48 -0
  156. package/es/components/subTotal/index.d.ts +2 -0
  157. package/es/components/subTotal/index.js +42 -20
  158. package/es/components/subTotal/locales.d.ts +42 -0
  159. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
  160. package/es/components/ticketBooking/locales.d.ts +174 -0
  161. package/es/hooks/useEngineContext.d.ts +10 -0
  162. package/es/hooks/useWindowSize.d.ts +5 -0
  163. package/es/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
  164. package/es/plus/selectHolder/locales.d.ts +21 -0
  165. package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -1
  166. package/es/plus/skuOptionsSelection/components/VariantCard/index.d.ts +0 -1
  167. package/es/plus/skuOptionsSelection/types.d.ts +429 -0
  168. package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
  169. package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
  170. package/es/plus/walletEditor/components/relationProduct/index.d.ts +1 -0
  171. package/es/pro/NumericStepper/index.d.ts +43 -0
  172. package/es/pro/Selector/Selector.d.ts +14 -0
  173. package/es/pro/Selector/components/Card/index.d.ts +57 -0
  174. package/es/pro/Selector/components/Indicator/index.d.ts +19 -0
  175. package/es/pro/Selector/components/LayoutContainer/index.d.ts +16 -0
  176. package/es/pro/Selector/demo.d.ts +0 -1
  177. package/es/pro/Selector/hooks/usePresetProps.d.ts +24 -0
  178. package/es/pro/Selector/types.d.ts +173 -0
  179. package/es/pro/pisellNumberSelector/example.d.ts +3 -0
  180. package/lib/businessModel/SalesModel/index.d.ts +0 -1
  181. package/lib/components/Sales/Cart/index.d.ts +1 -1
  182. package/lib/components/Sales/Cart/index.js +20 -7
  183. package/lib/components/Sales/Cart/utils.d.ts +68 -0
  184. package/lib/components/Sales/Checkout/utils.d.ts +41 -0
  185. package/lib/components/Sales/Checkout/utils.js +64 -1
  186. package/lib/components/Sales/Summary/index.d.ts +2 -0
  187. package/lib/components/Sales/Summary/index.js +8 -2
  188. package/lib/components/Sales/Summary/utils.d.ts +58 -0
  189. package/lib/components/Sales/Summary/utils.js +38 -13
  190. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -1
  191. package/lib/components/appointmentBooking/components/Cart/Item/index.js +52 -4
  192. package/lib/components/appointmentBooking/components/Content/index.d.ts +0 -1
  193. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +5 -1
  194. package/lib/components/appointmentBooking/components/Deposit/index.js +7 -4
  195. package/lib/components/appointmentBooking/components/Header/index.d.ts +0 -1
  196. package/lib/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +0 -1
  197. package/lib/components/appointmentBooking/index.d.ts +0 -1
  198. package/lib/components/appointmentBooking/locales.d.ts +366 -0
  199. package/lib/components/booking/addons/model.d.ts +10 -1
  200. package/lib/components/booking/components/footer/index.d.ts +0 -1
  201. package/lib/components/booking/components/reloadResourceModal/index.d.ts +1 -0
  202. package/lib/components/booking/components/tabPane/index.d.ts +4 -0
  203. package/lib/components/booking/deposit/DepositItem/index.d.ts +25 -0
  204. package/lib/components/booking/deposit/index.d.ts +0 -1
  205. package/lib/components/booking/forms/model.d.ts +10 -1
  206. package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  207. package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -1
  208. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  209. package/lib/components/booking/info/clientVariant/utils.d.ts +1 -0
  210. package/lib/components/booking/info/date/index.d.ts +1 -0
  211. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  212. package/lib/components/booking/info/index.d.ts +0 -1
  213. package/lib/components/booking/info/model.d.ts +10 -1
  214. package/lib/components/booking/info/notes/index.d.ts +1 -0
  215. package/lib/components/booking/info/service/Lists.d.ts +0 -1
  216. package/lib/components/booking/info/service/actions/index.d.ts +1 -0
  217. package/lib/components/booking/info/service/addService/index.d.ts +0 -1
  218. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  219. package/lib/components/booking/info/service/addTimeModal/index.d.ts +0 -1
  220. package/lib/components/booking/info/service/serviceList/index.d.ts +0 -1
  221. package/lib/components/booking/info/service2/Lists.d.ts +0 -1
  222. package/lib/components/booking/info/service2/utils.d.ts +1 -0
  223. package/lib/components/booking/info/service2/utils.js +4 -4
  224. package/lib/components/booking/info2/service/actions/index.d.ts +1 -0
  225. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  226. package/lib/components/booking/info2/service/addTimeModal/index.d.ts +0 -1
  227. package/lib/components/booking/info2/service/editService/utils.d.ts +13 -0
  228. package/lib/components/booking/info2/service/serviceList/index.d.ts +0 -1
  229. package/lib/components/booking/materiels/contacts/index.d.ts +1 -0
  230. package/lib/components/booking/materiels/duration/index.d.ts +1 -0
  231. package/lib/components/booking/materiels/holder/index.d.ts +1 -0
  232. package/lib/components/booking/materiels/startTime/index.d.ts +1 -0
  233. package/lib/components/booking/model.d.ts +9 -1
  234. package/lib/components/booking/notes/addNote/index.d.ts +3 -0
  235. package/lib/components/booking/notes/model.d.ts +10 -1
  236. package/lib/components/booking/payments/model.d.ts +10 -1
  237. package/lib/components/booking/utils.d.ts +2 -2
  238. package/lib/components/eftpos/const.d.ts +3 -1
  239. package/lib/components/eftpos/const.js +2 -0
  240. package/lib/components/eftpos/device.d.ts +3 -1
  241. package/lib/components/eftpos/device.js +3 -3
  242. package/lib/components/eftpos/index.js +20 -5
  243. package/lib/components/eftpos/index.less +26 -1
  244. package/lib/components/eftpos/locales.d.ts +3 -0
  245. package/lib/components/eftpos/locales.js +3 -0
  246. package/lib/components/eftpos/pos.d.ts +1 -0
  247. package/lib/components/eftposPay/aggregatePayment/hooks/usePayment.d.ts +6 -0
  248. package/lib/components/eftposPay/aggregatePayment/hooks/usePayment.js +152 -0
  249. package/lib/components/eftposPay/aggregatePayment/index.d.ts +3 -0
  250. package/lib/components/eftposPay/aggregatePayment/index.js +32 -0
  251. package/lib/components/eftposPay/aggregatePayment/mock.d.ts +495 -0
  252. package/lib/components/eftposPay/aggregatePayment/mock.js +679 -0
  253. package/lib/components/eftposPay/aggregatePayment/service.d.ts +24 -0
  254. package/lib/components/eftposPay/aggregatePayment/service.js +81 -0
  255. package/lib/components/eftposPay/aggregatePayment/types.d.ts +96 -0
  256. package/lib/components/eftposPay/aggregatePayment/types.js +74 -0
  257. package/lib/components/eftposPay/aggregatePayment/utils/logs.d.ts +110 -0
  258. package/lib/components/eftposPay/aggregatePayment/utils/logs.js +302 -0
  259. package/lib/components/eftposPay/aggregatePayment/utils/payment.d.ts +132 -0
  260. package/lib/components/eftposPay/aggregatePayment/utils/payment.js +746 -0
  261. package/lib/components/eftposPay/amount.d.ts +1 -2
  262. package/lib/components/eftposPay/app.d.ts +0 -1
  263. package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -1
  264. package/lib/components/eftposPay/component/fail/network.d.ts +1 -0
  265. package/lib/components/eftposPay/component/fail/unknow.d.ts +1 -0
  266. package/lib/components/eftposPay/component/manual/index.d.ts +1 -0
  267. package/lib/components/eftposPay/component/signature/index.d.ts +1 -0
  268. package/lib/components/eftposPay/const.d.ts +189 -0
  269. package/lib/components/eftposPay/const.js +2 -0
  270. package/lib/components/eftposPay/device.d.ts +1 -2
  271. package/lib/components/eftposPay/hooks.d.ts +36 -0
  272. package/lib/components/eftposPay/hooks.js +16 -0
  273. package/lib/components/eftposPay/index.d.ts +0 -1
  274. package/lib/components/eftposPay/linkly/index.d.ts +0 -1
  275. package/lib/components/eftposPay/linkly/index.js +1 -0
  276. package/lib/components/eftposPay/locales.d.ts +330 -0
  277. package/lib/components/eftposPay/manufacturer.d.ts +1 -0
  278. package/lib/components/eftposPay/manufacturer.js +6 -0
  279. package/lib/components/eftposPay/mx51/Action.d.ts +6 -0
  280. package/lib/components/eftposPay/mx51/Action.js +127 -0
  281. package/lib/components/eftposPay/mx51/const.d.ts +5 -0
  282. package/lib/components/eftposPay/mx51/const.js +85 -0
  283. package/lib/components/eftposPay/mx51/index.d.ts +6 -0
  284. package/lib/components/eftposPay/mx51/index.js +330 -0
  285. package/lib/components/eftposPay/mx51/types.d.ts +136 -0
  286. package/lib/components/eftposPay/mx51/types.js +39 -0
  287. package/lib/components/eftposPay/mx51/utils.d.ts +10 -0
  288. package/lib/components/eftposPay/mx51/utils.js +114 -0
  289. package/lib/components/eftposPay/pay.d.ts +0 -1
  290. package/lib/components/eftposPay/pay.js +4 -2
  291. package/lib/components/eftposPay/store/index.d.ts +355 -0
  292. package/lib/components/eftposPay/tyro/index.d.ts +9 -0
  293. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +4 -2
  294. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.js +3 -1
  295. package/lib/components/eventBooking/components/Provider/Cart/Item/index.js +77 -5
  296. package/lib/components/eventBooking/components/Provider/Cart/Item/index.less +7 -6
  297. package/lib/components/eventBooking/components/Provider/Cart/index.js +2 -2
  298. package/lib/components/eventBooking/components/Provider/Content/index.less +1 -1
  299. package/lib/components/eventBooking/components/Voucher/components/locales.d.ts +39 -0
  300. package/lib/components/eventBooking/components/Voucher/index.js +1 -1
  301. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
  302. package/lib/components/eventBooking/index.d.ts +0 -1
  303. package/lib/components/index.d.ts +1 -2
  304. package/lib/components/index.js +0 -3
  305. package/lib/components/pay/toC/PaymentList/utils.d.ts +36 -0
  306. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
  307. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +2 -0
  308. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +2 -0
  309. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +2 -0
  310. package/lib/components/pay/toC/PaymentMethods/StripePay/index.d.ts +10 -0
  311. package/lib/components/pay/toC/model.d.ts +40 -0
  312. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  313. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
  314. package/lib/components/productExtension/index.d.ts +0 -1
  315. package/lib/components/ruleSetting/index.d.ts +0 -1
  316. package/lib/components/schedules/components/ScheduleList/index.d.ts +1 -0
  317. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  318. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
  319. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  320. package/lib/components/schedules/products/index.d.ts +1 -0
  321. package/lib/components/schedules/resources/index.d.ts +1 -0
  322. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  323. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  324. package/lib/components/schedules/schedules/index.d.ts +1 -0
  325. package/lib/components/shoppingCart/locales.d.ts +33 -0
  326. package/lib/components/shoppingCart/type.d.ts +48 -0
  327. package/lib/components/subTotal/index.d.ts +2 -0
  328. package/lib/components/subTotal/index.js +34 -20
  329. package/lib/components/subTotal/locales.d.ts +42 -0
  330. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
  331. package/lib/components/ticketBooking/locales.d.ts +174 -0
  332. package/lib/hooks/useEngineContext.d.ts +10 -0
  333. package/lib/hooks/useWindowSize.d.ts +5 -0
  334. package/lib/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
  335. package/lib/plus/selectHolder/locales.d.ts +21 -0
  336. package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -1
  337. package/lib/plus/skuOptionsSelection/components/VariantCard/index.d.ts +0 -1
  338. package/lib/plus/skuOptionsSelection/types.d.ts +429 -0
  339. package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
  340. package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
  341. package/lib/plus/walletEditor/components/relationProduct/index.d.ts +1 -0
  342. package/lib/pro/NumericStepper/index.d.ts +43 -0
  343. package/lib/pro/Selector/Selector.d.ts +14 -0
  344. package/lib/pro/Selector/components/Card/index.d.ts +57 -0
  345. package/lib/pro/Selector/components/Indicator/index.d.ts +19 -0
  346. package/lib/pro/Selector/components/LayoutContainer/index.d.ts +16 -0
  347. package/lib/pro/Selector/demo.d.ts +0 -1
  348. package/lib/pro/Selector/hooks/usePresetProps.d.ts +24 -0
  349. package/lib/pro/Selector/types.d.ts +173 -0
  350. package/lib/pro/pisellNumberSelector/example.d.ts +3 -0
  351. package/lowcode/eco-cup-list/meta.ts +63 -0
  352. package/lowcode/eco-customer-list/meta.ts +63 -0
  353. package/package.json +1 -1
@@ -0,0 +1,36 @@
1
+ /**
2
+ * @description: visa/master手续费是否一致
3
+ * @param {any} creditCardConfig
4
+ * @return {*}
5
+ */
6
+ export declare const isCreditCardSurchargeSame: (creditCardConfig: any[]) => boolean;
7
+ /**
8
+ * @description: 格式化visa/master手续费
9
+ * @param {any} item 支付列表项
10
+ * @param {number} amount 订单金额
11
+ * @param {boolean} isSame 手续费是否一致
12
+ * @return {*}
13
+ */
14
+ export declare const formatCreditCardSurcharge: (item: any, amount: number, isSame: boolean) => any;
15
+ /**
16
+ * @description: 格式化visa/master手续费列表
17
+ * @param {any} item
18
+ * @param {number} amount
19
+ * @return {*}
20
+ */
21
+ export declare const formatCreditCardSurchargeList: (item: any, amount: number) => any;
22
+ /**
23
+ * @description: 格式化visa/master手续费文案,只显示百分比区间
24
+ * @return {*}
25
+ */
26
+ export declare const formatCreditCardSurchargeText: (surcharge_config: any[], surcharge_text: string) => string;
27
+ /**
28
+ * @title: 计算支付列表的手续费
29
+ * @description:
30
+ * @param {any} paymentList
31
+ * @param {number} amount
32
+ * @return {*}
33
+ * @Author: zhiwei.Wang
34
+ * @Date: 2024-08-18 09:30
35
+ */
36
+ export declare const calculateSurcharge: (paymentList: any[], amount: number) => any[];
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ declare type PaymentStatusProps = {
3
+ onChange: (status: 'succeeded' | 'processing' | 'requires_payment_method' | 'error') => void;
4
+ };
5
+ declare const PaymentStatus: React.FC<PaymentStatusProps>;
6
+ export default PaymentStatus;
@@ -0,0 +1,2 @@
1
+ declare const StripePayment: () => JSX.Element;
2
+ export default StripePayment;
@@ -0,0 +1,2 @@
1
+ declare const PageLoading: () => JSX.Element;
2
+ export default PageLoading;
@@ -0,0 +1,2 @@
1
+ declare const PaymentRequestForm: () => JSX.Element | null;
2
+ export default PaymentRequestForm;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ export interface StripePayRef {
4
+ init: (res: any) => void;
5
+ }
6
+ export interface StripePayProps {
7
+ onChange?: (values: any) => void;
8
+ }
9
+ declare const _default: React.ForwardRefExoticComponent<StripePayProps & React.RefAttributes<any>>;
10
+ export default _default;
@@ -0,0 +1,40 @@
1
+ /// <reference types="react" />
2
+ export interface FormState {
3
+ platform: 'pc' | 'h5' | '' | undefined;
4
+ order: any;
5
+ status: 'init' | 'ready' | 'loading' | 'success' | 'error';
6
+ payCallback: (res?: any) => void;
7
+ history?: any;
8
+ payGroup?: PayGroup;
9
+ walletSetting: {
10
+ name: string;
11
+ popup_status: 0 | 1 | null;
12
+ };
13
+ }
14
+ export interface PayGroup {
15
+ order_id?: string;
16
+ total_amount?: number;
17
+ walletPass?: {
18
+ amount: number;
19
+ cards: any[];
20
+ [key: string]: any;
21
+ paid?: boolean;
22
+ };
23
+ otherPayment?: {
24
+ [key: string]: any;
25
+ };
26
+ wait_amount?: number;
27
+ payment_group_id?: number;
28
+ payment_priority?: string[];
29
+ pay_number?: string;
30
+ _order: any;
31
+ front_order_uuid?: string;
32
+ }
33
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
34
+ state: FormState;
35
+ } & {
36
+ dispatch: (params: {
37
+ type: string;
38
+ payload: any;
39
+ }) => void;
40
+ }>;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const PhoneField: ({ value, onChange }: any) => JSX.Element;
3
2
  export default PhoneField;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface RightPanelProps {
4
3
  value: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  interface ProductExtensionProps {
4
3
  onDataChange: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  interface RuleSettingProps {
4
3
  value: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ButtonProps } from 'antd';
2
3
  import { ScheduleItem } from '../../type';
3
4
  import './index.less';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const MaxParticipantsModule: ({ form, value, onChange, useSchedule, isAutoChange, onData, }: {
3
4
  form: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const ProductDetail: ({ form, currentProduct, }: {
3
4
  form: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const ProductDetailDrawer: () => JSX.Element;
3
4
  export default ProductDetailDrawer;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Products: () => JSX.Element;
3
4
  export default Products;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Resources: () => JSX.Element;
3
4
  export default Resources;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ScheduleItem } from '../../type';
2
3
  import './index.less';
3
4
  declare type AllSchedulesPropsType = {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { DrawerProps } from "antd";
2
3
  import { ScheduleItem } from "../../type";
3
4
  import "./index.less";
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const SchedulesConnect: () => JSX.Element;
2
3
  export default SchedulesConnect;
@@ -0,0 +1,33 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.text.shopping-cart.item': (num: number) => string;
4
+ 'pisell2.text.shopping-cart.clear.cart': string;
5
+ 'pisell2.text.shopping-cart.add.service': string;
6
+ 'pisell2.text.shopping-cart.add.more': string;
7
+ 'pisell2.text.shopping-cart.no.selected': string;
8
+ 'pisell2.text.shopping-cart.confirm': string;
9
+ 'pisell2.text.shopping-cart.cancel': string;
10
+ 'pisell2.text.shopping-cart.select.holder.modal.title': string;
11
+ };
12
+ 'zh-CN': {
13
+ 'pisell2.text.shopping-cart.item': (num: number) => string;
14
+ 'pisell2.text.shopping-cart.clear.cart': string;
15
+ 'pisell2.text.shopping-cart.add.service': string;
16
+ 'pisell2.text.shopping-cart.add.more': string;
17
+ 'pisell2.text.shopping-cart.no.selected': string;
18
+ 'pisell2.text.shopping-cart.confirm': string;
19
+ 'pisell2.text.shopping-cart.cancel': string;
20
+ 'pisell2.text.shopping-cart.select.holder.modal.title': string;
21
+ };
22
+ 'zh-HK': {
23
+ 'pisell2.text.shopping-cart.item': (num: number) => string;
24
+ 'pisell2.text.shopping-cart.clear.cart': string;
25
+ 'pisell2.text.shopping-cart.add.service': string;
26
+ 'pisell2.text.shopping-cart.add.more': string;
27
+ 'pisell2.text.shopping-cart.no.selected': string;
28
+ 'pisell2.text.shopping-cart.confirm': string;
29
+ 'pisell2.text.shopping-cart.cancel': string;
30
+ 'pisell2.text.shopping-cart.select.holder.modal.title': string;
31
+ };
32
+ };
33
+ export default _default;
@@ -0,0 +1,48 @@
1
+ import { CollapseProps } from 'antd';
2
+ export interface productProps {
3
+ hideAddBtn?: boolean;
4
+ isShowNote?: boolean;
5
+ isShowPackageNote?: boolean;
6
+ products?: any[];
7
+ holders?: any[];
8
+ isEdit?: boolean;
9
+ disabledEdit?: boolean;
10
+ isShowChangeResource?: boolean;
11
+ isShowDelete?: boolean;
12
+ isShowChangeHolder?: boolean;
13
+ isShowHolder?: boolean;
14
+ isShowAddHolderButton?: boolean;
15
+ }
16
+ export interface shoppingCartProps {
17
+ isOpenGroup?: boolean;
18
+ carts?: any[];
19
+ platform?: 'shop' | 'h5';
20
+ emptyText?: string;
21
+ activeKey?: string[] | number[];
22
+ defaultActiveKey?: string[] | number[];
23
+ className?: string;
24
+ onCard?: (e: any) => void;
25
+ onAction?: (e: any) => void;
26
+ onChange?: (items: any, type?: string, other?: any) => void;
27
+ onAddProduct?: (e?: any) => void;
28
+ onActiveKey?: (e: any) => void;
29
+ isShowImage?: boolean;
30
+ isShowHolder?: boolean;
31
+ isShowDelete?: boolean;
32
+ collapseParams?: CollapseProps;
33
+ productParams?: productProps;
34
+ isHideClearCart?: boolean;
35
+ isParallelResource?: boolean;
36
+ }
37
+ /**
38
+ * @title: 商品卡片
39
+ * @description:
40
+ * @return {*}
41
+ * @Author: WangHan
42
+ * @Date: 2024-11-29 09:52
43
+ */
44
+ export interface ProductProps {
45
+ id?: any;
46
+ lists: any[];
47
+ isAdd?: boolean;
48
+ }
@@ -12,11 +12,13 @@ export interface SubTotalItem extends React.HTMLAttributes<HTMLDivElement> {
12
12
  is_price_include_tax?: boolean;
13
13
  title?: string;
14
14
  };
15
+ bold?: boolean;
15
16
  }
16
17
  interface SubTotalProps extends React.HTMLAttributes<HTMLDivElement> {
17
18
  list: SubTotalItem[];
18
19
  mode?: 'column1' | 'column2';
19
20
  describe?: string;
21
+ children?: React.ReactNode;
20
22
  }
21
23
  declare const SubTotal: (props: SubTotalProps) => JSX.Element;
22
24
  export default SubTotal;
@@ -35,21 +35,22 @@ module.exports = __toCommonJS(subTotal_exports);
35
35
  var import_react = __toESM(require("react"));
36
36
  var import_antd = require("antd");
37
37
  var import_index = require("./index.less");
38
- var import_locales = require("../../utils/locales");
39
- var import_locales2 = __toESM(require("./locales"));
38
+ var import_locales = __toESM(require("./locales"));
40
39
  var import_classnames = __toESM(require("classnames"));
41
40
  var import_materials = require("@pisell/materials");
42
41
  var import_utils = require("@pisell/utils");
43
- import_utils.locales.init(import_locales2.default, (0, import_locales.getLocale)());
44
- var labelMaps = {
45
- deposit: import_utils.locales.getText("pisell2.subtotal.deposit"),
46
- total: import_utils.locales.getText("pisell2.subtotal.total"),
47
- sub_total: import_utils.locales.getText("pisell2.subtotal.subtotal"),
48
- tax: import_utils.locales.getText("pisell2.subtotal.tax"),
49
- delivery_fee: import_utils.locales.getText("pisell2.subtotal.delivery-fee"),
50
- discount: import_utils.locales.getText("pisell2.subtotal.discount"),
51
- point_deduction: import_utils.locales.getText("pisell2.subtotal.point-deduction"),
52
- member_deduction: import_utils.locales.getText("pisell2.subtotal.member-deduction")
42
+ var import_useEngineContext = __toESM(require("../../hooks/useEngineContext"));
43
+ var getLabelMaps = () => {
44
+ return {
45
+ deposit: import_utils.locales.getText("pisell2.subtotal.deposit"),
46
+ total: import_utils.locales.getText("pisell2.subtotal.total"),
47
+ sub_total: import_utils.locales.getText("pisell2.subtotal.subtotal"),
48
+ tax: import_utils.locales.getText("pisell2.subtotal.tax"),
49
+ delivery_fee: import_utils.locales.getText("pisell2.subtotal.delivery-fee"),
50
+ discount: import_utils.locales.getText("pisell2.subtotal.discount"),
51
+ point_deduction: import_utils.locales.getText("pisell2.subtotal.point-deduction"),
52
+ member_deduction: import_utils.locales.getText("pisell2.subtotal.member-deduction")
53
+ };
53
54
  };
54
55
  var groupByMod = (arr, groupCount) => {
55
56
  if (groupCount < 1) {
@@ -66,7 +67,7 @@ var groupByMod = (arr, groupCount) => {
66
67
  }, result);
67
68
  };
68
69
  var Item = (props) => {
69
- const { item, bold } = props;
70
+ const { item, bold, labelMaps } = props;
70
71
  const { label, key, count, value, tax, hidden, ...rest } = item;
71
72
  const taxText = (0, import_react.useMemo)(() => {
72
73
  if (!tax) {
@@ -99,13 +100,13 @@ var Item = (props) => {
99
100
  )));
100
101
  }
101
102
  return labelMaps[key];
102
- }, [label, key, count, taxText]);
103
+ }, [label, key, count, taxText, labelMaps]);
103
104
  if (hidden) return null;
104
105
  return /* @__PURE__ */ import_react.default.createElement(
105
106
  "div",
106
107
  {
107
108
  className: (0, import_classnames.default)("pisell-lowcode__subtotal-item", {
108
- "pisell-lowcode__subtotal-item-bold": bold
109
+ "pisell-lowcode__subtotal-item-bold": bold || (item == null ? void 0 : item.bold)
109
110
  }),
110
111
  ...rest
111
112
  },
@@ -124,9 +125,22 @@ var Describe = (props) => {
124
125
  return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(import_antd.Divider, { className: "pisell-lowcode__subtotal-divider" }), /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__subtotal-describe" }, describe));
125
126
  };
126
127
  var SubTotal = (props) => {
127
- const { list = [], mode = "column1", describe = "", ...rest } = props;
128
+ var _a, _b;
129
+ const {
130
+ list = [],
131
+ mode = "column1",
132
+ describe = "",
133
+ children,
134
+ ...rest
135
+ } = props;
136
+ const context = (0, import_useEngineContext.default)();
137
+ const locale = ((_b = (_a = context == null ? void 0 : context.engine) == null ? void 0 : _a.props) == null ? void 0 : _b.locale) || "en";
138
+ import_utils.locales.init(import_locales.default, locale);
139
+ const labelMaps = (0, import_react.useMemo)(() => {
140
+ return getLabelMaps();
141
+ }, [locale]);
128
142
  const depositItem = (0, import_react.useMemo)(() => {
129
- return list.find((item) => item.key === "deposit");
143
+ return list.find((item) => item.key === "deposit" && !(item == null ? void 0 : item.hidden));
130
144
  }, [list]);
131
145
  const totalItem = (0, import_react.useMemo)(() => {
132
146
  return list.find((item) => item.key === "total");
@@ -160,7 +174,7 @@ var SubTotal = (props) => {
160
174
  (0, import_react.useEffect)(() => {
161
175
  document.body.id = "body";
162
176
  }, []);
163
- return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__subtotal-wrap", ...rest }, headerItem && /* @__PURE__ */ import_react.default.createElement(Item, { key: headerItem.key, item: headerItem, bold: true }), depositItem ? /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(import_antd.Divider, { className: "pisell-lowcode__subtotal-divider" }), totalItem ? /* @__PURE__ */ import_react.default.createElement(Item, { key: totalItem.key, item: totalItem }) : null) : null, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__subtotal-list" }, mapData.map((items, index) => {
177
+ return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__subtotal-wrap", ...rest }, headerItem && /* @__PURE__ */ import_react.default.createElement(Item, { key: headerItem.key, item: headerItem, bold: true, labelMaps }), depositItem ? /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(import_antd.Divider, { className: "pisell-lowcode__subtotal-divider" }), totalItem ? /* @__PURE__ */ import_react.default.createElement(Item, { key: totalItem.key, item: totalItem, labelMaps }) : null) : null, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__subtotal-list" }, mapData.map((items, index) => {
164
178
  const isLast = index === mapData.length - 1;
165
179
  return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__subtotal-item-block" }, /* @__PURE__ */ import_react.default.createElement(
166
180
  "div",
@@ -168,8 +182,8 @@ var SubTotal = (props) => {
168
182
  key: index,
169
183
  className: "pisell-lowcode__subtotal-item-wrap"
170
184
  },
171
- items.map((d) => /* @__PURE__ */ import_react.default.createElement(Item, { key: d.key, item: d }))
185
+ items.map((d) => /* @__PURE__ */ import_react.default.createElement(Item, { key: d.key, item: d, labelMaps }))
172
186
  )), mode === "column2" && !isLast ? /* @__PURE__ */ import_react.default.createElement(import_antd.Divider, { type: "vertical", style: { height: "auto" } }) : null);
173
- })), describe ? /* @__PURE__ */ import_react.default.createElement(Describe, { describe }) : null);
187
+ })), describe ? /* @__PURE__ */ import_react.default.createElement(Describe, { describe }) : null, children ? /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(import_antd.Divider, { className: "pisell-lowcode__subtotal-divider" }), children) : null);
174
188
  };
175
189
  var subTotal_default = SubTotal;
@@ -0,0 +1,42 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.subtotal.deposit': string;
4
+ 'pisell2.subtotal.total': string;
5
+ 'pisell2.subtotal.subtotal': string;
6
+ 'pisell2.subtotal.tax': string;
7
+ 'pisell2.subtotal.delivery-fee': string;
8
+ 'pisell2.subtotal.discount': string;
9
+ 'pisell2.subtotal.point-deduction': string;
10
+ 'pisell2.subtotal.member-deduction': string;
11
+ 'pisell2.subtotal.items': string;
12
+ 'pisell2.subtotal.not-contain': string;
13
+ 'pisell2.subtotal.included': string;
14
+ };
15
+ 'zh-CN': {
16
+ 'pisell2.subtotal.deposit': string;
17
+ 'pisell2.subtotal.total': string;
18
+ 'pisell2.subtotal.subtotal': string;
19
+ 'pisell2.subtotal.tax': string;
20
+ 'pisell2.subtotal.delivery-fee': string;
21
+ 'pisell2.subtotal.discount': string;
22
+ 'pisell2.subtotal.point-deduction': string;
23
+ 'pisell2.subtotal.member-deduction': string;
24
+ 'pisell2.subtotal.items': string;
25
+ 'pisell2.subtotal.not-contain': string;
26
+ 'pisell2.subtotal.included': string;
27
+ };
28
+ 'zh-HK': {
29
+ 'pisell2.subtotal.deposit': string;
30
+ 'pisell2.subtotal.total': string;
31
+ 'pisell2.subtotal.subtotal': string;
32
+ 'pisell2.subtotal.tax': string;
33
+ 'pisell2.subtotal.delivery-fee': string;
34
+ 'pisell2.subtotal.discount': string;
35
+ 'pisell2.subtotal.point-deduction': string;
36
+ 'pisell2.subtotal.member-deduction': string;
37
+ 'pisell2.subtotal.items': string;
38
+ 'pisell2.subtotal.not-contain': string;
39
+ 'pisell2.subtotal.included': string;
40
+ };
41
+ };
42
+ export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface AddServiceVariantProps {
3
2
  globalState: any;
4
3
  setGlobalState: any;
@@ -0,0 +1,174 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.ticket-booking.info': string;
4
+ 'pisell2.ticket-booking.notes': string;
5
+ 'pisell2.ticket-booking.forms': string;
6
+ 'pisell2.ticket-booking.sales': string;
7
+ 'pisell2.ticket-booking.payment': string;
8
+ 'pisell2.ticket-booking.unsaved-changes': string;
9
+ 'pisell2.ticket-booking.exit-confirm': string;
10
+ 'pisell2.ticket-booking.go-back': string;
11
+ 'pisell2.ticket-booking.exit': string;
12
+ 'pisell2.ticket-booking.deposit': string;
13
+ 'pisell2.ticket-booking.copy-success': string;
14
+ 'pisell2.ticket-booking.no-data': string;
15
+ 'pisell2.ticket-booking.authorized': string;
16
+ 'pisell2.ticket-booking.paid': string;
17
+ 'pisell2.ticket-booking.partially-paid': string;
18
+ 'pisell2.ticket-booking.partially-refunded': string;
19
+ 'pisell2.ticket-booking.payment-pending': string;
20
+ 'pisell2.ticket-booking.refunded': string;
21
+ 'pisell2.ticket-booking.unpaid': string;
22
+ 'pisell2.ticket-booking.voided': string;
23
+ 'pisell2.ticket-booking.pending': string;
24
+ 'pisell2.ticket-booking.all': string;
25
+ 'pisell2.ticket-booking.not-started': string;
26
+ 'pisell2.ticket-booking.started': string;
27
+ 'pisell2.ticket-booking.finished': string;
28
+ 'pisell2.ticket-booking.canceled': string;
29
+ 'pisell2.ticket-booking.inform': string;
30
+ 'pisell2.ticket-booking.check-management': string;
31
+ 'pisell2.ticket-booking.confirm': string;
32
+ 'pisell2.ticket-booking.dashboard': string;
33
+ 'pisell2.ticket-booking.booking-list': string;
34
+ 'pisell2.ticket-booking.full-data': string;
35
+ 'pisell2.ticket-booking.today': string;
36
+ 'pisell2.ticket-booking.now': string;
37
+ 'pisell2.ticket-booking.start-time': string;
38
+ 'pisell2.ticket-booking.create-time': string;
39
+ 'pisell2.ticket-booking.customer': string;
40
+ 'pisell2.ticket-booking.total': string;
41
+ 'pisell2.ticket-booking.search': string;
42
+ 'pisell2.ticket-booking.refresh-success': string;
43
+ 'pisell2.ticket-booking.loading': string;
44
+ 'pisell2.ticket-booking.appointment-not-found': string;
45
+ 'pisell2.ticket-booking.scan': string;
46
+ 'pisell2.ticket-booking.create-new': string;
47
+ 'pisell2.ticket-booking.add-to-cart': string;
48
+ 'pisell2.ticket-booking.not-available-title': string;
49
+ 'pisell2.ticket-booking.not-available-ok': string;
50
+ 'pisell2.ticket-booking.in-cart': (number: number) => string;
51
+ 'pisell2.product.card.cart-items': (number: number) => string;
52
+ 'pisell2.product.card.subtotal': string;
53
+ 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
54
+ 'pisell2.product.card.day': (val: number) => string;
55
+ 'pisell2.product.card.day.event': (val: number) => string;
56
+ 'pisell2.product.card.minute': (val: number) => string;
57
+ "pisell2.ticket-booking.reload": string;
58
+ };
59
+ 'zh-CN': {
60
+ 'pisell2.ticket-booking.info': string;
61
+ 'pisell2.ticket-booking.notes': string;
62
+ 'pisell2.ticket-booking.forms': string;
63
+ 'pisell2.ticket-booking.sales': string;
64
+ 'pisell2.ticket-booking.payment': string;
65
+ 'pisell2.ticket-booking.unsaved-changes': string;
66
+ 'pisell2.ticket-booking.exit-confirm': string;
67
+ 'pisell2.ticket-booking.go-back': string;
68
+ 'pisell2.ticket-booking.exit': string;
69
+ 'pisell2.ticket-booking.deposit': string;
70
+ 'pisell2.ticket-booking.copy-success': string;
71
+ 'pisell2.ticket-booking.no-data': string;
72
+ 'pisell2.ticket-booking.authorized': string;
73
+ 'pisell2.ticket-booking.paid': string;
74
+ 'pisell2.ticket-booking.partially-paid': string;
75
+ 'pisell2.ticket-booking.partially-refunded': string;
76
+ 'pisell2.ticket-booking.payment-pending': string;
77
+ 'pisell2.ticket-booking.refunded': string;
78
+ 'pisell2.ticket-booking.unpaid': string;
79
+ 'pisell2.ticket-booking.voided': string;
80
+ 'pisell2.ticket-booking.pending': string;
81
+ 'pisell2.ticket-booking.all': string;
82
+ 'pisell2.ticket-booking.not-started': string;
83
+ 'pisell2.ticket-booking.started': string;
84
+ 'pisell2.ticket-booking.finished': string;
85
+ 'pisell2.ticket-booking.canceled': string;
86
+ 'pisell2.ticket-booking.inform': string;
87
+ 'pisell2.ticket-booking.check-management': string;
88
+ 'pisell2.ticket-booking.confirm': string;
89
+ 'pisell2.ticket-booking.dashboard': string;
90
+ 'pisell2.ticket-booking.booking-list': string;
91
+ 'pisell2.ticket-booking.full-data': string;
92
+ 'pisell2.ticket-booking.today': string;
93
+ 'pisell2.ticket-booking.now': string;
94
+ 'pisell2.ticket-booking.start-time': string;
95
+ 'pisell2.ticket-booking.create-time': string;
96
+ 'pisell2.ticket-booking.customer': string;
97
+ 'pisell2.ticket-booking.total': string;
98
+ 'pisell2.ticket-booking.search': string;
99
+ 'pisell2.ticket-booking.refresh-success': string;
100
+ 'pisell2.ticket-booking.loading': string;
101
+ 'pisell2.ticket-booking.appointment-not-found': string;
102
+ 'pisell2.ticket-booking.scan': string;
103
+ 'pisell2.ticket-booking.create-new': string;
104
+ 'pisell2.ticket-booking.add-to-cart': string;
105
+ 'pisell2.ticket-booking.not-available-title': string;
106
+ 'pisell2.ticket-booking.not-available-ok': string;
107
+ 'pisell2.product.card.cart-items': (number: number) => string;
108
+ 'pisell2.product.card.subtotal': string;
109
+ 'pisell2.ticket-booking.in-cart': (number: number) => string;
110
+ 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
111
+ 'pisell2.product.card.day': (val: number) => string;
112
+ 'pisell2.product.card.day.event': (val: number) => string;
113
+ 'pisell2.product.card.minute': (val: number) => string;
114
+ "pisell2.ticket-booking.reload": string;
115
+ };
116
+ 'zh-HK': {
117
+ 'pisell2.ticket-booking.info': string;
118
+ 'pisell2.ticket-booking.notes': string;
119
+ 'pisell2.ticket-booking.forms': string;
120
+ 'pisell2.ticket-booking.sales': string;
121
+ 'pisell2.ticket-booking.payment': string;
122
+ 'pisell2.ticket-booking.unsaved-changes': string;
123
+ 'pisell2.ticket-booking.exit-confirm': string;
124
+ 'pisell2.ticket-booking.go-back': string;
125
+ 'pisell2.ticket-booking.exit': string;
126
+ 'pisell2.ticket-booking.deposit': string;
127
+ 'pisell2.ticket-booking.copy-success': string;
128
+ 'pisell2.ticket-booking.no-data': string;
129
+ 'pisell2.ticket-booking.authorized': string;
130
+ 'pisell2.ticket-booking.paid': string;
131
+ 'pisell2.ticket-booking.partially-paid': string;
132
+ 'pisell2.ticket-booking.partially-refunded': string;
133
+ 'pisell2.ticket-booking.payment-pending': string;
134
+ 'pisell2.ticket-booking.refunded': string;
135
+ 'pisell2.ticket-booking.unpaid': string;
136
+ 'pisell2.ticket-booking.voided': string;
137
+ 'pisell2.ticket-booking.pending': string;
138
+ 'pisell2.ticket-booking.all': string;
139
+ 'pisell2.ticket-booking.not-started': string;
140
+ 'pisell2.ticket-booking.started': string;
141
+ 'pisell2.ticket-booking.finished': string;
142
+ 'pisell2.ticket-booking.canceled': string;
143
+ 'pisell2.ticket-booking.inform': string;
144
+ 'pisell2.ticket-booking.check-management': string;
145
+ 'pisell2.ticket-booking.confirm': string;
146
+ 'pisell2.ticket-booking.dashboard': string;
147
+ 'pisell2.ticket-booking.booking-list': string;
148
+ 'pisell2.ticket-booking.full-data': string;
149
+ 'pisell2.ticket-booking.today': string;
150
+ 'pisell2.ticket-booking.now': string;
151
+ 'pisell2.ticket-booking.start-time': string;
152
+ 'pisell2.ticket-booking.create-time': string;
153
+ 'pisell2.ticket-booking.customer': string;
154
+ 'pisell2.ticket-booking.total': string;
155
+ 'pisell2.ticket-booking.search': string;
156
+ 'pisell2.ticket-booking.refresh-success': string;
157
+ 'pisell2.ticket-booking.loading': string;
158
+ 'pisell2.ticket-booking.appointment-not-found': string;
159
+ 'pisell2.ticket-booking.scan': string;
160
+ 'pisell2.ticket-booking.create-new': string;
161
+ 'pisell2.ticket-booking.add-to-cart': string;
162
+ 'pisell2.ticket-booking.not-available-title': string;
163
+ 'pisell2.ticket-booking.not-available-ok': string;
164
+ 'pisell2.ticket-booking.in-cart': (number: number) => string;
165
+ 'pisell2.product.card.cart-items': (number: number) => string;
166
+ 'pisell2.product.card.subtotal': string;
167
+ 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
168
+ 'pisell2.product.card.day': (val: number) => string;
169
+ 'pisell2.product.card.day.event': (val: number) => string;
170
+ 'pisell2.product.card.minute': (val: number) => string;
171
+ "pisell2.ticket-booking.reload": string;
172
+ };
173
+ };
174
+ export default _default;
@@ -0,0 +1,10 @@
1
+ declare type IEngineContext = {
2
+ appHelper: any;
3
+ engine: any;
4
+ blockContext: any;
5
+ components: any;
6
+ pageContext: any;
7
+ };
8
+ declare const useEngineContext: () => IEngineContext;
9
+ export declare const usePisellOS: () => any;
10
+ export default useEngineContext;
@@ -0,0 +1,5 @@
1
+ interface UseWindowSizeOptions {
2
+ debounceMs?: number;
3
+ }
4
+ export declare const useWindowSize: (options?: UseWindowSizeOptions) => void;
5
+ export {};