@pisell/private-materials 6.3.143 → 6.3.145

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 (343) 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 +145 -153
  7. package/build/lowcode/render/default/view.js +10 -10
  8. package/build/lowcode/view.js +10 -10
  9. package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
  10. package/es/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  11. package/es/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
  12. package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  13. package/es/components/appointmentBooking/components/Form/index.d.ts +4 -0
  14. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  15. package/es/components/appointmentBooking/components/Services/index.d.ts +4 -0
  16. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +3 -0
  17. package/es/components/appointmentBooking/hooks.d.ts +107 -0
  18. package/es/components/appointmentBooking/utils.d.ts +227 -0
  19. package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
  20. package/es/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
  21. package/es/components/booking/components/footer/utils.d.ts +47 -0
  22. package/es/components/booking/components/reloadResourceModal/index.d.ts +9 -0
  23. package/es/components/booking/components/voucher/index.d.ts +3 -0
  24. package/es/components/booking/forms/footer.d.ts +0 -1
  25. package/es/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  26. package/es/components/booking/hooks/useClearCart.d.ts +0 -1
  27. package/es/components/booking/info/dateRange/index.d.ts +0 -1
  28. package/es/components/booking/info/service/editService/constants.d.ts +1 -0
  29. package/es/components/booking/info/service/editService/index.d.ts +7 -0
  30. package/es/components/booking/info/service2/utils.d.ts +248 -0
  31. package/es/components/booking/info2/index.d.ts +12 -0
  32. package/es/components/booking/info2/service/addService/index.d.ts +11 -0
  33. package/es/components/booking/locales.d.ts +1489 -0
  34. package/es/components/booking/model.d.ts +120 -0
  35. package/es/components/booking/notes/NoteBlock/index.d.ts +0 -1
  36. package/es/components/ecocup/components/AddCustomerModal/index.d.ts +0 -1
  37. package/es/components/ecocup/components/CupActionList/index.d.ts +0 -1
  38. package/es/components/ecocup/components/CupActionModal/index.d.ts +0 -1
  39. package/es/components/ecocup/components/CupInfoCard/index.d.ts +0 -1
  40. package/es/components/ecocup/components/CupStatusModal/index.d.ts +0 -1
  41. package/es/components/ecocup/components/CustomerAndCupModal/index.d.ts +0 -1
  42. package/es/components/ecocup/components/CustomerCard/index.d.ts +0 -1
  43. package/es/components/ecocup/components/MoreDropdown/index.d.ts +0 -1
  44. package/es/components/ecocup/components/SearchBar/index.d.ts +0 -1
  45. package/es/components/ecocup/components/SettingModal/index.d.ts +0 -1
  46. package/es/components/ecocup/cupList/hooks/useColumns.d.ts +0 -1
  47. package/es/components/ecocup/cupList/hooks/useSummary.d.ts +0 -1
  48. package/es/components/ecocup/cupList/index.d.ts +0 -1
  49. package/es/components/eftpos/hooks.d.ts +1 -0
  50. package/es/components/eftpos/index.d.ts +1 -0
  51. package/es/components/eftposPay/amount.d.ts +20 -0
  52. package/es/components/eftposPay/app.d.ts +10 -0
  53. package/es/components/eftposPay/component/fail/failCustom.d.ts +3 -0
  54. package/es/components/eftposPay/component/fail/index.d.ts +3 -0
  55. package/es/components/eftposPay/component/fail/network.d.ts +8 -0
  56. package/es/components/eftposPay/component/fail/unknow.d.ts +9 -0
  57. package/es/components/eftposPay/component/manual/index.d.ts +9 -0
  58. package/es/components/eftposPay/component/signature/index.d.ts +8 -0
  59. package/es/components/eftposPay/device.d.ts +23 -0
  60. package/es/components/eftposPay/index.d.ts +4 -0
  61. package/es/components/eftposPay/linkly/hooks/normal.d.ts +30 -0
  62. package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
  63. package/es/components/eftposPay/linkly/index.d.ts +2 -0
  64. package/es/components/eftposPay/pay.d.ts +20 -0
  65. package/es/components/eftposPay/payo/config.d.ts +12 -0
  66. package/es/components/eftposPay/payo/hooks.d.ts +10 -0
  67. package/es/components/eftposPay/payo/payment.d.ts +66 -0
  68. package/es/components/eftposPay/tip.d.ts +9 -0
  69. package/es/components/eftposPay/tyro/index.d.ts +9 -0
  70. package/es/components/eftposPay/utils/payLog.d.ts +81 -0
  71. package/es/components/eftposPay/windcave/receiptAction.d.ts +22 -0
  72. package/es/components/eftposPay/windcave/windcave.d.ts +6 -0
  73. package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  74. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  75. package/es/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  76. package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  77. package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  78. package/es/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  79. package/es/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  80. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  81. package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  82. package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  83. package/es/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  84. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  85. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  86. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  87. package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  88. package/es/components/kioskSkuDetail/index.d.ts +39 -0
  89. package/es/components/kioskSkuDetail/locales.d.ts +48 -0
  90. package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +10 -0
  91. package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +10 -0
  92. package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +10 -0
  93. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +16 -0
  94. package/es/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +15 -0
  95. package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +83 -0
  96. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  97. package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +10 -0
  98. package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +10 -0
  99. package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +22 -0
  100. package/es/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +25 -0
  101. package/es/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +16 -0
  102. package/es/components/pay/toC/PaymentMethods/index.d.ts +9 -0
  103. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  104. package/es/components/pay/toC/index.d.ts +3 -0
  105. package/es/components/pay/toC/locales.d.ts +631 -0
  106. package/es/components/pay/toC/payGroup.d.ts +59 -0
  107. package/es/components/pay/toC/serve.d.ts +87 -0
  108. package/es/components/pay/toC/utils.d.ts +65 -0
  109. package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  110. package/es/components/ruleSetting/locales.d.ts +78 -0
  111. package/es/components/scanOrder/components/Cart/index.d.ts +16 -0
  112. package/es/components/scanOrder/components/Footer/index.d.ts +12 -0
  113. package/es/components/scanOrder/components/Menu/index.d.ts +18 -0
  114. package/es/components/scanOrder/context.d.ts +4 -0
  115. package/es/components/scanOrder/context.js +16 -8
  116. package/es/components/scanOrder/types.d.ts +79 -0
  117. package/es/components/scanOrder/utils/toShoppingCartProducts.d.ts +21 -0
  118. package/es/components/scanOrder/utils/transformProductDetail.d.ts +59 -0
  119. package/es/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  120. package/es/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
  121. package/es/components/systemSettings/registry/components/GroupModal.d.ts +4 -0
  122. package/es/components/systemSettings/registry/components/ItemModal.d.ts +4 -0
  123. package/es/components/systemSettings/registry/index.d.ts +5 -0
  124. package/es/components/systemSettings/registry/services.d.ts +99 -0
  125. package/es/components/systemSettings/registry/types.d.ts +143 -0
  126. package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +9 -0
  127. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +4 -0
  128. package/es/components/ticketBooking/components/timeBar/index.d.ts +12 -0
  129. package/es/components/ticketBooking/index.d.ts +7 -0
  130. package/es/components/venueBooking/components/Addons/index.d.ts +3 -0
  131. package/es/components/venueBooking/components/Cart/index.d.ts +28 -0
  132. package/es/components/venueBooking/components/Checkout/index.d.ts +2 -0
  133. package/es/components/venueBooking/components/Footer/index.d.ts +3 -0
  134. package/es/components/venueBooking/components/Header/index.d.ts +2 -0
  135. package/es/components/venueBooking/components/VenueSelection/components/TimeGrid.d.ts +2 -0
  136. package/es/components/venueBooking/context.d.ts +9 -0
  137. package/es/components/venueBooking/hooks.d.ts +72 -0
  138. package/es/components/venueBooking/index.d.ts +6 -0
  139. package/es/components/venueBooking/locales.d.ts +627 -0
  140. package/es/components/venueBooking/types.d.ts +204 -0
  141. package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
  142. package/es/index.d.ts +87 -0
  143. package/es/plus/orderList/components/HandleActions.d.ts +0 -1
  144. package/es/plus/orderList/components/QuickFilter.d.ts +0 -1
  145. package/es/plus/orderList/components/Reset.d.ts +0 -1
  146. package/es/plus/orderList/components/Toolbar.d.ts +0 -1
  147. package/es/plus/pisellReservation/floorMap/useReservationFloorPlan.d.ts +0 -1
  148. package/es/plus/pisellReservation/floorRoomCard/views/RoomCardIcons.d.ts +0 -1
  149. package/es/plus/pisellSalesManagement/hooks/useSalesGridData.d.ts +0 -1
  150. package/es/plus/saasAttendance/settings/components/membersField/index.d.ts +0 -1
  151. package/es/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
  152. package/es/plus/selectHolder/components/ErrorTip/index.d.ts +0 -1
  153. package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +5 -0
  154. package/es/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +3 -0
  155. package/es/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +0 -1
  156. package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +15 -0
  157. package/es/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +0 -1
  158. package/es/plus/skuOptionsSelection/components/VariantCard/index.d.ts +0 -1
  159. package/es/plus/skuOptionsSelection/index.d.ts +5 -0
  160. package/es/plus/skuOptionsSelection/locales.d.ts +58 -0
  161. package/es/plus/skuOptionsSelection/types.d.ts +458 -0
  162. package/es/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
  163. package/es/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
  164. package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
  165. package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
  166. package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
  167. package/es/plus/walletPassGallery/components/passDetail/index.js +8 -1
  168. package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -1
  169. package/es/plus/walletPassGallery/locales.d.ts +5 -0
  170. package/es/plus/walletPassGallery/locales.js +14 -5
  171. package/es/pro/Cards/components/SKUCard/index.d.ts +5 -0
  172. package/es/pro/Login2.0/components/phoneValidation.d.ts +17 -0
  173. package/es/pro/Selector/demo.d.ts +0 -1
  174. package/es/pro/pisellPaymentList/example.d.ts +1 -0
  175. package/es/pro/pisellPhoneKeyboard/index.d.ts +0 -1
  176. package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
  177. package/lib/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  178. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
  179. package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  180. package/lib/components/appointmentBooking/components/Form/index.d.ts +4 -0
  181. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  182. package/lib/components/appointmentBooking/components/Services/index.d.ts +4 -0
  183. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +3 -0
  184. package/lib/components/appointmentBooking/hooks.d.ts +107 -0
  185. package/lib/components/appointmentBooking/utils.d.ts +227 -0
  186. package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
  187. package/lib/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
  188. package/lib/components/booking/components/footer/utils.d.ts +47 -0
  189. package/lib/components/booking/components/reloadResourceModal/index.d.ts +9 -0
  190. package/lib/components/booking/components/voucher/index.d.ts +3 -0
  191. package/lib/components/booking/forms/footer.d.ts +0 -1
  192. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  193. package/lib/components/booking/hooks/useClearCart.d.ts +0 -1
  194. package/lib/components/booking/info/dateRange/index.d.ts +0 -1
  195. package/lib/components/booking/info/service/editService/constants.d.ts +1 -0
  196. package/lib/components/booking/info/service/editService/index.d.ts +7 -0
  197. package/lib/components/booking/info/service2/utils.d.ts +248 -0
  198. package/lib/components/booking/info2/index.d.ts +12 -0
  199. package/lib/components/booking/info2/service/addService/index.d.ts +11 -0
  200. package/lib/components/booking/locales.d.ts +1489 -0
  201. package/lib/components/booking/model.d.ts +120 -0
  202. package/lib/components/booking/notes/NoteBlock/index.d.ts +0 -1
  203. package/lib/components/ecocup/components/AddCustomerModal/index.d.ts +0 -1
  204. package/lib/components/ecocup/components/CupActionList/index.d.ts +0 -1
  205. package/lib/components/ecocup/components/CupActionModal/index.d.ts +0 -1
  206. package/lib/components/ecocup/components/CupInfoCard/index.d.ts +0 -1
  207. package/lib/components/ecocup/components/CupStatusModal/index.d.ts +0 -1
  208. package/lib/components/ecocup/components/CustomerAndCupModal/index.d.ts +0 -1
  209. package/lib/components/ecocup/components/CustomerCard/index.d.ts +0 -1
  210. package/lib/components/ecocup/components/MoreDropdown/index.d.ts +0 -1
  211. package/lib/components/ecocup/components/SearchBar/index.d.ts +0 -1
  212. package/lib/components/ecocup/components/SettingModal/index.d.ts +0 -1
  213. package/lib/components/ecocup/cupList/hooks/useColumns.d.ts +0 -1
  214. package/lib/components/ecocup/cupList/hooks/useSummary.d.ts +0 -1
  215. package/lib/components/ecocup/cupList/index.d.ts +0 -1
  216. package/lib/components/eftpos/hooks.d.ts +1 -0
  217. package/lib/components/eftpos/index.d.ts +1 -0
  218. package/lib/components/eftposPay/amount.d.ts +20 -0
  219. package/lib/components/eftposPay/app.d.ts +10 -0
  220. package/lib/components/eftposPay/component/fail/failCustom.d.ts +3 -0
  221. package/lib/components/eftposPay/component/fail/index.d.ts +3 -0
  222. package/lib/components/eftposPay/component/fail/network.d.ts +8 -0
  223. package/lib/components/eftposPay/component/fail/unknow.d.ts +9 -0
  224. package/lib/components/eftposPay/component/manual/index.d.ts +9 -0
  225. package/lib/components/eftposPay/component/signature/index.d.ts +8 -0
  226. package/lib/components/eftposPay/device.d.ts +23 -0
  227. package/lib/components/eftposPay/index.d.ts +4 -0
  228. package/lib/components/eftposPay/linkly/hooks/normal.d.ts +30 -0
  229. package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
  230. package/lib/components/eftposPay/linkly/index.d.ts +2 -0
  231. package/lib/components/eftposPay/pay.d.ts +20 -0
  232. package/lib/components/eftposPay/payo/config.d.ts +12 -0
  233. package/lib/components/eftposPay/payo/hooks.d.ts +10 -0
  234. package/lib/components/eftposPay/payo/payment.d.ts +66 -0
  235. package/lib/components/eftposPay/tip.d.ts +9 -0
  236. package/lib/components/eftposPay/tyro/index.d.ts +9 -0
  237. package/lib/components/eftposPay/utils/payLog.d.ts +81 -0
  238. package/lib/components/eftposPay/windcave/receiptAction.d.ts +22 -0
  239. package/lib/components/eftposPay/windcave/windcave.d.ts +6 -0
  240. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  241. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  242. package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  243. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  244. package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  245. package/lib/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  246. package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  247. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  248. package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  249. package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  250. package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  251. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  252. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  253. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  254. package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  255. package/lib/components/kioskSkuDetail/index.d.ts +39 -0
  256. package/lib/components/kioskSkuDetail/locales.d.ts +48 -0
  257. package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +10 -0
  258. package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +10 -0
  259. package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +10 -0
  260. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +16 -0
  261. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +15 -0
  262. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +83 -0
  263. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  264. package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +10 -0
  265. package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +10 -0
  266. package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +22 -0
  267. package/lib/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +25 -0
  268. package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +16 -0
  269. package/lib/components/pay/toC/PaymentMethods/index.d.ts +9 -0
  270. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  271. package/lib/components/pay/toC/index.d.ts +3 -0
  272. package/lib/components/pay/toC/locales.d.ts +631 -0
  273. package/lib/components/pay/toC/payGroup.d.ts +59 -0
  274. package/lib/components/pay/toC/serve.d.ts +87 -0
  275. package/lib/components/pay/toC/utils.d.ts +65 -0
  276. package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  277. package/lib/components/ruleSetting/locales.d.ts +78 -0
  278. package/lib/components/scanOrder/components/Cart/index.d.ts +16 -0
  279. package/lib/components/scanOrder/components/Footer/index.d.ts +12 -0
  280. package/lib/components/scanOrder/components/Menu/index.d.ts +18 -0
  281. package/lib/components/scanOrder/context.d.ts +4 -0
  282. package/lib/components/scanOrder/context.js +6 -0
  283. package/lib/components/scanOrder/types.d.ts +79 -0
  284. package/lib/components/scanOrder/utils/toShoppingCartProducts.d.ts +21 -0
  285. package/lib/components/scanOrder/utils/transformProductDetail.d.ts +59 -0
  286. package/lib/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  287. package/lib/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
  288. package/lib/components/systemSettings/registry/components/GroupModal.d.ts +4 -0
  289. package/lib/components/systemSettings/registry/components/ItemModal.d.ts +4 -0
  290. package/lib/components/systemSettings/registry/index.d.ts +5 -0
  291. package/lib/components/systemSettings/registry/services.d.ts +99 -0
  292. package/lib/components/systemSettings/registry/types.d.ts +143 -0
  293. package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +9 -0
  294. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +4 -0
  295. package/lib/components/ticketBooking/components/timeBar/index.d.ts +12 -0
  296. package/lib/components/ticketBooking/index.d.ts +7 -0
  297. package/lib/components/venueBooking/components/Addons/index.d.ts +3 -0
  298. package/lib/components/venueBooking/components/Cart/index.d.ts +28 -0
  299. package/lib/components/venueBooking/components/Checkout/index.d.ts +2 -0
  300. package/lib/components/venueBooking/components/Footer/index.d.ts +3 -0
  301. package/lib/components/venueBooking/components/Header/index.d.ts +2 -0
  302. package/lib/components/venueBooking/components/VenueSelection/components/TimeGrid.d.ts +2 -0
  303. package/lib/components/venueBooking/context.d.ts +9 -0
  304. package/lib/components/venueBooking/hooks.d.ts +72 -0
  305. package/lib/components/venueBooking/index.d.ts +6 -0
  306. package/lib/components/venueBooking/locales.d.ts +627 -0
  307. package/lib/components/venueBooking/types.d.ts +204 -0
  308. package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
  309. package/lib/index.d.ts +87 -0
  310. package/lib/plus/orderList/components/HandleActions.d.ts +0 -1
  311. package/lib/plus/orderList/components/QuickFilter.d.ts +0 -1
  312. package/lib/plus/orderList/components/Reset.d.ts +0 -1
  313. package/lib/plus/orderList/components/Toolbar.d.ts +0 -1
  314. package/lib/plus/pisellReservation/floorMap/useReservationFloorPlan.d.ts +0 -1
  315. package/lib/plus/pisellReservation/floorRoomCard/views/RoomCardIcons.d.ts +0 -1
  316. package/lib/plus/pisellSalesManagement/hooks/useSalesGridData.d.ts +0 -1
  317. package/lib/plus/saasAttendance/settings/components/membersField/index.d.ts +0 -1
  318. package/lib/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
  319. package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +0 -1
  320. package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +5 -0
  321. package/lib/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +3 -0
  322. package/lib/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +0 -1
  323. package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +15 -0
  324. package/lib/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +0 -1
  325. package/lib/plus/skuOptionsSelection/components/VariantCard/index.d.ts +0 -1
  326. package/lib/plus/skuOptionsSelection/index.d.ts +5 -0
  327. package/lib/plus/skuOptionsSelection/locales.d.ts +58 -0
  328. package/lib/plus/skuOptionsSelection/types.d.ts +458 -0
  329. package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
  330. package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
  331. package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
  332. package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
  333. package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
  334. package/lib/plus/walletPassGallery/components/passDetail/index.js +4 -0
  335. package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -1
  336. package/lib/plus/walletPassGallery/locales.d.ts +5 -0
  337. package/lib/plus/walletPassGallery/locales.js +14 -5
  338. package/lib/pro/Cards/components/SKUCard/index.d.ts +5 -0
  339. package/lib/pro/Login2.0/components/phoneValidation.d.ts +17 -0
  340. package/lib/pro/Selector/demo.d.ts +0 -1
  341. package/lib/pro/pisellPaymentList/example.d.ts +1 -0
  342. package/lib/pro/pisellPhoneKeyboard/index.d.ts +0 -1
  343. package/package.json +1 -1
@@ -0,0 +1,204 @@
1
+ /// <reference types="react" />
2
+ import type { Dayjs } from 'dayjs';
3
+ /** 场地预订步骤枚举 */
4
+ export declare type VenueBookingStepKey = 'select-venue' | 'addons' | 'checkout';
5
+ /** 场地预订组件入口 props */
6
+ export interface VenueBookingProps {
7
+ biz?: string;
8
+ resource_id?: string;
9
+ }
10
+ /** 标准化后的入口上下文(从 engine props 提取) */
11
+ export interface VenueBookingEntryContext {
12
+ biz: string;
13
+ resource_id?: string;
14
+ }
15
+ /** 单个时段(来自 getTimeSlotGrid) */
16
+ export interface VenueResourceSlot {
17
+ startTime: string;
18
+ endTime: string;
19
+ status: 'past' | 'occupied' | 'available' | 'partially_occupied' | 'unavailable';
20
+ price: string | null;
21
+ /** per-product 子行的 slot 带 productId;外层合并 slot 不带 */
22
+ productId?: number;
23
+ }
24
+ /** 多商品共享一个 resource 时的子行 */
25
+ export interface VenueResourceSubRow {
26
+ productId: number;
27
+ productTitle: string;
28
+ price: string;
29
+ slots: VenueResourceSlot[];
30
+ }
31
+ /** 单个资源/场地(来自 getTimeSlotGrid) */
32
+ export interface VenueResource {
33
+ resourceId: number;
34
+ resourceName: string;
35
+ /** 单商品时唯一;多商品时取第一个(兼容字段,请优先使用 products) */
36
+ productId: number;
37
+ productTitle: string;
38
+ slots: VenueResourceSlot[];
39
+ /** 多商品子行;仅当 hasMultipleProducts 时存在 */
40
+ products?: VenueResourceSubRow[];
41
+ hasMultipleProducts?: boolean;
42
+ /** 组合资源元信息(combined_resource.status === 1) */
43
+ combinedResource?: {
44
+ resourceIds: Array<number | string>;
45
+ };
46
+ }
47
+ /** 日期时段网格(来自 getTimeSlotGrid) */
48
+ export interface VenueTimeSlotGrid {
49
+ date: string;
50
+ timeLabels: string[];
51
+ resources: VenueResource[];
52
+ }
53
+ /** 日期概览(来自 getDateRangeSummary) */
54
+ export interface VenueDateSummaryItem {
55
+ date: string;
56
+ status: 'available' | 'few_left' | 'sold_out' | 'unavailable';
57
+ startingPrice: string | null;
58
+ totalSlots: number;
59
+ availableSlots: number;
60
+ }
61
+ /** 时段价格信息(用于 TimeGrid 渲染样式) */
62
+ export interface SlotPriceInfo {
63
+ price: number;
64
+ originalPrice: number | null;
65
+ label: string;
66
+ highlight: boolean;
67
+ }
68
+ /** 时段标签(Off-Peak / Promo 等) */
69
+ export interface SlotTag {
70
+ text: string;
71
+ className: string;
72
+ }
73
+ /** 日期元数据(用于 DayTabs 展示状态标签) */
74
+ export interface DateMeta {
75
+ topTag: string | null;
76
+ startingPrice: string | null;
77
+ fewLeft: boolean;
78
+ soldOut: boolean;
79
+ unavailable: boolean;
80
+ }
81
+ /** 场地维度的可用性概况 */
82
+ export interface CourtMeta {
83
+ soldOut: boolean;
84
+ fewLeft: boolean;
85
+ }
86
+ /** 时段维度的可用性概况 */
87
+ export interface TimeMeta {
88
+ soldOut: boolean;
89
+ fewLeft: boolean;
90
+ }
91
+ /**
92
+ * 视图模型 -- 聚合场地数据 + OS 模块数据
93
+ * dateSummary / timeSlotGrid 来自 PisellOS venueBooking 模块
94
+ * cartItems / summary / note 从 OS 模块快照构建
95
+ */
96
+ export interface VenueBookingViewModel {
97
+ /** 一周日期概览(状态 + 起步价) */
98
+ dateSummary: VenueDateSummaryItem[];
99
+ /** 当前选中日期的时段网格(资源 × 时段) */
100
+ timeSlotGrid: VenueTimeSlotGrid | null;
101
+ /** 购物车商品列表(ShoppingCart 组件所需格式) */
102
+ cartItems: any[];
103
+ /** 金额汇总对象(total_amount / tax_fee 等) */
104
+ summary: Record<string, any>;
105
+ /** 订单备注 */
106
+ note: string;
107
+ /** 联系人信息(tempOrder.contacts_info) */
108
+ contactsInfo: any[];
109
+ /** 场地商品列表(来自 loadVenueProducts / getVenueProducts) */
110
+ venueProducts: any[];
111
+ /** 附加商品列表(缓存在 context 中,避免步骤切换时丢失) */
112
+ addonProductList: any[];
113
+ }
114
+ /** Context 暴露给所有子组件的完整值类型 */
115
+ export interface VenueBookingContextValue {
116
+ /** PisellOS venueBooking 模块实例 */
117
+ venueBookingModule: any;
118
+ /** 当前步骤 */
119
+ currentStep: VenueBookingStepKey;
120
+ /** 步骤列表 */
121
+ stepList: VenueBookingStepKey[];
122
+ /** 聚合视图模型 */
123
+ viewModel: VenueBookingViewModel;
124
+ /** 日历锚点日期 */
125
+ anchorDate: Dayjs;
126
+ /** 场地类型筛选器 */
127
+ filter: string;
128
+ /** 场地搜索关键字 */
129
+ search: string;
130
+ /** 数据加载中(初始 bootstrap) */
131
+ isLoading: boolean;
132
+ /** 周视图(dateSummary)加载中:拉取一周场地概览网络请求期间为 true */
133
+ isWeekLoading: boolean;
134
+ /** 时段网格(timeSlotGrid)加载中:切换日期 / 切换周时短暂为 true */
135
+ isGridLoading: boolean;
136
+ /** 预订上限提示信息 */
137
+ limitMessage: string;
138
+ /** 移动端购物车抽屉是否展开 */
139
+ mobileCartOpen: boolean;
140
+ /** 月份选择器是否展开 */
141
+ monthPickerOpen: boolean;
142
+ /** 月份选择器当前游标月份 */
143
+ monthCursor: Dayjs;
144
+ /** 是否满足进入下一步的条件 */
145
+ canNext: boolean;
146
+ /** 购物车校验状态(从 OS 事件同步) */
147
+ cartValidation: {
148
+ passed: boolean | null;
149
+ failures: any[];
150
+ };
151
+ /** Footer 操作按钮文案 */
152
+ footerActionText: string;
153
+ /** 下单提交中状态 */
154
+ isSubmittingOrder: boolean;
155
+ /** 是否已登录 */
156
+ isLogin: boolean;
157
+ /** 打开登录弹窗 */
158
+ openLoginModal: (params: {
159
+ callback: (status: string) => void;
160
+ }) => void;
161
+ /** 当前折扣/优惠券列表 */
162
+ discountList: any[];
163
+ /** 定金协议是否已勾选 */
164
+ isAgreeDepositPolicy: boolean;
165
+ /** 设置定金协议勾选状态 */
166
+ setIsAgreeDepositPolicy: (val: boolean) => void;
167
+ /** 步骤导航:跳转到指定步骤 */
168
+ goToStep: (step: VenueBookingStepKey) => void;
169
+ /** 步骤导航:下一步 */
170
+ nextStep: () => void;
171
+ /** 步骤导航:上一步 */
172
+ prevStep: () => void;
173
+ setAnchorDate: (date: Dayjs) => void;
174
+ setFilter: (filter: string) => void;
175
+ setSearch: (search: string) => void;
176
+ setLimitMessage: (msg: string) => void;
177
+ setMobileCartOpen: (open: boolean) => void;
178
+ setMonthPickerOpen: (open: boolean) => void;
179
+ setMonthCursor: (cursor: Dayjs) => void;
180
+ setFooterActionText: (text: string) => void;
181
+ /** 切换选中/取消某个时段(调用 OS venueBooking.toggleSlot) */
182
+ toggleSlot: (resourceId: number, productId: number, slot: VenueResourceSlot) => Promise<void>;
183
+ /** 刷新 OS 模块视图模型(调用 getSummary + 重建 viewModel),可选传入额外字段合并 */
184
+ refreshViewModel: (extraFields?: Partial<VenueBookingViewModel>) => Promise<void>;
185
+ /** 拉取指定周的资源数据并刷新 dateSummary + timeSlotGrid */
186
+ fetchWeekData: (startDate: string, endDate: string) => Promise<void>;
187
+ /** 从指定日期开始自动跳转到最近可用日期(必要时自动滚到后续周) */
188
+ goToNearestAvailableDate: (fromDate: Dayjs) => Promise<void>;
189
+ /** 刷新当前日期的 timeSlotGrid */
190
+ refreshTimeSlotGrid: (date?: string) => void;
191
+ /** 安全调用 OS 模块方法的快捷入口 */
192
+ runModuleAction: (actionName: string, ...args: any[]) => Promise<any>;
193
+ /** 更新订单备注到 OS 模块 */
194
+ updateOrderNote: (note: string) => Promise<void>;
195
+ /** 主操作按钮行为(根据当前步骤不同执行不同逻辑) */
196
+ handlePrimaryAction: () => void;
197
+ /** 结账步骤提交订单 */
198
+ handleSubmitOrder: () => Promise<void>;
199
+ }
200
+ /** Provider 组件的 props */
201
+ export interface VenueBookingProviderProps {
202
+ entryContext: VenueBookingEntryContext;
203
+ children: React.ReactNode;
204
+ }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Modal as AntModal, ModalFuncProps as AntModalFuncProps, ModalProps as AntModalProps } from 'antd';
3
2
  import './index.less';
4
3
  interface ModalProps extends AntModalProps {
package/es/index.d.ts ADDED
@@ -0,0 +1,87 @@
1
+ export { default as Login } from './components/login';
2
+ export type { LoginProps } from './components/login';
3
+ export { default as BookingInfo } from './components/booking/info/index';
4
+ export { default as BookingNotes } from './components/booking/notes';
5
+ export { default as BookingAddons } from './components/booking/addons';
6
+ export { default as BookingForms } from './components/booking/forms';
7
+ export { default as BookingPayment } from './components/booking/payments';
8
+ export { default as Booking } from './components/booking';
9
+ export { default as Schedules } from './components/schedules';
10
+ export { default as BookingResources } from './components/booking/materiels/resources';
11
+ export { default as BookingStartTime } from './components/booking/materiels/startTime';
12
+ export { default as BookingDuration } from './components/booking/materiels/duration';
13
+ export { default as BookingContacts } from './components/booking/materiels/contacts';
14
+ export { VerticalClient } from './components/booking/info/clientVariant';
15
+ export { default as VerticalAddService } from './components/booking/info/addServiceVariant';
16
+ export { default as ProductExtension } from './components/productExtension';
17
+ export { default as BookingDeposit } from './components/booking/deposit';
18
+ export { default as WorkspaceList } from './components/workSpaceList';
19
+ export { default as WorkspaceListDetail } from './components/workSpaceListDetail';
20
+ export { default as RuleSetting } from './components/ruleSetting';
21
+ export { default as TaxSelect } from './components/taxSelect';
22
+ export { default as EftposPay } from './components/eftposPay';
23
+ export { default as ToCPay } from './components/pay/toC';
24
+ export { default as Eftpos } from './components/eftpos';
25
+ export { default as WalletList } from './components/walletList';
26
+ export { default as BookingDashboard } from './components/booking/dashboard';
27
+ export { default as PisellSelectCustomerModal } from './components/pisellSelectCustomerModal';
28
+ export { default as EventBooking } from './components/eventBooking';
29
+ export { default as EventCard } from './components/eventBooking/components/eventCard';
30
+ export { default as EventResourceDisplay } from './components/eventBooking/components/resourceDisplay';
31
+ export { default as EventResourceUsability } from './components/eventBooking/components/resourceUsability';
32
+ export { default as EventProductCard } from './components/eventBooking/components/productCard';
33
+ export { default as EventTimeResourceSelector } from './components/eventBooking/components/timeResourceSelector';
34
+ export { default as EventSelectHolder } from './components/eventBooking/components/selectHolder';
35
+ export { default as EventBookingServiceList } from './components/eventBooking/components/bookingServiceList';
36
+ export { default as EventBookingAvailabilityCalendar } from './components/eventBooking/components/bookingAvailabilityCalendar';
37
+ export { default as EventScheduleCalendar } from './components/eventBooking/components/scheduleCalendar';
38
+ export { default as EventBookingDetailModal } from './components/eventBooking/components/bookingDetailModal';
39
+ export { default as EventProgressBar } from './components/eventBooking/components/progressBar';
40
+ export { default as ShoppingCart } from './components/shoppingCart';
41
+ export { default as AppointmentBooking } from './components/appointmentBooking';
42
+ export { default as AppointmentDeposit } from './components/appointmentBooking/deposit';
43
+ export { default as TicketBooking } from './components/ticketBooking';
44
+ export { default as ScanOrder } from './components/scanOrder';
45
+ export { default as VenueBooking } from './components/venueBooking';
46
+ export type { ScanOrderProps } from './components/scanOrder';
47
+ export { default as SubTotal } from './components/subTotal';
48
+ export { default as EditBookingModal } from './components/booking/editBookingModal';
49
+ export { default as StepController } from './components/stepController';
50
+ export { default as ClientCard } from './plus/clientCard';
51
+ export { default as ClientSearch } from './plus/clinetSearch';
52
+ export { default as ComprehensiveSearch } from './pro/comprehensiveSearch';
53
+ export { default as SaasLogin } from './plus/saasLogin';
54
+ export { default as SaasRegister } from './plus/saasRegister';
55
+ export { default as SaasCreateOrganization } from './plus/saasCreateOrganization';
56
+ export { default as PinModal } from './components/pinModal';
57
+ export { default as PinVerifyModal } from './components/pinVerifyModal';
58
+ export { ChannelAuthSetting, OAuthConfig, SaaSAdminAuth, OrgAdminAuth, CustomerAuth, CustomerOAuthConfig, DeviceAuth, POSOperatorAuth, OnlineShopAuth, SaaSManagermentAuth, } from './components/authentication/admin';
59
+ export type { SaaSAdminAuthProps, OrgAdminAuthProps, DeviceAuthProps, POSOperatorAuthProps, CustomerOAuthConfigProps, } from './components/authentication/admin';
60
+ export { default as ContactInfo } from './plus/contactInfo';
61
+ export { default as ContactInfoModal } from './plus/contactInfoModal';
62
+ export { Login2, Register2, AuthModal } from './pro/Login2.0';
63
+ export { default as WalletEditor } from './plus/walletEditor';
64
+ export { default as WalletPassGallery } from './plus/walletPassGallery';
65
+ export { default as WalletPassDetail } from './plus/walletPassGallery/components/passDetail';
66
+ export { default as SelectHolder } from './plus/selectHolder';
67
+ export { default as HolderList } from './plus/selectHolder/components/HolderList';
68
+ export { default as SettingsRegistry } from './components/systemSettings/registry';
69
+ export { default as SaasRole } from './plus/saasRole';
70
+ export { default as SaasTeamMembers } from './plus/saasTeamMembers';
71
+ export type { SaasTeamMembersProps } from './plus/saasTeamMembers/type';
72
+ export { default as KioskSkuDetail } from './components/kioskSkuDetail';
73
+ export { default as ProNumberSelector } from './pro/pisellNumberSelector';
74
+ export { default as SKUOptionsSelection } from './plus/skuOptionsSelection';
75
+ export { default as SaasAttendance } from './plus/saasAttendance';
76
+ export { default as Selector } from './pro/Selector';
77
+ export { default as PisellSalesGrid } from './plus/pisellSalesGrid';
78
+ export { PisellReservationCore, PisellReservationBookingPage, PisellReservation, PisellVenueControlPage, default, } from './plus/pisellReservation';
79
+ export type { FloorMapBookingClickArgs, FloorMapBookingClickMode, PisellReservationProps, PisellReservationTableRow, } from './plus/pisellReservation';
80
+ export { defaultReservationTableRows, getDefaultReservationFloorMapConfig, } from './plus/pisellReservation';
81
+ export { default as EcoCupProject } from './components/ecocup/cupProject';
82
+ export { default as EcoCupList } from './components/ecocup/cupList';
83
+ export { default as EcoCustomerList } from './components/ecocup/customerList';
84
+ export { default as OrderList } from './plus/orderList';
85
+ export { default as pisellSalesManagement } from './plus/pisellSalesManagement';
86
+ export { PisellFinancialSummary, financialSummaryLocales } from './plus/pisellFinancialSummary';
87
+ export type { PisellFinancialSummaryProps, FinancialSummaryData, FinancialSummaryLineItem, FinancialSummaryPaymentItem, FinancialSummaryRefundItem, FinancialSummaryTotalBlock, FinancialSummaryAmountFormatOptions, } from './plus/pisellFinancialSummary';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const HandleActions: (props: {
3
2
  locales: any;
4
3
  __id?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const QuickFilter: (props: {
3
2
  locales: any;
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const Reset: (props: {
3
2
  locales: any;
4
3
  setValueType: (value: any) => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const Toolbar: (props: {
3
2
  locales: any;
4
3
  clearSelectedData: () => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { FloorMapViewConfig } from '@pisell/materials';
3
2
  export declare function useReservationFloorPlan(options: {
4
3
  resolvedFloorPlanId: number | null;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const IconClock: () => JSX.Element;
3
2
  export declare const IconUsers: () => JSX.Element;
4
3
  export declare const IconWarn: () => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface UseSalesGridDataParams {
3
2
  perspective: 'monitor' | 'handle';
4
3
  extParams?: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const MembersField: (props: {
4
3
  id?: string | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import '../index.less';
3
2
  declare const VertifyEmail: (props: {
4
3
  email: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ErrorTip: ({ text }: any) => JSX.Element;
4
3
  export default ErrorTip;
@@ -0,0 +1,5 @@
1
+ import { RenderItemProps } from '../../../../pro/Selector/types';
2
+ declare const NormalCard: (props: RenderItemProps & {
3
+ parentDataSource: any;
4
+ }) => JSX.Element;
5
+ export default NormalCard;
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const OptionItemCard: (props: any) => JSX.Element;
3
+ export default OptionItemCard;
@@ -1,7 +1,6 @@
1
1
  /**
2
2
  * 单规格商品卡片,点击后需要拉起弹窗展示具体的规格信息
3
3
  */
4
- /// <reference types="react" />
5
4
  import { RenderItemProps } from '../../../../pro/Selector/types';
6
5
  import './index.less';
7
6
  declare const OptionsCard: (props: RenderItemProps & {
@@ -0,0 +1,15 @@
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,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const TitleExtra: (props: any) => JSX.Element;
4
3
  export default TitleExtra;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const VariantCard: (props: any) => JSX.Element;
4
3
  export default VariantCard;
@@ -0,0 +1,5 @@
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;
@@ -0,0 +1,58 @@
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;