@pisell/private-materials 6.4.49 → 6.4.51

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 (377) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +2 -2
  6. package/build/lowcode/preview.js +146 -146
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +3 -3
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +5 -5
  11. package/es/components/appointmentBooking/components/Services/index.js +36 -18
  12. package/es/components/appointmentBooking/hooks.js +6 -0
  13. package/es/components/booking/addons/model.d.ts +1 -10
  14. package/es/components/booking/components/TabProduct/index.d.ts +0 -1
  15. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  16. package/es/components/booking/components/collapsibleList/utils.d.ts +0 -1
  17. package/es/components/booking/components/emptyBooking/index.d.ts +0 -1
  18. package/es/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  19. package/es/components/booking/components/footer/index.js +24 -5
  20. package/es/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  21. package/es/components/booking/components/reloadResourceModal/index.d.ts +0 -1
  22. package/es/components/booking/deposit/index.d.ts +0 -1
  23. package/es/components/booking/editBookingModal/index.js +8 -2
  24. package/es/components/booking/forms/model.d.ts +1 -10
  25. package/es/components/booking/forms/single/index.d.ts +0 -1
  26. package/es/components/booking/forms/table/index.d.ts +0 -1
  27. package/es/components/booking/info/addServiceVariant/index.d.ts +0 -1
  28. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
  29. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  30. package/es/components/booking/info/date/index.d.ts +0 -1
  31. package/es/components/booking/info/header/index.d.ts +0 -1
  32. package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  33. package/es/components/booking/info/index.d.ts +0 -1
  34. package/es/components/booking/info/model.d.ts +1 -10
  35. package/es/components/booking/info/service/actions/index.d.ts +0 -1
  36. package/es/components/booking/info/service/addService/index.d.ts +0 -1
  37. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  38. package/es/components/booking/info/service/addTimeModal/index.d.ts +0 -1
  39. package/es/components/booking/info/service/like/index.d.ts +0 -1
  40. package/es/components/booking/info/service/serviceList/index.d.ts +0 -1
  41. package/es/components/booking/info2/service/actions/index.d.ts +0 -1
  42. package/es/components/booking/info2/service/addService/index.d.ts +0 -1
  43. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  44. package/es/components/booking/info2/service/serviceList/index.d.ts +0 -1
  45. package/es/components/booking/locales.d.ts +6 -0
  46. package/es/components/booking/locales.js +12 -0
  47. package/es/components/booking/materiels/contacts/index.d.ts +0 -1
  48. package/es/components/booking/materiels/duration/index.d.ts +0 -1
  49. package/es/components/booking/materiels/holder/index.d.ts +0 -1
  50. package/es/components/booking/materiels/startTime/index.d.ts +0 -1
  51. package/es/components/booking/model.d.ts +1 -9
  52. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  53. package/es/components/booking/notes/model.d.ts +1 -10
  54. package/es/components/booking/payments/model.d.ts +1 -10
  55. package/es/components/booking/utils.d.ts +2 -2
  56. package/es/components/checkout/PaymentModal.js +145 -101
  57. package/es/components/checkout/components/AmountSummary/index.js +41 -6
  58. package/es/components/checkout/components/CashPaymentModule/index.d.ts +3 -1
  59. package/es/components/checkout/components/CashPaymentModule/index.js +14 -10
  60. package/es/components/checkout/components/PaymentDetailModal/index.js +72 -20
  61. package/es/components/checkout/components/PaymentDetailModal/index.less +23 -2
  62. package/es/components/checkout/hooks/useWalletPass.d.ts +1 -1
  63. package/es/components/checkout/hooks/useWalletPass.js +1 -0
  64. package/es/components/checkout/locales.d.ts +3 -0
  65. package/es/components/checkout/locales.js +3 -0
  66. package/es/components/eftpos/deviceList/index.d.ts +0 -1
  67. package/es/components/eftpos/form/index.d.ts +0 -1
  68. package/es/components/eftpos/group/index.d.ts +0 -1
  69. package/es/components/eftpos/hooks.d.ts +0 -1
  70. package/es/components/eftpos/icon/apiKey.d.ts +0 -1
  71. package/es/components/eftpos/icon/device.d.ts +0 -1
  72. package/es/components/eftpos/index.d.ts +0 -1
  73. package/es/components/eftpos/pos.d.ts +0 -1
  74. package/es/components/eftpos/receipt/index.d.ts +0 -1
  75. package/es/components/eftpos/surcharge/index.d.ts +0 -1
  76. package/es/components/eftposPay/component/alert/warn.d.ts +0 -1
  77. package/es/components/eftposPay/component/fail/network.d.ts +0 -1
  78. package/es/components/eftposPay/component/fail/unknow.d.ts +0 -1
  79. package/es/components/eftposPay/component/header/titlebar.d.ts +0 -1
  80. package/es/components/eftposPay/component/manual/index.d.ts +0 -1
  81. package/es/components/eftposPay/component/signature/index.d.ts +0 -1
  82. package/es/components/eftposPay/component/step/index.d.ts +0 -1
  83. package/es/components/eftposPay/component/step/step.d.ts +0 -1
  84. package/es/components/eftposPay/hooks.d.ts +2 -2
  85. package/es/components/eftposPay/linkly/hooks/normal.js +3 -3
  86. package/es/components/eftposPay/linkly/hooks/useTimeQuery.js +25 -4
  87. package/es/components/eftposPay/payo/config.d.ts +0 -1
  88. package/es/components/eftposPay/serve.js +1 -1
  89. package/es/components/eftposPay/store/index.d.ts +4 -4
  90. package/es/components/eftposPay/tip.d.ts +0 -1
  91. package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
  92. package/es/components/eftposPay/windcave/receiptAction.d.ts +0 -1
  93. package/es/components/eftposPay/windcave/windcave.d.ts +0 -1
  94. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  95. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  96. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  97. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  98. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  99. package/es/components/index.d.ts +3 -1
  100. package/es/components/index.js +3 -1
  101. package/es/components/login/index.d.ts +0 -1
  102. package/es/components/pay/toB/components/Content/Header.d.ts +0 -1
  103. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
  104. package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +6 -3
  105. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
  106. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  107. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  108. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
  109. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
  110. package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +2 -0
  111. package/es/components/pay/toC/PaymentMethods/WalletPass/index.js +112 -24
  112. package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +38 -2
  113. package/es/components/pay/toC/PaymentMethods/WalletPass/serve.js +78 -0
  114. package/es/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +6 -0
  115. package/es/components/pay/toC/PaymentMethods/WalletPass/utils.js +9 -0
  116. package/es/components/pay/toC/model.d.ts +1 -9
  117. package/es/components/pay/toC/utils.js +1 -1
  118. package/es/components/pinModal/hooks.d.ts +7 -0
  119. package/es/components/pinModal/hooks.js +65 -0
  120. package/es/components/pinModal/index.d.ts +4 -0
  121. package/es/components/pinModal/index.js +98 -0
  122. package/es/components/pinModal/index.less +44 -0
  123. package/es/components/pinModal/locales.d.ts +27 -0
  124. package/es/components/pinModal/locales.js +26 -0
  125. package/es/components/pinModal/serve.d.ts +6 -0
  126. package/es/components/pinModal/serve.js +11 -0
  127. package/es/components/pinModal/types.d.ts +0 -0
  128. package/es/components/pinModal/types.js +0 -0
  129. package/es/components/pinVerifyModal/hooks.d.ts +7 -0
  130. package/es/components/pinVerifyModal/hooks.js +80 -0
  131. package/es/components/pinVerifyModal/index.d.ts +5 -0
  132. package/es/components/pinVerifyModal/index.js +218 -0
  133. package/es/components/pinVerifyModal/index.less +92 -0
  134. package/es/components/pinVerifyModal/locales.d.ts +24 -0
  135. package/es/components/pinVerifyModal/locales.js +23 -0
  136. package/es/components/pinVerifyModal/types.d.ts +33 -0
  137. package/es/components/pinVerifyModal/types.js +1 -0
  138. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  139. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  140. package/es/components/productExtension/fields/Actor/index.d.ts +0 -1
  141. package/es/components/productExtension/fields/Forms/index.d.ts +0 -1
  142. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  143. package/es/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  144. package/es/components/schedules/calendar/calendarItem.d.ts +0 -1
  145. package/es/components/schedules/calendar/index.d.ts +0 -1
  146. package/es/components/schedules/components/CurrentDay/index.d.ts +0 -1
  147. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  148. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  149. package/es/components/schedules/components/ScheduleList/index.d.ts +0 -1
  150. package/es/components/schedules/model.d.ts +1 -9
  151. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  152. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  153. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
  154. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
  155. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  156. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  157. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  158. package/es/components/schedules/products/index.d.ts +0 -1
  159. package/es/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  160. package/es/components/schedules/products/list/index.d.ts +0 -1
  161. package/es/components/schedules/resources/index.d.ts +0 -1
  162. package/es/components/schedules/resources/list/index.d.ts +0 -1
  163. package/es/components/schedules/resources/relationProduct/index.d.ts +0 -1
  164. package/es/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  165. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  166. package/es/components/schedules/schedules/index.d.ts +0 -1
  167. package/es/components/taxSelect/index.d.ts +0 -1
  168. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
  169. package/es/components/ticketBooking/components/ticketBooking/index.js +56 -10
  170. package/es/components/ticketBooking/components/timeBar/index.js +2 -1
  171. package/es/components/ticketBooking/utils/index.d.ts +1 -1
  172. package/es/components/wallet/Detail/model.d.ts +1 -13
  173. package/es/components/wallet/DiscountCard/model.d.ts +1 -14
  174. package/es/components/wallet/PointCard/model.d.ts +1 -13
  175. package/es/components/wallet/RechargeableCard/model.d.ts +1 -29
  176. package/es/components/wallet/Voucher/model.d.ts +1 -13
  177. package/es/components/wallet/model.d.ts +1 -9
  178. package/es/components/walletList/index.js +20 -2
  179. package/es/hooks/usePaymentLogger.d.ts +0 -1
  180. package/es/index.d.ts +2 -0
  181. package/es/index.js +3 -1
  182. package/es/plus/clientName/index.d.ts +0 -1
  183. package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +0 -1
  184. package/es/plus/clinetSearch/Add/GenderField/index.d.ts +0 -1
  185. package/es/plus/saasCreateOrganization/components/Header.d.ts +0 -1
  186. package/es/plus/saasCreateOrganization/index.d.ts +0 -1
  187. package/es/plus/saasRegister/components/EntryEmail.d.ts +0 -1
  188. package/es/plus/saasRegister/components/EntryInfo.d.ts +0 -1
  189. package/es/plus/saasRegister/components/GoLogin.d.ts +0 -1
  190. package/es/plus/saasRegister/components/Header.d.ts +0 -1
  191. package/es/plus/saasRegister/components/VerifyError.d.ts +0 -1
  192. package/es/plus/saasRegister/components/VerifyingLink.d.ts +0 -1
  193. package/lib/components/appointmentBooking/components/Services/index.js +13 -3
  194. package/lib/components/appointmentBooking/hooks.js +6 -0
  195. package/lib/components/booking/addons/model.d.ts +1 -10
  196. package/lib/components/booking/components/TabProduct/index.d.ts +0 -1
  197. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  198. package/lib/components/booking/components/collapsibleList/utils.d.ts +0 -1
  199. package/lib/components/booking/components/emptyBooking/index.d.ts +0 -1
  200. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  201. package/lib/components/booking/components/footer/index.js +21 -3
  202. package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  203. package/lib/components/booking/components/reloadResourceModal/index.d.ts +0 -1
  204. package/lib/components/booking/deposit/index.d.ts +0 -1
  205. package/lib/components/booking/editBookingModal/index.js +6 -1
  206. package/lib/components/booking/forms/model.d.ts +1 -10
  207. package/lib/components/booking/forms/single/index.d.ts +0 -1
  208. package/lib/components/booking/forms/table/index.d.ts +0 -1
  209. package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -1
  210. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
  211. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  212. package/lib/components/booking/info/date/index.d.ts +0 -1
  213. package/lib/components/booking/info/header/index.d.ts +0 -1
  214. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  215. package/lib/components/booking/info/index.d.ts +0 -1
  216. package/lib/components/booking/info/model.d.ts +1 -10
  217. package/lib/components/booking/info/service/actions/index.d.ts +0 -1
  218. package/lib/components/booking/info/service/addService/index.d.ts +0 -1
  219. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  220. package/lib/components/booking/info/service/addTimeModal/index.d.ts +0 -1
  221. package/lib/components/booking/info/service/like/index.d.ts +0 -1
  222. package/lib/components/booking/info/service/serviceList/index.d.ts +0 -1
  223. package/lib/components/booking/info2/service/actions/index.d.ts +0 -1
  224. package/lib/components/booking/info2/service/addService/index.d.ts +0 -1
  225. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  226. package/lib/components/booking/info2/service/serviceList/index.d.ts +0 -1
  227. package/lib/components/booking/locales.d.ts +6 -0
  228. package/lib/components/booking/locales.js +6 -0
  229. package/lib/components/booking/materiels/contacts/index.d.ts +0 -1
  230. package/lib/components/booking/materiels/duration/index.d.ts +0 -1
  231. package/lib/components/booking/materiels/holder/index.d.ts +0 -1
  232. package/lib/components/booking/materiels/startTime/index.d.ts +0 -1
  233. package/lib/components/booking/model.d.ts +1 -9
  234. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  235. package/lib/components/booking/notes/model.d.ts +1 -10
  236. package/lib/components/booking/payments/model.d.ts +1 -10
  237. package/lib/components/booking/utils.d.ts +2 -2
  238. package/lib/components/checkout/PaymentModal.js +38 -10
  239. package/lib/components/checkout/components/AmountSummary/index.js +33 -5
  240. package/lib/components/checkout/components/CashPaymentModule/index.d.ts +3 -1
  241. package/lib/components/checkout/components/CashPaymentModule/index.js +6 -3
  242. package/lib/components/checkout/components/PaymentDetailModal/index.js +49 -11
  243. package/lib/components/checkout/components/PaymentDetailModal/index.less +23 -2
  244. package/lib/components/checkout/hooks/useWalletPass.d.ts +1 -1
  245. package/lib/components/checkout/hooks/useWalletPass.js +1 -0
  246. package/lib/components/checkout/locales.d.ts +3 -0
  247. package/lib/components/checkout/locales.js +3 -0
  248. package/lib/components/eftpos/deviceList/index.d.ts +0 -1
  249. package/lib/components/eftpos/form/index.d.ts +0 -1
  250. package/lib/components/eftpos/group/index.d.ts +0 -1
  251. package/lib/components/eftpos/hooks.d.ts +0 -1
  252. package/lib/components/eftpos/icon/apiKey.d.ts +0 -1
  253. package/lib/components/eftpos/icon/device.d.ts +0 -1
  254. package/lib/components/eftpos/index.d.ts +0 -1
  255. package/lib/components/eftpos/pos.d.ts +0 -1
  256. package/lib/components/eftpos/receipt/index.d.ts +0 -1
  257. package/lib/components/eftpos/surcharge/index.d.ts +0 -1
  258. package/lib/components/eftposPay/component/alert/warn.d.ts +0 -1
  259. package/lib/components/eftposPay/component/fail/network.d.ts +0 -1
  260. package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -1
  261. package/lib/components/eftposPay/component/header/titlebar.d.ts +0 -1
  262. package/lib/components/eftposPay/component/manual/index.d.ts +0 -1
  263. package/lib/components/eftposPay/component/signature/index.d.ts +0 -1
  264. package/lib/components/eftposPay/component/step/index.d.ts +0 -1
  265. package/lib/components/eftposPay/component/step/step.d.ts +0 -1
  266. package/lib/components/eftposPay/hooks.d.ts +2 -2
  267. package/lib/components/eftposPay/linkly/hooks/normal.js +3 -3
  268. package/lib/components/eftposPay/linkly/hooks/useTimeQuery.js +16 -4
  269. package/lib/components/eftposPay/payo/config.d.ts +0 -1
  270. package/lib/components/eftposPay/serve.js +1 -1
  271. package/lib/components/eftposPay/store/index.d.ts +4 -4
  272. package/lib/components/eftposPay/tip.d.ts +0 -1
  273. package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
  274. package/lib/components/eftposPay/windcave/receiptAction.d.ts +0 -1
  275. package/lib/components/eftposPay/windcave/windcave.d.ts +0 -1
  276. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  277. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  278. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  279. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  280. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  281. package/lib/components/index.d.ts +3 -1
  282. package/lib/components/index.js +6 -0
  283. package/lib/components/login/index.d.ts +0 -1
  284. package/lib/components/pay/toB/components/Content/Header.d.ts +0 -1
  285. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
  286. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +2 -0
  287. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
  288. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  289. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  290. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
  291. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
  292. package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +2 -0
  293. package/lib/components/pay/toC/PaymentMethods/WalletPass/index.js +84 -36
  294. package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +38 -2
  295. package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.js +18 -0
  296. package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +6 -0
  297. package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.js +7 -2
  298. package/lib/components/pay/toC/model.d.ts +1 -9
  299. package/lib/components/pay/toC/utils.js +1 -1
  300. package/lib/components/pinModal/hooks.d.ts +7 -0
  301. package/lib/components/pinModal/hooks.js +85 -0
  302. package/lib/components/pinModal/index.d.ts +4 -0
  303. package/lib/components/pinModal/index.js +88 -0
  304. package/lib/components/pinModal/index.less +44 -0
  305. package/lib/components/pinModal/locales.d.ts +27 -0
  306. package/lib/components/pinModal/locales.js +50 -0
  307. package/lib/components/pinModal/serve.d.ts +6 -0
  308. package/lib/components/pinModal/serve.js +37 -0
  309. package/lib/components/pinModal/types.d.ts +0 -0
  310. package/lib/components/pinModal/types.js +0 -0
  311. package/lib/components/pinVerifyModal/hooks.d.ts +7 -0
  312. package/lib/components/pinVerifyModal/hooks.js +93 -0
  313. package/lib/components/pinVerifyModal/index.d.ts +5 -0
  314. package/lib/components/pinVerifyModal/index.js +230 -0
  315. package/lib/components/pinVerifyModal/index.less +92 -0
  316. package/lib/components/pinVerifyModal/locales.d.ts +24 -0
  317. package/lib/components/pinVerifyModal/locales.js +47 -0
  318. package/lib/components/pinVerifyModal/types.d.ts +33 -0
  319. package/lib/components/pinVerifyModal/types.js +17 -0
  320. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  321. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  322. package/lib/components/productExtension/fields/Actor/index.d.ts +0 -1
  323. package/lib/components/productExtension/fields/Forms/index.d.ts +0 -1
  324. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  325. package/lib/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  326. package/lib/components/schedules/calendar/calendarItem.d.ts +0 -1
  327. package/lib/components/schedules/calendar/index.d.ts +0 -1
  328. package/lib/components/schedules/components/CurrentDay/index.d.ts +0 -1
  329. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  330. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  331. package/lib/components/schedules/components/ScheduleList/index.d.ts +0 -1
  332. package/lib/components/schedules/model.d.ts +1 -9
  333. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  334. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  335. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
  336. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
  337. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  338. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  339. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  340. package/lib/components/schedules/products/index.d.ts +0 -1
  341. package/lib/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  342. package/lib/components/schedules/products/list/index.d.ts +0 -1
  343. package/lib/components/schedules/resources/index.d.ts +0 -1
  344. package/lib/components/schedules/resources/list/index.d.ts +0 -1
  345. package/lib/components/schedules/resources/relationProduct/index.d.ts +0 -1
  346. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  347. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  348. package/lib/components/schedules/schedules/index.d.ts +0 -1
  349. package/lib/components/taxSelect/index.d.ts +0 -1
  350. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
  351. package/lib/components/ticketBooking/components/ticketBooking/index.js +52 -5
  352. package/lib/components/ticketBooking/components/timeBar/index.js +2 -1
  353. package/lib/components/ticketBooking/utils/index.d.ts +1 -1
  354. package/lib/components/wallet/Detail/model.d.ts +1 -13
  355. package/lib/components/wallet/DiscountCard/model.d.ts +1 -14
  356. package/lib/components/wallet/PointCard/model.d.ts +1 -13
  357. package/lib/components/wallet/RechargeableCard/model.d.ts +1 -29
  358. package/lib/components/wallet/Voucher/model.d.ts +1 -13
  359. package/lib/components/wallet/model.d.ts +1 -9
  360. package/lib/components/walletList/index.js +19 -2
  361. package/lib/hooks/usePaymentLogger.d.ts +0 -1
  362. package/lib/index.d.ts +2 -0
  363. package/lib/index.js +6 -0
  364. package/lib/plus/clientName/index.d.ts +0 -1
  365. package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +0 -1
  366. package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +0 -1
  367. package/lib/plus/saasCreateOrganization/components/Header.d.ts +0 -1
  368. package/lib/plus/saasCreateOrganization/index.d.ts +0 -1
  369. package/lib/plus/saasRegister/components/EntryEmail.d.ts +0 -1
  370. package/lib/plus/saasRegister/components/EntryInfo.d.ts +0 -1
  371. package/lib/plus/saasRegister/components/GoLogin.d.ts +0 -1
  372. package/lib/plus/saasRegister/components/Header.d.ts +0 -1
  373. package/lib/plus/saasRegister/components/VerifyError.d.ts +0 -1
  374. package/lib/plus/saasRegister/components/VerifyingLink.d.ts +0 -1
  375. package/lowcode/pin-modal/meta.ts +37 -0
  376. package/lowcode/pin-verify-modal/meta.ts +80 -0
  377. package/package.json +12 -12
package/es/index.js CHANGED
@@ -62,4 +62,6 @@ export { default as ProPriceRadio } from "./pro/pisellPriceRadio";
62
62
  export { default as ProSkuDetailModal } from "./pro/skuDetailModal";
63
63
  export { default as SaasLogin } from "./plus/saasLogin";
64
64
  export { default as SaasRegister } from "./plus/saasRegister";
65
- export { default as SaasCreateOrganization } from "./plus/saasCreateOrganization";
65
+ export { default as SaasCreateOrganization } from "./plus/saasCreateOrganization";
66
+ export { default as PinModal } from "./components/pinModal";
67
+ export { default as PinVerifyModal } from "./components/pinVerifyModal";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  import { IClientNameProps } from './type';
4
3
  declare const ClientName: ({ className, dataSource, style }: IClientNameProps) => JSX.Element | null;
@@ -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,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SCOProps } from '../types';
3
2
  import '../index.less';
4
3
  export declare const Header: (props: SCOProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SCOProps } from './types';
3
2
  import './index.less';
4
3
  declare const SaasCreateOrganization: (props: SCOProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FormInstance } from 'antd';
3
2
  import { SRProps } from '../types';
4
3
  import '../index.less';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FormInstance } from 'antd';
3
2
  import { SRProps } from '../types';
4
3
  import '../index.less';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SRProps } from '../types';
3
2
  import '../index.less';
4
3
  declare const GoLogin: (props: SRProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SRProps } from '../types';
3
2
  import '../index.less';
4
3
  export declare const Header: (props: SRProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SRStepStatus } from '../types';
3
2
  import '../index.less';
4
3
  declare const VerifyError: (props: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import '../index.less';
3
2
  declare const VerifyingEmailLink: (props: {
4
3
  onVerifyLink: () => Promise<void>;
@@ -95,20 +95,27 @@ var Services = (0, import_react.forwardRef)((props, ref) => {
95
95
  delete product.option;
96
96
  if (isRetailTemplate) {
97
97
  if (data == null ? void 0 : data.isCancel) return;
98
- appointmentBooking.storeProduct(product);
98
+ const res = appointmentBooking.storeProduct(product);
99
+ if (!res.success && res.errorCode === "not_enough_stock") {
100
+ return (0, import_utils2.Toast)(import_utils.locales.getText("pisell2.appointment.unuse.stock"));
101
+ }
99
102
  return;
100
103
  }
101
104
  const session = data == null ? void 0 : data.session;
102
105
  if (session) {
103
106
  const startDate = (0, import_dayjs.default)(session == null ? void 0 : session.start_at).format("YYYY-MM-DD");
104
107
  const endDate = (0, import_dayjs.default)(session == null ? void 0 : session.end_at).format("YYYY-MM-DD");
105
- appointmentBooking.addProductToCart({
108
+ const res = appointmentBooking.addProductToCart({
106
109
  product: { ...product },
107
110
  date: {
108
111
  startTime: `${startDate} ${session == null ? void 0 : session.start_time}`,
109
112
  endTime: `${endDate} ${session == null ? void 0 : session.end_time}`
110
113
  }
111
114
  });
115
+ if (!res.success && res.errorCode === "not_enough_stock") {
116
+ return (0, import_utils2.Toast)(import_utils.locales.getText("pisell2.appointment.unuse.stock"));
117
+ }
118
+ appointmentBooking.closeProductDetail();
112
119
  await appointmentBooking.getAvailableDate({
113
120
  startDate,
114
121
  endDate
@@ -121,7 +128,10 @@ var Services = (0, import_react.forwardRef)((props, ref) => {
121
128
  import_utils.locales.getText("pisell2.appointment.no.available.service")
122
129
  );
123
130
  }
124
- appointmentBooking.storeProduct(product);
131
+ const res = appointmentBooking.storeProduct(product);
132
+ if (!res.success && res.errorCode === "not_enough_stock") {
133
+ return (0, import_utils2.Toast)(import_utils.locales.getText("pisell2.appointment.unuse.stock"));
134
+ }
125
135
  if (type === "duration") {
126
136
  await appointmentBooking.getAvailableDate();
127
137
  }
@@ -189,6 +189,12 @@ var useAppointmentBookingStep = () => {
189
189
  if (!result) {
190
190
  return (0, import_utils2.Toast)(import_utils.locales.getText("pisell2.appointment.unuse.date"));
191
191
  }
192
+ const capacityResult = appointmentBooking.checkMaxDurationCapacity();
193
+ if (!capacityResult.success) {
194
+ const getMessage = import_utils.locales.getText("pisell2.appointment.unuse.capacity");
195
+ const message = typeof getMessage === "function" ? getMessage(capacityResult.minAvailableCount) : getMessage;
196
+ return (0, import_utils2.Toast)(message);
197
+ }
192
198
  }
193
199
  if (!isRetailTemplate && (currentKey == null ? void 0 : currentKey.startsWith("select-resource"))) {
194
200
  const { hasError, updatedCartList } = (0, import_utils2.checkAndMarkCartRenderError)(currentSelectedResources, appointmentBooking, utils);
@@ -1,10 +1 @@
1
- /// <reference types="react" />
2
- import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
- state: FormState;
5
- } & {
6
- dispatch: (params: {
7
- type: string;
8
- payload: any;
9
- }) => void;
10
- }>;
1
+ export declare const Provider: any, Context: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  interface TabProductProps {
4
3
  list: any[];
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const SelectProductItem: ({ item, onClick, onChangeQuantity, amountSymbol, style, className, disabled, }: any) => JSX.Element;
4
3
  export default SelectProductItem;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const renderBundles: (item: any, amountSymbol: string) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @title: 空状态
4
3
  * @description:
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const FooterMenus: ({ state, menuChange, items }: any) => JSX.Element | null;
4
3
  export default FooterMenus;
@@ -463,7 +463,7 @@ var Footer = (props) => {
463
463
  JSON.stringify(subTotalList),
464
464
  (_l = (_k = state.client) == null ? void 0 : _k.value) == null ? void 0 : _l.id
465
465
  ]);
466
- const handleCheckout = async () => {
466
+ const handleCheckoutInternal = async () => {
467
467
  (0, import_PaymentResultToast.closeAllPaymentResultToasts)();
468
468
  const isNewOrder = !state.bookingId;
469
469
  if (isEdit) {
@@ -524,6 +524,11 @@ var Footer = (props) => {
524
524
  }
525
525
  return goCheckout(state.bookingId, isNewOrder);
526
526
  };
527
+ const { run: handleCheckout } = (0, import_ahooks.useDebounceFn)(handleCheckoutInternal, {
528
+ wait: 500,
529
+ leading: true,
530
+ trailing: false
531
+ });
527
532
  const handleSaveAddons = async () => {
528
533
  try {
529
534
  let _list = [...state.addons.value];
@@ -588,7 +593,7 @@ var Footer = (props) => {
588
593
  messageShow = true,
589
594
  noSubmit = false
590
595
  }) => {
591
- var _a2;
596
+ var _a2, _b2, _c2, _d2, _e2;
592
597
  (0, import_PaymentResultToast.closeAllPaymentResultToasts)();
593
598
  if ((0, import_utils2.isDayBooking)(state)) {
594
599
  const isHasDayProducts = handleDaySubmit();
@@ -647,7 +652,20 @@ var Footer = (props) => {
647
652
  title: "saveBooking",
648
653
  content: [
649
654
  { key: "下单前数据", value: JSON.stringify(values) },
650
- { key: "日期", value: (0, import_dayjs.default)().format("YYYY-MM-DD HH:mm") }
655
+ { key: "日期", value: (0, import_dayjs.default)().format("YYYY-MM-DD HH:mm") },
656
+ {
657
+ key: "店铺id",
658
+ value: (_e2 = (_d2 = (_c2 = (_b2 = store == null ? void 0 : store.getState) == null ? void 0 : _b2.call(store)) == null ? void 0 : _c2.global) == null ? void 0 : _d2.globalConfig) == null ? void 0 : _e2.id
659
+ },
660
+ {
661
+ key: "shopApi",
662
+ value: JSON.stringify(window == null ? void 0 : window.shopApi, (key, value) => {
663
+ if (typeof value === "function") {
664
+ return "function";
665
+ }
666
+ return value;
667
+ })
668
+ }
651
669
  ]
652
670
  });
653
671
  if (addonsEdit) {
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const FormItemChildrenWrap: (props: any) => JSX.Element;
3
2
  export default FormItemChildrenWrap;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface IProps {
4
3
  modal: any;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Deposit: (props: any) => JSX.Element;
3
2
  export default Deposit;
@@ -113,7 +113,12 @@ var EditBookingModal = (props, ref) => {
113
113
  _cloned[_idx] = _targetResource;
114
114
  }
115
115
  } else {
116
- _cloned.push(_targetResource);
116
+ const _targetIdx = _cloned.findIndex((rs) => {
117
+ return rs.relation_id == (_targetResource == null ? void 0 : _targetResource.relation_id);
118
+ });
119
+ if (_targetIdx === -1) {
120
+ _cloned.push(_targetResource);
121
+ }
117
122
  }
118
123
  _initResourceVal = {
119
124
  ..._initResourceVal,
@@ -1,10 +1 @@
1
- /// <reference types="react" />
2
- import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
- state: FormState;
5
- } & {
6
- dispatch: (params: {
7
- type: string;
8
- payload: any;
9
- }) => void;
10
- }>;
1
+ export declare const Provider: any, Context: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  /**
4
3
  * @title: 表单选择器
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const Table: ({ value, onChange, field, mode, onAdd }: any) => JSX.Element;
4
3
  export default Table;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface AddServiceVariantProps {
3
2
  globalState: any;
4
3
  setGlobalState: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FormState } from '../../../model';
3
2
  interface useClientFnParams {
4
3
  state: any;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const useIsLowSpeedNetwork: () => import("react").MutableRefObject<boolean>;
3
2
  export default useIsLowSpeedNetwork;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  export declare const updateServiceDate: (services: any[], date: any, isTime: boolean) => any[];
4
3
  declare const DateCom: () => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const header: ({ state, dispatch }: any) => JSX.Element;
4
3
  export default header;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { EditServiceRef } from "../service/editService";
3
2
  declare const useInfoHolder: (state: any, dispatch: any) => {
4
3
  detailRef: import("react").MutableRefObject<EditServiceRef | undefined>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InfoProps } from './main';
3
2
  declare const APP: (props: InfoProps) => JSX.Element;
4
3
  export default APP;
@@ -1,14 +1,5 @@
1
- /// <reference types="react" />
2
- import { FormState } from '../model';
3
1
  export declare const walkInData: {
4
2
  id: number;
5
3
  nickname: string;
6
4
  };
7
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
8
- state: FormState;
9
- } & {
10
- dispatch: (params: {
11
- type: string;
12
- payload: any;
13
- }) => void;
14
- }>;
5
+ export declare const Provider: any, Context: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const Actions: ({ currentService }: {
4
3
  currentService: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PisellDrawerProps } from '../../../components/drawer';
3
2
  import './index.less';
4
3
  interface AddServiceProps {
@@ -6,7 +6,7 @@ export declare const getDurationProps: ({ cacheItem, useStartTime, currentResour
6
6
  type: string;
7
7
  value: number;
8
8
  };
9
- locale: string;
9
+ locale: any;
10
10
  slice: any;
11
11
  selectProps: {
12
12
  size: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const AddTimeModal: () => JSX.Element;
4
3
  export default AddTimeModal;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const Like: ({ status, onChange, className, style, }: {
4
3
  style?: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ServiceList: ({ onEdit }: {
4
3
  onEdit: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import '../../../info/service/actions/index.less';
3
2
  declare const Actions: ({ currentService }: {
4
3
  currentService: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PisellDrawerProps } from '../../../components/drawer';
3
2
  import '../../../info/service/addService/index.less';
4
3
  interface AddServiceProps {
@@ -7,7 +7,7 @@ export declare const getDurationProps: ({ cacheItem, useStartTime, currentResour
7
7
  type: string;
8
8
  value: number;
9
9
  };
10
- locale: string;
10
+ locale: any;
11
11
  slice: any;
12
12
  selectProps: {
13
13
  size: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ServiceList: ({ onEdit }: {
4
3
  onEdit: any;
@@ -156,6 +156,8 @@ declare const _default: {
156
156
  'pisell2.text.deposit-delete-message': string;
157
157
  'pisell2.text.deposit-paid': string;
158
158
  "pisell2.text.stock": string;
159
+ 'pisell2.appointment.unuse.stock': string;
160
+ 'pisell2.appointment.unuse.capacity': (count: number) => string;
159
161
  'pisell2.text.payment-link': string;
160
162
  'pisell2.text.send-mail': string;
161
163
  'pisell2.text.copy-to-clipboard': string;
@@ -458,6 +460,8 @@ declare const _default: {
458
460
  'pisell2.text.deposit-delete-message': string;
459
461
  'pisell2.text.deposit-paid': string;
460
462
  "pisell2.text.stock": string;
463
+ 'pisell2.appointment.unuse.stock': string;
464
+ 'pisell2.appointment.unuse.capacity': (count: number) => string;
461
465
  'pisell2.text.payment-link': string;
462
466
  'pisell2.text.send-mail': string;
463
467
  'pisell2.text.copy-to-clipboard': string;
@@ -760,6 +764,8 @@ declare const _default: {
760
764
  'pisell2.text.deposit-delete-message': string;
761
765
  'pisell2.text.deposit-paid': string;
762
766
  "pisell2.text.stock": string;
767
+ 'pisell2.appointment.unuse.stock': string;
768
+ 'pisell2.appointment.unuse.capacity': (count: number) => string;
763
769
  'pisell2.text.payment-link': string;
764
770
  'pisell2.text.send-mail': string;
765
771
  'pisell2.text.copy-to-clipboard': string;
@@ -200,6 +200,8 @@ var locales_default = {
200
200
  "pisell2.text.deposit-delete-message": "It cannot be restored after deletion. Please confirm the operation.",
201
201
  "pisell2.text.deposit-paid": "Deposit paid",
202
202
  "pisell2.text.stock": "Stock",
203
+ "pisell2.appointment.unuse.stock": "Not enough stock",
204
+ "pisell2.appointment.unuse.capacity": (count) => `Only ${count} spots available. Please reduce quantity.`,
203
205
  "pisell2.text.payment-link": "Payment link",
204
206
  "pisell2.text.send-mail": "Send email",
205
207
  "pisell2.text.copy-to-clipboard": "Copy to clipboard",
@@ -540,6 +542,8 @@ var locales_default = {
540
542
  "pisell2.text.deposit-delete-message": "删除后不可恢复,请确认操作",
541
543
  "pisell2.text.deposit-paid": "已付定金",
542
544
  "pisell2.text.stock": "库存",
545
+ "pisell2.appointment.unuse.stock": "库存不足",
546
+ "pisell2.appointment.unuse.capacity": (count) => `仅可预约 ${count} 个,请减少数量`,
543
547
  "pisell2.text.payment-link": "付款链接",
544
548
  "pisell2.text.send-mail": "发送邮件",
545
549
  "pisell2.text.copy-to-clipboard": "复制到剪切板",
@@ -880,6 +884,8 @@ var locales_default = {
880
884
  "pisell2.text.deposit-delete-message": "刪除後不可恢復,請確認操作",
881
885
  "pisell2.text.deposit-paid": "已付定金",
882
886
  "pisell2.text.stock": "庫存",
887
+ "pisell2.appointment.unuse.stock": "庫存不足",
888
+ "pisell2.appointment.unuse.capacity": (count) => `僅可預約 ${count} 個,請減少數量`,
883
889
  "pisell2.text.payment-link": "付款鏈接",
884
890
  "pisell2.text.send-mail": "發送郵件",
885
891
  "pisell2.text.copy-to-clipboard": "複製到剪切板",
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare type ContactType = {
4
3
  country_calling_code: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SelectProps } from 'antd';
3
2
  interface DurationProps extends SelectProps {
4
3
  locale?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SelectProps } from 'antd';
3
2
  interface HolderProps extends SelectProps {
4
3
  selectProps?: SelectProps;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SelectProps } from "antd";
3
2
  interface StartTimeProps extends SelectProps {
4
3
  locale?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface FormState {
3
2
  amountSymbol: string;
4
3
  apis: {
@@ -106,11 +105,4 @@ export declare const walkInData: {
106
105
  id: number;
107
106
  nickname: string;
108
107
  };
109
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
110
- state: FormState;
111
- } & {
112
- dispatch: (params: {
113
- type: string;
114
- payload: any;
115
- }) => void;
116
- }>;
108
+ export declare const Provider: any, Context: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  export interface InfoProps {
4
3
  isEdit: boolean;
@@ -1,10 +1 @@
1
- /// <reference types="react" />
2
- import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
- state: FormState;
5
- } & {
6
- dispatch: (params: {
7
- type: string;
8
- payload: any;
9
- }) => void;
10
- }>;
1
+ export declare const Provider: any, Context: any;
@@ -1,10 +1 @@
1
- /// <reference types="react" />
2
- import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
- state: FormState;
5
- } & {
6
- dispatch: (params: {
7
- type: string;
8
- payload: any;
9
- }) => void;
10
- }>;
1
+ export declare const Provider: any, Context: any;
@@ -165,10 +165,10 @@ export declare const getProductTotalPrice: (item: any) => number;
165
165
  export declare const getDuration: (duration: number | {
166
166
  type: string;
167
167
  value: number;
168
- }) => number | {
168
+ }) => number | "flexible" | {
169
169
  type: string;
170
170
  value: number;
171
- } | "flexible";
171
+ };
172
172
  export declare const isWalkIn: (customer_id?: number | string) => boolean;
173
173
  export declare const getIsEdit: (state: any) => boolean;
174
174
  export {};