@pisell/private-materials 6.3.58 → 6.3.59

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 (796) 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 +2 -2
  6. package/build/lowcode/preview.css +1 -1
  7. package/build/lowcode/preview.js +145 -145
  8. package/build/lowcode/render/default/view.css +1 -1
  9. package/build/lowcode/render/default/view.js +18 -11
  10. package/build/lowcode/view.css +1 -1
  11. package/build/lowcode/view.js +18 -11
  12. package/es/businessModel/SalesModel/index.d.ts +1 -2
  13. package/es/components/Sales/index.d.ts +1 -1
  14. package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -2
  15. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -2
  16. package/es/components/appointmentBooking/components/Cart/index.d.ts +1 -2
  17. package/es/components/appointmentBooking/components/Content/index.d.ts +1 -2
  18. package/es/components/appointmentBooking/components/Deposit/index.d.ts +2 -3
  19. package/es/components/appointmentBooking/components/Footer/index.d.ts +1 -2
  20. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -2
  21. package/es/components/appointmentBooking/components/Header/index.d.ts +1 -2
  22. package/es/components/appointmentBooking/components/Voucher/index.d.ts +1 -2
  23. package/es/components/appointmentBooking/context.d.ts +2 -2
  24. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +1 -2
  25. package/es/components/appointmentBooking/deposit/index.d.ts +1 -2
  26. package/es/components/appointmentBooking/index.d.ts +1 -2
  27. package/es/components/booking/components/TabProduct/index.d.ts +1 -2
  28. package/es/components/booking/components/TabProduct/productItem/index.d.ts +1 -2
  29. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -2
  30. package/es/components/booking/components/authWrap/index.d.ts +1 -1
  31. package/es/components/booking/components/browserSelect/index.d.ts +1 -1
  32. package/es/components/booking/components/collapsibleList/utils.d.ts +1 -2
  33. package/es/components/booking/components/drawer/index.d.ts +1 -1
  34. package/es/components/booking/components/emptyBooking/index.d.ts +1 -2
  35. package/es/components/booking/components/footer/FooterMenus/index.d.ts +1 -2
  36. package/es/components/booking/components/footer/index.d.ts +1 -2
  37. package/es/components/booking/components/formItemChildrenWrap/index.d.ts +1 -2
  38. package/es/components/booking/components/menuButton/index.d.ts +1 -1
  39. package/es/components/booking/components/reloadResourceModal/index.d.ts +1 -2
  40. package/es/components/booking/components/voucher/index.d.ts +1 -2
  41. package/es/components/booking/dashboard/index.d.ts +1 -1
  42. package/es/components/booking/deposit/ClientItem/index.d.ts +1 -1
  43. package/es/components/booking/deposit/DepositItem/index.d.ts +1 -1
  44. package/es/components/booking/deposit/index.d.ts +1 -2
  45. package/es/components/booking/editBookingModal/utils.d.ts +12 -0
  46. package/es/components/booking/forms/footer.d.ts +1 -2
  47. package/es/components/booking/forms/single/index.d.ts +1 -2
  48. package/es/components/booking/forms/table/index.d.ts +1 -2
  49. package/es/components/booking/hooks/useClearCart.d.ts +1 -2
  50. package/es/components/booking/hooks/useQuotation.d.ts +1 -2
  51. package/es/components/booking/info/addServiceVariant/index.d.ts +1 -2
  52. package/es/components/booking/info/client/index.d.ts +1 -1
  53. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -2
  54. package/es/components/booking/info/date/index.d.ts +1 -2
  55. package/es/components/booking/info/dateRange/index.d.ts +1 -2
  56. package/es/components/booking/info/header/index.d.ts +1 -2
  57. package/es/components/booking/info/hooks/useGetHolderList.d.ts +1 -1
  58. package/es/components/booking/info/hooks/useInfoHolder.d.ts +2 -2
  59. package/es/components/booking/info/index.d.ts +1 -2
  60. package/es/components/booking/info/notes/index.d.ts +1 -2
  61. package/es/components/booking/info/pet/index.d.ts +1 -1
  62. package/es/components/booking/info/service/Lists.d.ts +1 -2
  63. package/es/components/booking/info/service/actions/index.d.ts +1 -2
  64. package/es/components/booking/info/service/addService/index.d.ts +1 -2
  65. package/es/components/booking/info/service/addTimeModal/index.d.ts +1 -2
  66. package/es/components/booking/info/service/editService/BookingList/index.d.ts +1 -2
  67. package/es/components/booking/info/service/editService/constants.d.ts +1 -0
  68. package/es/components/booking/info/service/index.d.ts +1 -1
  69. package/es/components/booking/info/service/like/index.d.ts +1 -2
  70. package/es/components/booking/info/service/serviceItem/index.d.ts +1 -2
  71. package/es/components/booking/info/service/serviceList/index.d.ts +1 -2
  72. package/es/components/booking/info/service2/Lists.d.ts +1 -2
  73. package/es/components/booking/info/service2/index.d.ts +1 -1
  74. package/es/components/booking/info/service2/utils.d.ts +1 -1
  75. package/es/components/booking/info2/service/actions/index.d.ts +1 -2
  76. package/es/components/booking/info2/service/addService/index.d.ts +1 -2
  77. package/es/components/booking/info2/service/addTimeModal/index.d.ts +1 -2
  78. package/es/components/booking/info2/service/contactInfoMode/index.d.ts +1 -2
  79. package/es/components/booking/info2/service/index.d.ts +1 -1
  80. package/es/components/booking/info2/service/serviceItem/index.d.ts +1 -2
  81. package/es/components/booking/info2/service/serviceList/index.d.ts +1 -2
  82. package/es/components/booking/materiels/contacts/index.d.ts +1 -2
  83. package/es/components/booking/materiels/duration/index.d.ts +1 -2
  84. package/es/components/booking/materiels/holder/index.d.ts +1 -2
  85. package/es/components/booking/materiels/startTime/index.d.ts +1 -2
  86. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -2
  87. package/es/components/booking/notes/NoteBlock/index.d.ts +1 -2
  88. package/es/components/booking/notes/addNote/index.d.ts +1 -2
  89. package/es/components/booking/utils.d.ts +2 -2
  90. package/es/components/eftpos/device.d.ts +1 -1
  91. package/es/components/eftpos/deviceList/index.d.ts +1 -2
  92. package/es/components/eftpos/form/index.d.ts +1 -2
  93. package/es/components/eftpos/group/index.d.ts +2 -3
  94. package/es/components/eftpos/icon/apiKey.d.ts +1 -2
  95. package/es/components/eftpos/icon/device.d.ts +1 -2
  96. package/es/components/eftpos/index.d.ts +1 -2
  97. package/es/components/eftpos/log.d.ts +2 -2
  98. package/es/components/eftpos/pos.d.ts +1 -2
  99. package/es/components/eftpos/receipt/index.d.ts +1 -2
  100. package/es/components/eftpos/surcharge/index.d.ts +1 -2
  101. package/es/components/eftposPay/amount.d.ts +2 -3
  102. package/es/components/eftposPay/app.d.ts +1 -2
  103. package/es/components/eftposPay/component/alert/index.d.ts +1 -1
  104. package/es/components/eftposPay/component/alert/warn.d.ts +1 -2
  105. package/es/components/eftposPay/component/fail/failCustom.d.ts +1 -2
  106. package/es/components/eftposPay/component/fail/index.d.ts +1 -2
  107. package/es/components/eftposPay/component/fail/network.d.ts +1 -2
  108. package/es/components/eftposPay/component/fail/unknow.d.ts +1 -2
  109. package/es/components/eftposPay/component/header/index.d.ts +1 -1
  110. package/es/components/eftposPay/component/header/titlebar.d.ts +1 -2
  111. package/es/components/eftposPay/component/manual/index.d.ts +1 -2
  112. package/es/components/eftposPay/component/signature/index.d.ts +1 -2
  113. package/es/components/eftposPay/component/step/index.d.ts +1 -2
  114. package/es/components/eftposPay/component/step/step.d.ts +1 -2
  115. package/es/components/eftposPay/device.d.ts +2 -3
  116. package/es/components/eftposPay/hooks.d.ts +2 -2
  117. package/es/components/eftposPay/index.d.ts +1 -2
  118. package/es/components/eftposPay/linkly/index.d.ts +1 -2
  119. package/es/components/eftposPay/pay.d.ts +1 -2
  120. package/es/components/eftposPay/payo/config.d.ts +2 -3
  121. package/es/components/eftposPay/payo/index.d.ts +1 -1
  122. package/es/components/eftposPay/store/index.d.ts +7 -7
  123. package/es/components/eftposPay/tip.d.ts +1 -2
  124. package/es/components/eftposPay/tyro/index.d.ts +1 -1
  125. package/es/components/eftposPay/windcave/receiptAction.d.ts +2 -3
  126. package/es/components/eftposPay/windcave/windcave.d.ts +1 -2
  127. package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -1
  128. package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +1 -2
  129. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -2
  130. package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +1 -2
  131. package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -2
  132. package/es/components/eventBooking/components/Provider/Cart/index.d.ts +1 -2
  133. package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -2
  134. package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -2
  135. package/es/components/eventBooking/components/Provider/Event/index.d.ts +1 -2
  136. package/es/components/eventBooking/components/Provider/Footer/index.d.ts +1 -2
  137. package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -2
  138. package/es/components/eventBooking/components/Provider/Information/index.d.ts +1 -2
  139. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -2
  140. package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -2
  141. package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -2
  142. package/es/components/eventBooking/components/Provider/Resource/index.d.ts +1 -2
  143. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -2
  144. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -2
  145. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -1
  146. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -1
  147. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -1
  148. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -1
  149. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -1
  150. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -2
  151. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -2
  152. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -2
  153. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -2
  154. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -2
  155. package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -2
  156. package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -2
  157. package/es/components/eventBooking/index.d.ts +1 -2
  158. package/es/components/login/index.d.ts +1 -2
  159. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -2
  160. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -1
  161. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -2
  162. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -1
  163. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -1
  164. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -2
  165. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -2
  166. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -2
  167. package/es/components/pay/toC/PaymentMethods/WalletPass/MultiModeSearch/index.d.ts +1 -1
  168. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -2
  169. package/es/components/pisellSelectCustomerModal/CustomerCard/index.d.ts +1 -1
  170. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -2
  171. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -2
  172. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -2
  173. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -2
  174. package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -2
  175. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -2
  176. package/es/components/pisellSelectCustomerModal/index.d.ts +1 -2
  177. package/es/components/productExtension/fields/Actor/index.d.ts +1 -2
  178. package/es/components/productExtension/fields/Forms/index.d.ts +1 -2
  179. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -2
  180. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -2
  181. package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -2
  182. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -2
  183. package/es/components/productExtension/index.d.ts +1 -2
  184. package/es/components/productSelect/components/TabProduct/index.d.ts +1 -2
  185. package/es/components/productSelect/components/pisellPriceText/index.d.ts +1 -1
  186. package/es/components/productSelect/components/productGroup/index.d.ts +2 -3
  187. package/es/components/productSelect/index.d.ts +1 -1
  188. package/es/components/ruleSetting/index.d.ts +1 -2
  189. package/es/components/ruleSetting/ruleBorder/index.d.ts +1 -2
  190. package/es/components/schedules/calendar/calendarItem.d.ts +1 -2
  191. package/es/components/schedules/calendar/index.d.ts +1 -2
  192. package/es/components/schedules/components/Card/index.d.ts +1 -1
  193. package/es/components/schedules/components/CurrentDay/index.d.ts +1 -2
  194. package/es/components/schedules/components/ResourceList/index.d.ts +1 -1
  195. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +1 -2
  196. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -2
  197. package/es/components/schedules/components/ScheduleList/index.d.ts +1 -2
  198. package/es/components/schedules/components/Search/index.d.ts +1 -1
  199. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -2
  200. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -2
  201. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -2
  202. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -2
  203. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -2
  204. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -2
  205. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -2
  206. package/es/components/schedules/products/index.d.ts +1 -2
  207. package/es/components/schedules/products/list/ProductItem/index.d.ts +1 -2
  208. package/es/components/schedules/products/list/index.d.ts +1 -2
  209. package/es/components/schedules/resources/index.d.ts +1 -2
  210. package/es/components/schedules/resources/list/index.d.ts +1 -2
  211. package/es/components/schedules/resources/relationProduct/index.d.ts +1 -2
  212. package/es/components/schedules/schedules/AllSchedules/index.d.ts +1 -2
  213. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -2
  214. package/es/components/schedules/schedules/Schedules.d.ts +1 -1
  215. package/es/components/schedules/schedules/SchedulesForDay/index.d.ts +1 -1
  216. package/es/components/schedules/schedules/index.d.ts +1 -2
  217. package/es/components/schedules/utils.d.ts +1 -1
  218. package/es/components/shoppingCart/Provider.d.ts +1 -1
  219. package/es/components/shoppingCart/components/Cart/Product.d.ts +1 -2
  220. package/es/components/shoppingCart/components/Cart/index.d.ts +1 -2
  221. package/es/components/shoppingCart/components/Empty/index.d.ts +1 -1
  222. package/es/components/shoppingCart/components/Render/index.d.ts +1 -2
  223. package/es/components/shoppingCart/hooks/useAddService.d.ts +1 -2
  224. package/es/components/shoppingCart/hooks/useClearCart.d.ts +1 -2
  225. package/es/components/shoppingCart/index.d.ts +1 -2
  226. package/es/components/subTotal/index.d.ts +1 -1
  227. package/es/components/tabProduct/index.d.ts +1 -1
  228. package/es/components/taxSelect/index.d.ts +1 -2
  229. package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +1 -2
  230. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -2
  231. package/es/components/ticketBooking/components/menuBar/index.d.ts +1 -2
  232. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +1 -2
  233. package/es/components/ticketBooking/components/timeBar/index.d.ts +1 -2
  234. package/es/components/ticketBooking/index.d.ts +1 -2
  235. package/es/components/ticketBooking/miniRedux.d.ts +1 -1
  236. package/es/components/wallet/utils.d.ts +48 -0
  237. package/es/components/walletList/index.d.ts +1 -2
  238. package/es/components/walletList/locales.d.ts +27 -0
  239. package/es/components/walletList/model.d.ts +1 -1
  240. package/es/components/walletList/tempHolderSelector/index.d.ts +2 -2
  241. package/es/components/workSpaceList/components/Modal/index.d.ts +1 -2
  242. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -2
  243. package/es/hooks/usePaymentLogger.d.ts +2 -2
  244. package/es/index.d.ts +2 -0
  245. package/es/index.js +3 -1
  246. package/es/plus/clientName/index.d.ts +1 -2
  247. package/es/plus/contactInfoModal/ContactInfoContent.d.ts +1 -2
  248. package/es/plus/productSelect/CategoryTabs/index.d.ts +1 -0
  249. package/es/plus/productSelect/CategoryTabs/index.js +2 -1
  250. package/es/plus/productSelect/ProductCard/index.d.ts +2 -2
  251. package/es/plus/productSelect/ProductList/gridComponents.d.ts +6 -6
  252. package/es/plus/productSelect/components/TabsStructure/TabsStructure.js +2 -7
  253. package/es/plus/productSelect/components/TabsStructure/TabsStructure.less +6 -0
  254. package/es/plus/productSelect/components/pisellPriceText/index.d.ts +1 -1
  255. package/es/plus/productSelect/index.d.ts +1 -1
  256. package/es/plus/saasCreateOrganization/components/Header.d.ts +1 -2
  257. package/es/plus/saasCreateOrganization/index.d.ts +1 -2
  258. package/es/plus/saasRegister/components/EntryEmail.d.ts +1 -2
  259. package/es/plus/saasRegister/components/EntryInfo.d.ts +1 -2
  260. package/es/plus/saasRegister/components/GoLogin.d.ts +1 -2
  261. package/es/plus/saasRegister/components/Header.d.ts +1 -2
  262. package/es/plus/saasRegister/components/VerifyError.d.ts +1 -2
  263. package/es/plus/saasRegister/components/VerifyingLink.d.ts +1 -2
  264. package/es/plus/saasRegister/components/VertifyEmail.d.ts +1 -2
  265. package/es/plus/selectHolder/components/ErrorTip/index.d.ts +1 -1
  266. package/es/plus/selectHolder/types.d.ts +104 -0
  267. package/es/plus/selectHolder/utils.d.ts +9 -0
  268. package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +5 -0
  269. package/es/plus/skuOptionsSelection/components/NormalCard/index.js +131 -0
  270. package/es/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +3 -0
  271. package/es/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.js +108 -0
  272. package/es/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +9 -0
  273. package/es/plus/skuOptionsSelection/components/OptionsCard/index.js +234 -0
  274. package/es/plus/skuOptionsSelection/components/OptionsCard/index.less +113 -0
  275. package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +15 -0
  276. package/es/plus/skuOptionsSelection/components/OptionsModal/index.js +165 -0
  277. package/es/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +3 -0
  278. package/es/plus/skuOptionsSelection/components/TitleExtra/index.js +46 -0
  279. package/es/plus/skuOptionsSelection/components/TitleExtra/index.less +23 -0
  280. package/es/plus/skuOptionsSelection/components/VariantCard/index.d.ts +3 -0
  281. package/es/plus/skuOptionsSelection/components/VariantCard/index.js +29 -0
  282. package/es/plus/skuOptionsSelection/components/VariantCard/index.less +9 -0
  283. package/es/plus/skuOptionsSelection/hooks/index.d.ts +3 -0
  284. package/es/plus/skuOptionsSelection/hooks/index.js +3 -0
  285. package/es/plus/skuOptionsSelection/hooks/useLanguage.d.ts +2 -0
  286. package/es/plus/skuOptionsSelection/hooks/useLanguage.js +7 -0
  287. package/es/plus/skuOptionsSelection/hooks/useStore.d.ts +2 -0
  288. package/es/plus/skuOptionsSelection/hooks/useStore.js +3 -0
  289. package/es/plus/skuOptionsSelection/hooks/useSymbol.d.ts +2 -0
  290. package/es/plus/skuOptionsSelection/hooks/useSymbol.js +8 -0
  291. package/es/plus/skuOptionsSelection/index.d.ts +5 -0
  292. package/es/plus/skuOptionsSelection/index.js +127 -0
  293. package/es/plus/skuOptionsSelection/index.less +4 -0
  294. package/es/plus/skuOptionsSelection/locales.d.ts +30 -0
  295. package/es/plus/skuOptionsSelection/locales.js +29 -0
  296. package/es/plus/skuOptionsSelection/store/actions.d.ts +22 -0
  297. package/es/plus/skuOptionsSelection/store/actions.js +56 -0
  298. package/es/plus/skuOptionsSelection/store/createStore.d.ts +15 -0
  299. package/es/plus/skuOptionsSelection/store/createStore.js +117 -0
  300. package/es/plus/skuOptionsSelection/store/index.d.ts +2 -0
  301. package/es/plus/skuOptionsSelection/store/index.js +2 -0
  302. package/es/plus/skuOptionsSelection/store/store.d.ts +4 -0
  303. package/es/plus/skuOptionsSelection/store/store.js +18 -0
  304. package/es/plus/skuOptionsSelection/types.d.ts +424 -0
  305. package/es/plus/skuOptionsSelection/types.js +69 -0
  306. package/es/plus/skuOptionsSelection/utils/calculateOption.d.ts +6 -0
  307. package/es/plus/skuOptionsSelection/utils/calculateOption.js +80 -0
  308. package/es/plus/skuOptionsSelection/utils/checkSkuStatus.d.ts +37 -0
  309. package/es/plus/skuOptionsSelection/utils/checkSkuStatus.js +147 -0
  310. package/es/plus/skuOptionsSelection/utils/index.d.ts +7 -0
  311. package/es/plus/skuOptionsSelection/utils/index.js +7 -0
  312. package/es/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
  313. package/es/plus/skuOptionsSelection/utils/transformBundleGroup.js +90 -0
  314. package/es/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
  315. package/es/plus/skuOptionsSelection/utils/transformOptionGroup.js +79 -0
  316. package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
  317. package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.js +160 -0
  318. package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
  319. package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.js +223 -0
  320. package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
  321. package/es/plus/skuOptionsSelection/utils/transformVariantGroup.js +90 -0
  322. package/es/plus/walletEditor/components/relationProduct/index.d.ts +1 -2
  323. package/es/plus/walletEditor/locales.d.ts +135 -0
  324. package/es/plus/walletPassGallery/components/passDetail/index.d.ts +1 -2
  325. package/es/plus/walletPassGallery/components/passList/index.d.ts +1 -2
  326. package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +1 -2
  327. package/es/plus/walletPassGallery/components/usageRule/index.d.ts +1 -1
  328. package/es/plus/walletPassGallery/index.d.ts +1 -2
  329. package/es/plus/walletPassGallery/locales.d.ts +285 -0
  330. package/es/plus/walletPassGallery/utils.d.ts +48 -0
  331. package/es/pro/Cards/components/SKUCard/index.d.ts +60 -0
  332. package/es/pro/Cards/components/SKUCard/index.js +192 -0
  333. package/es/pro/Cards/components/SKUCard/index.less +102 -0
  334. package/es/pro/Cards/index.d.ts +1 -0
  335. package/es/pro/Cards/index.js +1 -0
  336. package/es/pro/Login2.0/components/ForgotPasswordFlow.d.ts +2 -9
  337. package/es/pro/Login2.0/components/LoginCodeInput.d.ts +2 -6
  338. package/es/pro/Login2.0/components/PhoneInput.d.ts +1 -1
  339. package/es/pro/Login2.0/steps/CodeInput.d.ts +2 -6
  340. package/es/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +2 -6
  341. package/es/pro/Login2.0/steps/EmailLinkAlreadyUsed.d.ts +2 -5
  342. package/es/pro/Login2.0/steps/EmailLinkExpired.d.ts +2 -5
  343. package/es/pro/Login2.0/steps/SetPassword.d.ts +2 -5
  344. package/es/pro/Login2.0/steps/VerificationSuccess.d.ts +2 -5
  345. package/es/pro/Login2.0/steps/VerifyingEmailLink.d.ts +2 -5
  346. package/es/pro/Login2.0/steps/WaitEmailLink.d.ts +2 -5
  347. package/es/pro/NumericStepper/index.d.ts +43 -0
  348. package/es/pro/NumericStepper/index.js +225 -0
  349. package/es/pro/NumericStepper/index.less +220 -0
  350. package/es/pro/Selector/BatchSelectorDemo.d.ts +3 -0
  351. package/es/pro/Selector/BatchSelectorDemo.js +884 -0
  352. package/es/pro/Selector/Item.d.ts +14 -0
  353. package/es/pro/Selector/Item.js +88 -0
  354. package/es/pro/Selector/Selector.d.ts +14 -0
  355. package/es/pro/Selector/Selector.js +329 -0
  356. package/es/pro/Selector/Selector.stories.d.ts +78 -0
  357. package/es/pro/Selector/Selector.stories.js +1105 -0
  358. package/es/pro/Selector/SelectorGroup.d.ts +11 -0
  359. package/es/pro/Selector/SelectorGroup.js +571 -0
  360. package/es/pro/Selector/components/Card/index.d.ts +57 -0
  361. package/es/pro/Selector/components/Card/index.js +113 -0
  362. package/es/pro/Selector/components/Card/index.less +162 -0
  363. package/es/pro/Selector/components/Card/types.d.ts +1 -0
  364. package/es/pro/Selector/components/Card/types.js +1 -0
  365. package/es/pro/Selector/components/Indicator/index.d.ts +19 -0
  366. package/es/pro/Selector/components/Indicator/index.js +101 -0
  367. package/es/pro/Selector/components/Indicator/index.less +114 -0
  368. package/es/pro/Selector/components/IntersectionObserver.d.ts +105 -0
  369. package/es/pro/Selector/components/IntersectionObserver.js +384 -0
  370. package/es/pro/Selector/components/LayoutContainer/index.d.ts +16 -0
  371. package/es/pro/Selector/components/LayoutContainer/index.js +60 -0
  372. package/es/pro/Selector/components/Media/index.d.ts +6 -0
  373. package/es/pro/Selector/components/Media/index.js +222 -0
  374. package/es/pro/Selector/components/Media/index.less +124 -0
  375. package/es/pro/Selector/components/Media/types.d.ts +47 -0
  376. package/es/pro/Selector/components/Media/types.js +1 -0
  377. package/es/pro/Selector/components/index.d.ts +4 -0
  378. package/es/pro/Selector/components/index.js +4 -0
  379. package/es/pro/Selector/demo.d.ts +2 -0
  380. package/es/pro/Selector/demo.js +1078 -0
  381. package/es/pro/Selector/hooks/usePresetItemProps.d.ts +43 -0
  382. package/es/pro/Selector/hooks/usePresetItemProps.js +185 -0
  383. package/es/pro/Selector/hooks/usePresetProps.d.ts +24 -0
  384. package/es/pro/Selector/hooks/usePresetProps.js +132 -0
  385. package/es/pro/Selector/hooks/useSelectionController.d.ts +49 -0
  386. package/es/pro/Selector/hooks/useSelectionController.js +440 -0
  387. package/es/pro/Selector/index.d.ts +11 -0
  388. package/es/pro/Selector/index.js +8 -0
  389. package/es/pro/Selector/locales.d.ts +36 -0
  390. package/es/pro/Selector/locales.js +101 -0
  391. package/es/pro/Selector/selector.less +108 -0
  392. package/es/pro/Selector/selectorGroup.less +12 -0
  393. package/es/pro/Selector/types.d.ts +173 -0
  394. package/es/pro/Selector/types.js +1 -0
  395. package/es/pro/Selector/utils/index.d.ts +49 -0
  396. package/es/pro/Selector/utils/index.js +229 -0
  397. package/es/pro/pisellPaymentList/example.d.ts +10 -11
  398. package/es/test/setup.d.ts +1 -0
  399. package/es/test/setup.js +177 -0
  400. package/es/utils/index.d.ts +1 -1
  401. package/lib/businessModel/SalesModel/index.d.ts +1 -2
  402. package/lib/components/Sales/index.d.ts +1 -1
  403. package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -2
  404. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -2
  405. package/lib/components/appointmentBooking/components/Cart/index.d.ts +1 -2
  406. package/lib/components/appointmentBooking/components/Content/index.d.ts +1 -2
  407. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +2 -3
  408. package/lib/components/appointmentBooking/components/Footer/index.d.ts +1 -2
  409. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -2
  410. package/lib/components/appointmentBooking/components/Header/index.d.ts +1 -2
  411. package/lib/components/appointmentBooking/components/Voucher/index.d.ts +1 -2
  412. package/lib/components/appointmentBooking/context.d.ts +2 -2
  413. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +1 -2
  414. package/lib/components/appointmentBooking/deposit/index.d.ts +1 -2
  415. package/lib/components/appointmentBooking/index.d.ts +1 -2
  416. package/lib/components/booking/components/TabProduct/index.d.ts +1 -2
  417. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +1 -2
  418. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -2
  419. package/lib/components/booking/components/authWrap/index.d.ts +1 -1
  420. package/lib/components/booking/components/browserSelect/index.d.ts +1 -1
  421. package/lib/components/booking/components/collapsibleList/utils.d.ts +1 -2
  422. package/lib/components/booking/components/drawer/index.d.ts +1 -1
  423. package/lib/components/booking/components/emptyBooking/index.d.ts +1 -2
  424. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +1 -2
  425. package/lib/components/booking/components/footer/index.d.ts +1 -2
  426. package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +1 -2
  427. package/lib/components/booking/components/menuButton/index.d.ts +1 -1
  428. package/lib/components/booking/components/reloadResourceModal/index.d.ts +1 -2
  429. package/lib/components/booking/components/voucher/index.d.ts +1 -2
  430. package/lib/components/booking/dashboard/index.d.ts +1 -1
  431. package/lib/components/booking/deposit/ClientItem/index.d.ts +1 -1
  432. package/lib/components/booking/deposit/DepositItem/index.d.ts +1 -1
  433. package/lib/components/booking/deposit/index.d.ts +1 -2
  434. package/lib/components/booking/editBookingModal/utils.d.ts +12 -0
  435. package/lib/components/booking/forms/footer.d.ts +1 -2
  436. package/lib/components/booking/forms/single/index.d.ts +1 -2
  437. package/lib/components/booking/forms/table/index.d.ts +1 -2
  438. package/lib/components/booking/hooks/useClearCart.d.ts +1 -2
  439. package/lib/components/booking/hooks/useQuotation.d.ts +1 -2
  440. package/lib/components/booking/info/addServiceVariant/index.d.ts +1 -2
  441. package/lib/components/booking/info/client/index.d.ts +1 -1
  442. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -2
  443. package/lib/components/booking/info/date/index.d.ts +1 -2
  444. package/lib/components/booking/info/dateRange/index.d.ts +1 -2
  445. package/lib/components/booking/info/header/index.d.ts +1 -2
  446. package/lib/components/booking/info/hooks/useGetHolderList.d.ts +1 -1
  447. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +2 -2
  448. package/lib/components/booking/info/index.d.ts +1 -2
  449. package/lib/components/booking/info/notes/index.d.ts +1 -2
  450. package/lib/components/booking/info/pet/index.d.ts +1 -1
  451. package/lib/components/booking/info/service/Lists.d.ts +1 -2
  452. package/lib/components/booking/info/service/actions/index.d.ts +1 -2
  453. package/lib/components/booking/info/service/addService/index.d.ts +1 -2
  454. package/lib/components/booking/info/service/addTimeModal/index.d.ts +1 -2
  455. package/lib/components/booking/info/service/editService/BookingList/index.d.ts +1 -2
  456. package/lib/components/booking/info/service/editService/constants.d.ts +1 -0
  457. package/lib/components/booking/info/service/index.d.ts +1 -1
  458. package/lib/components/booking/info/service/like/index.d.ts +1 -2
  459. package/lib/components/booking/info/service/serviceItem/index.d.ts +1 -2
  460. package/lib/components/booking/info/service/serviceList/index.d.ts +1 -2
  461. package/lib/components/booking/info/service2/Lists.d.ts +1 -2
  462. package/lib/components/booking/info/service2/index.d.ts +1 -1
  463. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  464. package/lib/components/booking/info2/service/actions/index.d.ts +1 -2
  465. package/lib/components/booking/info2/service/addService/index.d.ts +1 -2
  466. package/lib/components/booking/info2/service/addTimeModal/index.d.ts +1 -2
  467. package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +1 -2
  468. package/lib/components/booking/info2/service/index.d.ts +1 -1
  469. package/lib/components/booking/info2/service/serviceItem/index.d.ts +1 -2
  470. package/lib/components/booking/info2/service/serviceList/index.d.ts +1 -2
  471. package/lib/components/booking/materiels/contacts/index.d.ts +1 -2
  472. package/lib/components/booking/materiels/duration/index.d.ts +1 -2
  473. package/lib/components/booking/materiels/holder/index.d.ts +1 -2
  474. package/lib/components/booking/materiels/startTime/index.d.ts +1 -2
  475. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -2
  476. package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -2
  477. package/lib/components/booking/notes/addNote/index.d.ts +1 -2
  478. package/lib/components/booking/utils.d.ts +2 -2
  479. package/lib/components/eftpos/device.d.ts +1 -1
  480. package/lib/components/eftpos/deviceList/index.d.ts +1 -2
  481. package/lib/components/eftpos/form/index.d.ts +1 -2
  482. package/lib/components/eftpos/group/index.d.ts +2 -3
  483. package/lib/components/eftpos/icon/apiKey.d.ts +1 -2
  484. package/lib/components/eftpos/icon/device.d.ts +1 -2
  485. package/lib/components/eftpos/index.d.ts +1 -2
  486. package/lib/components/eftpos/log.d.ts +2 -2
  487. package/lib/components/eftpos/pos.d.ts +1 -2
  488. package/lib/components/eftpos/receipt/index.d.ts +1 -2
  489. package/lib/components/eftpos/surcharge/index.d.ts +1 -2
  490. package/lib/components/eftposPay/amount.d.ts +2 -3
  491. package/lib/components/eftposPay/app.d.ts +1 -2
  492. package/lib/components/eftposPay/component/alert/index.d.ts +1 -1
  493. package/lib/components/eftposPay/component/alert/warn.d.ts +1 -2
  494. package/lib/components/eftposPay/component/fail/failCustom.d.ts +1 -2
  495. package/lib/components/eftposPay/component/fail/index.d.ts +1 -2
  496. package/lib/components/eftposPay/component/fail/network.d.ts +1 -2
  497. package/lib/components/eftposPay/component/fail/unknow.d.ts +1 -2
  498. package/lib/components/eftposPay/component/header/index.d.ts +1 -1
  499. package/lib/components/eftposPay/component/header/titlebar.d.ts +1 -2
  500. package/lib/components/eftposPay/component/manual/index.d.ts +1 -2
  501. package/lib/components/eftposPay/component/signature/index.d.ts +1 -2
  502. package/lib/components/eftposPay/component/step/index.d.ts +1 -2
  503. package/lib/components/eftposPay/component/step/step.d.ts +1 -2
  504. package/lib/components/eftposPay/device.d.ts +2 -3
  505. package/lib/components/eftposPay/hooks.d.ts +2 -2
  506. package/lib/components/eftposPay/index.d.ts +1 -2
  507. package/lib/components/eftposPay/linkly/index.d.ts +1 -2
  508. package/lib/components/eftposPay/pay.d.ts +1 -2
  509. package/lib/components/eftposPay/payo/config.d.ts +2 -3
  510. package/lib/components/eftposPay/payo/index.d.ts +1 -1
  511. package/lib/components/eftposPay/store/index.d.ts +7 -7
  512. package/lib/components/eftposPay/tip.d.ts +1 -2
  513. package/lib/components/eftposPay/tyro/index.d.ts +1 -1
  514. package/lib/components/eftposPay/windcave/receiptAction.d.ts +2 -3
  515. package/lib/components/eftposPay/windcave/windcave.d.ts +1 -2
  516. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -1
  517. package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +1 -2
  518. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -2
  519. package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +1 -2
  520. package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -2
  521. package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +1 -2
  522. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -2
  523. package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -2
  524. package/lib/components/eventBooking/components/Provider/Event/index.d.ts +1 -2
  525. package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +1 -2
  526. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -2
  527. package/lib/components/eventBooking/components/Provider/Information/index.d.ts +1 -2
  528. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -2
  529. package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -2
  530. package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -2
  531. package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +1 -2
  532. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -2
  533. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -2
  534. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -1
  535. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -1
  536. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -1
  537. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -1
  538. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -1
  539. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -2
  540. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -2
  541. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -2
  542. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -2
  543. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -2
  544. package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -2
  545. package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -2
  546. package/lib/components/eventBooking/index.d.ts +1 -2
  547. package/lib/components/login/index.d.ts +1 -2
  548. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -2
  549. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -1
  550. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -2
  551. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -1
  552. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -1
  553. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -2
  554. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -2
  555. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -2
  556. package/lib/components/pay/toC/PaymentMethods/WalletPass/MultiModeSearch/index.d.ts +1 -1
  557. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -2
  558. package/lib/components/pisellSelectCustomerModal/CustomerCard/index.d.ts +1 -1
  559. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -2
  560. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -2
  561. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -2
  562. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -2
  563. package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -2
  564. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -2
  565. package/lib/components/pisellSelectCustomerModal/index.d.ts +1 -2
  566. package/lib/components/productExtension/fields/Actor/index.d.ts +1 -2
  567. package/lib/components/productExtension/fields/Forms/index.d.ts +1 -2
  568. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -2
  569. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -2
  570. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -2
  571. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -2
  572. package/lib/components/productExtension/index.d.ts +1 -2
  573. package/lib/components/productSelect/components/TabProduct/index.d.ts +1 -2
  574. package/lib/components/productSelect/components/pisellPriceText/index.d.ts +1 -1
  575. package/lib/components/productSelect/components/productGroup/index.d.ts +2 -3
  576. package/lib/components/productSelect/index.d.ts +1 -1
  577. package/lib/components/ruleSetting/index.d.ts +1 -2
  578. package/lib/components/ruleSetting/ruleBorder/index.d.ts +1 -2
  579. package/lib/components/schedules/calendar/calendarItem.d.ts +1 -2
  580. package/lib/components/schedules/calendar/index.d.ts +1 -2
  581. package/lib/components/schedules/components/Card/index.d.ts +1 -1
  582. package/lib/components/schedules/components/CurrentDay/index.d.ts +1 -2
  583. package/lib/components/schedules/components/ResourceList/index.d.ts +1 -1
  584. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +1 -2
  585. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -2
  586. package/lib/components/schedules/components/ScheduleList/index.d.ts +1 -2
  587. package/lib/components/schedules/components/Search/index.d.ts +1 -1
  588. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -2
  589. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -2
  590. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -2
  591. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -2
  592. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -2
  593. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -2
  594. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -2
  595. package/lib/components/schedules/products/index.d.ts +1 -2
  596. package/lib/components/schedules/products/list/ProductItem/index.d.ts +1 -2
  597. package/lib/components/schedules/products/list/index.d.ts +1 -2
  598. package/lib/components/schedules/resources/index.d.ts +1 -2
  599. package/lib/components/schedules/resources/list/index.d.ts +1 -2
  600. package/lib/components/schedules/resources/relationProduct/index.d.ts +1 -2
  601. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +1 -2
  602. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -2
  603. package/lib/components/schedules/schedules/Schedules.d.ts +1 -1
  604. package/lib/components/schedules/schedules/SchedulesForDay/index.d.ts +1 -1
  605. package/lib/components/schedules/schedules/index.d.ts +1 -2
  606. package/lib/components/schedules/utils.d.ts +1 -1
  607. package/lib/components/shoppingCart/Provider.d.ts +1 -1
  608. package/lib/components/shoppingCart/components/Cart/Product.d.ts +1 -2
  609. package/lib/components/shoppingCart/components/Cart/index.d.ts +1 -2
  610. package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -1
  611. package/lib/components/shoppingCart/components/Render/index.d.ts +1 -2
  612. package/lib/components/shoppingCart/hooks/useAddService.d.ts +1 -2
  613. package/lib/components/shoppingCart/hooks/useClearCart.d.ts +1 -2
  614. package/lib/components/shoppingCart/index.d.ts +1 -2
  615. package/lib/components/subTotal/index.d.ts +1 -1
  616. package/lib/components/tabProduct/index.d.ts +1 -1
  617. package/lib/components/taxSelect/index.d.ts +1 -2
  618. package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +1 -2
  619. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -2
  620. package/lib/components/ticketBooking/components/menuBar/index.d.ts +1 -2
  621. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +1 -2
  622. package/lib/components/ticketBooking/components/timeBar/index.d.ts +1 -2
  623. package/lib/components/ticketBooking/index.d.ts +1 -2
  624. package/lib/components/ticketBooking/miniRedux.d.ts +1 -1
  625. package/lib/components/wallet/utils.d.ts +48 -0
  626. package/lib/components/walletList/index.d.ts +1 -2
  627. package/lib/components/walletList/locales.d.ts +27 -0
  628. package/lib/components/walletList/model.d.ts +1 -1
  629. package/lib/components/walletList/tempHolderSelector/index.d.ts +2 -2
  630. package/lib/components/workSpaceList/components/Modal/index.d.ts +1 -2
  631. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -2
  632. package/lib/hooks/usePaymentLogger.d.ts +2 -2
  633. package/lib/index.d.ts +2 -0
  634. package/lib/index.js +6 -0
  635. package/lib/plus/clientName/index.d.ts +1 -2
  636. package/lib/plus/contactInfoModal/ContactInfoContent.d.ts +1 -2
  637. package/lib/plus/productSelect/CategoryTabs/index.d.ts +1 -0
  638. package/lib/plus/productSelect/CategoryTabs/index.js +2 -1
  639. package/lib/plus/productSelect/ProductCard/index.d.ts +2 -2
  640. package/lib/plus/productSelect/ProductList/gridComponents.d.ts +6 -6
  641. package/lib/plus/productSelect/components/TabsStructure/TabsStructure.js +38 -29
  642. package/lib/plus/productSelect/components/TabsStructure/TabsStructure.less +6 -0
  643. package/lib/plus/productSelect/components/pisellPriceText/index.d.ts +1 -1
  644. package/lib/plus/productSelect/index.d.ts +1 -1
  645. package/lib/plus/saasCreateOrganization/components/Header.d.ts +1 -2
  646. package/lib/plus/saasCreateOrganization/index.d.ts +1 -2
  647. package/lib/plus/saasRegister/components/EntryEmail.d.ts +1 -2
  648. package/lib/plus/saasRegister/components/EntryInfo.d.ts +1 -2
  649. package/lib/plus/saasRegister/components/GoLogin.d.ts +1 -2
  650. package/lib/plus/saasRegister/components/Header.d.ts +1 -2
  651. package/lib/plus/saasRegister/components/VerifyError.d.ts +1 -2
  652. package/lib/plus/saasRegister/components/VerifyingLink.d.ts +1 -2
  653. package/lib/plus/saasRegister/components/VertifyEmail.d.ts +1 -2
  654. package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +1 -1
  655. package/lib/plus/selectHolder/types.d.ts +104 -0
  656. package/lib/plus/selectHolder/utils.d.ts +9 -0
  657. package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +5 -0
  658. package/lib/plus/skuOptionsSelection/components/NormalCard/index.js +142 -0
  659. package/lib/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +3 -0
  660. package/lib/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.js +153 -0
  661. package/lib/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +9 -0
  662. package/lib/plus/skuOptionsSelection/components/OptionsCard/index.js +233 -0
  663. package/lib/plus/skuOptionsSelection/components/OptionsCard/index.less +113 -0
  664. package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +15 -0
  665. package/lib/plus/skuOptionsSelection/components/OptionsModal/index.js +139 -0
  666. package/lib/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +3 -0
  667. package/lib/plus/skuOptionsSelection/components/TitleExtra/index.js +78 -0
  668. package/lib/plus/skuOptionsSelection/components/TitleExtra/index.less +23 -0
  669. package/lib/plus/skuOptionsSelection/components/VariantCard/index.d.ts +3 -0
  670. package/lib/plus/skuOptionsSelection/components/VariantCard/index.js +66 -0
  671. package/lib/plus/skuOptionsSelection/components/VariantCard/index.less +9 -0
  672. package/lib/plus/skuOptionsSelection/hooks/index.d.ts +3 -0
  673. package/lib/plus/skuOptionsSelection/hooks/index.js +45 -0
  674. package/lib/plus/skuOptionsSelection/hooks/useLanguage.d.ts +2 -0
  675. package/lib/plus/skuOptionsSelection/hooks/useLanguage.js +41 -0
  676. package/lib/plus/skuOptionsSelection/hooks/useStore.d.ts +2 -0
  677. package/lib/plus/skuOptionsSelection/hooks/useStore.js +36 -0
  678. package/lib/plus/skuOptionsSelection/hooks/useSymbol.d.ts +2 -0
  679. package/lib/plus/skuOptionsSelection/hooks/useSymbol.js +42 -0
  680. package/lib/plus/skuOptionsSelection/index.d.ts +5 -0
  681. package/lib/plus/skuOptionsSelection/index.js +143 -0
  682. package/lib/plus/skuOptionsSelection/index.less +4 -0
  683. package/lib/plus/skuOptionsSelection/locales.d.ts +30 -0
  684. package/lib/plus/skuOptionsSelection/locales.js +53 -0
  685. package/lib/plus/skuOptionsSelection/store/actions.d.ts +22 -0
  686. package/lib/plus/skuOptionsSelection/store/actions.js +74 -0
  687. package/lib/plus/skuOptionsSelection/store/createStore.d.ts +15 -0
  688. package/lib/plus/skuOptionsSelection/store/createStore.js +87 -0
  689. package/lib/plus/skuOptionsSelection/store/index.d.ts +2 -0
  690. package/lib/plus/skuOptionsSelection/store/index.js +42 -0
  691. package/lib/plus/skuOptionsSelection/store/store.d.ts +4 -0
  692. package/lib/plus/skuOptionsSelection/store/store.js +57 -0
  693. package/lib/plus/skuOptionsSelection/types.d.ts +424 -0
  694. package/lib/plus/skuOptionsSelection/types.js +44 -0
  695. package/lib/plus/skuOptionsSelection/utils/calculateOption.d.ts +6 -0
  696. package/lib/plus/skuOptionsSelection/utils/calculateOption.js +106 -0
  697. package/lib/plus/skuOptionsSelection/utils/checkSkuStatus.d.ts +37 -0
  698. package/lib/plus/skuOptionsSelection/utils/checkSkuStatus.js +125 -0
  699. package/lib/plus/skuOptionsSelection/utils/index.d.ts +7 -0
  700. package/lib/plus/skuOptionsSelection/utils/index.js +35 -0
  701. package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
  702. package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.js +115 -0
  703. package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
  704. package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.js +104 -0
  705. package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
  706. package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.js +174 -0
  707. package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
  708. package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.js +207 -0
  709. package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
  710. package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.js +118 -0
  711. package/lib/plus/walletEditor/components/relationProduct/index.d.ts +1 -2
  712. package/lib/plus/walletEditor/locales.d.ts +135 -0
  713. package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +1 -2
  714. package/lib/plus/walletPassGallery/components/passList/index.d.ts +1 -2
  715. package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +1 -2
  716. package/lib/plus/walletPassGallery/components/usageRule/index.d.ts +1 -1
  717. package/lib/plus/walletPassGallery/index.d.ts +1 -2
  718. package/lib/plus/walletPassGallery/locales.d.ts +285 -0
  719. package/lib/plus/walletPassGallery/utils.d.ts +48 -0
  720. package/lib/pro/Cards/components/SKUCard/index.d.ts +60 -0
  721. package/lib/pro/Cards/components/SKUCard/index.js +191 -0
  722. package/lib/pro/Cards/components/SKUCard/index.less +102 -0
  723. package/lib/pro/Cards/index.d.ts +1 -0
  724. package/lib/pro/Cards/index.js +39 -0
  725. package/lib/pro/Login2.0/components/ForgotPasswordFlow.d.ts +2 -9
  726. package/lib/pro/Login2.0/components/LoginCodeInput.d.ts +2 -6
  727. package/lib/pro/Login2.0/components/PhoneInput.d.ts +1 -1
  728. package/lib/pro/Login2.0/steps/CodeInput.d.ts +2 -6
  729. package/lib/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +2 -6
  730. package/lib/pro/Login2.0/steps/EmailLinkAlreadyUsed.d.ts +2 -5
  731. package/lib/pro/Login2.0/steps/EmailLinkExpired.d.ts +2 -5
  732. package/lib/pro/Login2.0/steps/SetPassword.d.ts +2 -5
  733. package/lib/pro/Login2.0/steps/VerificationSuccess.d.ts +2 -5
  734. package/lib/pro/Login2.0/steps/VerifyingEmailLink.d.ts +2 -5
  735. package/lib/pro/Login2.0/steps/WaitEmailLink.d.ts +2 -5
  736. package/lib/pro/NumericStepper/index.d.ts +43 -0
  737. package/lib/pro/NumericStepper/index.js +239 -0
  738. package/lib/pro/NumericStepper/index.less +220 -0
  739. package/lib/pro/Selector/BatchSelectorDemo.d.ts +3 -0
  740. package/lib/pro/Selector/BatchSelectorDemo.js +688 -0
  741. package/lib/pro/Selector/Item.d.ts +14 -0
  742. package/lib/pro/Selector/Item.js +109 -0
  743. package/lib/pro/Selector/Selector.d.ts +14 -0
  744. package/lib/pro/Selector/Selector.js +344 -0
  745. package/lib/pro/Selector/Selector.stories.d.ts +78 -0
  746. package/lib/pro/Selector/Selector.stories.js +740 -0
  747. package/lib/pro/Selector/SelectorGroup.d.ts +11 -0
  748. package/lib/pro/Selector/SelectorGroup.js +534 -0
  749. package/lib/pro/Selector/components/Card/index.d.ts +57 -0
  750. package/lib/pro/Selector/components/Card/index.js +129 -0
  751. package/lib/pro/Selector/components/Card/index.less +162 -0
  752. package/lib/pro/Selector/components/Card/types.d.ts +1 -0
  753. package/lib/pro/Selector/components/Card/types.js +17 -0
  754. package/lib/pro/Selector/components/Indicator/index.d.ts +19 -0
  755. package/lib/pro/Selector/components/Indicator/index.js +129 -0
  756. package/lib/pro/Selector/components/Indicator/index.less +114 -0
  757. package/lib/pro/Selector/components/IntersectionObserver.d.ts +105 -0
  758. package/lib/pro/Selector/components/IntersectionObserver.js +281 -0
  759. package/lib/pro/Selector/components/LayoutContainer/index.d.ts +16 -0
  760. package/lib/pro/Selector/components/LayoutContainer/index.js +64 -0
  761. package/lib/pro/Selector/components/Media/index.d.ts +6 -0
  762. package/lib/pro/Selector/components/Media/index.js +238 -0
  763. package/lib/pro/Selector/components/Media/index.less +124 -0
  764. package/lib/pro/Selector/components/Media/types.d.ts +47 -0
  765. package/lib/pro/Selector/components/Media/types.js +17 -0
  766. package/lib/pro/Selector/components/index.d.ts +4 -0
  767. package/lib/pro/Selector/components/index.js +42 -0
  768. package/lib/pro/Selector/demo.d.ts +2 -0
  769. package/lib/pro/Selector/demo.js +854 -0
  770. package/lib/pro/Selector/hooks/usePresetItemProps.d.ts +43 -0
  771. package/lib/pro/Selector/hooks/usePresetItemProps.js +156 -0
  772. package/lib/pro/Selector/hooks/usePresetProps.d.ts +24 -0
  773. package/lib/pro/Selector/hooks/usePresetProps.js +133 -0
  774. package/lib/pro/Selector/hooks/useSelectionController.d.ts +49 -0
  775. package/lib/pro/Selector/hooks/useSelectionController.js +379 -0
  776. package/lib/pro/Selector/index.d.ts +11 -0
  777. package/lib/pro/Selector/index.js +47 -0
  778. package/lib/pro/Selector/locales.d.ts +36 -0
  779. package/lib/pro/Selector/locales.js +101 -0
  780. package/lib/pro/Selector/selector.less +108 -0
  781. package/lib/pro/Selector/selectorGroup.less +12 -0
  782. package/lib/pro/Selector/types.d.ts +173 -0
  783. package/lib/pro/Selector/types.js +17 -0
  784. package/lib/pro/Selector/utils/index.d.ts +49 -0
  785. package/lib/pro/Selector/utils/index.js +221 -0
  786. package/lib/pro/pisellPaymentList/example.d.ts +10 -11
  787. package/lib/test/setup.d.ts +1 -0
  788. package/lib/test/setup.js +94 -0
  789. package/lib/utils/index.d.ts +1 -1
  790. package/lowcode/selector/meta.ts +387 -0
  791. package/lowcode/selector/utils.ts +118 -0
  792. package/lowcode/selector.group/meta.ts +285 -0
  793. package/lowcode/selector.item/meta.ts +31 -0
  794. package/lowcode/sku-options-selection/default.ts +1215 -0
  795. package/lowcode/sku-options-selection/meta.ts +509 -0
  796. package/package.json +49 -28
@@ -0,0 +1,223 @@
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
3
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
4
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
5
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
6
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
7
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
8
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
9
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
10
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
11
+ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
12
+ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
13
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
14
+ function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
15
+ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
16
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
17
+ import Decimal from 'decimal.js';
18
+
19
+ /**
20
+ * 将value转换为SelectorGroup需要的格式
21
+ */
22
+ export var transformValueToSelectorValue = function transformValueToSelectorValue(value, dataSource) {
23
+ var _Object$keys, _Object$keys2;
24
+ if (!value || !dataSource || ((_Object$keys = Object.keys(value || {})) === null || _Object$keys === void 0 ? void 0 : _Object$keys.length) === 0 || ((_Object$keys2 = Object.keys(dataSource || {})) === null || _Object$keys2 === void 0 ? void 0 : _Object$keys2.length) === 0) {
25
+ return {};
26
+ }
27
+ var transformValue = {};
28
+
29
+ // 套餐商品数据
30
+ if (value !== null && value !== void 0 && value.bundle) {
31
+ var _value$bundle, _newBundle$forEach;
32
+ // 首先需要把value?.bundle中id相同的商品合并,value?.bundle转换为:[{id: number, options: Array<any>}, {id: number, options: Array<any>}, ...]
33
+ var newBundle = value === null || value === void 0 || (_value$bundle = value.bundle) === null || _value$bundle === void 0 ? void 0 : _value$bundle.reduce(function (acc, v) {
34
+ var _bundleItemId = v === null || v === void 0 ? void 0 : v.id;
35
+ var idx = acc === null || acc === void 0 ? void 0 : acc.findIndex(function (v1) {
36
+ return (v1 === null || v1 === void 0 ? void 0 : v1.id) === _bundleItemId;
37
+ });
38
+ if (idx !== -1) {
39
+ var _acc$idx, _acc$idx$push;
40
+ (_acc$idx = acc[idx]) === null || _acc$idx === void 0 || (_acc$idx = _acc$idx.bundleOptions) === null || _acc$idx === void 0 || (_acc$idx$push = _acc$idx.push) === null || _acc$idx$push === void 0 || _acc$idx$push.call(_acc$idx, v);
41
+ } else {
42
+ var _acc$push;
43
+ acc === null || acc === void 0 || (_acc$push = acc.push) === null || _acc$push === void 0 || _acc$push.call(acc, {
44
+ id: _bundleItemId,
45
+ groupId: v === null || v === void 0 ? void 0 : v.group_id,
46
+ bundleOptions: [v]
47
+ });
48
+ }
49
+ return acc;
50
+ }, []);
51
+ newBundle === null || newBundle === void 0 || (_newBundle$forEach = newBundle.forEach) === null || _newBundle$forEach === void 0 || _newBundle$forEach.call(newBundle, function (v1) {
52
+ var _bundleGroupId = v1 === null || v1 === void 0 ? void 0 : v1.groupId;
53
+ var _bundleValue = createBundleValue(v1, dataSource);
54
+ if (transformValue[_bundleGroupId]) {
55
+ transformValue[_bundleGroupId] = [].concat(_toConsumableArray(transformValue[_bundleGroupId] || []), [_bundleValue]);
56
+ } else {
57
+ transformValue[_bundleGroupId] = [_bundleValue];
58
+ }
59
+ });
60
+ }
61
+
62
+ // 单规格商品数据
63
+ if (value !== null && value !== void 0 && value.option) {
64
+ var _value$option, _value$option$forEach;
65
+ var _createOptionValue = function _createOptionValue(v) {
66
+ return {
67
+ data: _objectSpread({}, v || {}),
68
+ quantity: (v === null || v === void 0 ? void 0 : v.quantity) || 1,
69
+ value: v === null || v === void 0 ? void 0 : v.id,
70
+ totalPrice: new Decimal((v === null || v === void 0 ? void 0 : v.price) || 0).times((v === null || v === void 0 ? void 0 : v.quantity) || 1).toNumber()
71
+ };
72
+ };
73
+ value === null || value === void 0 || (_value$option = value.option) === null || _value$option === void 0 || (_value$option$forEach = _value$option.forEach) === null || _value$option$forEach === void 0 || _value$option$forEach.call(_value$option, function (v1) {
74
+ // 1.首先判定transformValue中是否存在该group的key,如果存在则需要将v1的数据合并到transformValue中
75
+ console.log('v1>>>>>', transformValue[v1 === null || v1 === void 0 ? void 0 : v1.group_id], transformValue);
76
+ var _optionGroupId = v1 === null || v1 === void 0 ? void 0 : v1.option_group_id;
77
+ if (transformValue[_optionGroupId]) {
78
+ transformValue[_optionGroupId] = [].concat(_toConsumableArray(transformValue[_optionGroupId] || []), [_createOptionValue(v1)]);
79
+ } else {
80
+ var _dataSource$option_gr;
81
+ // 从dataSource中的option_group中匹配出group数据,判断该group是单选还是多选
82
+ var groupItem = dataSource === null || dataSource === void 0 || (_dataSource$option_gr = dataSource.option_group) === null || _dataSource$option_gr === void 0 ? void 0 : _dataSource$option_gr.find(function (v2) {
83
+ return (v2 === null || v2 === void 0 ? void 0 : v2.id) === _optionGroupId;
84
+ });
85
+ if ((groupItem === null || groupItem === void 0 ? void 0 : groupItem.is_multiple) == 1) {
86
+ transformValue[_optionGroupId] = [_createOptionValue(v1)];
87
+ } else {
88
+ transformValue[_optionGroupId] = _createOptionValue(v1);
89
+ }
90
+ }
91
+ });
92
+ }
93
+
94
+ // 组合规格商品数据
95
+ if (value !== null && value !== void 0 && value.product_variant_id) {
96
+ var _dataSource$variant;
97
+ // 根据product_variant_id从dataSource中的variant中进行匹配,最终筛选出对应的组合规格商品
98
+ var filteredVariant = dataSource === null || dataSource === void 0 || (_dataSource$variant = dataSource.variant) === null || _dataSource$variant === void 0 ? void 0 : _dataSource$variant.find(function (item) {
99
+ return (item === null || item === void 0 ? void 0 : item.id) === (value === null || value === void 0 ? void 0 : value.product_variant_id);
100
+ });
101
+ if (!!filteredVariant) {
102
+ var _filteredVariant$sku_;
103
+ var ids = (filteredVariant === null || filteredVariant === void 0 || (_filteredVariant$sku_ = filteredVariant.sku_ids) === null || _filteredVariant$sku_ === void 0 ? void 0 : _filteredVariant$sku_.split('_')) || [];
104
+ ids.forEach(function (id) {
105
+ var _dataSource$variant_g;
106
+ // 拆分出variantGroupId和variantId,需要将variantGroupId和variantId转换为数字
107
+ var _id$split = id.split(':'),
108
+ _id$split2 = _slicedToArray(_id$split, 2),
109
+ variantGroupId = _id$split2[0],
110
+ variantId = _id$split2[1];
111
+ var _variantGroupId = Number(variantGroupId);
112
+ var _variantId = Number(variantId);
113
+ // 从variant_group中匹配出数据
114
+ var _variantGroupItem = null;
115
+ // 只要找到数据就结束查找
116
+ dataSource === null || dataSource === void 0 || (_dataSource$variant_g = dataSource.variant_group) === null || _dataSource$variant_g === void 0 || _dataSource$variant_g.find(function (v1) {
117
+ if ((v1 === null || v1 === void 0 ? void 0 : v1.id) === _variantGroupId) {
118
+ var _v1$variant_item;
119
+ v1 === null || v1 === void 0 || (_v1$variant_item = v1.variant_item) === null || _v1$variant_item === void 0 || _v1$variant_item.find(function (v2) {
120
+ if ((v2 === null || v2 === void 0 ? void 0 : v2.id) === _variantId) {
121
+ _variantGroupItem = v2;
122
+ return true;
123
+ }
124
+ return false;
125
+ });
126
+ return true;
127
+ }
128
+ return false;
129
+ });
130
+ if (!!_variantGroupItem) {
131
+ transformValue[_variantGroupId] = {
132
+ data: _objectSpread({}, _variantGroupItem || {}),
133
+ quantity: 1,
134
+ value: _variantId
135
+ };
136
+ }
137
+ });
138
+ }
139
+ }
140
+ return transformValue;
141
+ };
142
+
143
+ /**
144
+ * 创建套餐商品数据
145
+ */
146
+ var createBundleValue = function createBundleValue(v, dataSource) {
147
+ var _dataSource$bundle_gr, _v$bundleOptions, _v$bundleOptions$forE;
148
+ var _createdValue = null;
149
+
150
+ // 从dataSource的bundle_group中匹配出数据
151
+ var bundleGroupItem = dataSource === null || dataSource === void 0 || (_dataSource$bundle_gr = dataSource.bundle_group) === null || _dataSource$bundle_gr === void 0 ? void 0 : _dataSource$bundle_gr.find(function (v1) {
152
+ return (v1 === null || v1 === void 0 ? void 0 : v1.id) === (v === null || v === void 0 ? void 0 : v.groupId);
153
+ });
154
+ var findedBundleItem = null;
155
+ if (!!bundleGroupItem) {
156
+ var _bundleGroupItem$bund;
157
+ findedBundleItem = bundleGroupItem === null || bundleGroupItem === void 0 || (_bundleGroupItem$bund = bundleGroupItem.bundle_item) === null || _bundleGroupItem$bund === void 0 ? void 0 : _bundleGroupItem$bund.find(function (v1) {
158
+ return (v1 === null || v1 === void 0 ? void 0 : v1.id) === (v === null || v === void 0 ? void 0 : v.id);
159
+ });
160
+ if (!!findedBundleItem) {
161
+ var _findedBundleItem;
162
+ _createdValue = {
163
+ value: (_findedBundleItem = findedBundleItem) === null || _findedBundleItem === void 0 ? void 0 : _findedBundleItem.id,
164
+ data: _objectSpread({}, findedBundleItem || {})
165
+ };
166
+ }
167
+ }
168
+
169
+ // 如果选项在套餐组中不匹配到数据,则直接返回null
170
+ if (!_createdValue) {
171
+ return null;
172
+ }
173
+ v === null || v === void 0 || (_v$bundleOptions = v.bundleOptions) === null || _v$bundleOptions === void 0 || (_v$bundleOptions$forE = _v$bundleOptions.forEach) === null || _v$bundleOptions$forE === void 0 || _v$bundleOptions$forE.call(_v$bundleOptions, function (v1) {
174
+ var _v1$option;
175
+ if (v1 !== null && v1 !== void 0 && (_v1$option = v1.option) !== null && _v1$option !== void 0 && _v1$option.length) {
176
+ var _createdValue2;
177
+ var _data = ((_createdValue2 = _createdValue) === null || _createdValue2 === void 0 || (_createdValue2 = _createdValue2.data) === null || _createdValue2 === void 0 ? void 0 : _createdValue2._data) || [];
178
+ var _createdValueData = createOptionValue(v1, findedBundleItem);
179
+ _data.push({
180
+ value: v1 === null || v1 === void 0 ? void 0 : v1.id,
181
+ data: _createdValueData,
182
+ quantity: (v1 === null || v1 === void 0 ? void 0 : v1.quantity) || 1
183
+ });
184
+ _createdValue.data._data = _data;
185
+ }
186
+ _createdValue.quantity = (_createdValue.quantity || 0) + ((v1 === null || v1 === void 0 ? void 0 : v1.quantity) || 0);
187
+ _createdValue.totalPrice = new Decimal(_createdValue.totalPrice || 0).plus(new Decimal((v1 === null || v1 === void 0 ? void 0 : v1.price) || 0).times((v1 === null || v1 === void 0 ? void 0 : v1.quantity) || 1)).toNumber();
188
+ });
189
+ return _createdValue;
190
+ };
191
+
192
+ /**
193
+ * 创建套餐中单规格商品数据
194
+ */
195
+ var createOptionValue = function createOptionValue(v, bundleItem) {
196
+ var _v$option, _v$option$forEach;
197
+ var _createdValue = {};
198
+ v === null || v === void 0 || (_v$option = v.option) === null || _v$option === void 0 || (_v$option$forEach = _v$option.forEach) === null || _v$option$forEach === void 0 || _v$option$forEach.call(_v$option, function (v1) {
199
+ var _optionGroupId = v1 === null || v1 === void 0 ? void 0 : v1.option_group_id;
200
+ var _tempValue = {
201
+ data: _objectSpread({}, v1 || {}),
202
+ quantity: (v1 === null || v1 === void 0 ? void 0 : v1.quantity) || 1,
203
+ value: v1 === null || v1 === void 0 ? void 0 : v1.id,
204
+ totalPrice: new Decimal((v1 === null || v1 === void 0 ? void 0 : v1.price) || 0).times((v1 === null || v1 === void 0 ? void 0 : v1.quantity) || 1).toNumber()
205
+ };
206
+ if (_createdValue !== null && _createdValue !== void 0 && _createdValue[_optionGroupId]) {
207
+ var _createdValue$_option;
208
+ _createdValue === null || _createdValue === void 0 || (_createdValue$_option = _createdValue[_optionGroupId]) === null || _createdValue$_option === void 0 || _createdValue$_option.push(_tempValue);
209
+ } else {
210
+ var _bundleItem$option_gr;
211
+ // 需要从当前选项的option_group中匹配数据,判定出当前是单选还是多选
212
+ var optionGroupItem = bundleItem === null || bundleItem === void 0 || (_bundleItem$option_gr = bundleItem.option_group) === null || _bundleItem$option_gr === void 0 ? void 0 : _bundleItem$option_gr.find(function (v2) {
213
+ return (v2 === null || v2 === void 0 ? void 0 : v2.id) === (v1 === null || v1 === void 0 ? void 0 : v1.option_group_id);
214
+ });
215
+ if ((optionGroupItem === null || optionGroupItem === void 0 ? void 0 : optionGroupItem.is_multiple) == 1) {
216
+ _createdValue[_optionGroupId] = [_tempValue];
217
+ } else {
218
+ _createdValue[_optionGroupId] = _tempValue;
219
+ }
220
+ }
221
+ });
222
+ return _createdValue;
223
+ };
@@ -0,0 +1 @@
1
+ export declare const transformVariantGroup: (variantGroup: any[]) => any[];
@@ -0,0 +1,90 @@
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
3
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
4
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
5
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
7
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
8
+ import React from 'react';
9
+ import VariantCard from "../components/VariantCard";
10
+ import { checkVariantStockCanSell, checkSkuDisabled, checkVariantStockByValue } from "./checkSkuStatus";
11
+ export var transformVariantGroup = function transformVariantGroup(variantGroup) {
12
+ if (!Array.isArray(variantGroup)) return [];
13
+ var formattedGroup = variantGroup.map(function (item) {
14
+ var _item$variant_item;
15
+ // Selector中选项数据源
16
+ var selectorOptionsDataSource = item === null || item === void 0 || (_item$variant_item = item.variant_item) === null || _item$variant_item === void 0 ? void 0 : _item$variant_item.map(function (variantItem) {
17
+ var _checkVariantStockCan = checkVariantStockCanSell(variantItem),
18
+ canSell = _checkVariantStockCan.canSell,
19
+ hasStock = _checkVariantStockCan.hasStock;
20
+ var disabled = checkSkuDisabled(variantItem, canSell);
21
+ return {
22
+ _original: _objectSpread({}, variantItem || {}),
23
+ id: variantItem === null || variantItem === void 0 ? void 0 : variantItem.id,
24
+ title: variantItem === null || variantItem === void 0 ? void 0 : variantItem.name,
25
+ value: variantItem === null || variantItem === void 0 ? void 0 : variantItem.id,
26
+ disabled: disabled,
27
+ ruleConfig: {
28
+ autoValidate: true
29
+ },
30
+ _extra: {
31
+ canSell: canSell,
32
+ hasStock: hasStock
33
+ }
34
+ };
35
+ });
36
+
37
+ // Selector数据源
38
+ var selectorDataSource = {
39
+ id: item.id,
40
+ title: item.name || '',
41
+ mode: 'single',
42
+ valueType: 'object',
43
+ fieldNames: {
44
+ value: 'value',
45
+ label: 'title'
46
+ },
47
+ dataSource: selectorOptionsDataSource || [],
48
+ disabled: (item === null || item === void 0 ? void 0 : item.is_enabled) === 0,
49
+ ruleConfig: {
50
+ autoValidate: true,
51
+ required: true
52
+ },
53
+ variant: 'card',
54
+ preset: {
55
+ variant: '1'
56
+ },
57
+ itemProps: {
58
+ styles: {
59
+ container: {
60
+ padding: 0
61
+ }
62
+ }
63
+ },
64
+ stepperProps: {
65
+ showInput: true
66
+ }
67
+ };
68
+
69
+ // 渲染选项卡片
70
+ selectorDataSource.renderItem = function (itemProps) {
71
+ var _itemProps$dataSource, _itemProps$dataSource2;
72
+ var _checkVariantStockByV = checkVariantStockByValue(itemProps === null || itemProps === void 0 || (_itemProps$dataSource = itemProps.dataSource) === null || _itemProps$dataSource === void 0 ? void 0 : _itemProps$dataSource._original),
73
+ canSell = _checkVariantStockByV.canSell,
74
+ hasStock = _checkVariantStockByV.hasStock;
75
+ var _dataSource = _objectSpread(_objectSpread({}, (itemProps === null || itemProps === void 0 ? void 0 : itemProps.dataSource) || {}), {}, {
76
+ disabled: checkSkuDisabled(itemProps === null || itemProps === void 0 || (_itemProps$dataSource2 = itemProps.dataSource) === null || _itemProps$dataSource2 === void 0 ? void 0 : _itemProps$dataSource2._original, canSell),
77
+ _extra: {
78
+ canSell: canSell,
79
+ hasStock: hasStock
80
+ }
81
+ });
82
+ return /*#__PURE__*/React.createElement(VariantCard, _extends({}, itemProps || {}, {
83
+ dataSource: _dataSource,
84
+ parentDataSource: selectorDataSource
85
+ }));
86
+ };
87
+ return selectorDataSource;
88
+ });
89
+ return formattedGroup;
90
+ };
@@ -1,7 +1,6 @@
1
- import React from 'react';
2
1
  import './index.less';
3
2
  declare const RelationProduct: ({ value, onChange, }: {
4
3
  value?: string[] | undefined;
5
4
  onChange?: ((val: string[]) => void) | undefined;
6
- }) => React.JSX.Element | null;
5
+ }) => JSX.Element | null;
7
6
  export default RelationProduct;
@@ -0,0 +1,135 @@
1
+ declare const _default: {
2
+ en: {
3
+ walletName: string;
4
+ validityPeriod: string;
5
+ linkedPasses: string;
6
+ linkedPassesDesc: string;
7
+ sort: string;
8
+ status: string;
9
+ distributionConditions: string;
10
+ selectPasses: string;
11
+ backgroundImage: string;
12
+ advancedSettings: string;
13
+ sendConfig: string;
14
+ displaySettings: string;
15
+ viewPreview: string;
16
+ coverImage: string;
17
+ icon: string;
18
+ upload: string;
19
+ enable: string;
20
+ disable: string;
21
+ barCode: string;
22
+ qrCode: string;
23
+ day: string;
24
+ days: string;
25
+ month: string;
26
+ months: string;
27
+ year: string;
28
+ years: string;
29
+ forever: string;
30
+ custom: string;
31
+ balance: string;
32
+ point: string;
33
+ voucher: string;
34
+ discount: string;
35
+ rechargeable: string;
36
+ pleaseInputWalletName: string;
37
+ enterCoverImageURL: string;
38
+ enterJSONConfig: string;
39
+ selectValidityPeriod: string;
40
+ selectCustomDate: string;
41
+ registerToIssue: string;
42
+ 'pisell2.wallet-editor.holder': string;
43
+ 'pisell2.wallet-editor.holder.required': string;
44
+ 'pisell2.wallet-editor.holder.invalid': string;
45
+ };
46
+ 'zh-CN': {
47
+ walletName: string;
48
+ validityPeriod: string;
49
+ linkedPasses: string;
50
+ linkedPassesDesc: string;
51
+ sort: string;
52
+ status: string;
53
+ distributionConditions: string;
54
+ selectPasses: string;
55
+ backgroundImage: string;
56
+ advancedSettings: string;
57
+ sendConfig: string;
58
+ displaySettings: string;
59
+ viewPreview: string;
60
+ coverImage: string;
61
+ icon: string;
62
+ upload: string;
63
+ enable: string;
64
+ disable: string;
65
+ barCode: string;
66
+ qrCode: string;
67
+ day: string;
68
+ days: string;
69
+ month: string;
70
+ months: string;
71
+ year: string;
72
+ years: string;
73
+ forever: string;
74
+ custom: string;
75
+ balance: string;
76
+ point: string;
77
+ voucher: string;
78
+ discount: string;
79
+ rechargeable: string;
80
+ pleaseInputWalletName: string;
81
+ enterCoverImageURL: string;
82
+ enterJSONConfig: string;
83
+ selectValidityPeriod: string;
84
+ selectCustomDate: string;
85
+ registerToIssue: string;
86
+ 'pisell2.wallet-editor.holder': string;
87
+ 'pisell2.wallet-editor.holder.required': string;
88
+ 'pisell2.wallet-editor.holder.invalid': string;
89
+ };
90
+ 'zh-HK': {
91
+ walletName: string;
92
+ validityPeriod: string;
93
+ linkedPasses: string;
94
+ linkedPassesDesc: string;
95
+ sort: string;
96
+ status: string;
97
+ distributionConditions: string;
98
+ selectPasses: string;
99
+ backgroundImage: string;
100
+ advancedSettings: string;
101
+ sendConfig: string;
102
+ displaySettings: string;
103
+ viewPreview: string;
104
+ coverImage: string;
105
+ icon: string;
106
+ upload: string;
107
+ enable: string;
108
+ disable: string;
109
+ barCode: string;
110
+ qrCode: string;
111
+ day: string;
112
+ days: string;
113
+ month: string;
114
+ months: string;
115
+ year: string;
116
+ years: string;
117
+ forever: string;
118
+ custom: string;
119
+ balance: string;
120
+ point: string;
121
+ voucher: string;
122
+ discount: string;
123
+ rechargeable: string;
124
+ pleaseInputWalletName: string;
125
+ enterCoverImageURL: string;
126
+ enterJSONConfig: string;
127
+ selectValidityPeriod: string;
128
+ selectCustomDate: string;
129
+ registerToIssue: string;
130
+ 'pisell2.wallet-editor.holder': string;
131
+ 'pisell2.wallet-editor.holder.required': string;
132
+ 'pisell2.wallet-editor.holder.invalid': string;
133
+ };
134
+ };
135
+ export default _default;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import './index.less';
3
2
  interface PassDetailProps {
4
3
  dataSource?: any | null;
@@ -6,5 +5,5 @@ interface PassDetailProps {
6
5
  buttonGroupList?: any[][];
7
6
  showTimeLine?: boolean;
8
7
  }
9
- declare const PassDetail: (props: PassDetailProps) => React.JSX.Element | null;
8
+ declare const PassDetail: (props: PassDetailProps) => JSX.Element | null;
10
9
  export default PassDetail;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  interface IPassListProps {
3
2
  dataSource: any[];
4
3
  value?: string | number;
@@ -9,5 +8,5 @@ interface IPassListProps {
9
8
  loading?: boolean;
10
9
  onEditHolder?: (info: any) => void;
11
10
  }
12
- declare const PassList: (props: IPassListProps) => React.JSX.Element;
11
+ declare const PassList: (props: IPassListProps) => JSX.Element;
13
12
  export default PassList;
@@ -1,9 +1,8 @@
1
- import React from 'react';
2
1
  import './index.less';
3
2
  interface TimelineSectionProps {
4
3
  code: string;
5
4
  tag: string;
6
5
  timezone: string;
7
6
  }
8
- declare const TimelineSection: (props: TimelineSectionProps) => React.JSX.Element;
7
+ declare const TimelineSection: (props: TimelineSectionProps) => JSX.Element;
9
8
  export default TimelineSection;
@@ -5,5 +5,5 @@ interface UsageRulesProps {
5
5
  style?: React.CSSProperties;
6
6
  dataSource?: any;
7
7
  }
8
- declare function UsageRules({ className, style, dataSource }: UsageRulesProps): React.JSX.Element | null;
8
+ declare function UsageRules({ className, style, dataSource }: UsageRulesProps): JSX.Element | null;
9
9
  export default UsageRules;
@@ -1,7 +1,6 @@
1
- import React from 'react';
2
1
  import './index.less';
3
2
  export interface WalletPassGalleryProps {
4
3
  [key: string]: any;
5
4
  }
6
- declare const WalletPassGallery: (props: WalletPassGalleryProps) => React.JSX.Element;
5
+ declare const WalletPassGallery: (props: WalletPassGalleryProps) => JSX.Element;
7
6
  export default WalletPassGallery;