@pisell/private-materials 6.2.30 → 6.3.1

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 (521) 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 -9
  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 +9 -9
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +9 -9
  11. package/es/components/Sales/Cart/index.js +0 -1
  12. package/es/components/Sales/Summary/utils.d.ts +1 -1
  13. package/es/components/booking/addons/index.js +1 -4
  14. package/es/components/booking/components/TabProduct/tabs/index.js +1 -5
  15. package/es/components/booking/components/browserSelect/index.js +1 -1
  16. package/es/components/booking/components/footer/amount.d.ts +0 -1
  17. package/es/components/booking/components/footer/amount.js +3 -15
  18. package/es/components/booking/components/footer/index.js +42 -113
  19. package/es/components/booking/components/footer/index.less +2 -3
  20. package/es/components/booking/components/footer/utils.js +23 -51
  21. package/es/components/booking/components/tabPane/index.js +5 -72
  22. package/es/components/booking/components/tabPane/index.less +1 -75
  23. package/es/components/booking/components/voucher/index.js +12 -26
  24. package/es/components/booking/components/voucher/index.less +1 -1
  25. package/es/components/booking/dashboard/index.d.ts +1 -1
  26. package/es/components/booking/dashboard/index.js +3 -10
  27. package/es/components/booking/forms/forms.js +1 -1
  28. package/es/components/booking/forms/model.js +5 -5
  29. package/es/components/booking/hooks/useQuotation.js +8 -18
  30. package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  31. package/es/components/booking/info/hooks/useInfoHolder.js +12 -13
  32. package/es/components/booking/info/index.less +3 -19
  33. package/es/components/booking/info/main.js +15 -14
  34. package/es/components/booking/info/pet/index.less +1 -1
  35. package/es/components/booking/info/service/Lists.js +2 -5
  36. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  37. package/es/components/booking/info/service/index.less +1 -1
  38. package/es/components/booking/info/service/like/index.js +1 -1
  39. package/es/components/booking/info/service/serviceItem/index.js +2 -2
  40. package/es/components/booking/info/service2/utils.d.ts +0 -4
  41. package/es/components/booking/info/service2/utils.js +2 -21
  42. package/es/components/booking/info2/index.js +18 -40
  43. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  44. package/es/components/booking/info2/service/addTimeModal/index.js +1 -2
  45. package/es/components/booking/info2/service/editService/index.js +4 -4
  46. package/es/components/booking/info2/service/index.js +6 -11
  47. package/es/components/booking/info2/service/serviceItem/index.js +2 -2
  48. package/es/components/booking/info2/utilsByBooking.d.ts +0 -1
  49. package/es/components/booking/info2/utilsByBooking.js +3 -27
  50. package/es/components/booking/locales.d.ts +0 -78
  51. package/es/components/booking/locales.js +4 -106
  52. package/es/components/booking/materiels/startTime/index.js +1 -1
  53. package/es/components/booking/notes/NoteBlock/NoteItem/index.js +1 -1
  54. package/es/components/booking/notes/NoteBlock/index.js +11 -11
  55. package/es/components/booking/notes/addNote/index.d.ts +1 -1
  56. package/es/components/booking/notes/addNote/index.js +32 -52
  57. package/es/components/booking/notes/addNote/index.less +0 -53
  58. package/es/components/booking/notes/model.js +5 -5
  59. package/es/components/booking/payments/model.js +5 -5
  60. package/es/components/booking/utils.d.ts +2 -2
  61. package/es/components/eftposPay/amount.d.ts +1 -1
  62. package/es/components/eftposPay/device.d.ts +1 -1
  63. package/es/components/eftposPay/hooks.d.ts +2 -2
  64. package/es/components/eftposPay/store/index.d.ts +6 -6
  65. package/es/components/listComponent/index.js +5 -5
  66. package/es/components/productExtension/card/index.js +3 -3
  67. package/es/components/productExtension/fields/Actor/CutOffTime/index.js +1 -1
  68. package/es/components/productExtension/fields/Forms/index.js +12 -12
  69. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.js +1 -1
  70. package/es/components/productExtension/fields/SelectProducts/server.js +2 -2
  71. package/es/components/productExtension/fields/SelectResourcesTable/server.js +2 -2
  72. package/es/components/productExtension/server.js +2 -2
  73. package/es/components/productSelect/components/productGroup/index.js +4 -20
  74. package/es/components/productSelect/components/productGroup/index.less +0 -17
  75. package/es/components/ruleSetting/ruleBorder/index.js +1 -1
  76. package/es/components/schedules/calendar/index.js +4 -4
  77. package/es/components/schedules/calendar/serve.js +2 -2
  78. package/es/components/schedules/components/CurrentDay/index.js +5 -5
  79. package/es/components/schedules/components/CurrentDay/serve.js +2 -2
  80. package/es/components/schedules/components/DropdownSort/index.js +1 -1
  81. package/es/components/schedules/components/ResourceList/index.js +1 -1
  82. package/es/components/schedules/components/Search/index.js +5 -5
  83. package/es/components/schedules/model.js +5 -5
  84. package/es/components/schedules/openHours/index.js +1 -1
  85. package/es/components/schedules/openHours/serve.js +2 -2
  86. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.js +1 -1
  87. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.js +5 -5
  88. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.js +4 -4
  89. package/es/components/schedules/products/ProductDetailDrawer/index.js +3 -3
  90. package/es/components/schedules/products/serve.js +2 -2
  91. package/es/components/schedules/products/utils.js +5 -5
  92. package/es/components/schedules/resources/detail/detailContent.js +2 -2
  93. package/es/components/schedules/resources/detail/index.js +10 -10
  94. package/es/components/schedules/resources/list/index.js +2 -2
  95. package/es/components/schedules/resources/relationProduct/index.js +1 -1
  96. package/es/components/schedules/resources/serve.js +2 -2
  97. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.js +9 -9
  98. package/es/components/schedules/utils.d.ts +1 -1
  99. package/es/components/schedules/utils.js +4 -4
  100. package/es/components/selectModal/index.js +2 -2
  101. package/es/components/shoppingCart/components/Cart/Product.js +7 -46
  102. package/es/components/shoppingCart/components/Cart/index.less +1 -15
  103. package/es/components/shoppingCart/type.d.ts +0 -1
  104. package/es/components/subTotal/index.less +1 -1
  105. package/es/components/ticketBooking/components/addServiceVariant/addService.js +291 -158
  106. package/es/components/ticketBooking/components/ticketBooking/index.js +34 -214
  107. package/es/components/ticketBooking/components/ticketBooking/index.less +1 -29
  108. package/es/components/ticketBooking/components/timeBar/index.d.ts +0 -1
  109. package/es/components/ticketBooking/components/timeBar/index.js +15 -19
  110. package/es/components/ticketBooking/index.js +3 -21
  111. package/es/components/ticketBooking/index.less +1 -1
  112. package/es/components/ticketBooking/locales.d.ts +3 -9
  113. package/es/components/ticketBooking/locales.js +3 -9
  114. package/es/components/ticketBooking/serve.js +11 -11
  115. package/es/components/ticketBooking/utils/index.d.ts +4 -39
  116. package/es/components/ticketBooking/utils/index.js +28 -109
  117. package/es/hooks/useComponents.js +1 -1
  118. package/es/index.d.ts +0 -4
  119. package/es/index.js +1 -5
  120. package/es/utils/index.d.ts +1 -1
  121. package/lib/components/Sales/Cart/index.js +0 -1
  122. package/lib/components/Sales/Summary/utils.d.ts +1 -1
  123. package/lib/components/booking/addons/index.js +1 -4
  124. package/lib/components/booking/components/footer/amount.d.ts +0 -1
  125. package/lib/components/booking/components/footer/amount.js +3 -5
  126. package/lib/components/booking/components/footer/index.js +23 -96
  127. package/lib/components/booking/components/footer/index.less +2 -3
  128. package/lib/components/booking/components/footer/utils.js +12 -37
  129. package/lib/components/booking/components/tabPane/index.js +4 -57
  130. package/lib/components/booking/components/tabPane/index.less +1 -75
  131. package/lib/components/booking/components/voucher/index.js +11 -23
  132. package/lib/components/booking/components/voucher/index.less +1 -1
  133. package/lib/components/booking/dashboard/index.d.ts +1 -1
  134. package/lib/components/booking/dashboard/index.js +2 -7
  135. package/lib/components/booking/forms/forms.js +1 -1
  136. package/lib/components/booking/hooks/useQuotation.js +2 -4
  137. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  138. package/lib/components/booking/info/hooks/useInfoHolder.js +6 -12
  139. package/lib/components/booking/info/index.less +3 -19
  140. package/lib/components/booking/info/main.js +5 -12
  141. package/lib/components/booking/info/pet/index.less +1 -1
  142. package/lib/components/booking/info/service/Lists.js +2 -6
  143. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  144. package/lib/components/booking/info/service/index.less +1 -1
  145. package/lib/components/booking/info/service/serviceItem/index.js +2 -2
  146. package/lib/components/booking/info/service2/utils.d.ts +0 -4
  147. package/lib/components/booking/info/service2/utils.js +2 -23
  148. package/lib/components/booking/info2/index.js +9 -30
  149. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  150. package/lib/components/booking/info2/service/addTimeModal/index.js +0 -1
  151. package/lib/components/booking/info2/service/editService/index.js +3 -3
  152. package/lib/components/booking/info2/service/index.js +6 -6
  153. package/lib/components/booking/info2/service/serviceItem/index.js +2 -2
  154. package/lib/components/booking/info2/utilsByBooking.d.ts +0 -1
  155. package/lib/components/booking/info2/utilsByBooking.js +4 -24
  156. package/lib/components/booking/locales.d.ts +0 -78
  157. package/lib/components/booking/locales.js +4 -100
  158. package/lib/components/booking/notes/addNote/index.d.ts +1 -1
  159. package/lib/components/booking/notes/addNote/index.js +23 -41
  160. package/lib/components/booking/notes/addNote/index.less +0 -53
  161. package/lib/components/booking/utils.d.ts +2 -2
  162. package/lib/components/eftposPay/amount.d.ts +1 -1
  163. package/lib/components/eftposPay/device.d.ts +1 -1
  164. package/lib/components/eftposPay/hooks.d.ts +2 -2
  165. package/lib/components/eftposPay/store/index.d.ts +6 -6
  166. package/lib/components/productSelect/components/productGroup/index.js +3 -16
  167. package/lib/components/productSelect/components/productGroup/index.less +0 -17
  168. package/lib/components/schedules/utils.d.ts +1 -1
  169. package/lib/components/schedules/utils.js +1 -1
  170. package/lib/components/shoppingCart/components/Cart/Product.js +9 -45
  171. package/lib/components/shoppingCart/components/Cart/index.less +1 -15
  172. package/lib/components/shoppingCart/type.d.ts +0 -1
  173. package/lib/components/subTotal/index.less +1 -1
  174. package/lib/components/ticketBooking/components/addServiceVariant/addService.js +185 -45
  175. package/lib/components/ticketBooking/components/ticketBooking/index.js +81 -233
  176. package/lib/components/ticketBooking/components/ticketBooking/index.less +1 -29
  177. package/lib/components/ticketBooking/components/timeBar/index.d.ts +0 -1
  178. package/lib/components/ticketBooking/components/timeBar/index.js +8 -15
  179. package/lib/components/ticketBooking/index.js +4 -31
  180. package/lib/components/ticketBooking/index.less +1 -1
  181. package/lib/components/ticketBooking/locales.d.ts +3 -9
  182. package/lib/components/ticketBooking/locales.js +3 -9
  183. package/lib/components/ticketBooking/serve.js +11 -11
  184. package/lib/components/ticketBooking/utils/index.d.ts +4 -39
  185. package/lib/components/ticketBooking/utils/index.js +30 -69
  186. package/lib/index.d.ts +0 -4
  187. package/lib/index.js +0 -12
  188. package/lib/utils/index.d.ts +1 -1
  189. package/package.json +25 -25
  190. package/es/components/booking/components/actionButtons/index.d.ts +0 -31
  191. package/es/components/booking/components/actionButtons/index.js +0 -486
  192. package/es/components/booking/components/actionButtons/index.less +0 -215
  193. package/es/components/booking/components/clearCartModal/index.d.ts +0 -10
  194. package/es/components/booking/components/clearCartModal/index.js +0 -50
  195. package/es/components/booking/components/clearCartModal/index.less +0 -109
  196. package/es/components/booking/components/customiseItemModal/index.d.ts +0 -28
  197. package/es/components/booking/components/customiseItemModal/index.js +0 -298
  198. package/es/components/booking/components/customiseItemModal/index.less +0 -606
  199. package/es/components/booking/components/voucherModal/index.d.ts +0 -19
  200. package/es/components/booking/components/voucherModal/index.js +0 -47
  201. package/es/components/booking/components/voucherModal/index.less +0 -23
  202. package/es/components/booking/info2/cartClientCard/index.d.ts +0 -6
  203. package/es/components/booking/info2/cartClientCard/index.js +0 -343
  204. package/es/components/booking/info2/cartClientCard/index.less +0 -6
  205. package/es/components/booking/info2/cartClientCard/locales.d.ts +0 -21
  206. package/es/components/booking/info2/cartClientCard/locales.js +0 -26
  207. package/es/components/booking/info2/cartClientCard/types.d.ts +0 -13
  208. package/es/components/booking/info2/cartClientCard/types.js +0 -1
  209. package/es/components/booking/info2/cartClientCard/utils.d.ts +0 -3
  210. package/es/components/booking/info2/cartClientCard/utils.js +0 -7
  211. package/es/components/booking/info2/service/editNormalService/index.d.ts +0 -3
  212. package/es/components/booking/info2/service/editNormalService/index.js +0 -67
  213. package/es/components/ticketBooking/components/addServiceVariant/utils.d.ts +0 -8
  214. package/es/components/ticketBooking/components/addServiceVariant/utils.js +0 -191
  215. package/es/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.d.ts +0 -7
  216. package/es/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.js +0 -33
  217. package/es/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.less +0 -5
  218. package/es/components/ticketBooking/components/bookingDataPanel/bookingList/index.d.ts +0 -12
  219. package/es/components/ticketBooking/components/bookingDataPanel/bookingList/index.js +0 -213
  220. package/es/components/ticketBooking/components/bookingDataPanel/bookingList/index.less +0 -69
  221. package/es/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +0 -6
  222. package/es/components/ticketBooking/components/bookingDataPanel/bookingList/utils.js +0 -79
  223. package/es/components/ticketBooking/components/bookingDataPanel/constants.d.ts +0 -22
  224. package/es/components/ticketBooking/components/bookingDataPanel/constants.js +0 -25
  225. package/es/components/ticketBooking/components/bookingDataPanel/index.d.ts +0 -9
  226. package/es/components/ticketBooking/components/bookingDataPanel/index.js +0 -74
  227. package/es/components/ticketBooking/components/bookingDataPanel/index.less +0 -61
  228. package/es/components/ticketBooking/components/bookingDataPanel/pisellFloatingPanel/index.d.ts +0 -14
  229. package/es/components/ticketBooking/components/bookingDataPanel/pisellFloatingPanel/index.js +0 -71
  230. package/es/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
  231. package/es/components/ticketBooking/components/bookingDataPanel/serve.js +0 -0
  232. package/es/components/ticketBooking/components/floatButtons/index.d.ts +0 -11
  233. package/es/components/ticketBooking/components/floatButtons/index.js +0 -19
  234. package/es/components/ticketBooking/components/floatButtons/index.less +0 -17
  235. package/es/components/ticketBooking/hooks/pisellos/bookingTicket.d.ts +0 -1
  236. package/es/components/ticketBooking/hooks/pisellos/bookingTicket.js +0 -5
  237. package/es/components/ticketBooking/hooks/pisellos/index.d.ts +0 -3
  238. package/es/components/ticketBooking/hooks/pisellos/index.js +0 -3
  239. package/es/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +0 -25
  240. package/es/components/ticketBooking/hooks/pisellos/useCustomer.js +0 -247
  241. package/es/components/ticketBooking/hooks/pisellos/useProducts.d.ts +0 -12
  242. package/es/components/ticketBooking/hooks/pisellos/useProducts.js +0 -52
  243. package/es/components/ticketBooking/hooks/pisellos/useScanCustomer.d.ts +0 -5
  244. package/es/components/ticketBooking/hooks/pisellos/useScanCustomer.js +0 -30
  245. package/es/components/ticketBooking/hooks/pisellos/useScanGlobal.d.ts +0 -5
  246. package/es/components/ticketBooking/hooks/pisellos/useScanGlobal.js +0 -29
  247. package/es/components/ticketBooking/hooks/pisellos/useScanGlobalHandle.d.ts +0 -2
  248. package/es/components/ticketBooking/hooks/pisellos/useScanGlobalHandle.js +0 -49
  249. package/es/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +0 -6
  250. package/es/components/ticketBooking/hooks/pisellos/useScanManager.js +0 -20
  251. package/es/hooks/useToast.d.ts +0 -2
  252. package/es/hooks/useToast.js +0 -9
  253. package/es/hooks/useTranslationOriginal.d.ts +0 -1
  254. package/es/hooks/useTranslationOriginal.js +0 -10
  255. package/es/plus/clientCard/index.d.ts +0 -7
  256. package/es/plus/clientCard/index.js +0 -452
  257. package/es/plus/clientCard/index.less +0 -536
  258. package/es/plus/clientCard/line/index.d.ts +0 -9
  259. package/es/plus/clientCard/line/index.js +0 -157
  260. package/es/plus/clientCard/line/index.less +0 -142
  261. package/es/plus/clientCard/locales.d.ts +0 -18
  262. package/es/plus/clientCard/locales.js +0 -17
  263. package/es/plus/clientCard/types.d.ts +0 -126
  264. package/es/plus/clientCard/types.js +0 -1
  265. package/es/plus/clientCard/utils.d.ts +0 -8
  266. package/es/plus/clientCard/utils.js +0 -59
  267. package/es/plus/clientName/index.d.ts +0 -4
  268. package/es/plus/clientName/index.js +0 -18
  269. package/es/plus/clientName/index.less +0 -10
  270. package/es/plus/clientName/type.d.ts +0 -13
  271. package/es/plus/clientName/type.js +0 -1
  272. package/es/plus/clientName/utils.d.ts +0 -2
  273. package/es/plus/clientName/utils.js +0 -18
  274. package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +0 -2
  275. package/es/plus/clinetSearch/Add/BirthdayField/index.js +0 -277
  276. package/es/plus/clinetSearch/Add/GenderField/index.d.ts +0 -2
  277. package/es/plus/clinetSearch/Add/GenderField/index.js +0 -18
  278. package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -2
  279. package/es/plus/clinetSearch/Add/PhoneField/index.js +0 -52
  280. package/es/plus/clinetSearch/Add/PhoneField/serve.d.ts +0 -2
  281. package/es/plus/clinetSearch/Add/PhoneField/serve.js +0 -166
  282. package/es/plus/clinetSearch/Add/index.d.ts +0 -18
  283. package/es/plus/clinetSearch/Add/index.js +0 -212
  284. package/es/plus/clinetSearch/Add/index.less +0 -30
  285. package/es/plus/clinetSearch/InfiniteScroll/InfiniteScroll.d.ts +0 -5
  286. package/es/plus/clinetSearch/InfiniteScroll/InfiniteScroll.js +0 -265
  287. package/es/plus/clinetSearch/InfiniteScroll/index.d.ts +0 -2
  288. package/es/plus/clinetSearch/InfiniteScroll/index.js +0 -1
  289. package/es/plus/clinetSearch/InfiniteScroll/types.d.ts +0 -46
  290. package/es/plus/clinetSearch/InfiniteScroll/types.js +0 -1
  291. package/es/plus/clinetSearch/index.d.ts +0 -18
  292. package/es/plus/clinetSearch/index.js +0 -214
  293. package/es/plus/clinetSearch/index.less +0 -91
  294. package/es/plus/clinetSearch/locales.d.ts +0 -102
  295. package/es/plus/clinetSearch/locales.js +0 -101
  296. package/es/plus/clinetSearch/serve.d.ts +0 -1
  297. package/es/plus/clinetSearch/serve.js +0 -31
  298. package/es/plus/clinetSearch/types.d.ts +0 -49
  299. package/es/plus/clinetSearch/types.js +0 -1
  300. package/es/plus/noteModal/AddTempModal.d.ts +0 -7
  301. package/es/plus/noteModal/AddTempModal.js +0 -64
  302. package/es/plus/noteModal/index.d.ts +0 -4
  303. package/es/plus/noteModal/index.js +0 -199
  304. package/es/plus/noteModal/index.less +0 -168
  305. package/es/plus/noteModal/locales.d.ts +0 -33
  306. package/es/plus/noteModal/locales.js +0 -32
  307. package/es/plus/noteModal/types.d.ts +0 -17
  308. package/es/plus/noteModal/types.js +0 -1
  309. package/es/pro/comprehensiveSearch/camera.svg +0 -4
  310. package/es/pro/comprehensiveSearch/hooks/useNativeScanner.d.ts +0 -5
  311. package/es/pro/comprehensiveSearch/hooks/useNativeScanner.js +0 -24
  312. package/es/pro/comprehensiveSearch/hooks/useTerminalPeripherals.d.ts +0 -9
  313. package/es/pro/comprehensiveSearch/hooks/useTerminalPeripherals.js +0 -44
  314. package/es/pro/comprehensiveSearch/index.d.ts +0 -9
  315. package/es/pro/comprehensiveSearch/index.js +0 -342
  316. package/es/pro/comprehensiveSearch/index.less +0 -323
  317. package/es/pro/comprehensiveSearch/locales.d.ts +0 -18
  318. package/es/pro/comprehensiveSearch/locales.js +0 -17
  319. package/es/pro/comprehensiveSearch/types.d.ts +0 -31
  320. package/es/pro/comprehensiveSearch/types.js +0 -1
  321. package/es/pro/numberKeyboard/index.d.ts +0 -28
  322. package/es/pro/numberKeyboard/index.js +0 -155
  323. package/es/pro/numberKeyboard/index.less +0 -25
  324. package/es/pro/numberKeyboard/locales.d.ts +0 -12
  325. package/es/pro/numberKeyboard/locales.js +0 -11
  326. package/es/pro/pisellNumberSelector/example.d.ts +0 -3
  327. package/es/pro/pisellNumberSelector/example.js +0 -68
  328. package/es/pro/pisellNumberSelector/index.d.ts +0 -26
  329. package/es/pro/pisellNumberSelector/index.js +0 -250
  330. package/es/pro/pisellNumberSelector/index.less +0 -193
  331. package/es/pro/pisellPhoneKeyboard/index.d.ts +0 -12
  332. package/es/pro/pisellPhoneKeyboard/index.js +0 -211
  333. package/es/pro/pisellPhoneKeyboard/index.less +0 -157
  334. package/es/pro/pisellPhoneKeyboard/locales.d.ts +0 -12
  335. package/es/pro/pisellPhoneKeyboard/locales.js +0 -11
  336. package/es/pro/pisellPriceKeyboardModal/PisellPriceKeyboardModal.d.ts +0 -5
  337. package/es/pro/pisellPriceKeyboardModal/PisellPriceKeyboardModal.js +0 -158
  338. package/es/pro/pisellPriceKeyboardModal/PisellPriceKeyboardModal.less +0 -13
  339. package/es/pro/pisellPriceKeyboardModal/index.d.ts +0 -2
  340. package/es/pro/pisellPriceKeyboardModal/index.js +0 -1
  341. package/es/pro/pisellPriceKeyboardModal/types.d.ts +0 -25
  342. package/es/pro/pisellPriceKeyboardModal/types.js +0 -1
  343. package/es/pro/pisellPriceRadio/index.d.ts +0 -26
  344. package/es/pro/pisellPriceRadio/index.js +0 -113
  345. package/es/pro/pisellPriceRadio/index.less +0 -158
  346. package/es/pro/skuDetailModal/index.d.ts +0 -5
  347. package/es/pro/skuDetailModal/index.js +0 -352
  348. package/es/pro/skuDetailModal/index.less +0 -236
  349. package/es/pro/skuDetailModal/locales.d.ts +0 -48
  350. package/es/pro/skuDetailModal/locales.js +0 -47
  351. package/es/pro/skuDetailModal/types.d.ts +0 -347
  352. package/es/pro/skuDetailModal/types.js +0 -1
  353. package/lib/components/booking/components/actionButtons/index.d.ts +0 -31
  354. package/lib/components/booking/components/actionButtons/index.js +0 -386
  355. package/lib/components/booking/components/actionButtons/index.less +0 -215
  356. package/lib/components/booking/components/clearCartModal/index.d.ts +0 -10
  357. package/lib/components/booking/components/clearCartModal/index.js +0 -80
  358. package/lib/components/booking/components/clearCartModal/index.less +0 -109
  359. package/lib/components/booking/components/customiseItemModal/index.d.ts +0 -28
  360. package/lib/components/booking/components/customiseItemModal/index.js +0 -285
  361. package/lib/components/booking/components/customiseItemModal/index.less +0 -606
  362. package/lib/components/booking/components/voucherModal/index.d.ts +0 -19
  363. package/lib/components/booking/components/voucherModal/index.js +0 -83
  364. package/lib/components/booking/components/voucherModal/index.less +0 -23
  365. package/lib/components/booking/info2/cartClientCard/index.d.ts +0 -6
  366. package/lib/components/booking/info2/cartClientCard/index.js +0 -298
  367. package/lib/components/booking/info2/cartClientCard/index.less +0 -6
  368. package/lib/components/booking/info2/cartClientCard/locales.d.ts +0 -21
  369. package/lib/components/booking/info2/cartClientCard/locales.js +0 -50
  370. package/lib/components/booking/info2/cartClientCard/types.d.ts +0 -13
  371. package/lib/components/booking/info2/cartClientCard/types.js +0 -17
  372. package/lib/components/booking/info2/cartClientCard/utils.d.ts +0 -3
  373. package/lib/components/booking/info2/cartClientCard/utils.js +0 -37
  374. package/lib/components/booking/info2/service/editNormalService/index.d.ts +0 -3
  375. package/lib/components/booking/info2/service/editNormalService/index.js +0 -100
  376. package/lib/components/ticketBooking/components/addServiceVariant/utils.d.ts +0 -8
  377. package/lib/components/ticketBooking/components/addServiceVariant/utils.js +0 -174
  378. package/lib/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.d.ts +0 -7
  379. package/lib/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.js +0 -75
  380. package/lib/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.less +0 -5
  381. package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/index.d.ts +0 -12
  382. package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/index.js +0 -210
  383. package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/index.less +0 -69
  384. package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +0 -6
  385. package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/utils.js +0 -105
  386. package/lib/components/ticketBooking/components/bookingDataPanel/constants.d.ts +0 -22
  387. package/lib/components/ticketBooking/components/bookingDataPanel/constants.js +0 -57
  388. package/lib/components/ticketBooking/components/bookingDataPanel/index.d.ts +0 -9
  389. package/lib/components/ticketBooking/components/bookingDataPanel/index.js +0 -113
  390. package/lib/components/ticketBooking/components/bookingDataPanel/index.less +0 -61
  391. package/lib/components/ticketBooking/components/bookingDataPanel/pisellFloatingPanel/index.d.ts +0 -14
  392. package/lib/components/ticketBooking/components/bookingDataPanel/pisellFloatingPanel/index.js +0 -84
  393. package/lib/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
  394. package/lib/components/ticketBooking/components/bookingDataPanel/serve.js +0 -0
  395. package/lib/components/ticketBooking/components/floatButtons/index.d.ts +0 -11
  396. package/lib/components/ticketBooking/components/floatButtons/index.js +0 -52
  397. package/lib/components/ticketBooking/components/floatButtons/index.less +0 -17
  398. package/lib/components/ticketBooking/hooks/pisellos/bookingTicket.d.ts +0 -1
  399. package/lib/components/ticketBooking/hooks/pisellos/bookingTicket.js +0 -33
  400. package/lib/components/ticketBooking/hooks/pisellos/index.d.ts +0 -3
  401. package/lib/components/ticketBooking/hooks/pisellos/index.js +0 -27
  402. package/lib/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +0 -25
  403. package/lib/components/ticketBooking/hooks/pisellos/useCustomer.js +0 -147
  404. package/lib/components/ticketBooking/hooks/pisellos/useProducts.d.ts +0 -12
  405. package/lib/components/ticketBooking/hooks/pisellos/useProducts.js +0 -47
  406. package/lib/components/ticketBooking/hooks/pisellos/useScanCustomer.d.ts +0 -5
  407. package/lib/components/ticketBooking/hooks/pisellos/useScanCustomer.js +0 -64
  408. package/lib/components/ticketBooking/hooks/pisellos/useScanGlobal.d.ts +0 -5
  409. package/lib/components/ticketBooking/hooks/pisellos/useScanGlobal.js +0 -65
  410. package/lib/components/ticketBooking/hooks/pisellos/useScanGlobalHandle.d.ts +0 -2
  411. package/lib/components/ticketBooking/hooks/pisellos/useScanGlobalHandle.js +0 -83
  412. package/lib/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +0 -6
  413. package/lib/components/ticketBooking/hooks/pisellos/useScanManager.js +0 -44
  414. package/lib/hooks/useToast.d.ts +0 -2
  415. package/lib/hooks/useToast.js +0 -42
  416. package/lib/hooks/useTranslationOriginal.d.ts +0 -1
  417. package/lib/hooks/useTranslationOriginal.js +0 -42
  418. package/lib/plus/clientCard/index.d.ts +0 -7
  419. package/lib/plus/clientCard/index.js +0 -442
  420. package/lib/plus/clientCard/index.less +0 -536
  421. package/lib/plus/clientCard/line/index.d.ts +0 -9
  422. package/lib/plus/clientCard/line/index.js +0 -153
  423. package/lib/plus/clientCard/line/index.less +0 -142
  424. package/lib/plus/clientCard/locales.d.ts +0 -18
  425. package/lib/plus/clientCard/locales.js +0 -41
  426. package/lib/plus/clientCard/types.d.ts +0 -126
  427. package/lib/plus/clientCard/types.js +0 -17
  428. package/lib/plus/clientCard/utils.d.ts +0 -8
  429. package/lib/plus/clientCard/utils.js +0 -75
  430. package/lib/plus/clientName/index.d.ts +0 -4
  431. package/lib/plus/clientName/index.js +0 -53
  432. package/lib/plus/clientName/index.less +0 -10
  433. package/lib/plus/clientName/type.d.ts +0 -13
  434. package/lib/plus/clientName/type.js +0 -17
  435. package/lib/plus/clientName/utils.d.ts +0 -2
  436. package/lib/plus/clientName/utils.js +0 -43
  437. package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +0 -2
  438. package/lib/plus/clinetSearch/Add/BirthdayField/index.js +0 -256
  439. package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +0 -2
  440. package/lib/plus/clinetSearch/Add/GenderField/index.js +0 -52
  441. package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -2
  442. package/lib/plus/clinetSearch/Add/PhoneField/index.js +0 -78
  443. package/lib/plus/clinetSearch/Add/PhoneField/serve.d.ts +0 -2
  444. package/lib/plus/clinetSearch/Add/PhoneField/serve.js +0 -193
  445. package/lib/plus/clinetSearch/Add/index.d.ts +0 -18
  446. package/lib/plus/clinetSearch/Add/index.js +0 -243
  447. package/lib/plus/clinetSearch/Add/index.less +0 -30
  448. package/lib/plus/clinetSearch/InfiniteScroll/InfiniteScroll.d.ts +0 -5
  449. package/lib/plus/clinetSearch/InfiniteScroll/InfiniteScroll.js +0 -235
  450. package/lib/plus/clinetSearch/InfiniteScroll/index.d.ts +0 -2
  451. package/lib/plus/clinetSearch/InfiniteScroll/index.js +0 -35
  452. package/lib/plus/clinetSearch/InfiniteScroll/types.d.ts +0 -46
  453. package/lib/plus/clinetSearch/InfiniteScroll/types.js +0 -17
  454. package/lib/plus/clinetSearch/index.d.ts +0 -18
  455. package/lib/plus/clinetSearch/index.js +0 -205
  456. package/lib/plus/clinetSearch/index.less +0 -91
  457. package/lib/plus/clinetSearch/locales.d.ts +0 -102
  458. package/lib/plus/clinetSearch/locales.js +0 -125
  459. package/lib/plus/clinetSearch/serve.d.ts +0 -1
  460. package/lib/plus/clinetSearch/serve.js +0 -33
  461. package/lib/plus/clinetSearch/types.d.ts +0 -49
  462. package/lib/plus/clinetSearch/types.js +0 -17
  463. package/lib/plus/noteModal/AddTempModal.d.ts +0 -7
  464. package/lib/plus/noteModal/AddTempModal.js +0 -95
  465. package/lib/plus/noteModal/index.d.ts +0 -4
  466. package/lib/plus/noteModal/index.js +0 -199
  467. package/lib/plus/noteModal/index.less +0 -168
  468. package/lib/plus/noteModal/locales.d.ts +0 -33
  469. package/lib/plus/noteModal/locales.js +0 -56
  470. package/lib/plus/noteModal/types.d.ts +0 -17
  471. package/lib/plus/noteModal/types.js +0 -17
  472. package/lib/pro/comprehensiveSearch/camera.svg +0 -4
  473. package/lib/pro/comprehensiveSearch/hooks/useNativeScanner.d.ts +0 -5
  474. package/lib/pro/comprehensiveSearch/hooks/useNativeScanner.js +0 -56
  475. package/lib/pro/comprehensiveSearch/hooks/useTerminalPeripherals.d.ts +0 -9
  476. package/lib/pro/comprehensiveSearch/hooks/useTerminalPeripherals.js +0 -70
  477. package/lib/pro/comprehensiveSearch/index.d.ts +0 -9
  478. package/lib/pro/comprehensiveSearch/index.js +0 -259
  479. package/lib/pro/comprehensiveSearch/index.less +0 -323
  480. package/lib/pro/comprehensiveSearch/locales.d.ts +0 -18
  481. package/lib/pro/comprehensiveSearch/locales.js +0 -41
  482. package/lib/pro/comprehensiveSearch/types.d.ts +0 -31
  483. package/lib/pro/comprehensiveSearch/types.js +0 -17
  484. package/lib/pro/numberKeyboard/index.d.ts +0 -28
  485. package/lib/pro/numberKeyboard/index.js +0 -182
  486. package/lib/pro/numberKeyboard/index.less +0 -25
  487. package/lib/pro/numberKeyboard/locales.d.ts +0 -12
  488. package/lib/pro/numberKeyboard/locales.js +0 -35
  489. package/lib/pro/pisellNumberSelector/example.d.ts +0 -3
  490. package/lib/pro/pisellNumberSelector/example.js +0 -93
  491. package/lib/pro/pisellNumberSelector/index.d.ts +0 -26
  492. package/lib/pro/pisellNumberSelector/index.js +0 -270
  493. package/lib/pro/pisellNumberSelector/index.less +0 -193
  494. package/lib/pro/pisellPhoneKeyboard/index.d.ts +0 -12
  495. package/lib/pro/pisellPhoneKeyboard/index.js +0 -220
  496. package/lib/pro/pisellPhoneKeyboard/index.less +0 -157
  497. package/lib/pro/pisellPhoneKeyboard/locales.d.ts +0 -12
  498. package/lib/pro/pisellPhoneKeyboard/locales.js +0 -35
  499. package/lib/pro/pisellPriceKeyboardModal/PisellPriceKeyboardModal.d.ts +0 -5
  500. package/lib/pro/pisellPriceKeyboardModal/PisellPriceKeyboardModal.js +0 -158
  501. package/lib/pro/pisellPriceKeyboardModal/PisellPriceKeyboardModal.less +0 -13
  502. package/lib/pro/pisellPriceKeyboardModal/index.d.ts +0 -2
  503. package/lib/pro/pisellPriceKeyboardModal/index.js +0 -35
  504. package/lib/pro/pisellPriceKeyboardModal/types.d.ts +0 -25
  505. package/lib/pro/pisellPriceKeyboardModal/types.js +0 -17
  506. package/lib/pro/pisellPriceRadio/index.d.ts +0 -26
  507. package/lib/pro/pisellPriceRadio/index.js +0 -130
  508. package/lib/pro/pisellPriceRadio/index.less +0 -158
  509. package/lib/pro/skuDetailModal/index.d.ts +0 -5
  510. package/lib/pro/skuDetailModal/index.js +0 -311
  511. package/lib/pro/skuDetailModal/index.less +0 -236
  512. package/lib/pro/skuDetailModal/locales.d.ts +0 -48
  513. package/lib/pro/skuDetailModal/locales.js +0 -71
  514. package/lib/pro/skuDetailModal/types.d.ts +0 -347
  515. package/lib/pro/skuDetailModal/types.js +0 -17
  516. package/lowcode/client-card/fragments/cardStyle.ts +0 -63
  517. package/lowcode/client-card/fragments/nameStyle.ts +0 -34
  518. package/lowcode/client-card/fragments/pisellAvatar.ts +0 -87
  519. package/lowcode/client-card/fragments/tagConfig.ts +0 -88
  520. package/lowcode/client-card/meta.ts +0 -337
  521. package/lowcode/comprehensive-search/meta.ts +0 -261
@@ -33,7 +33,6 @@ __export(utilsByBooking_exports, {
33
33
  formatTimes: () => formatTimes,
34
34
  getAppointmentTimingPreference: () => getAppointmentTimingPreference,
35
35
  getErrorList: () => getErrorList,
36
- getIsNoSpecAndPackage: () => getIsNoSpecAndPackage,
37
36
  getResourceTimeIsUsable: () => getResourceTimeIsUsable,
38
37
  getServiceStartTimeAndEndTime: () => getServiceStartTimeAndEndTime,
39
38
  getSumCapacity: () => getSumCapacity
@@ -42,8 +41,6 @@ module.exports = __toCommonJS(utilsByBooking_exports);
42
41
  var import_dayjs = __toESM(require("dayjs"));
43
42
  var import_utils = require("@pisell/utils");
44
43
  var import_utils2 = require("../utils");
45
- var import_utils3 = require("../info/service2/utils");
46
- var import_utils4 = require("../../ticketBooking/components/addServiceVariant/utils");
47
44
  var getUseableEventCount = (eventList, current) => {
48
45
  return (eventList || []).reduce((pre, event) => {
49
46
  return pre - event.pax;
@@ -211,21 +208,15 @@ var getAppointmentTimingPreference = (state) => {
211
208
  return ((_c = (_b = (_a = state == null ? void 0 : state.bookingConfig) == null ? void 0 : _a.config) == null ? void 0 : _b.information_tab) == null ? void 0 : _c.appointment_timing_preference) || "sequential";
212
209
  };
213
210
  var getServiceStartTimeAndEndTime = (state, cacheItem, timeObj) => {
214
- var _a, _b, _c, _d;
215
- if (cacheItem == null ? void 0 : cacheItem.isCustomItem) {
216
- return {
217
- duration: null
218
- // 自定义商品没有时长概念
219
- };
220
- }
211
+ var _a, _b, _c;
221
212
  const appointmentTimingPreference = getAppointmentTimingPreference(state);
222
- let lastServer = (0, import_utils2.getLastServer)((_a = state.service.value) == null ? void 0 : _a.filter((item) => !item.isCustomItem));
213
+ let lastServer = (0, import_utils2.getLastServer)(state.service.value);
223
214
  let _extend = {
224
215
  // 时长: 当前商品时长 > 第一个时长
225
216
  duration: (0, import_utils2.findNextDuration)(
226
217
  cacheItem.duration,
227
218
  timeObj.durationSlicesBasedOnTime,
228
- (_b = cacheItem == null ? void 0 : cacheItem.duration) == null ? void 0 : _b.value
219
+ (_a = cacheItem == null ? void 0 : cacheItem.duration) == null ? void 0 : _a.value
229
220
  )
230
221
  };
231
222
  if (lastServer) {
@@ -268,7 +259,7 @@ var getServiceStartTimeAndEndTime = (state, cacheItem, timeObj) => {
268
259
  const { startDate, endDate } = (0, import_utils2.getServiceTimes)({ _extend });
269
260
  _extend.startDate = startDate;
270
261
  _extend.endDate = endDate;
271
- const session = (_d = (_c = cacheItem == null ? void 0 : cacheItem._extend) == null ? void 0 : _c.other) == null ? void 0 : _d.session;
262
+ const session = (_c = (_b = cacheItem == null ? void 0 : cacheItem._extend) == null ? void 0 : _b.other) == null ? void 0 : _c.session;
272
263
  if ((0, import_utils2.isSessionProduct)(cacheItem) && session) {
273
264
  _extend.start_date = session.start_at;
274
265
  _extend.startDate = session.start_at;
@@ -279,23 +270,12 @@ var getServiceStartTimeAndEndTime = (state, cacheItem, timeObj) => {
279
270
  }
280
271
  return _extend;
281
272
  };
282
- var getIsNoSpecAndPackage = (product) => {
283
- var _a, _b, _c, _d;
284
- if (!(0, import_utils3.isNormalProductByDurationSchedule)(product)) {
285
- return false;
286
- }
287
- if (product == null ? void 0 : product.isEditBooking) {
288
- return ((_a = product == null ? void 0 : product.product_bundle) == null ? void 0 : _a.length) === 0 && (product == null ? void 0 : product.product_variant_id) === 0 && (((_c = (_b = product == null ? void 0 : product.product_sku) == null ? void 0 : _b.option) == null ? void 0 : _c.length) || 0) === 0;
289
- }
290
- return (product == null ? void 0 : product.is_bundle) === 0 && (((_d = product == null ? void 0 : product.variant) == null ? void 0 : _d.length) || 0) === 0 && !(0, import_utils4.isOption)(product);
291
- };
292
273
  // Annotate the CommonJS export names for ESM import in node:
293
274
  0 && (module.exports = {
294
275
  formatResource,
295
276
  formatTimes,
296
277
  getAppointmentTimingPreference,
297
278
  getErrorList,
298
- getIsNoSpecAndPackage,
299
279
  getResourceTimeIsUsable,
300
280
  getServiceStartTimeAndEndTime,
301
281
  getSumCapacity
@@ -223,7 +223,6 @@ declare const _default: {
223
223
  'pisell2.booking.dashboard.departed-visitors': string;
224
224
  'pisell2.booking.dashboard.departed-visitors-tip': string;
225
225
  'pisell2.booking.dashboard.default': string;
226
- 'pisell2.booking.info.text.clear': string;
227
226
  'pisell2.booking.info.text.clear-cart': string;
228
227
  'pisell2.booking.info.text.clear-all': string;
229
228
  'pisell2.booking.info.text.create-new': string;
@@ -241,30 +240,6 @@ declare const _default: {
241
240
  'pisell2.text.missing.reservation.content': string;
242
241
  'pisell2.text.confirm': string;
243
242
  'pisell2.text.cancel': string;
244
- 'pisell2.action-buttons.clear': string;
245
- 'pisell2.action-buttons.manuel-order': string;
246
- 'pisell2.action-buttons.customise-item': string;
247
- 'pisell2.action-buttons.no-items-to-adjust': string;
248
- 'pisell2.action-buttons.adjust-order-price': string;
249
- 'pisell2.action-buttons.price-adjusted-success': string;
250
- 'pisell2.action-buttons.clear-success': string;
251
- 'pisell2.text.manual-price-adjustment': string;
252
- 'pisell2.customise-item.modal-title': string;
253
- 'pisell2.customise-item.product-name': string;
254
- 'pisell2.customise-item.default-product-name': string;
255
- 'pisell2.customise-item.vouchers-applicable': string;
256
- 'pisell2.customise-item.sell-price': string;
257
- 'pisell2.customise-item.manual-deduction-price': string;
258
- 'pisell2.customise-item.amount-placeholder': string;
259
- 'pisell2.customise-item.save': string;
260
- 'pisell2.customise-item.save-success': string;
261
- 'pisell2.customise-item.price-required-error': (priceType: string) => string;
262
- 'pisell2.subtotal.total': string;
263
- 'pisell2.clear-cart-modal.title': string;
264
- 'pisell2.clear-cart-modal.clear-items-only': string;
265
- 'pisell2.clear-cart-modal.clear-all-reset': string;
266
- 'pisell2.clear-cart-modal.empty-cart-tip': string;
267
- 'pisell2.voucher-modal.title': string;
268
243
  'pisell2.text.change.pet.title': string;
269
244
  'pisell2.text.change.pet.content': string;
270
245
  'pisell2.text.change.pet.content1': string;
@@ -298,7 +273,6 @@ declare const _default: {
298
273
  'pisell2.text.validity.valid_through': (str: string) => string;
299
274
  'pisell2.text.quotation.product.change.title': string;
300
275
  'pisell2.text.quotation.product.change.describe': string;
301
- 'pisell2.booking.notes.placeholder': string;
302
276
  };
303
277
  'zh-CN': {
304
278
  'pisell2.text.refunded-amount': string;
@@ -524,7 +498,6 @@ declare const _default: {
524
498
  'pisell2.booking.dashboard.departed-visitors': string;
525
499
  'pisell2.booking.dashboard.departed-visitors-tip': string;
526
500
  'pisell2.booking.dashboard.default': string;
527
- 'pisell2.booking.info.text.clear': string;
528
501
  'pisell2.booking.info.text.clear-cart': string;
529
502
  'pisell2.booking.info.text.clear-all': string;
530
503
  'pisell2.booking.info.text.create-new': string;
@@ -542,30 +515,6 @@ declare const _default: {
542
515
  'pisell2.text.missing.reservation.content': string;
543
516
  'pisell2.text.confirm': string;
544
517
  'pisell2.text.cancel': string;
545
- 'pisell2.action-buttons.clear': string;
546
- 'pisell2.action-buttons.manuel-order': string;
547
- 'pisell2.action-buttons.customise-item': string;
548
- 'pisell2.action-buttons.no-items-to-adjust': string;
549
- 'pisell2.action-buttons.adjust-order-price': string;
550
- 'pisell2.action-buttons.price-adjusted-success': string;
551
- 'pisell2.action-buttons.clear-success': string;
552
- 'pisell2.text.manual-price-adjustment': string;
553
- 'pisell2.customise-item.modal-title': string;
554
- 'pisell2.customise-item.product-name': string;
555
- 'pisell2.customise-item.default-product-name': string;
556
- 'pisell2.customise-item.vouchers-applicable': string;
557
- 'pisell2.customise-item.sell-price': string;
558
- 'pisell2.customise-item.manual-deduction-price': string;
559
- 'pisell2.customise-item.amount-placeholder': string;
560
- 'pisell2.customise-item.save': string;
561
- 'pisell2.customise-item.save-success': string;
562
- 'pisell2.customise-item.price-required-error': (priceType: string) => string;
563
- 'pisell2.subtotal.total': string;
564
- 'pisell2.clear-cart-modal.title': string;
565
- 'pisell2.clear-cart-modal.clear-items-only': string;
566
- 'pisell2.clear-cart-modal.clear-all-reset': string;
567
- 'pisell2.clear-cart-modal.empty-cart-tip': string;
568
- 'pisell2.voucher-modal.title': string;
569
518
  'pisell2.text.change.pet.title': string;
570
519
  'pisell2.text.change.pet.content': string;
571
520
  'pisell2.text.change.pet.content1': string;
@@ -599,7 +548,6 @@ declare const _default: {
599
548
  'pisell2.text.validity.valid_through': (str: string) => string;
600
549
  'pisell2.text.quotation.product.change.title': string;
601
550
  'pisell2.text.quotation.product.change.describe': string;
602
- 'pisell2.booking.notes.placeholder': string;
603
551
  };
604
552
  'zh-HK': {
605
553
  'pisell2.text.refunded-amount': string;
@@ -825,7 +773,6 @@ declare const _default: {
825
773
  'pisell2.booking.dashboard.departed-visitors': string;
826
774
  'pisell2.booking.dashboard.departed-visitors-tip': string;
827
775
  'pisell2.booking.dashboard.default': string;
828
- 'pisell2.booking.info.text.clear': string;
829
776
  'pisell2.booking.info.text.clear-cart': string;
830
777
  'pisell2.booking.info.text.clear-all': string;
831
778
  'pisell2.booking.info.text.create-new': string;
@@ -843,30 +790,6 @@ declare const _default: {
843
790
  'pisell2.text.missing.reservation.content': string;
844
791
  'pisell2.text.confirm': string;
845
792
  'pisell2.text.cancel': string;
846
- 'pisell2.action-buttons.clear': string;
847
- 'pisell2.action-buttons.manuel-order': string;
848
- 'pisell2.action-buttons.customise-item': string;
849
- 'pisell2.action-buttons.no-items-to-adjust': string;
850
- 'pisell2.action-buttons.adjust-order-price': string;
851
- 'pisell2.action-buttons.price-adjusted-success': string;
852
- 'pisell2.action-buttons.clear-success': string;
853
- 'pisell2.text.manual-price-adjustment': string;
854
- 'pisell2.customise-item.modal-title': string;
855
- 'pisell2.customise-item.product-name': string;
856
- 'pisell2.customise-item.default-product-name': string;
857
- 'pisell2.customise-item.vouchers-applicable': string;
858
- 'pisell2.customise-item.sell-price': string;
859
- 'pisell2.customise-item.manual-deduction-price': string;
860
- 'pisell2.customise-item.amount-placeholder': string;
861
- 'pisell2.customise-item.save': string;
862
- 'pisell2.customise-item.save-success': string;
863
- 'pisell2.customise-item.price-required-error': (priceType: string) => string;
864
- 'pisell2.subtotal.total': string;
865
- 'pisell2.clear-cart-modal.title': string;
866
- 'pisell2.clear-cart-modal.clear-items-only': string;
867
- 'pisell2.clear-cart-modal.clear-all-reset': string;
868
- 'pisell2.clear-cart-modal.empty-cart-tip': string;
869
- 'pisell2.voucher-modal.title': string;
870
793
  'pisell2.text.change.pet.title': string;
871
794
  'pisell2.text.change.pet.content': string;
872
795
  'pisell2.text.change.pet.content1': string;
@@ -900,7 +823,6 @@ declare const _default: {
900
823
  'pisell2.text.validity.valid_through': (str: string) => string;
901
824
  'pisell2.text.quotation.product.change.title': string;
902
825
  'pisell2.text.quotation.product.change.describe': string;
903
- 'pisell2.booking.notes.placeholder': string;
904
826
  };
905
827
  };
906
828
  export default _default;
@@ -77,7 +77,7 @@ var locales_default = {
77
77
  "pisell2.text.holder": "Holder",
78
78
  "pisell2.text.warnings": "Warnings",
79
79
  "pisell2.text.order-notes": "Order notes",
80
- "pisell2.text.add-order-notes": "Add Order Note",
80
+ "pisell2.text.add-order-notes": "Add Order note",
81
81
  "pisell2.text.add-internal-notes": "Add Internal note",
82
82
  "pisell2.text.add-notes": "Add Notes",
83
83
  "pisell2.text.notes": "Notes",
@@ -279,7 +279,6 @@ var locales_default = {
279
279
  "pisell2.booking.dashboard.departed-visitors": "Departed visitors",
280
280
  "pisell2.booking.dashboard.departed-visitors-tip": "Tip: Total number of visitors who checked in and have left the venue today",
281
281
  "pisell2.booking.dashboard.default": "Default",
282
- "pisell2.booking.info.text.clear": "Clear",
283
282
  "pisell2.booking.info.text.clear-cart": "Clear cart",
284
283
  "pisell2.booking.info.text.clear-all": "Clear all",
285
284
  "pisell2.booking.info.text.create-new": "Create new",
@@ -297,35 +296,6 @@ var locales_default = {
297
296
  "pisell2.text.missing.reservation.content": "You have not selected a reservation type, Please select one before proceeding.",
298
297
  "pisell2.text.confirm": "Confirm",
299
298
  "pisell2.text.cancel": "Cancel",
300
- // Action Buttons
301
- "pisell2.action-buttons.clear": "Clear",
302
- "pisell2.action-buttons.manuel-order": "Manual\nOrder $",
303
- "pisell2.action-buttons.customise-item": "Cust.\nItem",
304
- "pisell2.action-buttons.no-items-to-adjust": "No items in cart to adjust price.",
305
- "pisell2.action-buttons.adjust-order-price": "Adjust Order Price",
306
- "pisell2.action-buttons.price-adjusted-success": "Order price adjusted successfully.",
307
- "pisell2.action-buttons.clear-success": "Clear Success",
308
- "pisell2.text.manual-price-adjustment": "Discount",
309
- // Customise Item Modal
310
- "pisell2.customise-item.modal-title": "Create and Add Customise (Once-off) Item",
311
- "pisell2.customise-item.product-name": "Product Name",
312
- "pisell2.customise-item.default-product-name": "One-Off Item",
313
- "pisell2.customise-item.vouchers-applicable": "Vouchers/Discounts Applicable",
314
- "pisell2.customise-item.sell-price": "Sell Price",
315
- "pisell2.customise-item.manual-deduction-price": "Manual Deduction Price",
316
- "pisell2.customise-item.amount-placeholder": "Amount",
317
- "pisell2.customise-item.save": "Save",
318
- "pisell2.customise-item.save-success": "Custom item added successfully.",
319
- "pisell2.customise-item.price-required-error": (priceType) => `Please complete the input for ${priceType}.`,
320
- // SubTotal
321
- "pisell2.subtotal.total": "Total",
322
- // Clear Cart Modal
323
- "pisell2.clear-cart-modal.title": "Are you sure to clear cart?",
324
- "pisell2.clear-cart-modal.clear-items-only": "Clear Items Only",
325
- "pisell2.clear-cart-modal.clear-all-reset": "Clear All &\nReset Cart",
326
- "pisell2.clear-cart-modal.empty-cart-tip": "Cart is empty",
327
- // Voucher Modal
328
- "pisell2.voucher-modal.title": "Vouchers & Discounts",
329
299
  "pisell2.text.change.pet.title": "You have changed the holder information. Do you want to keep the items under their name?",
330
300
  "pisell2.text.change.pet.content": "Selecting “Keep” will move the items to Open Items. Selecting “Discard” will clear all items under the holder’s name.",
331
301
  "pisell2.text.change.pet.content1": "Reservation-type items cannot be added to the Open Items cart and will be removed.",
@@ -364,9 +334,7 @@ var locales_default = {
364
334
  return `Valid through ${str}`;
365
335
  },
366
336
  "pisell2.text.quotation.product.change.title": "Notification",
367
- "pisell2.text.quotation.product.change.describe": "Product updates available: Please refresh the following items to load the latest data.",
368
- // Notes
369
- "pisell2.booking.notes.placeholder": "Enter a note..."
337
+ "pisell2.text.quotation.product.change.describe": "Product updates available: Please refresh the following items to load the latest data."
370
338
  },
371
339
  "zh-CN": {
372
340
  "pisell2.text.refunded-amount": "已退金额",
@@ -618,7 +586,6 @@ var locales_default = {
618
586
  "pisell2.booking.dashboard.departed-visitors": "已离场的游客",
619
587
  "pisell2.booking.dashboard.departed-visitors-tip": "提示:今日已检票并离场的游客总人数",
620
588
  "pisell2.booking.dashboard.default": "默认",
621
- "pisell2.booking.info.text.clear": "清空",
622
589
  "pisell2.booking.info.text.clear-cart": "清空购物车",
623
590
  "pisell2.booking.info.text.clear-all": "清空",
624
591
  "pisell2.booking.info.text.create-new": "新建",
@@ -636,35 +603,6 @@ var locales_default = {
636
603
  "pisell2.text.missing.reservation.content": "您尚未选择预约类型,请在继续操作前选择。",
637
604
  "pisell2.text.confirm": "确定",
638
605
  "pisell2.text.cancel": "取消",
639
- // Action Buttons
640
- "pisell2.action-buttons.clear": "清空",
641
- "pisell2.action-buttons.manuel-order": "手动\n订单 $",
642
- "pisell2.action-buttons.customise-item": "自定义\n商品",
643
- "pisell2.action-buttons.no-items-to-adjust": "购物车中没有商品可调整价格。",
644
- "pisell2.action-buttons.adjust-order-price": "调整订单价格",
645
- "pisell2.action-buttons.price-adjusted-success": "订单价格调整成功。",
646
- "pisell2.action-buttons.clear-success": "清空成功",
647
- "pisell2.text.manual-price-adjustment": "折扣",
648
- // Customise Item Modal
649
- "pisell2.customise-item.modal-title": "创建并添加一次性商品",
650
- "pisell2.customise-item.product-name": "商品名称",
651
- "pisell2.customise-item.default-product-name": "一次性商品",
652
- "pisell2.customise-item.vouchers-applicable": "应用所有优惠 / 折扣",
653
- "pisell2.customise-item.sell-price": "售价",
654
- "pisell2.customise-item.manual-deduction-price": "手动减价金额",
655
- "pisell2.customise-item.amount-placeholder": "金额",
656
- "pisell2.customise-item.save": "保存",
657
- "pisell2.customise-item.save-success": "自定义商品添加成功。",
658
- "pisell2.customise-item.price-required-error": (priceType) => `请完成${priceType}的输入。`,
659
- // SubTotal
660
- "pisell2.subtotal.total": "总价",
661
- // Clear Cart Modal
662
- "pisell2.clear-cart-modal.title": "确定要清空购物车吗?",
663
- "pisell2.clear-cart-modal.clear-items-only": "仅清空商品",
664
- "pisell2.clear-cart-modal.clear-all-reset": "清空所有内容\n并重置购物车",
665
- "pisell2.clear-cart-modal.empty-cart-tip": "当前购物车为空",
666
- // Voucher Modal
667
- "pisell2.voucher-modal.title": "券码管理",
668
606
  "pisell2.text.change.pet.title": "您已变更持有人信息,是否保留该持有人名下的商品?",
669
607
  "pisell2.text.change.pet.content": "选择“保留”将商品添加到未分配商品(公共购物车)中;选择“不保留”将清空该持有人名下的所有商品。",
670
608
  "pisell2.text.change.pet.content1": "预约类商品无法添加到公共购物车,将会被删除。",
@@ -703,9 +641,7 @@ var locales_default = {
703
641
  return `有效期至 ${str} (含当日)`;
704
642
  },
705
643
  "pisell2.text.quotation.product.change.title": "提示",
706
- "pisell2.text.quotation.product.change.describe": "以下商品信息已更新,请重新编辑相关商品以同步最新数据。",
707
- // Notes
708
- "pisell2.booking.notes.placeholder": "输入备注..."
644
+ "pisell2.text.quotation.product.change.describe": "以下商品信息已更新,请重新编辑相关商品以同步最新数据。"
709
645
  },
710
646
  "zh-HK": {
711
647
  "pisell2.text.refunded-amount": "已退金額",
@@ -957,7 +893,6 @@ var locales_default = {
957
893
  "pisell2.booking.dashboard.departed-visitors": "已離場的遊客",
958
894
  "pisell2.booking.dashboard.departed-visitors-tip": "提示:今日已檢票並離場的遊客總人數",
959
895
  "pisell2.booking.dashboard.default": "默认",
960
- "pisell2.booking.info.text.clear": "清空",
961
896
  "pisell2.booking.info.text.clear-cart": "清空購物車",
962
897
  "pisell2.booking.info.text.clear-all": "清空",
963
898
  "pisell2.booking.info.text.create-new": "新建",
@@ -975,35 +910,6 @@ var locales_default = {
975
910
  "pisell2.text.missing.reservation.content": "您尚未選擇預約類型,請在繼續操作前選擇。",
976
911
  "pisell2.text.confirm": "確定",
977
912
  "pisell2.text.cancel": "取消",
978
- // Action Buttons
979
- "pisell2.action-buttons.clear": "清空",
980
- "pisell2.action-buttons.manuel-order": "手動\n訂單 $",
981
- "pisell2.action-buttons.customise-item": "自定義\n商品",
982
- "pisell2.action-buttons.no-items-to-adjust": "購物車中沒有商品可調整價格。",
983
- "pisell2.action-buttons.adjust-order-price": "調整訂單價格",
984
- "pisell2.action-buttons.price-adjusted-success": "訂單價格調整成功。",
985
- "pisell2.action-buttons.clear-success": "清空成功",
986
- "pisell2.text.manual-price-adjustment": "折扣",
987
- // Customise Item Modal
988
- "pisell2.customise-item.modal-title": "創建並添加一次性商品",
989
- "pisell2.customise-item.product-name": "商品名稱",
990
- "pisell2.customise-item.default-product-name": "一次性商品",
991
- "pisell2.customise-item.vouchers-applicable": "應用所有優惠 / 折扣",
992
- "pisell2.customise-item.sell-price": "售價",
993
- "pisell2.customise-item.manual-deduction-price": "手動減價金額",
994
- "pisell2.customise-item.amount-placeholder": "金額",
995
- "pisell2.customise-item.save": "保存",
996
- "pisell2.customise-item.save-success": "自定義商品添加成功。",
997
- "pisell2.customise-item.price-required-error": (priceType) => `請完成${priceType}的輸入。`,
998
- // SubTotal
999
- "pisell2.subtotal.total": "總價",
1000
- // Clear Cart Modal
1001
- "pisell2.clear-cart-modal.title": "確定要清空購物車嗎?",
1002
- "pisell2.clear-cart-modal.clear-items-only": "僅清空商品",
1003
- "pisell2.clear-cart-modal.clear-all-reset": "清空所有內容\n並重置購物車",
1004
- "pisell2.clear-cart-modal.empty-cart-tip": "當前購物車為空",
1005
- // Voucher Modal
1006
- "pisell2.voucher-modal.title": "券碼管理",
1007
913
  "pisell2.text.change.pet.title": "您已變更持有人信息,是否保留該持有人名下的商品?",
1008
914
  "pisell2.text.change.pet.content": "選擇“保留”將商品添加到未分配商品(公共購物車)中;選擇“不保留”將清空該持有人名下的所有商品。",
1009
915
  "pisell2.text.change.pet.content1": "預約類商品無法添加到公共購物車,將會被刪除。",
@@ -1042,8 +948,6 @@ var locales_default = {
1042
948
  return `有效期至 ${str} (含當日)`;
1043
949
  },
1044
950
  "pisell2.text.quotation.product.change.title": "提示",
1045
- "pisell2.text.quotation.product.change.describe": "以下商品信息已更新,请重新编辑相关商品以同步最新数据。",
1046
- // Notes
1047
- "pisell2.booking.notes.placeholder": "輸入備註..."
951
+ "pisell2.text.quotation.product.change.describe": "以下商品信息已更新,请重新编辑相关商品以同步最新数据。"
1048
952
  }
1049
953
  };
@@ -1,3 +1,3 @@
1
1
  import "./index.less";
2
- declare const AddNote: ({ value, onChange, title, placeholder }: any) => JSX.Element;
2
+ declare const AddNote: ({ value, onChange, wait, title, placeholder }: any) => JSX.Element;
3
3
  export default AddNote;
@@ -34,57 +34,39 @@ __export(addNote_exports, {
34
34
  module.exports = __toCommonJS(addNote_exports);
35
35
  var import_react = __toESM(require("react"));
36
36
  var import_antd = require("antd");
37
- var import_Edit05 = __toESM(require("@pisell/icon/es/Edit05"));
37
+ var import_ahooks = require("ahooks");
38
38
  var import_index = require("./index.less");
39
39
  var import_utils = require("@pisell/utils");
40
- var import_noteModal = __toESM(require("../../../../plus/noteModal"));
41
- var AddNote = ({ value, onChange, title, placeholder }) => {
42
- const [modalOpen, setModalOpen] = (0, import_react.useState)(false);
43
- const handleOpenModal = () => {
44
- setModalOpen(true);
40
+ var AddNote = ({ value, onChange, wait = 200, title, placeholder }) => {
41
+ const [_value, _setValue] = (0, import_react.useState)();
42
+ const debouncedValue = (0, import_ahooks.useDebounce)(_value, { wait });
43
+ (0, import_react.useEffect)(() => {
44
+ _setValue(value);
45
+ }, [value]);
46
+ const _onChange = (e) => {
47
+ _setValue(e.target.value);
45
48
  };
46
- const handleConfirm = (newValue) => {
47
- onChange == null ? void 0 : onChange(newValue);
48
- setModalOpen(false);
49
- };
50
- const handleDelete = () => {
51
- onChange == null ? void 0 : onChange("");
52
- setModalOpen(false);
53
- };
54
- const handleCancel = () => {
55
- setModalOpen(false);
56
- };
57
- return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-notes" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-notes-label" }, title), /* @__PURE__ */ import_react.default.createElement(
49
+ (0, import_ahooks.useUpdateEffect)(() => {
50
+ if (value !== debouncedValue) {
51
+ onChange(debouncedValue);
52
+ }
53
+ }, [debouncedValue]);
54
+ return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-notes" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-notes-label" }, title), /* @__PURE__ */ import_react.default.createElement(
58
55
  "div",
59
56
  {
60
- className: "pisell-lowcode__booking-notes-input-area",
61
- style: { marginTop: title ? 8 : 0 },
62
- onClick: handleOpenModal
57
+ className: "pisell-lowcode__booking-notes-input",
58
+ style: { marginTop: title ? 8 : 0 }
63
59
  },
64
- value ? /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-notes-content" }, value) : /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-notes-placeholder" }, placeholder || import_utils.locales.getText("pisell2.text.add-order-notes")),
65
60
  /* @__PURE__ */ import_react.default.createElement(
66
- import_antd.Button,
61
+ import_antd.Input.TextArea,
67
62
  {
68
- type: "text",
69
- icon: /* @__PURE__ */ import_react.default.createElement(import_Edit05.default, null),
70
- size: "small",
71
- className: "pisell-lowcode__booking-notes-edit-btn",
72
- onClick: (e) => {
73
- e.stopPropagation();
74
- handleOpenModal();
75
- }
63
+ placeholder: placeholder || import_utils.locales.getText("pisell2.text.add-order-notes"),
64
+ autoSize: { minRows: 4 },
65
+ allowClear: true,
66
+ value: _value,
67
+ onChange: _onChange
76
68
  }
77
69
  )
78
- )), /* @__PURE__ */ import_react.default.createElement(
79
- import_noteModal.default,
80
- {
81
- open: modalOpen,
82
- title: title || import_utils.locales.getText("pisell2.text.add-order-notes"),
83
- value,
84
- onConfirm: handleConfirm,
85
- onDelete: handleDelete,
86
- onCancel: handleCancel
87
- }
88
70
  ));
89
71
  };
90
72
  var addNote_default = AddNote;
@@ -1,7 +1,6 @@
1
1
  .pisell-lowcode__booking-notes {
2
2
  padding: 20px 0;
3
3
  }
4
-
5
4
  .pisell-lowcode__booking-notes-label {
6
5
  font-size: 16px;
7
6
  font-weight: 500;
@@ -11,58 +10,6 @@
11
10
  margin-top: 8px;
12
11
  }
13
12
 
14
- .pisell-lowcode__booking-notes-input-area {
15
- position: relative;
16
- min-height: 80px;
17
- padding: 12px;
18
- border: 1px solid #d9d9d9;
19
- border-radius: 6px;
20
- background-color: #ffffff;
21
- cursor: pointer;
22
- transition: all 0.2s;
23
-
24
- &:hover {
25
- border-color: #4096ff;
26
- }
27
-
28
- &:focus-within {
29
- border-color: #4096ff;
30
- box-shadow: 0 0 0 2px rgba(5, 145, 255, 0.1);
31
- }
32
- }
33
-
34
- .pisell-lowcode__booking-notes-content {
35
- font-size: 14px;
36
- color: rgba(0, 0, 0, 0.88);
37
- line-height: 1.5714285714285714;
38
- white-space: pre-wrap;
39
- word-break: break-word;
40
- padding-right: 32px;
41
- }
42
-
43
- .pisell-lowcode__booking-notes-placeholder {
44
- font-size: 14px;
45
- color: rgba(0, 0, 0, 0.25);
46
- line-height: 1.5714285714285714;
47
- padding-right: 32px;
48
- }
49
-
50
- .pisell-lowcode__booking-notes-edit-btn {
51
- position: absolute;
52
- top: 8px;
53
- right: 8px;
54
- display: flex;
55
- align-items: center;
56
- justify-content: center;
57
- width: 24px;
58
- height: 24px;
59
- color: rgba(0, 0, 0, 0.45);
60
-
61
- &:hover {
62
- color: #4096ff;
63
- }
64
- }
65
-
66
13
  .pisell-lowcode__booking-notes-desc {
67
14
  margin-top: 8px;
68
15
  }
@@ -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 | "flexible" | {
168
+ }) => number | {
169
169
  type: string;
170
170
  value: number;
171
- };
171
+ } | "flexible";
172
172
  export declare const isWalkIn: (customer_id?: number | string) => boolean;
173
173
  export declare const getIsEdit: (state: any) => boolean;
174
174
  export {};
@@ -8,7 +8,7 @@ import { PosProps } from './const';
8
8
  */
9
9
  declare const _default: ({ className, onChange, onClose, formatAmount, isMobile, net, client }: {
10
10
  className?: string | undefined;
11
- onChange?: ((status: "success" | "page" | "print" | "fail" | "mark_tx_processed", params?: string | {
11
+ onChange?: ((status: "success" | "page" | "fail" | "print" | "mark_tx_processed", params?: string | {
12
12
  [keys: string]: unknown;
13
13
  } | undefined, other?: any) => void) | undefined;
14
14
  onClose: () => void;
@@ -10,7 +10,7 @@ import './device.less';
10
10
  declare const _default: ({ api, onChange, onClose, className, device_number, isMobile, net, client, formatAmount, }: {
11
11
  api: PayProps['api'];
12
12
  className?: string | undefined;
13
- onChange?: ((status: "success" | "page" | "print" | "fail" | "mark_tx_processed", params?: string | {
13
+ onChange?: ((status: "success" | "page" | "fail" | "print" | "mark_tx_processed", params?: string | {
14
14
  [keys: string]: unknown;
15
15
  } | undefined, other?: any) => void) | undefined;
16
16
  onClose: () => void;
@@ -15,11 +15,11 @@ export declare const useStoreRef: <T extends {
15
15
  readonly numRef: React.MutableRefObject<string | number | undefined>;
16
16
  readonly orderIdRef: React.MutableRefObject<string | number>;
17
17
  readonly modeRef: React.MutableRefObject<ModeEnum>;
18
- readonly statusRef: React.MutableRefObject<"success" | "loading" | "warn" | "fail" | "pedding" | "resove" | "reject" | "question">;
18
+ readonly statusRef: React.MutableRefObject<"success" | "warn" | "loading" | "fail" | "pedding" | "resove" | "reject" | "question">;
19
19
  readonly netRef: React.MutableRefObject<boolean | undefined>;
20
20
  readonly symbolRef: React.MutableRefObject<string>;
21
21
  readonly amountRef: React.MutableRefObject<string | number>;
22
- readonly eftposRef: React.MutableRefObject<"tyro" | "windcave" | "stripe" | "payo" | "linkly">;
22
+ readonly eftposRef: React.MutableRefObject<"payo" | "tyro" | "windcave" | "stripe" | "linkly">;
23
23
  readonly clientRef: React.MutableRefObject<ClientEnum>;
24
24
  readonly dataRef: React.MutableRefObject<import("./store").State>;
25
25
  };
@@ -174,7 +174,7 @@ export declare const updateCustom: (payload: {
174
174
  export declare const updateStatus: (status: 'loading' | 'warn' | 'fail' | 'success' | 'question') => {
175
175
  type: EActionTypes;
176
176
  payload: {
177
- status: "success" | "loading" | "warn" | "fail" | "question";
177
+ status: "success" | "warn" | "loading" | "fail" | "question";
178
178
  };
179
179
  };
180
180
  /**
@@ -295,20 +295,20 @@ export declare const backUpFree: (payload: Partial<State>) => {
295
295
  name?: string | undefined;
296
296
  symbol?: string | undefined;
297
297
  amount?: string | number | undefined;
298
- mode?: "refund" | "pay" | "fullPay" | "query" | undefined;
298
+ mode?: "pay" | "fullPay" | "refund" | "query" | undefined;
299
299
  order_id?: string | number | undefined;
300
- eftpos?: "tyro" | "windcave" | "stripe" | "payo" | "linkly" | undefined;
301
- action?: "amount" | "pay" | "deviceList" | undefined;
300
+ eftpos?: "payo" | "tyro" | "windcave" | "stripe" | "linkly" | undefined;
301
+ action?: "amount" | "deviceList" | "pay" | undefined;
302
302
  key?: number | undefined;
303
303
  step?: number | undefined;
304
304
  title?: string | undefined;
305
305
  subTitle?: string | undefined;
306
- type?: "unset" | "step" | undefined;
306
+ type?: "step" | "unset" | undefined;
307
307
  render?: boolean | undefined;
308
308
  net?: boolean | undefined;
309
309
  component?: string | undefined;
310
310
  form?: string | undefined;
311
- status?: "success" | "loading" | "warn" | "fail" | "pedding" | "resove" | "reject" | "question" | undefined;
311
+ status?: "success" | "warn" | "loading" | "fail" | "pedding" | "resove" | "reject" | "question" | undefined;
312
312
  warn?: string | undefined;
313
313
  steps?: {
314
314
  /** 用于重置当前步骤 */