@pisell/private-materials 3.2.32 → 3.2.34

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 (419) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +1 -1
  6. package/build/lowcode/preview.js +13 -13
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +5 -5
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +8 -8
  11. package/es/businessModel/SalesModel/index.d.ts +0 -1
  12. package/es/components/Sales/Event/index.js +7 -7
  13. package/es/components/appointmentBooking/components/Cart/ContinueButton/index.js +86 -41
  14. package/es/components/appointmentBooking/components/Cart/Item/Total.js +3 -2
  15. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -1
  16. package/es/components/appointmentBooking/components/Cart/Item/index.js +31 -15
  17. package/es/components/appointmentBooking/components/Cart/Item/index.less +15 -9
  18. package/es/components/appointmentBooking/components/Cart/index.d.ts +1 -0
  19. package/es/components/appointmentBooking/components/Cart/index.js +2 -7
  20. package/es/components/appointmentBooking/components/ConfirmInformation/index.d.ts +4 -0
  21. package/es/components/appointmentBooking/components/ConfirmInformation/index.js +16 -0
  22. package/es/components/appointmentBooking/components/ConfirmInformation/index.less +24 -0
  23. package/es/components/appointmentBooking/components/Content/index.js +42 -6
  24. package/es/components/appointmentBooking/components/Date/index.d.ts +0 -1
  25. package/es/components/appointmentBooking/components/Date/index.js +86 -24
  26. package/es/components/appointmentBooking/components/Deposit/index.d.ts +3 -0
  27. package/es/components/appointmentBooking/components/Deposit/index.js +30 -0
  28. package/es/components/appointmentBooking/components/Deposit/index.less +16 -0
  29. package/es/components/appointmentBooking/components/Form/index.d.ts +3 -0
  30. package/es/components/appointmentBooking/components/Form/index.js +110 -0
  31. package/es/components/appointmentBooking/components/Form/index.less +3 -0
  32. package/es/components/appointmentBooking/components/Header/index.d.ts +0 -1
  33. package/es/components/appointmentBooking/components/Header/index.js +3 -2
  34. package/es/components/appointmentBooking/components/Resource/index.js +4 -1
  35. package/es/components/appointmentBooking/components/Services/index.js +103 -9
  36. package/es/components/appointmentBooking/context.d.ts +3 -0
  37. package/es/components/appointmentBooking/context.js +19 -3
  38. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +3 -0
  39. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.js +108 -0
  40. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.less +9 -0
  41. package/es/components/appointmentBooking/deposit/index.d.ts +3 -0
  42. package/es/components/appointmentBooking/deposit/index.js +101 -0
  43. package/es/components/appointmentBooking/deposit/index.less +53 -0
  44. package/es/components/appointmentBooking/hooks.d.ts +16 -0
  45. package/es/components/appointmentBooking/hooks.js +138 -53
  46. package/es/components/appointmentBooking/index.d.ts +0 -1
  47. package/es/components/appointmentBooking/index.js +8 -0
  48. package/es/components/appointmentBooking/locales.d.ts +36 -3
  49. package/es/components/appointmentBooking/locales.js +42 -3
  50. package/es/components/appointmentBooking/utils.d.ts +22 -0
  51. package/es/components/appointmentBooking/utils.js +111 -26
  52. package/es/components/booking/addons/model.js +5 -5
  53. package/es/components/booking/components/TabProduct/index.d.ts +0 -1
  54. package/es/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
  55. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  56. package/es/components/booking/components/TabProduct/selectProductItem/index.js +4 -4
  57. package/es/components/booking/components/TabProduct/tabs/index.js +5 -1
  58. package/es/components/booking/components/browserSelect/index.js +1 -1
  59. package/es/components/booking/components/collapsibleList/utils.d.ts +0 -1
  60. package/es/components/booking/components/emptyBooking/index.d.ts +0 -1
  61. package/es/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  62. package/es/components/booking/components/footer/index.js +5 -3
  63. package/es/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  64. package/es/components/booking/deposit/index.d.ts +0 -1
  65. package/es/components/booking/forms/model.js +5 -5
  66. package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  67. package/es/components/booking/forms/single/index.d.ts +0 -1
  68. package/es/components/booking/forms/table/index.d.ts +0 -1
  69. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
  70. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  71. package/es/components/booking/info/date/index.d.ts +0 -1
  72. package/es/components/booking/info/dateRange/index.d.ts +1 -0
  73. package/es/components/booking/info/header/index.d.ts +0 -1
  74. package/es/components/booking/info/notes/index.d.ts +0 -1
  75. package/es/components/booking/info/service/actions/index.d.ts +0 -1
  76. package/es/components/booking/info/service/addService/index.d.ts +1 -0
  77. package/es/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  78. package/es/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
  79. package/es/components/booking/info/service/like/index.d.ts +0 -1
  80. package/es/components/booking/info/service/like/index.js +1 -1
  81. package/es/components/booking/info/service/serviceList/index.d.ts +0 -1
  82. package/es/components/booking/info2/service/actions/index.d.ts +0 -1
  83. package/es/components/booking/info2/service/addService/index.d.ts +0 -1
  84. package/es/components/booking/info2/service/addTimeModal/index.js +3 -2
  85. package/es/components/booking/info2/service/editService/Resources/MaxLengthSelect/index.js +4 -2
  86. package/es/components/booking/info2/service/editService/index.js +4 -11
  87. package/es/components/booking/info2/service/serviceList/index.d.ts +0 -1
  88. package/es/components/booking/materiels/contacts/index.d.ts +0 -1
  89. package/es/components/booking/materiels/duration/index.d.ts +0 -1
  90. package/es/components/booking/materiels/holder/index.d.ts +0 -1
  91. package/es/components/booking/materiels/startTime/index.d.ts +0 -1
  92. package/es/components/booking/materiels/startTime/index.js +1 -1
  93. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  94. package/es/components/booking/notes/NoteBlock/NoteItem/index.js +1 -1
  95. package/es/components/booking/notes/NoteBlock/index.d.ts +0 -1
  96. package/es/components/booking/notes/NoteBlock/index.js +11 -11
  97. package/es/components/booking/notes/addNote/index.d.ts +0 -1
  98. package/es/components/booking/notes/addNote/index.js +1 -1
  99. package/es/components/booking/notes/model.js +5 -5
  100. package/es/components/booking/payments/model.js +5 -5
  101. package/es/components/eftpos/deviceList/index.d.ts +0 -1
  102. package/es/components/eftpos/form/index.d.ts +0 -1
  103. package/es/components/eftpos/group/index.d.ts +0 -1
  104. package/es/components/eftpos/hooks.d.ts +0 -1
  105. package/es/components/eftpos/icon/apiKey.d.ts +0 -1
  106. package/es/components/eftpos/icon/device.d.ts +0 -1
  107. package/es/components/eftpos/index.d.ts +0 -1
  108. package/es/components/eftpos/pos.d.ts +0 -1
  109. package/es/components/eftpos/receipt/index.d.ts +0 -1
  110. package/es/components/eftpos/surcharge/index.d.ts +0 -1
  111. package/es/components/eftposPay/amount.d.ts +1 -2
  112. package/es/components/eftposPay/app.d.ts +0 -1
  113. package/es/components/eftposPay/component/alert/warn.d.ts +0 -1
  114. package/es/components/eftposPay/component/fail/network.d.ts +0 -1
  115. package/es/components/eftposPay/component/header/titlebar.d.ts +0 -1
  116. package/es/components/eftposPay/component/manual/index.d.ts +0 -1
  117. package/es/components/eftposPay/component/signature/index.d.ts +0 -1
  118. package/es/components/eftposPay/component/step/index.d.ts +0 -1
  119. package/es/components/eftposPay/component/step/step.d.ts +0 -1
  120. package/es/components/eftposPay/device.d.ts +1 -2
  121. package/es/components/eftposPay/hooks.d.ts +1 -1
  122. package/es/components/eftposPay/store/index.d.ts +3 -3
  123. package/es/components/eftposPay/tip.d.ts +0 -1
  124. package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
  125. package/es/components/eftposPay/windcave/receiptAction.d.ts +0 -1
  126. package/es/components/eftposPay/windcave/windcave.d.ts +0 -1
  127. package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -0
  128. package/es/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
  129. package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  130. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  131. package/es/components/eventBooking/components/Provider/SelectProduct/index.d.ts +4 -0
  132. package/es/components/eventBooking/components/Provider/SelectProduct/index.js +77 -0
  133. package/es/components/eventBooking/components/Provider/SelectProduct/index.less +131 -0
  134. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  135. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  136. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  137. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  138. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  139. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  140. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  141. package/es/components/eventBooking/index.d.ts +0 -1
  142. package/es/components/listComponent/index.js +5 -5
  143. package/es/components/login/index.d.ts +0 -1
  144. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
  145. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
  146. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  147. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  148. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
  149. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
  150. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  151. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  152. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  153. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  154. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  155. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
  156. package/es/components/productExtension/card/index.js +3 -3
  157. package/es/components/productExtension/fields/Actor/CutOffTime/index.js +1 -1
  158. package/es/components/productExtension/fields/Actor/index.d.ts +0 -1
  159. package/es/components/productExtension/fields/Forms/index.d.ts +0 -1
  160. package/es/components/productExtension/fields/Forms/index.js +12 -12
  161. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
  162. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  163. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.js +1 -1
  164. package/es/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  165. package/es/components/productExtension/fields/SelectProducts/server.js +2 -2
  166. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  167. package/es/components/productExtension/fields/SelectResourcesTable/server.js +2 -2
  168. package/es/components/productExtension/index.d.ts +0 -1
  169. package/es/components/productExtension/server.js +2 -2
  170. package/es/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  171. package/es/components/ruleSetting/ruleBorder/index.js +1 -1
  172. package/es/components/schedules/calendar/calendarItem.d.ts +0 -1
  173. package/es/components/schedules/calendar/index.d.ts +0 -1
  174. package/es/components/schedules/calendar/index.js +4 -4
  175. package/es/components/schedules/calendar/serve.js +2 -2
  176. package/es/components/schedules/components/CurrentDay/index.d.ts +0 -1
  177. package/es/components/schedules/components/CurrentDay/index.js +5 -5
  178. package/es/components/schedules/components/CurrentDay/serve.js +2 -2
  179. package/es/components/schedules/components/DropdownSort/index.js +1 -1
  180. package/es/components/schedules/components/ResourceList/index.js +1 -1
  181. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  182. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  183. package/es/components/schedules/components/ScheduleList/index.d.ts +0 -1
  184. package/es/components/schedules/components/Search/index.js +5 -5
  185. package/es/components/schedules/model.js +5 -5
  186. package/es/components/schedules/openHours/index.js +1 -1
  187. package/es/components/schedules/openHours/serve.js +2 -2
  188. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  189. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.js +1 -1
  190. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  191. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.js +5 -5
  192. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
  193. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
  194. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.js +4 -4
  195. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  196. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  197. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  198. package/es/components/schedules/products/ProductDetailDrawer/index.js +3 -3
  199. package/es/components/schedules/products/index.d.ts +0 -1
  200. package/es/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  201. package/es/components/schedules/products/list/index.d.ts +0 -1
  202. package/es/components/schedules/products/serve.js +2 -2
  203. package/es/components/schedules/products/utils.js +5 -5
  204. package/es/components/schedules/resources/detail/detailContent.js +2 -2
  205. package/es/components/schedules/resources/detail/index.js +10 -10
  206. package/es/components/schedules/resources/index.d.ts +0 -1
  207. package/es/components/schedules/resources/list/index.d.ts +0 -1
  208. package/es/components/schedules/resources/list/index.js +2 -2
  209. package/es/components/schedules/resources/relationProduct/index.d.ts +0 -1
  210. package/es/components/schedules/resources/relationProduct/index.js +1 -1
  211. package/es/components/schedules/resources/serve.js +2 -2
  212. package/es/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  213. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  214. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.js +9 -9
  215. package/es/components/schedules/schedules/index.d.ts +0 -1
  216. package/es/components/schedules/utils.js +4 -4
  217. package/es/components/selectModal/index.js +2 -2
  218. package/es/components/shoppingCart/components/Cart/Product.js +12 -2
  219. package/es/components/shoppingCart/components/Cart/index.d.ts +1 -0
  220. package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
  221. package/es/components/shoppingCart/index.d.ts +0 -1
  222. package/es/components/shoppingCart/status.js +3 -1
  223. package/es/components/shoppingCart/type.d.ts +2 -0
  224. package/es/components/taxSelect/index.d.ts +0 -1
  225. package/es/components/wallet/Detail/index.js +1 -1
  226. package/es/components/wallet/components/WalletCard.js +1 -1
  227. package/es/components/wallet/hooks/useWalletCard.d.ts +0 -1
  228. package/es/hooks/useComponents.js +1 -1
  229. package/es/index.d.ts +1 -0
  230. package/es/index.js +2 -1
  231. package/lib/businessModel/SalesModel/index.d.ts +0 -1
  232. package/lib/components/Sales/Event/index.js +5 -1
  233. package/lib/components/appointmentBooking/components/Cart/ContinueButton/index.js +56 -20
  234. package/lib/components/appointmentBooking/components/Cart/Item/Total.js +31 -24
  235. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -1
  236. package/lib/components/appointmentBooking/components/Cart/Item/index.js +28 -10
  237. package/lib/components/appointmentBooking/components/Cart/Item/index.less +15 -9
  238. package/lib/components/appointmentBooking/components/Cart/index.d.ts +1 -0
  239. package/lib/components/appointmentBooking/components/Cart/index.js +2 -2
  240. package/lib/components/appointmentBooking/components/ConfirmInformation/index.d.ts +4 -0
  241. package/lib/components/appointmentBooking/components/ConfirmInformation/index.js +42 -0
  242. package/lib/components/appointmentBooking/components/ConfirmInformation/index.less +24 -0
  243. package/lib/components/appointmentBooking/components/Content/index.js +31 -3
  244. package/lib/components/appointmentBooking/components/Date/index.d.ts +0 -1
  245. package/lib/components/appointmentBooking/components/Date/index.js +27 -8
  246. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +3 -0
  247. package/lib/components/appointmentBooking/components/Deposit/index.js +61 -0
  248. package/lib/components/appointmentBooking/components/Deposit/index.less +16 -0
  249. package/lib/components/appointmentBooking/components/Form/index.d.ts +3 -0
  250. package/lib/components/appointmentBooking/components/Form/index.js +108 -0
  251. package/lib/components/appointmentBooking/components/Form/index.less +3 -0
  252. package/lib/components/appointmentBooking/components/Header/index.d.ts +0 -1
  253. package/lib/components/appointmentBooking/components/Header/index.js +9 -6
  254. package/lib/components/appointmentBooking/components/Resource/index.js +2 -0
  255. package/lib/components/appointmentBooking/components/Services/index.js +48 -7
  256. package/lib/components/appointmentBooking/context.d.ts +3 -0
  257. package/lib/components/appointmentBooking/context.js +12 -4
  258. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +3 -0
  259. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.js +95 -0
  260. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.less +9 -0
  261. package/lib/components/appointmentBooking/deposit/index.d.ts +3 -0
  262. package/lib/components/appointmentBooking/deposit/index.js +109 -0
  263. package/lib/components/appointmentBooking/deposit/index.less +53 -0
  264. package/lib/components/appointmentBooking/hooks.d.ts +16 -0
  265. package/lib/components/appointmentBooking/hooks.js +49 -6
  266. package/lib/components/appointmentBooking/index.d.ts +0 -1
  267. package/lib/components/appointmentBooking/index.js +5 -0
  268. package/lib/components/appointmentBooking/locales.d.ts +36 -3
  269. package/lib/components/appointmentBooking/locales.js +36 -3
  270. package/lib/components/appointmentBooking/utils.d.ts +22 -0
  271. package/lib/components/appointmentBooking/utils.js +83 -25
  272. package/lib/components/booking/components/TabProduct/index.d.ts +0 -1
  273. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
  274. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  275. package/lib/components/booking/components/collapsibleList/utils.d.ts +0 -1
  276. package/lib/components/booking/components/emptyBooking/index.d.ts +0 -1
  277. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  278. package/lib/components/booking/components/footer/index.js +7 -5
  279. package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  280. package/lib/components/booking/deposit/index.d.ts +0 -1
  281. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  282. package/lib/components/booking/forms/single/index.d.ts +0 -1
  283. package/lib/components/booking/forms/table/index.d.ts +0 -1
  284. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
  285. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  286. package/lib/components/booking/info/date/index.d.ts +0 -1
  287. package/lib/components/booking/info/dateRange/index.d.ts +1 -0
  288. package/lib/components/booking/info/header/index.d.ts +0 -1
  289. package/lib/components/booking/info/notes/index.d.ts +0 -1
  290. package/lib/components/booking/info/service/actions/index.d.ts +0 -1
  291. package/lib/components/booking/info/service/addService/index.d.ts +1 -0
  292. package/lib/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  293. package/lib/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
  294. package/lib/components/booking/info/service/like/index.d.ts +0 -1
  295. package/lib/components/booking/info/service/serviceList/index.d.ts +0 -1
  296. package/lib/components/booking/info2/service/actions/index.d.ts +0 -1
  297. package/lib/components/booking/info2/service/addService/index.d.ts +0 -1
  298. package/lib/components/booking/info2/service/addTimeModal/index.js +4 -3
  299. package/lib/components/booking/info2/service/editService/Resources/MaxLengthSelect/index.js +2 -1
  300. package/lib/components/booking/info2/service/editService/index.js +4 -11
  301. package/lib/components/booking/info2/service/serviceList/index.d.ts +0 -1
  302. package/lib/components/booking/materiels/contacts/index.d.ts +0 -1
  303. package/lib/components/booking/materiels/duration/index.d.ts +0 -1
  304. package/lib/components/booking/materiels/holder/index.d.ts +0 -1
  305. package/lib/components/booking/materiels/startTime/index.d.ts +0 -1
  306. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  307. package/lib/components/booking/notes/NoteBlock/index.d.ts +0 -1
  308. package/lib/components/booking/notes/addNote/index.d.ts +0 -1
  309. package/lib/components/eftpos/deviceList/index.d.ts +0 -1
  310. package/lib/components/eftpos/form/index.d.ts +0 -1
  311. package/lib/components/eftpos/group/index.d.ts +0 -1
  312. package/lib/components/eftpos/hooks.d.ts +0 -1
  313. package/lib/components/eftpos/icon/apiKey.d.ts +0 -1
  314. package/lib/components/eftpos/icon/device.d.ts +0 -1
  315. package/lib/components/eftpos/index.d.ts +0 -1
  316. package/lib/components/eftpos/pos.d.ts +0 -1
  317. package/lib/components/eftpos/receipt/index.d.ts +0 -1
  318. package/lib/components/eftpos/surcharge/index.d.ts +0 -1
  319. package/lib/components/eftposPay/amount.d.ts +1 -2
  320. package/lib/components/eftposPay/app.d.ts +0 -1
  321. package/lib/components/eftposPay/component/alert/warn.d.ts +0 -1
  322. package/lib/components/eftposPay/component/fail/network.d.ts +0 -1
  323. package/lib/components/eftposPay/component/header/titlebar.d.ts +0 -1
  324. package/lib/components/eftposPay/component/manual/index.d.ts +0 -1
  325. package/lib/components/eftposPay/component/signature/index.d.ts +0 -1
  326. package/lib/components/eftposPay/component/step/index.d.ts +0 -1
  327. package/lib/components/eftposPay/component/step/step.d.ts +0 -1
  328. package/lib/components/eftposPay/device.d.ts +1 -2
  329. package/lib/components/eftposPay/hooks.d.ts +1 -1
  330. package/lib/components/eftposPay/store/index.d.ts +3 -3
  331. package/lib/components/eftposPay/tip.d.ts +0 -1
  332. package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
  333. package/lib/components/eftposPay/windcave/receiptAction.d.ts +0 -1
  334. package/lib/components/eftposPay/windcave/windcave.d.ts +0 -1
  335. package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -0
  336. package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
  337. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  338. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  339. package/lib/components/eventBooking/components/Provider/SelectProduct/index.d.ts +4 -0
  340. package/lib/components/eventBooking/components/Provider/SelectProduct/index.js +69 -0
  341. package/lib/components/eventBooking/components/Provider/SelectProduct/index.less +131 -0
  342. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  343. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  344. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  345. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  346. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  347. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  348. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  349. package/lib/components/eventBooking/index.d.ts +0 -1
  350. package/lib/components/login/index.d.ts +0 -1
  351. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
  352. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
  353. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  354. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  355. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
  356. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
  357. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  358. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  359. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  360. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  361. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  362. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
  363. package/lib/components/productExtension/fields/Actor/index.d.ts +0 -1
  364. package/lib/components/productExtension/fields/Forms/index.d.ts +0 -1
  365. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
  366. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  367. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  368. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  369. package/lib/components/productExtension/index.d.ts +0 -1
  370. package/lib/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  371. package/lib/components/schedules/calendar/calendarItem.d.ts +0 -1
  372. package/lib/components/schedules/calendar/index.d.ts +0 -1
  373. package/lib/components/schedules/components/CurrentDay/index.d.ts +0 -1
  374. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  375. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  376. package/lib/components/schedules/components/ScheduleList/index.d.ts +0 -1
  377. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  378. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  379. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
  380. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
  381. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  382. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  383. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  384. package/lib/components/schedules/products/index.d.ts +0 -1
  385. package/lib/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  386. package/lib/components/schedules/products/list/index.d.ts +0 -1
  387. package/lib/components/schedules/resources/index.d.ts +0 -1
  388. package/lib/components/schedules/resources/list/index.d.ts +0 -1
  389. package/lib/components/schedules/resources/relationProduct/index.d.ts +0 -1
  390. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  391. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  392. package/lib/components/schedules/schedules/index.d.ts +0 -1
  393. package/lib/components/schedules/utils.js +1 -1
  394. package/lib/components/shoppingCart/components/Cart/Product.js +8 -2
  395. package/lib/components/shoppingCart/components/Cart/index.d.ts +1 -0
  396. package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
  397. package/lib/components/shoppingCart/index.d.ts +0 -1
  398. package/lib/components/shoppingCart/status.js +3 -1
  399. package/lib/components/shoppingCart/type.d.ts +2 -0
  400. package/lib/components/taxSelect/index.d.ts +0 -1
  401. package/lib/components/wallet/Detail/index.js +1 -1
  402. package/lib/components/wallet/components/WalletCard.js +1 -1
  403. package/lib/components/wallet/hooks/useWalletCard.d.ts +0 -1
  404. package/lib/index.d.ts +1 -0
  405. package/lib/index.js +3 -0
  406. package/lowcode/appointment-deposit/meta.ts +58 -0
  407. package/package.json +2 -2
  408. package/es/components/ticketBooking/data.d.ts +0 -0
  409. package/es/components/ticketBooking/data.js +0 -82
  410. package/es/components/ticketBooking/index.d.ts +0 -3
  411. package/es/components/ticketBooking/index.js +0 -6
  412. package/es/components/workSpaceListDetail/index.d.ts +0 -4
  413. package/es/components/workSpaceListDetail/server.d.ts +0 -4
  414. package/lib/components/ticketBooking/data.d.ts +0 -0
  415. package/lib/components/ticketBooking/data.js +0 -0
  416. package/lib/components/ticketBooking/index.d.ts +0 -3
  417. package/lib/components/ticketBooking/index.js +0 -28
  418. package/lib/components/workSpaceListDetail/index.d.ts +0 -4
  419. package/lib/components/workSpaceListDetail/server.d.ts +0 -4
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Resource: (props: any) => JSX.Element;
3
2
  export default Resource;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Schedule: () => JSX.Element;
3
2
  export default Schedule;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare type Item = any;
4
3
  interface ProductItemProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const EventBooking: () => JSX.Element;
4
3
  export default EventBooking;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  export interface LoginProps {
4
3
  title: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ThreedsLoading: ({ title }: any) => JSX.Element;
4
3
  export default ThreedsLoading;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const StripePayment: () => JSX.Element;
3
2
  export default StripePayment;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const StripeSDK: ({ public_key, client_secret, children, lang, }: {
3
2
  public_key: string;
4
3
  client_secret?: string | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const StripeSDK: ({ public_key, client_secret, children, lang, }: {
3
2
  public_key: string;
4
3
  client_secret?: string | undefined;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const PageLoading: () => JSX.Element;
3
2
  export default PageLoading;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const PaymentRequestForm: () => JSX.Element | null;
3
2
  export default PaymentRequestForm;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.module.less';
3
2
  declare const StripePayment: () => JSX.Element;
4
3
  export default StripePayment;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const DateSectionCom: ({ value, onChange, showTime, className, style, useSpace, format, itemStyle, }: any) => JSX.Element;
3
2
  export default DateSectionCom;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const GenderField: (props: any) => JSX.Element;
3
2
  export default GenderField;
@@ -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 AddClientProps {
4
3
  onChange: (value: any) => void;
@@ -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
  declare const Actor: ({ name }: {
3
2
  name: string;
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface InfoProps {
3
2
  relation_id: any;
4
3
  action: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const ProductItem: ({ item, onClick, amountSymbol, style, className, }: any) => JSX.Element;
4
3
  export default ProductItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const ProductItemPreview: ({ item, onClick, onRemove, amountSymbol, style, className, }: any) => JSX.Element;
4
3
  export default ProductItemPreview;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface valueType {
4
3
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const SelectResourcesTable: ({ value, onChange }: any) => JSX.Element;
4
3
  export default SelectResourcesTable;
@@ -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,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CalendarDataItem } from "../type";
3
2
  declare type CalendarItemProps = {
4
3
  month: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const Calendar: () => JSX.Element;
4
3
  export default Calendar;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare type CurrentDayProps = {
4
3
  onClose: () => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ScheduleItem } from "../../type";
3
2
  import "./index.less";
4
3
  declare type ScheduleDetailListPropsType = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  import { ScheduleItem } from '../../../type';
4
3
  declare type Item = any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ButtonProps } from 'antd';
3
2
  import { ScheduleItem } from '../../type';
4
3
  import './index.less';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const MaxParticipantsModule: ({ form, value, onChange, useSchedule, isAutoChange, onData, }: {
4
3
  form: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const ResourcesModule: ({ product }: {
3
2
  product: any;
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const AddSchedules: ({ value, onChange, drawerContainer, isSelf }: any) => JSX.Element;
4
3
  export default AddSchedules;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare type Value = number[];
4
3
  declare const SchedulesModule: ({ value, onChange, drawerContainer, ruleFn, tabKey, previewItemChange, isSelf, isTitle, }: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const ProductDetail: ({ form, currentProduct, }: {
4
3
  form: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const ProductDetailByDate: () => JSX.Element;
4
3
  export default ProductDetailByDate;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const ProductDetailDrawer: () => JSX.Element;
4
3
  export default ProductDetailDrawer;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Products: () => JSX.Element;
4
3
  export default Products;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare type Item = any;
4
3
  interface ProductItemProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface ProductListProps {
4
3
  loading: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Resources: () => JSX.Element;
4
3
  export default Resources;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare type ResourcesListProps = {
4
3
  list: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const RelationProduct: ({ value, onChange, }: {
4
3
  value?: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ScheduleItem } from '../../type';
3
2
  import './index.less';
4
3
  declare type AllSchedulesPropsType = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { DrawerProps } from "antd";
3
2
  import { ScheduleItem } from "../../type";
4
3
  import "./index.less";
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const SchedulesConnect: () => JSX.Element;
3
2
  export default SchedulesConnect;
@@ -27,8 +27,8 @@ __export(utils_exports, {
27
27
  module.exports = __toCommonJS(utils_exports);
28
28
  var import_utils = require("@pisell/utils");
29
29
  var Request = class {
30
+ request = {};
30
31
  constructor() {
31
- this.request = {};
32
32
  }
33
33
  setRequest(val) {
34
34
  this.request = val;
@@ -47,7 +47,9 @@ var Product = (props) => {
47
47
  hideAddBtn,
48
48
  platform,
49
49
  isShowChangeResource,
50
- isShowDelete
50
+ isShowDelete,
51
+ isShowChangeHolder,
52
+ isShowHolder
51
53
  } = state;
52
54
  const clearCart = (0, import_useClearCart.default)(id);
53
55
  const handleChange = (item, type, other) => {
@@ -60,7 +62,9 @@ var Product = (props) => {
60
62
  isShowPackageNote,
61
63
  disabledEdit,
62
64
  isShowChangeResource,
63
- isShowDelete
65
+ isShowChangeHolder,
66
+ isShowDelete,
67
+ isShowHolder
64
68
  };
65
69
  }, [
66
70
  isShowNote,
@@ -81,6 +85,8 @@ var Product = (props) => {
81
85
  onLike: (e) => handleChange(e, "like", { like_status: e.like_status }),
82
86
  onCard: (e) => handleChange == null ? void 0 : handleChange(e, "view"),
83
87
  onChangeResource: (e) => handleChange(item, "change_resource", e),
88
+ onChangeHolder: (e) => handleChange(item, "change_holder", e),
89
+ onAddHolder: (e) => handleChange(item, "add_holder"),
84
90
  ...productParams
85
91
  }
86
92
  );
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Cart: () => JSX.Element;
3
4
  export default Cart;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Empty: (props: any) => JSX.Element;
4
3
  export default Empty;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { shoppingCartProps } from './type';
3
2
  declare const shoppingCart: ({ onCard, onChange, onAddProduct, onActiveKey, ...props }: shoppingCartProps) => JSX.Element;
4
3
  export default shoppingCart;
@@ -43,7 +43,9 @@ var productDefault = {
43
43
  products: [],
44
44
  isEdit: false,
45
45
  disabledEdit: false,
46
- isShowChangeResource: false
46
+ isShowChangeResource: false,
47
+ isShowChangeHolder: false,
48
+ isShowHolder: true
47
49
  };
48
50
  var defaultData = {
49
51
  isOpenGroup: true,
@@ -9,6 +9,8 @@ export interface productProps {
9
9
  disabledEdit?: boolean;
10
10
  isShowChangeResource?: boolean;
11
11
  isShowDelete?: boolean;
12
+ isShowChangeHolder?: boolean;
13
+ isShowHolder?: boolean;
12
14
  }
13
15
  export interface shoppingCartProps {
14
16
  isOpenGroup?: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SelectProps } from "antd";
3
2
  import "./index.less";
4
3
  interface TaxSelectProps {
@@ -179,7 +179,7 @@ var Detail = (0, import_react.forwardRef)((props, ref) => {
179
179
  const formatCurrencyAmount = (amount = "", isNegative = false) => {
180
180
  if (!amount) return "";
181
181
  const absAmount = amount.startsWith("-") ? amount.substring(1) : amount;
182
- return isNegative ? `-${!["point_card", "good_pass"].includes(tag) ? symbol : ""}${absAmount}` : `${!["point_card", "good_pass"].includes(tag) ? symbol : ""}${amount}`;
182
+ return isNegative ? `-${tag !== "point_card" ? symbol : ""}${absAmount}` : `${tag !== "point_card" ? symbol : ""}${amount}`;
183
183
  };
184
184
  const getDetail = async () => {
185
185
  const { apple_wallet_url: apple_wallet_url2 = "", google_wallet_url: google_wallet_url2 = "" } = await (0, import_serve.getDetailApi)({ id: detail.id || "" });
@@ -74,7 +74,7 @@ var WalletCard = ({
74
74
  showDisabledReason: isDisabled,
75
75
  disabledReason,
76
76
  propStyle: { marginBottom: 16 },
77
- showBalanceSymbol: !["point_card", "good_pass"].includes(tag),
77
+ showBalanceSymbol: tag !== "point_card",
78
78
  active: isActive,
79
79
  name: product_title,
80
80
  qrCode: code,
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IWalletListItemProps } from '../serve';
3
2
  /**
4
3
  * 钱包卡片Hook的参数
package/lib/index.d.ts CHANGED
@@ -40,3 +40,4 @@ export { default as EventBookingDetailModal } from './components/eventBooking/co
40
40
  export { default as EventProgressBar } from './components/eventBooking/components/progressBar';
41
41
  export { default as ShoppingCart } from './components/shoppingCart';
42
42
  export { default as AppointmentBooking } from './components/appointmentBooking';
43
+ export { default as AppointmentDeposit } from './components/appointmentBooking/deposit';
package/lib/index.js CHANGED
@@ -30,6 +30,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
30
30
  var src_exports = {};
31
31
  __export(src_exports, {
32
32
  AppointmentBooking: () => import_appointmentBooking.default,
33
+ AppointmentDeposit: () => import_deposit2.default,
33
34
  Booking: () => import_booking.default,
34
35
  BookingAddons: () => import_addons.default,
35
36
  BookingContacts: () => import_contacts.default,
@@ -116,11 +117,13 @@ var import_bookingDetailModal = __toESM(require("./components/eventBooking/compo
116
117
  var import_progressBar = __toESM(require("./components/eventBooking/components/progressBar"));
117
118
  var import_shoppingCart = __toESM(require("./components/shoppingCart"));
118
119
  var import_appointmentBooking = __toESM(require("./components/appointmentBooking"));
120
+ var import_deposit2 = __toESM(require("./components/appointmentBooking/deposit"));
119
121
  import_dayjs.default.extend(import_weekday.default);
120
122
  import_dayjs.default.extend(import_localeData.default);
121
123
  // Annotate the CommonJS export names for ESM import in node:
122
124
  0 && (module.exports = {
123
125
  AppointmentBooking,
126
+ AppointmentDeposit,
124
127
  Booking,
125
128
  BookingAddons,
126
129
  BookingContacts,
@@ -0,0 +1,58 @@
1
+
2
+ import { ComponentMetadata, Snippet } from '@alilc/lowcode-types';
3
+
4
+ const BookingDepositMeta: ComponentMetadata = {
5
+ "componentName": "AppointmentDeposit",
6
+ "title": "AppointmentDeposit",
7
+ "docUrl": "",
8
+ "screenshot": "",
9
+ "devMode": "proCode",
10
+ "npm": {
11
+ "package": "@pisell/private-materials",
12
+ "version": "1.0.4",
13
+ "exportName": "AppointmentDeposit",
14
+ "main": "src/index.ts",
15
+ "destructuring": true,
16
+ "subName": ""
17
+ },
18
+ "configure": {
19
+ props: [
20
+ {
21
+ name: 'title',
22
+ title: { label: '标题文案', tip: 'title | 标题文案' },
23
+ setter: 'StringSetter',
24
+ defaultValue: 'Deposit',
25
+ },
26
+ {
27
+ name: 'isAgreePolicy',
28
+ title: { label: '同意协议', tip: 'isAgreePolicy | 同意协议' },
29
+ setter: 'BoolSetter',
30
+ defaultValue: true,
31
+ },
32
+ {
33
+ name: 'isShowTitle',
34
+ title: { label: '标题显隐', tip: 'isShowTitle | 标题显隐' },
35
+ setter: 'BoolSetter',
36
+ defaultValue: true,
37
+ },
38
+ ],
39
+ "supports": {},
40
+ "component": {}
41
+ }
42
+ };
43
+ const snippets: Snippet[] = [
44
+ {
45
+ "title": "AppointmentDeposit",
46
+ "screenshot": "",
47
+ "schema": {
48
+ "componentName": "AppointmentDeposit",
49
+ "props": {
50
+ }
51
+ }
52
+ }
53
+ ];
54
+
55
+ export default {
56
+ ...BookingDepositMeta,
57
+ snippets
58
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/private-materials",
3
- "version": "3.2.32",
3
+ "version": "3.2.34",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -60,7 +60,7 @@
60
60
  "rc-virtual-list": "^3.11.3",
61
61
  "decimal.js": "^10.4.3",
62
62
  "@pisell/utils": "1.0.42",
63
- "@pisell/materials": "3.2.26",
63
+ "@pisell/materials": "3.2.29",
64
64
  "@pisell/icon": "0.0.11",
65
65
  "@pisell/date-picker": "3.0.2"
66
66
  },
File without changes
@@ -1,82 +0,0 @@
1
- // const mockProduct = {
2
- // order_id: 0,
3
- // shop_id: 0,
4
- // product_id: 0,
5
- // product_variant_id: 0,
6
- // product_unique_string: '0:0:',
7
- // product_title: '',
8
- // product_cover: '',
9
- // product_sku: {
10
- // code: 'HNYmhKjqKKCJ',
11
- // name: '',
12
- // barcode: '',
13
- // sku_ids: '',
14
- // variant: [],
15
- // variant_id: '0',
16
- // generate_voucher: [],
17
- // },
18
- // product_bundle: [],
19
- // gift_card: 0,
20
- // selling_price: '0',
21
- // original_price: '0',
22
- // cost_price: '0.00',
23
- // product_quantity: 1,
24
- // payment_price: '0',
25
- // deposit_price: '0.00',
26
- // tax_fee: '0',
27
- // is_charge_tax: 1,
28
- // refund_quantity: 0,
29
- // refund_status: '0',
30
- // shipping_status: 'unfulfilled',
31
- // payment_status: 'payment_processing',
32
- // commission: 0,
33
- // commission_tax: 0,
34
- // rebate_type: '',
35
- // rebate_value: '0.00',
36
- // commission_percent: '0.0000',
37
- // channel: '',
38
- // channel_id: 0,
39
- // item_relation_id: 0,
40
- // schedule_event_id: 0,
41
- // note: '',
42
- // extension_type: 'product_appointment',
43
- // before_product_quantity: 1,
44
- // remove_product_quantity: 0,
45
- // deleted_at: null,
46
- // created_at: '2024-02-28 15:49:21',
47
- // updated_at: '2024-02-28 15:49:39',
48
- // order_detail_id: 0,
49
- // product_option_string: '',
50
- // product_subtitle: '',
51
- // source_product_price: '0',
52
- // discount_amount: 0,
53
- // product_discount_reason: '',
54
- // discount_type: '',
55
- // discountway: '',
56
- // discount_per: '',
57
- // single_discount: null,
58
- // };
59
-
60
- // const payStatusMap = {
61
- // authorized: this.i18n('i18n-lwug1s79'),
62
- // paid: this.i18n('i18n-m1oe3fyx'),
63
- // partially_paid: this.i18n('i18n-m1oe3g3w'),
64
- // partially_refunded: this.i18n('i18n-m1oe3g8j'),
65
- // payment_pending: this.i18n('i18n-m1oe3gd6'),
66
- // refunded: this.i18n('i18n-m1oe474a'),
67
- // unpaid: this.i18n('i18n-m1oe47cm'),
68
- // voided: this.i18n('i18n-m1oe4k3o'),
69
- // payment_processing: this.i18n('i18n-m1oe4k9a'),
70
- // };
71
-
72
- // const payStatusColorMap = {
73
- // authorized: 'var(--Gray-200, #EAECF0)',
74
- // paid: 'var(--Success-100, #DCFAE6)',
75
- // partially_paid: 'var(--Moss-100, #E6F4D7)',
76
- // partially_refunded: 'var(--Pink-100, #FCE7F6)',
77
- // payment_pending: 'var(--Warning-100, #FEF0C7)',
78
- // refunded: 'var(--Error-100, #FEE4E2)',
79
- // unpaid: 'var(--Blue-100, #D1E9FF)',
80
- // voided: 'var(--Gray-200, #EAECF0)',
81
- // payment_processing: 'var(--Warning-100, #FEF0C7)',
82
- // };
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare const TicketBooking: () => JSX.Element;
3
- export default TicketBooking;
@@ -1,6 +0,0 @@
1
- var TicketBooking = function TicketBooking() {
2
- return /*#__PURE__*/React.createElement("div", {
3
- className: ""
4
- });
5
- };
6
- export default TicketBooking;
@@ -1,4 +0,0 @@
1
- import { FC } from 'react';
2
- import './index.less';
3
- declare const WorkSpaceListDetail: FC;
4
- export default WorkSpaceListDetail;
@@ -1,4 +0,0 @@
1
- export declare const getStaffList: () => Promise<any>;
2
- export declare const getProductChannel: () => Promise<any>;
3
- export declare const getOrderTypes: () => Promise<any>;
4
- export declare const getPaymentTypes: () => Promise<any>;
File without changes
File without changes
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare const TicketBooking: () => JSX.Element;
3
- export default TicketBooking;