@pisell/private-materials 6.3.75 → 6.3.77

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 (762) 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/render/default/view.js +1 -1
  7. package/build/lowcode/view.js +1 -1
  8. package/es/components/Sales/Cart/index.d.ts +53 -0
  9. package/es/components/Sales/Event/Detail.d.ts +30 -0
  10. package/es/components/Sales/Summary/index.d.ts +35 -0
  11. package/es/components/Sales/Summary/utils.d.ts +51 -0
  12. package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
  13. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +3 -0
  14. package/es/components/appointmentBooking/components/Cart/index.d.ts +1 -0
  15. package/es/components/appointmentBooking/components/ConfirmInformation/index.d.ts +4 -0
  16. package/es/components/appointmentBooking/components/Content/index.d.ts +3 -0
  17. package/es/components/appointmentBooking/components/Date/index.d.ts +4 -0
  18. package/es/components/appointmentBooking/components/Footer/index.d.ts +1 -0
  19. package/es/components/appointmentBooking/components/Header/index.d.ts +3 -0
  20. package/es/components/appointmentBooking/components/Header/index.js +12 -12
  21. package/es/components/appointmentBooking/components/Services/index.d.ts +4 -0
  22. package/es/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +3 -0
  23. package/es/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.js +82 -0
  24. package/es/components/appointmentBooking/components/TimeSlicing/index.js +46 -5
  25. package/es/components/appointmentBooking/components/Voucher/index.js +5 -2
  26. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +1 -0
  27. package/es/components/appointmentBooking/hooks.d.ts +107 -0
  28. package/es/components/appointmentBooking/hooks.js +6 -13
  29. package/es/components/appointmentBooking/index.d.ts +3 -0
  30. package/es/components/appointmentBooking/locales.js +3 -0
  31. package/es/components/appointmentBooking/utils.d.ts +23 -0
  32. package/es/components/appointmentBooking/utils.js +159 -0
  33. package/es/components/authentication/admin/AuthMethods/SettingList.d.ts +5 -0
  34. package/es/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +22 -0
  35. package/es/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
  36. package/es/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +13 -0
  37. package/es/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
  38. package/es/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +14 -0
  39. package/es/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +13 -0
  40. package/es/components/authentication/admin/AuthMethods/components/index.d.ts +10 -0
  41. package/es/components/authentication/admin/AuthMethods/constants.d.ts +22 -0
  42. package/es/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
  43. package/es/components/authentication/admin/AuthMethods/types.d.ts +76 -0
  44. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
  45. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
  46. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
  47. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
  48. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
  49. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
  50. package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
  51. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/index.d.ts +8 -0
  52. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
  53. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
  54. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
  55. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
  56. package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
  57. package/es/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
  58. package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
  59. package/es/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
  60. package/es/components/authentication/admin/CustomerAuth/index.d.ts +6 -0
  61. package/es/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
  62. package/es/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
  63. package/es/components/authentication/admin/CustomerOAuthConfig/index.d.ts +6 -0
  64. package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
  65. package/es/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
  66. package/es/components/authentication/admin/DeviceAuth/index.d.ts +6 -0
  67. package/es/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
  68. package/es/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
  69. package/es/components/authentication/admin/OAuthConfig/index.d.ts +6 -0
  70. package/es/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
  71. package/es/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
  72. package/es/components/authentication/admin/OrgAdminAuth/index.d.ts +6 -0
  73. package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
  74. package/es/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
  75. package/es/components/authentication/admin/POSOperatorAuth/index.d.ts +6 -0
  76. package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
  77. package/es/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
  78. package/es/components/authentication/admin/SaaSAdminAuth/index.d.ts +6 -0
  79. package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
  80. package/es/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
  81. package/es/components/authentication/admin/index.d.ts +26 -0
  82. package/es/components/authentication/index.d.ts +0 -0
  83. package/es/components/booking/addons/index.d.ts +17 -0
  84. package/es/components/booking/addons/model.d.ts +10 -1
  85. package/es/components/booking/components/TabProduct/index.d.ts +1 -0
  86. package/es/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  87. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
  88. package/es/components/booking/components/collapsibleList/utils.d.ts +1 -0
  89. package/es/components/booking/components/customSelect/index.d.ts +38 -0
  90. package/es/components/booking/components/emptyBooking/index.d.ts +1 -0
  91. package/es/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  92. package/es/components/booking/components/reloadResourceModal/index.d.ts +9 -0
  93. package/es/components/booking/components/tabPane/index.d.ts +4 -0
  94. package/es/components/booking/components/voucher/index.js +5 -2
  95. package/es/components/booking/dashboard/serve.d.ts +1 -0
  96. package/es/components/booking/deposit/ClientItem/index.d.ts +18 -0
  97. package/es/components/booking/deposit/DepositItem/index.d.ts +25 -0
  98. package/es/components/booking/deposit/index.d.ts +2 -0
  99. package/es/components/booking/editBookingModal/utils.d.ts +12 -0
  100. package/es/components/booking/forms/footer.d.ts +1 -0
  101. package/es/components/booking/forms/forms.d.ts +30 -0
  102. package/es/components/booking/forms/model.d.ts +10 -1
  103. package/es/components/booking/forms/sendModal/useSendModal.d.ts +2 -1
  104. package/es/components/booking/forms/serve.d.ts +18 -0
  105. package/es/components/booking/forms/single/index.d.ts +1 -0
  106. package/es/components/booking/forms/table/index.d.ts +1 -0
  107. package/es/components/booking/hooks/useClearCart.d.ts +1 -0
  108. package/es/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  109. package/es/components/booking/info/addServiceVariant/index.d.ts +6 -0
  110. package/es/components/booking/info/client/index.d.ts +4 -0
  111. package/es/components/booking/info/client/serve.d.ts +2 -0
  112. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +44 -0
  113. package/es/components/booking/info/clientVariant/utils.d.ts +1 -0
  114. package/es/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +25 -0
  115. package/es/components/booking/info/date/index.d.ts +5 -0
  116. package/es/components/booking/info/dateRange/index.d.ts +1 -0
  117. package/es/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
  118. package/es/components/booking/info/hooks/useInfoHolder.d.ts +9 -0
  119. package/es/components/booking/info/index.d.ts +3 -0
  120. package/es/components/booking/info/model.d.ts +14 -0
  121. package/es/components/booking/info/notes/index.d.ts +1 -0
  122. package/es/components/booking/info/pet/serve.d.ts +1 -0
  123. package/es/components/booking/info/service/actions/index.d.ts +1 -0
  124. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  125. package/es/components/booking/info/service/addTimeModal/index.d.ts +3 -0
  126. package/es/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
  127. package/es/components/booking/info/service/addTimeModal/utils.d.ts +31 -0
  128. package/es/components/booking/info/service/editService/constants.d.ts +1 -0
  129. package/es/components/booking/info/service/serve.d.ts +20 -0
  130. package/es/components/booking/info/service/serviceList/index.d.ts +5 -0
  131. package/es/components/booking/info/service2/utils.d.ts +1 -1
  132. package/es/components/booking/info2/index.d.ts +12 -0
  133. package/es/components/booking/info2/serve.d.ts +6 -0
  134. package/es/components/booking/info2/service/actions/index.d.ts +1 -0
  135. package/es/components/booking/info2/service/addService/utils.d.ts +98 -0
  136. package/es/components/booking/info2/service/addTimeModal/index.d.ts +3 -0
  137. package/es/components/booking/info2/service/contactInfoMode/index.d.ts +3 -0
  138. package/es/components/booking/info2/service/editService/utils.d.ts +13 -0
  139. package/es/components/booking/info2/service/index.d.ts +4 -0
  140. package/es/components/booking/info2/service/serviceList/index.d.ts +5 -0
  141. package/es/components/booking/info2/utilsByBooking.d.ts +35 -0
  142. package/es/components/booking/locales.d.ts +846 -0
  143. package/es/components/booking/locales.js +3 -0
  144. package/es/components/booking/materiels/contacts/index.d.ts +1 -0
  145. package/es/components/booking/materiels/duration/index.d.ts +1 -0
  146. package/es/components/booking/materiels/holder/index.d.ts +1 -0
  147. package/es/components/booking/materiels/startTime/index.d.ts +1 -0
  148. package/es/components/booking/model.d.ts +120 -0
  149. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  150. package/es/components/booking/notes/NoteBlock/index.d.ts +1 -0
  151. package/es/components/booking/notes/addNote/index.d.ts +3 -0
  152. package/es/components/booking/notes/model.d.ts +10 -1
  153. package/es/components/booking/payments/model.d.ts +10 -1
  154. package/es/components/booking/utils.d.ts +2 -2
  155. package/es/components/eftpos/index.d.ts +1 -0
  156. package/es/components/eftpos/pos.d.ts +1 -0
  157. package/es/components/eftposPay/amount.d.ts +1 -0
  158. package/es/components/eftposPay/app.d.ts +10 -0
  159. package/es/components/eftposPay/component/fail/failCustom.d.ts +4 -0
  160. package/es/components/eftposPay/component/fail/index.d.ts +3 -0
  161. package/es/components/eftposPay/component/fail/network.d.ts +1 -0
  162. package/es/components/eftposPay/component/fail/unknow.d.ts +10 -0
  163. package/es/components/eftposPay/component/manual/index.d.ts +1 -0
  164. package/es/components/eftposPay/component/signature/index.d.ts +1 -0
  165. package/es/components/eftposPay/const.d.ts +184 -0
  166. package/es/components/eftposPay/device.d.ts +23 -0
  167. package/es/components/eftposPay/hooks.d.ts +35 -0
  168. package/es/components/eftposPay/index.d.ts +4 -0
  169. package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
  170. package/es/components/eftposPay/linkly/index.d.ts +2 -0
  171. package/es/components/eftposPay/manufacturer.d.ts +7 -0
  172. package/es/components/eftposPay/pay.d.ts +21 -0
  173. package/es/components/eftposPay/payo/config.d.ts +13 -0
  174. package/es/components/eftposPay/payo/payment.d.ts +66 -0
  175. package/es/components/eftposPay/store/index.d.ts +355 -0
  176. package/es/components/eftposPay/tip.d.ts +1 -0
  177. package/es/components/eftposPay/tyro/index.d.ts +9 -0
  178. package/es/components/eftposPay/utils/log/index.d.ts +110 -0
  179. package/es/components/eftposPay/windcave/helper.d.ts +23 -0
  180. package/es/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  181. package/es/components/eftposPay/windcave/windcave.d.ts +1 -0
  182. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +2 -0
  183. package/es/components/eventBooking/components/Provider/Content/index.d.ts +4 -0
  184. package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -0
  185. package/es/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
  186. package/es/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
  187. package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  188. package/es/components/eventBooking/components/Provider/Information/index.d.ts +1 -0
  189. package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -0
  190. package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -0
  191. package/es/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
  192. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  193. package/es/components/eventBooking/components/Voucher/hooks.d.ts +7 -0
  194. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
  195. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
  196. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
  197. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  198. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  199. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
  200. package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
  201. package/es/components/eventBooking/index.d.ts +3 -0
  202. package/es/components/index.d.ts +24 -0
  203. package/es/components/kioskSkuDetail/locales.d.ts +27 -0
  204. package/es/components/login/index.d.ts +1 -0
  205. package/es/components/pay/toC/PaymentList/serve.d.ts +28 -0
  206. package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.d.ts +2 -0
  207. package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.d.ts +2 -0
  208. package/es/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.d.ts +2 -0
  209. package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.d.ts +2 -0
  210. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
  211. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +2 -0
  212. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +2 -0
  213. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +2 -0
  214. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  215. package/es/components/pay/toC/PaymentMethods/StripePay/index.js +1 -1
  216. package/es/components/pay/toC/PaymentMethods/StripePay/serve.d.ts +2 -0
  217. package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +2 -0
  218. package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +2 -0
  219. package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +155 -0
  220. package/es/components/pay/toC/PaymentMethods/hooks/index.d.ts +19 -0
  221. package/es/components/pay/toC/PaymentMethods/index.d.ts +9 -0
  222. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
  223. package/es/components/pay/toC/locales.d.ts +307 -0
  224. package/es/components/pay/toC/model.d.ts +40 -0
  225. package/es/components/pay/toC/serve.d.ts +62 -0
  226. package/es/components/pay/toC/status.d.ts +13 -0
  227. package/es/components/pay/toC/utils.d.ts +57 -0
  228. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  229. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  230. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +2 -0
  231. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  232. package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
  233. package/es/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
  234. package/es/components/productExtension/fields/Actor/index.d.ts +1 -0
  235. package/es/components/productExtension/fields/Forms/index.d.ts +1 -0
  236. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  237. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  238. package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  239. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  240. package/es/components/ruleSetting/index.d.ts +9 -0
  241. package/es/components/ruleSetting/locales.d.ts +48 -0
  242. package/es/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  243. package/es/components/ruleSetting/server.d.ts +4 -0
  244. package/es/components/schedules/calendar/calendarItem.d.ts +1 -0
  245. package/es/components/schedules/calendar/index.d.ts +1 -0
  246. package/es/components/schedules/components/CurrentDay/index.d.ts +1 -0
  247. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  248. package/es/components/schedules/components/ScheduleList/index.d.ts +1 -0
  249. package/es/components/schedules/model.d.ts +9 -1
  250. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  251. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  252. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
  253. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
  254. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  255. package/es/components/schedules/products/index.d.ts +1 -0
  256. package/es/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  257. package/es/components/schedules/products/list/index.d.ts +1 -0
  258. package/es/components/schedules/resources/index.d.ts +1 -0
  259. package/es/components/schedules/resources/list/index.d.ts +1 -0
  260. package/es/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  261. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  262. package/es/components/schedules/schedules/index.d.ts +1 -0
  263. package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
  264. package/es/components/shoppingCart/components/Render/index.d.ts +1 -0
  265. package/es/components/shoppingCart/hooks/useAddService.d.ts +1 -0
  266. package/es/components/shoppingCart/hooks/useClearCart.d.ts +1 -0
  267. package/es/components/shoppingCart/index.d.ts +1 -0
  268. package/es/components/shoppingCart/locales.d.ts +33 -0
  269. package/es/components/shoppingCart/type.d.ts +48 -0
  270. package/es/components/subTotal/locales.d.ts +42 -0
  271. package/es/components/systemSettings/registry/components/ModuleList.d.ts +4 -0
  272. package/es/components/systemSettings/registry/components/SectionList.d.ts +4 -0
  273. package/es/components/systemSettings/registry/components/index.d.ts +4 -0
  274. package/es/components/systemSettings/registry/locales.d.ts +272 -0
  275. package/es/components/systemSettings/registry/services.d.ts +77 -0
  276. package/es/components/systemSettings/registry/types.d.ts +126 -0
  277. package/es/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
  278. package/es/components/systemSettings/registry/utils/validators.d.ts +8 -0
  279. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +6 -0
  280. package/es/components/ticketBooking/index.d.ts +7 -0
  281. package/es/components/ticketBooking/locales.d.ts +174 -0
  282. package/es/components/ticketBooking/serve.d.ts +287 -0
  283. package/es/components/wallet/utils.d.ts +48 -0
  284. package/es/components/walletList/locales.d.ts +27 -0
  285. package/es/components/walletList/serve.d.ts +43 -0
  286. package/es/components/walletList/types/index.d.ts +194 -0
  287. package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
  288. package/es/components/workSpaceList/components/Card/constants.d.ts +2 -0
  289. package/es/components/workSpaceList/components/WorkspaceItem/index.d.ts +22 -0
  290. package/es/hooks/useEngineContext.d.ts +10 -0
  291. package/es/hooks/usePaymentLogger.d.ts +1 -0
  292. package/es/hooks/useWindowSize.d.ts +5 -0
  293. package/es/index.d.ts +66 -0
  294. package/es/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
  295. package/es/plus/contactInfo/locales.d.ts +15 -0
  296. package/es/plus/contactInfo/types.d.ts +91 -0
  297. package/es/plus/contactInfo/utils.d.ts +7 -0
  298. package/es/plus/contactInfoModal/locales.d.ts +66 -0
  299. package/es/plus/productSelect/CategoryTabs/index.d.ts +21 -0
  300. package/es/plus/productSelect/ProductCard/index.d.ts +47 -0
  301. package/es/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
  302. package/es/plus/productSelect/utils.d.ts +39 -0
  303. package/es/plus/saasCreateOrganization/components/Header.d.ts +1 -0
  304. package/es/plus/saasRegister/components/EntryEmail.d.ts +1 -0
  305. package/es/plus/saasRegister/components/EntryInfo.d.ts +1 -0
  306. package/es/plus/saasRegister/components/GoLogin.d.ts +1 -0
  307. package/es/plus/saasRegister/components/Header.d.ts +1 -0
  308. package/es/plus/saasRegister/components/VerifyError.d.ts +1 -0
  309. package/es/plus/saasRegister/components/VerifyingLink.d.ts +1 -0
  310. package/es/plus/saasRegister/components/VertifyEmail.d.ts +1 -0
  311. package/es/plus/selectHolder/locales.d.ts +21 -0
  312. package/es/plus/selectHolder/types.d.ts +104 -0
  313. package/es/plus/selectHolder/utils.d.ts +9 -0
  314. package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +6 -0
  315. package/es/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +1 -0
  316. package/es/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +1 -0
  317. package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +1 -0
  318. package/es/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +4 -0
  319. package/es/plus/skuOptionsSelection/components/VariantCard/index.d.ts +4 -0
  320. package/es/plus/skuOptionsSelection/hooks/index.d.ts +3 -0
  321. package/es/plus/skuOptionsSelection/hooks/useLanguage.d.ts +2 -0
  322. package/es/plus/skuOptionsSelection/hooks/useStore.d.ts +2 -0
  323. package/es/plus/skuOptionsSelection/hooks/useSymbol.d.ts +2 -0
  324. package/es/plus/skuOptionsSelection/index.d.ts +5 -0
  325. package/es/plus/skuOptionsSelection/locales.d.ts +33 -0
  326. package/es/plus/skuOptionsSelection/store/actions.d.ts +22 -0
  327. package/es/plus/skuOptionsSelection/store/createStore.d.ts +15 -0
  328. package/es/plus/skuOptionsSelection/store/index.d.ts +2 -0
  329. package/es/plus/skuOptionsSelection/store/store.d.ts +4 -0
  330. package/es/plus/skuOptionsSelection/utils/calculateOption.d.ts +6 -0
  331. package/es/plus/skuOptionsSelection/utils/checkSkuStatus.d.ts +37 -0
  332. package/es/plus/skuOptionsSelection/utils/index.d.ts +7 -0
  333. package/es/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
  334. package/es/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
  335. package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
  336. package/es/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
  337. package/es/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
  338. package/es/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +20 -0
  339. package/es/plus/walletEditor/components/relationProduct/index.d.ts +7 -0
  340. package/es/plus/walletEditor/index.d.ts +3 -0
  341. package/es/plus/walletEditor/locales.d.ts +135 -0
  342. package/es/plus/walletEditor/types.d.ts +52 -0
  343. package/es/plus/walletPassGallery/components/passList/index.d.ts +1 -0
  344. package/es/plus/walletPassGallery/locales.d.ts +285 -0
  345. package/es/plus/walletPassGallery/serve.d.ts +243 -0
  346. package/es/plus/walletPassGallery/utils.d.ts +48 -0
  347. package/es/pro/Cards/index.d.ts +1 -0
  348. package/es/pro/Login2.0/components/LegalTerms.d.ts +8 -0
  349. package/es/pro/Login2.0/components/PhoneInput.d.ts +53 -0
  350. package/es/pro/Login2.0/components/phoneValidation.d.ts +17 -0
  351. package/es/pro/Login2.0/hooks/index.d.ts +2 -0
  352. package/es/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +24 -0
  353. package/es/pro/Login2.0/hooks/useRegisterFlow.d.ts +39 -0
  354. package/es/pro/Login2.0/hooks/useRegistrationMethods.d.ts +9 -0
  355. package/es/pro/Login2.0/locales.d.ts +543 -0
  356. package/es/pro/Login2.0/shared/Header.d.ts +11 -0
  357. package/es/pro/Login2.0/shared/registerFlow.d.ts +116 -0
  358. package/es/pro/Login2.0/shared/types.d.ts +232 -0
  359. package/es/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +12 -0
  360. package/es/pro/Login2.0/steps/VerificationSuccess.d.ts +8 -0
  361. package/es/pro/Login2.0/steps/VerifyingEmailLink.d.ts +7 -0
  362. package/es/pro/Login2.0/steps/WaitEmailLink.d.ts +18 -0
  363. package/es/pro/Login2.0/steps/index.d.ts +19 -0
  364. package/es/pro/Login2.0/types.d.ts +167 -0
  365. package/es/pro/Selector/BatchSelectorDemo.d.ts +3 -0
  366. package/es/pro/Selector/Item.d.ts +14 -0
  367. package/es/pro/Selector/Selector.d.ts +14 -0
  368. package/es/pro/Selector/Selector.stories.d.ts +78 -0
  369. package/es/pro/Selector/SelectorGroup.d.ts +11 -0
  370. package/es/pro/Selector/components/Card/types.d.ts +1 -0
  371. package/es/pro/Selector/components/IntersectionObserver.d.ts +105 -0
  372. package/es/pro/Selector/components/Media/index.d.ts +6 -0
  373. package/es/pro/Selector/components/Media/types.d.ts +47 -0
  374. package/es/pro/Selector/components/index.d.ts +4 -0
  375. package/es/pro/Selector/demo.d.ts +3 -0
  376. package/es/pro/Selector/hooks/usePresetItemProps.d.ts +43 -0
  377. package/es/pro/Selector/hooks/useSelectionController.d.ts +49 -0
  378. package/es/pro/Selector/index.d.ts +11 -0
  379. package/es/pro/Selector/locales.d.ts +36 -0
  380. package/es/pro/Selector/utils/index.d.ts +49 -0
  381. package/es/pro/numberKeyboard/locales.d.ts +12 -0
  382. package/es/pro/pisellNumberSelector/example.d.ts +3 -0
  383. package/es/pro/pisellPaymentList/example.d.ts +19 -0
  384. package/es/test/setup.d.ts +1 -0
  385. package/lib/components/Sales/Cart/index.d.ts +53 -0
  386. package/lib/components/Sales/Event/Detail.d.ts +30 -0
  387. package/lib/components/Sales/Summary/index.d.ts +35 -0
  388. package/lib/components/Sales/Summary/utils.d.ts +51 -0
  389. package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
  390. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +3 -0
  391. package/lib/components/appointmentBooking/components/Cart/index.d.ts +1 -0
  392. package/lib/components/appointmentBooking/components/ConfirmInformation/index.d.ts +4 -0
  393. package/lib/components/appointmentBooking/components/Content/index.d.ts +3 -0
  394. package/lib/components/appointmentBooking/components/Date/index.d.ts +4 -0
  395. package/lib/components/appointmentBooking/components/Footer/index.d.ts +1 -0
  396. package/lib/components/appointmentBooking/components/Header/index.d.ts +3 -0
  397. package/lib/components/appointmentBooking/components/Header/index.js +3 -8
  398. package/lib/components/appointmentBooking/components/Services/index.d.ts +4 -0
  399. package/lib/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +3 -0
  400. package/lib/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.js +89 -0
  401. package/lib/components/appointmentBooking/components/TimeSlicing/index.js +27 -7
  402. package/lib/components/appointmentBooking/components/Voucher/index.js +4 -1
  403. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +1 -0
  404. package/lib/components/appointmentBooking/hooks.d.ts +107 -0
  405. package/lib/components/appointmentBooking/hooks.js +6 -11
  406. package/lib/components/appointmentBooking/index.d.ts +3 -0
  407. package/lib/components/appointmentBooking/locales.js +3 -0
  408. package/lib/components/appointmentBooking/utils.d.ts +23 -0
  409. package/lib/components/appointmentBooking/utils.js +103 -0
  410. package/lib/components/authentication/admin/AuthMethods/SettingList.d.ts +5 -0
  411. package/lib/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +22 -0
  412. package/lib/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
  413. package/lib/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +13 -0
  414. package/lib/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
  415. package/lib/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +14 -0
  416. package/lib/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +13 -0
  417. package/lib/components/authentication/admin/AuthMethods/components/index.d.ts +10 -0
  418. package/lib/components/authentication/admin/AuthMethods/constants.d.ts +22 -0
  419. package/lib/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
  420. package/lib/components/authentication/admin/AuthMethods/types.d.ts +76 -0
  421. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
  422. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
  423. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
  424. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
  425. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
  426. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
  427. package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
  428. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/index.d.ts +8 -0
  429. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
  430. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
  431. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
  432. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
  433. package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
  434. package/lib/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
  435. package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
  436. package/lib/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
  437. package/lib/components/authentication/admin/CustomerAuth/index.d.ts +6 -0
  438. package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
  439. package/lib/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
  440. package/lib/components/authentication/admin/CustomerOAuthConfig/index.d.ts +6 -0
  441. package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
  442. package/lib/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
  443. package/lib/components/authentication/admin/DeviceAuth/index.d.ts +6 -0
  444. package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
  445. package/lib/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
  446. package/lib/components/authentication/admin/OAuthConfig/index.d.ts +6 -0
  447. package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
  448. package/lib/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
  449. package/lib/components/authentication/admin/OrgAdminAuth/index.d.ts +6 -0
  450. package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
  451. package/lib/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
  452. package/lib/components/authentication/admin/POSOperatorAuth/index.d.ts +6 -0
  453. package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
  454. package/lib/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
  455. package/lib/components/authentication/admin/SaaSAdminAuth/index.d.ts +6 -0
  456. package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
  457. package/lib/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
  458. package/lib/components/authentication/admin/index.d.ts +26 -0
  459. package/lib/components/authentication/index.d.ts +0 -0
  460. package/lib/components/booking/addons/index.d.ts +17 -0
  461. package/lib/components/booking/addons/model.d.ts +10 -1
  462. package/lib/components/booking/components/TabProduct/index.d.ts +1 -0
  463. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  464. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
  465. package/lib/components/booking/components/collapsibleList/utils.d.ts +1 -0
  466. package/lib/components/booking/components/customSelect/index.d.ts +38 -0
  467. package/lib/components/booking/components/emptyBooking/index.d.ts +1 -0
  468. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  469. package/lib/components/booking/components/reloadResourceModal/index.d.ts +9 -0
  470. package/lib/components/booking/components/tabPane/index.d.ts +4 -0
  471. package/lib/components/booking/components/voucher/index.js +4 -1
  472. package/lib/components/booking/dashboard/serve.d.ts +1 -0
  473. package/lib/components/booking/deposit/ClientItem/index.d.ts +18 -0
  474. package/lib/components/booking/deposit/DepositItem/index.d.ts +25 -0
  475. package/lib/components/booking/deposit/index.d.ts +2 -0
  476. package/lib/components/booking/editBookingModal/utils.d.ts +12 -0
  477. package/lib/components/booking/forms/footer.d.ts +1 -0
  478. package/lib/components/booking/forms/forms.d.ts +30 -0
  479. package/lib/components/booking/forms/model.d.ts +10 -1
  480. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +2 -1
  481. package/lib/components/booking/forms/serve.d.ts +18 -0
  482. package/lib/components/booking/forms/single/index.d.ts +1 -0
  483. package/lib/components/booking/forms/table/index.d.ts +1 -0
  484. package/lib/components/booking/hooks/useClearCart.d.ts +1 -0
  485. package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  486. package/lib/components/booking/info/addServiceVariant/index.d.ts +6 -0
  487. package/lib/components/booking/info/client/index.d.ts +4 -0
  488. package/lib/components/booking/info/client/serve.d.ts +2 -0
  489. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +44 -0
  490. package/lib/components/booking/info/clientVariant/utils.d.ts +1 -0
  491. package/lib/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +25 -0
  492. package/lib/components/booking/info/date/index.d.ts +5 -0
  493. package/lib/components/booking/info/dateRange/index.d.ts +1 -0
  494. package/lib/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
  495. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +9 -0
  496. package/lib/components/booking/info/index.d.ts +3 -0
  497. package/lib/components/booking/info/model.d.ts +14 -0
  498. package/lib/components/booking/info/notes/index.d.ts +1 -0
  499. package/lib/components/booking/info/pet/serve.d.ts +1 -0
  500. package/lib/components/booking/info/service/actions/index.d.ts +1 -0
  501. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  502. package/lib/components/booking/info/service/addTimeModal/index.d.ts +3 -0
  503. package/lib/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
  504. package/lib/components/booking/info/service/addTimeModal/utils.d.ts +31 -0
  505. package/lib/components/booking/info/service/editService/constants.d.ts +1 -0
  506. package/lib/components/booking/info/service/serve.d.ts +20 -0
  507. package/lib/components/booking/info/service/serviceList/index.d.ts +5 -0
  508. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  509. package/lib/components/booking/info2/index.d.ts +12 -0
  510. package/lib/components/booking/info2/serve.d.ts +6 -0
  511. package/lib/components/booking/info2/service/actions/index.d.ts +1 -0
  512. package/lib/components/booking/info2/service/addService/utils.d.ts +98 -0
  513. package/lib/components/booking/info2/service/addTimeModal/index.d.ts +3 -0
  514. package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +3 -0
  515. package/lib/components/booking/info2/service/editService/utils.d.ts +13 -0
  516. package/lib/components/booking/info2/service/index.d.ts +4 -0
  517. package/lib/components/booking/info2/service/serviceList/index.d.ts +5 -0
  518. package/lib/components/booking/info2/utilsByBooking.d.ts +35 -0
  519. package/lib/components/booking/locales.d.ts +846 -0
  520. package/lib/components/booking/locales.js +3 -0
  521. package/lib/components/booking/materiels/contacts/index.d.ts +1 -0
  522. package/lib/components/booking/materiels/duration/index.d.ts +1 -0
  523. package/lib/components/booking/materiels/holder/index.d.ts +1 -0
  524. package/lib/components/booking/materiels/startTime/index.d.ts +1 -0
  525. package/lib/components/booking/model.d.ts +120 -0
  526. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  527. package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -0
  528. package/lib/components/booking/notes/addNote/index.d.ts +3 -0
  529. package/lib/components/booking/notes/model.d.ts +10 -1
  530. package/lib/components/booking/payments/model.d.ts +10 -1
  531. package/lib/components/booking/utils.d.ts +2 -2
  532. package/lib/components/eftpos/index.d.ts +1 -0
  533. package/lib/components/eftpos/pos.d.ts +1 -0
  534. package/lib/components/eftposPay/amount.d.ts +1 -0
  535. package/lib/components/eftposPay/app.d.ts +10 -0
  536. package/lib/components/eftposPay/component/fail/failCustom.d.ts +4 -0
  537. package/lib/components/eftposPay/component/fail/index.d.ts +3 -0
  538. package/lib/components/eftposPay/component/fail/network.d.ts +1 -0
  539. package/lib/components/eftposPay/component/fail/unknow.d.ts +10 -0
  540. package/lib/components/eftposPay/component/manual/index.d.ts +1 -0
  541. package/lib/components/eftposPay/component/signature/index.d.ts +1 -0
  542. package/lib/components/eftposPay/const.d.ts +184 -0
  543. package/lib/components/eftposPay/device.d.ts +23 -0
  544. package/lib/components/eftposPay/hooks.d.ts +35 -0
  545. package/lib/components/eftposPay/index.d.ts +4 -0
  546. package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
  547. package/lib/components/eftposPay/linkly/index.d.ts +2 -0
  548. package/lib/components/eftposPay/manufacturer.d.ts +7 -0
  549. package/lib/components/eftposPay/pay.d.ts +21 -0
  550. package/lib/components/eftposPay/payo/config.d.ts +13 -0
  551. package/lib/components/eftposPay/payo/payment.d.ts +66 -0
  552. package/lib/components/eftposPay/store/index.d.ts +355 -0
  553. package/lib/components/eftposPay/tip.d.ts +1 -0
  554. package/lib/components/eftposPay/tyro/index.d.ts +9 -0
  555. package/lib/components/eftposPay/utils/log/index.d.ts +110 -0
  556. package/lib/components/eftposPay/windcave/helper.d.ts +23 -0
  557. package/lib/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  558. package/lib/components/eftposPay/windcave/windcave.d.ts +1 -0
  559. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +2 -0
  560. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +4 -0
  561. package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -0
  562. package/lib/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
  563. package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
  564. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  565. package/lib/components/eventBooking/components/Provider/Information/index.d.ts +1 -0
  566. package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -0
  567. package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -0
  568. package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
  569. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  570. package/lib/components/eventBooking/components/Voucher/hooks.d.ts +7 -0
  571. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
  572. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
  573. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
  574. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  575. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  576. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
  577. package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
  578. package/lib/components/eventBooking/index.d.ts +3 -0
  579. package/lib/components/index.d.ts +24 -0
  580. package/lib/components/kioskSkuDetail/locales.d.ts +27 -0
  581. package/lib/components/login/index.d.ts +1 -0
  582. package/lib/components/pay/toC/PaymentList/serve.d.ts +28 -0
  583. package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.d.ts +2 -0
  584. package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.d.ts +2 -0
  585. package/lib/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.d.ts +2 -0
  586. package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.d.ts +2 -0
  587. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
  588. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +2 -0
  589. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +2 -0
  590. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +2 -0
  591. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  592. package/lib/components/pay/toC/PaymentMethods/StripePay/index.js +1 -1
  593. package/lib/components/pay/toC/PaymentMethods/StripePay/serve.d.ts +2 -0
  594. package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +2 -0
  595. package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +2 -0
  596. package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +155 -0
  597. package/lib/components/pay/toC/PaymentMethods/hooks/index.d.ts +19 -0
  598. package/lib/components/pay/toC/PaymentMethods/index.d.ts +9 -0
  599. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
  600. package/lib/components/pay/toC/locales.d.ts +307 -0
  601. package/lib/components/pay/toC/model.d.ts +40 -0
  602. package/lib/components/pay/toC/serve.d.ts +62 -0
  603. package/lib/components/pay/toC/status.d.ts +13 -0
  604. package/lib/components/pay/toC/utils.d.ts +57 -0
  605. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  606. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  607. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +2 -0
  608. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  609. package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
  610. package/lib/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
  611. package/lib/components/productExtension/fields/Actor/index.d.ts +1 -0
  612. package/lib/components/productExtension/fields/Forms/index.d.ts +1 -0
  613. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  614. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  615. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  616. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  617. package/lib/components/ruleSetting/index.d.ts +9 -0
  618. package/lib/components/ruleSetting/locales.d.ts +48 -0
  619. package/lib/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  620. package/lib/components/ruleSetting/server.d.ts +4 -0
  621. package/lib/components/schedules/calendar/calendarItem.d.ts +1 -0
  622. package/lib/components/schedules/calendar/index.d.ts +1 -0
  623. package/lib/components/schedules/components/CurrentDay/index.d.ts +1 -0
  624. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  625. package/lib/components/schedules/components/ScheduleList/index.d.ts +1 -0
  626. package/lib/components/schedules/model.d.ts +9 -1
  627. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  628. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  629. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
  630. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
  631. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  632. package/lib/components/schedules/products/index.d.ts +1 -0
  633. package/lib/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  634. package/lib/components/schedules/products/list/index.d.ts +1 -0
  635. package/lib/components/schedules/resources/index.d.ts +1 -0
  636. package/lib/components/schedules/resources/list/index.d.ts +1 -0
  637. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  638. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  639. package/lib/components/schedules/schedules/index.d.ts +1 -0
  640. package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
  641. package/lib/components/shoppingCart/components/Render/index.d.ts +1 -0
  642. package/lib/components/shoppingCart/hooks/useAddService.d.ts +1 -0
  643. package/lib/components/shoppingCart/hooks/useClearCart.d.ts +1 -0
  644. package/lib/components/shoppingCart/index.d.ts +1 -0
  645. package/lib/components/shoppingCart/locales.d.ts +33 -0
  646. package/lib/components/shoppingCart/type.d.ts +48 -0
  647. package/lib/components/subTotal/locales.d.ts +42 -0
  648. package/lib/components/systemSettings/registry/components/ModuleList.d.ts +4 -0
  649. package/lib/components/systemSettings/registry/components/SectionList.d.ts +4 -0
  650. package/lib/components/systemSettings/registry/components/index.d.ts +4 -0
  651. package/lib/components/systemSettings/registry/locales.d.ts +272 -0
  652. package/lib/components/systemSettings/registry/services.d.ts +77 -0
  653. package/lib/components/systemSettings/registry/types.d.ts +126 -0
  654. package/lib/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
  655. package/lib/components/systemSettings/registry/utils/validators.d.ts +8 -0
  656. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +6 -0
  657. package/lib/components/ticketBooking/index.d.ts +7 -0
  658. package/lib/components/ticketBooking/locales.d.ts +174 -0
  659. package/lib/components/ticketBooking/serve.d.ts +287 -0
  660. package/lib/components/wallet/utils.d.ts +48 -0
  661. package/lib/components/walletList/locales.d.ts +27 -0
  662. package/lib/components/walletList/serve.d.ts +43 -0
  663. package/lib/components/walletList/types/index.d.ts +194 -0
  664. package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
  665. package/lib/components/workSpaceList/components/Card/constants.d.ts +2 -0
  666. package/lib/components/workSpaceList/components/WorkspaceItem/index.d.ts +22 -0
  667. package/lib/hooks/useEngineContext.d.ts +10 -0
  668. package/lib/hooks/usePaymentLogger.d.ts +1 -0
  669. package/lib/hooks/useWindowSize.d.ts +5 -0
  670. package/lib/index.d.ts +66 -0
  671. package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
  672. package/lib/plus/contactInfo/locales.d.ts +15 -0
  673. package/lib/plus/contactInfo/types.d.ts +91 -0
  674. package/lib/plus/contactInfo/utils.d.ts +7 -0
  675. package/lib/plus/contactInfoModal/locales.d.ts +66 -0
  676. package/lib/plus/productSelect/CategoryTabs/index.d.ts +21 -0
  677. package/lib/plus/productSelect/ProductCard/index.d.ts +47 -0
  678. package/lib/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
  679. package/lib/plus/productSelect/utils.d.ts +39 -0
  680. package/lib/plus/saasCreateOrganization/components/Header.d.ts +1 -0
  681. package/lib/plus/saasRegister/components/EntryEmail.d.ts +1 -0
  682. package/lib/plus/saasRegister/components/EntryInfo.d.ts +1 -0
  683. package/lib/plus/saasRegister/components/GoLogin.d.ts +1 -0
  684. package/lib/plus/saasRegister/components/Header.d.ts +1 -0
  685. package/lib/plus/saasRegister/components/VerifyError.d.ts +1 -0
  686. package/lib/plus/saasRegister/components/VerifyingLink.d.ts +1 -0
  687. package/lib/plus/saasRegister/components/VertifyEmail.d.ts +1 -0
  688. package/lib/plus/selectHolder/locales.d.ts +21 -0
  689. package/lib/plus/selectHolder/types.d.ts +104 -0
  690. package/lib/plus/selectHolder/utils.d.ts +9 -0
  691. package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +6 -0
  692. package/lib/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +1 -0
  693. package/lib/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +1 -0
  694. package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +1 -0
  695. package/lib/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +4 -0
  696. package/lib/plus/skuOptionsSelection/components/VariantCard/index.d.ts +4 -0
  697. package/lib/plus/skuOptionsSelection/hooks/index.d.ts +3 -0
  698. package/lib/plus/skuOptionsSelection/hooks/useLanguage.d.ts +2 -0
  699. package/lib/plus/skuOptionsSelection/hooks/useStore.d.ts +2 -0
  700. package/lib/plus/skuOptionsSelection/hooks/useSymbol.d.ts +2 -0
  701. package/lib/plus/skuOptionsSelection/index.d.ts +5 -0
  702. package/lib/plus/skuOptionsSelection/locales.d.ts +33 -0
  703. package/lib/plus/skuOptionsSelection/store/actions.d.ts +22 -0
  704. package/lib/plus/skuOptionsSelection/store/createStore.d.ts +15 -0
  705. package/lib/plus/skuOptionsSelection/store/index.d.ts +2 -0
  706. package/lib/plus/skuOptionsSelection/store/store.d.ts +4 -0
  707. package/lib/plus/skuOptionsSelection/utils/calculateOption.d.ts +6 -0
  708. package/lib/plus/skuOptionsSelection/utils/checkSkuStatus.d.ts +37 -0
  709. package/lib/plus/skuOptionsSelection/utils/index.d.ts +7 -0
  710. package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
  711. package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
  712. package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
  713. package/lib/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
  714. package/lib/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
  715. package/lib/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +20 -0
  716. package/lib/plus/walletEditor/components/relationProduct/index.d.ts +7 -0
  717. package/lib/plus/walletEditor/index.d.ts +3 -0
  718. package/lib/plus/walletEditor/locales.d.ts +135 -0
  719. package/lib/plus/walletEditor/types.d.ts +52 -0
  720. package/lib/plus/walletPassGallery/components/passList/index.d.ts +1 -0
  721. package/lib/plus/walletPassGallery/locales.d.ts +285 -0
  722. package/lib/plus/walletPassGallery/serve.d.ts +243 -0
  723. package/lib/plus/walletPassGallery/utils.d.ts +48 -0
  724. package/lib/pro/Cards/index.d.ts +1 -0
  725. package/lib/pro/Login2.0/components/LegalTerms.d.ts +8 -0
  726. package/lib/pro/Login2.0/components/PhoneInput.d.ts +53 -0
  727. package/lib/pro/Login2.0/components/phoneValidation.d.ts +17 -0
  728. package/lib/pro/Login2.0/hooks/index.d.ts +2 -0
  729. package/lib/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +24 -0
  730. package/lib/pro/Login2.0/hooks/useRegisterFlow.d.ts +39 -0
  731. package/lib/pro/Login2.0/hooks/useRegistrationMethods.d.ts +9 -0
  732. package/lib/pro/Login2.0/locales.d.ts +543 -0
  733. package/lib/pro/Login2.0/shared/Header.d.ts +11 -0
  734. package/lib/pro/Login2.0/shared/registerFlow.d.ts +116 -0
  735. package/lib/pro/Login2.0/shared/types.d.ts +232 -0
  736. package/lib/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +12 -0
  737. package/lib/pro/Login2.0/steps/VerificationSuccess.d.ts +8 -0
  738. package/lib/pro/Login2.0/steps/VerifyingEmailLink.d.ts +7 -0
  739. package/lib/pro/Login2.0/steps/WaitEmailLink.d.ts +18 -0
  740. package/lib/pro/Login2.0/steps/index.d.ts +19 -0
  741. package/lib/pro/Login2.0/types.d.ts +167 -0
  742. package/lib/pro/Selector/BatchSelectorDemo.d.ts +3 -0
  743. package/lib/pro/Selector/Item.d.ts +14 -0
  744. package/lib/pro/Selector/Selector.d.ts +14 -0
  745. package/lib/pro/Selector/Selector.stories.d.ts +78 -0
  746. package/lib/pro/Selector/SelectorGroup.d.ts +11 -0
  747. package/lib/pro/Selector/components/Card/types.d.ts +1 -0
  748. package/lib/pro/Selector/components/IntersectionObserver.d.ts +105 -0
  749. package/lib/pro/Selector/components/Media/index.d.ts +6 -0
  750. package/lib/pro/Selector/components/Media/types.d.ts +47 -0
  751. package/lib/pro/Selector/components/index.d.ts +4 -0
  752. package/lib/pro/Selector/demo.d.ts +3 -0
  753. package/lib/pro/Selector/hooks/usePresetItemProps.d.ts +43 -0
  754. package/lib/pro/Selector/hooks/useSelectionController.d.ts +49 -0
  755. package/lib/pro/Selector/index.d.ts +11 -0
  756. package/lib/pro/Selector/locales.d.ts +36 -0
  757. package/lib/pro/Selector/utils/index.d.ts +49 -0
  758. package/lib/pro/numberKeyboard/locales.d.ts +12 -0
  759. package/lib/pro/pisellNumberSelector/example.d.ts +3 -0
  760. package/lib/pro/pisellPaymentList/example.d.ts +19 -0
  761. package/lib/test/setup.d.ts +1 -0
  762. package/package.json +3 -3
@@ -39,6 +39,19 @@ export declare const formatCarts: (data: any[], resources: any[], utils: any, ac
39
39
  * @Date: 2025-04-14 11:16
40
40
  */
41
41
  export declare const sortResources: (resources: any[], resourceSort: any[]) => any[] | undefined;
42
+ /**
43
+ * @title: 处理资源列表并提取资源代码
44
+ * @description: 对资源列表进行排序,并提取 resourceCodes
45
+ * @param {any[]} resources - 原始资源列表
46
+ * @param {any[]} resourceSort - 资源排序配置
47
+ * @return {*} 返回处理后的资源列表和资源代码数组
48
+ * @Author: WangHan
49
+ * @Date: 2025-11-21 15:33
50
+ */
51
+ export declare const processResourceList: (resources: any[], resourceSort: any[]) => {
52
+ resources: any[];
53
+ resourceCodes: any;
54
+ };
42
55
  export declare const getMeAccount: (val: any[]) => any;
43
56
  export declare const getCustomer: (utils: any) => any;
44
57
  export declare const formatCustomer: (val: any) => {
@@ -201,3 +214,13 @@ export declare const currentRenderLists: (resources: any[], code: any) => any;
201
214
  * @Date: 2025-05-25 23:17
202
215
  */
203
216
  export declare const updateCartResources: (item: any, value?: any, currentSelectedResources?: any) => any;
217
+ /**
218
+ * @title: 根据步骤key清空数据
219
+ * @param {string} key - 当前步骤的key
220
+ * @param {any} appointmentBooking - 预约预订实例
221
+ * @param {(times: any[]) => void} setTimes - 设置时间列表的回调函数
222
+ * @return {string[]} 返回需要清空的数据类型数组
223
+ * @Author: WangHan
224
+ * @Date: 2025-11-21 15:40
225
+ */
226
+ export declare const clearDataByStepKey: (key: string, appointmentBooking: any, setTimes?: ((times: any[]) => void) | undefined) => string[] | undefined;
@@ -174,6 +174,32 @@ export var sortResources = function sortResources(resources, resourceSort) {
174
174
  console.log(error, 'wh2222');
175
175
  }
176
176
  };
177
+
178
+ /**
179
+ * @title: 处理资源列表并提取资源代码
180
+ * @description: 对资源列表进行排序,并提取 resourceCodes
181
+ * @param {any[]} resources - 原始资源列表
182
+ * @param {any[]} resourceSort - 资源排序配置
183
+ * @return {*} 返回处理后的资源列表和资源代码数组
184
+ * @Author: WangHan
185
+ * @Date: 2025-11-21 15:33
186
+ */
187
+ export var processResourceList = function processResourceList(resources, resourceSort) {
188
+ var _processedResources$;
189
+ var processedResources = resources.map(function (item) {
190
+ return _objectSpread(_objectSpread({}, item), {}, {
191
+ resources: sortResources((item === null || item === void 0 ? void 0 : item.resources) || [], resourceSort)
192
+ });
193
+ });
194
+ var _resources = (processedResources === null || processedResources === void 0 || (_processedResources$ = processedResources[0]) === null || _processedResources$ === void 0 ? void 0 : _processedResources$.resources) || [];
195
+ var resourceCodes = _resources.map(function (item) {
196
+ return item.code;
197
+ });
198
+ return {
199
+ resources: processedResources,
200
+ resourceCodes: resourceCodes
201
+ };
202
+ };
177
203
  export var getMeAccount = function getMeAccount(val) {
178
204
  return val === null || val === void 0 ? void 0 : val.find(function (d) {
179
205
  return !(d !== null && d !== void 0 && d.isGuest);
@@ -765,4 +791,137 @@ export var updateCartResources = function updateCartResources(item, value, curre
765
791
  });
766
792
  }
767
793
  return newResource || [];
794
+ };
795
+
796
+ // 步骤配置:定义每个步骤需要清空的数据类型(从后往前,越往前步骤清的越多)
797
+ var STEP_CLEAR_CONFIG = {
798
+ 'select-time': ['time'],
799
+ 'fill-form': ['time', 'form'],
800
+ 'select-resource': ['time', 'form', 'resource'],
801
+ 'select-date': ['time', 'form', 'resource', 'date'],
802
+ 'select-service': ['time', 'form', 'resource', 'date']
803
+ };
804
+
805
+ // 数据类型枚举
806
+
807
+ /**
808
+ * 根据key匹配步骤(支持精确匹配和startsWith匹配)
809
+ * @param key - 步骤key
810
+ * @returns 匹配到的步骤key,未匹配到返回null
811
+ */
812
+ var getMatchedStepKey = function getMatchedStepKey(key) {
813
+ // 精确匹配
814
+ if (STEP_CLEAR_CONFIG[key]) {
815
+ return key;
816
+ }
817
+ // startsWith匹配(支持 select-resource_@xxx 和 fill-form_@xxx 等)
818
+ var matchedKey = Object.keys(STEP_CLEAR_CONFIG).find(function (stepKey) {
819
+ return key.startsWith(stepKey);
820
+ });
821
+ return matchedKey || null;
822
+ };
823
+
824
+ /**
825
+ * 创建清空操作的映射
826
+ */
827
+ var createClearActions = function createClearActions(appointmentBooking, setTimes) {
828
+ return {
829
+ time: function time() {
830
+ appointmentBooking.deleteCartItemInfo('time');
831
+ setTimes === null || setTimes === void 0 || setTimes([]);
832
+ },
833
+ resource: function resource() {
834
+ appointmentBooking.deleteCartItemInfo('resource');
835
+ },
836
+ form: function form() {
837
+ appointmentBooking.deleteCartItemInfo('relationForms');
838
+ appointmentBooking.removeStep('fill-form');
839
+ },
840
+ date: function date() {
841
+ var _appointmentBooking$o2;
842
+ var _ref4 = (appointmentBooking === null || appointmentBooking === void 0 || (_appointmentBooking$o2 = appointmentBooking.otherParams) === null || _appointmentBooking$o2 === void 0 ? void 0 : _appointmentBooking$o2.productModuleParams) || {},
843
+ bookingProcess = _ref4.bookingProcess;
844
+
845
+ // 如果不是先选择日期步骤,则清空日期
846
+ if (bookingProcess !== 'date_first') {
847
+ appointmentBooking.clearDateRange();
848
+ }
849
+ }
850
+ };
851
+ };
852
+
853
+ /**
854
+ * 处理选择服务步骤的特殊逻辑:清空所有相关的资源和表单步骤
855
+ */
856
+ var clearServiceRelatedSteps = function clearServiceRelatedSteps(appointmentBooking) {
857
+ var stepList = (appointmentBooking === null || appointmentBooking === void 0 ? void 0 : appointmentBooking.getStepList()) || [];
858
+ var stepKeysToRemove = ['select-resource_', 'fill-form_'];
859
+ stepList.forEach(function (item) {
860
+ // 如果某个步骤是跳过的,则取消跳过
861
+ if (item !== null && item !== void 0 && item.isSkip) {
862
+ appointmentBooking.updateStep(item.key, {
863
+ key: item.key,
864
+ isSkip: false
865
+ });
866
+ }
867
+ var shouldRemove = stepKeysToRemove.some(function (prefix) {
868
+ var _item$key;
869
+ return (_item$key = item.key) === null || _item$key === void 0 ? void 0 : _item$key.startsWith(prefix);
870
+ });
871
+ if (shouldRemove) {
872
+ appointmentBooking.removeStep(item.key);
873
+ }
874
+ });
875
+ };
876
+
877
+ /**
878
+ * 执行清空操作
879
+ */
880
+ var executeClearActions = function executeClearActions(dataTypes, clearActions) {
881
+ // 去重后执行
882
+ var uniqueTypes = Array.from(new Set(dataTypes));
883
+ uniqueTypes.forEach(function (type) {
884
+ var action = clearActions[type];
885
+ if (action) {
886
+ action();
887
+ }
888
+ });
889
+ };
890
+
891
+ /**
892
+ * @title: 根据步骤key清空数据
893
+ * @param {string} key - 当前步骤的key
894
+ * @param {any} appointmentBooking - 预约预订实例
895
+ * @param {(times: any[]) => void} setTimes - 设置时间列表的回调函数
896
+ * @return {string[]} 返回需要清空的数据类型数组
897
+ * @Author: WangHan
898
+ * @Date: 2025-11-21 15:40
899
+ */
900
+ export var clearDataByStepKey = function clearDataByStepKey(key, appointmentBooking, setTimes) {
901
+ // 参数校验
902
+ if (!key || !appointmentBooking) {
903
+ return;
904
+ }
905
+
906
+ // 选择服务步骤的特殊处理
907
+ if (key === 'select-service') {
908
+ clearServiceRelatedSteps(appointmentBooking);
909
+ }
910
+
911
+ // 匹配步骤key
912
+ var stepKey = getMatchedStepKey(key);
913
+ if (!stepKey) {
914
+ return;
915
+ }
916
+
917
+ // 获取需要清空的数据类型
918
+ var clearDataTypes = STEP_CLEAR_CONFIG[stepKey] || [];
919
+ if (clearDataTypes.length === 0) {
920
+ return clearDataTypes;
921
+ }
922
+
923
+ // 创建清空操作并执行
924
+ var clearActions = createClearActions(appointmentBooking, setTimes);
925
+ executeClearActions(clearDataTypes, clearActions);
926
+ return clearDataTypes;
768
927
  };
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { AuthMethodsProps } from './types';
3
+ import './SettingList.less';
4
+ declare const SettingList: React.FC<AuthMethodsProps>;
5
+ export default SettingList;
@@ -0,0 +1,22 @@
1
+ import React from 'react';
2
+ import { AuthMethod } from './types';
3
+ import { EmailSettings, PhoneSettings, DefaultSettings, PasswordRulesSettings } from './components';
4
+ import './SettingsDrawer.less';
5
+ interface SettingsDrawerProps {
6
+ open: boolean;
7
+ method: AuthMethod | null;
8
+ onClose: () => void;
9
+ onSave?: (settings: EmailSettings | PhoneSettings | DefaultSettings | PasswordRulesSettings) => void;
10
+ /**
11
+ * 模式:
12
+ * - 'auth-methods': 来自AuthMethods组件,显示所有设置包括启用/禁用
13
+ * - 'setting-list': 来自SettingList组件,不显示默认的启用/禁用设置
14
+ */
15
+ mode?: 'auth-methods' | 'setting-list';
16
+ /**
17
+ * 初始设置值
18
+ */
19
+ initialSettings?: EmailSettings | PhoneSettings | DefaultSettings | PasswordRulesSettings;
20
+ }
21
+ declare const SettingsDrawer: React.FC<SettingsDrawerProps>;
22
+ export default SettingsDrawer;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { AuthMethod } from '../types';
3
+ interface DefaultSettingsContentProps {
4
+ method: AuthMethod;
5
+ onSettingsChange?: (settings: DefaultSettings) => void;
6
+ }
7
+ export interface DefaultSettings {
8
+ enabled: boolean;
9
+ }
10
+ declare const DefaultSettingsContent: React.FC<DefaultSettingsContentProps>;
11
+ export default DefaultSettingsContent;
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { LoginMethod } from './LoginMethodsList';
3
+ interface EmailSettingsContentProps {
4
+ onSettingsChange?: (settings: EmailSettings) => void;
5
+ initialSettings?: EmailSettings;
6
+ }
7
+ export interface EmailSettings {
8
+ enableRegistration: boolean;
9
+ verificationType: 'link' | 'code';
10
+ loginMethods: LoginMethod[];
11
+ }
12
+ declare const EmailSettingsContent: React.FC<EmailSettingsContentProps>;
13
+ export default EmailSettingsContent;
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ export interface LoginMethod {
3
+ id: string;
4
+ title: string;
5
+ description: string;
6
+ enabled: boolean;
7
+ }
8
+ interface LoginMethodsListProps {
9
+ methods: LoginMethod[];
10
+ onMethodsChange?: (methods: LoginMethod[]) => void;
11
+ }
12
+ declare const LoginMethodsList: React.FC<LoginMethodsListProps>;
13
+ export default LoginMethodsList;
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ interface PasswordRulesSettingsContentProps {
3
+ onSettingsChange?: (settings: PasswordRulesSettings) => void;
4
+ initialSettings?: PasswordRulesSettings;
5
+ }
6
+ export interface PasswordRulesSettings {
7
+ minLength: number;
8
+ requireUppercase: boolean;
9
+ requireLowercase: boolean;
10
+ requireNumbers: boolean;
11
+ requireSpecialChars: boolean;
12
+ }
13
+ declare const PasswordRulesSettingsContent: React.FC<PasswordRulesSettingsContentProps>;
14
+ export default PasswordRulesSettingsContent;
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { LoginMethod } from './LoginMethodsList';
3
+ interface PhoneSettingsContentProps {
4
+ onSettingsChange?: (settings: PhoneSettings) => void;
5
+ initialSettings?: PhoneSettings;
6
+ }
7
+ export interface PhoneSettings {
8
+ enableRegistration: boolean;
9
+ verificationType: 'sms';
10
+ loginMethods: LoginMethod[];
11
+ }
12
+ declare const PhoneSettingsContent: React.FC<PhoneSettingsContentProps>;
13
+ export default PhoneSettingsContent;
@@ -0,0 +1,10 @@
1
+ export { default as LoginMethodsList } from './LoginMethodsList';
2
+ export type { LoginMethod } from './LoginMethodsList';
3
+ export { default as EmailSettingsContent } from './EmailSettingsContent';
4
+ export type { EmailSettings } from './EmailSettingsContent';
5
+ export { default as PhoneSettingsContent } from './PhoneSettingsContent';
6
+ export type { PhoneSettings } from './PhoneSettingsContent';
7
+ export { default as DefaultSettingsContent } from './DefaultSettingsContent';
8
+ export type { DefaultSettings } from './DefaultSettingsContent';
9
+ export { default as PasswordRulesSettingsContent } from './PasswordRulesSettingsContent';
10
+ export type { PasswordRulesSettings } from './PasswordRulesSettingsContent';
@@ -0,0 +1,22 @@
1
+ import { AuthMethod } from './types';
2
+ /**
3
+ * 获取默认的认证方法列表(支持多语言)
4
+ * 每次调用都会根据当前语言设置返回对应的文本
5
+ * @returns 认证方法数组
6
+ */
7
+ export declare const getDefaultAuthMethods: () => AuthMethod[];
8
+ /**
9
+ * 默认认证方法列表(已废弃,仅保留用于向后兼容)
10
+ * @deprecated 请使用 getDefaultAuthMethods() 函数以获取实时的多语言支持
11
+ *
12
+ * 注意:此常量在模块加载时初始化,使用模块首次加载时的语言设置
13
+ * 如果需要响应语言切换,请直接调用 getDefaultAuthMethods() 函数
14
+ */
15
+ export declare const DEFAULT_AUTH_METHODS: AuthMethod[];
16
+ /**
17
+ * 获取密码规则设置项(支持多语言)
18
+ * 每次调用都会根据当前语言设置返回对应的文本
19
+ * @param id - 密码规则的唯一标识符,用于区分不同场景下的密码规则
20
+ * @returns 密码规则设置数组
21
+ */
22
+ export declare const getPasswordRulesSetting: (id?: string) => AuthMethod[];
@@ -0,0 +1,249 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'auth.method.email.title': string;
4
+ 'auth.method.email.description': string;
5
+ 'auth.method.phone.title': string;
6
+ 'auth.method.phone.description': string;
7
+ 'auth.method.facebook.title': string;
8
+ 'auth.method.facebook.description': string;
9
+ 'auth.method.apple.title': string;
10
+ 'auth.method.apple.description': string;
11
+ 'auth.method.guest.title': string;
12
+ 'auth.method.guest.description': string;
13
+ 'auth.login.method.password.title': string;
14
+ 'auth.login.method.password.email.description': string;
15
+ 'auth.login.method.password.phone.description': string;
16
+ 'auth.login.method.magic-link.title': string;
17
+ 'auth.login.method.magic-link.description': string;
18
+ 'auth.login.method.verification-code.title': string;
19
+ 'auth.login.method.verification-code.description': string;
20
+ 'auth.login.method.sms.title': string;
21
+ 'auth.login.method.sms.description': string;
22
+ 'auth.email.settings': string;
23
+ 'auth.phone.settings': string;
24
+ 'auth.email.registration.title': string;
25
+ 'auth.email.registration.enable': string;
26
+ 'auth.email.registration.enable.description': string;
27
+ 'auth.email.verification.title': string;
28
+ 'auth.email.verification.description': string;
29
+ 'auth.email.verification.link': string;
30
+ 'auth.email.verification.link.description': string;
31
+ 'auth.email.verification.code': string;
32
+ 'auth.email.verification.code.description': string;
33
+ 'auth.email.verification.note': string;
34
+ 'auth.email.verification.note.description': string;
35
+ 'auth.email.login.title': string;
36
+ 'auth.email.login.description': string;
37
+ 'auth.email.login.password': string;
38
+ 'auth.email.login.password.description': string;
39
+ 'auth.email.login.magic-link': string;
40
+ 'auth.email.login.magic-link.description': string;
41
+ 'auth.email.login.verification-code': string;
42
+ 'auth.email.login.verification-code.description': string;
43
+ 'auth.phone.registration.title': string;
44
+ 'auth.phone.registration.enable': string;
45
+ 'auth.phone.registration.enable.description': string;
46
+ 'auth.phone.verification.title': string;
47
+ 'auth.phone.verification.description': string;
48
+ 'auth.phone.verification.sms': string;
49
+ 'auth.phone.verification.sms.description': string;
50
+ 'auth.phone.login.title': string;
51
+ 'auth.phone.login.description': string;
52
+ 'auth.phone.login.password': string;
53
+ 'auth.phone.login.password.description': string;
54
+ 'auth.phone.login.sms': string;
55
+ 'auth.phone.login.sms.description': string;
56
+ 'auth.password.settings': string;
57
+ 'auth.password.rules.title': string;
58
+ 'auth.password.rules.description': string;
59
+ 'auth.password.requirements.title': string;
60
+ 'auth.password.requirements.description': string;
61
+ 'auth.password.min.length': string;
62
+ 'auth.password.min.length.description': string;
63
+ 'auth.password.requirements': string;
64
+ 'auth.password.requirements.character': string;
65
+ 'auth.password.require.uppercase': string;
66
+ 'auth.password.require.uppercase.description': string;
67
+ 'auth.password.require.lowercase': string;
68
+ 'auth.password.require.lowercase.description': string;
69
+ 'auth.password.require.numbers': string;
70
+ 'auth.password.require.numbers.description': string;
71
+ 'auth.password.require.special': string;
72
+ 'auth.password.require.special.description': string;
73
+ 'auth.button.cancel': string;
74
+ 'auth.button.save': string;
75
+ 'auth.button.settings': string;
76
+ 'auth.category.general': string;
77
+ 'auth.category.password-free': string;
78
+ 'auth.category.auth-free': string;
79
+ 'auth.category.oauth': string;
80
+ 'auth.oauth.config.message': string;
81
+ 'auth.oauth.config.link': string;
82
+ 'auth.settings.no.additional': string;
83
+ };
84
+ 'zh-CN': {
85
+ 'auth.method.email.title': string;
86
+ 'auth.method.email.description': string;
87
+ 'auth.method.phone.title': string;
88
+ 'auth.method.phone.description': string;
89
+ 'auth.method.facebook.title': string;
90
+ 'auth.method.facebook.description': string;
91
+ 'auth.method.apple.title': string;
92
+ 'auth.method.apple.description': string;
93
+ 'auth.method.guest.title': string;
94
+ 'auth.method.guest.description': string;
95
+ 'auth.login.method.password.title': string;
96
+ 'auth.login.method.password.email.description': string;
97
+ 'auth.login.method.password.phone.description': string;
98
+ 'auth.login.method.magic-link.title': string;
99
+ 'auth.login.method.magic-link.description': string;
100
+ 'auth.login.method.verification-code.title': string;
101
+ 'auth.login.method.verification-code.description': string;
102
+ 'auth.login.method.sms.title': string;
103
+ 'auth.login.method.sms.description': string;
104
+ 'auth.email.settings': string;
105
+ 'auth.phone.settings': string;
106
+ 'auth.email.registration.title': string;
107
+ 'auth.email.registration.enable': string;
108
+ 'auth.email.registration.enable.description': string;
109
+ 'auth.email.verification.title': string;
110
+ 'auth.email.verification.description': string;
111
+ 'auth.email.verification.link': string;
112
+ 'auth.email.verification.link.description': string;
113
+ 'auth.email.verification.code': string;
114
+ 'auth.email.verification.code.description': string;
115
+ 'auth.email.verification.note': string;
116
+ 'auth.email.verification.note.description': string;
117
+ 'auth.email.login.title': string;
118
+ 'auth.email.login.description': string;
119
+ 'auth.email.login.password': string;
120
+ 'auth.email.login.password.description': string;
121
+ 'auth.email.login.magic-link': string;
122
+ 'auth.email.login.magic-link.description': string;
123
+ 'auth.email.login.verification-code': string;
124
+ 'auth.email.login.verification-code.description': string;
125
+ 'auth.phone.registration.title': string;
126
+ 'auth.phone.registration.enable': string;
127
+ 'auth.phone.registration.enable.description': string;
128
+ 'auth.phone.verification.title': string;
129
+ 'auth.phone.verification.description': string;
130
+ 'auth.phone.verification.sms': string;
131
+ 'auth.phone.verification.sms.description': string;
132
+ 'auth.phone.login.title': string;
133
+ 'auth.phone.login.description': string;
134
+ 'auth.phone.login.password': string;
135
+ 'auth.phone.login.password.description': string;
136
+ 'auth.phone.login.sms': string;
137
+ 'auth.phone.login.sms.description': string;
138
+ 'auth.password.settings': string;
139
+ 'auth.password.rules.title': string;
140
+ 'auth.password.rules.description': string;
141
+ 'auth.password.requirements.title': string;
142
+ 'auth.password.requirements.description': string;
143
+ 'auth.password.min.length': string;
144
+ 'auth.password.min.length.description': string;
145
+ 'auth.password.requirements': string;
146
+ 'auth.password.requirements.character': string;
147
+ 'auth.password.require.uppercase': string;
148
+ 'auth.password.require.uppercase.description': string;
149
+ 'auth.password.require.lowercase': string;
150
+ 'auth.password.require.lowercase.description': string;
151
+ 'auth.password.require.numbers': string;
152
+ 'auth.password.require.numbers.description': string;
153
+ 'auth.password.require.special': string;
154
+ 'auth.password.require.special.description': string;
155
+ 'auth.button.cancel': string;
156
+ 'auth.button.save': string;
157
+ 'auth.button.settings': string;
158
+ 'auth.category.general': string;
159
+ 'auth.category.password-free': string;
160
+ 'auth.category.auth-free': string;
161
+ 'auth.category.oauth': string;
162
+ 'auth.oauth.config.message': string;
163
+ 'auth.oauth.config.link': string;
164
+ 'auth.settings.no.additional': string;
165
+ };
166
+ 'zh-HK': {
167
+ 'auth.method.email.title': string;
168
+ 'auth.method.email.description': string;
169
+ 'auth.method.phone.title': string;
170
+ 'auth.method.phone.description': string;
171
+ 'auth.method.facebook.title': string;
172
+ 'auth.method.facebook.description': string;
173
+ 'auth.method.apple.title': string;
174
+ 'auth.method.apple.description': string;
175
+ 'auth.method.guest.title': string;
176
+ 'auth.method.guest.description': string;
177
+ 'auth.login.method.password.title': string;
178
+ 'auth.login.method.password.email.description': string;
179
+ 'auth.login.method.password.phone.description': string;
180
+ 'auth.login.method.magic-link.title': string;
181
+ 'auth.login.method.magic-link.description': string;
182
+ 'auth.login.method.verification-code.title': string;
183
+ 'auth.login.method.verification-code.description': string;
184
+ 'auth.login.method.sms.title': string;
185
+ 'auth.login.method.sms.description': string;
186
+ 'auth.email.settings': string;
187
+ 'auth.phone.settings': string;
188
+ 'auth.email.registration.title': string;
189
+ 'auth.email.registration.enable': string;
190
+ 'auth.email.registration.enable.description': string;
191
+ 'auth.email.verification.title': string;
192
+ 'auth.email.verification.description': string;
193
+ 'auth.email.verification.link': string;
194
+ 'auth.email.verification.link.description': string;
195
+ 'auth.email.verification.code': string;
196
+ 'auth.email.verification.code.description': string;
197
+ 'auth.email.verification.note': string;
198
+ 'auth.email.verification.note.description': string;
199
+ 'auth.email.login.title': string;
200
+ 'auth.email.login.description': string;
201
+ 'auth.email.login.password': string;
202
+ 'auth.email.login.password.description': string;
203
+ 'auth.email.login.magic-link': string;
204
+ 'auth.email.login.magic-link.description': string;
205
+ 'auth.email.login.verification-code': string;
206
+ 'auth.email.login.verification-code.description': string;
207
+ 'auth.phone.registration.title': string;
208
+ 'auth.phone.registration.enable': string;
209
+ 'auth.phone.registration.enable.description': string;
210
+ 'auth.phone.verification.title': string;
211
+ 'auth.phone.verification.description': string;
212
+ 'auth.phone.verification.sms': string;
213
+ 'auth.phone.verification.sms.description': string;
214
+ 'auth.phone.login.title': string;
215
+ 'auth.phone.login.description': string;
216
+ 'auth.phone.login.password': string;
217
+ 'auth.phone.login.password.description': string;
218
+ 'auth.phone.login.sms': string;
219
+ 'auth.phone.login.sms.description': string;
220
+ 'auth.password.settings': string;
221
+ 'auth.password.rules.title': string;
222
+ 'auth.password.rules.description': string;
223
+ 'auth.password.requirements.title': string;
224
+ 'auth.password.requirements.description': string;
225
+ 'auth.password.min.length': string;
226
+ 'auth.password.min.length.description': string;
227
+ 'auth.password.requirements': string;
228
+ 'auth.password.requirements.character': string;
229
+ 'auth.password.require.uppercase': string;
230
+ 'auth.password.require.uppercase.description': string;
231
+ 'auth.password.require.lowercase': string;
232
+ 'auth.password.require.lowercase.description': string;
233
+ 'auth.password.require.numbers': string;
234
+ 'auth.password.require.numbers.description': string;
235
+ 'auth.password.require.special': string;
236
+ 'auth.password.require.special.description': string;
237
+ 'auth.button.cancel': string;
238
+ 'auth.button.save': string;
239
+ 'auth.button.settings': string;
240
+ 'auth.category.general': string;
241
+ 'auth.category.password-free': string;
242
+ 'auth.category.auth-free': string;
243
+ 'auth.category.oauth': string;
244
+ 'auth.oauth.config.message': string;
245
+ 'auth.oauth.config.link': string;
246
+ 'auth.settings.no.additional': string;
247
+ };
248
+ };
249
+ export default _default;
@@ -0,0 +1,76 @@
1
+ /// <reference types="react" />
2
+ export declare enum AuthMethodType {
3
+ EMAIL = "email",
4
+ PHONE = "phone",
5
+ WALLET_PIN = "wallet_pin",
6
+ CUSTOMER_PASSCODE = "customer_passcode",
7
+ DEVICE_PASSCODE = "device_passcode",
8
+ TEAM_MEMBER = "team_member",
9
+ PASSWORD_RULES = "password_rules",
10
+ GUEST = "guest",
11
+ WALK_IN = "walk_in",
12
+ GOOGLE = "google",
13
+ FACEBOOK = "facebook",
14
+ APPLE = "apple",
15
+ DIGIT_ID_PIN = "digit_id_pin"
16
+ }
17
+ export declare enum AuthMethodCategory {
18
+ GENERAL = "General",
19
+ PASSWORD_FREE = "Password-free",
20
+ AUTH_FREE = "Auth-free",
21
+ OAUTH = "OAuth"
22
+ }
23
+ export interface AuthMethod {
24
+ id: string;
25
+ type: AuthMethodType;
26
+ title: string;
27
+ category: AuthMethodCategory;
28
+ description: string;
29
+ icon: React.ReactNode;
30
+ enabled: boolean;
31
+ hasSettings: boolean;
32
+ sort?: number;
33
+ configLink?: string;
34
+ requiresOAuthConfig?: boolean;
35
+ inheritMessage?: string;
36
+ disableToggle?: boolean;
37
+ }
38
+ export interface AuthMethodsProps {
39
+ /**
40
+ * 自定义类名
41
+ */
42
+ className?: string;
43
+ /**
44
+ * 自定义样式
45
+ */
46
+ style?: React.CSSProperties;
47
+ /**
48
+ * 认证方法列表
49
+ */
50
+ methods?: AuthMethod[];
51
+ /**
52
+ * 顺序变化回调
53
+ */
54
+ onOrderChange?: (methods: AuthMethod[]) => void;
55
+ /**
56
+ * 启用/禁用回调
57
+ */
58
+ onToggle?: (method: AuthMethod, enabled: boolean) => void;
59
+ /**
60
+ * 设置按钮点击回调
61
+ */
62
+ onSettings?: (method: AuthMethod) => void;
63
+ /**
64
+ * 配置链接点击回调
65
+ */
66
+ onConfigClick?: (method: AuthMethod) => void;
67
+ /**
68
+ * 是否启用设置按钮
69
+ * @default true
70
+ */
71
+ enableSetting?: boolean;
72
+ /**
73
+ * 自定义标题渲染函数
74
+ */
75
+ renderTitle?: (method: AuthMethod) => React.ReactNode;
76
+ }
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { AuthenticationMethodsProps } from './types';
3
+ import './AuthenticationMethods.less';
4
+ declare const AuthenticationMethods: React.FC<AuthenticationMethodsProps>;
5
+ export default AuthenticationMethods;
6
+ export type { AuthenticationMethodsProps, AuthenticationMethodsValue, GlobalAuthMethod } from './types';