@pisell/private-materials 6.8.31 → 6.8.32

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 (425) 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 +150 -164
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +11 -11
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +11 -11
  11. package/es/businessModel/SalesModel/index.d.ts +0 -1
  12. package/es/components/appointmentBooking/components/Services/index.d.ts +4 -0
  13. package/es/components/appointmentBooking/components/Voucher/index.d.ts +4 -0
  14. package/es/components/authentication/admin/AuthMethods/SettingList.d.ts +5 -0
  15. package/es/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +22 -0
  16. package/es/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
  17. package/es/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +13 -0
  18. package/es/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
  19. package/es/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +14 -0
  20. package/es/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +13 -0
  21. package/es/components/authentication/admin/AuthMethods/components/index.d.ts +10 -0
  22. package/es/components/authentication/admin/AuthMethods/constants.d.ts +22 -0
  23. package/es/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
  24. package/es/components/authentication/admin/AuthMethods/types.d.ts +76 -0
  25. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
  26. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
  27. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
  28. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
  29. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
  30. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
  31. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
  32. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
  33. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
  34. package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
  35. package/es/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
  36. package/es/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
  37. package/es/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
  38. package/es/components/authentication/admin/CustomerOAuthConfig/index.d.ts +6 -0
  39. package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
  40. package/es/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
  41. package/es/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
  42. package/es/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
  43. package/es/components/authentication/admin/OAuthConfig/index.d.ts +6 -0
  44. package/es/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
  45. package/es/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
  46. package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
  47. package/es/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
  48. package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
  49. package/es/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
  50. package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
  51. package/es/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
  52. package/es/components/authentication/index.d.ts +0 -0
  53. package/es/components/booking/addons/model.d.ts +10 -0
  54. package/es/components/booking/components/actionButtons/index.d.ts +31 -0
  55. package/es/components/booking/components/customSelect/index.d.ts +38 -0
  56. package/es/components/booking/components/footer/index.d.ts +0 -1
  57. package/es/components/booking/components/footer/utils.d.ts +67 -0
  58. package/es/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  59. package/es/components/booking/components/voucher/index.d.ts +3 -0
  60. package/es/components/booking/deposit/index.d.ts +0 -1
  61. package/es/components/booking/forms/model.d.ts +10 -1
  62. package/es/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  63. package/es/components/booking/info/addServiceVariant/index.d.ts +6 -0
  64. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +43 -0
  65. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  66. package/es/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +25 -0
  67. package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  68. package/es/components/booking/info/index.d.ts +0 -1
  69. package/es/components/booking/info/model.d.ts +10 -1
  70. package/es/components/booking/info/notes/index.d.ts +0 -1
  71. package/es/components/booking/info/service/Lists.d.ts +2 -0
  72. package/es/components/booking/info/service/addTimeModal/index.d.ts +0 -1
  73. package/es/components/booking/info/service/like/index.d.ts +0 -1
  74. package/es/components/booking/info/service/serve.d.ts +34 -0
  75. package/es/components/booking/info/service/serviceList/index.d.ts +0 -1
  76. package/es/components/booking/info/service2/Lists.d.ts +0 -1
  77. package/es/components/booking/info/service2/utils.d.ts +219 -0
  78. package/es/components/booking/info/utils.d.ts +50 -0
  79. package/es/components/booking/info2/service/addService/utils.d.ts +106 -0
  80. package/es/components/booking/info2/service/contactInfoMode/index.d.ts +0 -1
  81. package/es/components/booking/info2/service/editService/index.d.ts +8 -0
  82. package/es/components/booking/info2/service/editService/utils.d.ts +28 -0
  83. package/es/components/booking/info2/service/serviceList/index.d.ts +0 -1
  84. package/es/components/booking/info2/utilsByBooking.d.ts +36 -0
  85. package/es/components/booking/materiels/duration/index.d.ts +1 -0
  86. package/es/components/booking/materiels/startTime/index.d.ts +1 -0
  87. package/es/components/booking/notes/NoteBlock/index.d.ts +0 -1
  88. package/es/components/booking/notes/addNote/index.d.ts +0 -1
  89. package/es/components/booking/notes/model.d.ts +10 -1
  90. package/es/components/booking/payments/model.d.ts +10 -1
  91. package/es/components/booking/utils.d.ts +182 -0
  92. package/es/components/checkout/PaymentModal.d.ts +39 -0
  93. package/es/components/checkout/components/AdditionalModule/index.d.ts +15 -0
  94. package/es/components/checkout/components/CashPaymentModule/index.d.ts +26 -0
  95. package/es/components/checkout/components/PaymentDetailModal/index.d.ts +38 -0
  96. package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +85 -0
  97. package/es/components/checkout/components/SearchAndClientModule/index.d.ts +14 -0
  98. package/es/components/checkout/hooks/useWalletPass.d.ts +40 -0
  99. package/es/components/checkout/plugin.d.ts +2 -0
  100. package/es/components/checkout/utils/PaymentResultToastUtils.d.ts +32 -0
  101. package/es/components/eftpos/deviceList/index.d.ts +0 -1
  102. package/es/components/eftpos/form/index.d.ts +0 -1
  103. package/es/components/eftpos/group/index.d.ts +0 -1
  104. package/es/components/eftpos/hooks.d.ts +0 -1
  105. package/es/components/eftpos/icon/apiKey.d.ts +0 -1
  106. package/es/components/eftpos/icon/device.d.ts +0 -1
  107. package/es/components/eftpos/receipt/index.d.ts +0 -1
  108. package/es/components/eftpos/surcharge/index.d.ts +0 -1
  109. package/es/components/eftposPay/component/alert/warn.d.ts +0 -1
  110. package/es/components/eftposPay/component/header/titlebar.d.ts +0 -1
  111. package/es/components/eftposPay/component/step/step.d.ts +0 -1
  112. package/es/components/eftposPay/hooks.d.ts +1 -1
  113. package/es/components/eftposPay/store/index.d.ts +1 -1
  114. package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
  115. package/es/components/eftposPay/utils/log/index.d.ts +110 -0
  116. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  117. package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  118. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  119. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  120. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  121. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  122. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  123. package/es/components/list/List.d.ts +5 -0
  124. package/es/components/list/hooks/useListState.d.ts +45 -0
  125. package/es/components/pay/toB/components/CardGroup/index.d.ts +0 -1
  126. package/es/components/pay/toB/components/MX51/index.d.ts +3 -0
  127. package/es/components/pay/toB/types/index.d.ts +72 -0
  128. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  129. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  130. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  131. package/es/components/pay/toC/locales.d.ts +301 -0
  132. package/es/components/pay/toC/model.d.ts +9 -1
  133. package/es/components/pay/toC/status.d.ts +13 -0
  134. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  135. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  136. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
  137. package/es/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
  138. package/es/components/productExtension/fields/Actor/index.d.ts +0 -1
  139. package/es/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  140. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  141. package/es/components/productExtension/index.d.ts +0 -1
  142. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  143. package/es/components/schedules/model.d.ts +9 -1
  144. package/es/components/schedules/resources/relationProduct/index.d.ts +0 -1
  145. package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
  146. package/es/components/shoppingCart/components/Render/index.d.ts +0 -1
  147. package/es/components/shoppingCart/index.d.ts +0 -1
  148. package/es/components/systemSettings/registry/components/ModuleList.d.ts +4 -0
  149. package/es/components/systemSettings/registry/locales.d.ts +272 -0
  150. package/es/components/systemSettings/registry/services.d.ts +77 -0
  151. package/es/components/systemSettings/registry/types.d.ts +126 -0
  152. package/es/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
  153. package/es/components/systemSettings/registry/utils/validators.d.ts +8 -0
  154. package/es/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.d.ts +27 -0
  155. package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +31 -0
  156. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +10 -0
  157. package/es/components/ticketBooking/components/addServiceVariant/utils.d.ts +8 -0
  158. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +0 -1
  159. package/es/components/ticketBooking/components/timeBar/index.d.ts +14 -0
  160. package/es/components/ticketBooking/hooks/pisellos/useProducts.d.ts +16 -0
  161. package/es/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +6 -0
  162. package/es/components/ticketBooking/index.d.ts +15 -0
  163. package/es/components/ticketBooking/serve.d.ts +288 -0
  164. package/es/components/ticketBooking/utils/index.d.ts +101 -0
  165. package/es/components/wallet/utils.d.ts +48 -0
  166. package/es/components/walletList/types/index.d.ts +194 -0
  167. package/es/plus/clientName/index.d.ts +4 -0
  168. package/es/plus/clientName/type.d.ts +13 -0
  169. package/es/plus/clientName/utils.d.ts +2 -0
  170. package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -1
  171. package/es/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
  172. package/es/plus/contactInfo/locales.d.ts +15 -0
  173. package/es/plus/contactInfo/types.d.ts +91 -0
  174. package/es/plus/contactInfo/utils.d.ts +7 -0
  175. package/es/plus/contactInfoModal/locales.d.ts +66 -0
  176. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +0 -1
  177. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +0 -1
  178. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +0 -1
  179. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +0 -1
  180. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +0 -1
  181. package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +0 -1
  182. package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +4 -0
  183. package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +0 -1
  184. package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.js +1 -1
  185. package/es/plus/productSelect/ProductCard/SkuCard/index.d.ts +0 -1
  186. package/es/plus/productSelect/ProductCard/index.d.ts +47 -0
  187. package/es/plus/productSelect/utils.d.ts +39 -0
  188. package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -1
  189. package/es/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
  190. package/es/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +20 -0
  191. package/es/plus/walletEditor/components/relationProduct/index.d.ts +7 -0
  192. package/es/plus/walletEditor/types.d.ts +52 -0
  193. package/es/plus/webPosLogin/WebPosLogin.d.ts +11 -0
  194. package/es/plus/webPosLogin/WebPosLoginCpt.d.ts +9 -0
  195. package/es/plus/webPosLogin/components/BrandPanel/index.d.ts +9 -0
  196. package/es/plus/webPosLogin/components/LoginPanel/index.d.ts +21 -0
  197. package/es/plus/webPosLogin/components/MediaDisplay/index.d.ts +12 -0
  198. package/es/plus/webPosLogin/components/MediaDisplay/type.d.ts +54 -0
  199. package/es/plus/webPosLogin/components/SelectDevice/index.d.ts +28 -0
  200. package/es/plus/webPosLogin/components/SelectStore/index.d.ts +24 -0
  201. package/es/plus/webPosLogin/components/UserFooter/index.d.ts +28 -0
  202. package/es/plus/webPosLogin/index.d.ts +12 -0
  203. package/es/plus/webPosLogin/locales.d.ts +49 -0
  204. package/es/plus/webPosLogin/service.d.ts +44 -0
  205. package/es/plus/webPosLogin/types.d.ts +286 -0
  206. package/es/pro/Login2.0/Login2.d.ts +61 -0
  207. package/es/pro/Login2.0/components/phoneValidation.d.ts +17 -0
  208. package/es/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +24 -0
  209. package/es/pro/Login2.0/locales.d.ts +543 -0
  210. package/es/pro/Login2.0/shared/registerFlow.d.ts +116 -0
  211. package/es/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +12 -0
  212. package/es/pro/Login2.0/steps/VerificationSuccess.d.ts +8 -0
  213. package/es/pro/Login2.0/steps/VerifyingEmailLink.d.ts +7 -0
  214. package/es/pro/Login2.0/steps/WaitEmailLink.d.ts +18 -0
  215. package/es/pro/Login2.0/types.d.ts +167 -0
  216. package/es/pro/priceKeyboard/components/cashKeyboard/index.d.ts +0 -1
  217. package/lib/businessModel/SalesModel/index.d.ts +0 -1
  218. package/lib/components/appointmentBooking/components/Services/index.d.ts +4 -0
  219. package/lib/components/appointmentBooking/components/Voucher/index.d.ts +4 -0
  220. package/lib/components/authentication/admin/AuthMethods/SettingList.d.ts +5 -0
  221. package/lib/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +22 -0
  222. package/lib/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
  223. package/lib/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +13 -0
  224. package/lib/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
  225. package/lib/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +14 -0
  226. package/lib/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +13 -0
  227. package/lib/components/authentication/admin/AuthMethods/components/index.d.ts +10 -0
  228. package/lib/components/authentication/admin/AuthMethods/constants.d.ts +22 -0
  229. package/lib/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
  230. package/lib/components/authentication/admin/AuthMethods/types.d.ts +76 -0
  231. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
  232. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
  233. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
  234. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
  235. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
  236. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
  237. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
  238. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
  239. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
  240. package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
  241. package/lib/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
  242. package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
  243. package/lib/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
  244. package/lib/components/authentication/admin/CustomerOAuthConfig/index.d.ts +6 -0
  245. package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
  246. package/lib/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
  247. package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
  248. package/lib/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
  249. package/lib/components/authentication/admin/OAuthConfig/index.d.ts +6 -0
  250. package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
  251. package/lib/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
  252. package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
  253. package/lib/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
  254. package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
  255. package/lib/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
  256. package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
  257. package/lib/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
  258. package/lib/components/authentication/index.d.ts +0 -0
  259. package/lib/components/booking/addons/model.d.ts +10 -0
  260. package/lib/components/booking/components/actionButtons/index.d.ts +31 -0
  261. package/lib/components/booking/components/customSelect/index.d.ts +38 -0
  262. package/lib/components/booking/components/footer/index.d.ts +0 -1
  263. package/lib/components/booking/components/footer/utils.d.ts +67 -0
  264. package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  265. package/lib/components/booking/components/voucher/index.d.ts +3 -0
  266. package/lib/components/booking/deposit/index.d.ts +0 -1
  267. package/lib/components/booking/forms/model.d.ts +10 -1
  268. package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  269. package/lib/components/booking/info/addServiceVariant/index.d.ts +6 -0
  270. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +43 -0
  271. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  272. package/lib/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +25 -0
  273. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  274. package/lib/components/booking/info/index.d.ts +0 -1
  275. package/lib/components/booking/info/model.d.ts +10 -1
  276. package/lib/components/booking/info/notes/index.d.ts +0 -1
  277. package/lib/components/booking/info/service/Lists.d.ts +2 -0
  278. package/lib/components/booking/info/service/addTimeModal/index.d.ts +0 -1
  279. package/lib/components/booking/info/service/like/index.d.ts +0 -1
  280. package/lib/components/booking/info/service/serve.d.ts +34 -0
  281. package/lib/components/booking/info/service/serviceList/index.d.ts +0 -1
  282. package/lib/components/booking/info/service2/Lists.d.ts +0 -1
  283. package/lib/components/booking/info/service2/utils.d.ts +219 -0
  284. package/lib/components/booking/info/utils.d.ts +50 -0
  285. package/lib/components/booking/info2/service/addService/utils.d.ts +106 -0
  286. package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +0 -1
  287. package/lib/components/booking/info2/service/editService/index.d.ts +8 -0
  288. package/lib/components/booking/info2/service/editService/utils.d.ts +28 -0
  289. package/lib/components/booking/info2/service/serviceList/index.d.ts +0 -1
  290. package/lib/components/booking/info2/utilsByBooking.d.ts +36 -0
  291. package/lib/components/booking/materiels/duration/index.d.ts +1 -0
  292. package/lib/components/booking/materiels/startTime/index.d.ts +1 -0
  293. package/lib/components/booking/notes/NoteBlock/index.d.ts +0 -1
  294. package/lib/components/booking/notes/addNote/index.d.ts +0 -1
  295. package/lib/components/booking/notes/model.d.ts +10 -1
  296. package/lib/components/booking/payments/model.d.ts +10 -1
  297. package/lib/components/booking/utils.d.ts +182 -0
  298. package/lib/components/checkout/PaymentModal.d.ts +39 -0
  299. package/lib/components/checkout/components/AdditionalModule/index.d.ts +15 -0
  300. package/lib/components/checkout/components/CashPaymentModule/index.d.ts +26 -0
  301. package/lib/components/checkout/components/PaymentDetailModal/index.d.ts +38 -0
  302. package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +85 -0
  303. package/lib/components/checkout/components/SearchAndClientModule/index.d.ts +14 -0
  304. package/lib/components/checkout/hooks/useWalletPass.d.ts +40 -0
  305. package/lib/components/checkout/plugin.d.ts +2 -0
  306. package/lib/components/checkout/utils/PaymentResultToastUtils.d.ts +32 -0
  307. package/lib/components/eftpos/deviceList/index.d.ts +0 -1
  308. package/lib/components/eftpos/form/index.d.ts +0 -1
  309. package/lib/components/eftpos/group/index.d.ts +0 -1
  310. package/lib/components/eftpos/hooks.d.ts +0 -1
  311. package/lib/components/eftpos/icon/apiKey.d.ts +0 -1
  312. package/lib/components/eftpos/icon/device.d.ts +0 -1
  313. package/lib/components/eftpos/receipt/index.d.ts +0 -1
  314. package/lib/components/eftpos/surcharge/index.d.ts +0 -1
  315. package/lib/components/eftposPay/component/alert/warn.d.ts +0 -1
  316. package/lib/components/eftposPay/component/header/titlebar.d.ts +0 -1
  317. package/lib/components/eftposPay/component/step/step.d.ts +0 -1
  318. package/lib/components/eftposPay/hooks.d.ts +1 -1
  319. package/lib/components/eftposPay/store/index.d.ts +1 -1
  320. package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
  321. package/lib/components/eftposPay/utils/log/index.d.ts +110 -0
  322. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  323. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  324. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  325. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  326. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  327. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  328. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  329. package/lib/components/list/List.d.ts +5 -0
  330. package/lib/components/list/hooks/useListState.d.ts +45 -0
  331. package/lib/components/pay/toB/components/CardGroup/index.d.ts +0 -1
  332. package/lib/components/pay/toB/components/MX51/index.d.ts +3 -0
  333. package/lib/components/pay/toB/types/index.d.ts +72 -0
  334. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  335. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  336. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  337. package/lib/components/pay/toC/locales.d.ts +301 -0
  338. package/lib/components/pay/toC/model.d.ts +9 -1
  339. package/lib/components/pay/toC/status.d.ts +13 -0
  340. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  341. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  342. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
  343. package/lib/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
  344. package/lib/components/productExtension/fields/Actor/index.d.ts +0 -1
  345. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  346. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  347. package/lib/components/productExtension/index.d.ts +0 -1
  348. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  349. package/lib/components/schedules/model.d.ts +9 -1
  350. package/lib/components/schedules/resources/relationProduct/index.d.ts +0 -1
  351. package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
  352. package/lib/components/shoppingCart/components/Render/index.d.ts +0 -1
  353. package/lib/components/shoppingCart/index.d.ts +0 -1
  354. package/lib/components/systemSettings/registry/components/ModuleList.d.ts +4 -0
  355. package/lib/components/systemSettings/registry/locales.d.ts +272 -0
  356. package/lib/components/systemSettings/registry/services.d.ts +77 -0
  357. package/lib/components/systemSettings/registry/types.d.ts +126 -0
  358. package/lib/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
  359. package/lib/components/systemSettings/registry/utils/validators.d.ts +8 -0
  360. package/lib/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.d.ts +27 -0
  361. package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +31 -0
  362. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +10 -0
  363. package/lib/components/ticketBooking/components/addServiceVariant/utils.d.ts +8 -0
  364. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +0 -1
  365. package/lib/components/ticketBooking/components/timeBar/index.d.ts +14 -0
  366. package/lib/components/ticketBooking/hooks/pisellos/useProducts.d.ts +16 -0
  367. package/lib/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +6 -0
  368. package/lib/components/ticketBooking/index.d.ts +15 -0
  369. package/lib/components/ticketBooking/serve.d.ts +288 -0
  370. package/lib/components/ticketBooking/utils/index.d.ts +101 -0
  371. package/lib/components/wallet/utils.d.ts +48 -0
  372. package/lib/components/walletList/types/index.d.ts +194 -0
  373. package/lib/plus/clientName/index.d.ts +4 -0
  374. package/lib/plus/clientName/type.d.ts +13 -0
  375. package/lib/plus/clientName/utils.d.ts +2 -0
  376. package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -1
  377. package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
  378. package/lib/plus/contactInfo/locales.d.ts +15 -0
  379. package/lib/plus/contactInfo/types.d.ts +91 -0
  380. package/lib/plus/contactInfo/utils.d.ts +7 -0
  381. package/lib/plus/contactInfoModal/locales.d.ts +66 -0
  382. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +0 -1
  383. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +0 -1
  384. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +0 -1
  385. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +0 -1
  386. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +0 -1
  387. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +0 -1
  388. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +4 -0
  389. package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +0 -1
  390. package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.js +1 -1
  391. package/lib/plus/productSelect/ProductCard/SkuCard/index.d.ts +0 -1
  392. package/lib/plus/productSelect/ProductCard/index.d.ts +47 -0
  393. package/lib/plus/productSelect/utils.d.ts +39 -0
  394. package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -1
  395. package/lib/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
  396. package/lib/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +20 -0
  397. package/lib/plus/walletEditor/components/relationProduct/index.d.ts +7 -0
  398. package/lib/plus/walletEditor/types.d.ts +52 -0
  399. package/lib/plus/webPosLogin/WebPosLogin.d.ts +11 -0
  400. package/lib/plus/webPosLogin/WebPosLoginCpt.d.ts +9 -0
  401. package/lib/plus/webPosLogin/components/BrandPanel/index.d.ts +9 -0
  402. package/lib/plus/webPosLogin/components/LoginPanel/index.d.ts +21 -0
  403. package/lib/plus/webPosLogin/components/MediaDisplay/index.d.ts +12 -0
  404. package/lib/plus/webPosLogin/components/MediaDisplay/type.d.ts +54 -0
  405. package/lib/plus/webPosLogin/components/SelectDevice/index.d.ts +28 -0
  406. package/lib/plus/webPosLogin/components/SelectStore/index.d.ts +24 -0
  407. package/lib/plus/webPosLogin/components/UserFooter/index.d.ts +28 -0
  408. package/lib/plus/webPosLogin/index.d.ts +12 -0
  409. package/lib/plus/webPosLogin/locales.d.ts +49 -0
  410. package/lib/plus/webPosLogin/service.d.ts +44 -0
  411. package/lib/plus/webPosLogin/types.d.ts +286 -0
  412. package/lib/pro/Login2.0/Login2.d.ts +61 -0
  413. package/lib/pro/Login2.0/components/phoneValidation.d.ts +17 -0
  414. package/lib/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +24 -0
  415. package/lib/pro/Login2.0/locales.d.ts +543 -0
  416. package/lib/pro/Login2.0/shared/registerFlow.d.ts +116 -0
  417. package/lib/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +12 -0
  418. package/lib/pro/Login2.0/steps/VerificationSuccess.d.ts +8 -0
  419. package/lib/pro/Login2.0/steps/VerifyingEmailLink.d.ts +7 -0
  420. package/lib/pro/Login2.0/steps/WaitEmailLink.d.ts +18 -0
  421. package/lib/pro/Login2.0/types.d.ts +167 -0
  422. package/lib/pro/priceKeyboard/components/cashKeyboard/index.d.ts +0 -1
  423. package/package.json +3 -3
  424. package/es/pro/pisellNumberSelector/example.d.ts +0 -3
  425. package/lib/pro/pisellNumberSelector/example.d.ts +0 -3
@@ -0,0 +1,194 @@
1
+ import React from 'react';
2
+ export interface MultiLanguageName {
3
+ original: string;
4
+ 'zh-CN': string;
5
+ 'zh-HK': string;
6
+ en: string;
7
+ [key: string]: string;
8
+ }
9
+ declare type WalletPassType = 'rechargeable' | 'point' | 'voucher' | 'discount';
10
+ export interface WalletMetadata {
11
+ name: MultiLanguageName;
12
+ welcomeText?: string | MultiLanguageName;
13
+ customerName?: string;
14
+ coverImage?: string;
15
+ icon?: string;
16
+ showcaseWalletPassNew?: Array<{
17
+ type: WalletPassType;
18
+ custom_title?: string | MultiLanguageName;
19
+ display?: 0 | 1;
20
+ }>;
21
+ }
22
+ export interface Shop {
23
+ id: number;
24
+ name: string;
25
+ default_url: string;
26
+ }
27
+ export interface Wallet {
28
+ id: string | null;
29
+ shop_id: string | null;
30
+ shop?: Shop;
31
+ status: string | null;
32
+ name: MultiLanguageName;
33
+ valid_for: {
34
+ type: string;
35
+ unit?: string;
36
+ unit_type?: string;
37
+ custom_date?: string;
38
+ };
39
+ metadata: WalletMetadata;
40
+ created_at: string | null;
41
+ }
42
+ export interface WalletPass {
43
+ id: string | null;
44
+ shop_id: string | null;
45
+ code: string;
46
+ status: string | null;
47
+ wallet_id: string | null;
48
+ customer_id: string | null;
49
+ expired_at: string | null;
50
+ created_at: string;
51
+ shop: Shop;
52
+ wallet: Wallet;
53
+ icon?: string;
54
+ isLogin?: boolean;
55
+ showIcon?: boolean;
56
+ }
57
+ export interface WalletBalance {
58
+ gift_card_balance: number;
59
+ point_card_balance: number;
60
+ voucher_count: number;
61
+ discount_card_count: number;
62
+ }
63
+ export interface WalletCardItem {
64
+ type: WalletPassType;
65
+ custom_title?: string | MultiLanguageName;
66
+ display: 0 | 1;
67
+ value?: number;
68
+ }
69
+ export interface State {
70
+ list: WalletPass[];
71
+ balance: WalletBalance | null;
72
+ loading: boolean;
73
+ error: Error | null;
74
+ authError?: boolean;
75
+ hasAttempted: boolean;
76
+ isLoggedIn?: boolean;
77
+ }
78
+ export interface Action {
79
+ type: string;
80
+ payload: Partial<State>;
81
+ }
82
+ export interface Balance {
83
+ gift_card_balance: number;
84
+ point_card_balance: number;
85
+ voucher_count: number;
86
+ discount_card_count: number;
87
+ }
88
+ export interface IWallList {
89
+ tag?: string;
90
+ sales_status?: string;
91
+ machine_search?: string;
92
+ createdDate?: string;
93
+ limit_status?: string;
94
+ relation_id?: string;
95
+ relation_type?: string;
96
+ customer_id?: string;
97
+ sort?: string;
98
+ order_by?: string;
99
+ used_status?: string;
100
+ num?: number;
101
+ skip?: number;
102
+ }
103
+ export interface WalletListProps {
104
+ globalState?: {
105
+ platform?: 'pc' | 'h5' | 'ipad';
106
+ mode?: 'dark' | 'light';
107
+ cardStyle?: 'normal' | 'full';
108
+ codeType?: 'barCode' | 'qrCode';
109
+ codeDirection?: 'bottom' | 'top';
110
+ shopName?: boolean;
111
+ showWalletName?: boolean;
112
+ showShopName?: boolean;
113
+ cardNo?: string;
114
+ showCardNo?: boolean;
115
+ showCode?: boolean;
116
+ points?: boolean;
117
+ balance?: boolean;
118
+ coupon?: boolean;
119
+ pointsValue?: number;
120
+ balanceValue?: number;
121
+ couponValue?: number;
122
+ symbol?: string;
123
+ showIcon?: boolean;
124
+ iconImg?: string;
125
+ customBackgroundImage?: string;
126
+ walletName?: string;
127
+ };
128
+ }
129
+ export interface WalletCardProps {
130
+ platform?: 'pc' | 'h5' | 'ipad';
131
+ mode?: 'dark' | 'light';
132
+ cardStyle?: 'normal' | 'full';
133
+ codeType?: 'barCode' | 'qrCode';
134
+ codeDirection?: 'bottom' | 'top';
135
+ shopName?: boolean;
136
+ showIcon?: boolean;
137
+ iconImg?: string;
138
+ showWalletName?: boolean;
139
+ showShopName?: boolean;
140
+ cardNo?: string;
141
+ showCardNo?: boolean;
142
+ showCode?: boolean;
143
+ points?: boolean;
144
+ balance?: boolean;
145
+ coupon?: boolean;
146
+ pointsValue?: number;
147
+ balanceValue?: number;
148
+ couponValue?: number;
149
+ isLogin?: boolean;
150
+ items: WalletCardItem[];
151
+ }
152
+ export interface DivProps extends React.HTMLAttributes<HTMLDivElement> {
153
+ children?: React.ReactNode;
154
+ }
155
+ export interface WalletListContextType {
156
+ state: State;
157
+ dispatch: React.Dispatch<Action>;
158
+ }
159
+ export declare const DEFAULT_CARD_CONFIG: {
160
+ readonly mode: "light";
161
+ readonly cardStyle: "normal";
162
+ readonly codeDirection: "bottom";
163
+ readonly showShopName: true;
164
+ readonly showWalletName: true;
165
+ readonly showIcon: true;
166
+ readonly iconImg: "";
167
+ readonly showCardNo: true;
168
+ readonly showCode: true;
169
+ readonly points: true;
170
+ readonly balance: true;
171
+ readonly coupon: true;
172
+ };
173
+ export interface CarouselSettings {
174
+ className: string;
175
+ arrows: boolean;
176
+ infinite: boolean;
177
+ slidesToShow: number;
178
+ slidesToScroll: number;
179
+ centerMode: boolean;
180
+ centerPadding: string;
181
+ autoplay: boolean;
182
+ autoplaySpeed: number;
183
+ dots: boolean;
184
+ appendDots?: (dots: React.ReactNode) => React.ReactNode;
185
+ responsive?: Array<{
186
+ breakpoint: number;
187
+ settings: {
188
+ slidesToShow: number;
189
+ slidesToScroll: number;
190
+ centerPadding: string;
191
+ };
192
+ }>;
193
+ }
194
+ export {};
@@ -0,0 +1,4 @@
1
+ import './index.less';
2
+ import { IClientNameProps } from './type';
3
+ declare const ClientName: ({ className, dataSource, style }: IClientNameProps) => JSX.Element | null;
4
+ export default ClientName;
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ export declare type ClientData = {
3
+ display_name?: string;
4
+ nickname?: string;
5
+ first_name?: string;
6
+ last_name?: string;
7
+ [key: string]: any;
8
+ };
9
+ export interface IClientNameProps {
10
+ dataSource?: string | ClientData | null;
11
+ className?: string;
12
+ style?: React.CSSProperties;
13
+ }
@@ -0,0 +1,2 @@
1
+ import { ClientData } from './type';
2
+ export declare const getClientName: (dataSource: string | ClientData | null) => string | null;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const PhoneField: ({ value, onChange }: any) => JSX.Element;
3
2
  export default PhoneField;
@@ -0,0 +1,46 @@
1
+ import type { ReactNode } from 'react';
2
+ import React from 'react';
3
+ declare type NativeProps<S extends string = never> = {
4
+ className?: string;
5
+ style?: React.CSSProperties & Partial<Record<S, string>>;
6
+ };
7
+ declare type PropagationEvent = 'click';
8
+ import './index.less';
9
+ declare type SideType = 'left' | 'right';
10
+ export declare type SwipeActionRef = {
11
+ close: () => void;
12
+ show: (side?: SideType) => void;
13
+ };
14
+ declare type ActionColor = 'light' | 'weak' | 'primary' | 'success' | 'warning' | 'danger';
15
+ export declare type Action = {
16
+ key: string | number;
17
+ text: ReactNode;
18
+ color?: ActionColor | string;
19
+ onClick?: (e: React.MouseEvent) => void;
20
+ style?: React.CSSProperties;
21
+ };
22
+ export declare type SwipeActionProps = {
23
+ rightActions?: Action[];
24
+ leftActions?: Action[];
25
+ onAction?: (action: Action, e: React.MouseEvent) => void;
26
+ closeOnTouchOutside?: boolean;
27
+ closeOnAction?: boolean;
28
+ children: ReactNode;
29
+ stopPropagation?: PropagationEvent[];
30
+ onActionsReveal?: (side: SideType) => void;
31
+ onClose?: () => void;
32
+ escapeDom?: string;
33
+ } & NativeProps<'--background'>;
34
+ export declare const SwipeAction: React.ForwardRefExoticComponent<{
35
+ rightActions?: Action[] | undefined;
36
+ leftActions?: Action[] | undefined;
37
+ onAction?: ((action: Action, e: React.MouseEvent) => void) | undefined;
38
+ closeOnTouchOutside?: boolean | undefined;
39
+ closeOnAction?: boolean | undefined;
40
+ children: ReactNode;
41
+ stopPropagation?: "click"[] | undefined;
42
+ onActionsReveal?: ((side: SideType) => void) | undefined;
43
+ onClose?: (() => void) | undefined;
44
+ escapeDom?: string | undefined;
45
+ } & NativeProps<"--background"> & React.RefAttributes<SwipeActionRef>>;
46
+ export {};
@@ -0,0 +1,15 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.text.contact-info.placeholder': string;
4
+ 'pisell2.text.contact-info.actions.delete': string;
5
+ };
6
+ 'zh-CN': {
7
+ 'pisell2.text.contact-info.placeholder': string;
8
+ 'pisell2.text.contact-info.actions.delete': string;
9
+ };
10
+ 'zh-HK': {
11
+ 'pisell2.text.contact-info.placeholder': string;
12
+ 'pisell2.text.contact-info.actions.delete': string;
13
+ };
14
+ };
15
+ export default _default;
@@ -0,0 +1,91 @@
1
+ import React, { CSSProperties } from 'react';
2
+ /**
3
+ * 联系信息数据
4
+ */
5
+ export interface ContactInfoData {
6
+ first_name?: string;
7
+ last_name?: string;
8
+ phone?: {
9
+ phone: string;
10
+ country_calling_code: string;
11
+ country_code?: string;
12
+ };
13
+ email?: string;
14
+ avatar?: string;
15
+ }
16
+ /**
17
+ * 卡片布局类型
18
+ */
19
+ export declare type Direction = 'horizontal' | 'vertical';
20
+ /**
21
+ * 头像尺寸类型
22
+ */
23
+ export declare type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
24
+ /**
25
+ * 头像形状类型
26
+ */
27
+ export declare type AvatarShape = 'circle' | 'square';
28
+ /**
29
+ * 头像配置
30
+ */
31
+ export interface AvatarConfig {
32
+ shape?: AvatarShape;
33
+ borderRadius?: number;
34
+ size?: AvatarSize;
35
+ useTextAvatar?: boolean;
36
+ children?: string;
37
+ }
38
+ /**
39
+ * 姓名样式配置
40
+ */
41
+ export interface NameStyle {
42
+ fontSize?: number | string;
43
+ fontWeight?: number | string;
44
+ color?: string;
45
+ textDecoration?: string;
46
+ }
47
+ export interface StyleConfig {
48
+ width?: number | string;
49
+ border?: 'solid' | 'unset';
50
+ borderWidth?: number | string;
51
+ borderColor?: string;
52
+ borderRadius?: number | string;
53
+ padding?: number | string;
54
+ [key: string]: any;
55
+ }
56
+ /**
57
+ * 文本样式配置
58
+ */
59
+ export interface TextStyle {
60
+ fontSize?: number | string;
61
+ fontWeight?: number | string;
62
+ color?: string;
63
+ }
64
+ /**
65
+ * ContactInfo 组件属性接口
66
+ */
67
+ export interface ContactInfoProps {
68
+ dataSource?: ContactInfoData;
69
+ defaultName?: string;
70
+ placeholder?: string | React.ReactNode;
71
+ isShowDelete?: boolean;
72
+ children?: React.ReactNode;
73
+ direction?: Direction;
74
+ horizontalGap?: number | string;
75
+ verticalGap?: number | string;
76
+ isShowAvatar?: boolean;
77
+ isShowPhone?: boolean;
78
+ isShowEmail?: boolean;
79
+ avatar?: AvatarConfig;
80
+ style?: StyleConfig;
81
+ nameStyle?: NameStyle;
82
+ textStyle?: TextStyle;
83
+ placeholderStyle?: CSSProperties;
84
+ button?: {
85
+ addButtonIcon?: string;
86
+ editButtonIcon?: string;
87
+ };
88
+ onSave?: (value: any) => void;
89
+ onDelete?: () => void;
90
+ onCancel?: () => void;
91
+ }
@@ -0,0 +1,7 @@
1
+ interface FieldMapping<T = any, R = any> {
2
+ [key: string]: string | ((data: T) => R) | undefined;
3
+ }
4
+ export declare function getFieldValue<T, R = any>(data: T, fieldKey: string): R | undefined;
5
+ export declare function getFieldValue<T, R = any>(data: T, fieldKey: string, mapping: FieldMapping<T, R>): R | undefined;
6
+ export declare const getAvatarText: (name: string) => string;
7
+ export {};
@@ -0,0 +1,66 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.text.button.save': string;
4
+ 'pisell2.text.button.delete': string;
5
+ 'pisell2.text.button.cancel': string;
6
+ 'pisell2.text.contact-info.actions.delete': string;
7
+ 'pisell2.text.contact-info.modal.title': string;
8
+ 'pisell2.text.contact-info.modal.first-name': string;
9
+ 'pisell2.text.contact-info.modal.first-name-placeholder': string;
10
+ 'pisell2.text.contact-info.modal.first-name-required': string;
11
+ 'pisell2.text.contact-info.modal.last-name': string;
12
+ 'pisell2.text.contact-info.modal.last-name-placeholder': string;
13
+ 'pisell2.text.contact-info.modal.last-name-required': string;
14
+ 'pisell2.text.contact-info.modal.mobile': string;
15
+ 'pisell2.text.contact-info.modal.mobile-placeholder': string;
16
+ 'pisell2.text.contact-info.modal.mobile-required': string;
17
+ 'pisell2.text.contact-info.modal.mobile-error': string;
18
+ 'pisell2.text.contact-info.modal.email': string;
19
+ 'pisell2.text.contact-info.modal.email-placeholder': string;
20
+ 'pisell2.text.contact-info.modal.email-required': string;
21
+ 'pisell2.text.contact-info.modal.email-error': string;
22
+ };
23
+ 'zh-CN': {
24
+ 'pisell2.text.button.save': string;
25
+ 'pisell2.text.button.delete': string;
26
+ 'pisell2.text.button.cancel': string;
27
+ 'pisell2.text.contact-info.actions.delete': string;
28
+ 'pisell2.text.contact-info.modal.title': string;
29
+ 'pisell2.text.contact-info.modal.first-name': string;
30
+ 'pisell2.text.contact-info.modal.first-name-placeholder': string;
31
+ 'pisell2.text.contact-info.modal.first-name-required': string;
32
+ 'pisell2.text.contact-info.modal.last-name': string;
33
+ 'pisell2.text.contact-info.modal.last-name-placeholder': string;
34
+ 'pisell2.text.contact-info.modal.last-name-required': string;
35
+ 'pisell2.text.contact-info.modal.mobile': string;
36
+ 'pisell2.text.contact-info.modal.mobile-placeholder': string;
37
+ 'pisell2.text.contact-info.modal.mobile-required': string;
38
+ 'pisell2.text.contact-info.modal.mobile-error': string;
39
+ 'pisell2.text.contact-info.modal.email': string;
40
+ 'pisell2.text.contact-info.modal.email-placeholder': string;
41
+ 'pisell2.text.contact-info.modal.email-required': string;
42
+ 'pisell2.text.contact-info.modal.email-error': string;
43
+ };
44
+ 'zh-HK': {
45
+ 'pisell2.text.button.save': string;
46
+ 'pisell2.text.button.delete': string;
47
+ 'pisell2.text.button.cancel': string;
48
+ 'pisell2.text.contact-info.actions.delete': string;
49
+ 'pisell2.text.contact-info.modal.title': string;
50
+ 'pisell2.text.contact-info.modal.first-name': string;
51
+ 'pisell2.text.contact-info.modal.first-name-placeholder': string;
52
+ 'pisell2.text.contact-info.modal.first-name-required': string;
53
+ 'pisell2.text.contact-info.modal.last-name': string;
54
+ 'pisell2.text.contact-info.modal.last-name-placeholder': string;
55
+ 'pisell2.text.contact-info.modal.last-name-required': string;
56
+ 'pisell2.text.contact-info.modal.mobile': string;
57
+ 'pisell2.text.contact-info.modal.mobile-placeholder': string;
58
+ 'pisell2.text.contact-info.modal.mobile-required': string;
59
+ 'pisell2.text.contact-info.modal.mobile-error': string;
60
+ 'pisell2.text.contact-info.modal.email': string;
61
+ 'pisell2.text.contact-info.modal.email-placeholder': string;
62
+ 'pisell2.text.contact-info.modal.email-required': string;
63
+ 'pisell2.text.contact-info.modal.email-error': string;
64
+ };
65
+ };
66
+ export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const SkuCardA1: (props: any) => JSX.Element;
4
3
  export default SkuCardA1;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const SkuCardA2: (props: any) => JSX.Element;
4
3
  export default SkuCardA2;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const SkuCardA5: (props: any) => JSX.Element;
4
3
  export default SkuCardA5;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const SkuCardA9: (props: any) => JSX.Element;
4
3
  export default SkuCardA9;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const SkuCardCustom: (props: any) => JSX.Element;
4
3
  export default SkuCardCustom;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ProductCardConfig } from '../../type';
3
2
  import './index.less';
4
3
  declare const CardCom: ({ props, className }: {
@@ -0,0 +1,4 @@
1
+ import { ProductCardConfig } from '../../type';
2
+ import './index.less';
3
+ declare const CardWrapper: (props: ProductCardConfig) => JSX.Element;
4
+ export default CardWrapper;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ProductCardConfig } from '../../type';
3
2
  import './index.less';
4
3
  declare const Price: ({ props }: {
@@ -117,7 +117,7 @@ var Price = ({ props }) => {
117
117
  value: (dataSource == null ? void 0 : dataSource.tax_fee) || 0,
118
118
  isMini: isMiniPrice
119
119
  }
120
- ), `)`) : null, isOriginPrice && parseFloat(String((dataSource == null ? void 0 : dataSource.original_price) || 0)) ? /* @__PURE__ */ import_react.default.createElement(
120
+ ), `)`) : null, isOriginPrice && parseFloat(String((dataSource == null ? void 0 : dataSource.original_price) || 0)) > 0 && parseFloat(String((dataSource == null ? void 0 : dataSource.original_price) || 0)) !== parseFloat(String((dataSource == null ? void 0 : dataSource.price) || 0)) ? /* @__PURE__ */ import_react.default.createElement(
121
121
  "div",
122
122
  {
123
123
  className: `${import_status.PREFIX}__card-original-price`,
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const SkuCard: {
3
2
  (props: any): JSX.Element | null;
4
3
  A1: (props: any) => JSX.Element;
@@ -0,0 +1,47 @@
1
+ import React from 'react';
2
+ import ProductCardSkeleton from './ProductCardSkeleton';
3
+ import './index.less';
4
+ declare type BoolConfigVal = 0 | 1;
5
+ export interface ProductCardConfig {
6
+ isProductCover?: BoolConfigVal;
7
+ imgWidth?: string;
8
+ imgHeight?: string;
9
+ radius?: number;
10
+ isTitle?: BoolConfigVal;
11
+ isSubtitle?: BoolConfigVal;
12
+ showSpec?: boolean;
13
+ isTag?: BoolConfigVal;
14
+ isPrice?: BoolConfigVal;
15
+ isOriginPrice?: BoolConfigVal;
16
+ showZeroPrice?: boolean;
17
+ showMarketingTag?: boolean;
18
+ showRemark?: boolean;
19
+ isStock?: BoolConfigVal;
20
+ }
21
+ export interface ProductCardProps {
22
+ item: any;
23
+ index: number;
24
+ context?: {
25
+ onItemIntersectionIn: (item: any) => void;
26
+ onItemIntersectionOut: (item: any) => void;
27
+ };
28
+ className?: string;
29
+ onSelectProduct?: (item: any) => void;
30
+ currentProductId?: number;
31
+ onSelect?: (item: any) => void;
32
+ onSelectCover?: (item: any) => void;
33
+ onSelectInfo?: (item: any) => void;
34
+ isSelected?: boolean;
35
+ decorateConfig?: ProductCardConfig;
36
+ }
37
+ export declare const ProductCard: React.MemoExoticComponent<({ item, index, context, onSelect, onSelectCover, onSelectInfo, isSelected, className, decorateConfig, }: ProductCardProps) => JSX.Element>;
38
+ export declare const DefaultItemContent: React.MemoExoticComponent<(props: {
39
+ item: any;
40
+ index: number;
41
+ context?: {
42
+ onItemIntersectionIn: (item: any) => void;
43
+ onItemIntersectionOut: (item: any) => void;
44
+ } | undefined;
45
+ }) => JSX.Element>;
46
+ export default ProductCard;
47
+ export { ProductCardSkeleton };
@@ -0,0 +1,39 @@
1
+ interface Product {
2
+ id: number;
3
+ title: string;
4
+ sort?: number;
5
+ category: Array<{
6
+ id: number;
7
+ name: string;
8
+ icon?: string;
9
+ slug: string;
10
+ sort: number;
11
+ }>;
12
+ [key: string]: any;
13
+ }
14
+ interface CategoryItem {
15
+ __typename: 'category';
16
+ id: number;
17
+ name: string;
18
+ icon?: string;
19
+ slug: string;
20
+ sort: number;
21
+ }
22
+ interface ProductItem extends Product {
23
+ __typename?: 'product';
24
+ }
25
+ declare type ListItem = CategoryItem | ProductItem;
26
+ /**
27
+ * 按目录对商品进行分组,产出平级的数据结构用于虚拟列表渲染
28
+ * @param products 商品列表
29
+ * @returns 包含目录项和商品项的平级数组
30
+ */
31
+ export declare function groupProductsByCategory(products: Product[]): ListItem[];
32
+ /**
33
+ * 根据传入的元素标识符获取DOM元素
34
+ * @param elementIdentifier 元素标识符,可以是HTMLElement、带'#'的id、带'.'的类名或CSS选择器
35
+ * @returns 找到的DOM元素或null
36
+ */
37
+ export declare function getElementByIdentifier(elementIdentifier: HTMLElement | string | null | undefined): HTMLElement | null;
38
+ export declare const getOffsetTopRelativeToScrollContainer: (targetElement: HTMLElement, scrollContainer: HTMLElement) => number;
39
+ export {};
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { RenderItemProps } from '../../../../pro/Selector/types';
3
2
  declare const NormalCard: (props: RenderItemProps & {
4
3
  parentDataSource: any;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ interface JsonEditorProps {
3
+ value?: any;
4
+ onChange?: (value: any) => void;
5
+ disabled?: boolean;
6
+ placeholder?: string;
7
+ rows?: number;
8
+ style?: React.CSSProperties;
9
+ }
10
+ declare const JsonEditor: React.FC<JsonEditorProps>;
11
+ export default JsonEditor;
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ export declare type ValidityPeriodValue = {
3
+ type: 'normal';
4
+ unit: string;
5
+ unit_type: 'day' | 'month' | 'year';
6
+ } | {
7
+ type: 'custom';
8
+ custom_date?: string;
9
+ } | {
10
+ type: 'forever';
11
+ };
12
+ export interface ValidityPeriodSelectorProps {
13
+ value?: ValidityPeriodValue;
14
+ onChange?: (value: ValidityPeriodValue) => void;
15
+ disabled?: boolean;
16
+ placeholder?: string;
17
+ options?: readonly ValidityPeriodValue[];
18
+ }
19
+ declare const ValidityPeriodSelector: React.FC<ValidityPeriodSelectorProps>;
20
+ export default ValidityPeriodSelector;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import './index.less';
3
+ declare const RelationProduct: ({ value, onChange, }: {
4
+ value?: string[] | undefined;
5
+ onChange?: ((val: string[]) => void) | undefined;
6
+ }) => JSX.Element | null;
7
+ export default RelationProduct;