@pisell/private-materials 6.2.35 → 6.2.36

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 (267) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/meta.js +1 -1
  5. package/build/lowcode/render/default/view.js +1 -1
  6. package/build/lowcode/view.js +1 -1
  7. package/es/components/Sales/Summary/utils.d.ts +1 -1
  8. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
  9. package/es/components/appointmentBooking/components/Content/index.d.ts +1 -0
  10. package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  11. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  12. package/es/components/appointmentBooking/components/Header/index.d.ts +1 -0
  13. package/es/components/appointmentBooking/index.d.ts +1 -0
  14. package/es/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  15. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
  16. package/es/components/booking/components/collapsibleList/utils.d.ts +1 -0
  17. package/es/components/booking/components/emptyBooking/index.d.ts +1 -0
  18. package/es/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  19. package/es/components/booking/components/voucher/index.js +5 -0
  20. package/es/components/booking/deposit/ClientItem/index.js +1 -1
  21. package/es/components/booking/deposit/DepositItem/index.js +1 -1
  22. package/es/components/booking/deposit/index.d.ts +1 -0
  23. package/es/components/booking/forms/single/index.d.ts +1 -0
  24. package/es/components/booking/hooks/useQuotation.js +1 -1
  25. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  26. package/es/components/booking/info/clientVariant/utils.d.ts +2 -0
  27. package/es/components/booking/info/clientVariant/utils.js +7 -0
  28. package/es/components/booking/info/clientVariant/vertical/index.js +3 -2
  29. package/es/components/booking/info/date/index.d.ts +1 -0
  30. package/es/components/booking/info/dateRange/index.d.ts +0 -1
  31. package/es/components/booking/info/header/index.d.ts +1 -0
  32. package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  33. package/es/components/booking/info/notes/index.d.ts +1 -0
  34. package/es/components/booking/info/service/Lists.d.ts +1 -0
  35. package/es/components/booking/info/service/actions/index.d.ts +1 -0
  36. package/es/components/booking/info/service/addService/index.d.ts +1 -0
  37. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  38. package/es/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  39. package/es/components/booking/info/service/serviceList/index.d.ts +1 -0
  40. package/es/components/booking/info/service2/utils.d.ts +1 -1
  41. package/es/components/booking/info2/service/actions/index.d.ts +1 -0
  42. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  43. package/es/components/booking/info2/service/addService/utils.js +2 -1
  44. package/es/components/booking/info2/service/addTimeModal/index.d.ts +1 -0
  45. package/es/components/booking/info2/service/editService/index.js +37 -29
  46. package/es/components/booking/info2/service/serviceList/index.d.ts +1 -0
  47. package/es/components/booking/info2/utilsByBooking.js +4 -4
  48. package/es/components/booking/materiels/contacts/index.d.ts +1 -0
  49. package/es/components/booking/materiels/duration/index.d.ts +1 -0
  50. package/es/components/booking/materiels/duration/index.js +1 -1
  51. package/es/components/booking/materiels/startTime/index.d.ts +1 -0
  52. package/es/components/booking/materiels/startTime/index.js +1 -1
  53. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  54. package/es/components/booking/notes/NoteBlock/index.d.ts +1 -0
  55. package/es/components/booking/notes/addNote/index.d.ts +1 -0
  56. package/es/components/booking/utils.js +3 -3
  57. package/es/components/eftpos/index.d.ts +1 -0
  58. package/es/components/eftpos/pos.d.ts +1 -0
  59. package/es/components/eftposPay/amount.d.ts +2 -1
  60. package/es/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  61. package/es/components/eftposPay/component/fail/index.d.ts +1 -0
  62. package/es/components/eftposPay/component/fail/network.d.ts +1 -0
  63. package/es/components/eftposPay/component/fail/unknow.d.ts +1 -0
  64. package/es/components/eftposPay/component/manual/index.d.ts +1 -0
  65. package/es/components/eftposPay/component/signature/index.d.ts +1 -0
  66. package/es/components/eftposPay/device.d.ts +2 -1
  67. package/es/components/eftposPay/hooks.d.ts +1 -1
  68. package/es/components/eftposPay/index.d.ts +1 -0
  69. package/es/components/eftposPay/linkly/index.d.ts +1 -0
  70. package/es/components/eftposPay/pay.d.ts +1 -0
  71. package/es/components/eftposPay/payo/config.d.ts +1 -0
  72. package/es/components/eftposPay/store/index.d.ts +3 -3
  73. package/es/components/eftposPay/tip.d.ts +1 -0
  74. package/es/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  75. package/es/components/eftposPay/windcave/windcave.d.ts +1 -0
  76. package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  77. package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  78. package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  79. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  80. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  81. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  82. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  83. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  84. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  85. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  86. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
  87. package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  88. package/es/components/eventBooking/index.d.ts +1 -0
  89. package/es/components/login/index.d.ts +1 -0
  90. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
  91. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  92. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  93. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  94. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  95. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  96. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  97. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  98. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  99. package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  100. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  101. package/es/components/productExtension/index.d.ts +1 -0
  102. package/es/components/productSelect/components/TabProduct/index.js +7 -2
  103. package/es/components/productSelect/components/productGroup/index.d.ts +1 -0
  104. package/es/components/ruleSetting/index.d.ts +1 -0
  105. package/es/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  106. package/es/components/schedules/calendar/index.d.ts +1 -0
  107. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  108. package/es/components/schedules/components/ScheduleList/index.d.ts +1 -0
  109. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  110. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  111. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
  112. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
  113. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  114. package/es/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  115. package/es/components/schedules/products/list/index.d.ts +1 -0
  116. package/es/components/schedules/resources/index.d.ts +1 -0
  117. package/es/components/schedules/resources/list/index.d.ts +1 -0
  118. package/es/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  119. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  120. package/es/components/schedules/schedules/index.d.ts +1 -0
  121. package/es/components/shoppingCart/components/Cart/Product.js +1 -1
  122. package/es/components/shoppingCart/index.d.ts +1 -0
  123. package/es/components/taxSelect/index.d.ts +1 -0
  124. package/es/components/ticketBooking/components/addServiceVariant/addService.js +170 -89
  125. package/es/components/ticketBooking/components/timeBar/index.js +3 -3
  126. package/es/components/ticketBooking/utils/index.d.ts +3 -1
  127. package/es/components/ticketBooking/utils/index.js +18 -2
  128. package/es/components/wallet/hooks/useWalletCard.d.ts +1 -0
  129. package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
  130. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
  131. package/es/plus/clientName/index.d.ts +1 -0
  132. package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +1 -0
  133. package/es/plus/clinetSearch/Add/GenderField/index.d.ts +1 -0
  134. package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
  135. package/es/pro/pisellNumberSelector/index.js +3 -3
  136. package/es/pro/pisellPhoneKeyboard/index.js +1 -1
  137. package/lib/components/Sales/Summary/utils.d.ts +1 -1
  138. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
  139. package/lib/components/appointmentBooking/components/Content/index.d.ts +1 -0
  140. package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  141. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  142. package/lib/components/appointmentBooking/components/Header/index.d.ts +1 -0
  143. package/lib/components/appointmentBooking/index.d.ts +1 -0
  144. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  145. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
  146. package/lib/components/booking/components/collapsibleList/utils.d.ts +1 -0
  147. package/lib/components/booking/components/emptyBooking/index.d.ts +1 -0
  148. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  149. package/lib/components/booking/components/voucher/index.js +5 -0
  150. package/lib/components/booking/deposit/ClientItem/index.js +1 -1
  151. package/lib/components/booking/deposit/DepositItem/index.js +1 -1
  152. package/lib/components/booking/deposit/index.d.ts +1 -0
  153. package/lib/components/booking/forms/single/index.d.ts +1 -0
  154. package/lib/components/booking/hooks/useQuotation.js +1 -1
  155. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  156. package/lib/components/booking/info/clientVariant/utils.d.ts +2 -0
  157. package/lib/components/booking/info/clientVariant/utils.js +13 -2
  158. package/lib/components/booking/info/clientVariant/vertical/index.js +7 -6
  159. package/lib/components/booking/info/date/index.d.ts +1 -0
  160. package/lib/components/booking/info/dateRange/index.d.ts +0 -1
  161. package/lib/components/booking/info/header/index.d.ts +1 -0
  162. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  163. package/lib/components/booking/info/notes/index.d.ts +1 -0
  164. package/lib/components/booking/info/service/Lists.d.ts +1 -0
  165. package/lib/components/booking/info/service/actions/index.d.ts +1 -0
  166. package/lib/components/booking/info/service/addService/index.d.ts +1 -0
  167. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  168. package/lib/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  169. package/lib/components/booking/info/service/serviceList/index.d.ts +1 -0
  170. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  171. package/lib/components/booking/info2/service/actions/index.d.ts +1 -0
  172. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  173. package/lib/components/booking/info2/service/addService/utils.js +3 -3
  174. package/lib/components/booking/info2/service/addTimeModal/index.d.ts +1 -0
  175. package/lib/components/booking/info2/service/editService/index.js +22 -12
  176. package/lib/components/booking/info2/service/serviceList/index.d.ts +1 -0
  177. package/lib/components/booking/info2/utilsByBooking.js +7 -8
  178. package/lib/components/booking/materiels/contacts/index.d.ts +1 -0
  179. package/lib/components/booking/materiels/duration/index.d.ts +1 -0
  180. package/lib/components/booking/materiels/duration/index.js +1 -1
  181. package/lib/components/booking/materiels/startTime/index.d.ts +1 -0
  182. package/lib/components/booking/materiels/startTime/index.js +1 -1
  183. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  184. package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -0
  185. package/lib/components/booking/notes/addNote/index.d.ts +1 -0
  186. package/lib/components/booking/utils.js +3 -3
  187. package/lib/components/eftpos/index.d.ts +1 -0
  188. package/lib/components/eftpos/pos.d.ts +1 -0
  189. package/lib/components/eftposPay/amount.d.ts +2 -1
  190. package/lib/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  191. package/lib/components/eftposPay/component/fail/index.d.ts +1 -0
  192. package/lib/components/eftposPay/component/fail/network.d.ts +1 -0
  193. package/lib/components/eftposPay/component/fail/unknow.d.ts +1 -0
  194. package/lib/components/eftposPay/component/manual/index.d.ts +1 -0
  195. package/lib/components/eftposPay/component/signature/index.d.ts +1 -0
  196. package/lib/components/eftposPay/device.d.ts +2 -1
  197. package/lib/components/eftposPay/hooks.d.ts +1 -1
  198. package/lib/components/eftposPay/index.d.ts +1 -0
  199. package/lib/components/eftposPay/linkly/index.d.ts +1 -0
  200. package/lib/components/eftposPay/pay.d.ts +1 -0
  201. package/lib/components/eftposPay/payo/config.d.ts +1 -0
  202. package/lib/components/eftposPay/store/index.d.ts +3 -3
  203. package/lib/components/eftposPay/tip.d.ts +1 -0
  204. package/lib/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  205. package/lib/components/eftposPay/windcave/windcave.d.ts +1 -0
  206. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  207. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  208. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  209. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  210. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  211. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  212. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  213. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  214. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  215. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  216. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
  217. package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  218. package/lib/components/eventBooking/index.d.ts +1 -0
  219. package/lib/components/login/index.d.ts +1 -0
  220. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
  221. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  222. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  223. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  224. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  225. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  226. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  227. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  228. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  229. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  230. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  231. package/lib/components/productExtension/index.d.ts +1 -0
  232. package/lib/components/productSelect/components/TabProduct/index.js +7 -1
  233. package/lib/components/productSelect/components/productGroup/index.d.ts +1 -0
  234. package/lib/components/ruleSetting/index.d.ts +1 -0
  235. package/lib/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  236. package/lib/components/schedules/calendar/index.d.ts +1 -0
  237. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  238. package/lib/components/schedules/components/ScheduleList/index.d.ts +1 -0
  239. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  240. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  241. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
  242. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
  243. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  244. package/lib/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  245. package/lib/components/schedules/products/list/index.d.ts +1 -0
  246. package/lib/components/schedules/resources/index.d.ts +1 -0
  247. package/lib/components/schedules/resources/list/index.d.ts +1 -0
  248. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  249. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  250. package/lib/components/schedules/schedules/index.d.ts +1 -0
  251. package/lib/components/shoppingCart/components/Cart/Product.js +6 -4
  252. package/lib/components/shoppingCart/index.d.ts +1 -0
  253. package/lib/components/taxSelect/index.d.ts +1 -0
  254. package/lib/components/ticketBooking/components/addServiceVariant/addService.js +85 -12
  255. package/lib/components/ticketBooking/components/timeBar/index.js +89 -70
  256. package/lib/components/ticketBooking/utils/index.d.ts +3 -1
  257. package/lib/components/ticketBooking/utils/index.js +21 -0
  258. package/lib/components/wallet/hooks/useWalletCard.d.ts +1 -0
  259. package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
  260. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
  261. package/lib/plus/clientName/index.d.ts +1 -0
  262. package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +1 -0
  263. package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +1 -0
  264. package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
  265. package/lib/pro/pisellNumberSelector/index.js +3 -3
  266. package/lib/pro/pisellPhoneKeyboard/index.js +1 -1
  267. package/package.json +2 -2
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare type CallToBookProps = {
3
2
  show: boolean;
4
3
  type: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const WeekItem: (props: any) => JSX.Element;
4
3
  export default WeekItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare type CalenDateWeekProps = {
4
3
  currentDate: string;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Resource: (props: any) => JSX.Element;
2
3
  export default Resource;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Schedule: () => JSX.Element;
2
3
  export default Schedule;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare type Item = any;
3
4
  interface ProductItemProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CalendarDataItem } from '../../type';
3
2
  declare type CalendarItemProps = {
4
3
  month: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const EventBooking: () => JSX.Element;
3
4
  export default EventBooking;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  export interface LoginProps {
3
4
  title: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ThreedsLoading: ({ title, showSuccessBackButton, onSuccessBack }: any) => JSX.Element;
3
4
  export default ThreedsLoading;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const SetupForm: ({ onReady, amount, order_id, payment_method, scene, }: any) => JSX.Element;
4
3
  export default SetupForm;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { WalletPassDataType } from '../../../PaymentMethods/WalletPass/serve';
3
2
  import './index.less';
4
3
  interface WalletUseListProps {
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const DateSectionCom: ({ value, onChange, showTime, className, style, useSpace, format, itemStyle, }: any) => JSX.Element;
2
3
  export default DateSectionCom;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const GenderField: (props: any) => JSX.Element;
2
3
  export default GenderField;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface AddClientProps {
3
4
  onChange: (value: any) => void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface RightPanelProps {
3
4
  value: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ProductItem: ({ item, onClick, amountSymbol, style, className, }: any) => JSX.Element;
3
4
  export default ProductItem;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const ProductItemPreview: ({ item, onClick, onRemove, amountSymbol, style, className, }: any) => JSX.Element;
3
4
  export default ProductItemPreview;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface valueType {
3
4
  }
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const SelectResourcesTable: ({ value, onChange }: any) => JSX.Element;
3
4
  export default SelectResourcesTable;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  interface ProductExtensionProps {
3
4
  onDataChange: any;
@@ -44,9 +44,15 @@ var getOffsetTopRelativeToScrollContainer = (targetElement, scrollContainer) =>
44
44
  if (targetElement === scrollContainer) {
45
45
  return 0;
46
46
  }
47
+ const bodyTransform = getComputedStyle(document.body).transform;
48
+ let scaleY = 1;
49
+ if (bodyTransform !== "none") {
50
+ const matrix = new DOMMatrix(bodyTransform);
51
+ scaleY = matrix.d;
52
+ }
47
53
  const targetRect = targetElement.getBoundingClientRect();
48
54
  const containerRect = scrollContainer.getBoundingClientRect();
49
- return targetRect.top - containerRect.top + scrollContainer.scrollTop;
55
+ return targetRect.top / scaleY - containerRect.top / scaleY + scrollContainer.scrollTop;
50
56
  };
51
57
  var TabProduct = (props) => {
52
58
  const {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare type BoolConfigVal = 0 | 1;
3
4
  export interface ProductCardConfig {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  interface RuleSettingProps {
3
4
  value: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  interface RuleSettingProps {
3
4
  value: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const Calendar: () => JSX.Element;
3
4
  export default Calendar;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ScheduleItem } from "../../type";
2
3
  import "./index.less";
3
4
  declare type ScheduleDetailListPropsType = {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ButtonProps } from 'antd';
2
3
  import { ScheduleItem } from '../../type';
3
4
  import './index.less';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const MaxParticipantsModule: ({ form, value, onChange, useSchedule, isAutoChange, onData, }: {
3
4
  form: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const ResourcesModule: ({ product }: {
2
3
  product: any;
3
4
  }) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const AddSchedules: ({ value, onChange, drawerContainer, isSelf }: any) => JSX.Element;
3
4
  export default AddSchedules;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare type Value = number[];
3
4
  declare const SchedulesModule: ({ value, onChange, drawerContainer, ruleFn, tabKey, previewItemChange, isSelf, isTitle, }: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const ProductDetailDrawer: () => JSX.Element;
3
4
  export default ProductDetailDrawer;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare type Item = any;
3
4
  interface ProductItemProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface ProductListProps {
3
4
  loading: boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Resources: () => JSX.Element;
3
4
  export default Resources;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare type ResourcesListProps = {
3
4
  list: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ScheduleItem } from '../../type';
2
3
  import './index.less';
3
4
  declare type AllSchedulesPropsType = {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { DrawerProps } from "antd";
2
3
  import { ScheduleItem } from "../../type";
3
4
  import "./index.less";
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const SchedulesConnect: () => JSX.Element;
2
3
  export default SchedulesConnect;
@@ -58,10 +58,12 @@ var Product = (props) => {
58
58
  productCardStyleConfig = {}
59
59
  } = state;
60
60
  const clearCart = (0, import_useClearCart.default)(id);
61
- const handleChange = (0, import_ahooks.useMemoizedFn)((item, type, other) => {
62
- if (disabledEdit && !(other == null ? void 0 : other.disabled)) return;
63
- onChange(item, type, other);
64
- });
61
+ const handleChange = (0, import_ahooks.useMemoizedFn)(
62
+ (item, type, other) => {
63
+ if (disabledEdit && !(other == null ? void 0 : other.disabled)) return;
64
+ onChange(item, type, other);
65
+ }
66
+ );
65
67
  const productParams = (0, import_react.useMemo)(() => {
66
68
  return {
67
69
  isShowNote,
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { shoppingCartProps } from './type';
2
3
  declare const shoppingCart: ({ onCard, onAction, onChange, onAddProduct, onActiveKey, ...props }: shoppingCartProps) => JSX.Element;
3
4
  export default shoppingCart;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { SelectProps } from "antd";
2
3
  import "./index.less";
3
4
  interface TaxSelectProps {
@@ -71,6 +71,30 @@ var AddSerivce = (props) => {
71
71
  const stateRef = (0, import_react.useRef)(state);
72
72
  stateRef.current = state;
73
73
  const { getProducts, products, loading } = (0, import_pisellos.useProducts)();
74
+ (0, import_react.useEffect)(() => {
75
+ return () => {
76
+ Object.values(debounceTimersRef.current).forEach((timer) => {
77
+ if (timer) clearTimeout(timer);
78
+ });
79
+ debounceTimersRef.current = {};
80
+ };
81
+ }, []);
82
+ (0, import_react.useEffect)(() => {
83
+ const handler = (event) => {
84
+ var _a2;
85
+ const cacheItem = (_a2 = event == null ? void 0 : event.detail) == null ? void 0 : _a2.cacheItem;
86
+ console.log("Modal closed with result:", event.detail.cacheItem);
87
+ if (!(cacheItem == null ? void 0 : cacheItem.id)) return;
88
+ (0, import_utils6.addServiceScroll)(String(cacheItem.id), cacheItem);
89
+ };
90
+ window.addEventListener("onAddNewService", handler);
91
+ return () => {
92
+ window.removeEventListener("onAddNewService", handler);
93
+ };
94
+ }, []);
95
+ const pendingCacheValuesRef = (0, import_react.useRef)({});
96
+ const clickCountRef = (0, import_react.useRef)({});
97
+ const debounceTimersRef = (0, import_react.useRef)({});
74
98
  const menuList = (0, import_react.useMemo)(() => {
75
99
  var _a2, _b2, _c2;
76
100
  return ((_c2 = (_b2 = (_a2 = state == null ? void 0 : state.bookingConfig) == null ? void 0 : _a2.config) == null ? void 0 : _b2.menu_list_tab) == null ? void 0 : _c2.menu_list) || [];
@@ -113,14 +137,35 @@ var AddSerivce = (props) => {
113
137
  var _a2;
114
138
  (_a2 = Toast == null ? void 0 : Toast.success) == null ? void 0 : _a2.call(
115
139
  Toast,
116
- /* @__PURE__ */ import_react.default.createElement("div", { className: "add-toast-wrap" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "add-toast-title" }, title), /* @__PURE__ */ import_react.default.createElement("div", { className: "add-toast-quantity" }, import_utils.locales.getText("pisell2.ticket-booking.in-cart")(
117
- quantity || 1
118
- )))
140
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "add-toast-wrap" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "add-toast-title" }, title), /* @__PURE__ */ import_react.default.createElement("div", { className: "add-toast-quantity" }, import_utils.locales.getText("pisell2.ticket-booking.in-cart")(quantity || 1)))
119
141
  );
120
142
  };
143
+ const executeCacheValues = (0, import_ahooks.useMemoizedFn)(
144
+ (productId, originalCacheValues, item, originalCallback) => {
145
+ const clickCount = clickCountRef.current[productId] || 1;
146
+ const finalCacheValues = {
147
+ ...originalCacheValues,
148
+ quantity: clickCount
149
+ };
150
+ delete pendingCacheValuesRef.current[productId];
151
+ delete clickCountRef.current[productId];
152
+ delete debounceTimersRef.current[productId];
153
+ originalCallback(finalCacheValues, "", item, true);
154
+ }
155
+ );
156
+ const debouncedExecuteCacheValues = (0, import_ahooks.useMemoizedFn)(
157
+ (productId, cacheValues, item, callback) => {
158
+ if (debounceTimersRef.current[productId]) {
159
+ clearTimeout(debounceTimersRef.current[productId]);
160
+ }
161
+ debounceTimersRef.current[productId] = setTimeout(() => {
162
+ executeCacheValues(productId, cacheValues, item, callback);
163
+ }, 0);
164
+ }
165
+ );
121
166
  const handleSelectProduct = (0, import_ahooks.useMemoizedFn)(
122
167
  (item, type = "select") => {
123
- var _a2;
168
+ var _a2, _b2, _c2, _d2;
124
169
  if (!(0, import_utils4.isNormalProductByDurationSchedule)(item)) {
125
170
  if (!Array.isArray((_a2 = state.service) == null ? void 0 : _a2.resourcesOrigin) || !state.service.resourcesOrigin.length) {
126
171
  dispatch({
@@ -142,7 +187,7 @@ var AddSerivce = (props) => {
142
187
  setCurrentProduct(item);
143
188
  } else {
144
189
  setCurrentProduct(null);
145
- if (!isSession) {
190
+ if ((item == null ? void 0 : item.extension_type) === "normal") {
146
191
  cacheValues = {
147
192
  bundle: [],
148
193
  key: item.id,
@@ -152,12 +197,14 @@ var AddSerivce = (props) => {
152
197
  quantity: 1,
153
198
  rowKey: item.id,
154
199
  session: null,
155
- unique: "08974625397"
200
+ unique: "08974625397",
201
+ _originalItem: item
202
+ // 保存原始商品信息
156
203
  };
157
204
  }
158
205
  }
159
- const callback = async (e, extension_type, detail) => {
160
- var _a3, _b2, _c2, _d2, _e2, _f2;
206
+ const callback = async (e, extension_type, detail, notShowToast) => {
207
+ var _a3, _b3, _c3, _d3, _e2, _f2;
161
208
  setCurrentProduct(null);
162
209
  if (lock) {
163
210
  return;
@@ -217,10 +264,18 @@ var AddSerivce = (props) => {
217
264
  cacheItem,
218
265
  state
219
266
  );
220
- handleAddToast(cacheItem.title, quantity || 1);
221
- (0, import_utils6.addServiceScroll)(e.rowKey, cacheItem);
267
+ if (!notShowToast) {
268
+ handleAddToast(cacheItem.title, quantity || 1);
269
+ }
270
+ window.dispatchEvent(
271
+ new CustomEvent("onAddNewService", {
272
+ detail: {
273
+ cacheItem
274
+ }
275
+ })
276
+ );
222
277
  try {
223
- if (((_f2 = (_e2 = (_d2 = (_c2 = (_b2 = context.appHelper.utils.store) == null ? void 0 : _b2.getState) == null ? void 0 : _c2.call(_b2)) == null ? void 0 : _d2.global) == null ? void 0 : _e2.globalConfig) == null ? void 0 : _f2.id) === 2155) {
278
+ if (((_f2 = (_e2 = (_d3 = (_c3 = (_b3 = context.appHelper.utils.store) == null ? void 0 : _b3.getState) == null ? void 0 : _c3.call(_b3)) == null ? void 0 : _d3.global) == null ? void 0 : _e2.globalConfig) == null ? void 0 : _f2.id) === 2155) {
224
279
  const val = _list == null ? void 0 : _list.map((s) => {
225
280
  return {
226
281
  product_id: s == null ? void 0 : s.product_id,
@@ -277,7 +332,25 @@ var AddSerivce = (props) => {
277
332
  }
278
333
  };
279
334
  if (cacheValues) {
280
- callback(cacheValues, "", item);
335
+ const productId = item.id.toString();
336
+ if (pendingCacheValuesRef.current[productId]) {
337
+ clickCountRef.current[productId] = (clickCountRef.current[productId] || 1) + 1;
338
+ } else {
339
+ pendingCacheValuesRef.current[productId] = cacheValues;
340
+ clickCountRef.current[productId] = 1;
341
+ }
342
+ const cacheItem = (0, import_utils6.createSimpleCacheItem)(item, cacheValues, state);
343
+ const detail = (_b2 = state.service.value) == null ? void 0 : _b2.find(
344
+ (val) => (0, import_utils6.isSameProduct)(val, cacheItem)
345
+ );
346
+ const originalQuantity = ((_c2 = detail == null ? void 0 : detail._extend) == null ? void 0 : _c2.quantity) || 0;
347
+ (_d2 = Toast == null ? void 0 : Toast.success) == null ? void 0 : _d2.call(
348
+ Toast,
349
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "add-toast-wrap" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "add-toast-title" }, item.title), /* @__PURE__ */ import_react.default.createElement("div", { className: "add-toast-quantity" }, import_utils.locales.getText("pisell2.ticket-booking.in-cart")(
350
+ (clickCountRef.current[productId] || 1) + originalQuantity
351
+ )))
352
+ );
353
+ debouncedExecuteCacheValues(productId, cacheValues, item, callback);
281
354
  return;
282
355
  }
283
356
  state.action({
@@ -78,86 +78,105 @@ var TimeBar = (props) => {
78
78
  });
79
79
  return (0, import_react.useMemo)(() => {
80
80
  var _a2, _b2, _c, _d;
81
- return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-ticket-booking-time-bar", style: { backgroundColor: state.isDateChange ? "#F79009" : "" } }, /* @__PURE__ */ import_react.default.createElement(
82
- import_antd.Button,
83
- {
84
- icon: /* @__PURE__ */ import_react.default.createElement(import_icons.LeftOutlined, null),
85
- onClick: _onClickPre,
86
- size: "large"
87
- }
88
- ), /* @__PURE__ */ import_react.default.createElement(
89
- import_antd.Button,
90
- {
91
- onClick: _onClickToday,
92
- size: "large",
93
- style: state.intervalSetTime ? { background: "#000", color: "#fff" } : void 0
94
- },
95
- import_utils.locales.getText("pisell2.ticket-booking.today")
96
- ), /* @__PURE__ */ import_react.default.createElement(
81
+ return /* @__PURE__ */ import_react.default.createElement(
97
82
  "div",
98
83
  {
99
- className: (0, import_classnames.default)({
100
- "booking-page-date-picker-select": state.isDateChange
101
- }),
102
- style: { width: 200, flexShrink: 0 }
84
+ className: "pisell-ticket-booking-time-bar",
85
+ style: { backgroundColor: state.isDateChange ? "#F79009" : "" }
103
86
  },
104
87
  /* @__PURE__ */ import_react.default.createElement(
105
- import_materials.DatePicker,
88
+ import_antd.Button,
89
+ {
90
+ icon: /* @__PURE__ */ import_react.default.createElement(import_icons.LeftOutlined, null),
91
+ onClick: _onClickPre,
92
+ size: "large"
93
+ }
94
+ ),
95
+ /* @__PURE__ */ import_react.default.createElement(
96
+ import_antd.Button,
106
97
  {
107
- inputReadOnly: true,
108
- value: (_b2 = (_a2 = state == null ? void 0 : state.modalState) == null ? void 0 : _a2.date) == null ? void 0 : _b2.value,
109
- format: locale === "en" ? "dddd, DD MMM YYYY" : "YYYY年MM月DD日",
110
- onChange: props == null ? void 0 : props.onDateChange,
98
+ onClick: _onClickToday,
111
99
  size: "large",
112
- style: { width: "100%" }
100
+ style: state.intervalSetTime ? { background: "#000", color: "#fff" } : void 0
101
+ },
102
+ import_utils.locales.getText("pisell2.ticket-booking.today")
103
+ ),
104
+ /* @__PURE__ */ import_react.default.createElement(
105
+ "div",
106
+ {
107
+ className: (0, import_classnames.default)({
108
+ "booking-page-date-picker-select": state.isDateChange
109
+ }),
110
+ style: { width: 200, flexShrink: 0 }
111
+ },
112
+ /* @__PURE__ */ import_react.default.createElement(
113
+ import_materials.DatePicker,
114
+ {
115
+ inputReadOnly: true,
116
+ value: (_b2 = (_a2 = state == null ? void 0 : state.modalState) == null ? void 0 : _a2.date) == null ? void 0 : _b2.value,
117
+ format: locale === "en" ? "dddd, DD MMM YYYY" : "YYYY年MM月DD日",
118
+ onChange: props == null ? void 0 : props.onDateChange,
119
+ size: "large",
120
+ style: { width: "100%" }
121
+ }
122
+ )
123
+ ),
124
+ /* @__PURE__ */ import_react.default.createElement(
125
+ import_antd.Button,
126
+ {
127
+ icon: /* @__PURE__ */ import_react.default.createElement(import_icons.RightOutlined, null),
128
+ onClick: _onClickNext,
129
+ size: "large"
113
130
  }
114
- )
115
- ), /* @__PURE__ */ import_react.default.createElement(
116
- import_antd.Button,
117
- {
118
- icon: /* @__PURE__ */ import_react.default.createElement(import_icons.RightOutlined, null),
119
- onClick: _onClickNext,
120
- size: "large"
121
- }
122
- ), /* @__PURE__ */ import_react.default.createElement(
123
- "div",
124
- {
125
- className: (0, import_classnames.default)({
126
- "booking-page-date-picker-select": state.isTimeChange
127
- })
128
- },
131
+ ),
129
132
  /* @__PURE__ */ import_react.default.createElement(
130
- import_materials.SelectTime,
133
+ "div",
134
+ {
135
+ className: (0, import_classnames.default)({
136
+ "booking-page-date-picker-select": state.isTimeChange
137
+ })
138
+ },
139
+ /* @__PURE__ */ import_react.default.createElement(
140
+ import_materials.SelectTime,
141
+ {
142
+ value: (_d = (_c = state == null ? void 0 : state.modalState) == null ? void 0 : _c.date) == null ? void 0 : _d.value.format("HH:mm"),
143
+ onChange: _onDateTimeChange,
144
+ popoverProps: {
145
+ style: { zoom: 0.8 }
146
+ },
147
+ timePickerProps: {},
148
+ timeProps: {},
149
+ slice: 5
150
+ }
151
+ )
152
+ ),
153
+ !state.bookingId && /* @__PURE__ */ import_react.default.createElement(
154
+ import_antd.Button,
131
155
  {
132
- value: (_d = (_c = state == null ? void 0 : state.modalState) == null ? void 0 : _c.date) == null ? void 0 : _d.value.format("HH:mm"),
133
- onChange: _onDateTimeChange,
134
- popoverProps: {
135
- style: { zoom: 0.8 }
156
+ onClick: _onClickNow,
157
+ size: "large",
158
+ style: state.intervalSetTime ? { background: "#000", color: "#fff" } : void 0
159
+ },
160
+ import_utils.locales.getText("pisell2.ticket-booking.now")
161
+ ),
162
+ !!state.bookingId && /* @__PURE__ */ import_react.default.createElement(
163
+ import_antd.Button,
164
+ {
165
+ onClick: () => {
166
+ onCreateClick();
136
167
  },
137
- timePickerProps: {},
138
- timeProps: {},
139
- slice: 5
140
- }
141
- )
142
- ), !state.bookingId && /* @__PURE__ */ import_react.default.createElement(
143
- import_antd.Button,
144
- {
145
- onClick: _onClickNow,
146
- size: "large",
147
- style: state.intervalSetTime ? { background: "#000", color: "#fff" } : void 0
148
- },
149
- import_utils.locales.getText("pisell2.ticket-booking.now")
150
- ), !!state.bookingId && /* @__PURE__ */ import_react.default.createElement(
151
- import_antd.Button,
152
- {
153
- onClick: () => {
154
- onCreateClick();
168
+ size: "large",
169
+ type: "primary"
155
170
  },
156
- size: "large",
157
- type: "primary"
158
- },
159
- import_utils.locales.getText("pisell2.ticket-booking.create-new")
160
- ));
161
- }, [(_b = (_a = state.modalState) == null ? void 0 : _a.date) == null ? void 0 : _b.value, state.intervalSetTime, state.isTimeChange, state.isDateChange, locale, state.bookingId]);
171
+ import_utils.locales.getText("pisell2.ticket-booking.create-new")
172
+ )
173
+ );
174
+ }, [
175
+ (_b = (_a = state.modalState) == null ? void 0 : _a.date) == null ? void 0 : _b.value,
176
+ state.intervalSetTime,
177
+ state.isTimeChange,
178
+ state.isDateChange,
179
+ locale
180
+ ]);
162
181
  };
163
182
  var timeBar_default = TimeBar;
@@ -14,6 +14,7 @@ export declare const restoreProductOtherData: (data: any) => {
14
14
  product_variant_id: any;
15
15
  quantity: number;
16
16
  } | undefined;
17
+ export declare const isSameProduct: (a: any, b: any) => boolean;
17
18
  export declare const addService: (list: any[], addItem: any, state: any) => {
18
19
  list: any[];
19
20
  quantity: any;
@@ -40,7 +41,7 @@ declare type ScanData = {
40
41
  };
41
42
  };
42
43
  export declare const formatScanCustomer: (data: ScanData) => {
43
- searchType: "customer" | "wallet" | "product" | "walletPass" | "local_product";
44
+ searchType: "customer" | "product" | "wallet" | "walletPass" | "local_product";
44
45
  data: any;
45
46
  scanCode: string;
46
47
  } | null;
@@ -57,4 +58,5 @@ export declare const formatScanGlobal: (data: ScanData) => {
57
58
  data: any;
58
59
  scanCode: string;
59
60
  } | null | undefined;
61
+ export declare const createSimpleCacheItem: (item: any, e: any, state: any) => any;
60
62
  export {};