@pisell/private-materials 6.3.140 → 6.3.142

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 (283) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/meta.js +1 -1
  5. package/build/lowcode/render/default/view.js +1 -1
  6. package/build/lowcode/view.js +1 -1
  7. package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
  8. package/es/components/appointmentBooking/components/Cart/index.d.ts +1 -0
  9. package/es/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
  10. package/es/components/appointmentBooking/components/Footer/index.d.ts +1 -0
  11. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
  12. package/es/components/booking/forms/footer.d.ts +1 -0
  13. package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
  14. package/es/components/booking/hooks/useClearCart.d.ts +1 -0
  15. package/es/components/booking/info/dateRange/index.d.ts +1 -0
  16. package/es/components/booking/notes/NoteBlock/index.d.ts +1 -0
  17. package/es/components/ecocup/components/AddCustomerModal/index.d.ts +1 -0
  18. package/es/components/ecocup/components/CupActionList/index.d.ts +1 -0
  19. package/es/components/ecocup/components/CupActionModal/index.d.ts +1 -0
  20. package/es/components/ecocup/components/CupStatusModal/index.d.ts +1 -0
  21. package/es/components/ecocup/components/CustomerAndCupModal/index.d.ts +1 -0
  22. package/es/components/ecocup/components/MoreDropdown/index.d.ts +1 -0
  23. package/es/components/ecocup/components/SearchBar/index.d.ts +1 -0
  24. package/es/components/ecocup/components/SettingModal/index.d.ts +1 -0
  25. package/es/components/ecocup/cupList/hooks/useColumns.d.ts +1 -0
  26. package/es/components/ecocup/cupList/hooks/useSummary.d.ts +1 -0
  27. package/es/components/ecocup/cupList/index.d.ts +1 -0
  28. package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  29. package/es/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
  30. package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -0
  31. package/es/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
  32. package/es/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
  33. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
  34. package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -0
  35. package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -0
  36. package/es/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
  37. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  38. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  39. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
  40. package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
  41. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
  42. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
  43. package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
  44. package/es/components/scanOrder/components/Content/index.js +47 -31
  45. package/es/components/scanOrder/components/Menu/index.d.ts +1 -0
  46. package/es/components/scanOrder/components/Menu/index.js +2 -1
  47. package/es/components/scanOrder/locales.d.ts +5 -0
  48. package/es/components/scanOrder/locales.js +5 -0
  49. package/es/components/shoppingCart/hooks/useAddService.d.ts +1 -0
  50. package/es/components/shoppingCart/hooks/useClearCart.d.ts +1 -0
  51. package/es/components/workSpaceList/components/Modal/index.d.ts +1 -0
  52. package/es/plus/orderList/components/HandleActions.d.ts +1 -0
  53. package/es/plus/orderList/components/QuickFilter.d.ts +1 -0
  54. package/es/plus/orderList/components/Reset.d.ts +1 -0
  55. package/es/plus/orderList/components/Toolbar.d.ts +1 -0
  56. package/es/plus/pisellReservation/floorMap/useReservationFloorPlan.d.ts +1 -0
  57. package/es/plus/saasAttendance/settings/components/membersField/index.d.ts +1 -0
  58. package/es/plus/saasRegister/components/VertifyEmail.d.ts +1 -0
  59. package/es/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
  60. package/es/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +1 -0
  61. package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +1 -0
  62. package/es/pro/pisellPhoneKeyboard/index.d.ts +1 -0
  63. package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
  64. package/lib/components/appointmentBooking/components/Cart/index.d.ts +1 -0
  65. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
  66. package/lib/components/appointmentBooking/components/Footer/index.d.ts +1 -0
  67. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
  68. package/lib/components/booking/forms/footer.d.ts +1 -0
  69. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
  70. package/lib/components/booking/hooks/useClearCart.d.ts +1 -0
  71. package/lib/components/booking/info/dateRange/index.d.ts +1 -0
  72. package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -0
  73. package/lib/components/ecocup/components/AddCustomerModal/index.d.ts +1 -0
  74. package/lib/components/ecocup/components/CupActionList/index.d.ts +1 -0
  75. package/lib/components/ecocup/components/CupActionModal/index.d.ts +1 -0
  76. package/lib/components/ecocup/components/CupStatusModal/index.d.ts +1 -0
  77. package/lib/components/ecocup/components/CustomerAndCupModal/index.d.ts +1 -0
  78. package/lib/components/ecocup/components/MoreDropdown/index.d.ts +1 -0
  79. package/lib/components/ecocup/components/SearchBar/index.d.ts +1 -0
  80. package/lib/components/ecocup/components/SettingModal/index.d.ts +1 -0
  81. package/lib/components/ecocup/cupList/hooks/useColumns.d.ts +1 -0
  82. package/lib/components/ecocup/cupList/hooks/useSummary.d.ts +1 -0
  83. package/lib/components/ecocup/cupList/index.d.ts +1 -0
  84. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  85. package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
  86. package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -0
  87. package/lib/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
  88. package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
  89. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
  90. package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -0
  91. package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -0
  92. package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
  93. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  94. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  95. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
  96. package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
  97. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
  98. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
  99. package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
  100. package/lib/components/scanOrder/components/Content/index.js +8 -0
  101. package/lib/components/scanOrder/components/Menu/index.d.ts +1 -0
  102. package/lib/components/scanOrder/components/Menu/index.js +2 -2
  103. package/lib/components/scanOrder/locales.d.ts +5 -0
  104. package/lib/components/scanOrder/locales.js +5 -0
  105. package/lib/components/shoppingCart/hooks/useAddService.d.ts +1 -0
  106. package/lib/components/shoppingCart/hooks/useClearCart.d.ts +1 -0
  107. package/lib/components/workSpaceList/components/Modal/index.d.ts +1 -0
  108. package/lib/plus/orderList/components/HandleActions.d.ts +1 -0
  109. package/lib/plus/orderList/components/QuickFilter.d.ts +1 -0
  110. package/lib/plus/orderList/components/Reset.d.ts +1 -0
  111. package/lib/plus/orderList/components/Toolbar.d.ts +1 -0
  112. package/lib/plus/pisellReservation/floorMap/useReservationFloorPlan.d.ts +1 -0
  113. package/lib/plus/saasAttendance/settings/components/membersField/index.d.ts +1 -0
  114. package/lib/plus/saasRegister/components/VertifyEmail.d.ts +1 -0
  115. package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
  116. package/lib/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +1 -0
  117. package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +1 -0
  118. package/lib/pro/pisellPhoneKeyboard/index.d.ts +1 -0
  119. package/package.json +1 -1
  120. package/es/components/appointmentBooking/components/Form/index.d.ts +0 -4
  121. package/es/components/appointmentBooking/components/Services/index.d.ts +0 -4
  122. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -3
  123. package/es/components/appointmentBooking/hooks.d.ts +0 -107
  124. package/es/components/appointmentBooking/utils.d.ts +0 -227
  125. package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +0 -6
  126. package/es/components/authentication/admin/ChannelAuthSetting/index.d.ts +0 -6
  127. package/es/components/booking/components/footer/utils.d.ts +0 -47
  128. package/es/components/booking/components/reloadResourceModal/index.d.ts +0 -9
  129. package/es/components/booking/components/voucher/index.d.ts +0 -3
  130. package/es/components/booking/info/service/editService/constants.d.ts +0 -1
  131. package/es/components/booking/info/service/editService/index.d.ts +0 -7
  132. package/es/components/booking/info/service2/utils.d.ts +0 -248
  133. package/es/components/booking/info2/index.d.ts +0 -12
  134. package/es/components/booking/info2/service/addService/index.d.ts +0 -11
  135. package/es/components/booking/locales.d.ts +0 -1489
  136. package/es/components/booking/model.d.ts +0 -120
  137. package/es/components/eftposPay/amount.d.ts +0 -21
  138. package/es/components/eftposPay/app.d.ts +0 -10
  139. package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -3
  140. package/es/components/eftposPay/component/fail/index.d.ts +0 -3
  141. package/es/components/eftposPay/component/fail/network.d.ts +0 -9
  142. package/es/components/eftposPay/component/fail/unknow.d.ts +0 -10
  143. package/es/components/eftposPay/component/manual/index.d.ts +0 -9
  144. package/es/components/eftposPay/component/signature/index.d.ts +0 -9
  145. package/es/components/eftposPay/device.d.ts +0 -23
  146. package/es/components/eftposPay/index.d.ts +0 -4
  147. package/es/components/eftposPay/linkly/hooks/normal.d.ts +0 -30
  148. package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +0 -4
  149. package/es/components/eftposPay/linkly/index.d.ts +0 -2
  150. package/es/components/eftposPay/pay.d.ts +0 -20
  151. package/es/components/eftposPay/payo/config.d.ts +0 -13
  152. package/es/components/eftposPay/payo/hooks.d.ts +0 -10
  153. package/es/components/eftposPay/payo/payment.d.ts +0 -66
  154. package/es/components/eftposPay/tip.d.ts +0 -10
  155. package/es/components/eftposPay/tyro/index.d.ts +0 -9
  156. package/es/components/eftposPay/utils/payLog.d.ts +0 -81
  157. package/es/components/eftposPay/windcave/receiptAction.d.ts +0 -23
  158. package/es/components/eftposPay/windcave/windcave.d.ts +0 -7
  159. package/es/components/kioskSkuDetail/index.d.ts +0 -39
  160. package/es/components/kioskSkuDetail/locales.d.ts +0 -48
  161. package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +0 -10
  162. package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +0 -10
  163. package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +0 -10
  164. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +0 -16
  165. package/es/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +0 -15
  166. package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +0 -83
  167. package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +0 -10
  168. package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +0 -10
  169. package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +0 -22
  170. package/es/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +0 -25
  171. package/es/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +0 -16
  172. package/es/components/pay/toC/PaymentMethods/index.d.ts +0 -9
  173. package/es/components/pay/toC/index.d.ts +0 -3
  174. package/es/components/pay/toC/locales.d.ts +0 -631
  175. package/es/components/pay/toC/payGroup.d.ts +0 -59
  176. package/es/components/pay/toC/serve.d.ts +0 -87
  177. package/es/components/pay/toC/utils.d.ts +0 -65
  178. package/es/components/ruleSetting/locales.d.ts +0 -78
  179. package/es/components/systemSettings/registry/components/GroupModal.d.ts +0 -4
  180. package/es/components/systemSettings/registry/components/ItemModal.d.ts +0 -4
  181. package/es/components/systemSettings/registry/index.d.ts +0 -5
  182. package/es/components/systemSettings/registry/services.d.ts +0 -99
  183. package/es/components/systemSettings/registry/types.d.ts +0 -143
  184. package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -9
  185. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +0 -4
  186. package/es/components/ticketBooking/components/timeBar/index.d.ts +0 -12
  187. package/es/components/ticketBooking/index.d.ts +0 -7
  188. package/es/index.d.ts +0 -87
  189. package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -6
  190. package/es/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +0 -3
  191. package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -15
  192. package/es/plus/skuOptionsSelection/index.d.ts +0 -5
  193. package/es/plus/skuOptionsSelection/locales.d.ts +0 -58
  194. package/es/plus/skuOptionsSelection/types.d.ts +0 -458
  195. package/es/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +0 -19
  196. package/es/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +0 -1
  197. package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +0 -4
  198. package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
  199. package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +0 -1
  200. package/es/pro/Cards/components/SKUCard/index.d.ts +0 -5
  201. package/es/pro/Login2.0/components/phoneValidation.d.ts +0 -17
  202. package/lib/components/appointmentBooking/components/Form/index.d.ts +0 -4
  203. package/lib/components/appointmentBooking/components/Services/index.d.ts +0 -4
  204. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -3
  205. package/lib/components/appointmentBooking/hooks.d.ts +0 -107
  206. package/lib/components/appointmentBooking/utils.d.ts +0 -227
  207. package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +0 -6
  208. package/lib/components/authentication/admin/ChannelAuthSetting/index.d.ts +0 -6
  209. package/lib/components/booking/components/footer/utils.d.ts +0 -47
  210. package/lib/components/booking/components/reloadResourceModal/index.d.ts +0 -9
  211. package/lib/components/booking/components/voucher/index.d.ts +0 -3
  212. package/lib/components/booking/info/service/editService/constants.d.ts +0 -1
  213. package/lib/components/booking/info/service/editService/index.d.ts +0 -7
  214. package/lib/components/booking/info/service2/utils.d.ts +0 -248
  215. package/lib/components/booking/info2/index.d.ts +0 -12
  216. package/lib/components/booking/info2/service/addService/index.d.ts +0 -11
  217. package/lib/components/booking/locales.d.ts +0 -1489
  218. package/lib/components/booking/model.d.ts +0 -120
  219. package/lib/components/eftposPay/amount.d.ts +0 -21
  220. package/lib/components/eftposPay/app.d.ts +0 -10
  221. package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -3
  222. package/lib/components/eftposPay/component/fail/index.d.ts +0 -3
  223. package/lib/components/eftposPay/component/fail/network.d.ts +0 -9
  224. package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -10
  225. package/lib/components/eftposPay/component/manual/index.d.ts +0 -9
  226. package/lib/components/eftposPay/component/signature/index.d.ts +0 -9
  227. package/lib/components/eftposPay/device.d.ts +0 -23
  228. package/lib/components/eftposPay/index.d.ts +0 -4
  229. package/lib/components/eftposPay/linkly/hooks/normal.d.ts +0 -30
  230. package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +0 -4
  231. package/lib/components/eftposPay/linkly/index.d.ts +0 -2
  232. package/lib/components/eftposPay/pay.d.ts +0 -20
  233. package/lib/components/eftposPay/payo/config.d.ts +0 -13
  234. package/lib/components/eftposPay/payo/hooks.d.ts +0 -10
  235. package/lib/components/eftposPay/payo/payment.d.ts +0 -66
  236. package/lib/components/eftposPay/tip.d.ts +0 -10
  237. package/lib/components/eftposPay/tyro/index.d.ts +0 -9
  238. package/lib/components/eftposPay/utils/payLog.d.ts +0 -81
  239. package/lib/components/eftposPay/windcave/receiptAction.d.ts +0 -23
  240. package/lib/components/eftposPay/windcave/windcave.d.ts +0 -7
  241. package/lib/components/kioskSkuDetail/index.d.ts +0 -39
  242. package/lib/components/kioskSkuDetail/locales.d.ts +0 -48
  243. package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +0 -10
  244. package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +0 -10
  245. package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +0 -10
  246. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +0 -16
  247. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +0 -15
  248. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +0 -83
  249. package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +0 -10
  250. package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +0 -10
  251. package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +0 -22
  252. package/lib/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +0 -25
  253. package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +0 -16
  254. package/lib/components/pay/toC/PaymentMethods/index.d.ts +0 -9
  255. package/lib/components/pay/toC/index.d.ts +0 -3
  256. package/lib/components/pay/toC/locales.d.ts +0 -631
  257. package/lib/components/pay/toC/payGroup.d.ts +0 -59
  258. package/lib/components/pay/toC/serve.d.ts +0 -87
  259. package/lib/components/pay/toC/utils.d.ts +0 -65
  260. package/lib/components/ruleSetting/locales.d.ts +0 -78
  261. package/lib/components/systemSettings/registry/components/GroupModal.d.ts +0 -4
  262. package/lib/components/systemSettings/registry/components/ItemModal.d.ts +0 -4
  263. package/lib/components/systemSettings/registry/index.d.ts +0 -5
  264. package/lib/components/systemSettings/registry/services.d.ts +0 -99
  265. package/lib/components/systemSettings/registry/types.d.ts +0 -143
  266. package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -9
  267. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +0 -4
  268. package/lib/components/ticketBooking/components/timeBar/index.d.ts +0 -12
  269. package/lib/components/ticketBooking/index.d.ts +0 -7
  270. package/lib/index.d.ts +0 -87
  271. package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -6
  272. package/lib/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +0 -3
  273. package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -15
  274. package/lib/plus/skuOptionsSelection/index.d.ts +0 -5
  275. package/lib/plus/skuOptionsSelection/locales.d.ts +0 -58
  276. package/lib/plus/skuOptionsSelection/types.d.ts +0 -458
  277. package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +0 -19
  278. package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +0 -1
  279. package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +0 -4
  280. package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
  281. package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +0 -1
  282. package/lib/pro/Cards/components/SKUCard/index.d.ts +0 -5
  283. package/lib/pro/Login2.0/components/phoneValidation.d.ts +0 -17
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- import { RenderItemProps } from '../../../../pro/Selector/types';
3
- declare const NormalCard: (props: RenderItemProps & {
4
- parentDataSource: any;
5
- }) => JSX.Element;
6
- export default NormalCard;
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const OptionItemCard: (props: any) => JSX.Element;
3
- export default OptionItemCard;
@@ -1,15 +0,0 @@
1
- interface OptionsModalProps {
2
- parentDataSource: any;
3
- dataSource: any;
4
- modalDataSource: any;
5
- values: any;
6
- optionItemValue?: any;
7
- modalValue: any;
8
- remainingCount: number;
9
- open: boolean;
10
- title: string;
11
- onCancel: () => void;
12
- onConfirm: (v: any) => void;
13
- }
14
- declare const OptionsModal: (props: OptionsModalProps) => JSX.Element;
15
- export default OptionsModal;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- import { IProps } from './types';
3
- import './index.less';
4
- declare const SKUOptionsSelection: React.ForwardRefExoticComponent<IProps & React.RefAttributes<unknown>>;
5
- export default SKUOptionsSelection;
@@ -1,58 +0,0 @@
1
- declare const _default: {
2
- en: {
3
- 'pisell2.skuOptionsSelection.title': string;
4
- 'pisell2.skuOptionsSelection.titleExtra.alreadySelected': string;
5
- 'pisell2.skuOptionsSelection.titleExtra.totalPrice': string;
6
- 'pisell2.skuOptionsSelection.optionItemCard.editSelections': string;
7
- 'pisell2.skuOptionsSelection.variantItemCard.soldOut': string;
8
- 'pisell2.skuOptionsSelection.variantItemCard.price': string;
9
- 'pisell2.skuOptionsSelection.optionItemCard.typeText': string;
10
- 'pisell2.skuOptionsSelection.optionItemCard.overSelected': string;
11
- 'pisell2.skuOptionsSelection.optionItemCard.confirm': string;
12
- };
13
- 'zh-CN': {
14
- 'pisell2.skuOptionsSelection.title': string;
15
- 'pisell2.skuOptionsSelection.titleExtra.alreadySelected': string;
16
- 'pisell2.skuOptionsSelection.titleExtra.totalPrice': string;
17
- 'pisell2.skuOptionsSelection.optionItemCard.editSelections': string;
18
- 'pisell2.skuOptionsSelection.variantItemCard.soldOut': string;
19
- 'pisell2.skuOptionsSelection.variantItemCard.price': string;
20
- 'pisell2.skuOptionsSelection.optionItemCard.typeText': string;
21
- 'pisell2.skuOptionsSelection.optionItemCard.overSelected': string;
22
- 'pisell2.skuOptionsSelection.optionItemCard.confirm': string;
23
- };
24
- 'zh-HK': {
25
- 'pisell2.skuOptionsSelection.title': string;
26
- 'pisell2.skuOptionsSelection.titleExtra.alreadySelected': string;
27
- 'pisell2.skuOptionsSelection.titleExtra.totalPrice': string;
28
- 'pisell2.skuOptionsSelection.optionItemCard.editSelections': string;
29
- 'pisell2.skuOptionsSelection.variantItemCard.soldOut': string;
30
- 'pisell2.skuOptionsSelection.variantItemCard.price': string;
31
- 'pisell2.skuOptionsSelection.optionItemCard.typeText': string;
32
- 'pisell2.skuOptionsSelection.optionItemCard.overSelected': string;
33
- 'pisell2.skuOptionsSelection.optionItemCard.confirm': string;
34
- };
35
- ja: {
36
- 'pisell2.skuOptionsSelection.title': string;
37
- 'pisell2.skuOptionsSelection.titleExtra.alreadySelected': string;
38
- 'pisell2.skuOptionsSelection.titleExtra.totalPrice': string;
39
- 'pisell2.skuOptionsSelection.optionItemCard.editSelections': string;
40
- 'pisell2.skuOptionsSelection.variantItemCard.soldOut': string;
41
- 'pisell2.skuOptionsSelection.variantItemCard.price': string;
42
- 'pisell2.skuOptionsSelection.optionItemCard.typeText': string;
43
- 'pisell2.skuOptionsSelection.optionItemCard.overSelected': string;
44
- 'pisell2.skuOptionsSelection.optionItemCard.confirm': string;
45
- };
46
- pt: {
47
- 'pisell2.skuOptionsSelection.title': string;
48
- 'pisell2.skuOptionsSelection.titleExtra.alreadySelected': string;
49
- 'pisell2.skuOptionsSelection.titleExtra.totalPrice': string;
50
- 'pisell2.skuOptionsSelection.optionItemCard.editSelections': string;
51
- 'pisell2.skuOptionsSelection.variantItemCard.soldOut': string;
52
- 'pisell2.skuOptionsSelection.variantItemCard.price': string;
53
- 'pisell2.skuOptionsSelection.optionItemCard.typeText': string;
54
- 'pisell2.skuOptionsSelection.optionItemCard.overSelected': string;
55
- 'pisell2.skuOptionsSelection.optionItemCard.confirm': string;
56
- };
57
- };
58
- export default _default;
@@ -1,458 +0,0 @@
1
- /// <reference types="react" />
2
- import { LayoutConfig } from '../../pro/Selector/types';
3
- /**
4
- * SKU Card 文本样式配置
5
- */
6
- export interface SkuCardTextConfig {
7
- /** 是否显示 */
8
- visible?: boolean;
9
- /** 字体大小 */
10
- fontSize?: number;
11
- /** 颜色 */
12
- color?: string;
13
- /** 字体粗细 */
14
- fontWeight?: 'normal' | 'bold' | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
15
- /** 展示行数 */
16
- lineClamp?: number;
17
- }
18
- /**
19
- * SKU Card 图片配置
20
- */
21
- export interface SkuCardImageConfig {
22
- /** 是否显示 */
23
- visible?: boolean;
24
- /** 宽度 */
25
- width?: number;
26
- /** 高度 */
27
- height?: number;
28
- /** 圆角 */
29
- borderRadius?: number | string;
30
- /** 边框 */
31
- border?: string;
32
- }
33
- /**
34
- * SKU Card 禁用文本配置
35
- */
36
- export interface SkuCardDisabledTextConfig extends Omit<SkuCardTextConfig, 'lineClamp'> {
37
- /** 文本(可能是多语言) */
38
- text?: string;
39
- }
40
- /**
41
- * SKU Card 配置
42
- */
43
- export interface SkuCardConfig {
44
- /** 主标题配置 */
45
- title?: SkuCardTextConfig;
46
- /** 副标题配置 */
47
- subTitle?: SkuCardTextConfig;
48
- /** 价格配置 */
49
- price?: Omit<SkuCardTextConfig, 'lineClamp'>;
50
- /** 图片配置 */
51
- image?: SkuCardImageConfig;
52
- /**
53
- * @description 是否在「组合规格选项卡片(VariantCard)」展示价格
54
- * - 默认不展示,避免影响现有业务 UI
55
- */
56
- variantPriceVisible?: boolean;
57
- /** 禁用文本配置 */
58
- disabledText?: SkuCardDisabledTextConfig;
59
- }
60
- /**
61
- * SKU store状态类型
62
- */
63
- export interface SkuSelectionState {
64
- /** 数据源 */
65
- dataSource: any;
66
- /** 原始值 */
67
- value: Record<string | number, any>;
68
- /** 配置 */
69
- config: {
70
- overSold?: boolean;
71
- };
72
- /** 货币符号 */
73
- symbol: string;
74
- /** Selector数据源 */
75
- selectorDataSource: any[];
76
- /** Selector识别的值 */
77
- selectorValue: Record<string | number, any>;
78
- /** SKU Card 配置 */
79
- skuCardConfig: SkuCardConfig;
80
- /** 自定义样式 */
81
- style?: React.CSSProperties;
82
- /** 样式配置 */
83
- customConfig?: {
84
- /** 弹窗宽度 */
85
- modalWidth?: number | string;
86
- /** 选项布局 */
87
- selectorLayout?: LayoutConfig | null;
88
- };
89
- /** 主题 */
90
- theme?: {
91
- token?: {
92
- colorPrimary?: string;
93
- };
94
- };
95
- }
96
- /** SKU Card 默认配置 */
97
- export declare const defaultSkuCardConfig: SkuCardConfig;
98
- export interface IProps {
99
- /** 数据源 */
100
- dataSource: DataSource;
101
- /** 原始值 */
102
- value: SkuValue;
103
- /** 配置 */
104
- config?: {
105
- /** 是否禁用 */
106
- overSold?: 0 | 1;
107
- };
108
- /** SKU Card 配置 */
109
- skuCardConfig?: SkuCardConfig;
110
- /** 选中变更回调 */
111
- onChange: (value: SkuValue) => void;
112
- /** 自定义滚动容器 */
113
- customScrollParent?: HTMLElement | string;
114
- /** 自定义样式 */
115
- style?: React.CSSProperties;
116
- /** 自定义配置 */
117
- customConfig?: {
118
- /** 弹窗宽度 */
119
- modalWidth?: number | string;
120
- /** 选项布局 */
121
- selectorLayout?: LayoutConfig | null;
122
- };
123
- /** 主题 */
124
- theme: {
125
- token?: {
126
- colorPrimary?: string;
127
- };
128
- };
129
- }
130
- export interface DataSource {
131
- /** 单规格组数据 */
132
- option_group?: Array<OptionGroupItem>;
133
- /** 组合规格组装后的数据 */
134
- variant?: Array<VariantProductItem>;
135
- /** 组合规格组数据 */
136
- variant_group?: Array<VariantGroupItem>;
137
- /** 套餐商品组数据 */
138
- bundle_group?: Array<BundleItem>;
139
- }
140
- /**
141
- * 单规格组数据
142
- */
143
- export interface OptionGroupItem {
144
- /** 创建者id */
145
- create_account_id?: number;
146
- /** 创建时间 */
147
- created_at?: string;
148
- /** 删除时间 */
149
- deleted_at?: string | null;
150
- /** 模板id */
151
- template_id?: number;
152
- /** 更新者id */
153
- update_account_id?: number;
154
- /** 更新时间 */
155
- updated_at?: string;
156
- /** 单规格组id */
157
- id?: number;
158
- /** 是否启用 */
159
- is_enabled?: 0 | 1;
160
- /** 是否多选 */
161
- is_multiple?: 0 | 1;
162
- /** 最大选择数量 */
163
- max_quantity?: number;
164
- /** 最小选择数量 */
165
- min_quantity?: number;
166
- /** 单规格组名称 */
167
- name?: string;
168
- /** 单规格组下规格数据 */
169
- option_item?: Array<OptionItem>;
170
- /** 商品id */
171
- product_id?: number;
172
- /** 是否必选 */
173
- required?: 0 | 1;
174
- /** 店铺id */
175
- shop_id?: number;
176
- /** 排序 */
177
- sort?: number;
178
- /** 状态 */
179
- status?: 0 | 1;
180
- }
181
- /**
182
- * 单规格组下选项数据
183
- */
184
- export interface OptionItem {
185
- /** 创建者id */
186
- create_account_id?: number;
187
- /** 创建时间 */
188
- created_at?: string;
189
- /** 删除时间 */
190
- deleted_at?: string | null;
191
- /** 模板id */
192
- template_id?: number;
193
- /** 更新者id */
194
- update_account_id?: number;
195
- /** 更新时间 */
196
- updated_at?: string;
197
- /** 加价 */
198
- add_price?: string;
199
- /** 封面 */
200
- cover?: string;
201
- /** 描述 */
202
- description?: string;
203
- /** 规格id */
204
- id?: number;
205
- /** 是否启用 */
206
- is_enabled?: 0 | 1;
207
- /** 最大选择数量 */
208
- max_quantity?: number;
209
- /** 规格名称 */
210
- name?: string;
211
- /** 规格组id */
212
- option_group_id?: number;
213
- /** 原价 */
214
- original_price?: string;
215
- /** 商品id */
216
- product_id?: number;
217
- /** 店铺id */
218
- shop_id?: number;
219
- /** 排序 */
220
- sort?: number;
221
- /** 状态 */
222
- status?: 0 | 1;
223
- }
224
- /**
225
- * 组合规格组数据
226
- */
227
- export interface VariantGroupItem {
228
- /** 创建者id */
229
- create_account_id?: number;
230
- /** 创建时间 */
231
- created_at?: string;
232
- /** 删除时间 */
233
- deleted_at?: string | null;
234
- /** 更新者id */
235
- update_account_id?: number;
236
- /** 更新时间 */
237
- updated_at?: string;
238
- /** 组合规格组id */
239
- id?: number;
240
- /** 组合规格组名称 */
241
- name?: string;
242
- /** 位置id */
243
- position_id?: number;
244
- /** 商品id */
245
- product_id?: number;
246
- /** 店铺id */
247
- shop_id?: number;
248
- /** 排序 */
249
- sort?: number;
250
- /** 状态 */
251
- status?: 0 | 1;
252
- /** 组合规格组下选项数据 */
253
- variant_item?: Array<VariantItem>;
254
- }
255
- /**
256
- * 组合规格组下选项数据
257
- */
258
- export interface VariantItem {
259
- /** 创建者id */
260
- create_account_id?: number;
261
- /** 创建时间 */
262
- created_at?: string;
263
- /** 删除时间 */
264
- deleted_at?: string | null;
265
- /** 更新者id */
266
- update_account_id?: number;
267
- /** 更新时间 */
268
- updated_at?: string;
269
- /** 店铺id */
270
- shop_id?: number;
271
- /** 排序 */
272
- sort?: number;
273
- /** 规格id */
274
- id?: number;
275
- /** 是否默认 */
276
- is_default?: 0 | 1;
277
- /** 变体名称 */
278
- name?: string;
279
- /** 位置id */
280
- position_id?: number;
281
- /** 商品id */
282
- product_id?: number;
283
- /** 状态 */
284
- status?: 0 | 1;
285
- /** 组合规格组id */
286
- variant_group_id?: number;
287
- }
288
- /**
289
- * 组合规格商品数据
290
- */
291
- export interface VariantProductItem {
292
- /** 创建者id */
293
- create_account_id?: number;
294
- /** 创建时间 */
295
- created_at?: string;
296
- /** 更新者id */
297
- update_account_id?: number;
298
- /** 更新时间 */
299
- updated_at?: string;
300
- /** 条形码 */
301
- barcode?: string;
302
- /** 基础价格 */
303
- base_price?: string;
304
- /** 箱规数量 */
305
- box_specification_quantity?: number;
306
- /** 编码 */
307
- code?: string;
308
- /** 成本价格 */
309
- cost_price?: string;
310
- /** 封面 */
311
- cover?: string;
312
- /** 描述 */
313
- description?: string | null;
314
- /** 是否禁用 */
315
- disabled?: 0 | 1;
316
- /** 组合规格商品id */
317
- id?: number;
318
- /** 是否收税 */
319
- is_charge_tax?: 0 | 1;
320
- /** 是否发货 */
321
- is_delivery?: 0 | 1;
322
- /** 是否收税 */
323
- is_gst?: 0 | 1;
324
- /** 是否跟踪库存 */
325
- is_track?: 0 | 1;
326
- /** 名称 */
327
- name?: Record<string, string>;
328
- /** 开售重量 */
329
- open_sold_weight?: number;
330
- /** 原价 */
331
- original_price?: string;
332
- /** 是否超卖 */
333
- over_sold?: 0 | 1;
334
- /** 价格 */
335
- price?: string;
336
- /** 商品id */
337
- product_id?: number;
338
- /** 折扣类型 */
339
- rebate_type?: string;
340
- /** 折扣值 */
341
- rebate_value?: number;
342
- /** 标题 */
343
- title?: Record<string, string>;
344
- /** 单位 */
345
- unit?: string;
346
- /** 单位值 */
347
- unit_value?: number;
348
- /** 重量单位 */
349
- weight_unit?: string;
350
- /** 重量值 */
351
- weight_value?: string;
352
- }
353
- /**
354
- * 套餐商品组数据
355
- */
356
- export interface BundleGroupItem {
357
- /** 店铺id */
358
- shop_id?: number;
359
- /** 排序 */
360
- sort?: number;
361
- /** 套餐id */
362
- id?: number;
363
- /** 最大选择数量 */
364
- max_quantity?: number;
365
- /** 最小选择数量 */
366
- min_quantity?: number;
367
- /** 套餐名称 */
368
- name?: string;
369
- /** 商品id */
370
- product_id?: number;
371
- /** 套餐商品组数据 */
372
- bundle_item?: Array<BundleItem>;
373
- }
374
- /**
375
- * 套餐商品组下选项数据
376
- */
377
- export interface BundleItem {
378
- /** 店铺id */
379
- shop_id?: number;
380
- /** 排序 */
381
- sort?: number;
382
- /** 条形码 */
383
- barcode?: string;
384
- /** 套餐商品id */
385
- bundle_product_id?: number;
386
- /** 套餐商品变体id */
387
- bundle_variant_id?: number;
388
- /** 编码 */
389
- code?: string;
390
- /** 封面 */
391
- cover?: string;
392
- /** 扩展id */
393
- extension_id?: number;
394
- /** 扩展类型 */
395
- extension_type?: string;
396
- /** 套餐商品组id */
397
- group_id?: number;
398
- /** 套餐商品id */
399
- id: string | number;
400
- /** 是否跟踪库存 */
401
- is_track?: 0 | 1;
402
- /** 最大选择数量 */
403
- max_quantity?: number;
404
- /** 单规格组数据 */
405
- option_group?: Array<OptionGroupItem>;
406
- /** 是否允许超卖 */
407
- over_sold?: 0 | 1;
408
- /** 价格 */
409
- price?: string;
410
- /** 价格类型: mark_up==>加价 | mark_down==>减价 */
411
- price_type?: 'mark_up' | 'mark_down';
412
- /** 价格类型扩展: product_price==>商品价格 */
413
- price_type_ext?: '' | 'product_price';
414
- /** 商品id */
415
- product_id?: number;
416
- /** 商品价格 */
417
- product_price?: string;
418
- /** 商品副标题 */
419
- product_subtitle?: string;
420
- /** 库存数量 */
421
- stock_quantity?: number;
422
- /** 标题 */
423
- title?: string;
424
- }
425
- /**
426
- * sku value
427
- */
428
- export interface SkuValue {
429
- /** 商品id */
430
- product_id: number;
431
- /** 多规格商品id */
432
- product_variant_id: number;
433
- /** 多规格商品选项字符串 */
434
- product_option_string?: string;
435
- /** 套餐商品组数据 */
436
- bundle: Array<any>;
437
- /** 价格 */
438
- price?: string | number;
439
- /** 单规格组数据 */
440
- option: Array<OptionItem & {
441
- num: number;
442
- price: string;
443
- product_option_item_id: number;
444
- }>;
445
- }
446
- /**
447
- * Selector值原子类型
448
- */
449
- export interface SelectorValueAtom {
450
- /** 数据 */
451
- data: Record<string, any>;
452
- /** 数量 */
453
- quantity: number;
454
- /** 总价 */
455
- totalPrice: string | number;
456
- /** 值 */
457
- value: number | string;
458
- }
@@ -1,19 +0,0 @@
1
- interface BundleItem {
2
- id: string | number;
3
- title?: string;
4
- name?: string;
5
- min_quantity?: number;
6
- max_quantity?: number;
7
- bundle_item?: Array<{
8
- id: string | number;
9
- title?: string;
10
- cover?: string;
11
- price?: number;
12
- subtitle?: string;
13
- [key: string]: any;
14
- }>;
15
- required?: 0 | 1;
16
- is_enabled?: 0 | 1;
17
- }
18
- export declare const transformBundleGroup: (bundleGroup: BundleItem[]) => any[];
19
- export {};
@@ -1 +0,0 @@
1
- export declare const transformOptionGroup: (optionGroup: any[]) => any[];
@@ -1,4 +0,0 @@
1
- /**
2
- * 将SelectorValue转换为Value
3
- */
4
- export declare const transformSelectorValueToValue: (selectorValue: any) => {};
@@ -1,4 +0,0 @@
1
- /**
2
- * 将value转换为SelectorGroup需要的格式
3
- */
4
- export declare const transformValueToSelectorValue: (value: any, dataSource: any) => any;
@@ -1 +0,0 @@
1
- export declare const transformVariantGroup: (variantGroup: any[]) => any[];
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- import { SKUCardProps } from './types';
3
- import './index.less';
4
- declare const SKUCard: React.FC<SKUCardProps>;
5
- export default SKUCard;
@@ -1,17 +0,0 @@
1
- import { PhoneValueObject } from './PhoneInput';
2
- declare type GetTextFunction = (key: string) => string;
3
- /**
4
- * 手机号校验函数,用于 Ant Design Form 的 rules
5
- * @param value 手机号值,可以是字符串或对象格式
6
- * @param getText 国际化文本获取函数
7
- * @returns Promise<void> 校验通过时 resolve,失败时 reject 并返回错误信息
8
- */
9
- export declare const validatePhoneNumber: (value: string | PhoneValueObject, getText: GetTextFunction) => Promise<void>;
10
- /**
11
- * 创建手机号校验规则,用于 Form.Item 的 rules 属性
12
- * @param getText 国际化文本获取函数
13
- * @param required 是否必填
14
- * @returns Form 校验规则数组
15
- */
16
- export declare const createPhoneValidationRules: (getText: GetTextFunction, required?: boolean) => any[];
17
- export {};
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- declare const Form: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>;
4
- export default Form;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- declare const Services: React.ForwardRefExoticComponent<React.RefAttributes<unknown>>;
4
- export default Services;
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const DepositModal: (props: any) => JSX.Element;
3
- export default DepositModal;