@pisell/private-materials 3.4.39 → 3.4.41

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 (607) 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 +8 -8
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +9 -9
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +9 -9
  11. package/es/businessModel/SalesModel/index.d.ts +0 -1
  12. package/es/components/Sales/Summary/utils.d.ts +1 -1
  13. package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
  14. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -1
  15. package/es/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  16. package/es/components/appointmentBooking/components/Content/index.d.ts +0 -1
  17. package/es/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
  18. package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  19. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  20. package/es/components/appointmentBooking/components/Header/index.d.ts +0 -1
  21. package/es/components/appointmentBooking/components/Voucher/index.d.ts +0 -1
  22. package/es/components/appointmentBooking/deposit/index.d.ts +0 -1
  23. package/es/components/appointmentBooking/index.d.ts +0 -1
  24. package/es/components/authentication/admin/AuthMethods/AuthMethods.less +134 -0
  25. package/es/components/authentication/admin/AuthMethods/SettingList.d.ts +5 -0
  26. package/es/components/authentication/admin/AuthMethods/SettingList.js +62 -0
  27. package/es/components/authentication/admin/AuthMethods/SettingList.less +85 -0
  28. package/es/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +22 -0
  29. package/es/components/authentication/admin/AuthMethods/SettingsDrawer.js +121 -0
  30. package/es/components/authentication/admin/AuthMethods/SettingsDrawer.less +163 -0
  31. package/es/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
  32. package/es/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.js +15 -0
  33. package/es/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +13 -0
  34. package/es/components/authentication/admin/AuthMethods/components/EmailSettingsContent.js +152 -0
  35. package/es/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
  36. package/es/components/authentication/admin/AuthMethods/components/LoginMethodsList.js +114 -0
  37. package/es/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +14 -0
  38. package/es/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.js +170 -0
  39. package/es/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +13 -0
  40. package/es/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.js +116 -0
  41. package/es/components/authentication/admin/AuthMethods/components/index.d.ts +10 -0
  42. package/es/components/authentication/admin/AuthMethods/components/index.js +5 -0
  43. package/es/components/authentication/admin/AuthMethods/constants.d.ts +22 -0
  44. package/es/components/authentication/admin/AuthMethods/constants.js +121 -0
  45. package/es/components/authentication/admin/AuthMethods/index.d.ts +8 -0
  46. package/es/components/authentication/admin/AuthMethods/index.js +210 -0
  47. package/es/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
  48. package/es/components/authentication/admin/AuthMethods/locales.js +290 -0
  49. package/es/components/authentication/admin/AuthMethods/types.d.ts +76 -0
  50. package/es/components/authentication/admin/AuthMethods/types.js +23 -0
  51. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/AuthenticationMethods.less +231 -0
  52. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
  53. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.js +447 -0
  54. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
  55. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.js +107 -0
  56. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
  57. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.js +1 -0
  58. package/es/components/authentication/admin/ChannelAuthSetting/ChannelAuthSetting.less +111 -0
  59. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/CollectInfo.less +259 -0
  60. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
  61. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.js +530 -0
  62. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
  63. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.js +86 -0
  64. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
  65. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.js +1 -0
  66. package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
  67. package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.js +460 -0
  68. package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.less +111 -0
  69. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/PageSetting.less +105 -0
  70. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/index.d.ts +8 -0
  71. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/index.js +185 -0
  72. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
  73. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.js +32 -0
  74. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
  75. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/types.js +1 -0
  76. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/PageSettingItem.less +272 -0
  77. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +8 -0
  78. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.js +214 -0
  79. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
  80. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.js +71 -0
  81. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
  82. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.js +1 -0
  83. package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
  84. package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.js +287 -0
  85. package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.less +111 -0
  86. package/es/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
  87. package/es/components/authentication/admin/ChannelAuthSetting/index.js +228 -0
  88. package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
  89. package/es/components/authentication/admin/ChannelAuthSetting/locales.js +50 -0
  90. package/es/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
  91. package/es/components/authentication/admin/ChannelAuthSetting/types.js +1 -0
  92. package/es/components/authentication/admin/CustomerAuth/CustomerAuth.less +104 -0
  93. package/es/components/authentication/admin/CustomerAuth/index.d.ts +6 -0
  94. package/es/components/authentication/admin/CustomerAuth/index.js +711 -0
  95. package/es/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
  96. package/es/components/authentication/admin/CustomerAuth/locales.js +86 -0
  97. package/es/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
  98. package/es/components/authentication/admin/CustomerAuth/types.js +1 -0
  99. package/es/components/authentication/admin/CustomerOAuthConfig/CustomerOAuthConfig.less +164 -0
  100. package/es/components/authentication/admin/CustomerOAuthConfig/index.d.ts +6 -0
  101. package/es/components/authentication/admin/CustomerOAuthConfig/index.js +545 -0
  102. package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
  103. package/es/components/authentication/admin/CustomerOAuthConfig/locales.js +137 -0
  104. package/es/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
  105. package/es/components/authentication/admin/CustomerOAuthConfig/types.js +1 -0
  106. package/es/components/authentication/admin/DeviceAuth/DeviceAuth.less +104 -0
  107. package/es/components/authentication/admin/DeviceAuth/index.d.ts +6 -0
  108. package/es/components/authentication/admin/DeviceAuth/index.js +366 -0
  109. package/es/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
  110. package/es/components/authentication/admin/DeviceAuth/locales.js +74 -0
  111. package/es/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
  112. package/es/components/authentication/admin/DeviceAuth/types.js +1 -0
  113. package/es/components/authentication/admin/OAuthConfig/OAuthConfig.less +165 -0
  114. package/es/components/authentication/admin/OAuthConfig/index.d.ts +6 -0
  115. package/es/components/authentication/admin/OAuthConfig/index.js +347 -0
  116. package/es/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
  117. package/es/components/authentication/admin/OAuthConfig/locales.js +116 -0
  118. package/es/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
  119. package/es/components/authentication/admin/OAuthConfig/types.js +1 -0
  120. package/es/components/authentication/admin/OrgAdminAuth/OrgAdminAuth.less +104 -0
  121. package/es/components/authentication/admin/OrgAdminAuth/index.d.ts +6 -0
  122. package/es/components/authentication/admin/OrgAdminAuth/index.js +543 -0
  123. package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
  124. package/es/components/authentication/admin/OrgAdminAuth/locales.js +74 -0
  125. package/es/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
  126. package/es/components/authentication/admin/OrgAdminAuth/types.js +1 -0
  127. package/es/components/authentication/admin/POSOperatorAuth/POSOperatorAuth.less +104 -0
  128. package/es/components/authentication/admin/POSOperatorAuth/index.d.ts +6 -0
  129. package/es/components/authentication/admin/POSOperatorAuth/index.js +374 -0
  130. package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
  131. package/es/components/authentication/admin/POSOperatorAuth/locales.js +65 -0
  132. package/es/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
  133. package/es/components/authentication/admin/POSOperatorAuth/types.js +1 -0
  134. package/es/components/authentication/admin/SaaSAdminAuth/SaaSAdminAuth.less +104 -0
  135. package/es/components/authentication/admin/SaaSAdminAuth/index.d.ts +6 -0
  136. package/es/components/authentication/admin/SaaSAdminAuth/index.js +625 -0
  137. package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
  138. package/es/components/authentication/admin/SaaSAdminAuth/locales.js +74 -0
  139. package/es/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
  140. package/es/components/authentication/admin/SaaSAdminAuth/types.js +1 -0
  141. package/es/components/authentication/admin/index.d.ts +26 -0
  142. package/es/components/authentication/admin/index.js +23 -0
  143. package/es/components/authentication/index.d.ts +0 -0
  144. package/es/components/authentication/index.js +0 -0
  145. package/es/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
  146. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  147. package/es/components/booking/components/collapsibleList/utils.d.ts +0 -1
  148. package/es/components/booking/components/emptyBooking/index.d.ts +0 -1
  149. package/es/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  150. package/es/components/booking/components/footer/index.d.ts +0 -1
  151. package/es/components/booking/components/footer/utils.js +22 -9
  152. package/es/components/booking/deposit/index.d.ts +0 -1
  153. package/es/components/booking/forms/footer.d.ts +0 -1
  154. package/es/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  155. package/es/components/booking/forms/single/index.d.ts +0 -1
  156. package/es/components/booking/hooks/useClearCart.d.ts +0 -1
  157. package/es/components/booking/hooks/useQuotation.d.ts +0 -1
  158. package/es/components/booking/info/addServiceVariant/index.d.ts +0 -1
  159. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
  160. package/es/components/booking/info/date/index.d.ts +0 -1
  161. package/es/components/booking/info/dateRange/index.d.ts +0 -1
  162. package/es/components/booking/info/header/index.d.ts +0 -1
  163. package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  164. package/es/components/booking/info/index.d.ts +0 -1
  165. package/es/components/booking/info/notes/index.d.ts +0 -1
  166. package/es/components/booking/info/service/Lists.d.ts +0 -1
  167. package/es/components/booking/info/service/actions/index.d.ts +0 -1
  168. package/es/components/booking/info/service/addService/index.d.ts +0 -1
  169. package/es/components/booking/info/service/addTimeModal/index.d.ts +0 -1
  170. package/es/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  171. package/es/components/booking/info/service/serviceItem/index.d.ts +0 -1
  172. package/es/components/booking/info/service/serviceList/index.d.ts +0 -1
  173. package/es/components/booking/info/service2/Lists.d.ts +0 -1
  174. package/es/components/booking/info2/service/actions/index.d.ts +0 -1
  175. package/es/components/booking/info2/service/addTimeModal/index.d.ts +0 -1
  176. package/es/components/booking/info2/service/serviceItem/index.d.ts +0 -1
  177. package/es/components/booking/info2/service/serviceList/index.d.ts +0 -1
  178. package/es/components/booking/materiels/contacts/index.d.ts +0 -1
  179. package/es/components/booking/materiels/duration/index.d.ts +0 -1
  180. package/es/components/booking/materiels/holder/index.d.ts +0 -1
  181. package/es/components/booking/materiels/startTime/index.d.ts +0 -1
  182. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  183. package/es/components/booking/notes/NoteBlock/index.d.ts +0 -1
  184. package/es/components/booking/notes/addNote/index.d.ts +0 -1
  185. package/es/components/booking/utils.d.ts +2 -2
  186. package/es/components/eftpos/index.d.ts +0 -1
  187. package/es/components/eftpos/pos.d.ts +0 -1
  188. package/es/components/eftpos/surcharge/index.d.ts +0 -1
  189. package/es/components/eftposPay/amount.d.ts +1 -2
  190. package/es/components/eftposPay/app.d.ts +0 -1
  191. package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -1
  192. package/es/components/eftposPay/component/fail/index.d.ts +0 -1
  193. package/es/components/eftposPay/component/fail/network.d.ts +0 -1
  194. package/es/components/eftposPay/component/fail/unknow.d.ts +0 -1
  195. package/es/components/eftposPay/component/manual/index.d.ts +0 -1
  196. package/es/components/eftposPay/component/signature/index.d.ts +0 -1
  197. package/es/components/eftposPay/device.d.ts +1 -2
  198. package/es/components/eftposPay/hooks.d.ts +1 -1
  199. package/es/components/eftposPay/index.d.ts +0 -1
  200. package/es/components/eftposPay/linkly/index.d.ts +0 -1
  201. package/es/components/eftposPay/linkly/index.js +64 -2
  202. package/es/components/eftposPay/pay.d.ts +0 -1
  203. package/es/components/eftposPay/payo/config.d.ts +0 -1
  204. package/es/components/eftposPay/store/index.d.ts +2 -2
  205. package/es/components/eftposPay/tip.d.ts +0 -1
  206. package/es/components/eftposPay/windcave/receiptAction.d.ts +0 -1
  207. package/es/components/eftposPay/windcave/windcave.d.ts +0 -1
  208. package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  209. package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -1
  210. package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
  211. package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
  212. package/es/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  213. package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  214. package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  215. package/es/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  216. package/es/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  217. package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  218. package/es/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
  219. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  220. package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  221. package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  222. package/es/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  223. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  224. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  225. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  226. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  227. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  228. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  229. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  230. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  231. package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  232. package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  233. package/es/components/eventBooking/index.d.ts +0 -1
  234. package/es/components/index.d.ts +2 -1
  235. package/es/components/index.js +2 -1
  236. package/es/components/login/index.d.ts +0 -1
  237. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
  238. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
  239. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  240. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
  241. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
  242. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  243. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  244. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  245. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  246. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  247. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  248. package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  249. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
  250. package/es/components/pisellSelectCustomerModal/index.d.ts +0 -1
  251. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
  252. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  253. package/es/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  254. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  255. package/es/components/productExtension/index.d.ts +0 -1
  256. package/es/components/productSelect/components/TabProduct/index.d.ts +0 -1
  257. package/es/components/productSelect/components/productGroup/index.d.ts +0 -1
  258. package/es/components/ruleSetting/index.d.ts +0 -1
  259. package/es/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  260. package/es/components/schedules/calendar/index.d.ts +0 -1
  261. package/es/components/schedules/components/CurrentDay/index.d.ts +0 -1
  262. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  263. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  264. package/es/components/schedules/components/ScheduleList/index.d.ts +0 -1
  265. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  266. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  267. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
  268. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
  269. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  270. package/es/components/schedules/products/index.d.ts +0 -1
  271. package/es/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  272. package/es/components/schedules/products/list/index.d.ts +0 -1
  273. package/es/components/schedules/resources/index.d.ts +0 -1
  274. package/es/components/schedules/resources/list/index.d.ts +0 -1
  275. package/es/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  276. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  277. package/es/components/schedules/schedules/index.d.ts +0 -1
  278. package/es/components/shoppingCart/components/Cart/Product.d.ts +0 -1
  279. package/es/components/shoppingCart/components/Cart/index.d.ts +0 -1
  280. package/es/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  281. package/es/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
  282. package/es/components/shoppingCart/index.d.ts +0 -1
  283. package/es/components/taxSelect/index.d.ts +0 -1
  284. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
  285. package/es/components/ticketBooking/components/menuBar/index.d.ts +0 -1
  286. package/es/components/wallet/hooks/useWalletCard.d.ts +0 -1
  287. package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
  288. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
  289. package/es/hooks/usePaymentLogger.d.ts +0 -1
  290. package/es/index.d.ts +2 -0
  291. package/es/index.js +2 -1
  292. package/es/plus/saasCreateOrganization/components/Header.d.ts +0 -1
  293. package/es/plus/saasCreateOrganization/index.d.ts +0 -1
  294. package/es/plus/saasRegister/components/EntryEmail.d.ts +0 -1
  295. package/es/plus/saasRegister/components/EntryInfo.d.ts +0 -1
  296. package/es/plus/saasRegister/components/GoLogin.d.ts +0 -1
  297. package/es/plus/saasRegister/components/Header.d.ts +0 -1
  298. package/es/plus/saasRegister/components/VerifyError.d.ts +0 -1
  299. package/es/plus/saasRegister/components/VerifyingLink.d.ts +0 -1
  300. package/es/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
  301. package/es/pro/pisellPaymentList/example.d.ts +19 -0
  302. package/es/pro/pisellPaymentList/example.js +434 -0
  303. package/lib/businessModel/SalesModel/index.d.ts +0 -1
  304. package/lib/components/Sales/Summary/utils.d.ts +1 -1
  305. package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
  306. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -1
  307. package/lib/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  308. package/lib/components/appointmentBooking/components/Content/index.d.ts +0 -1
  309. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
  310. package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  311. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  312. package/lib/components/appointmentBooking/components/Header/index.d.ts +0 -1
  313. package/lib/components/appointmentBooking/components/Voucher/index.d.ts +0 -1
  314. package/lib/components/appointmentBooking/deposit/index.d.ts +0 -1
  315. package/lib/components/appointmentBooking/index.d.ts +0 -1
  316. package/lib/components/authentication/admin/AuthMethods/AuthMethods.less +134 -0
  317. package/lib/components/authentication/admin/AuthMethods/SettingList.d.ts +5 -0
  318. package/lib/components/authentication/admin/AuthMethods/SettingList.js +75 -0
  319. package/lib/components/authentication/admin/AuthMethods/SettingList.less +85 -0
  320. package/lib/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +22 -0
  321. package/lib/components/authentication/admin/AuthMethods/SettingsDrawer.js +126 -0
  322. package/lib/components/authentication/admin/AuthMethods/SettingsDrawer.less +163 -0
  323. package/lib/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
  324. package/lib/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.js +42 -0
  325. package/lib/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +13 -0
  326. package/lib/components/authentication/admin/AuthMethods/components/EmailSettingsContent.js +108 -0
  327. package/lib/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
  328. package/lib/components/authentication/admin/AuthMethods/components/LoginMethodsList.js +108 -0
  329. package/lib/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +14 -0
  330. package/lib/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.js +93 -0
  331. package/lib/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +13 -0
  332. package/lib/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.js +85 -0
  333. package/lib/components/authentication/admin/AuthMethods/components/index.d.ts +10 -0
  334. package/lib/components/authentication/admin/AuthMethods/components/index.js +51 -0
  335. package/lib/components/authentication/admin/AuthMethods/constants.d.ts +22 -0
  336. package/lib/components/authentication/admin/AuthMethods/constants.js +115 -0
  337. package/lib/components/authentication/admin/AuthMethods/index.d.ts +8 -0
  338. package/lib/components/authentication/admin/AuthMethods/index.js +180 -0
  339. package/lib/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
  340. package/lib/components/authentication/admin/AuthMethods/locales.js +314 -0
  341. package/lib/components/authentication/admin/AuthMethods/types.d.ts +76 -0
  342. package/lib/components/authentication/admin/AuthMethods/types.js +53 -0
  343. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/AuthenticationMethods.less +231 -0
  344. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
  345. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.js +311 -0
  346. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
  347. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.js +131 -0
  348. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
  349. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.js +17 -0
  350. package/lib/components/authentication/admin/ChannelAuthSetting/ChannelAuthSetting.less +111 -0
  351. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/CollectInfo.less +259 -0
  352. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
  353. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.js +410 -0
  354. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
  355. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.js +110 -0
  356. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
  357. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.js +17 -0
  358. package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
  359. package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.js +383 -0
  360. package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.less +111 -0
  361. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/PageSetting.less +105 -0
  362. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/index.d.ts +8 -0
  363. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/index.js +148 -0
  364. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
  365. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.js +56 -0
  366. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
  367. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/types.js +17 -0
  368. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/PageSettingItem.less +272 -0
  369. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +8 -0
  370. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.js +206 -0
  371. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
  372. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.js +95 -0
  373. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
  374. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.js +17 -0
  375. package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
  376. package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.js +246 -0
  377. package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.less +111 -0
  378. package/lib/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
  379. package/lib/components/authentication/admin/ChannelAuthSetting/index.js +177 -0
  380. package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
  381. package/lib/components/authentication/admin/ChannelAuthSetting/locales.js +74 -0
  382. package/lib/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
  383. package/lib/components/authentication/admin/ChannelAuthSetting/types.js +17 -0
  384. package/lib/components/authentication/admin/CustomerAuth/CustomerAuth.less +104 -0
  385. package/lib/components/authentication/admin/CustomerAuth/index.d.ts +6 -0
  386. package/lib/components/authentication/admin/CustomerAuth/index.js +507 -0
  387. package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
  388. package/lib/components/authentication/admin/CustomerAuth/locales.js +110 -0
  389. package/lib/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
  390. package/lib/components/authentication/admin/CustomerAuth/types.js +17 -0
  391. package/lib/components/authentication/admin/CustomerOAuthConfig/CustomerOAuthConfig.less +164 -0
  392. package/lib/components/authentication/admin/CustomerOAuthConfig/index.d.ts +6 -0
  393. package/lib/components/authentication/admin/CustomerOAuthConfig/index.js +331 -0
  394. package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
  395. package/lib/components/authentication/admin/CustomerOAuthConfig/locales.js +161 -0
  396. package/lib/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
  397. package/lib/components/authentication/admin/CustomerOAuthConfig/types.js +17 -0
  398. package/lib/components/authentication/admin/DeviceAuth/DeviceAuth.less +104 -0
  399. package/lib/components/authentication/admin/DeviceAuth/index.d.ts +6 -0
  400. package/lib/components/authentication/admin/DeviceAuth/index.js +254 -0
  401. package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
  402. package/lib/components/authentication/admin/DeviceAuth/locales.js +98 -0
  403. package/lib/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
  404. package/lib/components/authentication/admin/DeviceAuth/types.js +17 -0
  405. package/lib/components/authentication/admin/OAuthConfig/OAuthConfig.less +165 -0
  406. package/lib/components/authentication/admin/OAuthConfig/index.d.ts +6 -0
  407. package/lib/components/authentication/admin/OAuthConfig/index.js +226 -0
  408. package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
  409. package/lib/components/authentication/admin/OAuthConfig/locales.js +140 -0
  410. package/lib/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
  411. package/lib/components/authentication/admin/OAuthConfig/types.js +17 -0
  412. package/lib/components/authentication/admin/OrgAdminAuth/OrgAdminAuth.less +104 -0
  413. package/lib/components/authentication/admin/OrgAdminAuth/index.d.ts +6 -0
  414. package/lib/components/authentication/admin/OrgAdminAuth/index.js +398 -0
  415. package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
  416. package/lib/components/authentication/admin/OrgAdminAuth/locales.js +98 -0
  417. package/lib/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
  418. package/lib/components/authentication/admin/OrgAdminAuth/types.js +17 -0
  419. package/lib/components/authentication/admin/POSOperatorAuth/POSOperatorAuth.less +104 -0
  420. package/lib/components/authentication/admin/POSOperatorAuth/index.d.ts +6 -0
  421. package/lib/components/authentication/admin/POSOperatorAuth/index.js +262 -0
  422. package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
  423. package/lib/components/authentication/admin/POSOperatorAuth/locales.js +89 -0
  424. package/lib/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
  425. package/lib/components/authentication/admin/POSOperatorAuth/types.js +17 -0
  426. package/lib/components/authentication/admin/SaaSAdminAuth/SaaSAdminAuth.less +104 -0
  427. package/lib/components/authentication/admin/SaaSAdminAuth/index.d.ts +6 -0
  428. package/lib/components/authentication/admin/SaaSAdminAuth/index.js +481 -0
  429. package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
  430. package/lib/components/authentication/admin/SaaSAdminAuth/locales.js +98 -0
  431. package/lib/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
  432. package/lib/components/authentication/admin/SaaSAdminAuth/types.js +17 -0
  433. package/lib/components/authentication/admin/index.d.ts +26 -0
  434. package/lib/components/authentication/admin/index.js +83 -0
  435. package/lib/components/authentication/index.d.ts +0 -0
  436. package/lib/components/authentication/index.js +0 -0
  437. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
  438. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  439. package/lib/components/booking/components/collapsibleList/utils.d.ts +0 -1
  440. package/lib/components/booking/components/emptyBooking/index.d.ts +0 -1
  441. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  442. package/lib/components/booking/components/footer/index.d.ts +0 -1
  443. package/lib/components/booking/components/footer/utils.js +12 -6
  444. package/lib/components/booking/deposit/index.d.ts +0 -1
  445. package/lib/components/booking/forms/footer.d.ts +0 -1
  446. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  447. package/lib/components/booking/forms/single/index.d.ts +0 -1
  448. package/lib/components/booking/hooks/useClearCart.d.ts +0 -1
  449. package/lib/components/booking/hooks/useQuotation.d.ts +0 -1
  450. package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -1
  451. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
  452. package/lib/components/booking/info/date/index.d.ts +0 -1
  453. package/lib/components/booking/info/dateRange/index.d.ts +0 -1
  454. package/lib/components/booking/info/header/index.d.ts +0 -1
  455. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  456. package/lib/components/booking/info/index.d.ts +0 -1
  457. package/lib/components/booking/info/notes/index.d.ts +0 -1
  458. package/lib/components/booking/info/service/Lists.d.ts +0 -1
  459. package/lib/components/booking/info/service/actions/index.d.ts +0 -1
  460. package/lib/components/booking/info/service/addService/index.d.ts +0 -1
  461. package/lib/components/booking/info/service/addTimeModal/index.d.ts +0 -1
  462. package/lib/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  463. package/lib/components/booking/info/service/serviceItem/index.d.ts +0 -1
  464. package/lib/components/booking/info/service/serviceList/index.d.ts +0 -1
  465. package/lib/components/booking/info/service2/Lists.d.ts +0 -1
  466. package/lib/components/booking/info2/service/actions/index.d.ts +0 -1
  467. package/lib/components/booking/info2/service/addTimeModal/index.d.ts +0 -1
  468. package/lib/components/booking/info2/service/serviceItem/index.d.ts +0 -1
  469. package/lib/components/booking/info2/service/serviceList/index.d.ts +0 -1
  470. package/lib/components/booking/materiels/contacts/index.d.ts +0 -1
  471. package/lib/components/booking/materiels/duration/index.d.ts +0 -1
  472. package/lib/components/booking/materiels/holder/index.d.ts +0 -1
  473. package/lib/components/booking/materiels/startTime/index.d.ts +0 -1
  474. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  475. package/lib/components/booking/notes/NoteBlock/index.d.ts +0 -1
  476. package/lib/components/booking/notes/addNote/index.d.ts +0 -1
  477. package/lib/components/booking/utils.d.ts +2 -2
  478. package/lib/components/eftpos/index.d.ts +0 -1
  479. package/lib/components/eftpos/pos.d.ts +0 -1
  480. package/lib/components/eftpos/surcharge/index.d.ts +0 -1
  481. package/lib/components/eftposPay/amount.d.ts +1 -2
  482. package/lib/components/eftposPay/app.d.ts +0 -1
  483. package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -1
  484. package/lib/components/eftposPay/component/fail/index.d.ts +0 -1
  485. package/lib/components/eftposPay/component/fail/network.d.ts +0 -1
  486. package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -1
  487. package/lib/components/eftposPay/component/manual/index.d.ts +0 -1
  488. package/lib/components/eftposPay/component/signature/index.d.ts +0 -1
  489. package/lib/components/eftposPay/device.d.ts +1 -2
  490. package/lib/components/eftposPay/hooks.d.ts +1 -1
  491. package/lib/components/eftposPay/index.d.ts +0 -1
  492. package/lib/components/eftposPay/linkly/index.d.ts +0 -1
  493. package/lib/components/eftposPay/linkly/index.js +31 -1
  494. package/lib/components/eftposPay/pay.d.ts +0 -1
  495. package/lib/components/eftposPay/payo/config.d.ts +0 -1
  496. package/lib/components/eftposPay/store/index.d.ts +2 -2
  497. package/lib/components/eftposPay/tip.d.ts +0 -1
  498. package/lib/components/eftposPay/windcave/receiptAction.d.ts +0 -1
  499. package/lib/components/eftposPay/windcave/windcave.d.ts +0 -1
  500. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  501. package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -1
  502. package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
  503. package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
  504. package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  505. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  506. package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  507. package/lib/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  508. package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  509. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  510. package/lib/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
  511. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  512. package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  513. package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  514. package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  515. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  516. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  517. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  518. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  519. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  520. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  521. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  522. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  523. package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  524. package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  525. package/lib/components/eventBooking/index.d.ts +0 -1
  526. package/lib/components/index.d.ts +2 -1
  527. package/lib/components/index.js +19 -0
  528. package/lib/components/login/index.d.ts +0 -1
  529. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
  530. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
  531. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  532. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
  533. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
  534. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  535. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  536. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  537. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  538. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  539. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  540. package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  541. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
  542. package/lib/components/pisellSelectCustomerModal/index.d.ts +0 -1
  543. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
  544. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  545. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  546. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  547. package/lib/components/productExtension/index.d.ts +0 -1
  548. package/lib/components/productSelect/components/TabProduct/index.d.ts +0 -1
  549. package/lib/components/productSelect/components/productGroup/index.d.ts +0 -1
  550. package/lib/components/ruleSetting/index.d.ts +0 -1
  551. package/lib/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  552. package/lib/components/schedules/calendar/index.d.ts +0 -1
  553. package/lib/components/schedules/components/CurrentDay/index.d.ts +0 -1
  554. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  555. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  556. package/lib/components/schedules/components/ScheduleList/index.d.ts +0 -1
  557. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  558. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  559. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
  560. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
  561. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  562. package/lib/components/schedules/products/index.d.ts +0 -1
  563. package/lib/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  564. package/lib/components/schedules/products/list/index.d.ts +0 -1
  565. package/lib/components/schedules/resources/index.d.ts +0 -1
  566. package/lib/components/schedules/resources/list/index.d.ts +0 -1
  567. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  568. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  569. package/lib/components/schedules/schedules/index.d.ts +0 -1
  570. package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -1
  571. package/lib/components/shoppingCart/components/Cart/index.d.ts +0 -1
  572. package/lib/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  573. package/lib/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
  574. package/lib/components/shoppingCart/index.d.ts +0 -1
  575. package/lib/components/taxSelect/index.d.ts +0 -1
  576. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
  577. package/lib/components/ticketBooking/components/menuBar/index.d.ts +0 -1
  578. package/lib/components/wallet/hooks/useWalletCard.d.ts +0 -1
  579. package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
  580. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
  581. package/lib/hooks/usePaymentLogger.d.ts +0 -1
  582. package/lib/index.d.ts +2 -0
  583. package/lib/index.js +19 -0
  584. package/lib/plus/saasCreateOrganization/components/Header.d.ts +0 -1
  585. package/lib/plus/saasCreateOrganization/index.d.ts +0 -1
  586. package/lib/plus/saasRegister/components/EntryEmail.d.ts +0 -1
  587. package/lib/plus/saasRegister/components/EntryInfo.d.ts +0 -1
  588. package/lib/plus/saasRegister/components/GoLogin.d.ts +0 -1
  589. package/lib/plus/saasRegister/components/Header.d.ts +0 -1
  590. package/lib/plus/saasRegister/components/VerifyError.d.ts +0 -1
  591. package/lib/plus/saasRegister/components/VerifyingLink.d.ts +0 -1
  592. package/lib/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
  593. package/lib/pro/pisellPaymentList/example.d.ts +19 -0
  594. package/lib/pro/pisellPaymentList/example.js +416 -0
  595. package/lowcode/admin-auth-customer-auth/meta.ts +29 -0
  596. package/lowcode/admin-auth-customer-oauth-config/meta.ts +55 -0
  597. package/lowcode/admin-auth-device-auth/meta.ts +30 -0
  598. package/lowcode/admin-auth-methods/meta.ts +385 -0
  599. package/lowcode/admin-auth-oauth-config/meta.ts +29 -0
  600. package/lowcode/admin-auth-online-shop-auth/meta.ts +29 -0
  601. package/lowcode/admin-auth-org-admin-auth/meta.ts +29 -0
  602. package/lowcode/admin-auth-pos-operator-auth/meta.ts +30 -0
  603. package/lowcode/admin-auth-saas-admin-auth/meta.ts +29 -0
  604. package/lowcode/admin-auth-saas-managerment-auth/meta.ts +30 -0
  605. package/lowcode/admin-setting-list/meta.ts +125 -0
  606. package/lowcode/pro-register/meta.ts +385 -0
  607. package/package.json +3 -3
@@ -0,0 +1,5 @@
1
+ export { default as LoginMethodsList } from "./LoginMethodsList";
2
+ export { default as EmailSettingsContent } from "./EmailSettingsContent";
3
+ export { default as PhoneSettingsContent } from "./PhoneSettingsContent";
4
+ export { default as DefaultSettingsContent } from "./DefaultSettingsContent";
5
+ export { default as PasswordRulesSettingsContent } 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,121 @@
1
+ import React from 'react';
2
+ import { MailOutlined, PhoneOutlined, FacebookOutlined, AppleOutlined, UserOutlined, LockOutlined } from '@ant-design/icons';
3
+ import { locales } from '@pisell/utils';
4
+ import { AuthMethodType, AuthMethodCategory } from "./types";
5
+
6
+ /**
7
+ * 获取默认的认证方法列表(支持多语言)
8
+ * 每次调用都会根据当前语言设置返回对应的文本
9
+ * @returns 认证方法数组
10
+ */
11
+ export var getDefaultAuthMethods = function getDefaultAuthMethods() {
12
+ return [{
13
+ id: 'email',
14
+ type: AuthMethodType.EMAIL,
15
+ title: locales.getText('auth.method.email.title') || 'Email',
16
+ category: AuthMethodCategory.GENERAL,
17
+ description: locales.getText('auth.method.email.description') || 'Register and log in via email',
18
+ icon: /*#__PURE__*/React.createElement(MailOutlined, {
19
+ style: {
20
+ fontSize: 20,
21
+ color: '#4096ff'
22
+ }
23
+ }),
24
+ enabled: false,
25
+ hasSettings: true
26
+ }, {
27
+ id: 'phone',
28
+ type: AuthMethodType.PHONE,
29
+ title: locales.getText('auth.method.phone.title') || 'Phone Number',
30
+ category: AuthMethodCategory.GENERAL,
31
+ description: locales.getText('auth.method.phone.description') || 'Register and log in via phone number',
32
+ icon: /*#__PURE__*/React.createElement(PhoneOutlined, {
33
+ style: {
34
+ fontSize: 20,
35
+ color: '#4096ff'
36
+ }
37
+ }),
38
+ enabled: false,
39
+ hasSettings: true
40
+ }, {
41
+ id: 'facebook',
42
+ type: AuthMethodType.FACEBOOK,
43
+ title: locales.getText('auth.method.facebook.title') || 'Facebook',
44
+ category: AuthMethodCategory.OAUTH,
45
+ description: locales.getText('auth.method.facebook.description') || 'Log in with Facebook account',
46
+ icon: /*#__PURE__*/React.createElement(FacebookOutlined, {
47
+ style: {
48
+ fontSize: 20,
49
+ color: '#1877f2'
50
+ }
51
+ }),
52
+ enabled: false,
53
+ hasSettings: false,
54
+ requiresOAuthConfig: true,
55
+ configLink: 'auth.oauth.config.message'
56
+ }, {
57
+ id: 'apple',
58
+ type: AuthMethodType.APPLE,
59
+ title: locales.getText('auth.method.apple.title') || 'Apple',
60
+ category: AuthMethodCategory.OAUTH,
61
+ description: locales.getText('auth.method.apple.description') || 'Log in with Apple ID',
62
+ icon: /*#__PURE__*/React.createElement(AppleOutlined, {
63
+ style: {
64
+ fontSize: 20,
65
+ color: '#000000'
66
+ }
67
+ }),
68
+ enabled: false,
69
+ hasSettings: false,
70
+ requiresOAuthConfig: true,
71
+ configLink: 'auth.oauth.config.message'
72
+ }, {
73
+ id: 'guest',
74
+ type: AuthMethodType.GUEST,
75
+ title: locales.getText('auth.method.guest.title') || 'Guest',
76
+ category: AuthMethodCategory.AUTH_FREE,
77
+ description: locales.getText('auth.method.guest.description') || 'Allow guests to access without registration process',
78
+ icon: /*#__PURE__*/React.createElement(UserOutlined, {
79
+ style: {
80
+ fontSize: 20,
81
+ color: '#8c8c8c'
82
+ }
83
+ }),
84
+ enabled: false,
85
+ hasSettings: false
86
+ }];
87
+ };
88
+
89
+ /**
90
+ * 默认认证方法列表(已废弃,仅保留用于向后兼容)
91
+ * @deprecated 请使用 getDefaultAuthMethods() 函数以获取实时的多语言支持
92
+ *
93
+ * 注意:此常量在模块加载时初始化,使用模块首次加载时的语言设置
94
+ * 如果需要响应语言切换,请直接调用 getDefaultAuthMethods() 函数
95
+ */
96
+ export var DEFAULT_AUTH_METHODS = getDefaultAuthMethods();
97
+
98
+ /**
99
+ * 获取密码规则设置项(支持多语言)
100
+ * 每次调用都会根据当前语言设置返回对应的文本
101
+ * @param id - 密码规则的唯一标识符,用于区分不同场景下的密码规则
102
+ * @returns 密码规则设置数组
103
+ */
104
+ export var getPasswordRulesSetting = function getPasswordRulesSetting() {
105
+ var id = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'password_rules';
106
+ return [{
107
+ id: id,
108
+ type: AuthMethodType.PASSWORD_RULES,
109
+ title: locales.getText('auth.password.rules.title') || 'Password Rules',
110
+ category: AuthMethodCategory.GENERAL,
111
+ description: locales.getText('auth.password.rules.description') || 'Define password complexity requirements for accounts',
112
+ icon: /*#__PURE__*/React.createElement(LockOutlined, {
113
+ style: {
114
+ fontSize: 20,
115
+ color: '#4096ff'
116
+ }
117
+ }),
118
+ enabled: true,
119
+ hasSettings: true
120
+ }];
121
+ };
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { AuthMethodsProps, AuthMethod } from './types';
3
+ import './AuthMethods.less';
4
+ declare const AuthMethods: React.FC<AuthMethodsProps>;
5
+ export default AuthMethods;
6
+ export { default as SettingList } from './SettingList';
7
+ export type { AuthMethodsProps, AuthMethod };
8
+ export { AuthMethodType, AuthMethodCategory } from './types';
@@ -0,0 +1,210 @@
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
5
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
6
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
7
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
8
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
9
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
10
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
11
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
12
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
13
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
14
+ import React, { useState, useEffect } from 'react';
15
+ import { Switch, Button, Empty } from 'antd';
16
+ import { HolderOutlined, SettingOutlined, InfoCircleOutlined } from '@ant-design/icons';
17
+ import { DndContext, closestCenter, KeyboardSensor, PointerSensor, useSensor, useSensors } from '@dnd-kit/core';
18
+ import { arrayMove, SortableContext, sortableKeyboardCoordinates, useSortable, verticalListSortingStrategy } from '@dnd-kit/sortable';
19
+ import { CSS } from '@dnd-kit/utilities';
20
+ import classNames from 'classnames';
21
+ import { locales } from '@pisell/utils';
22
+ import { AuthMethodCategory } from "./types";
23
+ import { getDefaultAuthMethods } from "./constants";
24
+ import localeTexts from "./locales";
25
+ import useEngineContext from "../../../../hooks/useEngineContext";
26
+ import "./AuthMethods.less";
27
+ var SortableItem = function SortableItem(_ref) {
28
+ var method = _ref.method,
29
+ onToggle = _ref.onToggle,
30
+ onSettings = _ref.onSettings,
31
+ onConfigClick = _ref.onConfigClick,
32
+ _ref$enableSetting = _ref.enableSetting,
33
+ enableSetting = _ref$enableSetting === void 0 ? true : _ref$enableSetting;
34
+ var _useSortable = useSortable({
35
+ id: method.id
36
+ }),
37
+ attributes = _useSortable.attributes,
38
+ listeners = _useSortable.listeners,
39
+ setNodeRef = _useSortable.setNodeRef,
40
+ transform = _useSortable.transform,
41
+ transition = _useSortable.transition,
42
+ isDragging = _useSortable.isDragging;
43
+ var style = {
44
+ transform: CSS.Transform.toString(transform),
45
+ transition: transition
46
+ };
47
+ var getCategoryClassName = function getCategoryClassName(category) {
48
+ var _category$toLowerCase;
49
+ return category === null || category === void 0 || (_category$toLowerCase = category.toLowerCase()) === null || _category$toLowerCase === void 0 ? void 0 : _category$toLowerCase.replace(/[^a-z0-9]/g, '-');
50
+ };
51
+ var getCategoryText = function getCategoryText(category) {
52
+ var categoryMap = _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, AuthMethodCategory.GENERAL, 'auth.category.general'), AuthMethodCategory.PASSWORD_FREE, 'auth.category.password-free'), AuthMethodCategory.AUTH_FREE, 'auth.category.auth-free'), AuthMethodCategory.OAUTH, 'auth.category.oauth');
53
+ return locales.getText(categoryMap[category] || category);
54
+ };
55
+ return /*#__PURE__*/React.createElement("div", {
56
+ ref: setNodeRef,
57
+ style: style,
58
+ className: classNames('auth-methods-item', {
59
+ 'auth-methods-dragging': isDragging
60
+ })
61
+ }, /*#__PURE__*/React.createElement("div", _extends({
62
+ className: "auth-methods-item-drag"
63
+ }, attributes, listeners), /*#__PURE__*/React.createElement(HolderOutlined, null)), /*#__PURE__*/React.createElement("div", {
64
+ className: "auth-methods-item-icon"
65
+ }, method.icon), /*#__PURE__*/React.createElement("div", {
66
+ className: "auth-methods-item-content"
67
+ }, /*#__PURE__*/React.createElement("div", {
68
+ className: "auth-methods-item-header"
69
+ }, /*#__PURE__*/React.createElement("span", {
70
+ className: "auth-methods-item-title"
71
+ }, method.title), /*#__PURE__*/React.createElement("span", {
72
+ className: classNames('auth-methods-item-category', getCategoryClassName(method.category))
73
+ }, getCategoryText(method.category))), /*#__PURE__*/React.createElement("div", {
74
+ className: "auth-methods-item-description"
75
+ }, method.description), method.configLink && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
76
+ style: {
77
+ marginTop: 8,
78
+ fontSize: 12,
79
+ color: '#8c8c8c',
80
+ display: 'flex',
81
+ alignItems: 'center',
82
+ gap: 4
83
+ }
84
+ }, /*#__PURE__*/React.createElement(InfoCircleOutlined, {
85
+ style: {
86
+ marginRight: 4
87
+ }
88
+ }), locales.getText(method.configLink), /*#__PURE__*/React.createElement("div", {
89
+ className: "auth-methods-item-config-link",
90
+ onClick: onConfigClick
91
+ }, /*#__PURE__*/React.createElement("span", null, locales.getText('auth.oauth.config.link')))))), /*#__PURE__*/React.createElement("div", {
92
+ className: "auth-methods-item-actions"
93
+ }, enableSetting && method.hasSettings && /*#__PURE__*/React.createElement(Button, {
94
+ type: "default",
95
+ icon: /*#__PURE__*/React.createElement(SettingOutlined, null),
96
+ onClick: onSettings
97
+ }, locales.getText('auth.button.settings')), /*#__PURE__*/React.createElement(Switch, {
98
+ checked: method.enabled,
99
+ onChange: onToggle,
100
+ disabled: method.disableToggle
101
+ })));
102
+ };
103
+ var AuthMethods = function AuthMethods(_ref2) {
104
+ var _context$engine;
105
+ var className = _ref2.className,
106
+ style = _ref2.style,
107
+ initialMethods = _ref2.methods,
108
+ onOrderChange = _ref2.onOrderChange,
109
+ onToggle = _ref2.onToggle,
110
+ onSettings = _ref2.onSettings,
111
+ onConfigClick = _ref2.onConfigClick,
112
+ _ref2$enableSetting = _ref2.enableSetting,
113
+ enableSetting = _ref2$enableSetting === void 0 ? true : _ref2$enableSetting;
114
+ var context = useEngineContext();
115
+ locales.init(localeTexts, (context === null || context === void 0 || (_context$engine = context.engine) === null || _context$engine === void 0 || (_context$engine = _context$engine.props) === null || _context$engine === void 0 ? void 0 : _context$engine.locale) || 'en');
116
+ var _useState = useState(initialMethods || getDefaultAuthMethods()),
117
+ _useState2 = _slicedToArray(_useState, 2),
118
+ methods = _useState2[0],
119
+ setMethods = _useState2[1];
120
+
121
+ // 同步父组件传入的 methods
122
+ useEffect(function () {
123
+ if (initialMethods && initialMethods.length > 0) {
124
+ console.log('AuthMethods 组件同步父组件数据:', initialMethods);
125
+ setMethods(initialMethods);
126
+ }
127
+ }, [initialMethods]);
128
+ var sensors = useSensors(useSensor(PointerSensor, {
129
+ activationConstraint: {
130
+ distance: 8
131
+ }
132
+ }), useSensor(KeyboardSensor, {
133
+ coordinateGetter: sortableKeyboardCoordinates
134
+ }));
135
+ var handleDragEnd = function handleDragEnd(event) {
136
+ var active = event.active,
137
+ over = event.over;
138
+ if (over && active.id !== over.id) {
139
+ setMethods(function (items) {
140
+ var oldIndex = items.findIndex(function (item) {
141
+ return item.id === active.id;
142
+ });
143
+ var newIndex = items.findIndex(function (item) {
144
+ return item.id === over.id;
145
+ });
146
+ var newItems = arrayMove(items, oldIndex, newIndex);
147
+ onOrderChange === null || onOrderChange === void 0 || onOrderChange(newItems);
148
+ return newItems;
149
+ });
150
+ }
151
+ };
152
+ var handleToggle = function handleToggle(method, enabled) {
153
+ console.log('AuthMethods handleToggle:', method.id, enabled);
154
+ setMethods(function (items) {
155
+ return items.map(function (item) {
156
+ return item.id === method.id ? _objectSpread(_objectSpread({}, item), {}, {
157
+ enabled: enabled
158
+ }) : item;
159
+ });
160
+ });
161
+ onToggle === null || onToggle === void 0 || onToggle(method, enabled);
162
+ };
163
+ var handleSettings = function handleSettings(method) {
164
+ onSettings === null || onSettings === void 0 || onSettings(method);
165
+ };
166
+ var handleConfigClick = function handleConfigClick(method) {
167
+ onConfigClick === null || onConfigClick === void 0 || onConfigClick(method);
168
+ };
169
+ if (!methods || methods.length === 0) {
170
+ return /*#__PURE__*/React.createElement("div", {
171
+ className: classNames('auth-methods', className),
172
+ style: style
173
+ }, /*#__PURE__*/React.createElement("div", {
174
+ className: "auth-methods-empty"
175
+ }, /*#__PURE__*/React.createElement(Empty, {
176
+ description: "No authentication methods available"
177
+ })));
178
+ }
179
+ return /*#__PURE__*/React.createElement("div", {
180
+ className: classNames('auth-methods', className),
181
+ style: style
182
+ }, /*#__PURE__*/React.createElement(DndContext, {
183
+ sensors: sensors,
184
+ collisionDetection: closestCenter,
185
+ onDragEnd: handleDragEnd
186
+ }, /*#__PURE__*/React.createElement(SortableContext, {
187
+ items: methods.map(function (m) {
188
+ return m.id;
189
+ }),
190
+ strategy: verticalListSortingStrategy
191
+ }, methods.map(function (method) {
192
+ return /*#__PURE__*/React.createElement(SortableItem, {
193
+ key: method.id,
194
+ method: method,
195
+ onToggle: function onToggle(enabled) {
196
+ return handleToggle(method, enabled);
197
+ },
198
+ onSettings: function onSettings() {
199
+ return handleSettings(method);
200
+ },
201
+ onConfigClick: method.configLink ? function () {
202
+ return handleConfigClick(method);
203
+ } : undefined,
204
+ enableSetting: enableSetting
205
+ });
206
+ }))));
207
+ };
208
+ export default AuthMethods;
209
+ export { default as SettingList } from "./SettingList";
210
+ export { AuthMethodType, AuthMethodCategory } from "./types";
@@ -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;