@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,31 +0,0 @@
1
- import 'dayjs/locale/zh-cn';
2
- import 'dayjs/locale/en';
3
- import 'dayjs/locale/zh-tw';
4
- /**
5
- * @title: 是否英文
6
- * @description:
7
- * @param {any} item
8
- * @return {*}
9
- * @Author: WangHan
10
- * @Date: 2024-12-28 22:49
11
- */
12
- export declare const isEn: (item: any) => boolean;
13
- /**
14
- * @title: 跨日预约时间
15
- * @description:
16
- * @param {any} item
17
- * @return {*}
18
- * @Author: WangHan
19
- * @Date: 2024-12-28 22:50
20
- */
21
- export declare const formatMultiDayDate: (item: any) => string;
22
- /**
23
- * @title: 格式化服务的 开始时间-结束时间-时长, 用于展示
24
- * @description:
25
- * @param {any} item
26
- * @param {any} currentDate
27
- * @return {*}
28
- * @Author: zhiwei.Wang
29
- * @Date: 2024-04-26 14:04
30
- */
31
- export declare const getServiceTime: (item: any, currentDate: any, utils: any) => string;
@@ -1,48 +0,0 @@
1
- interface ScheduleTextResult {
2
- validityTexts: string[];
3
- excluded_date: string[];
4
- included_date: string[];
5
- }
6
- declare type Locale = 'en' | 'zh-CN' | 'zh-HK';
7
- interface ScheduleItem {
8
- id: number;
9
- name: string | {
10
- [key: string]: string;
11
- };
12
- type: 'standard' | 'time-slots' | 'designation';
13
- start_time: string | null;
14
- end_time: string | null;
15
- repeat_type: 'none' | 'daily' | 'weekly';
16
- repeat_rule: {
17
- end: {
18
- type: 'never' | 'date' | 'occurrence';
19
- end_date: string | null;
20
- occurrence: number | null;
21
- };
22
- frequency: number;
23
- excluded_date: Array<{
24
- start: string;
25
- end: string;
26
- }>;
27
- included_date: any[];
28
- frequency_date: number[];
29
- } | null;
30
- designation: Array<{
31
- start_date: string;
32
- start_time: string;
33
- end_date: string;
34
- end_time: string;
35
- }> | null;
36
- is_all: number;
37
- time_slot: Array<{
38
- start_time: string;
39
- end_time: string;
40
- }>;
41
- }
42
- /**
43
- * 根据scheduleList格式化文案展示
44
- * @param scheduleList 日程列表
45
- * @returns 格式化后的文案结果数组,每个日程对应一个结果
46
- */
47
- export declare function formatScheduleText(scheduleList: ScheduleItem[], locale?: Locale): ScheduleTextResult[];
48
- export {};
@@ -1,27 +0,0 @@
1
- declare const _default: {
2
- en: {
3
- 'page.wallet.guide.title': string;
4
- 'page.wallet.guide.subtitle': string;
5
- 'page.wallet.guide.button': string;
6
- 'page.wallet.tempHolderSelector.title': string;
7
- 'page.wallet.tempHolderSelector.create': string;
8
- 'page.wallet.tempHolderSelector.confirm': string;
9
- };
10
- 'zh-CN': {
11
- 'page.wallet.guide.title': string;
12
- 'page.wallet.guide.subtitle': string;
13
- 'page.wallet.guide.button': string;
14
- 'page.wallet.tempHolderSelector.title': string;
15
- 'page.wallet.tempHolderSelector.create': string;
16
- 'page.wallet.tempHolderSelector.confirm': string;
17
- };
18
- 'zh-HK': {
19
- 'page.wallet.guide.title': string;
20
- 'page.wallet.guide.subtitle': string;
21
- 'page.wallet.guide.button': string;
22
- 'page.wallet.tempHolderSelector.title': string;
23
- 'page.wallet.tempHolderSelector.create': string;
24
- 'page.wallet.tempHolderSelector.confirm': string;
25
- };
26
- };
27
- export default _default;
@@ -1,194 +0,0 @@
1
- import React from 'react';
2
- export interface MultiLanguageName {
3
- original: string;
4
- 'zh-CN': string;
5
- 'zh-HK': string;
6
- en: string;
7
- [key: string]: string;
8
- }
9
- declare type WalletPassType = 'rechargeable' | 'point' | 'voucher' | 'discount';
10
- export interface WalletMetadata {
11
- name: MultiLanguageName;
12
- welcomeText?: string | MultiLanguageName;
13
- customerName?: string;
14
- coverImage?: string;
15
- icon?: string;
16
- showcaseWalletPassNew?: Array<{
17
- type: WalletPassType;
18
- custom_title?: string | MultiLanguageName;
19
- display?: 0 | 1;
20
- }>;
21
- }
22
- export interface Shop {
23
- id: number;
24
- name: string;
25
- default_url: string;
26
- }
27
- export interface Wallet {
28
- id: string | null;
29
- shop_id: string | null;
30
- shop?: Shop;
31
- status: string | null;
32
- name: MultiLanguageName;
33
- valid_for: {
34
- type: string;
35
- unit?: string;
36
- unit_type?: string;
37
- custom_date?: string;
38
- };
39
- metadata: WalletMetadata;
40
- created_at: string | null;
41
- }
42
- export interface WalletPass {
43
- id: string | null;
44
- shop_id: string | null;
45
- code: string;
46
- status: string | null;
47
- wallet_id: string | null;
48
- customer_id: string | null;
49
- expired_at: string | null;
50
- created_at: string;
51
- shop: Shop;
52
- wallet: Wallet;
53
- icon?: string;
54
- isLogin?: boolean;
55
- showIcon?: boolean;
56
- }
57
- export interface WalletBalance {
58
- gift_card_balance: number;
59
- point_card_balance: number;
60
- voucher_count: number;
61
- discount_card_count: number;
62
- }
63
- export interface WalletCardItem {
64
- type: WalletPassType;
65
- custom_title?: string | MultiLanguageName;
66
- display: 0 | 1;
67
- value?: number;
68
- }
69
- export interface State {
70
- list: WalletPass[];
71
- balance: WalletBalance | null;
72
- loading: boolean;
73
- error: Error | null;
74
- authError?: boolean;
75
- hasAttempted: boolean;
76
- isLoggedIn?: boolean;
77
- }
78
- export interface Action {
79
- type: string;
80
- payload: Partial<State>;
81
- }
82
- export interface Balance {
83
- gift_card_balance: number;
84
- point_card_balance: number;
85
- voucher_count: number;
86
- discount_card_count: number;
87
- }
88
- export interface IWallList {
89
- tag?: string;
90
- sales_status?: string;
91
- machine_search?: string;
92
- createdDate?: string;
93
- limit_status?: string;
94
- relation_id?: string;
95
- relation_type?: string;
96
- customer_id?: string;
97
- sort?: string;
98
- order_by?: string;
99
- used_status?: string;
100
- num?: number;
101
- skip?: number;
102
- }
103
- export interface WalletListProps {
104
- globalState?: {
105
- platform?: 'pc' | 'h5' | 'ipad';
106
- mode?: 'dark' | 'light';
107
- cardStyle?: 'normal' | 'full';
108
- codeType?: 'barCode' | 'qrCode';
109
- codeDirection?: 'bottom' | 'top';
110
- shopName?: boolean;
111
- showWalletName?: boolean;
112
- showShopName?: boolean;
113
- cardNo?: string;
114
- showCardNo?: boolean;
115
- showCode?: boolean;
116
- points?: boolean;
117
- balance?: boolean;
118
- coupon?: boolean;
119
- pointsValue?: number;
120
- balanceValue?: number;
121
- couponValue?: number;
122
- symbol?: string;
123
- showIcon?: boolean;
124
- iconImg?: string;
125
- customBackgroundImage?: string;
126
- walletName?: string;
127
- };
128
- }
129
- export interface WalletCardProps {
130
- platform?: 'pc' | 'h5' | 'ipad';
131
- mode?: 'dark' | 'light';
132
- cardStyle?: 'normal' | 'full';
133
- codeType?: 'barCode' | 'qrCode';
134
- codeDirection?: 'bottom' | 'top';
135
- shopName?: boolean;
136
- showIcon?: boolean;
137
- iconImg?: string;
138
- showWalletName?: boolean;
139
- showShopName?: boolean;
140
- cardNo?: string;
141
- showCardNo?: boolean;
142
- showCode?: boolean;
143
- points?: boolean;
144
- balance?: boolean;
145
- coupon?: boolean;
146
- pointsValue?: number;
147
- balanceValue?: number;
148
- couponValue?: number;
149
- isLogin?: boolean;
150
- items: WalletCardItem[];
151
- }
152
- export interface DivProps extends React.HTMLAttributes<HTMLDivElement> {
153
- children?: React.ReactNode;
154
- }
155
- export interface WalletListContextType {
156
- state: State;
157
- dispatch: React.Dispatch<Action>;
158
- }
159
- export declare const DEFAULT_CARD_CONFIG: {
160
- readonly mode: "light";
161
- readonly cardStyle: "normal";
162
- readonly codeDirection: "bottom";
163
- readonly showShopName: true;
164
- readonly showWalletName: true;
165
- readonly showIcon: true;
166
- readonly iconImg: "";
167
- readonly showCardNo: true;
168
- readonly showCode: true;
169
- readonly points: true;
170
- readonly balance: true;
171
- readonly coupon: true;
172
- };
173
- export interface CarouselSettings {
174
- className: string;
175
- arrows: boolean;
176
- infinite: boolean;
177
- slidesToShow: number;
178
- slidesToScroll: number;
179
- centerMode: boolean;
180
- centerPadding: string;
181
- autoplay: boolean;
182
- autoplaySpeed: number;
183
- dots: boolean;
184
- appendDots?: (dots: React.ReactNode) => React.ReactNode;
185
- responsive?: Array<{
186
- breakpoint: number;
187
- settings: {
188
- slidesToShow: number;
189
- slidesToScroll: number;
190
- centerPadding: string;
191
- };
192
- }>;
193
- }
194
- export {};
@@ -1,11 +0,0 @@
1
- declare type IEngineContext = {
2
- appHelper: any;
3
- engine: any;
4
- blockContext: any;
5
- components: any;
6
- pageContext: any;
7
- };
8
- declare const useEngineContext: () => IEngineContext;
9
- export declare const usePisellOS: () => any;
10
- export declare const usePlatform: () => any;
11
- export default useEngineContext;
@@ -1,5 +0,0 @@
1
- interface UseWindowSizeOptions {
2
- debounceMs?: number;
3
- }
4
- export declare const useWindowSize: (options?: UseWindowSizeOptions) => void;
5
- export {};
@@ -1,18 +0,0 @@
1
- declare const _default: {
2
- en: {
3
- 'pisell2.text.add-client': string;
4
- 'pisell2.text.change-client': string;
5
- 'pisell2.text.remove-client': string;
6
- };
7
- 'zh-CN': {
8
- 'pisell2.text.add-client': string;
9
- 'pisell2.text.change-client': string;
10
- 'pisell2.text.remove-client': string;
11
- };
12
- 'zh-HK': {
13
- 'pisell2.text.add-client': string;
14
- 'pisell2.text.change-client': string;
15
- 'pisell2.text.remove-client': string;
16
- };
17
- };
18
- export default _default;
@@ -1,108 +0,0 @@
1
- declare const _default: {
2
- en: {
3
- 'pisell2.text.leave-empty-for-walk-in': string;
4
- 'pisell2.text.date-year-text': string;
5
- 'pisell2.text.date-month-text': string;
6
- 'pisell2.text.date-day-text': string;
7
- 'pisell2.text.gender': string;
8
- 'pisell2.text.gender.male': string;
9
- 'pisell2.text.gender.female': string;
10
- 'pisell2.text.birthday': string;
11
- 'pisell2.text.phone': string;
12
- 'pisell2.text.email': string;
13
- 'pisell2.text.lastname': string;
14
- 'pisell2.text.firstname': string;
15
- 'pisell2.text.email-error-message': string;
16
- 'pisell2.text.notes': string;
17
- 'pisell2.text.save': string;
18
- 'pisell2.text.save-and-select': string;
19
- 'pisell2.text.no-results-found': string;
20
- 'pisell2.text.create-new-client': string;
21
- 'pisell2.text.result-found': string;
22
- 'pisell2.text.personnel-list': string;
23
- 'pisell2.text.load-more': string;
24
- 'pisell2.text.add-client.confirm': string;
25
- 'pisell2.text.search-customer-by-phone-number': string;
26
- 'pisell2.text.create': string;
27
- 'pisell2.text.loading': string;
28
- 'pisell2.text.no-more-data': string;
29
- 'pisell2.text.client-search.name': string;
30
- 'pisell2.text.client-search.register-time': string;
31
- 'pisell2.text.client-search.phone': string;
32
- 'pisell2.text.client-search.email': string;
33
- 'pisell2.text.client-search.membership': string;
34
- 'pisell2.text.client-search.contact-info': string;
35
- 'pisell2.text.client-search.holder': string;
36
- };
37
- 'zh-CN': {
38
- 'pisell2.text.leave-empty-for-walk-in': string;
39
- 'pisell2.text.date-year-text': string;
40
- 'pisell2.text.date-month-text': string;
41
- 'pisell2.text.date-day-text': string;
42
- 'pisell2.text.gender': string;
43
- 'pisell2.text.gender.male': string;
44
- 'pisell2.text.gender.female': string;
45
- 'pisell2.text.birthday': string;
46
- 'pisell2.text.phone': string;
47
- 'pisell2.text.email': string;
48
- 'pisell2.text.lastname': string;
49
- 'pisell2.text.firstname': string;
50
- 'pisell2.text.email-error-message': string;
51
- 'pisell2.text.notes': string;
52
- 'pisell2.text.save': string;
53
- 'pisell2.text.save-and-select': string;
54
- 'pisell2.text.no-results-found': string;
55
- 'pisell2.text.create-new-client': string;
56
- 'pisell2.text.result-found': string;
57
- 'pisell2.text.personnel-list': string;
58
- 'pisell2.text.add-client.confirm': string;
59
- 'pisell2.text.load-more': string;
60
- 'pisell2.text.search-customer-by-phone-number': string;
61
- 'pisell2.text.create': string;
62
- 'pisell2.text.loading': string;
63
- 'pisell2.text.no-more-data': string;
64
- 'pisell2.text.client-search.name': string;
65
- 'pisell2.text.client-search.register-time': string;
66
- 'pisell2.text.client-search.phone': string;
67
- 'pisell2.text.client-search.email': string;
68
- 'pisell2.text.client-search.membership': string;
69
- 'pisell2.text.client-search.contact-info': string;
70
- 'pisell2.text.client-search.holder': string;
71
- };
72
- 'zh-HK': {
73
- 'pisell2.text.leave-empty-for-walk-in': string;
74
- 'pisell2.text.date-year-text': string;
75
- 'pisell2.text.date-month-text': string;
76
- 'pisell2.text.date-day-text': string;
77
- 'pisell2.text.gender': string;
78
- 'pisell2.text.gender.male': string;
79
- 'pisell2.text.gender.female': string;
80
- 'pisell2.text.birthday': string;
81
- 'pisell2.text.phone': string;
82
- 'pisell2.text.email': string;
83
- 'pisell2.text.lastname': string;
84
- 'pisell2.text.firstname': string;
85
- 'pisell2.text.email-error-message': string;
86
- 'pisell2.text.notes': string;
87
- 'pisell2.text.save': string;
88
- 'pisell2.text.save-and-select': string;
89
- 'pisell2.text.no-results-found': string;
90
- 'pisell2.text.create-new-client': string;
91
- 'pisell2.text.result-found': string;
92
- 'pisell2.text.personnel-list': string;
93
- 'pisell2.text.add-client.confirm': string;
94
- 'pisell2.text.load-more': string;
95
- 'pisell2.text.search-customer-by-phone-number': string;
96
- 'pisell2.text.create': string;
97
- 'pisell2.text.loading': string;
98
- 'pisell2.text.no-more-data': string;
99
- 'pisell2.text.client-search.name': string;
100
- 'pisell2.text.client-search.register-time': string;
101
- 'pisell2.text.client-search.phone': string;
102
- 'pisell2.text.client-search.email': string;
103
- 'pisell2.text.client-search.membership': string;
104
- 'pisell2.text.client-search.contact-info': string;
105
- 'pisell2.text.client-search.holder': string;
106
- };
107
- };
108
- export default _default;
@@ -1,15 +0,0 @@
1
- declare const _default: {
2
- en: {
3
- 'pisell2.text.contact-info.placeholder': string;
4
- 'pisell2.text.contact-info.actions.delete': string;
5
- };
6
- 'zh-CN': {
7
- 'pisell2.text.contact-info.placeholder': string;
8
- 'pisell2.text.contact-info.actions.delete': string;
9
- };
10
- 'zh-HK': {
11
- 'pisell2.text.contact-info.placeholder': string;
12
- 'pisell2.text.contact-info.actions.delete': string;
13
- };
14
- };
15
- export default _default;
@@ -1,66 +0,0 @@
1
- declare const _default: {
2
- en: {
3
- 'pisell2.text.button.save': string;
4
- 'pisell2.text.button.delete': string;
5
- 'pisell2.text.button.cancel': string;
6
- 'pisell2.text.contact-info.actions.delete': string;
7
- 'pisell2.text.contact-info.modal.title': string;
8
- 'pisell2.text.contact-info.modal.first-name': string;
9
- 'pisell2.text.contact-info.modal.first-name-placeholder': string;
10
- 'pisell2.text.contact-info.modal.first-name-required': string;
11
- 'pisell2.text.contact-info.modal.last-name': string;
12
- 'pisell2.text.contact-info.modal.last-name-placeholder': string;
13
- 'pisell2.text.contact-info.modal.last-name-required': string;
14
- 'pisell2.text.contact-info.modal.mobile': string;
15
- 'pisell2.text.contact-info.modal.mobile-placeholder': string;
16
- 'pisell2.text.contact-info.modal.mobile-required': string;
17
- 'pisell2.text.contact-info.modal.mobile-error': string;
18
- 'pisell2.text.contact-info.modal.email': string;
19
- 'pisell2.text.contact-info.modal.email-placeholder': string;
20
- 'pisell2.text.contact-info.modal.email-required': string;
21
- 'pisell2.text.contact-info.modal.email-error': string;
22
- };
23
- 'zh-CN': {
24
- 'pisell2.text.button.save': string;
25
- 'pisell2.text.button.delete': string;
26
- 'pisell2.text.button.cancel': string;
27
- 'pisell2.text.contact-info.actions.delete': string;
28
- 'pisell2.text.contact-info.modal.title': string;
29
- 'pisell2.text.contact-info.modal.first-name': string;
30
- 'pisell2.text.contact-info.modal.first-name-placeholder': string;
31
- 'pisell2.text.contact-info.modal.first-name-required': string;
32
- 'pisell2.text.contact-info.modal.last-name': string;
33
- 'pisell2.text.contact-info.modal.last-name-placeholder': string;
34
- 'pisell2.text.contact-info.modal.last-name-required': string;
35
- 'pisell2.text.contact-info.modal.mobile': string;
36
- 'pisell2.text.contact-info.modal.mobile-placeholder': string;
37
- 'pisell2.text.contact-info.modal.mobile-required': string;
38
- 'pisell2.text.contact-info.modal.mobile-error': string;
39
- 'pisell2.text.contact-info.modal.email': string;
40
- 'pisell2.text.contact-info.modal.email-placeholder': string;
41
- 'pisell2.text.contact-info.modal.email-required': string;
42
- 'pisell2.text.contact-info.modal.email-error': string;
43
- };
44
- 'zh-HK': {
45
- 'pisell2.text.button.save': string;
46
- 'pisell2.text.button.delete': string;
47
- 'pisell2.text.button.cancel': string;
48
- 'pisell2.text.contact-info.actions.delete': string;
49
- 'pisell2.text.contact-info.modal.title': string;
50
- 'pisell2.text.contact-info.modal.first-name': string;
51
- 'pisell2.text.contact-info.modal.first-name-placeholder': string;
52
- 'pisell2.text.contact-info.modal.first-name-required': string;
53
- 'pisell2.text.contact-info.modal.last-name': string;
54
- 'pisell2.text.contact-info.modal.last-name-placeholder': string;
55
- 'pisell2.text.contact-info.modal.last-name-required': string;
56
- 'pisell2.text.contact-info.modal.mobile': string;
57
- 'pisell2.text.contact-info.modal.mobile-placeholder': string;
58
- 'pisell2.text.contact-info.modal.mobile-required': string;
59
- 'pisell2.text.contact-info.modal.mobile-error': string;
60
- 'pisell2.text.contact-info.modal.email': string;
61
- 'pisell2.text.contact-info.modal.email-placeholder': string;
62
- 'pisell2.text.contact-info.modal.email-required': string;
63
- 'pisell2.text.contact-info.modal.email-error': string;
64
- };
65
- };
66
- export default _default;
@@ -1,18 +0,0 @@
1
- declare const _default: {
2
- en: {
3
- 'pisell2.product-select.search': string;
4
- 'pisell2.product-select.stock': string;
5
- 'pisell2.product-select.empty': string;
6
- };
7
- 'zh-CN': {
8
- 'pisell2.product-select.search': string;
9
- 'pisell2.product-select.stock': string;
10
- 'pisell2.product-select.empty': string;
11
- };
12
- 'zh-HK': {
13
- 'pisell2.product-select.search': string;
14
- 'pisell2.product-select.stock': string;
15
- 'pisell2.product-select.empty': string;
16
- };
17
- };
18
- export default _default;