@pisell/private-materials 3.4.66 → 3.4.68

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 (387) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +1 -1
  6. package/build/lowcode/preview.js +8 -8
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +6 -6
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +8 -8
  11. package/es/components/Sales/Cart/index.js +20 -3
  12. package/es/components/Sales/Cart/utils.js +16 -0
  13. package/es/components/Sales/Summary/utils.js +5 -4
  14. package/es/components/appointmentBooking/components/Header/index.js +12 -12
  15. package/es/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.js +82 -0
  16. package/es/components/appointmentBooking/components/TimeSlicing/index.js +46 -5
  17. package/es/components/appointmentBooking/components/Voucher/index.js +5 -2
  18. package/es/components/appointmentBooking/hooks.js +6 -13
  19. package/es/components/appointmentBooking/locales.js +3 -0
  20. package/es/components/appointmentBooking/utils.d.ts +23 -0
  21. package/es/components/appointmentBooking/utils.js +159 -0
  22. package/es/components/booking/addons/model.d.ts +10 -1
  23. package/es/components/booking/components/TabProduct/index.d.ts +1 -0
  24. package/es/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  25. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
  26. package/es/components/booking/components/collapsibleList/utils.d.ts +1 -0
  27. package/es/components/booking/components/emptyBooking/index.d.ts +1 -0
  28. package/es/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  29. package/es/components/booking/components/footer/index.d.ts +1 -0
  30. package/es/components/booking/components/voucher/index.js +5 -2
  31. package/es/components/booking/forms/model.d.ts +10 -1
  32. package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  33. package/es/components/booking/forms/table/index.d.ts +1 -0
  34. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  35. package/es/components/booking/info/index.d.ts +1 -0
  36. package/es/components/booking/info/notes/index.d.ts +1 -0
  37. package/es/components/booking/info/service/actions/index.d.ts +1 -0
  38. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  39. package/es/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  40. package/es/components/booking/info2/service/actions/index.d.ts +1 -0
  41. package/es/components/booking/info2/service/addTimeModal/index.d.ts +1 -0
  42. package/es/components/booking/info2/service/contactInfoMode/index.d.ts +1 -0
  43. package/es/components/booking/locales.js +3 -0
  44. package/es/components/booking/materiels/duration/index.d.ts +1 -0
  45. package/es/components/booking/materiels/holder/index.d.ts +1 -0
  46. package/es/components/booking/materiels/startTime/index.d.ts +1 -0
  47. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  48. package/es/components/booking/notes/NoteBlock/index.d.ts +1 -0
  49. package/es/components/booking/notes/model.d.ts +10 -1
  50. package/es/components/booking/payments/model.d.ts +10 -1
  51. package/es/components/eftposPay/amount.d.ts +2 -1
  52. package/es/components/eftposPay/payo/config.d.ts +1 -0
  53. package/es/components/eftposPay/tip.d.ts +1 -0
  54. package/es/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  55. package/es/components/eftposPay/windcave/windcave.d.ts +1 -0
  56. package/es/components/eventBooking/components/Provider/Cart/Item/index.js +2 -1
  57. package/es/components/eventBooking/components/Voucher/components/Voucher.d.ts +20 -0
  58. package/es/components/eventBooking/components/Voucher/components/Voucher.js +99 -0
  59. package/es/components/eventBooking/components/Voucher/components/index.less +124 -0
  60. package/es/components/eventBooking/components/Voucher/components/locales.js +38 -0
  61. package/es/components/eventBooking/components/Voucher/hooks.d.ts +7 -0
  62. package/es/components/eventBooking/components/Voucher/hooks.js +212 -0
  63. package/es/components/eventBooking/components/Voucher/index.d.ts +2 -0
  64. package/es/components/eventBooking/components/Voucher/index.js +266 -0
  65. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
  66. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
  67. package/es/components/login/index.d.ts +1 -0
  68. package/es/components/pay/toC/PaymentMethods/BankDeposit/index.js +1 -3
  69. package/es/components/pay/toC/PaymentMethods/StripePay/index.js +1 -1
  70. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  71. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  72. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  73. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  74. package/es/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  75. package/es/components/schedules/calendar/calendarItem.d.ts +1 -0
  76. package/es/components/schedules/calendar/index.d.ts +1 -0
  77. package/es/components/schedules/components/CurrentDay/index.d.ts +1 -0
  78. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  79. package/es/components/schedules/model.d.ts +9 -1
  80. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  81. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
  82. package/es/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  83. package/es/components/schedules/products/list/index.d.ts +1 -0
  84. package/es/components/schedules/resources/list/index.d.ts +1 -0
  85. package/es/components/systemSettings/registry/components/docs/images/image-1.png +0 -0
  86. package/es/components/systemSettings/registry/components/docs/images/image-2.png +0 -0
  87. package/es/components/systemSettings/registry/components/docs/images/image-3.png +0 -0
  88. package/es/components/systemSettings/registry/components/docs/images/image-4.png +0 -0
  89. package/es/components/systemSettings/registry/components/docs/images/image-5.png +0 -0
  90. package/es/components/systemSettings/registry/components/docs/images/image-6.png +0 -0
  91. package/es/components/systemSettings/registry/components/docs/images/image-7.png +0 -0
  92. package/es/components/systemSettings/registry/components/docs/images/image-8.png +0 -0
  93. package/es/components/systemSettings/registry/components/docs/images/image.png +0 -0
  94. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +1 -0
  95. package/es/hooks/usePaymentLogger.d.ts +1 -0
  96. package/es/plus/saasCreateOrganization/components/Header.d.ts +1 -0
  97. package/es/plus/saasRegister/components/EntryEmail.d.ts +1 -0
  98. package/es/plus/saasRegister/components/EntryInfo.d.ts +1 -0
  99. package/es/plus/saasRegister/components/GoLogin.d.ts +1 -0
  100. package/es/plus/saasRegister/components/Header.d.ts +1 -0
  101. package/es/plus/saasRegister/components/VerifyError.d.ts +1 -0
  102. package/es/plus/saasRegister/components/VerifyingLink.d.ts +1 -0
  103. package/es/plus/skuOptionsSelection/components/VariantCard/index.d.ts +1 -0
  104. package/es/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
  105. package/lib/components/Sales/Cart/index.js +25 -7
  106. package/lib/components/Sales/Cart/utils.js +13 -1
  107. package/lib/components/Sales/Summary/utils.js +2 -4
  108. package/lib/components/appointmentBooking/components/Header/index.js +3 -8
  109. package/lib/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.js +89 -0
  110. package/lib/components/appointmentBooking/components/TimeSlicing/index.js +27 -7
  111. package/lib/components/appointmentBooking/components/Voucher/index.js +4 -1
  112. package/lib/components/appointmentBooking/hooks.js +6 -11
  113. package/lib/components/appointmentBooking/locales.js +3 -0
  114. package/lib/components/appointmentBooking/utils.d.ts +23 -0
  115. package/lib/components/appointmentBooking/utils.js +103 -0
  116. package/lib/components/booking/addons/model.d.ts +10 -1
  117. package/lib/components/booking/components/TabProduct/index.d.ts +1 -0
  118. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  119. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
  120. package/lib/components/booking/components/collapsibleList/utils.d.ts +1 -0
  121. package/lib/components/booking/components/emptyBooking/index.d.ts +1 -0
  122. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  123. package/lib/components/booking/components/footer/index.d.ts +1 -0
  124. package/lib/components/booking/components/voucher/index.js +4 -1
  125. package/lib/components/booking/forms/model.d.ts +10 -1
  126. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  127. package/lib/components/booking/forms/table/index.d.ts +1 -0
  128. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  129. package/lib/components/booking/info/index.d.ts +1 -0
  130. package/lib/components/booking/info/notes/index.d.ts +1 -0
  131. package/lib/components/booking/info/service/actions/index.d.ts +1 -0
  132. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  133. package/lib/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  134. package/lib/components/booking/info2/service/actions/index.d.ts +1 -0
  135. package/lib/components/booking/info2/service/addTimeModal/index.d.ts +1 -0
  136. package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +1 -0
  137. package/lib/components/booking/locales.js +3 -0
  138. package/lib/components/booking/materiels/duration/index.d.ts +1 -0
  139. package/lib/components/booking/materiels/holder/index.d.ts +1 -0
  140. package/lib/components/booking/materiels/startTime/index.d.ts +1 -0
  141. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  142. package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -0
  143. package/lib/components/booking/notes/model.d.ts +10 -1
  144. package/lib/components/booking/payments/model.d.ts +10 -1
  145. package/lib/components/eftposPay/amount.d.ts +2 -1
  146. package/lib/components/eftposPay/payo/config.d.ts +1 -0
  147. package/lib/components/eftposPay/tip.d.ts +1 -0
  148. package/lib/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  149. package/lib/components/eftposPay/windcave/windcave.d.ts +1 -0
  150. package/lib/components/eventBooking/components/Provider/Cart/Item/index.js +2 -1
  151. package/lib/components/eventBooking/components/Voucher/components/Voucher.d.ts +20 -0
  152. package/lib/components/eventBooking/components/Voucher/components/Voucher.js +116 -0
  153. package/lib/components/eventBooking/components/Voucher/components/index.less +124 -0
  154. package/lib/components/eventBooking/components/Voucher/components/locales.js +59 -0
  155. package/lib/components/eventBooking/components/Voucher/hooks.d.ts +7 -0
  156. package/lib/components/eventBooking/components/Voucher/hooks.js +176 -0
  157. package/lib/components/eventBooking/components/Voucher/index.d.ts +2 -0
  158. package/lib/components/eventBooking/components/Voucher/index.js +197 -0
  159. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
  160. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
  161. package/lib/components/login/index.d.ts +1 -0
  162. package/lib/components/pay/toC/PaymentMethods/BankDeposit/index.js +1 -1
  163. package/lib/components/pay/toC/PaymentMethods/StripePay/index.js +1 -1
  164. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  165. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  166. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  167. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  168. package/lib/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  169. package/lib/components/schedules/calendar/calendarItem.d.ts +1 -0
  170. package/lib/components/schedules/calendar/index.d.ts +1 -0
  171. package/lib/components/schedules/components/CurrentDay/index.d.ts +1 -0
  172. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  173. package/lib/components/schedules/model.d.ts +9 -1
  174. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  175. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
  176. package/lib/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  177. package/lib/components/schedules/products/list/index.d.ts +1 -0
  178. package/lib/components/schedules/resources/list/index.d.ts +1 -0
  179. package/lib/components/systemSettings/registry/components/docs/images/image-1.png +0 -0
  180. package/lib/components/systemSettings/registry/components/docs/images/image-2.png +0 -0
  181. package/lib/components/systemSettings/registry/components/docs/images/image-3.png +0 -0
  182. package/lib/components/systemSettings/registry/components/docs/images/image-4.png +0 -0
  183. package/lib/components/systemSettings/registry/components/docs/images/image-5.png +0 -0
  184. package/lib/components/systemSettings/registry/components/docs/images/image-6.png +0 -0
  185. package/lib/components/systemSettings/registry/components/docs/images/image-7.png +0 -0
  186. package/lib/components/systemSettings/registry/components/docs/images/image-8.png +0 -0
  187. package/lib/components/systemSettings/registry/components/docs/images/image.png +0 -0
  188. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +1 -0
  189. package/lib/hooks/usePaymentLogger.d.ts +1 -0
  190. package/lib/plus/saasCreateOrganization/components/Header.d.ts +1 -0
  191. package/lib/plus/saasRegister/components/EntryEmail.d.ts +1 -0
  192. package/lib/plus/saasRegister/components/EntryInfo.d.ts +1 -0
  193. package/lib/plus/saasRegister/components/GoLogin.d.ts +1 -0
  194. package/lib/plus/saasRegister/components/Header.d.ts +1 -0
  195. package/lib/plus/saasRegister/components/VerifyError.d.ts +1 -0
  196. package/lib/plus/saasRegister/components/VerifyingLink.d.ts +1 -0
  197. package/lib/plus/skuOptionsSelection/components/VariantCard/index.d.ts +1 -0
  198. package/lib/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
  199. package/package.json +4 -4
  200. package/es/components/Sales/Cart/utils.d.ts +0 -63
  201. package/es/components/Sales/Checkout/utils.d.ts +0 -41
  202. package/es/components/Sales/Summary/utils.d.ts +0 -51
  203. package/es/components/appointmentBooking/components/Header/index.d.ts +0 -3
  204. package/es/components/appointmentBooking/components/Services/index.d.ts +0 -4
  205. package/es/components/appointmentBooking/hooks.d.ts +0 -107
  206. package/es/components/appointmentBooking/locales.d.ts +0 -363
  207. package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +0 -6
  208. package/es/components/booking/components/footer/amount.d.ts +0 -25
  209. package/es/components/booking/components/tabPane/index.d.ts +0 -4
  210. package/es/components/booking/dashboard/serve.d.ts +0 -1
  211. package/es/components/booking/deposit/ClientItem/index.d.ts +0 -18
  212. package/es/components/booking/deposit/DepositItem/index.d.ts +0 -25
  213. package/es/components/booking/deposit/index.d.ts +0 -2
  214. package/es/components/booking/forms/forms.d.ts +0 -30
  215. package/es/components/booking/forms/serve.d.ts +0 -18
  216. package/es/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
  217. package/es/components/booking/info/addServiceVariant/index.d.ts +0 -6
  218. package/es/components/booking/info/client/index.d.ts +0 -4
  219. package/es/components/booking/info/client/serve.d.ts +0 -2
  220. package/es/components/booking/info/clientVariant/utils.d.ts +0 -1
  221. package/es/components/booking/info/date/index.d.ts +0 -4
  222. package/es/components/booking/info/hooks/useHolderConfig.d.ts +0 -9
  223. package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -9
  224. package/es/components/booking/info/model.d.ts +0 -5
  225. package/es/components/booking/info/pet/serve.d.ts +0 -1
  226. package/es/components/booking/info/service/addTimeModal/serve.d.ts +0 -5
  227. package/es/components/booking/info/service/addTimeModal/utils.d.ts +0 -31
  228. package/es/components/booking/info/service/serve.d.ts +0 -20
  229. package/es/components/booking/info/service/serviceList/index.d.ts +0 -5
  230. package/es/components/booking/info/service/serviceManager/index.d.ts +0 -20
  231. package/es/components/booking/info/service2/Group/utils.d.ts +0 -14
  232. package/es/components/booking/info/service2/utils.d.ts +0 -248
  233. package/es/components/booking/info/utils.d.ts +0 -50
  234. package/es/components/booking/info2/serve.d.ts +0 -6
  235. package/es/components/booking/info2/service/addService/index.d.ts +0 -11
  236. package/es/components/booking/info2/service/addService/utils.d.ts +0 -98
  237. package/es/components/booking/info2/service/editService/utils.d.ts +0 -13
  238. package/es/components/booking/info2/service/serviceList/index.d.ts +0 -5
  239. package/es/components/booking/info2/utilsByBooking.d.ts +0 -35
  240. package/es/components/booking/locales.d.ts +0 -834
  241. package/es/components/booking/model.d.ts +0 -111
  242. package/es/components/booking/notes/addNote/index.d.ts +0 -3
  243. package/es/components/booking/utils.d.ts +0 -175
  244. package/es/components/eftposPay/app.d.ts +0 -10
  245. package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -3
  246. package/es/components/eftposPay/component/fail/index.d.ts +0 -3
  247. package/es/components/eftposPay/const.d.ts +0 -184
  248. package/es/components/eftposPay/device.d.ts +0 -23
  249. package/es/components/eftposPay/hooks.d.ts +0 -35
  250. package/es/components/eftposPay/index.d.ts +0 -4
  251. package/es/components/eftposPay/locales.d.ts +0 -330
  252. package/es/components/eftposPay/manufacturer.d.ts +0 -7
  253. package/es/components/eftposPay/pay.d.ts +0 -20
  254. package/es/components/eftposPay/store/index.d.ts +0 -355
  255. package/es/components/eftposPay/tyro/index.d.ts +0 -9
  256. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -2
  257. package/es/components/pay/toC/PaymentList/utils.d.ts +0 -36
  258. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +0 -6
  259. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -2
  260. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -2
  261. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -2
  262. package/es/components/pay/toC/PaymentMethods/StripePay/index.d.ts +0 -10
  263. package/es/components/pay/toC/model.d.ts +0 -32
  264. package/es/components/pay/toC/utils.d.ts +0 -57
  265. package/es/components/shoppingCart/locales.d.ts +0 -33
  266. package/es/components/shoppingCart/type.d.ts +0 -48
  267. package/es/components/subTotal/locales.d.ts +0 -42
  268. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -6
  269. package/es/components/ticketBooking/locales.d.ts +0 -174
  270. package/es/components/ticketBooking/utils/index.d.ts +0 -25
  271. package/es/hooks/useEngineContext.d.ts +0 -10
  272. package/es/hooks/useWindowSize.d.ts +0 -5
  273. package/es/plus/productSelect/CategoryTabs/index.d.ts +0 -21
  274. package/es/plus/productSelect/ProductCard/index.d.ts +0 -47
  275. package/es/plus/productSelect/ProductList/gridComponents.d.ts +0 -44
  276. package/es/plus/selectHolder/locales.d.ts +0 -21
  277. package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -5
  278. package/es/plus/skuOptionsSelection/index.d.ts +0 -5
  279. package/es/plus/skuOptionsSelection/types.d.ts +0 -429
  280. package/es/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +0 -19
  281. package/es/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +0 -1
  282. package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +0 -4
  283. package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
  284. package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +0 -1
  285. package/es/pro/NumericStepper/index.d.ts +0 -43
  286. package/es/pro/Selector/Selector.d.ts +0 -14
  287. package/es/pro/Selector/components/Card/index.d.ts +0 -57
  288. package/es/pro/Selector/components/Indicator/index.d.ts +0 -19
  289. package/es/pro/Selector/components/LayoutContainer/index.d.ts +0 -16
  290. package/es/pro/Selector/demo.d.ts +0 -2
  291. package/es/pro/Selector/hooks/usePresetProps.d.ts +0 -24
  292. package/es/pro/Selector/types.d.ts +0 -173
  293. package/es/pro/pisellNumberSelector/example.d.ts +0 -3
  294. package/lib/components/Sales/Cart/utils.d.ts +0 -63
  295. package/lib/components/Sales/Checkout/utils.d.ts +0 -41
  296. package/lib/components/Sales/Summary/utils.d.ts +0 -51
  297. package/lib/components/appointmentBooking/components/Header/index.d.ts +0 -3
  298. package/lib/components/appointmentBooking/components/Services/index.d.ts +0 -4
  299. package/lib/components/appointmentBooking/hooks.d.ts +0 -107
  300. package/lib/components/appointmentBooking/locales.d.ts +0 -363
  301. package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +0 -6
  302. package/lib/components/booking/components/footer/amount.d.ts +0 -25
  303. package/lib/components/booking/components/tabPane/index.d.ts +0 -4
  304. package/lib/components/booking/dashboard/serve.d.ts +0 -1
  305. package/lib/components/booking/deposit/ClientItem/index.d.ts +0 -18
  306. package/lib/components/booking/deposit/DepositItem/index.d.ts +0 -25
  307. package/lib/components/booking/deposit/index.d.ts +0 -2
  308. package/lib/components/booking/forms/forms.d.ts +0 -30
  309. package/lib/components/booking/forms/serve.d.ts +0 -18
  310. package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
  311. package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -6
  312. package/lib/components/booking/info/client/index.d.ts +0 -4
  313. package/lib/components/booking/info/client/serve.d.ts +0 -2
  314. package/lib/components/booking/info/clientVariant/utils.d.ts +0 -1
  315. package/lib/components/booking/info/date/index.d.ts +0 -4
  316. package/lib/components/booking/info/hooks/useHolderConfig.d.ts +0 -9
  317. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -9
  318. package/lib/components/booking/info/model.d.ts +0 -5
  319. package/lib/components/booking/info/pet/serve.d.ts +0 -1
  320. package/lib/components/booking/info/service/addTimeModal/serve.d.ts +0 -5
  321. package/lib/components/booking/info/service/addTimeModal/utils.d.ts +0 -31
  322. package/lib/components/booking/info/service/serve.d.ts +0 -20
  323. package/lib/components/booking/info/service/serviceList/index.d.ts +0 -5
  324. package/lib/components/booking/info/service/serviceManager/index.d.ts +0 -20
  325. package/lib/components/booking/info/service2/Group/utils.d.ts +0 -14
  326. package/lib/components/booking/info/service2/utils.d.ts +0 -248
  327. package/lib/components/booking/info/utils.d.ts +0 -50
  328. package/lib/components/booking/info2/serve.d.ts +0 -6
  329. package/lib/components/booking/info2/service/addService/index.d.ts +0 -11
  330. package/lib/components/booking/info2/service/addService/utils.d.ts +0 -98
  331. package/lib/components/booking/info2/service/editService/utils.d.ts +0 -13
  332. package/lib/components/booking/info2/service/serviceList/index.d.ts +0 -5
  333. package/lib/components/booking/info2/utilsByBooking.d.ts +0 -35
  334. package/lib/components/booking/locales.d.ts +0 -834
  335. package/lib/components/booking/model.d.ts +0 -111
  336. package/lib/components/booking/notes/addNote/index.d.ts +0 -3
  337. package/lib/components/booking/utils.d.ts +0 -175
  338. package/lib/components/eftposPay/app.d.ts +0 -10
  339. package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -3
  340. package/lib/components/eftposPay/component/fail/index.d.ts +0 -3
  341. package/lib/components/eftposPay/const.d.ts +0 -184
  342. package/lib/components/eftposPay/device.d.ts +0 -23
  343. package/lib/components/eftposPay/hooks.d.ts +0 -35
  344. package/lib/components/eftposPay/index.d.ts +0 -4
  345. package/lib/components/eftposPay/locales.d.ts +0 -330
  346. package/lib/components/eftposPay/manufacturer.d.ts +0 -7
  347. package/lib/components/eftposPay/pay.d.ts +0 -20
  348. package/lib/components/eftposPay/store/index.d.ts +0 -355
  349. package/lib/components/eftposPay/tyro/index.d.ts +0 -9
  350. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -2
  351. package/lib/components/pay/toC/PaymentList/utils.d.ts +0 -36
  352. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +0 -6
  353. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -2
  354. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -2
  355. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -2
  356. package/lib/components/pay/toC/PaymentMethods/StripePay/index.d.ts +0 -10
  357. package/lib/components/pay/toC/model.d.ts +0 -32
  358. package/lib/components/pay/toC/utils.d.ts +0 -57
  359. package/lib/components/shoppingCart/locales.d.ts +0 -33
  360. package/lib/components/shoppingCart/type.d.ts +0 -48
  361. package/lib/components/subTotal/locales.d.ts +0 -42
  362. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -6
  363. package/lib/components/ticketBooking/locales.d.ts +0 -174
  364. package/lib/components/ticketBooking/utils/index.d.ts +0 -25
  365. package/lib/hooks/useEngineContext.d.ts +0 -10
  366. package/lib/hooks/useWindowSize.d.ts +0 -5
  367. package/lib/plus/productSelect/CategoryTabs/index.d.ts +0 -21
  368. package/lib/plus/productSelect/ProductCard/index.d.ts +0 -47
  369. package/lib/plus/productSelect/ProductList/gridComponents.d.ts +0 -44
  370. package/lib/plus/selectHolder/locales.d.ts +0 -21
  371. package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -5
  372. package/lib/plus/skuOptionsSelection/index.d.ts +0 -5
  373. package/lib/plus/skuOptionsSelection/types.d.ts +0 -429
  374. package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +0 -19
  375. package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +0 -1
  376. package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +0 -4
  377. package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
  378. package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +0 -1
  379. package/lib/pro/NumericStepper/index.d.ts +0 -43
  380. package/lib/pro/Selector/Selector.d.ts +0 -14
  381. package/lib/pro/Selector/components/Card/index.d.ts +0 -57
  382. package/lib/pro/Selector/components/Indicator/index.d.ts +0 -19
  383. package/lib/pro/Selector/components/LayoutContainer/index.d.ts +0 -16
  384. package/lib/pro/Selector/demo.d.ts +0 -2
  385. package/lib/pro/Selector/hooks/usePresetProps.d.ts +0 -24
  386. package/lib/pro/Selector/types.d.ts +0 -173
  387. package/lib/pro/pisellNumberSelector/example.d.ts +0 -3
@@ -1,355 +0,0 @@
1
- import { ReactNode } from 'react';
2
- import { DeviceStatusType, StatusType, ModeType, RouteType, ClientEnum } from '../const';
3
- import { ThunkDispatch } from './useThunkReducer';
4
- export declare enum EActionTypes {
5
- UPDATE_INIT = "UPDATE_INIT",
6
- UPDATE_CUSTOM = "UPDATE_CUSTOM",
7
- UPDATE_KEY = "UPDATE_KEY",
8
- UPDATE_STEP_KEY = "UPDATE_STEP_KEY",
9
- UPDATE_DEVICE = "UPDATE_DEVICE",
10
- UPDATE_NEXT_STEP = "UPDATE_NEXT_STEP",
11
- UPDATE_STATUS = "UPDATE_STATUS",
12
- UPDATE_TITLE = "UPDATE_TITLE",
13
- UPDATE_LOADING = "UPDATE_LOADING",
14
- UPDATE_COMPONENT = "UPDATE_COMPONENT",
15
- UPDATE_STEPS = "UPDATE_STEPS",
16
- UPDATE_STEP_CURRENT_ITEM_CUSTOM = "UPDATE_STEP_CURRENT_ITEM_CUSTOM",
17
- UPDATE_STEP_ITEM = "UPDATE_STEP_ITEM",
18
- BACKUP_PRODUCTION = "BACKUP_PRODUCTION",
19
- BACKUP_FREE = "BACKUP_FREE",
20
- UPDATE_CLIENT = "UPDATE_CLIENT"
21
- }
22
- export declare type State = {
23
- /** 支付名称 */
24
- name: string;
25
- /** 金额单位 */
26
- symbol: string;
27
- /** 支付原始金额 */
28
- amount: string | number;
29
- /** 模式 */
30
- mode: ModeType;
31
- /** 订单号 */
32
- order_id: string | number;
33
- /** 厂商 */
34
- eftpos: DeviceStatusType;
35
- action?: RouteType;
36
- /** 用于重置页面特指 =》全部步骤 */
37
- key: number;
38
- /** 当前执行到哪一步了 */
39
- step: number;
40
- /** 标题 */
41
- title: string;
42
- /** 标题 */
43
- subTitle?: string;
44
- /** step : 常规步骤页面 ,unset 自定义页面 */
45
- type: 'step' | 'unset';
46
- render: boolean;
47
- /** 网络 */
48
- net?: boolean;
49
- /** 上面 unset 自定义页面,这里需要指定到具体页面 */
50
- component: string;
51
- form?: string;
52
- /** 页面状态 */
53
- status: StatusType;
54
- /** 警告文案 */
55
- warn: string;
56
- steps: {
57
- /** 用于重置当前步骤 */
58
- key: number;
59
- title?: string;
60
- text?: string;
61
- warn?: string;
62
- tip?: string;
63
- success?: string;
64
- fail?: string;
65
- loading?: string;
66
- /** 步骤状态 */
67
- status: StatusType;
68
- custom?: {
69
- /** 步骤自定义 */
70
- [key: string]: unknown;
71
- };
72
- }[];
73
- /** 支付流水号 */
74
- number?: string | number;
75
- /** 设备信息 */
76
- device?: {
77
- [key: string]: unknown;
78
- };
79
- /** 支付信息 */
80
- pay?: {
81
- [key: string]: unknown;
82
- };
83
- custom?: {
84
- [key: string]: unknown;
85
- };
86
- manual?: {
87
- title: string;
88
- text: string;
89
- status?: boolean;
90
- money?: number;
91
- };
92
- backup?: Omit<State, 'backup'>;
93
- client: ClientEnum;
94
- };
95
- export declare type Action = {
96
- type: EActionTypes;
97
- payload: Partial<State>;
98
- };
99
- /**
100
- * @title: 刷新 key
101
- * @description: 用户重置组件生命周期,
102
- * @param {number} key
103
- * @Author: hongbing.wang
104
- * @Date: 2024-08-19 09:56
105
- */
106
- export declare const updateKey: (key: number) => {
107
- type: EActionTypes;
108
- payload: {
109
- key: number;
110
- };
111
- };
112
- /**
113
- * @title: 更新设备信息
114
- * @description: 用户选择设备将回填到此处
115
- * @param {object} payload
116
- * @Author: hongbing.wang
117
- * @Date: 2024-08-19 09:57
118
- */
119
- export declare const updateDevice: (payload: {
120
- device: State['device'];
121
- }) => {
122
- type: EActionTypes;
123
- payload: {
124
- device: State['device'];
125
- };
126
- };
127
- /**
128
- * @title: 刷新 步骤key
129
- * @description: 重置某一步生命周期
130
- * @Author: hongbing.wang
131
- * @Date: 2024-08-19 09:58
132
- */
133
- export declare const updateStepKey: () => {
134
- type: EActionTypes;
135
- payload: {};
136
- };
137
- /**
138
- * @title: 更新至下一步
139
- * @description: 更新至下一步
140
- * @param {string} warn?: 错误信息
141
- * @Author: hongbing.wang
142
- * @Date: 2024-08-19 09:58
143
- */
144
- export declare const updateNextStep: (warn?: string) => {
145
- type: EActionTypes;
146
- payload: {
147
- warn: string;
148
- } | {
149
- warn?: undefined;
150
- };
151
- };
152
- /**
153
- * @title: 更新自定义信息
154
- * @description: 更新自定义信息
155
- * @param {object} payload
156
- * @Author: hongbing.wang
157
- * @Date: 2024-08-19 10:03
158
- */
159
- export declare const updateCustom: (payload: {
160
- [key: string]: unknown;
161
- }) => {
162
- type: EActionTypes;
163
- payload: {
164
- [key: string]: unknown;
165
- };
166
- };
167
- /**
168
- * @title: 更新 全局状态
169
- * @description: 更新 全局状态
170
- * @param {string} status : 状态
171
- * * @Author: hongbing.wang
172
- * @Date: 2024-08-19 10:03
173
- */
174
- export declare const updateStatus: (status: 'loading' | 'warn' | 'fail' | 'success' | 'question') => {
175
- type: EActionTypes;
176
- payload: {
177
- status: "warn" | "success" | "loading" | "fail" | "question";
178
- };
179
- };
180
- /**
181
- * @title: 更新自定义组件
182
- * @description: 更新自定义组件
183
- * @param {string} component 组件名称
184
- * @param {boolean} render : true : 隐藏 原组件(维持原组件内状态) ;false : 卸载
185
- * @return {*}
186
- * @Author: hongbing.wang
187
- * @Date: 2024-08-19 10:04
188
- */
189
- export declare const updateComponent: (component: string, render?: boolean) => {
190
- type: EActionTypes;
191
- payload: {
192
- readonly component: string;
193
- readonly type: "unset";
194
- readonly render: boolean;
195
- } | {
196
- readonly type: "step";
197
- readonly render: boolean;
198
- readonly component?: undefined;
199
- };
200
- };
201
- /**
202
- * @title: 更新步骤信息
203
- * @description: 更新某一步骤信息
204
- * @param {State} steps 某一步骤信息
205
- * @Author: hongbing.wang
206
- * @Date: 2024-08-19 10:07
207
- */
208
- export declare const updateSteps: (steps: State['steps']) => {
209
- type: EActionTypes;
210
- payload: {
211
- steps: {
212
- /** 用于重置当前步骤 */
213
- key: number;
214
- title?: string | undefined;
215
- text?: string | undefined;
216
- warn?: string | undefined;
217
- tip?: string | undefined;
218
- success?: string | undefined;
219
- fail?: string | undefined;
220
- loading?: string | undefined;
221
- /** 步骤状态 */
222
- status: StatusType;
223
- custom?: {
224
- [key: string]: unknown;
225
- } | undefined;
226
- }[];
227
- };
228
- };
229
- /**
230
- * @title: 更新状态管理信息
231
- * @description: 更新状态管理信息
232
- * @param {Partial} payload
233
- * @return {*}
234
- * @Author: hongbing.wang
235
- * @Date: 2024-08-19 10:08
236
- */
237
- export declare const updateState: (payload: Partial<State>) => {
238
- type: EActionTypes;
239
- payload: Partial<State>;
240
- };
241
- /**
242
- * @title: 更新当前步骤自定义信息
243
- * @description: 更新当前步骤自定义信息
244
- * @Author: hongbing.wang
245
- * @Date: 2024-08-19 10:09
246
- */
247
- export declare const updateCurrentCustomStemItem: (payload: NonNullable<Partial<State['steps'][number]['custom']>>) => {
248
- type: EActionTypes;
249
- payload: Partial<{
250
- [key: string]: unknown;
251
- }>;
252
- };
253
- /**
254
- * @title: 更新当前步骤信息
255
- * @description: 更新当前步骤信息
256
- * @Author: hongbing.wang
257
- * @Date: 2024-08-19 10:09
258
- */
259
- export declare const updateCurrentStemItem: (payload: any) => {
260
- type: EActionTypes;
261
- payload: any;
262
- };
263
- /**
264
- * @title: 更新当前步骤信息
265
- * @description: 更新当前步骤信息
266
- * @Author: hongbing.wang
267
- * @Date: 2024-08-19 10:09
268
- */
269
- export declare const updateClient: (payload: ClientEnum) => {
270
- type: EActionTypes;
271
- payload: {
272
- client: ClientEnum;
273
- };
274
- };
275
- /**
276
- * @title: 更新备份信息
277
- * @description: 更新备份信息
278
- * @Author: hongbing.wang
279
- * @Date: 2024-08-19 10:25
280
- */
281
- export declare const backUpProduction: (payload: Partial<State>) => {
282
- type: EActionTypes;
283
- payload: Partial<State>;
284
- };
285
- /**
286
- * @title: 释放备份信息
287
- * @description: 释放备份信息
288
- * @param {Partial} payload
289
- * @Author: hongbing.wang
290
- * @Date: 2024-08-19 10:27
291
- */
292
- export declare const backUpFree: (payload: Partial<State>) => {
293
- type: EActionTypes;
294
- payload: {
295
- name?: string | undefined;
296
- symbol?: string | undefined;
297
- amount?: string | number | undefined;
298
- mode?: "refund" | "pay" | "fullPay" | "query" | undefined;
299
- order_id?: string | number | undefined;
300
- eftpos?: "payo" | "tyro" | "windcave" | "stripe" | "linkly" | undefined;
301
- action?: "amount" | "pay" | "deviceList" | undefined;
302
- key?: number | undefined;
303
- step?: number | undefined;
304
- title?: string | undefined;
305
- subTitle?: string | undefined;
306
- type?: "unset" | "step" | undefined;
307
- render?: boolean | undefined;
308
- net?: boolean | undefined;
309
- component?: string | undefined;
310
- form?: string | undefined;
311
- status?: "warn" | "success" | "loading" | "fail" | "pedding" | "resove" | "reject" | "question" | undefined;
312
- warn?: string | undefined;
313
- steps?: {
314
- /** 用于重置当前步骤 */
315
- key: number;
316
- title?: string | undefined;
317
- text?: string | undefined;
318
- warn?: string | undefined;
319
- tip?: string | undefined;
320
- success?: string | undefined;
321
- fail?: string | undefined;
322
- loading?: string | undefined;
323
- /** 步骤状态 */
324
- status: StatusType;
325
- custom?: {
326
- [key: string]: unknown;
327
- } | undefined;
328
- }[] | undefined;
329
- number?: string | number | undefined;
330
- device?: {
331
- [key: string]: unknown;
332
- } | undefined;
333
- pay?: {
334
- [key: string]: unknown;
335
- } | undefined;
336
- custom?: {
337
- [key: string]: unknown;
338
- } | undefined;
339
- manual?: {
340
- title: string;
341
- text: string;
342
- status?: boolean | undefined;
343
- money?: number | undefined;
344
- } | undefined;
345
- backup?: Omit<State, "backup"> | undefined;
346
- client?: ClientEnum | undefined;
347
- };
348
- };
349
- export declare function reducers(state: State, action: Action): State;
350
- export declare const Provider: ({ children, state: providerState, }: {
351
- children: ReactNode;
352
- state?: State | undefined;
353
- }) => JSX.Element;
354
- export declare function useContextData(): State;
355
- export declare function useDispatch(): ThunkDispatch<State, Action>;
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- declare const _default: ({ api, onChange, children, url, version, }: {
3
- api: any;
4
- onChange: any;
5
- children?: React.ReactNode;
6
- url?: string | undefined;
7
- version?: string | undefined;
8
- }) => JSX.Element;
9
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const Deposit: () => JSX.Element;
2
- export default Deposit;
@@ -1,36 +0,0 @@
1
- /**
2
- * @description: visa/master手续费是否一致
3
- * @param {any} creditCardConfig
4
- * @return {*}
5
- */
6
- export declare const isCreditCardSurchargeSame: (creditCardConfig: any[]) => boolean;
7
- /**
8
- * @description: 格式化visa/master手续费
9
- * @param {any} item 支付列表项
10
- * @param {number} amount 订单金额
11
- * @param {boolean} isSame 手续费是否一致
12
- * @return {*}
13
- */
14
- export declare const formatCreditCardSurcharge: (item: any, amount: number, isSame: boolean) => any;
15
- /**
16
- * @description: 格式化visa/master手续费列表
17
- * @param {any} item
18
- * @param {number} amount
19
- * @return {*}
20
- */
21
- export declare const formatCreditCardSurchargeList: (item: any, amount: number) => any;
22
- /**
23
- * @description: 格式化visa/master手续费文案,只显示百分比区间
24
- * @return {*}
25
- */
26
- export declare const formatCreditCardSurchargeText: (surcharge_config: any[], surcharge_text: string) => string;
27
- /**
28
- * @title: 计算支付列表的手续费
29
- * @description:
30
- * @param {any} paymentList
31
- * @param {number} amount
32
- * @return {*}
33
- * @Author: zhiwei.Wang
34
- * @Date: 2024-08-18 09:30
35
- */
36
- export declare const calculateSurcharge: (paymentList: any[], amount: number) => any[];
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- declare type PaymentStatusProps = {
3
- onChange: (status: 'succeeded' | 'processing' | 'requires_payment_method' | 'error') => void;
4
- };
5
- declare const PaymentStatus: React.FC<PaymentStatusProps>;
6
- export default PaymentStatus;
@@ -1,2 +0,0 @@
1
- declare const StripePayment: () => JSX.Element;
2
- export default StripePayment;
@@ -1,2 +0,0 @@
1
- declare const PageLoading: () => JSX.Element;
2
- export default PageLoading;
@@ -1,2 +0,0 @@
1
- declare const PaymentRequestForm: () => JSX.Element | null;
2
- export default PaymentRequestForm;
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- export interface StripePayRef {
4
- init: (res: any) => void;
5
- }
6
- export interface StripePayProps {
7
- onChange?: (values: any) => void;
8
- }
9
- declare const _default: React.ForwardRefExoticComponent<StripePayProps & React.RefAttributes<any>>;
10
- export default _default;
@@ -1,32 +0,0 @@
1
- export interface FormState {
2
- platform: 'pc' | 'h5' | '' | undefined;
3
- order: any;
4
- status: 'init' | 'ready' | 'loading' | 'success' | 'error';
5
- payCallback: (res?: any) => void;
6
- history?: any;
7
- payGroup?: PayGroup;
8
- walletSetting: {
9
- name: string;
10
- popup_status: 0 | 1 | null;
11
- };
12
- }
13
- export interface PayGroup {
14
- order_id?: string;
15
- total_amount?: number;
16
- walletPass?: {
17
- amount: number;
18
- cards: any[];
19
- [key: string]: any;
20
- paid?: boolean;
21
- };
22
- otherPayment?: {
23
- [key: string]: any;
24
- };
25
- wait_amount?: number;
26
- payment_group_id?: number;
27
- payment_priority?: string[];
28
- pay_number?: string;
29
- _order: any;
30
- front_order_uuid?: string;
31
- }
32
- export declare const Provider: any, Context: any;
@@ -1,57 +0,0 @@
1
- import { PayGroup } from "./model";
2
- import { WalletPassDataType } from "./PaymentMethods/WalletPass/serve";
3
- /**
4
- * 计算walletPass列表数据的总金额
5
- * @param list
6
- */
7
- export declare const calcWalletPassListAmount: (list: any[]) => any;
8
- /**
9
- * 将walletPass列表数据转换为prepare_payments需要的数据格式
10
- * @param list
11
- */
12
- export declare const formatWalletPassList2PreparePayments: (list?: any[]) => {
13
- voucher_id: any;
14
- amount: number;
15
- tag: any;
16
- }[];
17
- /**
18
- * walletPass支付params
19
- * @param payGroup
20
- */
21
- export declare const formatWalletPassParams: (payGroup: PayGroup) => {
22
- order_id: string;
23
- payment_group_id: number;
24
- payments: {
25
- amount: string;
26
- wallet_pass_use_value: any;
27
- voucher_id: any;
28
- tag: any;
29
- wallet_pass_usage_unit: any;
30
- }[];
31
- };
32
- /**
33
- * @title: 获取是否walletPass和三方支付的组合支付
34
- * @description: 三方支付 (stripe 支付宝 微信 苹果 谷歌)
35
- * @return: *
36
- * @Author: shengjie.zuo
37
- * @Date: 2024-08-30 10:06:17
38
- */
39
- export declare const getIsWalletPassAndTripartitePayment: (payGroup: PayGroup) => boolean | 0 | undefined;
40
- export declare const isFranchiseeShop: (path?: any, history?: any) => any;
41
- /**
42
- * @title: 获取当前连锁加盟店铺shopid
43
- * @description:
44
- * @param {any} param1
45
- * @return {*}
46
- * @Author: chensheng.gu
47
- * @Date: 2024-08-07 10:04
48
- */
49
- export declare const getFranchiseeShopId: (path?: any, history?: any) => number;
50
- export declare const formatFranchiseeRoute: (url: string, history?: any) => string;
51
- export declare const getAvailableMaxAmount: (data: WalletPassDataType) => string;
52
- export declare const clientPayment: (params: {
53
- order_id: number;
54
- type: "aliPay" | "wxPay" | 'google_pay';
55
- values: any;
56
- interaction?: any;
57
- }) => void;
@@ -1,33 +0,0 @@
1
- declare const _default: {
2
- en: {
3
- 'pisell2.text.shopping-cart.item': (num: number) => string;
4
- 'pisell2.text.shopping-cart.clear.cart': string;
5
- 'pisell2.text.shopping-cart.add.service': string;
6
- 'pisell2.text.shopping-cart.add.more': string;
7
- 'pisell2.text.shopping-cart.no.selected': string;
8
- 'pisell2.text.shopping-cart.confirm': string;
9
- 'pisell2.text.shopping-cart.cancel': string;
10
- 'pisell2.text.shopping-cart.select.holder.modal.title': string;
11
- };
12
- 'zh-CN': {
13
- 'pisell2.text.shopping-cart.item': (num: number) => string;
14
- 'pisell2.text.shopping-cart.clear.cart': string;
15
- 'pisell2.text.shopping-cart.add.service': string;
16
- 'pisell2.text.shopping-cart.add.more': string;
17
- 'pisell2.text.shopping-cart.no.selected': string;
18
- 'pisell2.text.shopping-cart.confirm': string;
19
- 'pisell2.text.shopping-cart.cancel': string;
20
- 'pisell2.text.shopping-cart.select.holder.modal.title': string;
21
- };
22
- 'zh-HK': {
23
- 'pisell2.text.shopping-cart.item': (num: number) => string;
24
- 'pisell2.text.shopping-cart.clear.cart': string;
25
- 'pisell2.text.shopping-cart.add.service': string;
26
- 'pisell2.text.shopping-cart.add.more': string;
27
- 'pisell2.text.shopping-cart.no.selected': string;
28
- 'pisell2.text.shopping-cart.confirm': string;
29
- 'pisell2.text.shopping-cart.cancel': string;
30
- 'pisell2.text.shopping-cart.select.holder.modal.title': string;
31
- };
32
- };
33
- export default _default;
@@ -1,48 +0,0 @@
1
- import { CollapseProps } from 'antd';
2
- export interface productProps {
3
- hideAddBtn?: boolean;
4
- isShowNote?: boolean;
5
- isShowPackageNote?: boolean;
6
- products?: any[];
7
- holders?: any[];
8
- isEdit?: boolean;
9
- disabledEdit?: boolean;
10
- isShowChangeResource?: boolean;
11
- isShowDelete?: boolean;
12
- isShowChangeHolder?: boolean;
13
- isShowHolder?: boolean;
14
- isShowAddHolderButton?: boolean;
15
- }
16
- export interface shoppingCartProps {
17
- isOpenGroup?: boolean;
18
- carts?: any[];
19
- platform?: 'shop' | 'h5';
20
- emptyText?: string;
21
- activeKey?: string[] | number[];
22
- defaultActiveKey?: string[] | number[];
23
- className?: string;
24
- onCard?: (e: any) => void;
25
- onAction?: (e: any) => void;
26
- onChange?: (items: any, type?: string, other?: any) => void;
27
- onAddProduct?: (e?: any) => void;
28
- onActiveKey?: (e: any) => void;
29
- isShowImage?: boolean;
30
- isShowHolder?: boolean;
31
- isShowDelete?: boolean;
32
- collapseParams?: CollapseProps;
33
- productParams?: productProps;
34
- isHideClearCart?: boolean;
35
- isParallelResource?: boolean;
36
- }
37
- /**
38
- * @title: 商品卡片
39
- * @description:
40
- * @return {*}
41
- * @Author: WangHan
42
- * @Date: 2024-11-29 09:52
43
- */
44
- export interface ProductProps {
45
- id?: any;
46
- lists: any[];
47
- isAdd?: boolean;
48
- }
@@ -1,42 +0,0 @@
1
- declare const _default: {
2
- en: {
3
- 'pisell2.subtotal.deposit': string;
4
- 'pisell2.subtotal.total': string;
5
- 'pisell2.subtotal.subtotal': string;
6
- 'pisell2.subtotal.tax': string;
7
- 'pisell2.subtotal.delivery-fee': string;
8
- 'pisell2.subtotal.discount': string;
9
- 'pisell2.subtotal.point-deduction': string;
10
- 'pisell2.subtotal.member-deduction': string;
11
- 'pisell2.subtotal.items': string;
12
- 'pisell2.subtotal.not-contain': string;
13
- 'pisell2.subtotal.included': string;
14
- };
15
- 'zh-CN': {
16
- 'pisell2.subtotal.deposit': string;
17
- 'pisell2.subtotal.total': string;
18
- 'pisell2.subtotal.subtotal': string;
19
- 'pisell2.subtotal.tax': string;
20
- 'pisell2.subtotal.delivery-fee': string;
21
- 'pisell2.subtotal.discount': string;
22
- 'pisell2.subtotal.point-deduction': string;
23
- 'pisell2.subtotal.member-deduction': string;
24
- 'pisell2.subtotal.items': string;
25
- 'pisell2.subtotal.not-contain': string;
26
- 'pisell2.subtotal.included': string;
27
- };
28
- 'zh-HK': {
29
- 'pisell2.subtotal.deposit': string;
30
- 'pisell2.subtotal.total': string;
31
- 'pisell2.subtotal.subtotal': string;
32
- 'pisell2.subtotal.tax': string;
33
- 'pisell2.subtotal.delivery-fee': string;
34
- 'pisell2.subtotal.discount': string;
35
- 'pisell2.subtotal.point-deduction': string;
36
- 'pisell2.subtotal.member-deduction': string;
37
- 'pisell2.subtotal.items': string;
38
- 'pisell2.subtotal.not-contain': string;
39
- 'pisell2.subtotal.included': string;
40
- };
41
- };
42
- export default _default;
@@ -1,6 +0,0 @@
1
- interface AddServiceVariantProps {
2
- globalState: any;
3
- setGlobalState: any;
4
- }
5
- declare const AddServiceVariant: (props: AddServiceVariantProps) => JSX.Element;
6
- export default AddServiceVariant;