@pisell/private-materials 6.3.64 → 6.3.66

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 (335) 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 -145
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +7 -7
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +8 -8
  11. package/es/businessModel/SalesModel/Sales/index.d.ts +24 -0
  12. package/es/businessModel/SalesModel/hooks/index.d.ts +1 -0
  13. package/es/businessModel/index.d.ts +0 -0
  14. package/es/components/Sales/Cart/types.d.ts +31 -0
  15. package/es/components/Sales/Cart/utils.d.ts +63 -0
  16. package/es/components/Sales/Checkout/utils.d.ts +41 -0
  17. package/es/components/Sales/Customer/index.d.ts +25 -0
  18. package/es/components/Sales/hooks/index.d.ts +1 -0
  19. package/es/components/Sales/utils/index.d.ts +1 -0
  20. package/es/components/appointmentBooking/components/ConfirmInformation/utils.d.ts +12 -0
  21. package/es/components/appointmentBooking/components/Date/state.d.ts +63 -0
  22. package/es/components/appointmentBooking/components/Form/utils.d.ts +8 -0
  23. package/es/components/appointmentBooking/components/Resource/utils.d.ts +5 -0
  24. package/es/components/appointmentBooking/type.d.ts +17 -0
  25. package/es/components/booking/components/TabProduct/tabs/index.d.ts +21 -0
  26. package/es/components/booking/components/drawer/index.d.ts +19 -0
  27. package/es/components/booking/components/footer/serve.d.ts +3 -0
  28. package/es/components/booking/components/footer/utils.d.ts +1 -0
  29. package/es/components/booking/components/footer/utils.js +42 -23
  30. package/es/components/booking/components/menuButton/index.d.ts +10 -0
  31. package/es/components/booking/components/voucher/index.js +7 -8
  32. package/es/components/booking/components/voucher/utils.d.ts +4 -0
  33. package/es/components/booking/deposit/serve.d.ts +8 -0
  34. package/es/components/booking/editBookingModal/locales.d.ts +21 -0
  35. package/es/components/booking/editBookingModal/mock.d.ts +807 -0
  36. package/es/components/booking/editBookingModal/type.d.ts +12 -0
  37. package/es/components/booking/forms/format.d.ts +11 -0
  38. package/es/components/booking/info/Provider.d.ts +0 -0
  39. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +2 -0
  40. package/es/components/booking/info/hooks/useGetHolderList.d.ts +2 -0
  41. package/es/components/booking/info/service/serviceItem/Sales/index.d.ts +0 -0
  42. package/es/components/booking/info/service/serviceManager/distributeDiscount.d.ts +11 -0
  43. package/es/components/booking/info/service/serviceManager/utils.d.ts +0 -0
  44. package/es/components/booking/info2/service/addService/mock.d.ts +214 -0
  45. package/es/components/booking/info2/service/addTimeModal/serve.d.ts +9 -0
  46. package/es/components/booking/info2/service/editService/Capacity/index.d.ts +4 -0
  47. package/es/components/booking/info2/service/editService/Resources/MaxLengthSelect/index.d.ts +7 -0
  48. package/es/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.d.ts +7 -0
  49. package/es/components/booking/materiels/startTime/index.d.ts +10 -0
  50. package/es/components/eftpos/const.d.ts +64 -0
  51. package/es/components/eftpos/deviceList/index.d.ts +2 -0
  52. package/es/components/eftpos/form/index.d.ts +20 -0
  53. package/es/components/eftpos/group/index.d.ts +5 -0
  54. package/es/components/eftpos/hooks.d.ts +33 -0
  55. package/es/components/eftpos/icon/apiKey.d.ts +4 -0
  56. package/es/components/eftpos/icon/device.d.ts +4 -0
  57. package/es/components/eftpos/locales.d.ts +99 -0
  58. package/es/components/eftpos/log.d.ts +8 -0
  59. package/es/components/eftpos/receipt/index.d.ts +23 -0
  60. package/es/components/eftpos/surcharge/index.d.ts +30 -0
  61. package/es/components/eftposPay/amount.d.ts +1 -1
  62. package/es/components/eftposPay/component/alert/index.d.ts +6 -0
  63. package/es/components/eftposPay/component/alert/warn.d.ts +2 -0
  64. package/es/components/eftposPay/component/header/index.d.ts +10 -0
  65. package/es/components/eftposPay/component/header/titlebar.d.ts +12 -0
  66. package/es/components/eftposPay/component/step/index.d.ts +11 -0
  67. package/es/components/eftposPay/component/step/step.d.ts +8 -0
  68. package/es/components/eftposPay/device.d.ts +1 -1
  69. package/es/components/eftposPay/helper.d.ts +83 -0
  70. package/es/components/eftposPay/hooks.d.ts +1 -1
  71. package/es/components/eftposPay/store/index.d.ts +355 -0
  72. package/es/components/eftposPay/store/useThunkReducer.d.ts +9 -0
  73. package/es/components/eftposPay/tyro/hooks.d.ts +13 -0
  74. package/es/components/eftposPay/windcave/timer.d.ts +29 -0
  75. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +3 -0
  76. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +4 -0
  77. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.d.ts +63 -0
  78. package/es/components/eventBooking/components/bookingAvailabilityCalendar/utils.d.ts +34 -0
  79. package/es/components/eventBooking/locales.d.ts +246 -0
  80. package/es/components/eventBooking/type.d.ts +17 -0
  81. package/es/components/eventBooking/utils.d.ts +45 -0
  82. package/es/components/login/locales.d.ts +24 -0
  83. package/es/components/pay/toC/PaymentList/mock.d.ts +88 -0
  84. package/es/components/pay/toC/PaymentList/status.d.ts +4 -0
  85. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/serve.d.ts +9 -0
  86. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/DynamicSDK.d.ts +2 -0
  87. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +7 -0
  88. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +7 -0
  89. package/es/components/pay/toC/PaymentMethods/hooks/index.d.ts +19 -0
  90. package/es/components/pinModal/locales.d.ts +27 -0
  91. package/es/components/pinModal/types.d.ts +0 -0
  92. package/es/components/pinVerifyModal/locales.d.ts +24 -0
  93. package/es/components/pinVerifyModal/types.d.ts +33 -0
  94. package/es/components/pisellSelectCustomerModal/RightPanel/mock.d.ts +47 -0
  95. package/es/components/pisellSelectCustomerModal/locales.d.ts +81 -0
  96. package/es/components/productExtension/card/index.d.ts +10 -0
  97. package/es/components/productExtension/fields/Actor/Container/index.d.ts +12 -0
  98. package/es/components/productExtension/fields/Actor/CutOffTime/status.d.ts +0 -0
  99. package/es/components/productExtension/fields/Forms/index.d.ts +10 -0
  100. package/es/components/productExtension/fields/SelectProducts/mock.d.ts +0 -0
  101. package/es/components/productExtension/fields/SelectResourcesTable/mock.d.ts +2681 -0
  102. package/es/components/productExtension/locales.d.ts +48 -0
  103. package/es/components/productSelect/components/TabProduct/tabs/index.d.ts +21 -0
  104. package/es/components/productSelect/hooks/useToken.d.ts +18 -0
  105. package/es/components/productSelect/locales.d.ts +18 -0
  106. package/es/components/productSelect/mock.d.ts +134 -0
  107. package/es/components/productSelect/theme/token.d.ts +17 -0
  108. package/es/components/schedules/components/Card/index.d.ts +6 -0
  109. package/es/components/schedules/components/CurrentDay/utils.d.ts +1 -0
  110. package/es/components/schedules/components/DropdownSort/index.d.ts +3 -0
  111. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +11 -0
  112. package/es/components/schedules/constants.d.ts +1 -0
  113. package/es/components/schedules/locales.d.ts +87 -0
  114. package/es/components/schedules/resources/add/index.d.ts +3 -0
  115. package/es/components/schedules/resources/relationProduct/index.d.ts +6 -0
  116. package/es/components/schedules/type.d.ts +157 -0
  117. package/es/components/shoppingCart/mock.d.ts +40 -0
  118. package/es/components/shoppingCart/utils.d.ts +63 -0
  119. package/es/components/stepController/components/Content/index.d.ts +7 -0
  120. package/es/components/stepController/components/Footer/index.d.ts +8 -0
  121. package/es/components/stepController/locales.d.ts +27 -0
  122. package/es/components/stepController/types.d.ts +23 -0
  123. package/es/components/systemSettings/registry/components/SectionList.js +5 -1
  124. package/es/components/tabProduct/card/index.d.ts +7 -0
  125. package/es/components/tabProduct/index.d.ts +16 -0
  126. package/es/components/tabProduct/tabs/index.d.ts +21 -0
  127. package/es/components/taxSelect/locales.d.ts +24 -0
  128. package/es/components/ticketBooking/data.d.ts +58 -0
  129. package/es/components/ticketBooking/hooks/useNetworkStatus.d.ts +11 -0
  130. package/es/components/ticketBooking/miniRedux.d.ts +22 -0
  131. package/es/components/walletList/model.d.ts +6 -0
  132. package/es/components/workSpaceList/components/AppearanceEdit/Color.d.ts +9 -0
  133. package/es/components/workSpaceList/components/AppearanceShow/index.d.ts +11 -0
  134. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
  135. package/es/components/workSpaceList/data.d.ts +42 -0
  136. package/es/hooks/useComponents.d.ts +5 -0
  137. package/es/hooks/useLocale.d.ts +2 -0
  138. package/es/hooks/useLoginUser.d.ts +2 -0
  139. package/es/hooks/usePrefix.d.ts +1 -0
  140. package/es/index.d.ts +1 -0
  141. package/es/index.js +1 -0
  142. package/es/plus/productSelect/CategoryTabs/CategorySkeleton.d.ts +10 -0
  143. package/es/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
  144. package/es/plus/productSelect/ProductList/index.d.ts +22 -0
  145. package/es/plus/productSelect/components/IntersectionObserver.d.ts +42 -0
  146. package/es/plus/productSelect/components/TabsStructure/hooks.d.ts +22 -0
  147. package/es/plus/productSelect/components/TabsStructure/index.d.ts +5 -0
  148. package/es/plus/productSelect/components/TabsStructure/styles.d.ts +47 -0
  149. package/es/plus/productSelect/components/TabsStructure/types.d.ts +105 -0
  150. package/es/plus/productSelect/components/TabsStructure/utils.d.ts +12 -0
  151. package/es/plus/productSelect/hooks/useToken.d.ts +18 -0
  152. package/es/plus/productSelect/locales.d.ts +18 -0
  153. package/es/plus/productSelect/theme/token.d.ts +17 -0
  154. package/es/plus/saasCreateOrganization/locales.d.ts +15 -0
  155. package/es/plus/saasCreateOrganization/types.d.ts +69 -0
  156. package/es/plus/saasLogin/locales.d.ts +51 -0
  157. package/es/plus/saasLogin/types.d.ts +62 -0
  158. package/es/plus/saasLogin/utils.d.ts +35 -0
  159. package/es/plus/saasRegister/locales.d.ts +117 -0
  160. package/es/plus/saasRegister/types.d.ts +114 -0
  161. package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +1 -0
  162. package/es/plus/skuOptionsSelection/utils/index.d.ts +7 -0
  163. package/es/plus/skuOptionsSelection/utils/transformBundleGroup.js +3 -1
  164. package/es/pro/Login2.0/components/LoginCodeInput.js +36 -3
  165. package/es/utils/date.d.ts +11 -0
  166. package/es/utils/load.d.ts +11 -0
  167. package/es/utils/locales.d.ts +1 -0
  168. package/es/utils/tasks/type.d.ts +4 -0
  169. package/lib/businessModel/SalesModel/Sales/index.d.ts +24 -0
  170. package/lib/businessModel/SalesModel/hooks/index.d.ts +1 -0
  171. package/lib/businessModel/index.d.ts +0 -0
  172. package/lib/components/Sales/Cart/types.d.ts +31 -0
  173. package/lib/components/Sales/Cart/utils.d.ts +63 -0
  174. package/lib/components/Sales/Checkout/utils.d.ts +41 -0
  175. package/lib/components/Sales/Customer/index.d.ts +25 -0
  176. package/lib/components/Sales/hooks/index.d.ts +1 -0
  177. package/lib/components/Sales/utils/index.d.ts +1 -0
  178. package/lib/components/appointmentBooking/components/ConfirmInformation/utils.d.ts +12 -0
  179. package/lib/components/appointmentBooking/components/Date/state.d.ts +63 -0
  180. package/lib/components/appointmentBooking/components/Form/utils.d.ts +8 -0
  181. package/lib/components/appointmentBooking/components/Resource/utils.d.ts +5 -0
  182. package/lib/components/appointmentBooking/type.d.ts +17 -0
  183. package/lib/components/booking/components/TabProduct/tabs/index.d.ts +21 -0
  184. package/lib/components/booking/components/drawer/index.d.ts +19 -0
  185. package/lib/components/booking/components/footer/serve.d.ts +3 -0
  186. package/lib/components/booking/components/footer/utils.d.ts +1 -0
  187. package/lib/components/booking/components/footer/utils.js +20 -3
  188. package/lib/components/booking/components/menuButton/index.d.ts +10 -0
  189. package/lib/components/booking/components/voucher/index.js +1 -0
  190. package/lib/components/booking/components/voucher/utils.d.ts +4 -0
  191. package/lib/components/booking/deposit/serve.d.ts +8 -0
  192. package/lib/components/booking/editBookingModal/locales.d.ts +21 -0
  193. package/lib/components/booking/editBookingModal/mock.d.ts +807 -0
  194. package/lib/components/booking/editBookingModal/type.d.ts +12 -0
  195. package/lib/components/booking/forms/format.d.ts +11 -0
  196. package/lib/components/booking/info/Provider.d.ts +0 -0
  197. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +2 -0
  198. package/lib/components/booking/info/hooks/useGetHolderList.d.ts +2 -0
  199. package/lib/components/booking/info/service/serviceItem/Sales/index.d.ts +0 -0
  200. package/lib/components/booking/info/service/serviceManager/distributeDiscount.d.ts +11 -0
  201. package/lib/components/booking/info/service/serviceManager/utils.d.ts +0 -0
  202. package/lib/components/booking/info2/service/addService/mock.d.ts +214 -0
  203. package/lib/components/booking/info2/service/addTimeModal/serve.d.ts +9 -0
  204. package/lib/components/booking/info2/service/editService/Capacity/index.d.ts +4 -0
  205. package/lib/components/booking/info2/service/editService/Resources/MaxLengthSelect/index.d.ts +7 -0
  206. package/lib/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.d.ts +7 -0
  207. package/lib/components/booking/materiels/startTime/index.d.ts +10 -0
  208. package/lib/components/eftpos/const.d.ts +64 -0
  209. package/lib/components/eftpos/deviceList/index.d.ts +2 -0
  210. package/lib/components/eftpos/form/index.d.ts +20 -0
  211. package/lib/components/eftpos/group/index.d.ts +5 -0
  212. package/lib/components/eftpos/hooks.d.ts +33 -0
  213. package/lib/components/eftpos/icon/apiKey.d.ts +4 -0
  214. package/lib/components/eftpos/icon/device.d.ts +4 -0
  215. package/lib/components/eftpos/locales.d.ts +99 -0
  216. package/lib/components/eftpos/log.d.ts +8 -0
  217. package/lib/components/eftpos/receipt/index.d.ts +23 -0
  218. package/lib/components/eftpos/surcharge/index.d.ts +30 -0
  219. package/lib/components/eftposPay/amount.d.ts +1 -1
  220. package/lib/components/eftposPay/component/alert/index.d.ts +6 -0
  221. package/lib/components/eftposPay/component/alert/warn.d.ts +2 -0
  222. package/lib/components/eftposPay/component/header/index.d.ts +10 -0
  223. package/lib/components/eftposPay/component/header/titlebar.d.ts +12 -0
  224. package/lib/components/eftposPay/component/step/index.d.ts +11 -0
  225. package/lib/components/eftposPay/component/step/step.d.ts +8 -0
  226. package/lib/components/eftposPay/device.d.ts +1 -1
  227. package/lib/components/eftposPay/helper.d.ts +83 -0
  228. package/lib/components/eftposPay/hooks.d.ts +1 -1
  229. package/lib/components/eftposPay/store/index.d.ts +355 -0
  230. package/lib/components/eftposPay/store/useThunkReducer.d.ts +9 -0
  231. package/lib/components/eftposPay/tyro/hooks.d.ts +13 -0
  232. package/lib/components/eftposPay/windcave/timer.d.ts +29 -0
  233. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +3 -0
  234. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +4 -0
  235. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.d.ts +63 -0
  236. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/utils.d.ts +34 -0
  237. package/lib/components/eventBooking/locales.d.ts +246 -0
  238. package/lib/components/eventBooking/type.d.ts +17 -0
  239. package/lib/components/eventBooking/utils.d.ts +45 -0
  240. package/lib/components/login/locales.d.ts +24 -0
  241. package/lib/components/pay/toC/PaymentList/mock.d.ts +88 -0
  242. package/lib/components/pay/toC/PaymentList/status.d.ts +4 -0
  243. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/serve.d.ts +9 -0
  244. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/DynamicSDK.d.ts +2 -0
  245. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +7 -0
  246. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +7 -0
  247. package/lib/components/pay/toC/PaymentMethods/hooks/index.d.ts +19 -0
  248. package/lib/components/pinModal/locales.d.ts +27 -0
  249. package/lib/components/pinModal/types.d.ts +0 -0
  250. package/lib/components/pinVerifyModal/locales.d.ts +24 -0
  251. package/lib/components/pinVerifyModal/types.d.ts +33 -0
  252. package/lib/components/pisellSelectCustomerModal/RightPanel/mock.d.ts +47 -0
  253. package/lib/components/pisellSelectCustomerModal/locales.d.ts +81 -0
  254. package/lib/components/productExtension/card/index.d.ts +10 -0
  255. package/lib/components/productExtension/fields/Actor/Container/index.d.ts +12 -0
  256. package/lib/components/productExtension/fields/Actor/CutOffTime/status.d.ts +0 -0
  257. package/lib/components/productExtension/fields/Forms/index.d.ts +10 -0
  258. package/lib/components/productExtension/fields/SelectProducts/mock.d.ts +0 -0
  259. package/lib/components/productExtension/fields/SelectResourcesTable/mock.d.ts +2681 -0
  260. package/lib/components/productExtension/locales.d.ts +48 -0
  261. package/lib/components/productSelect/components/TabProduct/tabs/index.d.ts +21 -0
  262. package/lib/components/productSelect/hooks/useToken.d.ts +18 -0
  263. package/lib/components/productSelect/locales.d.ts +18 -0
  264. package/lib/components/productSelect/mock.d.ts +134 -0
  265. package/lib/components/productSelect/theme/token.d.ts +17 -0
  266. package/lib/components/schedules/components/Card/index.d.ts +6 -0
  267. package/lib/components/schedules/components/CurrentDay/utils.d.ts +1 -0
  268. package/lib/components/schedules/components/DropdownSort/index.d.ts +3 -0
  269. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +11 -0
  270. package/lib/components/schedules/constants.d.ts +1 -0
  271. package/lib/components/schedules/locales.d.ts +87 -0
  272. package/lib/components/schedules/resources/add/index.d.ts +3 -0
  273. package/lib/components/schedules/resources/relationProduct/index.d.ts +6 -0
  274. package/lib/components/schedules/type.d.ts +157 -0
  275. package/lib/components/shoppingCart/mock.d.ts +40 -0
  276. package/lib/components/shoppingCart/utils.d.ts +63 -0
  277. package/lib/components/stepController/components/Content/index.d.ts +7 -0
  278. package/lib/components/stepController/components/Footer/index.d.ts +8 -0
  279. package/lib/components/stepController/locales.d.ts +27 -0
  280. package/lib/components/stepController/types.d.ts +23 -0
  281. package/lib/components/systemSettings/registry/components/SectionList.js +4 -1
  282. package/lib/components/tabProduct/card/index.d.ts +7 -0
  283. package/lib/components/tabProduct/index.d.ts +16 -0
  284. package/lib/components/tabProduct/tabs/index.d.ts +21 -0
  285. package/lib/components/taxSelect/locales.d.ts +24 -0
  286. package/lib/components/ticketBooking/data.d.ts +58 -0
  287. package/lib/components/ticketBooking/hooks/useNetworkStatus.d.ts +11 -0
  288. package/lib/components/ticketBooking/miniRedux.d.ts +22 -0
  289. package/lib/components/walletList/model.d.ts +6 -0
  290. package/lib/components/workSpaceList/components/AppearanceEdit/Color.d.ts +9 -0
  291. package/lib/components/workSpaceList/components/AppearanceShow/index.d.ts +11 -0
  292. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
  293. package/lib/components/workSpaceList/data.d.ts +42 -0
  294. package/lib/hooks/useComponents.d.ts +5 -0
  295. package/lib/hooks/useLocale.d.ts +2 -0
  296. package/lib/hooks/useLoginUser.d.ts +2 -0
  297. package/lib/hooks/usePrefix.d.ts +1 -0
  298. package/lib/index.d.ts +1 -0
  299. package/lib/index.js +3 -0
  300. package/lib/plus/productSelect/CategoryTabs/CategorySkeleton.d.ts +10 -0
  301. package/lib/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
  302. package/lib/plus/productSelect/ProductList/index.d.ts +22 -0
  303. package/lib/plus/productSelect/components/IntersectionObserver.d.ts +42 -0
  304. package/lib/plus/productSelect/components/TabsStructure/hooks.d.ts +22 -0
  305. package/lib/plus/productSelect/components/TabsStructure/index.d.ts +5 -0
  306. package/lib/plus/productSelect/components/TabsStructure/styles.d.ts +47 -0
  307. package/lib/plus/productSelect/components/TabsStructure/types.d.ts +105 -0
  308. package/lib/plus/productSelect/components/TabsStructure/utils.d.ts +12 -0
  309. package/lib/plus/productSelect/hooks/useToken.d.ts +18 -0
  310. package/lib/plus/productSelect/locales.d.ts +18 -0
  311. package/lib/plus/productSelect/theme/token.d.ts +17 -0
  312. package/lib/plus/saasCreateOrganization/locales.d.ts +15 -0
  313. package/lib/plus/saasCreateOrganization/types.d.ts +69 -0
  314. package/lib/plus/saasLogin/locales.d.ts +51 -0
  315. package/lib/plus/saasLogin/types.d.ts +62 -0
  316. package/lib/plus/saasLogin/utils.d.ts +35 -0
  317. package/lib/plus/saasRegister/locales.d.ts +117 -0
  318. package/lib/plus/saasRegister/types.d.ts +114 -0
  319. package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +1 -0
  320. package/lib/plus/skuOptionsSelection/utils/index.d.ts +7 -0
  321. package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.js +1 -1
  322. package/lib/pro/Login2.0/components/LoginCodeInput.js +26 -4
  323. package/lib/utils/date.d.ts +11 -0
  324. package/lib/utils/load.d.ts +11 -0
  325. package/lib/utils/locales.d.ts +1 -0
  326. package/lib/utils/tasks/type.d.ts +4 -0
  327. package/package.json +4 -4
  328. package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +0 -8
  329. package/es/components/workSpaceList/components/Card/constants.d.ts +0 -2
  330. package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +0 -4
  331. package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
  332. package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +0 -8
  333. package/lib/components/workSpaceList/components/Card/constants.d.ts +0 -2
  334. package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +0 -4
  335. package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
@@ -0,0 +1,105 @@
1
+ import React from 'react';
2
+ export declare type ScrollLocation = 'start' | 'end';
3
+ export interface TabContextValue {
4
+ selectedTab?: string;
5
+ onTabChange?: (tabId: string) => void;
6
+ registerTab?: (tabId: string, element: HTMLElement) => void;
7
+ unregisterTab?: (tabId: string) => void;
8
+ railRef?: React.RefObject<HTMLDivElement>;
9
+ }
10
+ export interface TabsStructureProps {
11
+ children?: React.ReactNode;
12
+ className?: string;
13
+ /** 当前选中的tab */
14
+ selectedTab?: string;
15
+ /** tab变更回调 */
16
+ onTabChange?: (tabId: string) => void;
17
+ /** 是否启用自动滚动到选中tab */
18
+ autoScrollToSelected?: boolean;
19
+ /** Rail组件的ref,用于手动控制滚动等操作 */
20
+ railRef?: React.RefObject<HTMLDivElement>;
21
+ [key: string]: any;
22
+ }
23
+ export interface TabListContainerProps {
24
+ children?: React.ReactNode;
25
+ className?: string;
26
+ [key: string]: any;
27
+ }
28
+ export interface TabItemProps {
29
+ children?: React.ReactNode;
30
+ isSelected?: boolean;
31
+ isDisabled?: boolean;
32
+ className?: string;
33
+ onClick?: (key?: string) => void;
34
+ /** Tab的唯一标识符 */
35
+ tabId?: string;
36
+ /** 是否自动注册到上下文 */
37
+ autoRegister?: boolean;
38
+ [key: string]: any;
39
+ }
40
+ export interface RailProps {
41
+ children?: React.ReactNode;
42
+ className?: string;
43
+ [key: string]: any;
44
+ }
45
+ export interface SelectionIndicatorProps {
46
+ focusRingClasses?: string;
47
+ isFocusVisible?: boolean;
48
+ style?: React.CSSProperties;
49
+ className?: string;
50
+ [key: string]: any;
51
+ }
52
+ export interface ScrollShadowProps {
53
+ location: ScrollLocation;
54
+ visible: boolean;
55
+ className?: string;
56
+ [key: string]: any;
57
+ }
58
+ export interface ChevronButtonProps {
59
+ direction: 'prev' | 'next';
60
+ disabled?: boolean;
61
+ onClick?: () => void;
62
+ className?: string;
63
+ 'aria-label'?: string;
64
+ [key: string]: any;
65
+ }
66
+ export interface ChevronControlsProps {
67
+ isPrevDisabled?: boolean;
68
+ isNextDisabled?: boolean;
69
+ onPrevClick?: () => void;
70
+ onNextClick?: () => void;
71
+ className?: string;
72
+ prevAction?: () => void;
73
+ nextAction?: () => void;
74
+ [key: string]: any;
75
+ }
76
+ export interface TabWrapperClasses {
77
+ wrapper: string;
78
+ }
79
+ export interface TabListClasses {
80
+ list: string;
81
+ }
82
+ export interface TabItemClasses {
83
+ item: string;
84
+ selected: string;
85
+ disabled: string;
86
+ }
87
+ export interface RailClasses {
88
+ rail: string;
89
+ }
90
+ export interface SelectionClasses {
91
+ selection: string;
92
+ position: string;
93
+ focused: string;
94
+ }
95
+ export interface ShadowClasses {
96
+ shadow: string;
97
+ isVisible: string;
98
+ locationStart: string;
99
+ locationEnd: string;
100
+ }
101
+ export interface ChevronClasses {
102
+ controls: string;
103
+ button: string;
104
+ disabled: string;
105
+ }
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ export declare function debounce<T extends (...args: any[]) => any>(func: T, wait: number): (...args: Parameters<T>) => void;
3
+ export declare function mergeRefs<T>(...refs: (React.Ref<T> | undefined)[]): React.RefCallback<T>;
4
+ /**
5
+ * 安全的滚动函数,包含错误处理和边界检查
6
+ * @param element - 要滚动的元素
7
+ * @param options - 滚动选项
8
+ */
9
+ export declare function safeScrollTo(element: HTMLElement | null, options: {
10
+ left?: number;
11
+ behavior?: ScrollBehavior;
12
+ }): boolean;
@@ -0,0 +1,18 @@
1
+ import { ProductSelectToken } from '../theme/token';
2
+ export declare function useToken(customToken?: Partial<ProductSelectToken>): {
3
+ colorPrimary: string;
4
+ colorText: string;
5
+ colorTextSecondary: string;
6
+ searchInputColor: string;
7
+ containerBg: string;
8
+ tabItemBg: string;
9
+ tabItemHoverBg: string;
10
+ tabItemActiveBg: string;
11
+ categoryTextColor: string;
12
+ cardBg: string;
13
+ cardHoverBg: string;
14
+ cardSelectedBg: string;
15
+ cardSelectedTextColor: string;
16
+ cardSelectedSecondaryTextColor: string;
17
+ };
18
+ export declare function genCSSVars(token: ProductSelectToken): Record<string, string>;
@@ -0,0 +1,18 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.product-select.search': string;
4
+ 'pisell2.product-select.stock': string;
5
+ 'pisell2.product-select.empty': string;
6
+ };
7
+ 'zh-CN': {
8
+ 'pisell2.product-select.search': string;
9
+ 'pisell2.product-select.stock': string;
10
+ 'pisell2.product-select.empty': string;
11
+ };
12
+ 'zh-HK': {
13
+ 'pisell2.product-select.search': string;
14
+ 'pisell2.product-select.stock': string;
15
+ 'pisell2.product-select.empty': string;
16
+ };
17
+ };
18
+ export default _default;
@@ -0,0 +1,17 @@
1
+ export interface ProductSelectToken {
2
+ colorPrimary: string;
3
+ colorText: string;
4
+ colorTextSecondary: string;
5
+ searchInputColor: string;
6
+ containerBg: string;
7
+ tabItemBg: string;
8
+ tabItemHoverBg: string;
9
+ tabItemActiveBg: string;
10
+ categoryTextColor: string;
11
+ cardBg: string;
12
+ cardHoverBg: string;
13
+ cardSelectedBg: string;
14
+ cardSelectedTextColor: string;
15
+ cardSelectedSecondaryTextColor: string;
16
+ }
17
+ export declare const defaultToken: ProductSelectToken;
@@ -0,0 +1,15 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell-saas-create-org-welcome-message': string;
4
+ 'pisell-saas-create-org-title': string;
5
+ };
6
+ 'zh-CN': {
7
+ 'pisell-saas-create-org-welcome-message': string;
8
+ 'pisell-saas-create-org-title': string;
9
+ };
10
+ 'zh-TW': {
11
+ 'pisell-saas-create-org-welcome-message': string;
12
+ 'pisell-saas-create-org-title': string;
13
+ };
14
+ };
15
+ export default _default;
@@ -0,0 +1,69 @@
1
+ /// <reference types="react" />
2
+ export interface SCOProps {
3
+ /** 是否显示Logo */
4
+ showLogo?: boolean;
5
+ /** Logo图片地址 */
6
+ logo?: string;
7
+ /** Logo位置 */
8
+ logoPosition?: 'left' | 'center' | 'right';
9
+ /** Logo尺寸 */
10
+ logoSize?: {
11
+ width?: number;
12
+ height?: number;
13
+ };
14
+ /** 是否显示欢迎语 */
15
+ showWelcomeMessage?: boolean;
16
+ /** 欢迎语 */
17
+ welcomeMessage?: string;
18
+ /** 欢迎语对齐方式 */
19
+ welcomeMessageAlign?: 'left' | 'center' | 'right';
20
+ /** 是否显示标题 */
21
+ showTitle?: boolean;
22
+ /** 标题 */
23
+ title?: string;
24
+ /** 标题对齐方式 */
25
+ titleAlign?: 'left' | 'center' | 'right';
26
+ /** 副标题 */
27
+ subtitle?: string;
28
+ /** 是否显示副标题 */
29
+ showSubtitle?: boolean;
30
+ /** 副标题对齐方式 */
31
+ subtitleAlign?: 'left' | 'center' | 'right';
32
+ /** 是否显示公司名称输入框 */
33
+ showCompanyName?: boolean;
34
+ /** 公司名称输入框标题 */
35
+ companyNameLabel?: string;
36
+ /** 公司名称输入框占位符 */
37
+ companyNamePlaceholder?: string;
38
+ /** 公司名称输入框必填 */
39
+ companyNameRequired?: boolean;
40
+ /** 是否显示域名输入框 */
41
+ showDomain?: boolean;
42
+ /** 域名输入框标题 */
43
+ domainLabel?: string;
44
+ /** 域名输入框占位符 */
45
+ domainPlaceholder?: string;
46
+ /** 域名输入框必填 */
47
+ domainRequired?: boolean;
48
+ /** 是否显示分割线 */
49
+ showDivider?: boolean;
50
+ /** 分割线文案 */
51
+ dividerText?: string;
52
+ /** 是否显示时区选择 */
53
+ showTimezoneSelect?: boolean;
54
+ /** 时区选择标题 */
55
+ timezoneSelectLabel?: string;
56
+ /** 时区选择必填 */
57
+ timezoneSelectRequired?: boolean;
58
+ /** 是否显示语言选择 */
59
+ showLanguageSelect?: boolean;
60
+ /** 语言选择标题 */
61
+ languageSelectLabel?: string;
62
+ /** 语言选择必填 */
63
+ languageSelectRequired?: boolean;
64
+ /** 按钮文本 */
65
+ buttonText?: string;
66
+ /** 创建企业回调 */
67
+ onCreateOrganization?: (info: any) => Promise<void>;
68
+ children?: React.ReactNode;
69
+ }
@@ -0,0 +1,51 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell-saas-login-welcome-message': string;
4
+ 'pisell-saas-login-title': string;
5
+ 'pisell-saas-login-subtitle': string;
6
+ 'pisell-saas-login-email-label': string;
7
+ 'pisell-saas-login-email-placeholder': string;
8
+ 'pisell-saas-login-password-label': string;
9
+ 'pisell-saas-login-password-placeholder': string;
10
+ 'pisell-saas-login-email-error': string;
11
+ 'pisell-saas-login-email-error-valid': string;
12
+ 'pisell-saas-login-password-required': string;
13
+ 'pisell-saas-login-password-error': string;
14
+ 'pisell-saas-login-button': string;
15
+ 'pisell-saas-login-register-text': string;
16
+ 'pisell-saas-login-register-link': string;
17
+ };
18
+ 'zh-CN': {
19
+ 'pisell-saas-login-welcome-message': string;
20
+ 'pisell-saas-login-title': string;
21
+ 'pisell-saas-login-subtitle': string;
22
+ 'pisell-saas-login-email-label': string;
23
+ 'pisell-saas-login-email-placeholder': string;
24
+ 'pisell-saas-login-password-label': string;
25
+ 'pisell-saas-login-password-placeholder': string;
26
+ 'pisell-saas-login-email-error': string;
27
+ 'pisell-saas-login-email-error-valid': string;
28
+ 'pisell-saas-login-password-required': string;
29
+ 'pisell-saas-login-password-error': string;
30
+ 'pisell-saas-login-button': string;
31
+ 'pisell-saas-login-register-text': string;
32
+ 'pisell-saas-login-register-link': string;
33
+ };
34
+ 'zh-HK': {
35
+ 'pisell-saas-login-welcome-message': string;
36
+ 'pisell-saas-login-title': string;
37
+ 'pisell-saas-login-subtitle': string;
38
+ 'pisell-saas-login-email-label': string;
39
+ 'pisell-saas-login-email-placeholder': string;
40
+ 'pisell-saas-login-password-label': string;
41
+ 'pisell-saas-login-password-placeholder': string;
42
+ 'pisell-saas-login-email-error': string;
43
+ 'pisell-saas-login-email-error-valid': string;
44
+ 'pisell-saas-login-password-required': string;
45
+ 'pisell-saas-login-password-error': string;
46
+ 'pisell-saas-login-button': string;
47
+ 'pisell-saas-login-register-text': string;
48
+ 'pisell-saas-login-register-link': string;
49
+ };
50
+ };
51
+ export default _default;
@@ -0,0 +1,62 @@
1
+ export interface SaasLoginProps {
2
+ /** 是否显示Logo */
3
+ showLogo?: boolean;
4
+ /** Logo图片地址 */
5
+ logo?: string;
6
+ /** Logo位置 */
7
+ logoPosition?: 'left' | 'center' | 'right';
8
+ /** Logo尺寸 */
9
+ logoSize?: {
10
+ width?: number;
11
+ height?: number;
12
+ };
13
+ /** 是否显示欢迎语 */
14
+ showWelcomeMessage?: boolean;
15
+ /** 欢迎语 */
16
+ welcomeMessage?: string;
17
+ /** 欢迎语对齐方式 */
18
+ welcomeMessageAlign?: 'left' | 'center' | 'right';
19
+ /** 是否显示标题 */
20
+ showTitle?: boolean;
21
+ /** 标题 */
22
+ title?: string;
23
+ /** 标题对齐方式 */
24
+ titleAlign?: 'left' | 'center' | 'right';
25
+ /** 副标题 */
26
+ subtitle?: string;
27
+ /** 是否显示副标题 */
28
+ showSubtitle?: boolean;
29
+ /** 副标题对齐方式 */
30
+ subtitleAlign?: 'left' | 'center' | 'right';
31
+ /** 邮箱输入框标题 */
32
+ emailLabel?: string;
33
+ /** 邮箱输入框占位符 */
34
+ emailPlaceholder?: string;
35
+ /** 密码输入框标题 */
36
+ passwordLabel?: string;
37
+ /** 密码输入框占位符 */
38
+ passwordPlaceholder?: string;
39
+ /** 登录按钮文本 */
40
+ buttonText?: string;
41
+ /** 是否显示注册入口 */
42
+ showRegister?: boolean;
43
+ /** 是否显示注册标题 */
44
+ showRegisterText?: boolean;
45
+ /** 注册提示文本 */
46
+ registerText?: string;
47
+ /** 是否显示注册链接文本 */
48
+ showRegisterLinkText?: boolean;
49
+ /** 注册链接文本 */
50
+ registerLinkText?: string;
51
+ /** 注册对齐方式 */
52
+ registerAlign?: 'left' | 'center' | 'right';
53
+ /** 事件回调 */
54
+ onLogin?: (values: {
55
+ email: string;
56
+ loginMethod: string;
57
+ }) => void;
58
+ /** 去注册入口点击回调 */
59
+ onGoRegister?: () => void;
60
+ }
61
+ export interface SaasLoginData extends Required<Omit<SaasLoginProps, 'onLogin' | 'onRegister'>> {
62
+ }
@@ -0,0 +1,35 @@
1
+ import { SaasLoginProps } from './types';
2
+ export declare const mergeData: (locales: any, props: SaasLoginProps) => {
3
+ logo: string;
4
+ logoSize: {
5
+ width?: number | undefined;
6
+ height?: number | undefined;
7
+ };
8
+ logoPosition: "center" | "left" | "right";
9
+ welcomeMessage: any;
10
+ welcomeMessageAlign: "center" | "left" | "right";
11
+ title: any;
12
+ titleAlign: "center" | "left" | "right";
13
+ subtitle: any;
14
+ subtitleAlign: "center" | "left" | "right";
15
+ emailLabel: any;
16
+ emailPlaceholder: any;
17
+ passwordLabel: any;
18
+ passwordPlaceholder: any;
19
+ buttonText: any;
20
+ registerText: any;
21
+ registerLinkText: any;
22
+ registerAlign: "center" | "left" | "right";
23
+ showLogo?: boolean | undefined;
24
+ showWelcomeMessage?: boolean | undefined;
25
+ showTitle?: boolean | undefined;
26
+ showSubtitle?: boolean | undefined;
27
+ showRegister?: boolean | undefined;
28
+ showRegisterText?: boolean | undefined;
29
+ showRegisterLinkText?: boolean | undefined;
30
+ onLogin?: ((values: {
31
+ email: string;
32
+ loginMethod: string;
33
+ }) => void) | undefined;
34
+ onGoRegister?: (() => void) | undefined;
35
+ };
@@ -0,0 +1,117 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell-saas-register-welcome-message': string;
4
+ 'pisell-saas-register-title': string;
5
+ 'pisell-saas-register-subtitle': string;
6
+ 'pisell-saas-register-email-label': string;
7
+ 'pisell-saas-register-email-placeholder': string;
8
+ 'pisell-saas-register-email-error': string;
9
+ 'pisell-saas-register-email-error-valid': string;
10
+ 'pisell-saas-register-button': string;
11
+ 'pisell-saas-register-login-text': string;
12
+ 'pisell-saas-register-login-link-text': string;
13
+ 'pisell-saas-register-failed-button-text': string;
14
+ 'pisell-saas-register-failed-email-registered-title': string;
15
+ 'pisell-saas-register-verify-email-title': string;
16
+ 'pisell-saas-register-verify-email-subtitle': string;
17
+ 'pisell-saas-register-resend-text': string;
18
+ 'pisell-saas-register-resend-button-text': string;
19
+ 'pisell-saas-register-verifying-email-title': string;
20
+ 'pisell-saas-register-failed-link-expired-title': string;
21
+ 'pisell-saas-register-failed-link-expired-subtitle': string;
22
+ 'pisell-saas-register-failed-link-invalid-title': string;
23
+ 'pisell-saas-register-failed-link-invalid-subtitle': string;
24
+ 'pisell-saas-register-failed-link-email-registered-title': string;
25
+ 'pisell-saas-register-failed-link-email-registered-subtitle': string;
26
+ 'pisell-saas-register-failed-link-email-registered-button-text': string;
27
+ 'pisell-saas-register-password-label': string;
28
+ 'pisell-saas-register-password-placeholder': string;
29
+ 'pisell-saas-register-password-required': string;
30
+ 'pisell-saas-register-divider-text': string;
31
+ 'pisell-saas-register-first-name-label': string;
32
+ 'pisell-saas-register-first-name-placeholder': string;
33
+ 'pisell-saas-register-last-name-label': string;
34
+ 'pisell-saas-register-last-name-placeholder': string;
35
+ 'pisell-saas-register-entry-info-title': string;
36
+ 'pisell-saas-register-entry-info-subtitle': string;
37
+ 'pisell-saas-register-entry-info-document-title': string;
38
+ 'pisell-saas-register-entry-info-document-description': string;
39
+ };
40
+ 'zh-CN': {
41
+ 'pisell-saas-register-welcome-message': string;
42
+ 'pisell-saas-register-title': string;
43
+ 'pisell-saas-register-subtitle': string;
44
+ 'pisell-saas-register-email-label': string;
45
+ 'pisell-saas-register-email-placeholder': string;
46
+ 'pisell-saas-register-email-error': string;
47
+ 'pisell-saas-register-email-error-valid': string;
48
+ 'pisell-saas-register-button': string;
49
+ 'pisell-saas-register-login-text': string;
50
+ 'pisell-saas-register-login-link-text': string;
51
+ 'pisell-saas-register-failed-button-text': string;
52
+ 'pisell-saas-register-failed-email-registered-title': string;
53
+ 'pisell-saas-register-verify-email-title': string;
54
+ 'pisell-saas-register-verify-email-subtitle': string;
55
+ 'pisell-saas-register-resend-text': string;
56
+ 'pisell-saas-register-resend-button-text': string;
57
+ 'pisell-saas-register-verifying-email-title': string;
58
+ 'pisell-saas-register-failed-link-expired-title': string;
59
+ 'pisell-saas-register-failed-link-expired-subtitle': string;
60
+ 'pisell-saas-register-failed-link-invalid-title': string;
61
+ 'pisell-saas-register-failed-link-invalid-subtitle': string;
62
+ 'pisell-saas-register-failed-link-email-registered-title': string;
63
+ 'pisell-saas-register-failed-link-email-registered-subtitle': string;
64
+ 'pisell-saas-register-failed-link-email-registered-button-text': string;
65
+ 'pisell-saas-register-password-label': string;
66
+ 'pisell-saas-register-password-placeholder': string;
67
+ 'pisell-saas-register-password-required': string;
68
+ 'pisell-saas-register-divider-text': string;
69
+ 'pisell-saas-register-first-name-label': string;
70
+ 'pisell-saas-register-first-name-placeholder': string;
71
+ 'pisell-saas-register-last-name-label': string;
72
+ 'pisell-saas-register-last-name-placeholder': string;
73
+ 'pisell-saas-register-entry-info-title': string;
74
+ 'pisell-saas-register-entry-info-subtitle': string;
75
+ 'pisell-saas-register-entry-info-document-title': string;
76
+ 'pisell-saas-register-entry-info-document-description': string;
77
+ };
78
+ 'zh-HK': {
79
+ 'pisell-saas-register-welcome-message': string;
80
+ 'pisell-saas-register-title': string;
81
+ 'pisell-saas-register-subtitle': string;
82
+ 'pisell-saas-register-email-label': string;
83
+ 'pisell-saas-register-email-placeholder': string;
84
+ 'pisell-saas-register-email-error': string;
85
+ 'pisell-saas-register-email-error-valid': string;
86
+ 'pisell-saas-register-button': string;
87
+ 'pisell-saas-register-login-text': string;
88
+ 'pisell-saas-register-login-link-text': string;
89
+ 'pisell-saas-register-failed-button-text': string;
90
+ 'pisell-saas-register-failed-email-registered-title': string;
91
+ 'pisell-saas-register-verify-email-title': string;
92
+ 'pisell-saas-register-verify-email-subtitle': string;
93
+ 'pisell-saas-register-resend-text': string;
94
+ 'pisell-saas-register-resend-button-text': string;
95
+ 'pisell-saas-register-verifying-email-title': string;
96
+ 'pisell-saas-register-failed-link-expired-title': string;
97
+ 'pisell-saas-register-failed-link-expired-subtitle': string;
98
+ 'pisell-saas-register-failed-link-invalid-title': string;
99
+ 'pisell-saas-register-failed-link-invalid-subtitle': string;
100
+ 'pisell-saas-register-failed-link-email-registered-title': string;
101
+ 'pisell-saas-register-failed-link-email-registered-subtitle': string;
102
+ 'pisell-saas-register-failed-link-email-registered-button-text': string;
103
+ 'pisell-saas-register-password-label': string;
104
+ 'pisell-saas-register-password-placeholder': string;
105
+ 'pisell-saas-register-password-required': string;
106
+ 'pisell-saas-register-divider-text': string;
107
+ 'pisell-saas-register-first-name-label': string;
108
+ 'pisell-saas-register-first-name-placeholder': string;
109
+ 'pisell-saas-register-last-name-label': string;
110
+ 'pisell-saas-register-last-name-placeholder': string;
111
+ 'pisell-saas-register-entry-info-title': string;
112
+ 'pisell-saas-register-entry-info-subtitle': string;
113
+ 'pisell-saas-register-entry-info-document-title': string;
114
+ 'pisell-saas-register-entry-info-document-description': string;
115
+ };
116
+ };
117
+ export default _default;
@@ -0,0 +1,114 @@
1
+ export declare enum SRStepStatus {
2
+ /** 邮箱已被注册 */
3
+ FAILED_EMAIL_REGISTERED = "failed_email_registered",
4
+ /** 链接过期 */
5
+ FAILED_LINK_EXPIRED = "failed_link_expired",
6
+ /** 链接无效 */
7
+ FAILED_LINK_INVALID = "failed_link_invalid",
8
+ /** 链接中邮箱已被注册 */
9
+ FAILED_LINK_EMAIL_REGISTERED = "failed_link_email_registered"
10
+ }
11
+ export declare enum SRStepKey {
12
+ /** 输入邮箱 */
13
+ ENTRY_EMAIL = "entry_email",
14
+ /** 邮箱等待验证 */
15
+ WAIT_VERIFY_EMAIL = "wait_verify_email",
16
+ /** 邮箱验证中 */
17
+ VERIFYING_EMAIL = "verifying_email",
18
+ /** 录入信息 */
19
+ ENTRY_INFO = "entry_info",
20
+ /** 验证失败 */
21
+ VERIFY_FAILED = "verify_failed"
22
+ }
23
+ export declare enum SRVerifyCode {
24
+ /** 成功 */
25
+ SUCCESS = 200,
26
+ /** 链接已过期 */
27
+ LINK_EXPIRED = 601000,
28
+ /** 邮箱已被注册 */
29
+ EMAIL_REGISTERED = 601001,
30
+ /** 链接无效 */
31
+ LINK_INVALID = 601002
32
+ }
33
+ export interface SRStep {
34
+ key: SRStepKey;
35
+ status?: SRStepStatus;
36
+ params?: {
37
+ [key: string]: any;
38
+ };
39
+ }
40
+ export interface SRProps {
41
+ /** 是否显示Logo */
42
+ showLogo?: boolean;
43
+ /** Logo图片地址 */
44
+ logo?: string;
45
+ /** Logo位置 */
46
+ logoPosition?: 'left' | 'center' | 'right';
47
+ /** Logo尺寸 */
48
+ logoSize?: {
49
+ width?: number;
50
+ height?: number;
51
+ };
52
+ /** 是否显示欢迎语 */
53
+ showWelcomeMessage?: boolean;
54
+ /** 欢迎语 */
55
+ welcomeMessage?: string;
56
+ /** 欢迎语对齐方式 */
57
+ welcomeMessageAlign?: 'left' | 'center' | 'right';
58
+ /** 是否显示标题 */
59
+ showTitle?: boolean;
60
+ /** 标题 */
61
+ title?: string;
62
+ /** 标题对齐方式 */
63
+ titleAlign?: 'left' | 'center' | 'right';
64
+ /** 副标题 */
65
+ subtitle?: string;
66
+ /** 是否显示副标题 */
67
+ showSubtitle?: boolean;
68
+ /** 副标题对齐方式 */
69
+ subtitleAlign?: 'left' | 'center' | 'right';
70
+ /** 邮箱输入框标题 */
71
+ emailLabel?: string;
72
+ /** 邮箱输入框占位符 */
73
+ emailPlaceholder?: string;
74
+ /** 按钮文本 */
75
+ buttonText?: string;
76
+ /** 密码输入框标题 */
77
+ passwordLabel?: string;
78
+ /** 密码输入框占位符 */
79
+ passwordPlaceholder?: string;
80
+ /** 是否显示分割线 */
81
+ showDivider?: boolean;
82
+ /** 分割线文案 */
83
+ dividerText?: string;
84
+ /** 是否显示名字 */
85
+ showFirstName?: boolean;
86
+ /** 是否显示姓氏 */
87
+ showLastName?: boolean;
88
+ /** 是否显示去登录入口 */
89
+ showLogin?: boolean;
90
+ /** 去登录入口对齐方式 */
91
+ loginAlign?: 'left' | 'center' | 'right';
92
+ /** 是否显示去登录入口文本 */
93
+ showLoginText?: boolean;
94
+ /** 去登录入口文本 */
95
+ loginText?: string;
96
+ /** 是否显示去登录入口链接文本 */
97
+ showLoginLinkText?: boolean;
98
+ /** 去登录入口链接文本 */
99
+ loginLinkText?: string;
100
+ /** 邮箱验证回调 */
101
+ onVerifyEmail?: (email: string) => Promise<boolean>;
102
+ /** 重新发送验证码回调 */
103
+ onSendEmail?: (email: string) => Promise<void>;
104
+ /** 去登录入口点击回调 */
105
+ onGoLogin?: () => void;
106
+ /** 验证链接回调 */
107
+ onVerifyLink?: (emailToken: string) => Promise<{
108
+ code: number;
109
+ }>;
110
+ /** 信息录入回调 */
111
+ onEntryInfo?: (info: any) => Promise<void>;
112
+ /** step 变化回调 */
113
+ onStepChange?: (step: SRStep) => void;
114
+ }
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface OptionsModalProps {
2
3
  parentDataSource: any;
3
4
  dataSource: any;
@@ -0,0 +1,7 @@
1
+ export * from './transformBundleGroup';
2
+ export * from './transformOptionGroup';
3
+ export * from './transformVariantGroup';
4
+ export * from './calculateOption';
5
+ export * from './checkSkuStatus';
6
+ export * from './transformValueToSelectorValue';
7
+ export * from './transformSelectorValueToValue';
@@ -45,7 +45,7 @@ var transformBundleGroup = (bundleGroup) => {
45
45
  const { canSell, hasStock } = (0, import_checkSkuStatus.checkSkuStockCanSell)(bundleItem);
46
46
  const disabled = (0, import_checkSkuStatus.checkSkuDisabled)(bundleItem, canSell);
47
47
  return {
48
- _original: { ...bundleItem || {} },
48
+ _original: { ...bundleItem || {}, _bundle_product_id: bundleItem == null ? void 0 : bundleItem.bundle_product_id },
49
49
  // 渲染需要的数据源
50
50
  id: bundleItem == null ? void 0 : bundleItem.id,
51
51
  title: (bundleItem == null ? void 0 : bundleItem.title) || "",