@pisell/private-materials 6.6.46 → 6.6.47

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 (267) 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/meta.js +1 -1
  5. package/build/lowcode/render/default/view.js +1 -1
  6. package/build/lowcode/view.js +1 -1
  7. package/es/components/appointmentBooking/components/Date/state.d.ts +63 -0
  8. package/es/components/appointmentBooking/locales.d.ts +603 -0
  9. package/es/components/authentication/admin/AuthMethods/locales.d.ts +413 -0
  10. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
  11. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +138 -0
  12. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +43 -0
  13. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
  14. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +118 -0
  15. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +35 -0
  16. package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
  17. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +43 -0
  18. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +8 -0
  19. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +108 -0
  20. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +28 -0
  21. package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
  22. package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +63 -0
  23. package/es/components/authentication/admin/CustomerAuth/locales.d.ts +108 -0
  24. package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +178 -0
  25. package/es/components/authentication/admin/DeviceAuth/locales.d.ts +93 -0
  26. package/es/components/authentication/admin/OAuthConfig/locales.d.ts +148 -0
  27. package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +88 -0
  28. package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +78 -0
  29. package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +88 -0
  30. package/es/components/booking/components/actionButtons/index.d.ts +31 -0
  31. package/es/components/booking/components/voucher/utils.d.ts +5 -0
  32. package/es/components/booking/editBookingModal/locales.d.ts +33 -0
  33. package/es/components/booking/editBookingModal/mock.d.ts +991 -0
  34. package/es/components/booking/hooks/useQuotation.js +2 -2
  35. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  36. package/es/components/booking/info2/cartClientCard/locales.d.ts +33 -0
  37. package/es/components/booking/info2/service/addService/mock.d.ts +216 -0
  38. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  39. package/es/components/booking/info2/service/editService/DiscountChangeModal/index.d.ts +25 -0
  40. package/es/components/booking/locales.d.ts +1619 -0
  41. package/es/components/booking/utils.d.ts +2 -2
  42. package/es/components/checkout/PaymentModal.d.ts +31 -0
  43. package/es/components/checkout/components/AdditionalModule/locales.d.ts +58 -0
  44. package/es/components/checkout/locales.d.ts +853 -0
  45. package/es/components/eftpos/locales.d.ts +163 -0
  46. package/es/components/eftposPay/locales.d.ts +608 -0
  47. package/es/components/eventBooking/locales.d.ts +408 -0
  48. package/es/components/list/locales.d.ts +108 -0
  49. package/es/components/list/utils/getText.d.ts +53 -0
  50. package/es/components/login/locales.d.ts +38 -0
  51. package/es/components/pay/toB/locales.d.ts +88 -0
  52. package/es/components/pay/toC/locales.d.ts +511 -0
  53. package/es/components/pinModal/locales.d.ts +43 -0
  54. package/es/components/pinVerifyModal/locales.d.ts +38 -0
  55. package/es/components/pisellSelectCustomerModal/locales.d.ts +133 -0
  56. package/es/components/productExtension/locales.d.ts +78 -0
  57. package/es/components/productSelect/components/pisellPriceText/index.d.ts +11 -0
  58. package/es/components/productSelect/locales.d.ts +38 -0
  59. package/es/components/ruleSetting/locales.d.ts +78 -0
  60. package/es/components/schedules/locales.d.ts +143 -0
  61. package/es/components/shoppingCart/locales.d.ts +58 -0
  62. package/es/components/stepController/locales.d.ts +43 -0
  63. package/es/components/subTotal/locales.d.ts +68 -0
  64. package/es/components/systemSettings/registry/components/ItemModal.d.ts +4 -0
  65. package/es/components/systemSettings/registry/locales.d.ts +456 -0
  66. package/es/components/systemSettings/registry/types.d.ts +128 -0
  67. package/es/components/taxSelect/locales.d.ts +38 -0
  68. package/es/components/ticketBooking/locales.d.ts +328 -0
  69. package/es/components/ticketBooking/utils/formatTime.d.ts +33 -0
  70. package/es/components/ticketBooking/utils/index.d.ts +1 -1
  71. package/es/components/wallet/utils.d.ts +48 -0
  72. package/es/components/walletList/index.d.ts +4 -0
  73. package/es/components/walletList/locales.d.ts +43 -0
  74. package/es/components/walletList/types/index.d.ts +196 -0
  75. package/es/plus/clientCard/index.d.ts +7 -0
  76. package/es/plus/clientCard/locales.d.ts +28 -0
  77. package/es/plus/clientCard/types.d.ts +135 -0
  78. package/es/plus/clinetSearch/locales.d.ts +178 -0
  79. package/es/plus/contactInfo/locales.d.ts +23 -0
  80. package/es/plus/contactInfoModal/locales.d.ts +108 -0
  81. package/es/plus/noteModal/locales.d.ts +53 -0
  82. package/es/plus/productSelect/ProductCard/SkuCard/locales.d.ts +68 -0
  83. package/es/plus/productSelect/ProductCard/SkuCard/status.d.ts +164 -0
  84. package/es/plus/productSelect/components/pisellPriceText/index.d.ts +14 -0
  85. package/es/plus/productSelect/locales.d.ts +38 -0
  86. package/es/plus/saasAttendance/index.d.ts +6 -0
  87. package/es/plus/saasAttendance/locales.d.ts +528 -0
  88. package/es/plus/saasAttendance/settings/BasicInfoTab.d.ts +5 -0
  89. package/es/plus/saasAttendance/settings/ClockInMethodTab.d.ts +8 -0
  90. package/es/plus/saasAttendance/settings/CorrectionPolicyTab.d.ts +8 -0
  91. package/es/plus/saasAttendance/settings/ShiftScheduleTab.d.ts +5 -0
  92. package/es/plus/saasAttendance/settings/components/MapField.d.ts +78 -0
  93. package/es/plus/saasAttendance/settings/components/index.d.ts +3 -0
  94. package/es/plus/saasAttendance/settings/components/membersField/index.d.ts +8 -0
  95. package/es/plus/saasAttendance/settings/components/shiftModal/index.d.ts +18 -0
  96. package/es/plus/saasAttendance/settings/index.d.ts +18 -0
  97. package/es/plus/saasAttendance/settings/serve.d.ts +27 -0
  98. package/es/plus/saasAttendance/settings/types.d.ts +130 -0
  99. package/es/plus/saasCreateOrganization/locales.d.ts +23 -0
  100. package/es/plus/saasLogin/locales.d.ts +83 -0
  101. package/es/plus/saasRegister/locales.d.ts +193 -0
  102. package/es/plus/saasRole/components/PermissionManager/index.d.ts +19 -0
  103. package/es/plus/saasRole/index.d.ts +14 -0
  104. package/es/plus/saasRole/locales.d.ts +319 -0
  105. package/es/plus/saasRole/serve.d.ts +72 -0
  106. package/es/plus/saasRole/types.d.ts +177 -0
  107. package/es/plus/saasRole/utils.d.ts +0 -0
  108. package/es/plus/saasTeamMembers/components/MemberDrawer/ExtensionFormTabContent.d.ts +31 -0
  109. package/es/plus/saasTeamMembers/components/MemberDrawer/index.d.ts +23 -0
  110. package/es/plus/saasTeamMembers/index.d.ts +5 -0
  111. package/es/plus/saasTeamMembers/locales.d.ts +546 -0
  112. package/es/plus/saasTeamMembers/serve.d.ts +95 -0
  113. package/es/plus/saasTeamMembers/type.d.ts +158 -0
  114. package/es/plus/selectHolder/locales.d.ts +38 -0
  115. package/es/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +39 -0
  116. package/es/plus/walletEditor/locales.d.ts +223 -0
  117. package/es/plus/walletEditor/types.d.ts +54 -0
  118. package/es/plus/walletPassGallery/components/passDetail/index.d.ts +11 -0
  119. package/es/plus/walletPassGallery/components/passList/index.d.ts +13 -0
  120. package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +12 -0
  121. package/es/plus/walletPassGallery/index.d.ts +11 -0
  122. package/es/plus/walletPassGallery/locales.d.ts +473 -0
  123. package/es/plus/walletPassGallery/serve.d.ts +245 -0
  124. package/es/plus/walletPassGallery/utils.d.ts +48 -0
  125. package/es/pro/Login2.0/locales.d.ts +903 -0
  126. package/es/pro/Login2.0/shared/types.d.ts +234 -0
  127. package/es/pro/comprehensiveSearch/components/searchSection/locales.d.ts +23 -0
  128. package/es/pro/comprehensiveSearch/locales.d.ts +23 -0
  129. package/es/pro/numberKeyboard/locales.d.ts +18 -0
  130. package/es/pro/pisellPhoneKeyboard/locales.d.ts +18 -0
  131. package/es/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +63 -0
  132. package/es/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +68 -0
  133. package/es/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +73 -0
  134. package/es/pro/skuDetailModal/locales.d.ts +78 -0
  135. package/es/pro/skuDetailModal/types.d.ts +352 -0
  136. package/lib/components/appointmentBooking/components/Date/state.d.ts +63 -0
  137. package/lib/components/appointmentBooking/locales.d.ts +603 -0
  138. package/lib/components/authentication/admin/AuthMethods/locales.d.ts +413 -0
  139. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
  140. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +138 -0
  141. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +43 -0
  142. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
  143. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +118 -0
  144. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +35 -0
  145. package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
  146. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +43 -0
  147. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +8 -0
  148. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +108 -0
  149. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +28 -0
  150. package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
  151. package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +63 -0
  152. package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +108 -0
  153. package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +178 -0
  154. package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +93 -0
  155. package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +148 -0
  156. package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +88 -0
  157. package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +78 -0
  158. package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +88 -0
  159. package/lib/components/booking/components/actionButtons/index.d.ts +31 -0
  160. package/lib/components/booking/components/voucher/utils.d.ts +5 -0
  161. package/lib/components/booking/editBookingModal/locales.d.ts +33 -0
  162. package/lib/components/booking/editBookingModal/mock.d.ts +991 -0
  163. package/lib/components/booking/hooks/useQuotation.js +2 -2
  164. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  165. package/lib/components/booking/info2/cartClientCard/locales.d.ts +33 -0
  166. package/lib/components/booking/info2/service/addService/mock.d.ts +216 -0
  167. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  168. package/lib/components/booking/info2/service/editService/DiscountChangeModal/index.d.ts +25 -0
  169. package/lib/components/booking/locales.d.ts +1619 -0
  170. package/lib/components/booking/utils.d.ts +2 -2
  171. package/lib/components/checkout/PaymentModal.d.ts +31 -0
  172. package/lib/components/checkout/components/AdditionalModule/locales.d.ts +58 -0
  173. package/lib/components/checkout/locales.d.ts +853 -0
  174. package/lib/components/eftpos/locales.d.ts +163 -0
  175. package/lib/components/eftposPay/locales.d.ts +608 -0
  176. package/lib/components/eventBooking/locales.d.ts +408 -0
  177. package/lib/components/list/locales.d.ts +108 -0
  178. package/lib/components/list/utils/getText.d.ts +53 -0
  179. package/lib/components/login/locales.d.ts +38 -0
  180. package/lib/components/pay/toB/locales.d.ts +88 -0
  181. package/lib/components/pay/toC/locales.d.ts +511 -0
  182. package/lib/components/pinModal/locales.d.ts +43 -0
  183. package/lib/components/pinVerifyModal/locales.d.ts +38 -0
  184. package/lib/components/pisellSelectCustomerModal/locales.d.ts +133 -0
  185. package/lib/components/productExtension/locales.d.ts +78 -0
  186. package/lib/components/productSelect/components/pisellPriceText/index.d.ts +11 -0
  187. package/lib/components/productSelect/locales.d.ts +38 -0
  188. package/lib/components/ruleSetting/locales.d.ts +78 -0
  189. package/lib/components/schedules/locales.d.ts +143 -0
  190. package/lib/components/shoppingCart/locales.d.ts +58 -0
  191. package/lib/components/stepController/locales.d.ts +43 -0
  192. package/lib/components/subTotal/locales.d.ts +68 -0
  193. package/lib/components/systemSettings/registry/components/ItemModal.d.ts +4 -0
  194. package/lib/components/systemSettings/registry/locales.d.ts +456 -0
  195. package/lib/components/systemSettings/registry/types.d.ts +128 -0
  196. package/lib/components/taxSelect/locales.d.ts +38 -0
  197. package/lib/components/ticketBooking/locales.d.ts +328 -0
  198. package/lib/components/ticketBooking/utils/formatTime.d.ts +33 -0
  199. package/lib/components/ticketBooking/utils/index.d.ts +1 -1
  200. package/lib/components/wallet/utils.d.ts +48 -0
  201. package/lib/components/walletList/index.d.ts +4 -0
  202. package/lib/components/walletList/locales.d.ts +43 -0
  203. package/lib/components/walletList/types/index.d.ts +196 -0
  204. package/lib/plus/clientCard/index.d.ts +7 -0
  205. package/lib/plus/clientCard/locales.d.ts +28 -0
  206. package/lib/plus/clientCard/types.d.ts +135 -0
  207. package/lib/plus/clinetSearch/locales.d.ts +178 -0
  208. package/lib/plus/contactInfo/locales.d.ts +23 -0
  209. package/lib/plus/contactInfoModal/locales.d.ts +108 -0
  210. package/lib/plus/noteModal/locales.d.ts +53 -0
  211. package/lib/plus/productSelect/ProductCard/SkuCard/locales.d.ts +68 -0
  212. package/lib/plus/productSelect/ProductCard/SkuCard/status.d.ts +164 -0
  213. package/lib/plus/productSelect/components/pisellPriceText/index.d.ts +14 -0
  214. package/lib/plus/productSelect/locales.d.ts +38 -0
  215. package/lib/plus/saasAttendance/index.d.ts +6 -0
  216. package/lib/plus/saasAttendance/locales.d.ts +528 -0
  217. package/lib/plus/saasAttendance/settings/BasicInfoTab.d.ts +5 -0
  218. package/lib/plus/saasAttendance/settings/ClockInMethodTab.d.ts +8 -0
  219. package/lib/plus/saasAttendance/settings/CorrectionPolicyTab.d.ts +8 -0
  220. package/lib/plus/saasAttendance/settings/ShiftScheduleTab.d.ts +5 -0
  221. package/lib/plus/saasAttendance/settings/components/MapField.d.ts +78 -0
  222. package/lib/plus/saasAttendance/settings/components/index.d.ts +3 -0
  223. package/lib/plus/saasAttendance/settings/components/membersField/index.d.ts +8 -0
  224. package/lib/plus/saasAttendance/settings/components/shiftModal/index.d.ts +18 -0
  225. package/lib/plus/saasAttendance/settings/index.d.ts +18 -0
  226. package/lib/plus/saasAttendance/settings/serve.d.ts +27 -0
  227. package/lib/plus/saasAttendance/settings/types.d.ts +130 -0
  228. package/lib/plus/saasCreateOrganization/locales.d.ts +23 -0
  229. package/lib/plus/saasLogin/locales.d.ts +83 -0
  230. package/lib/plus/saasRegister/locales.d.ts +193 -0
  231. package/lib/plus/saasRole/components/PermissionManager/index.d.ts +19 -0
  232. package/lib/plus/saasRole/index.d.ts +14 -0
  233. package/lib/plus/saasRole/locales.d.ts +319 -0
  234. package/lib/plus/saasRole/serve.d.ts +72 -0
  235. package/lib/plus/saasRole/types.d.ts +177 -0
  236. package/lib/plus/saasRole/utils.d.ts +0 -0
  237. package/lib/plus/saasTeamMembers/components/MemberDrawer/ExtensionFormTabContent.d.ts +31 -0
  238. package/lib/plus/saasTeamMembers/components/MemberDrawer/index.d.ts +23 -0
  239. package/lib/plus/saasTeamMembers/index.d.ts +5 -0
  240. package/lib/plus/saasTeamMembers/locales.d.ts +546 -0
  241. package/lib/plus/saasTeamMembers/serve.d.ts +95 -0
  242. package/lib/plus/saasTeamMembers/type.d.ts +158 -0
  243. package/lib/plus/selectHolder/locales.d.ts +38 -0
  244. package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +39 -0
  245. package/lib/plus/walletEditor/locales.d.ts +223 -0
  246. package/lib/plus/walletEditor/types.d.ts +54 -0
  247. package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +11 -0
  248. package/lib/plus/walletPassGallery/components/passList/index.d.ts +13 -0
  249. package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +12 -0
  250. package/lib/plus/walletPassGallery/index.d.ts +11 -0
  251. package/lib/plus/walletPassGallery/locales.d.ts +473 -0
  252. package/lib/plus/walletPassGallery/serve.d.ts +245 -0
  253. package/lib/plus/walletPassGallery/utils.d.ts +48 -0
  254. package/lib/pro/Login2.0/locales.d.ts +903 -0
  255. package/lib/pro/Login2.0/shared/types.d.ts +234 -0
  256. package/lib/pro/comprehensiveSearch/components/searchSection/locales.d.ts +23 -0
  257. package/lib/pro/comprehensiveSearch/locales.d.ts +23 -0
  258. package/lib/pro/numberKeyboard/locales.d.ts +18 -0
  259. package/lib/pro/pisellPhoneKeyboard/locales.d.ts +18 -0
  260. package/lib/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +63 -0
  261. package/lib/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +68 -0
  262. package/lib/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +73 -0
  263. package/lib/pro/skuDetailModal/locales.d.ts +78 -0
  264. package/lib/pro/skuDetailModal/types.d.ts +352 -0
  265. package/lowcode/eco-cup-list/meta.ts +63 -0
  266. package/lowcode/eco-customer-list/meta.ts +63 -0
  267. package/package.json +3 -3
@@ -0,0 +1,158 @@
1
+ import type { CSSProperties } from 'react';
2
+ /**
3
+ * 通用响应结构
4
+ */
5
+ export interface ApiResponse<T> {
6
+ status: boolean;
7
+ code: number;
8
+ message: string;
9
+ data: T;
10
+ }
11
+ /**
12
+ * 分页数据结构
13
+ */
14
+ export interface PaginationData<T> {
15
+ list: T[];
16
+ count: number;
17
+ page: number;
18
+ size: number;
19
+ }
20
+ /**
21
+ * 多语言字段
22
+ */
23
+ export interface MultiLanguage {
24
+ en?: string;
25
+ 'zh-CN'?: string;
26
+ 'zh-HK'?: string;
27
+ 'ja'?: string;
28
+ 'pt'?: string;
29
+ original?: string;
30
+ [key: string]: string | undefined;
31
+ }
32
+ /**
33
+ * 账户基础信息
34
+ */
35
+ export interface AccountInfo {
36
+ id: number;
37
+ tenant_id: number;
38
+ email: string | null;
39
+ phone: string | null;
40
+ avatar: string | null;
41
+ name: string | null;
42
+ first_name: string | null;
43
+ last_name: string | null;
44
+ nickname: string | null;
45
+ locale: string;
46
+ timezone: string;
47
+ status: string;
48
+ login_times: number;
49
+ login_ip: string | null;
50
+ login_at: string | null;
51
+ created_at: string;
52
+ updated_at: string;
53
+ }
54
+ /**
55
+ * 角色信息
56
+ */
57
+ export interface RoleInfo {
58
+ id: number;
59
+ tenant_id: number;
60
+ code: string;
61
+ name: MultiLanguage;
62
+ description?: MultiLanguage;
63
+ permission: string[];
64
+ metadata?: {
65
+ extension_form_id?: number;
66
+ [key: string]: any;
67
+ };
68
+ sort: number;
69
+ created_at: string;
70
+ updated_at: string;
71
+ pivot?: {
72
+ tenant_account_id: number;
73
+ tenant_role_id: number;
74
+ created_at: string;
75
+ updated_at: string;
76
+ };
77
+ }
78
+ /**
79
+ * 团队成员信息接口
80
+ */
81
+ export interface TeamMemberInfo {
82
+ /** 租户账户ID */
83
+ id: number;
84
+ /** 租户ID */
85
+ tenant_id: number;
86
+ /** 全局账户ID */
87
+ account_id: number;
88
+ /** 成员类型 */
89
+ type: string;
90
+ /** 昵称 */
91
+ nickname: string;
92
+ /** 员工编号 */
93
+ member_id: string | null;
94
+ /** 状态 */
95
+ status: 'active' | 'inactive';
96
+ /** 创建时间 */
97
+ created_at: string;
98
+ /** 更新时间 */
99
+ updated_at: string;
100
+ /** 关联的账户详情 */
101
+ account?: AccountInfo;
102
+ /** 关联的角色列表 */
103
+ roles?: RoleInfo[];
104
+ }
105
+ /**
106
+ * 团队成员表单值
107
+ */
108
+ export interface TeamMemberFormValues {
109
+ /** 昵称/偏好名称 */
110
+ nickname: string;
111
+ /** 成员编号 */
112
+ member_id?: string;
113
+ /** 状态 */
114
+ status: 'active' | 'inactive';
115
+ /** 角色ID列表 */
116
+ tenant_role_ids?: number[];
117
+ /** 邮箱(新建时) */
118
+ email?: string;
119
+ /** 密码(新建时) */
120
+ password?: string;
121
+ /** 名 */
122
+ first_name?: string;
123
+ /** 姓 */
124
+ last_name?: string;
125
+ /** 手机号码 */
126
+ phone?: string;
127
+ }
128
+ /**
129
+ * 查询参数
130
+ */
131
+ export interface TeamMemberQueryParams {
132
+ page?: number;
133
+ size?: number;
134
+ search?: string;
135
+ tenant_role_ids?: number[];
136
+ status?: 'active' | 'inactive';
137
+ with?: string[];
138
+ }
139
+ /**
140
+ * SaasTeamMembers 组件 Props 接口
141
+ */
142
+ export interface SaasTeamMembersProps {
143
+ /** 类名 */
144
+ className?: string;
145
+ /** 样式 */
146
+ style?: CSSProperties;
147
+ }
148
+ /**
149
+ * 抽屉模式
150
+ */
151
+ export declare type DrawerMode = 'create' | 'edit';
152
+ /**
153
+ * 筛选器状态
154
+ */
155
+ export interface FilterState {
156
+ roles?: number[];
157
+ status?: string;
158
+ }
@@ -0,0 +1,38 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell-select-holder-create': string;
4
+ 'pisell-select-holder-please-select': string;
5
+ 'pisell-select-holder-selected': string;
6
+ 'pisell-select-holder-skip': string;
7
+ 'pisell-select-holder-please-remove': (count: number) => string;
8
+ };
9
+ 'zh-CN': {
10
+ 'pisell-select-holder-create': string;
11
+ 'pisell-select-holder-please-select': string;
12
+ 'pisell-select-holder-selected': string;
13
+ 'pisell-select-holder-skip': string;
14
+ 'pisell-select-holder-please-remove': (count: number) => string;
15
+ };
16
+ 'zh-HK': {
17
+ 'pisell-select-holder-create': string;
18
+ 'pisell-select-holder-please-select': string;
19
+ 'pisell-select-holder-selected': string;
20
+ 'pisell-select-holder-skip': string;
21
+ 'pisell-select-holder-please-remove': (count: number) => string;
22
+ };
23
+ ja: {
24
+ 'pisell-select-holder-create': string;
25
+ 'pisell-select-holder-please-select': string;
26
+ 'pisell-select-holder-selected': string;
27
+ 'pisell-select-holder-skip': string;
28
+ 'pisell-select-holder-please-remove': (count: number) => string;
29
+ };
30
+ pt: {
31
+ 'pisell-select-holder-create': string;
32
+ 'pisell-select-holder-please-select': string;
33
+ 'pisell-select-holder-selected': string;
34
+ 'pisell-select-holder-skip': string;
35
+ 'pisell-select-holder-please-remove': (count: number) => string;
36
+ };
37
+ };
38
+ export default _default;
@@ -0,0 +1,39 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ export declare type WalletPassType = 'rechargeable' | 'point' | 'voucher' | 'discount';
4
+ export interface MultiLanguageTitle {
5
+ original?: string;
6
+ en?: string;
7
+ 'zh-CN'?: string;
8
+ 'zh-HK'?: string;
9
+ 'ja'?: string;
10
+ 'pt'?: string;
11
+ }
12
+ export interface WalletPassItem {
13
+ /** 钱包通行证类型 */
14
+ type: WalletPassType;
15
+ /** 是否显示,1表示显示,0表示隐藏 */
16
+ display: 0 | 1;
17
+ /** 自定义标题,支持多语言 */
18
+ custom_title?: MultiLanguageTitle;
19
+ }
20
+ export interface SortableWalletPassTypesProps {
21
+ /** 当前值,包含各种钱包通行证类型的配置 */
22
+ value?: WalletPassItem[];
23
+ /** 值变化时的回调函数 */
24
+ onChange?: (value: WalletPassItem[]) => void;
25
+ /** 是否禁用编辑 */
26
+ disabled?: boolean;
27
+ /** 组件类名 */
28
+ className?: string;
29
+ /** 组件样式 */
30
+ style?: React.CSSProperties;
31
+ }
32
+ /** 默认的钱包通行证类型配置 */
33
+ export interface WalletPassTypeInfo {
34
+ type: WalletPassType;
35
+ custom_title: MultiLanguageTitle;
36
+ }
37
+ export declare const DEFAULT_WALLET_PASS_TYPES_CONFIG: WalletPassTypeInfo[];
38
+ declare const SortableWalletPassTypes: React.FC<SortableWalletPassTypesProps>;
39
+ export default SortableWalletPassTypes;
@@ -0,0 +1,223 @@
1
+ declare const _default: {
2
+ en: {
3
+ walletName: string;
4
+ validityPeriod: string;
5
+ linkedPasses: string;
6
+ linkedPassesDesc: string;
7
+ sort: string;
8
+ status: string;
9
+ distributionConditions: string;
10
+ selectPasses: string;
11
+ backgroundImage: string;
12
+ advancedSettings: string;
13
+ sendConfig: string;
14
+ displaySettings: string;
15
+ viewPreview: string;
16
+ coverImage: string;
17
+ icon: string;
18
+ upload: string;
19
+ enable: string;
20
+ disable: string;
21
+ barCode: string;
22
+ qrCode: string;
23
+ day: string;
24
+ days: string;
25
+ month: string;
26
+ months: string;
27
+ year: string;
28
+ years: string;
29
+ forever: string;
30
+ custom: string;
31
+ balance: string;
32
+ point: string;
33
+ voucher: string;
34
+ discount: string;
35
+ rechargeable: string;
36
+ pleaseInputWalletName: string;
37
+ enterCoverImageURL: string;
38
+ enterJSONConfig: string;
39
+ selectValidityPeriod: string;
40
+ selectCustomDate: string;
41
+ registerToIssue: string;
42
+ 'pisell2.wallet-editor.holder': string;
43
+ 'pisell2.wallet-editor.holder.required': string;
44
+ 'pisell2.wallet-editor.holder.invalid': string;
45
+ };
46
+ 'zh-CN': {
47
+ walletName: string;
48
+ validityPeriod: string;
49
+ linkedPasses: string;
50
+ linkedPassesDesc: string;
51
+ sort: string;
52
+ status: string;
53
+ distributionConditions: string;
54
+ selectPasses: string;
55
+ backgroundImage: string;
56
+ advancedSettings: string;
57
+ sendConfig: string;
58
+ displaySettings: string;
59
+ viewPreview: string;
60
+ coverImage: string;
61
+ icon: string;
62
+ upload: string;
63
+ enable: string;
64
+ disable: string;
65
+ barCode: string;
66
+ qrCode: string;
67
+ day: string;
68
+ days: string;
69
+ month: string;
70
+ months: string;
71
+ year: string;
72
+ years: string;
73
+ forever: string;
74
+ custom: string;
75
+ balance: string;
76
+ point: string;
77
+ voucher: string;
78
+ discount: string;
79
+ rechargeable: string;
80
+ pleaseInputWalletName: string;
81
+ enterCoverImageURL: string;
82
+ enterJSONConfig: string;
83
+ selectValidityPeriod: string;
84
+ selectCustomDate: string;
85
+ registerToIssue: string;
86
+ 'pisell2.wallet-editor.holder': string;
87
+ 'pisell2.wallet-editor.holder.required': string;
88
+ 'pisell2.wallet-editor.holder.invalid': string;
89
+ };
90
+ 'zh-HK': {
91
+ walletName: string;
92
+ validityPeriod: string;
93
+ linkedPasses: string;
94
+ linkedPassesDesc: string;
95
+ sort: string;
96
+ status: string;
97
+ distributionConditions: string;
98
+ selectPasses: string;
99
+ backgroundImage: string;
100
+ advancedSettings: string;
101
+ sendConfig: string;
102
+ displaySettings: string;
103
+ viewPreview: string;
104
+ coverImage: string;
105
+ icon: string;
106
+ upload: string;
107
+ enable: string;
108
+ disable: string;
109
+ barCode: string;
110
+ qrCode: string;
111
+ day: string;
112
+ days: string;
113
+ month: string;
114
+ months: string;
115
+ year: string;
116
+ years: string;
117
+ forever: string;
118
+ custom: string;
119
+ balance: string;
120
+ point: string;
121
+ voucher: string;
122
+ discount: string;
123
+ rechargeable: string;
124
+ pleaseInputWalletName: string;
125
+ enterCoverImageURL: string;
126
+ enterJSONConfig: string;
127
+ selectValidityPeriod: string;
128
+ selectCustomDate: string;
129
+ registerToIssue: string;
130
+ 'pisell2.wallet-editor.holder': string;
131
+ 'pisell2.wallet-editor.holder.required': string;
132
+ 'pisell2.wallet-editor.holder.invalid': string;
133
+ };
134
+ ja: {
135
+ walletName: string;
136
+ validityPeriod: string;
137
+ linkedPasses: string;
138
+ linkedPassesDesc: string;
139
+ sort: string;
140
+ status: string;
141
+ distributionConditions: string;
142
+ selectPasses: string;
143
+ backgroundImage: string;
144
+ advancedSettings: string;
145
+ sendConfig: string;
146
+ displaySettings: string;
147
+ viewPreview: string;
148
+ coverImage: string;
149
+ icon: string;
150
+ upload: string;
151
+ enable: string;
152
+ disable: string;
153
+ barCode: string;
154
+ qrCode: string;
155
+ day: string;
156
+ days: string;
157
+ month: string;
158
+ months: string;
159
+ year: string;
160
+ years: string;
161
+ forever: string;
162
+ custom: string;
163
+ balance: string;
164
+ point: string;
165
+ voucher: string;
166
+ discount: string;
167
+ rechargeable: string;
168
+ pleaseInputWalletName: string;
169
+ enterCoverImageURL: string;
170
+ enterJSONConfig: string;
171
+ selectValidityPeriod: string;
172
+ selectCustomDate: string;
173
+ registerToIssue: string;
174
+ 'pisell2.wallet-editor.holder': string;
175
+ 'pisell2.wallet-editor.holder.required': string;
176
+ 'pisell2.wallet-editor.holder.invalid': string;
177
+ };
178
+ pt: {
179
+ walletName: string;
180
+ validityPeriod: string;
181
+ linkedPasses: string;
182
+ linkedPassesDesc: string;
183
+ sort: string;
184
+ status: string;
185
+ distributionConditions: string;
186
+ selectPasses: string;
187
+ backgroundImage: string;
188
+ advancedSettings: string;
189
+ sendConfig: string;
190
+ displaySettings: string;
191
+ viewPreview: string;
192
+ coverImage: string;
193
+ icon: string;
194
+ upload: string;
195
+ enable: string;
196
+ disable: string;
197
+ barCode: string;
198
+ qrCode: string;
199
+ day: string;
200
+ days: string;
201
+ month: string;
202
+ months: string;
203
+ year: string;
204
+ years: string;
205
+ forever: string;
206
+ custom: string;
207
+ balance: string;
208
+ point: string;
209
+ voucher: string;
210
+ discount: string;
211
+ rechargeable: string;
212
+ pleaseInputWalletName: string;
213
+ enterCoverImageURL: string;
214
+ enterJSONConfig: string;
215
+ selectValidityPeriod: string;
216
+ selectCustomDate: string;
217
+ registerToIssue: string;
218
+ 'pisell2.wallet-editor.holder': string;
219
+ 'pisell2.wallet-editor.holder.required': string;
220
+ 'pisell2.wallet-editor.holder.invalid': string;
221
+ };
222
+ };
223
+ export default _default;
@@ -0,0 +1,54 @@
1
+ /// <reference types="react" />
2
+ import { FormInstance } from 'antd';
3
+ export interface MultiLanguageTitle {
4
+ original?: string;
5
+ 'zh-CN'?: string;
6
+ 'zh-HK'?: string;
7
+ 'ja'?: string;
8
+ 'pt'?: string;
9
+ en?: string;
10
+ }
11
+ export interface ValidForConfig {
12
+ unit: string;
13
+ unit_type: 'day' | 'month' | 'year';
14
+ type: 'normal' | 'custom' | 'forever';
15
+ custom_date?: string;
16
+ }
17
+ export declare type WalletPassType = 'balance' | 'point' | 'voucher' | 'discount' | 'rechargeable';
18
+ export interface ShowcaseWalletPassItem {
19
+ type: WalletPassType;
20
+ display: 0 | 1;
21
+ name?: MultiLanguageTitle;
22
+ custom_title?: MultiLanguageTitle;
23
+ }
24
+ export interface SendConfig {
25
+ type: string;
26
+ [key: string]: any;
27
+ }
28
+ export interface WalletMetadata {
29
+ showcaseWalletPass?: string[];
30
+ showcaseWalletPassNew?: ShowcaseWalletPassItem[];
31
+ welcomeText?: string;
32
+ customerName?: string;
33
+ coverImage?: string;
34
+ send_config?: SendConfig;
35
+ }
36
+ export interface WalletEditorValue {
37
+ name?: MultiLanguageTitle;
38
+ status: 'enable' | 'disable';
39
+ valid_for: ValidForConfig;
40
+ metadata: WalletMetadata;
41
+ }
42
+ export interface WalletEditorRef {
43
+ form: FormInstance;
44
+ setInitialValues: (values: WalletEditorValue) => void;
45
+ getValues: () => WalletEditorValue;
46
+ }
47
+ export interface WalletEditorProps {
48
+ value?: WalletEditorValue;
49
+ onChange?: (value: WalletEditorValue) => void;
50
+ onValuesChange?: (changedValue: any, values: WalletEditorValue) => void;
51
+ disabled?: boolean;
52
+ className?: string;
53
+ style?: React.CSSProperties;
54
+ }
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ interface PassDetailProps {
4
+ dataSource?: any | null;
5
+ platform?: 'pc' | 'h5';
6
+ buttonGroupList?: any[][];
7
+ showTimeLine?: boolean;
8
+ onListRefresh?: () => void;
9
+ }
10
+ declare const PassDetail: (props: PassDetailProps) => React.JSX.Element | null;
11
+ export default PassDetail;
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ interface IPassListProps {
3
+ dataSource: any[];
4
+ value?: string | number;
5
+ onChange?: (newId: string | number) => void;
6
+ valuePropName?: string;
7
+ hasMore?: boolean;
8
+ onLoadMore?: () => void;
9
+ loading?: boolean;
10
+ onEditHolder?: (info: any) => void;
11
+ }
12
+ declare const PassList: (props: IPassListProps) => React.JSX.Element;
13
+ export default PassList;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ interface TimelineSectionProps {
4
+ code: string;
5
+ tag: string;
6
+ timezone: string;
7
+ apiPrefix?: '/shop' | '/h5';
8
+ isTerminalEnv?: boolean;
9
+ interaction?: any;
10
+ }
11
+ declare const TimelineSection: (props: TimelineSectionProps) => React.JSX.Element;
12
+ export default TimelineSection;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ export interface WalletPassGalleryProps {
4
+ hideTitle: boolean;
5
+ hideAddButton: boolean;
6
+ customer?: any;
7
+ platform?: 'pc' | 'h5';
8
+ [key: string]: any;
9
+ }
10
+ declare const WalletPassGallery: (props: WalletPassGalleryProps) => React.JSX.Element;
11
+ export default WalletPassGallery;