@pisell/private-materials 6.3.66 → 6.3.67

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 (393) 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 +7 -7
  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 +51 -0
  13. package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  14. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  15. package/es/components/appointmentBooking/locales.d.ts +363 -0
  16. package/es/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
  17. package/es/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
  18. package/es/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
  19. package/es/components/authentication/admin/AuthMethods/types.d.ts +76 -0
  20. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
  21. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
  22. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
  23. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
  24. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
  25. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
  26. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
  27. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
  28. package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
  29. package/es/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
  30. package/es/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
  31. package/es/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
  32. package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
  33. package/es/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
  34. package/es/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
  35. package/es/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
  36. package/es/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
  37. package/es/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
  38. package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
  39. package/es/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
  40. package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
  41. package/es/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
  42. package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
  43. package/es/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
  44. package/es/components/authentication/index.d.ts +0 -0
  45. package/es/components/booking/addons/model.d.ts +10 -1
  46. package/es/components/booking/components/TabProduct/index.d.ts +0 -1
  47. package/es/components/booking/components/tabPane/index.d.ts +4 -0
  48. package/es/components/booking/dashboard/serve.d.ts +1 -0
  49. package/es/components/booking/editBookingModal/utils.d.ts +12 -0
  50. package/es/components/booking/forms/model.d.ts +10 -1
  51. package/es/components/booking/forms/serve.d.ts +18 -0
  52. package/es/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  53. package/es/components/booking/info/addServiceVariant/index.d.ts +0 -1
  54. package/es/components/booking/info/client/serve.d.ts +2 -0
  55. package/es/components/booking/info/dateRange/index.d.ts +0 -1
  56. package/es/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
  57. package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  58. package/es/components/booking/info/index.d.ts +0 -1
  59. package/es/components/booking/info/model.d.ts +10 -1
  60. package/es/components/booking/info/pet/serve.d.ts +1 -0
  61. package/es/components/booking/info/service/Lists.d.ts +0 -1
  62. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  63. package/es/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
  64. package/es/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  65. package/es/components/booking/info/service/editService/constants.d.ts +1 -0
  66. package/es/components/booking/info/service/serve.d.ts +20 -0
  67. package/es/components/booking/info/service2/Lists.d.ts +0 -1
  68. package/es/components/booking/info/service2/utils.d.ts +1 -1
  69. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  70. package/es/components/booking/locales.d.ts +843 -0
  71. package/es/components/booking/materiels/startTime/index.d.ts +0 -1
  72. package/es/components/booking/model.d.ts +9 -1
  73. package/es/components/booking/notes/model.d.ts +10 -1
  74. package/es/components/booking/payments/model.d.ts +10 -1
  75. package/es/components/eftposPay/amount.d.ts +1 -1
  76. package/es/components/eftposPay/const.d.ts +184 -0
  77. package/es/components/eftposPay/device.d.ts +1 -1
  78. package/es/components/eftposPay/hooks.d.ts +1 -1
  79. package/es/components/eftposPay/locales.d.ts +330 -0
  80. package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  81. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  82. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  83. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  84. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  85. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  86. package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  87. package/es/components/pay/toC/PaymentList/index.d.ts +1 -1
  88. package/es/components/pay/toC/PaymentList/index.js +54 -5
  89. package/es/components/pay/toC/PaymentList/index.less +58 -1
  90. package/es/components/pay/toC/PaymentList/payment/credit_card.png +0 -0
  91. package/es/components/pay/toC/PaymentList/payment/visa.png +0 -0
  92. package/es/components/pay/toC/PaymentList/serve.d.ts +1 -1
  93. package/es/components/pay/toC/PaymentList/serve.js +7 -0
  94. package/es/components/pay/toC/PaymentList/utils.d.ts +31 -0
  95. package/es/components/pay/toC/PaymentList/utils.js +165 -5
  96. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
  97. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +2 -0
  98. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +2 -0
  99. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +2 -0
  100. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  101. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  102. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  103. package/es/components/pay/toC/index.js +2 -1
  104. package/es/components/pay/toC/locales.d.ts +307 -0
  105. package/es/components/pay/toC/locales.js +9 -3
  106. package/es/components/pay/toC/model.d.ts +9 -1
  107. package/es/components/pay/toC/status.d.ts +13 -0
  108. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  109. package/es/components/productExtension/fields/Actor/index.d.ts +0 -1
  110. package/es/components/productExtension/fields/Forms/index.d.ts +0 -1
  111. package/es/components/ruleSetting/locales.d.ts +48 -0
  112. package/es/components/schedules/model.d.ts +9 -1
  113. package/es/components/shoppingCart/components/Cart/Product.d.ts +0 -1
  114. package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
  115. package/es/components/shoppingCart/components/Render/index.d.ts +0 -1
  116. package/es/components/shoppingCart/locales.d.ts +33 -0
  117. package/es/components/shoppingCart/type.d.ts +48 -0
  118. package/es/components/subTotal/locales.d.ts +42 -0
  119. package/es/components/systemSettings/registry/locales.d.ts +272 -0
  120. package/es/components/systemSettings/registry/services.d.ts +77 -0
  121. package/es/components/systemSettings/registry/types.d.ts +126 -0
  122. package/es/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
  123. package/es/components/systemSettings/registry/utils/validators.d.ts +8 -0
  124. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
  125. package/es/components/ticketBooking/locales.d.ts +174 -0
  126. package/es/components/wallet/utils.d.ts +48 -0
  127. package/es/components/walletList/locales.d.ts +27 -0
  128. package/es/components/walletList/types/index.d.ts +194 -0
  129. package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
  130. package/es/components/workSpaceList/components/Card/constants.d.ts +2 -0
  131. package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
  132. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
  133. package/es/hooks/useEngineContext.d.ts +10 -0
  134. package/es/hooks/useWindowSize.d.ts +5 -0
  135. package/es/plus/clientName/index.d.ts +4 -0
  136. package/es/plus/clientName/type.d.ts +13 -0
  137. package/es/plus/clientName/utils.d.ts +2 -0
  138. package/es/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
  139. package/es/plus/contactInfo/locales.d.ts +15 -0
  140. package/es/plus/contactInfo/types.d.ts +91 -0
  141. package/es/plus/contactInfo/utils.d.ts +7 -0
  142. package/es/plus/contactInfoModal/locales.d.ts +66 -0
  143. package/es/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
  144. package/es/plus/productSelect/index.js +5 -1
  145. package/es/plus/selectHolder/components/ErrorTip/index.d.ts +0 -1
  146. package/es/plus/selectHolder/locales.d.ts +21 -0
  147. package/es/plus/selectHolder/types.d.ts +104 -0
  148. package/es/plus/selectHolder/utils.d.ts +9 -0
  149. package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -1
  150. package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -1
  151. package/es/plus/skuOptionsSelection/hooks/index.d.ts +3 -0
  152. package/es/plus/skuOptionsSelection/hooks/useLanguage.d.ts +2 -0
  153. package/es/plus/skuOptionsSelection/hooks/useStore.d.ts +2 -0
  154. package/es/plus/skuOptionsSelection/hooks/useSymbol.d.ts +2 -0
  155. package/es/plus/skuOptionsSelection/locales.d.ts +30 -0
  156. package/es/plus/skuOptionsSelection/store/actions.d.ts +22 -0
  157. package/es/plus/skuOptionsSelection/store/createStore.d.ts +15 -0
  158. package/es/plus/skuOptionsSelection/store/index.d.ts +2 -0
  159. package/es/plus/skuOptionsSelection/store/store.d.ts +4 -0
  160. package/es/plus/skuOptionsSelection/types.d.ts +424 -0
  161. package/es/plus/skuOptionsSelection/utils/calculateOption.d.ts +6 -0
  162. package/es/plus/skuOptionsSelection/utils/checkSkuStatus.d.ts +37 -0
  163. package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
  164. package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
  165. package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
  166. package/es/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
  167. package/es/plus/walletEditor/locales.d.ts +135 -0
  168. package/es/plus/walletEditor/types.d.ts +52 -0
  169. package/es/plus/walletPassGallery/locales.d.ts +285 -0
  170. package/es/plus/walletPassGallery/utils.d.ts +48 -0
  171. package/es/pro/Login2.0/hooks/index.d.ts +2 -0
  172. package/es/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +24 -0
  173. package/es/pro/Login2.0/hooks/useRegisterFlow.d.ts +39 -0
  174. package/es/pro/Login2.0/hooks/useRegistrationMethods.d.ts +9 -0
  175. package/es/pro/Login2.0/locales.d.ts +543 -0
  176. package/es/pro/Login2.0/shared/Header.d.ts +11 -0
  177. package/es/pro/Login2.0/shared/registerFlow.d.ts +116 -0
  178. package/es/pro/Login2.0/shared/types.d.ts +232 -0
  179. package/es/pro/Login2.0/steps/CodeInput.js +37 -7
  180. package/es/pro/Login2.0/types.d.ts +167 -0
  181. package/es/pro/NumericStepper/index.d.ts +43 -0
  182. package/es/pro/Selector/BatchSelectorDemo.d.ts +3 -0
  183. package/es/pro/Selector/Item.d.ts +14 -0
  184. package/es/pro/Selector/Selector.stories.d.ts +78 -0
  185. package/es/pro/Selector/components/Card/index.d.ts +57 -0
  186. package/es/pro/Selector/components/Card/types.d.ts +1 -0
  187. package/es/pro/Selector/components/Indicator/index.d.ts +19 -0
  188. package/es/pro/Selector/components/IntersectionObserver.d.ts +105 -0
  189. package/es/pro/Selector/components/LayoutContainer/index.d.ts +16 -0
  190. package/es/pro/Selector/components/Media/index.d.ts +6 -0
  191. package/es/pro/Selector/components/Media/types.d.ts +47 -0
  192. package/es/pro/Selector/components/index.d.ts +4 -0
  193. package/es/pro/Selector/demo.d.ts +2 -0
  194. package/es/pro/Selector/hooks/usePresetItemProps.d.ts +43 -0
  195. package/es/pro/Selector/hooks/usePresetProps.d.ts +24 -0
  196. package/es/pro/Selector/index.d.ts +11 -0
  197. package/es/pro/Selector/locales.d.ts +36 -0
  198. package/es/pro/Selector/types.d.ts +173 -0
  199. package/es/pro/Selector/utils/index.d.ts +49 -0
  200. package/es/pro/pisellPaymentList/example.d.ts +19 -0
  201. package/es/test/setup.d.ts +1 -0
  202. package/lib/businessModel/SalesModel/index.d.ts +0 -1
  203. package/lib/components/Sales/Summary/utils.d.ts +51 -0
  204. package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  205. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  206. package/lib/components/appointmentBooking/locales.d.ts +363 -0
  207. package/lib/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
  208. package/lib/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
  209. package/lib/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
  210. package/lib/components/authentication/admin/AuthMethods/types.d.ts +76 -0
  211. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
  212. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
  213. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
  214. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
  215. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
  216. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
  217. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
  218. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
  219. package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
  220. package/lib/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
  221. package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
  222. package/lib/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
  223. package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
  224. package/lib/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
  225. package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
  226. package/lib/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
  227. package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
  228. package/lib/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
  229. package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
  230. package/lib/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
  231. package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
  232. package/lib/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
  233. package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
  234. package/lib/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
  235. package/lib/components/authentication/index.d.ts +0 -0
  236. package/lib/components/booking/addons/model.d.ts +10 -1
  237. package/lib/components/booking/components/TabProduct/index.d.ts +0 -1
  238. package/lib/components/booking/components/tabPane/index.d.ts +4 -0
  239. package/lib/components/booking/dashboard/serve.d.ts +1 -0
  240. package/lib/components/booking/editBookingModal/utils.d.ts +12 -0
  241. package/lib/components/booking/forms/model.d.ts +10 -1
  242. package/lib/components/booking/forms/serve.d.ts +18 -0
  243. package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  244. package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -1
  245. package/lib/components/booking/info/client/serve.d.ts +2 -0
  246. package/lib/components/booking/info/dateRange/index.d.ts +0 -1
  247. package/lib/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
  248. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  249. package/lib/components/booking/info/index.d.ts +0 -1
  250. package/lib/components/booking/info/model.d.ts +10 -1
  251. package/lib/components/booking/info/pet/serve.d.ts +1 -0
  252. package/lib/components/booking/info/service/Lists.d.ts +0 -1
  253. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  254. package/lib/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
  255. package/lib/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  256. package/lib/components/booking/info/service/editService/constants.d.ts +1 -0
  257. package/lib/components/booking/info/service/serve.d.ts +20 -0
  258. package/lib/components/booking/info/service2/Lists.d.ts +0 -1
  259. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  260. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  261. package/lib/components/booking/locales.d.ts +843 -0
  262. package/lib/components/booking/materiels/startTime/index.d.ts +0 -1
  263. package/lib/components/booking/model.d.ts +9 -1
  264. package/lib/components/booking/notes/model.d.ts +10 -1
  265. package/lib/components/booking/payments/model.d.ts +10 -1
  266. package/lib/components/eftposPay/amount.d.ts +1 -1
  267. package/lib/components/eftposPay/const.d.ts +184 -0
  268. package/lib/components/eftposPay/device.d.ts +1 -1
  269. package/lib/components/eftposPay/hooks.d.ts +1 -1
  270. package/lib/components/eftposPay/locales.d.ts +330 -0
  271. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  272. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  273. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  274. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  275. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  276. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  277. package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  278. package/lib/components/pay/toC/PaymentList/index.d.ts +1 -1
  279. package/lib/components/pay/toC/PaymentList/index.js +36 -5
  280. package/lib/components/pay/toC/PaymentList/index.less +58 -1
  281. package/lib/components/pay/toC/PaymentList/payment/credit_card.png +0 -0
  282. package/lib/components/pay/toC/PaymentList/payment/visa.png +0 -0
  283. package/lib/components/pay/toC/PaymentList/serve.d.ts +1 -1
  284. package/lib/components/pay/toC/PaymentList/serve.js +5 -1
  285. package/lib/components/pay/toC/PaymentList/utils.d.ts +31 -0
  286. package/lib/components/pay/toC/PaymentList/utils.js +134 -6
  287. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
  288. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +2 -0
  289. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +2 -0
  290. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +2 -0
  291. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  292. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  293. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  294. package/lib/components/pay/toC/index.js +2 -1
  295. package/lib/components/pay/toC/locales.d.ts +307 -0
  296. package/lib/components/pay/toC/locales.js +9 -3
  297. package/lib/components/pay/toC/model.d.ts +9 -1
  298. package/lib/components/pay/toC/status.d.ts +13 -0
  299. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  300. package/lib/components/productExtension/fields/Actor/index.d.ts +0 -1
  301. package/lib/components/productExtension/fields/Forms/index.d.ts +0 -1
  302. package/lib/components/ruleSetting/locales.d.ts +48 -0
  303. package/lib/components/schedules/model.d.ts +9 -1
  304. package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -1
  305. package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
  306. package/lib/components/shoppingCart/components/Render/index.d.ts +0 -1
  307. package/lib/components/shoppingCart/locales.d.ts +33 -0
  308. package/lib/components/shoppingCart/type.d.ts +48 -0
  309. package/lib/components/subTotal/locales.d.ts +42 -0
  310. package/lib/components/systemSettings/registry/locales.d.ts +272 -0
  311. package/lib/components/systemSettings/registry/services.d.ts +77 -0
  312. package/lib/components/systemSettings/registry/types.d.ts +126 -0
  313. package/lib/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
  314. package/lib/components/systemSettings/registry/utils/validators.d.ts +8 -0
  315. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
  316. package/lib/components/ticketBooking/locales.d.ts +174 -0
  317. package/lib/components/wallet/utils.d.ts +48 -0
  318. package/lib/components/walletList/locales.d.ts +27 -0
  319. package/lib/components/walletList/types/index.d.ts +194 -0
  320. package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
  321. package/lib/components/workSpaceList/components/Card/constants.d.ts +2 -0
  322. package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
  323. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
  324. package/lib/hooks/useEngineContext.d.ts +10 -0
  325. package/lib/hooks/useWindowSize.d.ts +5 -0
  326. package/lib/plus/clientName/index.d.ts +4 -0
  327. package/lib/plus/clientName/type.d.ts +13 -0
  328. package/lib/plus/clientName/utils.d.ts +2 -0
  329. package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
  330. package/lib/plus/contactInfo/locales.d.ts +15 -0
  331. package/lib/plus/contactInfo/types.d.ts +91 -0
  332. package/lib/plus/contactInfo/utils.d.ts +7 -0
  333. package/lib/plus/contactInfoModal/locales.d.ts +66 -0
  334. package/lib/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
  335. package/lib/plus/productSelect/index.js +4 -1
  336. package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +0 -1
  337. package/lib/plus/selectHolder/locales.d.ts +21 -0
  338. package/lib/plus/selectHolder/types.d.ts +104 -0
  339. package/lib/plus/selectHolder/utils.d.ts +9 -0
  340. package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -1
  341. package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -1
  342. package/lib/plus/skuOptionsSelection/hooks/index.d.ts +3 -0
  343. package/lib/plus/skuOptionsSelection/hooks/useLanguage.d.ts +2 -0
  344. package/lib/plus/skuOptionsSelection/hooks/useStore.d.ts +2 -0
  345. package/lib/plus/skuOptionsSelection/hooks/useSymbol.d.ts +2 -0
  346. package/lib/plus/skuOptionsSelection/locales.d.ts +30 -0
  347. package/lib/plus/skuOptionsSelection/store/actions.d.ts +22 -0
  348. package/lib/plus/skuOptionsSelection/store/createStore.d.ts +15 -0
  349. package/lib/plus/skuOptionsSelection/store/index.d.ts +2 -0
  350. package/lib/plus/skuOptionsSelection/store/store.d.ts +4 -0
  351. package/lib/plus/skuOptionsSelection/types.d.ts +424 -0
  352. package/lib/plus/skuOptionsSelection/utils/calculateOption.d.ts +6 -0
  353. package/lib/plus/skuOptionsSelection/utils/checkSkuStatus.d.ts +37 -0
  354. package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
  355. package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
  356. package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
  357. package/lib/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
  358. package/lib/plus/walletEditor/locales.d.ts +135 -0
  359. package/lib/plus/walletEditor/types.d.ts +52 -0
  360. package/lib/plus/walletPassGallery/locales.d.ts +285 -0
  361. package/lib/plus/walletPassGallery/utils.d.ts +48 -0
  362. package/lib/pro/Login2.0/hooks/index.d.ts +2 -0
  363. package/lib/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +24 -0
  364. package/lib/pro/Login2.0/hooks/useRegisterFlow.d.ts +39 -0
  365. package/lib/pro/Login2.0/hooks/useRegistrationMethods.d.ts +9 -0
  366. package/lib/pro/Login2.0/locales.d.ts +543 -0
  367. package/lib/pro/Login2.0/shared/Header.d.ts +11 -0
  368. package/lib/pro/Login2.0/shared/registerFlow.d.ts +116 -0
  369. package/lib/pro/Login2.0/shared/types.d.ts +232 -0
  370. package/lib/pro/Login2.0/steps/CodeInput.js +27 -5
  371. package/lib/pro/Login2.0/types.d.ts +167 -0
  372. package/lib/pro/NumericStepper/index.d.ts +43 -0
  373. package/lib/pro/Selector/BatchSelectorDemo.d.ts +3 -0
  374. package/lib/pro/Selector/Item.d.ts +14 -0
  375. package/lib/pro/Selector/Selector.stories.d.ts +78 -0
  376. package/lib/pro/Selector/components/Card/index.d.ts +57 -0
  377. package/lib/pro/Selector/components/Card/types.d.ts +1 -0
  378. package/lib/pro/Selector/components/Indicator/index.d.ts +19 -0
  379. package/lib/pro/Selector/components/IntersectionObserver.d.ts +105 -0
  380. package/lib/pro/Selector/components/LayoutContainer/index.d.ts +16 -0
  381. package/lib/pro/Selector/components/Media/index.d.ts +6 -0
  382. package/lib/pro/Selector/components/Media/types.d.ts +47 -0
  383. package/lib/pro/Selector/components/index.d.ts +4 -0
  384. package/lib/pro/Selector/demo.d.ts +2 -0
  385. package/lib/pro/Selector/hooks/usePresetItemProps.d.ts +43 -0
  386. package/lib/pro/Selector/hooks/usePresetProps.d.ts +24 -0
  387. package/lib/pro/Selector/index.d.ts +11 -0
  388. package/lib/pro/Selector/locales.d.ts +36 -0
  389. package/lib/pro/Selector/types.d.ts +173 -0
  390. package/lib/pro/Selector/utils/index.d.ts +49 -0
  391. package/lib/pro/pisellPaymentList/example.d.ts +19 -0
  392. package/lib/test/setup.d.ts +1 -0
  393. package/package.json +4 -4
@@ -0,0 +1,76 @@
1
+ /// <reference types="react" />
2
+ export declare enum AuthMethodType {
3
+ EMAIL = "email",
4
+ PHONE = "phone",
5
+ WALLET_PIN = "wallet_pin",
6
+ CUSTOMER_PASSCODE = "customer_passcode",
7
+ DEVICE_PASSCODE = "device_passcode",
8
+ TEAM_MEMBER = "team_member",
9
+ PASSWORD_RULES = "password_rules",
10
+ GUEST = "guest",
11
+ WALK_IN = "walk_in",
12
+ GOOGLE = "google",
13
+ FACEBOOK = "facebook",
14
+ APPLE = "apple",
15
+ DIGIT_ID_PIN = "digit_id_pin"
16
+ }
17
+ export declare enum AuthMethodCategory {
18
+ GENERAL = "General",
19
+ PASSWORD_FREE = "Password-free",
20
+ AUTH_FREE = "Auth-free",
21
+ OAUTH = "OAuth"
22
+ }
23
+ export interface AuthMethod {
24
+ id: string;
25
+ type: AuthMethodType;
26
+ title: string;
27
+ category: AuthMethodCategory;
28
+ description: string;
29
+ icon: React.ReactNode;
30
+ enabled: boolean;
31
+ hasSettings: boolean;
32
+ sort?: number;
33
+ configLink?: string;
34
+ requiresOAuthConfig?: boolean;
35
+ inheritMessage?: string;
36
+ disableToggle?: boolean;
37
+ }
38
+ export interface AuthMethodsProps {
39
+ /**
40
+ * 自定义类名
41
+ */
42
+ className?: string;
43
+ /**
44
+ * 自定义样式
45
+ */
46
+ style?: React.CSSProperties;
47
+ /**
48
+ * 认证方法列表
49
+ */
50
+ methods?: AuthMethod[];
51
+ /**
52
+ * 顺序变化回调
53
+ */
54
+ onOrderChange?: (methods: AuthMethod[]) => void;
55
+ /**
56
+ * 启用/禁用回调
57
+ */
58
+ onToggle?: (method: AuthMethod, enabled: boolean) => void;
59
+ /**
60
+ * 设置按钮点击回调
61
+ */
62
+ onSettings?: (method: AuthMethod) => void;
63
+ /**
64
+ * 配置链接点击回调
65
+ */
66
+ onConfigClick?: (method: AuthMethod) => void;
67
+ /**
68
+ * 是否启用设置按钮
69
+ * @default true
70
+ */
71
+ enableSetting?: boolean;
72
+ /**
73
+ * 自定义标题渲染函数
74
+ */
75
+ renderTitle?: (method: AuthMethod) => React.ReactNode;
76
+ }
@@ -0,0 +1,84 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'auth.methods.title': string;
4
+ 'auth.methods.mode.default.title': string;
5
+ 'auth.methods.mode.default.description': string;
6
+ 'auth.methods.mode.default.configure': string;
7
+ 'auth.methods.mode.custom.title': string;
8
+ 'auth.methods.mode.custom.description': string;
9
+ 'auth.methods.custom.warning.title': string;
10
+ 'auth.methods.custom.warning.description': string;
11
+ 'auth.methods.preview.title': string;
12
+ 'auth.methods.preview.description': string;
13
+ 'auth.methods.preview.inherited': string;
14
+ 'auth.methods.customer.title': string;
15
+ 'auth.methods.customer.description': string;
16
+ 'auth.methods.label.email': string;
17
+ 'auth.methods.label.phoneNumber': string;
18
+ 'auth.methods.label.walletCode': string;
19
+ 'auth.methods.label.guest': string;
20
+ 'auth.methods.label.walkIn': string;
21
+ 'auth.methods.label.google': string;
22
+ 'auth.methods.label.facebook': string;
23
+ 'auth.methods.label.apple': string;
24
+ 'auth.methods.status.enabled': string;
25
+ 'auth.methods.status.disabled': string;
26
+ 'auth.methods.button.cancel': string;
27
+ 'auth.methods.button.save': string;
28
+ };
29
+ 'zh-CN': {
30
+ 'auth.methods.title': string;
31
+ 'auth.methods.mode.default.title': string;
32
+ 'auth.methods.mode.default.description': string;
33
+ 'auth.methods.mode.default.configure': string;
34
+ 'auth.methods.mode.custom.title': string;
35
+ 'auth.methods.mode.custom.description': string;
36
+ 'auth.methods.custom.warning.title': string;
37
+ 'auth.methods.custom.warning.description': string;
38
+ 'auth.methods.preview.title': string;
39
+ 'auth.methods.preview.description': string;
40
+ 'auth.methods.preview.inherited': string;
41
+ 'auth.methods.customer.title': string;
42
+ 'auth.methods.customer.description': string;
43
+ 'auth.methods.label.email': string;
44
+ 'auth.methods.label.phoneNumber': string;
45
+ 'auth.methods.label.walletCode': string;
46
+ 'auth.methods.label.guest': string;
47
+ 'auth.methods.label.walkIn': string;
48
+ 'auth.methods.label.google': string;
49
+ 'auth.methods.label.facebook': string;
50
+ 'auth.methods.label.apple': string;
51
+ 'auth.methods.status.enabled': string;
52
+ 'auth.methods.status.disabled': string;
53
+ 'auth.methods.button.cancel': string;
54
+ 'auth.methods.button.save': string;
55
+ };
56
+ 'zh-HK': {
57
+ 'auth.methods.title': string;
58
+ 'auth.methods.mode.default.title': string;
59
+ 'auth.methods.mode.default.description': string;
60
+ 'auth.methods.mode.default.configure': string;
61
+ 'auth.methods.mode.custom.title': string;
62
+ 'auth.methods.mode.custom.description': string;
63
+ 'auth.methods.custom.warning.title': string;
64
+ 'auth.methods.custom.warning.description': string;
65
+ 'auth.methods.preview.title': string;
66
+ 'auth.methods.preview.description': string;
67
+ 'auth.methods.preview.inherited': string;
68
+ 'auth.methods.customer.title': string;
69
+ 'auth.methods.customer.description': string;
70
+ 'auth.methods.label.email': string;
71
+ 'auth.methods.label.phoneNumber': string;
72
+ 'auth.methods.label.walletCode': string;
73
+ 'auth.methods.label.guest': string;
74
+ 'auth.methods.label.walkIn': string;
75
+ 'auth.methods.label.google': string;
76
+ 'auth.methods.label.facebook': string;
77
+ 'auth.methods.label.apple': string;
78
+ 'auth.methods.status.enabled': string;
79
+ 'auth.methods.status.disabled': string;
80
+ 'auth.methods.button.cancel': string;
81
+ 'auth.methods.button.save': string;
82
+ };
83
+ };
84
+ export default _default;
@@ -0,0 +1,41 @@
1
+ /// <reference types="react" />
2
+ export declare type AuthenticationMethod = 'email' | 'phoneNumber' | 'facebook' | 'apple' | 'guest';
3
+ export interface GlobalAuthMethod {
4
+ method: AuthenticationMethod;
5
+ enabled: boolean;
6
+ label: {
7
+ en: string;
8
+ 'zh-CN': string;
9
+ 'zh-HK': string;
10
+ };
11
+ }
12
+ export declare type AuthenticationSettingsMode = 'default' | 'custom';
13
+ export interface AuthMethodConfig {
14
+ enabled: boolean;
15
+ sort: number;
16
+ }
17
+ export interface AuthenticationMethodsValue {
18
+ mode: AuthenticationSettingsMode;
19
+ customMethods?: AuthenticationMethod[];
20
+ methods?: {
21
+ email?: AuthMethodConfig;
22
+ phoneNumber?: AuthMethodConfig;
23
+ facebook?: AuthMethodConfig;
24
+ apple?: AuthMethodConfig;
25
+ guest?: AuthMethodConfig;
26
+ };
27
+ }
28
+ export interface AuthenticationMethodsProps {
29
+ className?: string;
30
+ style?: React.CSSProperties;
31
+ value?: AuthenticationMethodsValue;
32
+ onChange?: (value: AuthenticationMethodsValue) => void;
33
+ /**
34
+ * 从全局设置中获取的认证方法配置
35
+ */
36
+ globalMethods?: GlobalAuthMethod[];
37
+ /**
38
+ * 配置全局设置的链接
39
+ */
40
+ onConfigureGlobal?: () => void;
41
+ }
@@ -0,0 +1,72 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'page.setting.login.form.menu.title': string;
4
+ 'page.setting.login.form.menu.desc': string;
5
+ 'collect.info.enable': string;
6
+ 'collect.info.account': string;
7
+ 'collect.info.allow.skip': string;
8
+ 'collect.info.prompt': string;
9
+ 'collect.info.fields': string;
10
+ 'collect.info.sort': string;
11
+ 'collect.info.customer.form': string;
12
+ 'collect.info.field.phone': string;
13
+ 'collect.info.field.phone.desc': string;
14
+ 'collect.info.field.email': string;
15
+ 'collect.info.field.email.desc': string;
16
+ 'collect.info.field.avatar': string;
17
+ 'collect.info.field.nickname': string;
18
+ 'collect.info.field.gender': string;
19
+ 'collect.info.field.name': string;
20
+ 'collect.info.required': string;
21
+ 'collect.info.optional': string;
22
+ 'collect.info.skip': string;
23
+ 'collect.info.disallow.skip': string;
24
+ };
25
+ 'zh-CN': {
26
+ 'page.setting.login.form.menu.title': string;
27
+ 'page.setting.login.form.menu.desc': string;
28
+ 'collect.info.enable': string;
29
+ 'collect.info.account': string;
30
+ 'collect.info.allow.skip': string;
31
+ 'collect.info.prompt': string;
32
+ 'collect.info.fields': string;
33
+ 'collect.info.sort': string;
34
+ 'collect.info.customer.form': string;
35
+ 'collect.info.field.phone': string;
36
+ 'collect.info.field.phone.desc': string;
37
+ 'collect.info.field.email': string;
38
+ 'collect.info.field.email.desc': string;
39
+ 'collect.info.field.avatar': string;
40
+ 'collect.info.field.nickname': string;
41
+ 'collect.info.field.gender': string;
42
+ 'collect.info.field.name': string;
43
+ 'collect.info.required': string;
44
+ 'collect.info.optional': string;
45
+ 'collect.info.skip': string;
46
+ 'collect.info.disallow.skip': string;
47
+ };
48
+ 'zh-HK': {
49
+ 'page.setting.login.form.menu.title': string;
50
+ 'page.setting.login.form.menu.desc': string;
51
+ 'collect.info.enable': string;
52
+ 'collect.info.account': string;
53
+ 'collect.info.allow.skip': string;
54
+ 'collect.info.prompt': string;
55
+ 'collect.info.fields': string;
56
+ 'collect.info.sort': string;
57
+ 'collect.info.customer.form': string;
58
+ 'collect.info.field.phone': string;
59
+ 'collect.info.field.phone.desc': string;
60
+ 'collect.info.field.email': string;
61
+ 'collect.info.field.email.desc': string;
62
+ 'collect.info.field.avatar': string;
63
+ 'collect.info.field.nickname': string;
64
+ 'collect.info.field.gender': string;
65
+ 'collect.info.field.name': string;
66
+ 'collect.info.required': string;
67
+ 'collect.info.optional': string;
68
+ 'collect.info.skip': string;
69
+ 'collect.info.disallow.skip': string;
70
+ };
71
+ };
72
+ export default _default;
@@ -0,0 +1,33 @@
1
+ /// <reference types="react" />
2
+ export interface TranslationValue {
3
+ en: string;
4
+ 'zh-CN': string;
5
+ 'zh-HK': string;
6
+ original: string;
7
+ }
8
+ export interface AccountField {
9
+ id: string;
10
+ name: string;
11
+ description: string;
12
+ checked: boolean;
13
+ required: 'required' | 'optional';
14
+ }
15
+ export interface CustomerFormItem {
16
+ id: string;
17
+ name: string;
18
+ waiver: 'skip' | 'required';
19
+ }
20
+ export interface CollectInfoValue {
21
+ enableCollectInfo: boolean;
22
+ collectAccountInfo: boolean;
23
+ allowSkip: boolean;
24
+ promptMessage: TranslationValue;
25
+ accountFields: AccountField[];
26
+ customerForms: CustomerFormItem[];
27
+ }
28
+ export interface CollectInfoProps {
29
+ className?: string;
30
+ style?: React.CSSProperties;
31
+ value?: CollectInfoValue;
32
+ onChange?: (value: CollectInfoValue) => void;
33
+ }
@@ -0,0 +1,27 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'page.setting.register.title': string;
4
+ 'page.setting.register.description': string;
5
+ 'page.setting.login.title': string;
6
+ 'page.setting.login.description': string;
7
+ 'page.setting.login.sameAsRegister': string;
8
+ 'page.setting.login.sameAsRegister.description': string;
9
+ };
10
+ 'zh-CN': {
11
+ 'page.setting.register.title': string;
12
+ 'page.setting.register.description': string;
13
+ 'page.setting.login.title': string;
14
+ 'page.setting.login.description': string;
15
+ 'page.setting.login.sameAsRegister': string;
16
+ 'page.setting.login.sameAsRegister.description': string;
17
+ };
18
+ 'zh-HK': {
19
+ 'page.setting.register.title': string;
20
+ 'page.setting.register.description': string;
21
+ 'page.setting.login.title': string;
22
+ 'page.setting.login.description': string;
23
+ 'page.setting.login.sameAsRegister': string;
24
+ 'page.setting.login.sameAsRegister.description': string;
25
+ };
26
+ };
27
+ export default _default;
@@ -0,0 +1,25 @@
1
+ /// <reference types="react" />
2
+ import { PageSettingItemValue } from '../PageSettingItem/types';
3
+ export interface PageSettingValue {
4
+ registerPage: PageSettingItemValue;
5
+ loginPage: {
6
+ sameAsRegister: boolean;
7
+ settings?: PageSettingItemValue;
8
+ };
9
+ }
10
+ export interface PageSettingProps {
11
+ className?: string;
12
+ style?: React.CSSProperties;
13
+ value?: PageSettingValue;
14
+ onChange?: (value: PageSettingValue) => void;
15
+ /**
16
+ * 是否显示注册页面配置
17
+ * 某些渠道(如POS)不支持注册页面,此时不显示"Same as Register Page Settings"选项
18
+ */
19
+ showRegisterPage?: boolean;
20
+ /**
21
+ * 是否显示图片上传组件
22
+ * 默认为true,设置为false时隐藏背景图片上传功能
23
+ */
24
+ showImageUpload?: boolean;
25
+ }
@@ -0,0 +1,66 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'page.setting.item.background.title': string;
4
+ 'page.setting.item.background.upload.text': string;
5
+ 'page.setting.item.background.upload.hint': string;
6
+ 'page.setting.item.background.description': string;
7
+ 'page.setting.item.background.usage': string;
8
+ 'page.setting.item.background.error.format': string;
9
+ 'page.setting.item.background.error.size': string;
10
+ 'page.setting.item.terms.title': string;
11
+ 'page.setting.item.terms.subtitle': string;
12
+ 'page.setting.item.terms.usage': string;
13
+ 'page.setting.item.terms.table.name': string;
14
+ 'page.setting.item.terms.table.url': string;
15
+ 'page.setting.item.terms.table.action': string;
16
+ 'page.setting.item.terms.table.name.placeholder': string;
17
+ 'page.setting.item.terms.table.url.placeholder': string;
18
+ 'page.setting.item.terms.button.add': string;
19
+ 'page.setting.item.terms.error.name.required': string;
20
+ 'page.setting.item.terms.error.url.required': string;
21
+ 'page.setting.item.terms.error.url.invalid': string;
22
+ };
23
+ 'zh-CN': {
24
+ 'page.setting.item.background.title': string;
25
+ 'page.setting.item.background.upload.text': string;
26
+ 'page.setting.item.background.upload.hint': string;
27
+ 'page.setting.item.background.description': string;
28
+ 'page.setting.item.background.usage': string;
29
+ 'page.setting.item.background.error.format': string;
30
+ 'page.setting.item.background.error.size': string;
31
+ 'page.setting.item.terms.title': string;
32
+ 'page.setting.item.terms.subtitle': string;
33
+ 'page.setting.item.terms.usage': string;
34
+ 'page.setting.item.terms.table.name': string;
35
+ 'page.setting.item.terms.table.url': string;
36
+ 'page.setting.item.terms.table.action': string;
37
+ 'page.setting.item.terms.table.name.placeholder': string;
38
+ 'page.setting.item.terms.table.url.placeholder': string;
39
+ 'page.setting.item.terms.button.add': string;
40
+ 'page.setting.item.terms.error.name.required': string;
41
+ 'page.setting.item.terms.error.url.required': string;
42
+ 'page.setting.item.terms.error.url.invalid': string;
43
+ };
44
+ 'zh-HK': {
45
+ 'page.setting.item.background.title': string;
46
+ 'page.setting.item.background.upload.text': string;
47
+ 'page.setting.item.background.upload.hint': string;
48
+ 'page.setting.item.background.description': string;
49
+ 'page.setting.item.background.usage': string;
50
+ 'page.setting.item.background.error.format': string;
51
+ 'page.setting.item.background.error.size': string;
52
+ 'page.setting.item.terms.title': string;
53
+ 'page.setting.item.terms.subtitle': string;
54
+ 'page.setting.item.terms.usage': string;
55
+ 'page.setting.item.terms.table.name': string;
56
+ 'page.setting.item.terms.table.url': string;
57
+ 'page.setting.item.terms.table.action': string;
58
+ 'page.setting.item.terms.table.name.placeholder': string;
59
+ 'page.setting.item.terms.table.url.placeholder': string;
60
+ 'page.setting.item.terms.button.add': string;
61
+ 'page.setting.item.terms.error.name.required': string;
62
+ 'page.setting.item.terms.error.url.required': string;
63
+ 'page.setting.item.terms.error.url.invalid': string;
64
+ };
65
+ };
66
+ export default _default;
@@ -0,0 +1,26 @@
1
+ /// <reference types="react" />
2
+ export interface TranslationValue {
3
+ en: string;
4
+ 'zh-CN': string;
5
+ 'zh-HK': string;
6
+ original: string;
7
+ }
8
+ export interface TermsCondition {
9
+ name: TranslationValue;
10
+ url: string;
11
+ }
12
+ export interface PageSettingItemValue {
13
+ backgroundImage?: string;
14
+ termsConditions: TermsCondition[];
15
+ }
16
+ export interface PageSettingItemProps {
17
+ className?: string;
18
+ style?: React.CSSProperties;
19
+ value?: PageSettingItemValue;
20
+ onChange?: (value: PageSettingItemValue) => void;
21
+ /**
22
+ * 是否显示图片上传组件
23
+ * 默认为true,设置为false时隐藏背景图片上传功能
24
+ */
25
+ showImageUpload?: boolean;
26
+ }
@@ -0,0 +1,39 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'channel.auth.setting.title': string;
4
+ 'channel.auth.setting.description': string;
5
+ 'channel.auth.setting.tab.pageSetting': string;
6
+ 'channel.auth.setting.tab.authenticationMethods': string;
7
+ 'channel.auth.setting.tab.collectInfo': string;
8
+ 'channel.auth.setting.button.cancel': string;
9
+ 'channel.auth.setting.button.save': string;
10
+ 'channel.auth.setting.message.saveSuccess': string;
11
+ 'channel.auth.setting.message.saveError': string;
12
+ 'channel.auth.setting.validation.error': string;
13
+ };
14
+ 'zh-CN': {
15
+ 'channel.auth.setting.title': string;
16
+ 'channel.auth.setting.description': string;
17
+ 'channel.auth.setting.tab.pageSetting': string;
18
+ 'channel.auth.setting.tab.authenticationMethods': string;
19
+ 'channel.auth.setting.tab.collectInfo': string;
20
+ 'channel.auth.setting.button.cancel': string;
21
+ 'channel.auth.setting.button.save': string;
22
+ 'channel.auth.setting.message.saveSuccess': string;
23
+ 'channel.auth.setting.message.saveError': string;
24
+ 'channel.auth.setting.validation.error': string;
25
+ };
26
+ 'zh-HK': {
27
+ 'channel.auth.setting.title': string;
28
+ 'channel.auth.setting.description': string;
29
+ 'channel.auth.setting.tab.pageSetting': string;
30
+ 'channel.auth.setting.tab.authenticationMethods': string;
31
+ 'channel.auth.setting.tab.collectInfo': string;
32
+ 'channel.auth.setting.button.cancel': string;
33
+ 'channel.auth.setting.button.save': string;
34
+ 'channel.auth.setting.message.saveSuccess': string;
35
+ 'channel.auth.setting.message.saveError': string;
36
+ 'channel.auth.setting.validation.error': string;
37
+ };
38
+ };
39
+ export default _default;
@@ -0,0 +1,36 @@
1
+ /// <reference types="react" />
2
+ import { PageSettingValue } from './PageSetting/types';
3
+ import { AuthenticationMethodsValue } from './AuthenticationMethods/types';
4
+ import { CollectInfoValue } from './CollectInfo/types';
5
+ export declare type TabKey = 'pageSetting' | 'authenticationMethods' | 'collectInfo';
6
+ export interface ChannelAuthSettingValue {
7
+ pageSetting?: PageSettingValue;
8
+ authenticationMethods?: AuthenticationMethodsValue;
9
+ collectInfo?: CollectInfoValue;
10
+ }
11
+ export interface ChannelAuthSettingSaveParams {
12
+ value: ChannelAuthSettingValue;
13
+ currentTab: TabKey;
14
+ }
15
+ export interface ChannelAuthSettingProps {
16
+ className?: string;
17
+ style?: React.CSSProperties;
18
+ value?: ChannelAuthSettingValue;
19
+ /**
20
+ * 默认激活的Tab
21
+ */
22
+ defaultActiveTab?: TabKey;
23
+ /**
24
+ * 可见的Tab列表,如果不传则显示所有Tab
25
+ * @example ['pageSetting', 'authenticationMethods'] // 只显示页面设置和身份验证方法
26
+ */
27
+ visibleTabs?: TabKey[];
28
+ /**
29
+ * 是否显示注册页面配置
30
+ */
31
+ showRegisterPage?: boolean;
32
+ /**
33
+ * 保存按钮回调
34
+ */
35
+ onSave?: (params: ChannelAuthSettingSaveParams) => void;
36
+ }
@@ -0,0 +1,66 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'customer.auth.title': string;
4
+ 'customer.auth.description': string;
5
+ 'customer.auth.methods.title': string;
6
+ 'customer.auth.methods.description': string;
7
+ 'customer.password.settings.title': string;
8
+ 'customer.password.settings.description': string;
9
+ 'customer.password.rules.title': string;
10
+ 'customer.password.rules.description': string;
11
+ 'auth.button.cancel': string;
12
+ 'auth.button.save': string;
13
+ 'auth.button.settings': string;
14
+ 'auth.save.success': string;
15
+ 'auth.save.error': string;
16
+ 'auth.oauth.config.message': string;
17
+ 'auth.oauth.config.link': string;
18
+ 'auth.category.general': string;
19
+ 'auth.category.oauth': string;
20
+ 'auth.category.passwordFree': string;
21
+ 'auth.category.authFree': string;
22
+ };
23
+ 'zh-CN': {
24
+ 'customer.auth.title': string;
25
+ 'customer.auth.description': string;
26
+ 'customer.auth.methods.title': string;
27
+ 'customer.auth.methods.description': string;
28
+ 'customer.password.settings.title': string;
29
+ 'customer.password.settings.description': string;
30
+ 'customer.password.rules.title': string;
31
+ 'customer.password.rules.description': string;
32
+ 'auth.button.cancel': string;
33
+ 'auth.button.save': string;
34
+ 'auth.button.settings': string;
35
+ 'auth.save.success': string;
36
+ 'auth.save.error': string;
37
+ 'auth.oauth.config.message': string;
38
+ 'auth.oauth.config.link': string;
39
+ 'auth.category.general': string;
40
+ 'auth.category.oauth': string;
41
+ 'auth.category.passwordFree': string;
42
+ 'auth.category.authFree': string;
43
+ };
44
+ 'zh-HK': {
45
+ 'customer.auth.title': string;
46
+ 'customer.auth.description': string;
47
+ 'customer.auth.methods.title': string;
48
+ 'customer.auth.methods.description': string;
49
+ 'customer.password.settings.title': string;
50
+ 'customer.password.settings.description': string;
51
+ 'customer.password.rules.title': string;
52
+ 'customer.password.rules.description': string;
53
+ 'auth.button.cancel': string;
54
+ 'auth.button.save': string;
55
+ 'auth.button.settings': string;
56
+ 'auth.save.success': string;
57
+ 'auth.save.error': string;
58
+ 'auth.oauth.config.message': string;
59
+ 'auth.oauth.config.link': string;
60
+ 'auth.category.general': string;
61
+ 'auth.category.oauth': string;
62
+ 'auth.category.passwordFree': string;
63
+ 'auth.category.authFree': string;
64
+ };
65
+ };
66
+ export default _default;
@@ -0,0 +1,16 @@
1
+ /// <reference types="react" />
2
+ import { AuthMethod } from '../AuthMethods/types';
3
+ export interface CustomerAuthProps {
4
+ /**
5
+ * 自定义类名
6
+ */
7
+ className?: string;
8
+ /**
9
+ * 自定义样式
10
+ */
11
+ style?: React.CSSProperties;
12
+ /**
13
+ * 保存回调
14
+ */
15
+ onSave?: (authMethods: AuthMethod[], passwordRules: any) => void;
16
+ }