@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,193 +0,0 @@
1
- /**
2
- * SaasRole 组件国际化配置
3
- */
4
- export declare const locales: {
5
- en: {
6
- 'pisell2.saas.role.title': string;
7
- 'pisell2.saas.role.create': string;
8
- 'pisell2.saas.role.create-role': string;
9
- 'pisell2.saas.role.edit': string;
10
- 'pisell2.saas.role.edit-role': string;
11
- 'pisell2.saas.role.delete': string;
12
- 'pisell2.saas.role.delete-role': string;
13
- 'pisell2.saas.role.role-has-members': string;
14
- 'pisell2.saas.role.at-least-one-role': string;
15
- 'pisell2.saas.role.name': string;
16
- 'pisell2.saas.role.code': string;
17
- 'pisell2.saas.role.description': string;
18
- 'pisell2.saas.role.extension-table': string;
19
- 'pisell2.saas.role.members': string;
20
- 'pisell2.saas.role.permissions': string;
21
- 'pisell2.saas.role.fields': string;
22
- 'pisell2.saas.role.member-count': string;
23
- 'pisell2.saas.role.add-member': string;
24
- 'pisell2.saas.role.remove-member': string;
25
- 'pisell2.saas.role.confirm-remove': string;
26
- 'pisell2.saas.role.confirm-remove-member': string;
27
- 'pisell2.saas.role.confirm-delete-role': string;
28
- 'pisell2.saas.role.member-name': string;
29
- 'pisell2.saas.role.member-id': string;
30
- 'pisell2.saas.role.member-email': string;
31
- 'pisell2.saas.role.member-mobile': string;
32
- 'pisell2.saas.role.member-current-roles': string;
33
- 'pisell2.saas.role.actions': string;
34
- 'pisell2.saas.role.search': string;
35
- 'pisell2.saas.role.save': string;
36
- 'pisell2.saas.role.cancel': string;
37
- 'pisell2.saas.role.confirm': string;
38
- 'pisell2.saas.role.submit': string;
39
- 'pisell2.saas.role.add': string;
40
- 'pisell2.saas.role.enter-role-name': string;
41
- 'pisell2.saas.role.enter-role-code': string;
42
- 'pisell2.saas.role.enter-role-description': string;
43
- 'pisell2.saas.role.select-extension-table': string;
44
- 'pisell2.saas.role.role-core-format-error': string;
45
- 'pisell2.saas.role.role-code-format': string;
46
- 'pisell2.saas.role.add-members-to-role': string;
47
- 'pisell2.saas.role.select-members': string;
48
- 'pisell2.saas.role.create-success': string;
49
- 'pisell2.saas.role.update-success': string;
50
- 'pisell2.saas.role.delete-success': string;
51
- 'pisell2.saas.role.no-role-selected': string;
52
- 'pisell2.saas.role.no-permissions': string;
53
- 'pisell2.saas.role.members-text': string;
54
- 'pisell2.saas.role.no-members-in-role': string;
55
- 'pisell2.saas.role.select': string;
56
- 'pisell2.saas.role.all-members-in-role': string;
57
- 'pisell2.saas.role.channels': string;
58
- 'pisell2.saas.role.control-access-channels': string;
59
- 'pisell2.saas.role.page-types': string;
60
- 'pisell2.saas.role.control-access-page-types': string;
61
- 'pisell2.saas.role.apps': string;
62
- 'pisell2.saas.role.control-access-apps': string;
63
- 'pisell2.saas.role.system-management': string;
64
- 'pisell2.saas.role.control-system-operations': string;
65
- 'pisell2.saas.role.clear-all': string;
66
- 'pisell2.saas.role.select-all': string;
67
- };
68
- 'zh-CN': {
69
- 'pisell2.saas.role.title': string;
70
- 'pisell2.saas.role.create': string;
71
- 'pisell2.saas.role.create-role': string;
72
- 'pisell2.saas.role.edit': string;
73
- 'pisell2.saas.role.edit-role': string;
74
- 'pisell2.saas.role.delete': string;
75
- 'pisell2.saas.role.delete-role': string;
76
- 'pisell2.saas.role.role-has-members': string;
77
- 'pisell2.saas.role.at-least-one-role': string;
78
- 'pisell2.saas.role.name': string;
79
- 'pisell2.saas.role.code': string;
80
- 'pisell2.saas.role.description': string;
81
- 'pisell2.saas.role.extension-table': string;
82
- 'pisell2.saas.role.members': string;
83
- 'pisell2.saas.role.permissions': string;
84
- 'pisell2.saas.role.fields': string;
85
- 'pisell2.saas.role.member-count': string;
86
- 'pisell2.saas.role.add-member': string;
87
- 'pisell2.saas.role.remove-member': string;
88
- 'pisell2.saas.role.confirm-remove': string;
89
- 'pisell2.saas.role.confirm-remove-member': string;
90
- 'pisell2.saas.role.confirm-delete-role': string;
91
- 'pisell2.saas.role.member-name': string;
92
- 'pisell2.saas.role.member-id': string;
93
- 'pisell2.saas.role.member-email': string;
94
- 'pisell2.saas.role.member-mobile': string;
95
- 'pisell2.saas.role.member-current-roles': string;
96
- 'pisell2.saas.role.actions': string;
97
- 'pisell2.saas.role.search': string;
98
- 'pisell2.saas.role.save': string;
99
- 'pisell2.saas.role.cancel': string;
100
- 'pisell2.saas.role.confirm': string;
101
- 'pisell2.saas.role.submit': string;
102
- 'pisell2.saas.role.add': string;
103
- 'pisell2.saas.role.enter-role-name': string;
104
- 'pisell2.saas.role.enter-role-code': string;
105
- 'pisell2.saas.role.enter-role-description': string;
106
- 'pisell2.saas.role.select-extension-table': string;
107
- 'pisell2.saas.role.role-code-format': string;
108
- 'pisell2.saas.role.add-members-to-role': string;
109
- 'pisell2.saas.role.select-members': string;
110
- 'pisell2.saas.role.create-success': string;
111
- 'pisell2.saas.role.update-success': string;
112
- 'pisell2.saas.role.delete-success': string;
113
- 'pisell2.saas.role.no-role-selected': string;
114
- 'pisell2.saas.role.no-permissions': string;
115
- 'pisell2.saas.role.members-text': string;
116
- 'pisell2.saas.role.no-members-in-role': string;
117
- 'pisell2.saas.role.select': string;
118
- 'pisell2.saas.role.all-members-in-role': string;
119
- 'pisell2.saas.role.channels': string;
120
- 'pisell2.saas.role.control-access-channels': string;
121
- 'pisell2.saas.role.page-types': string;
122
- 'pisell2.saas.role.control-access-page-types': string;
123
- 'pisell2.saas.role.apps': string;
124
- 'pisell2.saas.role.control-access-apps': string;
125
- 'pisell2.saas.role.system-management': string;
126
- 'pisell2.saas.role.control-system-operations': string;
127
- 'pisell2.saas.role.clear-all': string;
128
- 'pisell2.saas.role.select-all': string;
129
- };
130
- 'zh-HK': {
131
- 'pisell2.saas.role.title': string;
132
- 'pisell2.saas.role.create': string;
133
- 'pisell2.saas.role.create-role': string;
134
- 'pisell2.saas.role.edit': string;
135
- 'pisell2.saas.role.edit-role': string;
136
- 'pisell2.saas.role.delete': string;
137
- 'pisell2.saas.role.delete-role': string;
138
- 'pisell2.saas.role.role-has-members': string;
139
- 'pisell2.saas.role.at-least-one-role': string;
140
- 'pisell2.saas.role.name': string;
141
- 'pisell2.saas.role.code': string;
142
- 'pisell2.saas.role.description': string;
143
- 'pisell2.saas.role.extension-table': string;
144
- 'pisell2.saas.role.members': string;
145
- 'pisell2.saas.role.permissions': string;
146
- 'pisell2.saas.role.fields': string;
147
- 'pisell2.saas.role.member-count': string;
148
- 'pisell2.saas.role.add-member': string;
149
- 'pisell2.saas.role.remove-member': string;
150
- 'pisell2.saas.role.confirm-remove': string;
151
- 'pisell2.saas.role.confirm-remove-member': string;
152
- 'pisell2.saas.role.confirm-delete-role': string;
153
- 'pisell2.saas.role.member-name': string;
154
- 'pisell2.saas.role.member-id': string;
155
- 'pisell2.saas.role.member-email': string;
156
- 'pisell2.saas.role.member-mobile': string;
157
- 'pisell2.saas.role.member-current-roles': string;
158
- 'pisell2.saas.role.actions': string;
159
- 'pisell2.saas.role.search': string;
160
- 'pisell2.saas.role.save': string;
161
- 'pisell2.saas.role.cancel': string;
162
- 'pisell2.saas.role.confirm': string;
163
- 'pisell2.saas.role.submit': string;
164
- 'pisell2.saas.role.add': string;
165
- 'pisell2.saas.role.enter-role-name': string;
166
- 'pisell2.saas.role.enter-role-code': string;
167
- 'pisell2.saas.role.enter-role-description': string;
168
- 'pisell2.saas.role.select-extension-table': string;
169
- 'pisell2.saas.role.role-code-format': string;
170
- 'pisell2.saas.role.add-members-to-role': string;
171
- 'pisell2.saas.role.select-members': string;
172
- 'pisell2.saas.role.create-success': string;
173
- 'pisell2.saas.role.update-success': string;
174
- 'pisell2.saas.role.delete-success': string;
175
- 'pisell2.saas.role.no-role-selected': string;
176
- 'pisell2.saas.role.no-permissions': string;
177
- 'pisell2.saas.role.members-text': string;
178
- 'pisell2.saas.role.no-members-in-role': string;
179
- 'pisell2.saas.role.select': string;
180
- 'pisell2.saas.role.all-members-in-role': string;
181
- 'pisell2.saas.role.channels': string;
182
- 'pisell2.saas.role.control-access-channels': string;
183
- 'pisell2.saas.role.page-types': string;
184
- 'pisell2.saas.role.control-access-page-types': string;
185
- 'pisell2.saas.role.apps': string;
186
- 'pisell2.saas.role.control-access-apps': string;
187
- 'pisell2.saas.role.system-management': string;
188
- 'pisell2.saas.role.control-system-operations': string;
189
- 'pisell2.saas.role.clear-all': string;
190
- 'pisell2.saas.role.select-all': string;
191
- };
192
- };
193
- export default locales;
@@ -1,175 +0,0 @@
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
- export declare type ExtensionFormInfo = {
12
- id: number;
13
- title: string;
14
- code: string;
15
- status: string;
16
- };
17
- /**
18
- * 分页数据结构
19
- */
20
- export interface PaginationData<T> {
21
- list: T[];
22
- count: number;
23
- page: number;
24
- size: number;
25
- }
26
- /**
27
- * 多语言字段
28
- */
29
- export interface MultiLanguage {
30
- en?: string;
31
- 'zh-CN'?: string;
32
- 'zh-HK'?: string;
33
- original?: string;
34
- [key: string]: string | undefined;
35
- }
36
- /**
37
- * 角色元数据
38
- */
39
- export interface RoleMetadata {
40
- extension_form_id?: number;
41
- [key: string]: any;
42
- }
43
- /**
44
- * 角色信息接口
45
- */
46
- export interface RoleInfo {
47
- /** 角色ID */
48
- id: number;
49
- /** 租户ID */
50
- tenant_id: number;
51
- /** 角色代码 */
52
- code: string;
53
- /** 角色名称 (多语言) */
54
- name: MultiLanguage;
55
- /** 角色描述 (多语言) */
56
- description?: MultiLanguage;
57
- /** 角色权限列表 */
58
- permission: string[];
59
- /** 元数据 */
60
- metadata?: RoleMetadata;
61
- /** 排序 */
62
- sort: number;
63
- /** 创建时间 */
64
- created_at: string;
65
- /** 更新时间 */
66
- updated_at: string;
67
- /** 关联成员数量 (with_count[]=tenant_account) */
68
- tenant_account_count?: number;
69
- /** 中间表信息 (当作为成员关联角色返回时) */
70
- pivot?: {
71
- tenant_account_id: number;
72
- tenant_role_id: number;
73
- created_at: string;
74
- updated_at: string;
75
- };
76
- }
77
- /**
78
- * 账户基础信息
79
- */
80
- export interface AccountUser {
81
- id: number;
82
- tenant_id: number;
83
- email: string | null;
84
- phone: string | null;
85
- avatar: string | null;
86
- name: string | null;
87
- first_name: string | null;
88
- last_name: string | null;
89
- nickname: string | null;
90
- locale: string;
91
- timezone: string;
92
- status: string;
93
- login_times: number;
94
- login_ip: string | null;
95
- login_at: string | null;
96
- created_at: string;
97
- updated_at: string;
98
- }
99
- /**
100
- * 成员(租户账户)信息接口
101
- */
102
- export interface MemberInfo {
103
- /** 租户账户ID */
104
- id: number;
105
- /** 租户ID */
106
- tenant_id: number;
107
- /** 全局账户ID */
108
- account_id: number;
109
- /** 成员类型 */
110
- type: string;
111
- /** 昵称 */
112
- nickname: string;
113
- /** 员工编号 */
114
- member_id: string | null;
115
- /** 状态 */
116
- status: string;
117
- /** 创建时间 */
118
- created_at: string;
119
- /** 更新时间 */
120
- updated_at: string;
121
- /** 关联的账户详情 */
122
- account: AccountUser;
123
- /** 关联的角色列表 */
124
- roles: RoleInfo[];
125
- }
126
- /**
127
- * 权限信息接口 (保留,用于权限选择列表)
128
- */
129
- export interface PermissionInfo {
130
- id: string;
131
- name: string;
132
- code: string;
133
- enabled: boolean;
134
- }
135
- /**
136
- * 字段信息接口 (保留,用于扩展字段)
137
- */
138
- export interface FieldInfo {
139
- id: string;
140
- name: string;
141
- code: string;
142
- type: string;
143
- visible: boolean;
144
- editable: boolean;
145
- }
146
- /**
147
- * SaasRole 组件 Props 接口
148
- */
149
- export interface SaasRoleProps {
150
- /** 类名 */
151
- className?: string;
152
- /** 样式 */
153
- style?: CSSProperties;
154
- }
155
- /**
156
- * 创建/编辑角色表单值
157
- */
158
- export interface RoleFormValues {
159
- code: string;
160
- name: MultiLanguage;
161
- description?: MultiLanguage;
162
- metadata?: RoleMetadata;
163
- permission: string[];
164
- sort?: number;
165
- }
166
- /**
167
- * 权限结构
168
- */
169
- export interface PermissionItem {
170
- name: MultiLanguage;
171
- code: string;
172
- }
173
- export interface AvailablePermissions {
174
- [key: string]: PermissionItem[];
175
- }