@pisell/private-materials 6.8.32 → 6.8.33

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 (399) 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 +164 -150
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +11 -11
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +11 -11
  11. package/es/businessModel/SalesModel/index.d.ts +1 -0
  12. package/es/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
  13. package/es/components/booking/deposit/index.d.ts +1 -0
  14. package/es/components/booking/forms/model.d.ts +1 -10
  15. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
  16. package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  17. package/es/components/booking/info/index.d.ts +1 -0
  18. package/es/components/booking/info/model.d.ts +1 -10
  19. package/es/components/booking/info/notes/index.d.ts +1 -0
  20. package/es/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  21. package/es/components/booking/info/service/like/index.d.ts +1 -0
  22. package/es/components/booking/info/service/serviceList/index.d.ts +1 -0
  23. package/es/components/booking/info/service2/Lists.d.ts +1 -0
  24. package/es/components/booking/info2/service/contactInfoMode/index.d.ts +1 -0
  25. package/es/components/booking/info2/service/serviceList/index.d.ts +1 -0
  26. package/es/components/booking/materiels/duration/index.d.ts +0 -1
  27. package/es/components/booking/materiels/startTime/index.d.ts +0 -1
  28. package/es/components/booking/notes/NoteBlock/index.d.ts +1 -0
  29. package/es/components/booking/notes/addNote/index.d.ts +1 -0
  30. package/es/components/booking/notes/model.d.ts +1 -10
  31. package/es/components/booking/payments/model.d.ts +1 -10
  32. package/es/components/eftpos/deviceList/index.d.ts +1 -0
  33. package/es/components/eftpos/form/index.d.ts +1 -0
  34. package/es/components/eftpos/group/index.d.ts +1 -0
  35. package/es/components/eftpos/hooks.d.ts +1 -0
  36. package/es/components/eftpos/icon/apiKey.d.ts +1 -0
  37. package/es/components/eftpos/icon/device.d.ts +1 -0
  38. package/es/components/eftpos/receipt/index.d.ts +1 -0
  39. package/es/components/eftpos/surcharge/index.d.ts +1 -0
  40. package/es/components/eftposPay/component/alert/warn.d.ts +1 -0
  41. package/es/components/eftposPay/component/header/titlebar.d.ts +1 -0
  42. package/es/components/eftposPay/component/step/step.d.ts +1 -0
  43. package/es/components/eftposPay/hooks.d.ts +1 -1
  44. package/es/components/eftposPay/store/index.d.ts +1 -1
  45. package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
  46. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  47. package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  48. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  49. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
  50. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
  51. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  52. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  53. package/es/components/pay/toB/components/CardGroup/index.d.ts +1 -0
  54. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
  55. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
  56. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  57. package/es/components/pay/toC/model.d.ts +1 -9
  58. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  59. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  60. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  61. package/es/components/productExtension/fields/Actor/index.d.ts +1 -0
  62. package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  63. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  64. package/es/components/productExtension/index.d.ts +1 -0
  65. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
  66. package/es/components/schedules/model.d.ts +1 -9
  67. package/es/components/schedules/resources/relationProduct/index.d.ts +1 -0
  68. package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
  69. package/es/components/shoppingCart/components/Render/index.d.ts +1 -0
  70. package/es/components/shoppingCart/index.d.ts +1 -0
  71. package/es/components/ticketBooking/utils/index.d.ts +1 -1
  72. package/es/components/ticketBooking/utils/index.js +5 -1
  73. package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
  74. package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +1 -0
  75. package/es/pro/pisellNumberSelector/example.d.ts +3 -0
  76. package/es/pro/priceKeyboard/components/cashKeyboard/index.d.ts +1 -0
  77. package/lib/businessModel/SalesModel/index.d.ts +1 -0
  78. package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
  79. package/lib/components/booking/deposit/index.d.ts +1 -0
  80. package/lib/components/booking/forms/model.d.ts +1 -10
  81. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
  82. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  83. package/lib/components/booking/info/index.d.ts +1 -0
  84. package/lib/components/booking/info/model.d.ts +1 -10
  85. package/lib/components/booking/info/notes/index.d.ts +1 -0
  86. package/lib/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  87. package/lib/components/booking/info/service/like/index.d.ts +1 -0
  88. package/lib/components/booking/info/service/serviceList/index.d.ts +1 -0
  89. package/lib/components/booking/info/service2/Lists.d.ts +1 -0
  90. package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +1 -0
  91. package/lib/components/booking/info2/service/serviceList/index.d.ts +1 -0
  92. package/lib/components/booking/materiels/duration/index.d.ts +0 -1
  93. package/lib/components/booking/materiels/startTime/index.d.ts +0 -1
  94. package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -0
  95. package/lib/components/booking/notes/addNote/index.d.ts +1 -0
  96. package/lib/components/booking/notes/model.d.ts +1 -10
  97. package/lib/components/booking/payments/model.d.ts +1 -10
  98. package/lib/components/eftpos/deviceList/index.d.ts +1 -0
  99. package/lib/components/eftpos/form/index.d.ts +1 -0
  100. package/lib/components/eftpos/group/index.d.ts +1 -0
  101. package/lib/components/eftpos/hooks.d.ts +1 -0
  102. package/lib/components/eftpos/icon/apiKey.d.ts +1 -0
  103. package/lib/components/eftpos/icon/device.d.ts +1 -0
  104. package/lib/components/eftpos/receipt/index.d.ts +1 -0
  105. package/lib/components/eftpos/surcharge/index.d.ts +1 -0
  106. package/lib/components/eftposPay/component/alert/warn.d.ts +1 -0
  107. package/lib/components/eftposPay/component/header/titlebar.d.ts +1 -0
  108. package/lib/components/eftposPay/component/step/step.d.ts +1 -0
  109. package/lib/components/eftposPay/hooks.d.ts +1 -1
  110. package/lib/components/eftposPay/store/index.d.ts +1 -1
  111. package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
  112. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  113. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  114. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  115. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
  116. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
  117. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  118. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  119. package/lib/components/pay/toB/components/CardGroup/index.d.ts +1 -0
  120. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
  121. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
  122. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  123. package/lib/components/pay/toC/model.d.ts +1 -9
  124. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  125. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  126. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  127. package/lib/components/productExtension/fields/Actor/index.d.ts +1 -0
  128. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  129. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  130. package/lib/components/productExtension/index.d.ts +1 -0
  131. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
  132. package/lib/components/schedules/model.d.ts +1 -9
  133. package/lib/components/schedules/resources/relationProduct/index.d.ts +1 -0
  134. package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
  135. package/lib/components/shoppingCart/components/Render/index.d.ts +1 -0
  136. package/lib/components/shoppingCart/index.d.ts +1 -0
  137. package/lib/components/ticketBooking/utils/index.d.ts +1 -1
  138. package/lib/components/ticketBooking/utils/index.js +4 -1
  139. package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
  140. package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +1 -0
  141. package/lib/pro/pisellNumberSelector/example.d.ts +3 -0
  142. package/lib/pro/priceKeyboard/components/cashKeyboard/index.d.ts +1 -0
  143. package/package.json +3 -3
  144. package/es/components/appointmentBooking/components/Services/index.d.ts +0 -4
  145. package/es/components/appointmentBooking/components/Voucher/index.d.ts +0 -4
  146. package/es/components/authentication/admin/AuthMethods/SettingList.d.ts +0 -5
  147. package/es/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +0 -22
  148. package/es/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +0 -11
  149. package/es/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +0 -13
  150. package/es/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +0 -13
  151. package/es/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +0 -14
  152. package/es/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +0 -13
  153. package/es/components/authentication/admin/AuthMethods/components/index.d.ts +0 -10
  154. package/es/components/authentication/admin/AuthMethods/constants.d.ts +0 -22
  155. package/es/components/authentication/admin/AuthMethods/locales.d.ts +0 -249
  156. package/es/components/authentication/admin/AuthMethods/types.d.ts +0 -76
  157. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +0 -84
  158. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +0 -41
  159. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +0 -6
  160. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +0 -72
  161. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +0 -33
  162. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +0 -27
  163. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +0 -25
  164. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +0 -66
  165. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +0 -26
  166. package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +0 -39
  167. package/es/components/authentication/admin/ChannelAuthSetting/types.d.ts +0 -36
  168. package/es/components/authentication/admin/CustomerAuth/locales.d.ts +0 -66
  169. package/es/components/authentication/admin/CustomerAuth/types.d.ts +0 -16
  170. package/es/components/authentication/admin/CustomerOAuthConfig/index.d.ts +0 -6
  171. package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +0 -108
  172. package/es/components/authentication/admin/CustomerOAuthConfig/types.d.ts +0 -22
  173. package/es/components/authentication/admin/DeviceAuth/locales.d.ts +0 -57
  174. package/es/components/authentication/admin/DeviceAuth/types.d.ts +0 -16
  175. package/es/components/authentication/admin/OAuthConfig/index.d.ts +0 -6
  176. package/es/components/authentication/admin/OAuthConfig/locales.d.ts +0 -90
  177. package/es/components/authentication/admin/OAuthConfig/types.d.ts +0 -22
  178. package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +0 -54
  179. package/es/components/authentication/admin/OrgAdminAuth/types.d.ts +0 -16
  180. package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +0 -48
  181. package/es/components/authentication/admin/POSOperatorAuth/types.d.ts +0 -16
  182. package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +0 -54
  183. package/es/components/authentication/admin/SaaSAdminAuth/types.d.ts +0 -16
  184. package/es/components/authentication/index.d.ts +0 -0
  185. package/es/components/booking/addons/model.d.ts +0 -10
  186. package/es/components/booking/components/actionButtons/index.d.ts +0 -31
  187. package/es/components/booking/components/customSelect/index.d.ts +0 -38
  188. package/es/components/booking/components/footer/index.d.ts +0 -11
  189. package/es/components/booking/components/footer/utils.d.ts +0 -67
  190. package/es/components/booking/components/voucher/index.d.ts +0 -3
  191. package/es/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
  192. package/es/components/booking/info/addServiceVariant/index.d.ts +0 -6
  193. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -43
  194. package/es/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +0 -25
  195. package/es/components/booking/info/service/Lists.d.ts +0 -2
  196. package/es/components/booking/info/service/serve.d.ts +0 -34
  197. package/es/components/booking/info/service2/utils.d.ts +0 -219
  198. package/es/components/booking/info/utils.d.ts +0 -50
  199. package/es/components/booking/info2/service/addService/utils.d.ts +0 -106
  200. package/es/components/booking/info2/service/editService/utils.d.ts +0 -28
  201. package/es/components/booking/info2/utilsByBooking.d.ts +0 -36
  202. package/es/components/booking/utils.d.ts +0 -182
  203. package/es/components/checkout/PaymentModal.d.ts +0 -39
  204. package/es/components/checkout/components/AdditionalModule/index.d.ts +0 -15
  205. package/es/components/checkout/components/CashPaymentModule/index.d.ts +0 -26
  206. package/es/components/checkout/components/PaymentDetailModal/index.d.ts +0 -38
  207. package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +0 -85
  208. package/es/components/checkout/components/SearchAndClientModule/index.d.ts +0 -14
  209. package/es/components/checkout/hooks/useWalletPass.d.ts +0 -40
  210. package/es/components/checkout/utils/PaymentResultToastUtils.d.ts +0 -32
  211. package/es/components/eftposPay/utils/log/index.d.ts +0 -110
  212. package/es/components/kioskSkuDetail/index.d.ts +0 -36
  213. package/es/components/list/List.d.ts +0 -5
  214. package/es/components/list/hooks/useListState.d.ts +0 -45
  215. package/es/components/pay/toB/components/MX51/index.d.ts +0 -3
  216. package/es/components/pay/toB/types/index.d.ts +0 -72
  217. package/es/components/pay/toC/locales.d.ts +0 -301
  218. package/es/components/pay/toC/status.d.ts +0 -13
  219. package/es/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +0 -3
  220. package/es/components/systemSettings/registry/components/ModuleList.d.ts +0 -4
  221. package/es/components/systemSettings/registry/locales.d.ts +0 -272
  222. package/es/components/systemSettings/registry/services.d.ts +0 -77
  223. package/es/components/systemSettings/registry/types.d.ts +0 -126
  224. package/es/components/systemSettings/registry/utils/typeValidation.d.ts +0 -16
  225. package/es/components/systemSettings/registry/utils/validators.d.ts +0 -8
  226. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -10
  227. package/es/components/ticketBooking/components/addServiceVariant/utils.d.ts +0 -8
  228. package/es/components/ticketBooking/components/timeBar/index.d.ts +0 -14
  229. package/es/components/ticketBooking/hooks/pisellos/useProducts.d.ts +0 -16
  230. package/es/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +0 -6
  231. package/es/components/ticketBooking/serve.d.ts +0 -288
  232. package/es/components/wallet/utils.d.ts +0 -48
  233. package/es/components/walletList/types/index.d.ts +0 -194
  234. package/es/plus/clientName/index.d.ts +0 -4
  235. package/es/plus/clientName/type.d.ts +0 -13
  236. package/es/plus/clientName/utils.d.ts +0 -2
  237. package/es/plus/contactInfo/components/SwipeAction/index.d.ts +0 -46
  238. package/es/plus/contactInfo/locales.d.ts +0 -15
  239. package/es/plus/contactInfo/types.d.ts +0 -91
  240. package/es/plus/contactInfo/utils.d.ts +0 -7
  241. package/es/plus/contactInfoModal/locales.d.ts +0 -66
  242. package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +0 -4
  243. package/es/plus/productSelect/ProductCard/index.d.ts +0 -47
  244. package/es/plus/productSelect/utils.d.ts +0 -39
  245. package/es/plus/walletEditor/components/JsonEditor/index.d.ts +0 -11
  246. package/es/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +0 -20
  247. package/es/plus/walletEditor/components/relationProduct/index.d.ts +0 -7
  248. package/es/plus/walletEditor/types.d.ts +0 -52
  249. package/es/plus/webPosLogin/WebPosLogin.d.ts +0 -11
  250. package/es/plus/webPosLogin/WebPosLoginCpt.d.ts +0 -9
  251. package/es/plus/webPosLogin/components/BrandPanel/index.d.ts +0 -9
  252. package/es/plus/webPosLogin/components/LoginPanel/index.d.ts +0 -21
  253. package/es/plus/webPosLogin/components/MediaDisplay/index.d.ts +0 -12
  254. package/es/plus/webPosLogin/components/MediaDisplay/type.d.ts +0 -54
  255. package/es/plus/webPosLogin/components/SelectDevice/index.d.ts +0 -28
  256. package/es/plus/webPosLogin/components/SelectStore/index.d.ts +0 -24
  257. package/es/plus/webPosLogin/components/UserFooter/index.d.ts +0 -28
  258. package/es/plus/webPosLogin/index.d.ts +0 -12
  259. package/es/plus/webPosLogin/locales.d.ts +0 -49
  260. package/es/plus/webPosLogin/service.d.ts +0 -44
  261. package/es/plus/webPosLogin/types.d.ts +0 -286
  262. package/es/pro/Login2.0/Login2.d.ts +0 -61
  263. package/es/pro/Login2.0/components/phoneValidation.d.ts +0 -17
  264. package/es/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +0 -24
  265. package/es/pro/Login2.0/locales.d.ts +0 -543
  266. package/es/pro/Login2.0/shared/registerFlow.d.ts +0 -116
  267. package/es/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +0 -12
  268. package/es/pro/Login2.0/steps/VerificationSuccess.d.ts +0 -8
  269. package/es/pro/Login2.0/steps/VerifyingEmailLink.d.ts +0 -7
  270. package/es/pro/Login2.0/steps/WaitEmailLink.d.ts +0 -18
  271. package/es/pro/Login2.0/types.d.ts +0 -167
  272. package/lib/components/appointmentBooking/components/Services/index.d.ts +0 -4
  273. package/lib/components/appointmentBooking/components/Voucher/index.d.ts +0 -4
  274. package/lib/components/authentication/admin/AuthMethods/SettingList.d.ts +0 -5
  275. package/lib/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +0 -22
  276. package/lib/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +0 -11
  277. package/lib/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +0 -13
  278. package/lib/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +0 -13
  279. package/lib/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +0 -14
  280. package/lib/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +0 -13
  281. package/lib/components/authentication/admin/AuthMethods/components/index.d.ts +0 -10
  282. package/lib/components/authentication/admin/AuthMethods/constants.d.ts +0 -22
  283. package/lib/components/authentication/admin/AuthMethods/locales.d.ts +0 -249
  284. package/lib/components/authentication/admin/AuthMethods/types.d.ts +0 -76
  285. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +0 -84
  286. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +0 -41
  287. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +0 -6
  288. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +0 -72
  289. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +0 -33
  290. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +0 -27
  291. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +0 -25
  292. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +0 -66
  293. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +0 -26
  294. package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +0 -39
  295. package/lib/components/authentication/admin/ChannelAuthSetting/types.d.ts +0 -36
  296. package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +0 -66
  297. package/lib/components/authentication/admin/CustomerAuth/types.d.ts +0 -16
  298. package/lib/components/authentication/admin/CustomerOAuthConfig/index.d.ts +0 -6
  299. package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +0 -108
  300. package/lib/components/authentication/admin/CustomerOAuthConfig/types.d.ts +0 -22
  301. package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +0 -57
  302. package/lib/components/authentication/admin/DeviceAuth/types.d.ts +0 -16
  303. package/lib/components/authentication/admin/OAuthConfig/index.d.ts +0 -6
  304. package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +0 -90
  305. package/lib/components/authentication/admin/OAuthConfig/types.d.ts +0 -22
  306. package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +0 -54
  307. package/lib/components/authentication/admin/OrgAdminAuth/types.d.ts +0 -16
  308. package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +0 -48
  309. package/lib/components/authentication/admin/POSOperatorAuth/types.d.ts +0 -16
  310. package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +0 -54
  311. package/lib/components/authentication/admin/SaaSAdminAuth/types.d.ts +0 -16
  312. package/lib/components/authentication/index.d.ts +0 -0
  313. package/lib/components/booking/addons/model.d.ts +0 -10
  314. package/lib/components/booking/components/actionButtons/index.d.ts +0 -31
  315. package/lib/components/booking/components/customSelect/index.d.ts +0 -38
  316. package/lib/components/booking/components/footer/index.d.ts +0 -11
  317. package/lib/components/booking/components/footer/utils.d.ts +0 -67
  318. package/lib/components/booking/components/voucher/index.d.ts +0 -3
  319. package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
  320. package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -6
  321. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -43
  322. package/lib/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +0 -25
  323. package/lib/components/booking/info/service/Lists.d.ts +0 -2
  324. package/lib/components/booking/info/service/serve.d.ts +0 -34
  325. package/lib/components/booking/info/service2/utils.d.ts +0 -219
  326. package/lib/components/booking/info/utils.d.ts +0 -50
  327. package/lib/components/booking/info2/service/addService/utils.d.ts +0 -106
  328. package/lib/components/booking/info2/service/editService/utils.d.ts +0 -28
  329. package/lib/components/booking/info2/utilsByBooking.d.ts +0 -36
  330. package/lib/components/booking/utils.d.ts +0 -182
  331. package/lib/components/checkout/PaymentModal.d.ts +0 -39
  332. package/lib/components/checkout/components/AdditionalModule/index.d.ts +0 -15
  333. package/lib/components/checkout/components/CashPaymentModule/index.d.ts +0 -26
  334. package/lib/components/checkout/components/PaymentDetailModal/index.d.ts +0 -38
  335. package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +0 -85
  336. package/lib/components/checkout/components/SearchAndClientModule/index.d.ts +0 -14
  337. package/lib/components/checkout/hooks/useWalletPass.d.ts +0 -40
  338. package/lib/components/checkout/utils/PaymentResultToastUtils.d.ts +0 -32
  339. package/lib/components/eftposPay/utils/log/index.d.ts +0 -110
  340. package/lib/components/kioskSkuDetail/index.d.ts +0 -36
  341. package/lib/components/list/List.d.ts +0 -5
  342. package/lib/components/list/hooks/useListState.d.ts +0 -45
  343. package/lib/components/pay/toB/components/MX51/index.d.ts +0 -3
  344. package/lib/components/pay/toB/types/index.d.ts +0 -72
  345. package/lib/components/pay/toC/locales.d.ts +0 -301
  346. package/lib/components/pay/toC/status.d.ts +0 -13
  347. package/lib/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +0 -3
  348. package/lib/components/systemSettings/registry/components/ModuleList.d.ts +0 -4
  349. package/lib/components/systemSettings/registry/locales.d.ts +0 -272
  350. package/lib/components/systemSettings/registry/services.d.ts +0 -77
  351. package/lib/components/systemSettings/registry/types.d.ts +0 -126
  352. package/lib/components/systemSettings/registry/utils/typeValidation.d.ts +0 -16
  353. package/lib/components/systemSettings/registry/utils/validators.d.ts +0 -8
  354. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -10
  355. package/lib/components/ticketBooking/components/addServiceVariant/utils.d.ts +0 -8
  356. package/lib/components/ticketBooking/components/timeBar/index.d.ts +0 -14
  357. package/lib/components/ticketBooking/hooks/pisellos/useProducts.d.ts +0 -16
  358. package/lib/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +0 -6
  359. package/lib/components/ticketBooking/serve.d.ts +0 -288
  360. package/lib/components/wallet/utils.d.ts +0 -48
  361. package/lib/components/walletList/types/index.d.ts +0 -194
  362. package/lib/plus/clientName/index.d.ts +0 -4
  363. package/lib/plus/clientName/type.d.ts +0 -13
  364. package/lib/plus/clientName/utils.d.ts +0 -2
  365. package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +0 -46
  366. package/lib/plus/contactInfo/locales.d.ts +0 -15
  367. package/lib/plus/contactInfo/types.d.ts +0 -91
  368. package/lib/plus/contactInfo/utils.d.ts +0 -7
  369. package/lib/plus/contactInfoModal/locales.d.ts +0 -66
  370. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +0 -4
  371. package/lib/plus/productSelect/ProductCard/index.d.ts +0 -47
  372. package/lib/plus/productSelect/utils.d.ts +0 -39
  373. package/lib/plus/walletEditor/components/JsonEditor/index.d.ts +0 -11
  374. package/lib/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +0 -20
  375. package/lib/plus/walletEditor/components/relationProduct/index.d.ts +0 -7
  376. package/lib/plus/walletEditor/types.d.ts +0 -52
  377. package/lib/plus/webPosLogin/WebPosLogin.d.ts +0 -11
  378. package/lib/plus/webPosLogin/WebPosLoginCpt.d.ts +0 -9
  379. package/lib/plus/webPosLogin/components/BrandPanel/index.d.ts +0 -9
  380. package/lib/plus/webPosLogin/components/LoginPanel/index.d.ts +0 -21
  381. package/lib/plus/webPosLogin/components/MediaDisplay/index.d.ts +0 -12
  382. package/lib/plus/webPosLogin/components/MediaDisplay/type.d.ts +0 -54
  383. package/lib/plus/webPosLogin/components/SelectDevice/index.d.ts +0 -28
  384. package/lib/plus/webPosLogin/components/SelectStore/index.d.ts +0 -24
  385. package/lib/plus/webPosLogin/components/UserFooter/index.d.ts +0 -28
  386. package/lib/plus/webPosLogin/index.d.ts +0 -12
  387. package/lib/plus/webPosLogin/locales.d.ts +0 -49
  388. package/lib/plus/webPosLogin/service.d.ts +0 -44
  389. package/lib/plus/webPosLogin/types.d.ts +0 -286
  390. package/lib/pro/Login2.0/Login2.d.ts +0 -61
  391. package/lib/pro/Login2.0/components/phoneValidation.d.ts +0 -17
  392. package/lib/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +0 -24
  393. package/lib/pro/Login2.0/locales.d.ts +0 -543
  394. package/lib/pro/Login2.0/shared/registerFlow.d.ts +0 -116
  395. package/lib/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +0 -12
  396. package/lib/pro/Login2.0/steps/VerificationSuccess.d.ts +0 -8
  397. package/lib/pro/Login2.0/steps/VerifyingEmailLink.d.ts +0 -7
  398. package/lib/pro/Login2.0/steps/WaitEmailLink.d.ts +0 -18
  399. package/lib/pro/Login2.0/types.d.ts +0 -167
@@ -1,10 +1 @@
1
- /// <reference types="react" />
2
- import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
- state: FormState;
5
- } & {
6
- dispatch: (params: {
7
- type: string;
8
- payload: any;
9
- }) => void;
10
- }>;
1
+ export declare const Provider: any, Context: any;
@@ -1,10 +1 @@
1
- /// <reference types="react" />
2
- import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
- state: FormState;
5
- } & {
6
- dispatch: (params: {
7
- type: string;
8
- payload: any;
9
- }) => void;
10
- }>;
1
+ export declare const Provider: any, Context: any;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: ({ input, ...formItemProps }: any) => JSX.Element;
2
3
  export default _default;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  /**
2
3
  * @title: 递归循环表单数据
3
4
  * @Author: hongbing.wang
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { RadioGroupProps } from 'antd';
2
3
  export declare const CheckboxGroup: ({ direction, options, ...props }: any) => JSX.Element;
3
4
  export declare const RadioGroup: ({ direction, options, ...props }: RadioGroupProps & {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Eftpos } from './const';
2
3
  /**
3
4
  * @title: tyro 设备连接
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: ({ color }: {
2
3
  color?: string | undefined;
3
4
  }) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: ({ color }: {
2
3
  color?: string | undefined;
3
4
  }) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  /**
2
3
  * @title: 自定义组件设置
3
4
  * @description: 自定义组件设置
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.css';
2
3
  /**
3
4
  * @title: 自定义组件设置
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: () => JSX.Element;
2
3
  export default _default;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './titlebar.less';
2
3
  declare enum EPopupTitleBarVariantType {
3
4
  BackTitleClose = "back-title-cancel",
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: (props: {
2
3
  status: string;
3
4
  pedding?: string;
@@ -19,7 +19,7 @@ export declare const useStoreRef: <T extends {
19
19
  readonly netRef: React.MutableRefObject<boolean | undefined>;
20
20
  readonly symbolRef: React.MutableRefObject<string>;
21
21
  readonly amountRef: React.MutableRefObject<string | number>;
22
- readonly eftposRef: React.MutableRefObject<"stripe" | "payo" | "tyro" | "windcave" | "linkly">;
22
+ readonly eftposRef: React.MutableRefObject<"payo" | "tyro" | "windcave" | "stripe" | "linkly">;
23
23
  readonly clientRef: React.MutableRefObject<ClientEnum>;
24
24
  readonly dataRef: React.MutableRefObject<import("./store").State>;
25
25
  };
@@ -297,7 +297,7 @@ export declare const backUpFree: (payload: Partial<State>) => {
297
297
  amount?: string | number | undefined;
298
298
  mode?: "refund" | "fullPay" | "pay" | "query" | undefined;
299
299
  order_id?: string | number | undefined;
300
- eftpos?: "stripe" | "payo" | "tyro" | "windcave" | "linkly" | undefined;
300
+ eftpos?: "payo" | "tyro" | "windcave" | "stripe" | "linkly" | undefined;
301
301
  action?: "amount" | "deviceList" | "pay" | undefined;
302
302
  key?: number | undefined;
303
303
  step?: number | undefined;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  /**
2
3
  * @title: 获取 Tyro 资源
3
4
  * @description:
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Deposit: () => JSX.Element;
2
3
  export default Deposit;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Header: () => JSX.Element;
3
4
  export default Header;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const SelectHolderModal: (props: any) => JSX.Element;
2
3
  export default SelectHolderModal;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const DayItem: (props: any) => JSX.Element;
3
4
  export default DayItem;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  import { CalendarItemProps } from '../../../../../type';
3
4
  declare const Item: (props: CalendarItemProps) => JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Resource: (props: any) => JSX.Element;
2
3
  export default Resource;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Schedule: () => JSX.Element;
2
3
  export default Schedule;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PayMethod, PayMethodGroup } from '../../types';
2
3
  import './index.less';
3
4
  declare const ToBPayCardGroup: (props: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const StripeSDK: ({ public_key, client_secret, children, lang, }: {
2
3
  public_key: string;
3
4
  client_secret?: string | undefined;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const StripeSDK: ({ public_key, client_secret, children, lang, }: {
2
3
  public_key: string;
3
4
  client_secret?: string | undefined;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.module.less';
2
3
  declare const StripePayment: () => JSX.Element;
3
4
  export default StripePayment;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface FormState {
3
2
  platform: 'pc' | 'h5' | '' | undefined;
4
3
  order: any;
@@ -30,11 +29,4 @@ export interface PayGroup {
30
29
  _order: any;
31
30
  front_order_uuid?: string;
32
31
  }
33
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
34
- state: FormState;
35
- } & {
36
- dispatch: (params: {
37
- type: string;
38
- payload: any;
39
- }) => void;
40
- }>;
32
+ export declare const Provider: any, Context: any;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const PhoneField: ({ value, onChange }: any) => JSX.Element;
2
3
  export default PhoneField;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface AddClientProps {
3
4
  onChange: (value: any) => void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface RightPanelProps {
3
4
  value: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const Actor: ({ name }: {
2
3
  name: string;
3
4
  }) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface valueType {
3
4
  }
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const SelectResourcesTable: ({ value, onChange }: any) => JSX.Element;
3
4
  export default SelectResourcesTable;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  interface ProductExtensionProps {
3
4
  onDataChange: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  import { ScheduleItem } from '../../../type';
3
4
  declare type Item = any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CalendarDataItem, ScheduleItem } from "./type";
3
2
  import dayjs from "dayjs";
4
3
  export interface FormState {
@@ -69,11 +68,4 @@ export interface FormState {
69
68
  };
70
69
  setGlobalState: Function | null;
71
70
  }
72
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
73
- state: FormState;
74
- } & {
75
- dispatch: (params: {
76
- type: string;
77
- payload: any;
78
- }) => void;
79
- }>;
71
+ export declare const Provider: any, Context: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const RelationProduct: ({ value, onChange, }: {
3
4
  value?: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Empty: (props: any) => JSX.Element;
3
4
  export default Empty;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Content: () => JSX.Element;
3
4
  export default Content;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { shoppingCartProps } from './type';
2
3
  declare const shoppingCart: ({ onCard, onAction, onChange, onAddProduct, onActiveKey, ...props }: shoppingCartProps) => JSX.Element;
3
4
  export default shoppingCart;
@@ -47,7 +47,7 @@ declare type ScanData = {
47
47
  };
48
48
  };
49
49
  export declare const formatScanCustomer: (data: ScanData) => {
50
- searchType: "product" | "customer" | "wallet" | "walletPass" | "local_product";
50
+ searchType: "customer" | "wallet" | "walletPass" | "product" | "local_product";
51
51
  data: any;
52
52
  scanCode: string;
53
53
  } | null;
@@ -141,6 +141,7 @@ var restoreProductOtherData = (data) => {
141
141
  product_id: detail.product_id,
142
142
  option: formatOptions(detail),
143
143
  bundle: (detail.product_bundle || []).map((bundleItem) => {
144
+ const price = (bundleItem == null ? void 0 : bundleItem.bundle_sum_type) === "markdown" ? `-${Number(bundleItem.bundle_sum_price)}` : Number(bundleItem.bundle_sum_price);
144
145
  return {
145
146
  ...bundleItem,
146
147
  title: bundleItem.bundle_title,
@@ -158,7 +159,9 @@ var restoreProductOtherData = (data) => {
158
159
  product_option_item_id: optionItem.option_group_item_id
159
160
  };
160
161
  }),
161
- price: (bundleItem == null ? void 0 : bundleItem.bundle_sum_type) === "markdown" ? `-${Number(bundleItem.bundle_sum_price)}` : Number(bundleItem.bundle_sum_price)
162
+ price,
163
+ original_total: bundleItem.bundle_selling_price ?? price,
164
+ original_price: bundleItem.bundle_selling_price ?? price
162
165
  };
163
166
  }),
164
167
  product_variant_id: detail.product_variant_id || 0,
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const PhoneField: ({ value, onChange }: any) => JSX.Element;
2
3
  export default PhoneField;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { RenderItemProps } from '../../../../pro/Selector/types';
2
3
  declare const NormalCard: (props: RenderItemProps & {
3
4
  parentDataSource: any;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const Example: React.FC;
3
+ export default Example;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { CashKeyboardBaseProps } from './types';
2
3
  export interface CashKeyboardProps extends CashKeyboardBaseProps {
3
4
  containerProps?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/private-materials",
3
- "version": "6.8.32",
3
+ "version": "6.8.33",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -78,8 +78,8 @@
78
78
  "styled-components": "^6.0.0-rc.3",
79
79
  "@pisell/date-picker": "3.0.7",
80
80
  "@pisell/materials": "6.8.7",
81
- "@pisell/utils": "3.0.2",
82
- "@pisell/icon": "0.0.11"
81
+ "@pisell/icon": "0.0.11",
82
+ "@pisell/utils": "3.0.2"
83
83
  },
84
84
  "peerDependencies": {
85
85
  "react": "^18.0.0",
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- declare const Services: React.ForwardRefExoticComponent<React.RefAttributes<unknown>>;
4
- export default Services;
@@ -1,4 +0,0 @@
1
- import '../../../booking/components/voucher/index.less';
2
- import './index.less';
3
- declare const VoucherCard: (props: any) => JSX.Element;
4
- export default VoucherCard;
@@ -1,5 +0,0 @@
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;
@@ -1,22 +0,0 @@
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;
@@ -1,11 +0,0 @@
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;
@@ -1,13 +0,0 @@
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;
@@ -1,13 +0,0 @@
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;
@@ -1,14 +0,0 @@
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;
@@ -1,13 +0,0 @@
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;
@@ -1,10 +0,0 @@
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';
@@ -1,22 +0,0 @@
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[];