@pisell/private-materials 6.3.95 → 6.3.97

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 (273) 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 +2 -2
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +2 -2
  11. package/es/components/booking/addons/model.d.ts +1 -10
  12. package/es/components/booking/forms/model.d.ts +1 -10
  13. package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
  14. package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  15. package/es/components/booking/info/model.d.ts +1 -10
  16. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  17. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  18. package/es/components/booking/model.d.ts +1 -9
  19. package/es/components/booking/notes/model.d.ts +1 -10
  20. package/es/components/booking/payments/model.d.ts +1 -10
  21. package/es/components/booking/utils.d.ts +2 -2
  22. package/es/components/eftposPay/amount.d.ts +1 -1
  23. package/es/components/eftposPay/device.d.ts +1 -1
  24. package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  25. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
  26. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  27. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  28. package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +1 -0
  29. package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.js +18 -7
  30. package/es/components/pay/toC/PaymentMethods/WalletPass/index.js +2 -1
  31. package/es/plus/saasAttendance/locales.js +71 -2
  32. package/es/plus/saasAttendance/settings/PermissonTab.d.ts +5 -0
  33. package/es/plus/saasAttendance/settings/PermissonTab.js +79 -0
  34. package/es/plus/saasAttendance/settings/ShiftScheduleTab.js +9 -3
  35. package/es/plus/saasAttendance/settings/components/MapField.js +69 -33
  36. package/es/plus/saasAttendance/settings/components/shiftModal/ShiftPreview.d.ts +7 -0
  37. package/es/plus/saasAttendance/settings/components/shiftModal/ShiftPreview.js +149 -0
  38. package/es/plus/saasAttendance/settings/components/shiftModal/ShiftPreview.less +119 -0
  39. package/es/plus/saasAttendance/settings/index.js +7 -0
  40. package/es/plus/saasAttendance/settings/index.less +15 -0
  41. package/es/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
  42. package/es/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
  43. package/es/pro/Selector/Selector.d.ts +1 -1
  44. package/lib/components/booking/addons/model.d.ts +1 -10
  45. package/lib/components/booking/forms/model.d.ts +1 -10
  46. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
  47. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  48. package/lib/components/booking/info/model.d.ts +1 -10
  49. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  50. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  51. package/lib/components/booking/model.d.ts +1 -9
  52. package/lib/components/booking/notes/model.d.ts +1 -10
  53. package/lib/components/booking/payments/model.d.ts +1 -10
  54. package/lib/components/booking/utils.d.ts +2 -2
  55. package/lib/components/eftposPay/amount.d.ts +1 -1
  56. package/lib/components/eftposPay/device.d.ts +1 -1
  57. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  58. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
  59. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  60. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  61. package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +1 -0
  62. package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.js +7 -1
  63. package/lib/components/pay/toC/PaymentMethods/WalletPass/index.js +2 -1
  64. package/lib/plus/saasAttendance/locales.js +65 -2
  65. package/lib/plus/saasAttendance/settings/PermissonTab.d.ts +5 -0
  66. package/lib/plus/saasAttendance/settings/PermissonTab.js +128 -0
  67. package/lib/plus/saasAttendance/settings/ShiftScheduleTab.js +2 -1
  68. package/lib/plus/saasAttendance/settings/components/MapField.js +50 -11
  69. package/lib/plus/saasAttendance/settings/components/shiftModal/ShiftPreview.d.ts +7 -0
  70. package/lib/plus/saasAttendance/settings/components/shiftModal/ShiftPreview.js +150 -0
  71. package/lib/plus/saasAttendance/settings/components/shiftModal/ShiftPreview.less +119 -0
  72. package/lib/plus/saasAttendance/settings/index.js +12 -0
  73. package/lib/plus/saasAttendance/settings/index.less +15 -0
  74. package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
  75. package/lib/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
  76. package/lib/pro/Selector/Selector.d.ts +1 -1
  77. package/lowcode/eco-cup-list/meta.ts +1 -1
  78. package/lowcode/eco-customer-list/meta.ts +1 -1
  79. package/package.json +2 -2
  80. package/es/components/appointmentBooking/components/Date/state.d.ts +0 -63
  81. package/es/components/appointmentBooking/locales.d.ts +0 -366
  82. package/es/components/authentication/admin/AuthMethods/locales.d.ts +0 -249
  83. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +0 -84
  84. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +0 -41
  85. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +0 -6
  86. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +0 -72
  87. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +0 -33
  88. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +0 -27
  89. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +0 -66
  90. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +0 -26
  91. package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +0 -39
  92. package/es/components/authentication/admin/CustomerAuth/locales.d.ts +0 -66
  93. package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +0 -108
  94. package/es/components/authentication/admin/DeviceAuth/locales.d.ts +0 -57
  95. package/es/components/authentication/admin/OAuthConfig/locales.d.ts +0 -90
  96. package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +0 -54
  97. package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +0 -48
  98. package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +0 -54
  99. package/es/components/booking/components/tabPane/index.d.ts +0 -4
  100. package/es/components/booking/editBookingModal/locales.d.ts +0 -21
  101. package/es/components/booking/editBookingModal/mock.d.ts +0 -807
  102. package/es/components/booking/info/clientVariant/utils.d.ts +0 -1
  103. package/es/components/booking/info2/service/addService/mock.d.ts +0 -214
  104. package/es/components/booking/info2/service/editService/utils.d.ts +0 -13
  105. package/es/components/booking/notes/addNote/index.d.ts +0 -4
  106. package/es/components/ecocup/cupList/const.d.ts +0 -133
  107. package/es/components/ecocup/hooks.d.ts +0 -49
  108. package/es/components/ecocup/locales.d.ts +0 -339
  109. package/es/components/eftpos/index.d.ts +0 -47
  110. package/es/components/eftpos/locales.d.ts +0 -99
  111. package/es/components/eftposPay/component/fail/unknow.d.ts +0 -10
  112. package/es/components/eftposPay/const.d.ts +0 -184
  113. package/es/components/eftposPay/hooks.d.ts +0 -35
  114. package/es/components/eftposPay/linkly/const.d.ts +0 -23
  115. package/es/components/eftposPay/locales.d.ts +0 -330
  116. package/es/components/eftposPay/payo/config.d.ts +0 -13
  117. package/es/components/eftposPay/payo/const.d.ts +0 -26
  118. package/es/components/eftposPay/store/index.d.ts +0 -355
  119. package/es/components/eftposPay/tyro/const.d.ts +0 -17
  120. package/es/components/eftposPay/tyro/index.d.ts +0 -9
  121. package/es/components/eftposPay/windcave/const.d.ts +0 -119
  122. package/es/components/eftposPay/windcave/helper.d.ts +0 -23
  123. package/es/components/eventBooking/locales.d.ts +0 -246
  124. package/es/components/login/locales.d.ts +0 -24
  125. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +0 -6
  126. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -2
  127. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -2
  128. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -3
  129. package/es/components/pay/toC/locales.d.ts +0 -307
  130. package/es/components/pay/toC/model.d.ts +0 -40
  131. package/es/components/pinModal/locales.d.ts +0 -27
  132. package/es/components/pinVerifyModal/locales.d.ts +0 -24
  133. package/es/components/pisellSelectCustomerModal/locales.d.ts +0 -81
  134. package/es/components/productExtension/locales.d.ts +0 -48
  135. package/es/components/productSelect/locales.d.ts +0 -18
  136. package/es/components/schedules/locales.d.ts +0 -87
  137. package/es/components/shoppingCart/locales.d.ts +0 -33
  138. package/es/components/shoppingCart/type.d.ts +0 -48
  139. package/es/components/stepController/locales.d.ts +0 -27
  140. package/es/components/subTotal/locales.d.ts +0 -42
  141. package/es/components/systemSettings/registry/locales.d.ts +0 -272
  142. package/es/components/systemSettings/registry/services.d.ts +0 -77
  143. package/es/components/systemSettings/registry/types.d.ts +0 -126
  144. package/es/components/taxSelect/locales.d.ts +0 -24
  145. package/es/components/ticketBooking/locales.d.ts +0 -174
  146. package/es/components/ticketBooking/utils/formatTime.d.ts +0 -31
  147. package/es/components/wallet/utils.d.ts +0 -48
  148. package/es/components/walletList/locales.d.ts +0 -27
  149. package/es/components/walletList/types/index.d.ts +0 -194
  150. package/es/hooks/useEngineContext.d.ts +0 -11
  151. package/es/hooks/useWindowSize.d.ts +0 -5
  152. package/es/plus/clientCard/locales.d.ts +0 -18
  153. package/es/plus/clinetSearch/locales.d.ts +0 -108
  154. package/es/plus/contactInfo/locales.d.ts +0 -15
  155. package/es/plus/contactInfoModal/locales.d.ts +0 -66
  156. package/es/plus/productSelect/locales.d.ts +0 -18
  157. package/es/plus/saasAttendance/locales.d.ts +0 -318
  158. package/es/plus/saasAttendance/settings/types.d.ts +0 -128
  159. package/es/plus/saasCreateOrganization/locales.d.ts +0 -15
  160. package/es/plus/saasLogin/locales.d.ts +0 -51
  161. package/es/plus/saasRegister/locales.d.ts +0 -117
  162. package/es/plus/saasRole/locales.d.ts +0 -193
  163. package/es/plus/saasRole/types.d.ts +0 -175
  164. package/es/plus/saasTeamMembers/locales.d.ts +0 -330
  165. package/es/plus/saasTeamMembers/type.d.ts +0 -156
  166. package/es/plus/selectHolder/locales.d.ts +0 -27
  167. package/es/plus/walletEditor/locales.d.ts +0 -135
  168. package/es/plus/walletEditor/types.d.ts +0 -52
  169. package/es/plus/walletPassGallery/locales.d.ts +0 -285
  170. package/es/plus/walletPassGallery/utils.d.ts +0 -48
  171. package/es/pro/Login2.0/locales.d.ts +0 -543
  172. package/es/pro/Login2.0/shared/types.d.ts +0 -232
  173. package/es/pro/comprehensiveSearch/components/searchSection/locales.d.ts +0 -15
  174. package/es/pro/comprehensiveSearch/locales.d.ts +0 -15
  175. package/es/pro/numberKeyboard/locales.d.ts +0 -12
  176. package/es/pro/pisellPhoneKeyboard/locales.d.ts +0 -12
  177. package/lib/components/appointmentBooking/components/Date/state.d.ts +0 -63
  178. package/lib/components/appointmentBooking/locales.d.ts +0 -366
  179. package/lib/components/authentication/admin/AuthMethods/locales.d.ts +0 -249
  180. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +0 -84
  181. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +0 -41
  182. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +0 -6
  183. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +0 -72
  184. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +0 -33
  185. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +0 -27
  186. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +0 -66
  187. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +0 -26
  188. package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +0 -39
  189. package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +0 -66
  190. package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +0 -108
  191. package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +0 -57
  192. package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +0 -90
  193. package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +0 -54
  194. package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +0 -48
  195. package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +0 -54
  196. package/lib/components/booking/components/tabPane/index.d.ts +0 -4
  197. package/lib/components/booking/editBookingModal/locales.d.ts +0 -21
  198. package/lib/components/booking/editBookingModal/mock.d.ts +0 -807
  199. package/lib/components/booking/info/clientVariant/utils.d.ts +0 -1
  200. package/lib/components/booking/info2/service/addService/mock.d.ts +0 -214
  201. package/lib/components/booking/info2/service/editService/utils.d.ts +0 -13
  202. package/lib/components/booking/notes/addNote/index.d.ts +0 -4
  203. package/lib/components/ecocup/cupList/const.d.ts +0 -133
  204. package/lib/components/ecocup/hooks.d.ts +0 -49
  205. package/lib/components/ecocup/locales.d.ts +0 -339
  206. package/lib/components/eftpos/index.d.ts +0 -47
  207. package/lib/components/eftpos/locales.d.ts +0 -99
  208. package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -10
  209. package/lib/components/eftposPay/const.d.ts +0 -184
  210. package/lib/components/eftposPay/hooks.d.ts +0 -35
  211. package/lib/components/eftposPay/linkly/const.d.ts +0 -23
  212. package/lib/components/eftposPay/locales.d.ts +0 -330
  213. package/lib/components/eftposPay/payo/config.d.ts +0 -13
  214. package/lib/components/eftposPay/payo/const.d.ts +0 -26
  215. package/lib/components/eftposPay/store/index.d.ts +0 -355
  216. package/lib/components/eftposPay/tyro/const.d.ts +0 -17
  217. package/lib/components/eftposPay/tyro/index.d.ts +0 -9
  218. package/lib/components/eftposPay/windcave/const.d.ts +0 -119
  219. package/lib/components/eftposPay/windcave/helper.d.ts +0 -23
  220. package/lib/components/eventBooking/locales.d.ts +0 -246
  221. package/lib/components/login/locales.d.ts +0 -24
  222. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +0 -6
  223. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -2
  224. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -2
  225. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -3
  226. package/lib/components/pay/toC/locales.d.ts +0 -307
  227. package/lib/components/pay/toC/model.d.ts +0 -40
  228. package/lib/components/pinModal/locales.d.ts +0 -27
  229. package/lib/components/pinVerifyModal/locales.d.ts +0 -24
  230. package/lib/components/pisellSelectCustomerModal/locales.d.ts +0 -81
  231. package/lib/components/productExtension/locales.d.ts +0 -48
  232. package/lib/components/productSelect/locales.d.ts +0 -18
  233. package/lib/components/schedules/locales.d.ts +0 -87
  234. package/lib/components/shoppingCart/locales.d.ts +0 -33
  235. package/lib/components/shoppingCart/type.d.ts +0 -48
  236. package/lib/components/stepController/locales.d.ts +0 -27
  237. package/lib/components/subTotal/locales.d.ts +0 -42
  238. package/lib/components/systemSettings/registry/locales.d.ts +0 -272
  239. package/lib/components/systemSettings/registry/services.d.ts +0 -77
  240. package/lib/components/systemSettings/registry/types.d.ts +0 -126
  241. package/lib/components/taxSelect/locales.d.ts +0 -24
  242. package/lib/components/ticketBooking/locales.d.ts +0 -174
  243. package/lib/components/ticketBooking/utils/formatTime.d.ts +0 -31
  244. package/lib/components/wallet/utils.d.ts +0 -48
  245. package/lib/components/walletList/locales.d.ts +0 -27
  246. package/lib/components/walletList/types/index.d.ts +0 -194
  247. package/lib/hooks/useEngineContext.d.ts +0 -11
  248. package/lib/hooks/useWindowSize.d.ts +0 -5
  249. package/lib/plus/clientCard/locales.d.ts +0 -18
  250. package/lib/plus/clinetSearch/locales.d.ts +0 -108
  251. package/lib/plus/contactInfo/locales.d.ts +0 -15
  252. package/lib/plus/contactInfoModal/locales.d.ts +0 -66
  253. package/lib/plus/productSelect/locales.d.ts +0 -18
  254. package/lib/plus/saasAttendance/locales.d.ts +0 -318
  255. package/lib/plus/saasAttendance/settings/types.d.ts +0 -128
  256. package/lib/plus/saasCreateOrganization/locales.d.ts +0 -15
  257. package/lib/plus/saasLogin/locales.d.ts +0 -51
  258. package/lib/plus/saasRegister/locales.d.ts +0 -117
  259. package/lib/plus/saasRole/locales.d.ts +0 -193
  260. package/lib/plus/saasRole/types.d.ts +0 -175
  261. package/lib/plus/saasTeamMembers/locales.d.ts +0 -330
  262. package/lib/plus/saasTeamMembers/type.d.ts +0 -156
  263. package/lib/plus/selectHolder/locales.d.ts +0 -27
  264. package/lib/plus/walletEditor/locales.d.ts +0 -135
  265. package/lib/plus/walletEditor/types.d.ts +0 -52
  266. package/lib/plus/walletPassGallery/locales.d.ts +0 -285
  267. package/lib/plus/walletPassGallery/utils.d.ts +0 -48
  268. package/lib/pro/Login2.0/locales.d.ts +0 -543
  269. package/lib/pro/Login2.0/shared/types.d.ts +0 -232
  270. package/lib/pro/comprehensiveSearch/components/searchSection/locales.d.ts +0 -15
  271. package/lib/pro/comprehensiveSearch/locales.d.ts +0 -15
  272. package/lib/pro/numberKeyboard/locales.d.ts +0 -12
  273. package/lib/pro/pisellPhoneKeyboard/locales.d.ts +0 -12
@@ -1,232 +0,0 @@
1
- /**
2
- * 登录注册 2.0 共享类型定义
3
- */
4
- /** 验证方式枚举 */
5
- export declare type VerificationMethod = 'verification_code' | 'password';
6
- /** 邮箱注册验证方式 */
7
- export declare type EmailRegistrationVerification = 'verification_link' | 'verification_code' | 'none';
8
- /** 手机注册验证方式 */
9
- export declare type PhoneRegistrationVerification = 'verification_code';
10
- /** 认证方式类型 */
11
- export declare type AuthMethodType = 'email' | 'phone' | 'google' | 'facebook' | 'apple' | 'guest';
12
- /** 登录方式项类型 */
13
- export declare type LoginMethodType = 'email' | 'phone' | 'google' | 'facebook' | 'apple' | 'guest';
14
- export interface PhoneValueObject {
15
- phone: string;
16
- country_calling_code: string;
17
- }
18
- /** 邮箱登录方式项 */
19
- export interface EmailLoginMethod {
20
- type: 'email';
21
- /** 启用的验证方式(按顺序),第一个为默认方式 */
22
- verificationMethods: Array<'password' | 'verification_code'>;
23
- /** 密码登录是否分步骤填写(先输入邮箱,再输入密码) */
24
- stepByStep?: boolean;
25
- }
26
- /** 手机登录方式项 */
27
- export interface PhoneLoginMethod {
28
- type: 'phone';
29
- /** 启用的验证方式(按顺序),第一个为默认方式 */
30
- verificationMethods: Array<'password' | 'verification_code'>;
31
- /** 密码登录是否分步骤填写(先输入手机号,再输入密码) */
32
- stepByStep?: boolean;
33
- }
34
- /** Google 登录方式项 */
35
- export interface GoogleLoginMethod {
36
- type: 'google';
37
- /** Google Client ID */
38
- clientId?: string;
39
- }
40
- /** Facebook 登录方式项 */
41
- export interface FacebookLoginMethod {
42
- type: 'facebook';
43
- /** Facebook App ID */
44
- appId?: string;
45
- }
46
- /** Apple 登录方式项 */
47
- export interface AppleLoginMethod {
48
- type: 'apple';
49
- /** Apple Client ID */
50
- clientId?: string;
51
- }
52
- /** Guest 登录方式项 */
53
- export interface GuestLoginMethod {
54
- type: 'guest';
55
- }
56
- /** 注册方式类型 */
57
- export declare type RegistrationMethodType = 'email' | 'phone' | 'google' | 'facebook' | 'apple';
58
- /** 邮箱注册方式项 */
59
- export interface EmailRegistrationMethod {
60
- type: 'email';
61
- /** 注册验证方式(邮箱支持验证链接/验证码/无需验证) */
62
- verificationMethod: 'verification_link' | 'verification_code' | 'none';
63
- }
64
- /** 手机注册方式项 */
65
- export interface PhoneRegistrationMethod {
66
- type: 'phone';
67
- /** 注册验证方式(手机仅支持验证码) */
68
- verificationMethod: 'verification_code';
69
- }
70
- /** Google 注册方式项 */
71
- export interface GoogleRegistrationMethod {
72
- type: 'google';
73
- /** Google Client ID */
74
- clientId?: string;
75
- }
76
- /** Facebook 注册方式项 */
77
- export interface FacebookRegistrationMethod {
78
- type: 'facebook';
79
- /** Facebook App ID */
80
- appId?: string;
81
- }
82
- /** Apple 注册方式项 */
83
- export interface AppleRegistrationMethod {
84
- type: 'apple';
85
- /** Apple Client ID */
86
- clientId?: string;
87
- }
88
- /** 注册方式项联合类型 */
89
- export declare type RegistrationMethodItem = EmailRegistrationMethod | PhoneRegistrationMethod | GoogleRegistrationMethod | FacebookRegistrationMethod | AppleRegistrationMethod;
90
- /** 法律条款项 */
91
- export interface LegalTermItem {
92
- /** 条款名称 - 支持国际化对象或简单字符串 */
93
- name: string | {
94
- en?: string;
95
- 'zh-CN'?: string;
96
- 'zh-HK'?: string;
97
- original?: string;
98
- };
99
- /** 条款链接 */
100
- url: string;
101
- }
102
- /** 法律条款配置 */
103
- export interface LegalTermsConfig {
104
- /** 是否显示法律条款区域 */
105
- enabled?: boolean;
106
- /** 法律条款列表 */
107
- terms?: LegalTermItem[];
108
- /** 条款文本模板 */
109
- textTemplate?: string;
110
- /** 当前模式:login 或 register */
111
- mode?: 'login' | 'register';
112
- }
113
- /** 登录方式项联合类型 */
114
- export declare type LoginMethodItem = EmailLoginMethod | PhoneLoginMethod | GoogleLoginMethod | FacebookLoginMethod | AppleLoginMethod | GuestLoginMethod;
115
- /** 邮箱认证配置 */
116
- export interface EmailAuthConfig {
117
- /** 是否启用邮箱认证 */
118
- enable_email: boolean;
119
- /** 注册验证方式 */
120
- registration_verification?: EmailRegistrationVerification;
121
- /** 登录验证方式列表 */
122
- login_verification_methods?: VerificationMethod[];
123
- }
124
- /** 手机认证配置 */
125
- export interface PhoneAuthConfig {
126
- /** 是否启用手机认证 */
127
- enable_phone_number: boolean;
128
- /** 注册验证方式 */
129
- registration_verification?: PhoneRegistrationVerification;
130
- /** 登录验证方式列表 */
131
- login_verification_methods?: VerificationMethod[];
132
- }
133
- /** 三方 OAuth 配置 */
134
- export interface OAuthConfig {
135
- /** Google 登录 */
136
- google?: {
137
- enabled: boolean;
138
- client_id?: string;
139
- };
140
- /** Facebook 登录 */
141
- facebook?: {
142
- enabled: boolean;
143
- app_id?: string;
144
- };
145
- /** Apple 登录 */
146
- apple?: {
147
- enabled: boolean;
148
- client_id?: string;
149
- };
150
- }
151
- /** UI 配置 */
152
- export interface UIConfig {
153
- /** Logo 配置 */
154
- logo?: {
155
- show: boolean;
156
- url?: string;
157
- position?: 'left' | 'center' | 'right';
158
- size?: {
159
- width: number;
160
- height: number;
161
- };
162
- };
163
- /** 标题配置 */
164
- title?: {
165
- show: boolean;
166
- text?: string;
167
- align?: 'left' | 'center' | 'right';
168
- };
169
- /** 副标题配置 */
170
- subtitle?: {
171
- show: boolean;
172
- text?: string;
173
- align?: 'left' | 'center' | 'right';
174
- };
175
- /** 描述配置 */
176
- desc?: {
177
- show: boolean;
178
- text?: string;
179
- align?: 'left' | 'center' | 'right';
180
- };
181
- /** 表单标签配置 */
182
- formLabels?: {
183
- /** 邮箱标签配置 */
184
- email?: {
185
- show: boolean;
186
- text?: string;
187
- };
188
- /** 手机标签配置 */
189
- phone?: {
190
- show: boolean;
191
- text?: string;
192
- };
193
- /** 密码标签配置 */
194
- password?: {
195
- show: boolean;
196
- text?: string;
197
- };
198
- /** 验证码标签配置 */
199
- verificationCode?: {
200
- show: boolean;
201
- text?: string;
202
- };
203
- };
204
- /** 密码规则 */
205
- passwordRules?: any;
206
- /** 主题色 */
207
- themeColor?: string;
208
- }
209
- /** 登录表单数据 */
210
- export interface LoginFormData {
211
- /** 邮箱或手机号 */
212
- account: string | PhoneValueObject;
213
- /** 密码 */
214
- password?: string;
215
- /** 验证码 */
216
- verification_code?: string;
217
- /** 记住我 */
218
- remember_me?: boolean;
219
- }
220
- /** 注册表单数据 */
221
- export interface RegisterFormData {
222
- /** 邮箱或手机号 */
223
- account: string;
224
- /** 密码 */
225
- password?: string;
226
- /** 确认密码 */
227
- confirm_password?: string;
228
- /** 验证码 */
229
- verification_code?: string;
230
- /** 验证链接 token */
231
- verification_token?: string;
232
- }
@@ -1,15 +0,0 @@
1
- declare const _default: {
2
- en: {
3
- 'pisell2.comprehensive-search.placeholder': string;
4
- 'pisell2.text.search': string;
5
- };
6
- 'zh-CN': {
7
- 'pisell2.comprehensive-search.placeholder': string;
8
- 'pisell2.text.search': string;
9
- };
10
- 'zh-HK': {
11
- 'pisell2.comprehensive-search.placeholder': string;
12
- 'pisell2.text.search': string;
13
- };
14
- };
15
- export default _default;
@@ -1,15 +0,0 @@
1
- declare const _default: {
2
- en: {
3
- 'pisell2.text.new-client': string;
4
- 'pisell2.comprehensive-search.empty': string;
5
- };
6
- 'zh-CN': {
7
- 'pisell2.text.new-client': string;
8
- 'pisell2.comprehensive-search.empty': string;
9
- };
10
- 'zh-HK': {
11
- 'pisell2.text.new-client': string;
12
- 'pisell2.comprehensive-search.empty': string;
13
- };
14
- };
15
- export default _default;
@@ -1,12 +0,0 @@
1
- declare const _default: {
2
- en: {
3
- 'pisell2.number.keyboard.ok': string;
4
- };
5
- 'zh-CN': {
6
- 'pisell2.number.keyboard.ok': string;
7
- };
8
- 'zh-HK': {
9
- 'pisell2.number.keyboard.ok': string;
10
- };
11
- };
12
- export default _default;
@@ -1,12 +0,0 @@
1
- declare const _default: {
2
- en: {
3
- 'pisell2.text.confirm': string;
4
- };
5
- 'zh-CN': {
6
- 'pisell2.text.confirm': string;
7
- };
8
- 'zh-HK': {
9
- 'pisell2.text.confirm': string;
10
- };
11
- };
12
- export default _default;
@@ -1,63 +0,0 @@
1
- /**
2
- * @title: 获取包括今天的后七天日期
3
- * @description:
4
- * @param {*}
5
- * @return {*}
6
- * @Author: 严文强
7
- * @Date: 2024-02-01 11:00
8
- */
9
- export declare const getNextSevenDaysList: (defaultDay: string) => string[];
10
- /**
11
- * @title: 将年月日信息只展示为天
12
- * @description: 如果为今天 则返回ToDay
13
- * @param {*}
14
- * @return {*}
15
- * @Author: 严文强
16
- * @Date: 2024-02-01 11:00
17
- */
18
- export declare const ShowDayOnly: (date: string) => string;
19
- /**
20
- * @title: 日历星期多语言
21
- * @description:
22
- * @param {*}
23
- * @return {*}
24
- * @Author: 严文强
25
- * @Date: 2024-02-01 18:42
26
- */
27
- export declare const weekListText: string[];
28
- /**
29
- * @title: 不同状态颜色值
30
- * @description:
31
- * @param {*}
32
- * @return {*}
33
- * @Author: xiangxiang.shao
34
- * @Date: 2024-02-19 11:35
35
- */
36
- export declare const statusColor: {
37
- call_to_book: string;
38
- lots_of_space: string;
39
- filling_up_fast: string;
40
- sold_out: string;
41
- };
42
- /**
43
- * @title: 根据预约量数据判断当前状态
44
- * @description:
45
- * @param {*}
46
- * @return {*}
47
- * @Author: xiangxiang.shao
48
- * @Date: 2024-02-19 11:35
49
- */
50
- export declare const getStatus: (dateLimit: any, currentDate: string, cutTime: any) => {
51
- status: string;
52
- disabled: boolean;
53
- };
54
- /**
55
- * @title: 根据当前日期以设定判断当前是否是call_to_book状态
56
- * @description:
57
- * @param {*}
58
- * @return {*}
59
- * @Author: xiangxiang.shao
60
- * @Date: 2024-02-21 10:10
61
- */
62
- export declare const getCallToBookStatus: (currentDate: string, dateLimitData: any, cutTime: any) => boolean;
63
- export declare const localeTypes: any;