@pisell/private-materials 6.3.31 → 6.3.33

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 (261) 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 +151 -146
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +1 -1
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +8 -8
  11. package/es/components/Sales/Summary/utils.d.ts +1 -1
  12. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +3 -0
  13. package/es/components/appointmentBooking/components/ConfirmInformation/index.d.ts +4 -0
  14. package/es/components/appointmentBooking/components/Services/index.d.ts +4 -0
  15. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +3 -0
  16. package/es/components/appointmentBooking/hooks.d.ts +107 -0
  17. package/es/components/appointmentBooking/locales.d.ts +363 -0
  18. package/es/components/booking/addons/model.d.ts +1 -10
  19. package/es/components/booking/components/TabProduct/index.d.ts +0 -1
  20. package/es/components/booking/components/footer/index.d.ts +0 -1
  21. package/es/components/booking/components/footer/utils.d.ts +41 -0
  22. package/es/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  23. package/es/components/booking/components/reloadResourceModal/index.d.ts +8 -0
  24. package/es/components/booking/components/voucher/index.d.ts +3 -0
  25. package/es/components/booking/forms/model.d.ts +1 -10
  26. package/es/components/booking/forms/table/index.d.ts +0 -1
  27. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +43 -0
  28. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  29. package/es/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
  30. package/es/components/booking/info/main.d.ts +12 -0
  31. package/es/components/booking/info/model.d.ts +5 -0
  32. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  33. package/es/components/booking/info/service/editService/constants.d.ts +1 -0
  34. package/es/components/booking/info/service/editService/index.d.ts +7 -0
  35. package/es/components/booking/info/service/like/index.d.ts +0 -1
  36. package/es/components/booking/info/service2/utils.d.ts +1 -1
  37. package/es/components/booking/info2/index.d.ts +12 -0
  38. package/es/components/booking/info2/service/addService/index.d.ts +11 -0
  39. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  40. package/es/components/booking/info2/service/contactInfoMode/index.d.ts +2 -0
  41. package/es/components/booking/info2/service/contactInfoMode/index.js +1 -0
  42. package/es/components/booking/locales.d.ts +840 -0
  43. package/es/components/booking/model.d.ts +112 -0
  44. package/es/components/booking/notes/model.d.ts +1 -10
  45. package/es/components/booking/payments/model.d.ts +1 -10
  46. package/es/components/booking/utils.d.ts +2 -2
  47. package/es/components/eftpos/deviceList/index.d.ts +0 -1
  48. package/es/components/eftpos/form/index.d.ts +0 -1
  49. package/es/components/eftpos/group/index.d.ts +0 -1
  50. package/es/components/eftpos/hooks.d.ts +0 -1
  51. package/es/components/eftpos/icon/apiKey.d.ts +0 -1
  52. package/es/components/eftpos/icon/device.d.ts +0 -1
  53. package/es/components/eftpos/receipt/index.d.ts +0 -1
  54. package/es/components/eftposPay/amount.d.ts +1 -1
  55. package/es/components/eftposPay/component/alert/warn.d.ts +0 -1
  56. package/es/components/eftposPay/component/fail/index.d.ts +3 -0
  57. package/es/components/eftposPay/component/header/titlebar.d.ts +0 -1
  58. package/es/components/eftposPay/component/step/index.d.ts +0 -1
  59. package/es/components/eftposPay/component/step/step.d.ts +0 -1
  60. package/es/components/eftposPay/device.d.ts +1 -1
  61. package/es/components/eftposPay/hooks.d.ts +2 -2
  62. package/es/components/eftposPay/store/index.d.ts +6 -6
  63. package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
  64. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  65. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  66. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  67. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  68. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  69. package/es/components/index.d.ts +22 -0
  70. package/es/components/pay/toC/PaymentMethods/ApplePay/index.d.ts +10 -0
  71. package/es/components/pay/toC/PaymentMethods/GooglePay/index.d.ts +9 -0
  72. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  73. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  74. package/es/components/pay/toC/PaymentMethods/index.d.ts +9 -0
  75. package/es/components/pay/toC/model.d.ts +1 -9
  76. package/es/components/productExtension/fields/Actor/index.d.ts +0 -1
  77. package/es/components/productExtension/fields/Forms/index.d.ts +0 -1
  78. package/es/components/ruleSetting/locales.d.ts +48 -0
  79. package/es/components/schedules/calendar/calendarItem.d.ts +0 -1
  80. package/es/components/schedules/model.d.ts +1 -9
  81. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  82. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  83. package/es/components/schedules/resources/relationProduct/index.d.ts +0 -1
  84. package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
  85. package/es/components/shoppingCart/components/Render/index.d.ts +0 -1
  86. package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +9 -0
  87. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +4 -0
  88. package/es/components/ticketBooking/components/ticketBooking/index.less +2 -1
  89. package/es/components/ticketBooking/components/timeBar/index.d.ts +12 -0
  90. package/es/components/ticketBooking/index.d.ts +7 -0
  91. package/es/components/wallet/Detail/model.d.ts +1 -13
  92. package/es/components/wallet/DiscountCard/model.d.ts +1 -14
  93. package/es/components/wallet/PointCard/model.d.ts +1 -13
  94. package/es/components/wallet/RechargeableCard/model.d.ts +1 -29
  95. package/es/components/wallet/Voucher/model.d.ts +1 -13
  96. package/es/components/wallet/model.d.ts +1 -9
  97. package/es/plus/clientName/index.d.ts +4 -0
  98. package/es/plus/clientName/type.d.ts +13 -0
  99. package/es/plus/clientName/utils.d.ts +2 -0
  100. package/es/plus/contactInfo/components/Avatar/index.d.ts +10 -0
  101. package/es/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
  102. package/es/plus/contactInfo/index.d.ts +6 -0
  103. package/es/plus/contactInfo/locales.d.ts +15 -0
  104. package/es/plus/contactInfo/types.d.ts +91 -0
  105. package/es/plus/contactInfo/utils.d.ts +7 -0
  106. package/es/plus/contactInfoModal/ContactInfoContent.d.ts +3 -0
  107. package/es/plus/contactInfoModal/index.d.ts +40 -0
  108. package/es/plus/contactInfoModal/locales.d.ts +66 -0
  109. package/es/plus/productSelect/ProductCard/index.d.ts +47 -0
  110. package/es/plus/productSelect/index.d.ts +32 -0
  111. package/es/pro/Login2.0/AuthModal.js +14 -8
  112. package/es/pro/Login2.0/Login2.js +55 -35
  113. package/es/pro/Login2.0/Register2.js +1 -1
  114. package/es/pro/Login2.0/components/ForgotPasswordFlow.d.ts +31 -0
  115. package/es/pro/Login2.0/components/LoginCodeInput.d.ts +27 -0
  116. package/es/pro/Login2.0/components/OAuthButtonGroup.d.ts +22 -0
  117. package/es/pro/Login2.0/components/PhoneInput.d.ts +53 -0
  118. package/es/pro/Login2.0/components/phoneValidation.d.ts +17 -0
  119. package/es/pro/Login2.0/components/phoneValidation.js +1 -1
  120. package/es/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +24 -0
  121. package/es/pro/Login2.0/index.less +11 -2
  122. package/es/pro/Login2.0/locales.d.ts +543 -0
  123. package/es/pro/Login2.0/locales.js +19 -19
  124. package/es/pro/Login2.0/shared/registerFlow.d.ts +116 -0
  125. package/es/pro/Login2.0/steps/CodeInput.d.ts +24 -0
  126. package/es/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +12 -0
  127. package/es/pro/Login2.0/steps/EmailLinkAlreadyUsed.d.ts +7 -0
  128. package/es/pro/Login2.0/steps/EmailLinkExpired.d.ts +9 -0
  129. package/es/pro/Login2.0/steps/SetPassword.d.ts +19 -0
  130. package/es/pro/Login2.0/steps/SetPassword.js +7 -7
  131. package/es/pro/Login2.0/steps/VerificationSuccess.d.ts +8 -0
  132. package/es/pro/Login2.0/steps/VerifyingEmailLink.d.ts +7 -0
  133. package/es/pro/Login2.0/steps/WaitEmailLink.d.ts +18 -0
  134. package/es/pro/Login2.0/steps/index.d.ts +19 -0
  135. package/es/pro/Login2.0/types.d.ts +167 -0
  136. package/lib/components/Sales/Summary/utils.d.ts +1 -1
  137. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +3 -0
  138. package/lib/components/appointmentBooking/components/ConfirmInformation/index.d.ts +4 -0
  139. package/lib/components/appointmentBooking/components/Services/index.d.ts +4 -0
  140. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +3 -0
  141. package/lib/components/appointmentBooking/hooks.d.ts +107 -0
  142. package/lib/components/appointmentBooking/locales.d.ts +363 -0
  143. package/lib/components/booking/addons/model.d.ts +1 -10
  144. package/lib/components/booking/components/TabProduct/index.d.ts +0 -1
  145. package/lib/components/booking/components/footer/index.d.ts +0 -1
  146. package/lib/components/booking/components/footer/utils.d.ts +41 -0
  147. package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  148. package/lib/components/booking/components/reloadResourceModal/index.d.ts +8 -0
  149. package/lib/components/booking/components/voucher/index.d.ts +3 -0
  150. package/lib/components/booking/forms/model.d.ts +1 -10
  151. package/lib/components/booking/forms/table/index.d.ts +0 -1
  152. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +43 -0
  153. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  154. package/lib/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
  155. package/lib/components/booking/info/main.d.ts +12 -0
  156. package/lib/components/booking/info/model.d.ts +5 -0
  157. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  158. package/lib/components/booking/info/service/editService/constants.d.ts +1 -0
  159. package/lib/components/booking/info/service/editService/index.d.ts +7 -0
  160. package/lib/components/booking/info/service/like/index.d.ts +0 -1
  161. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  162. package/lib/components/booking/info2/index.d.ts +12 -0
  163. package/lib/components/booking/info2/service/addService/index.d.ts +11 -0
  164. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  165. package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +2 -0
  166. package/lib/components/booking/info2/service/contactInfoMode/index.js +8 -1
  167. package/lib/components/booking/locales.d.ts +840 -0
  168. package/lib/components/booking/model.d.ts +112 -0
  169. package/lib/components/booking/notes/model.d.ts +1 -10
  170. package/lib/components/booking/payments/model.d.ts +1 -10
  171. package/lib/components/booking/utils.d.ts +2 -2
  172. package/lib/components/eftpos/deviceList/index.d.ts +0 -1
  173. package/lib/components/eftpos/form/index.d.ts +0 -1
  174. package/lib/components/eftpos/group/index.d.ts +0 -1
  175. package/lib/components/eftpos/hooks.d.ts +0 -1
  176. package/lib/components/eftpos/icon/apiKey.d.ts +0 -1
  177. package/lib/components/eftpos/icon/device.d.ts +0 -1
  178. package/lib/components/eftpos/receipt/index.d.ts +0 -1
  179. package/lib/components/eftposPay/amount.d.ts +1 -1
  180. package/lib/components/eftposPay/component/alert/warn.d.ts +0 -1
  181. package/lib/components/eftposPay/component/fail/index.d.ts +3 -0
  182. package/lib/components/eftposPay/component/header/titlebar.d.ts +0 -1
  183. package/lib/components/eftposPay/component/step/index.d.ts +0 -1
  184. package/lib/components/eftposPay/component/step/step.d.ts +0 -1
  185. package/lib/components/eftposPay/device.d.ts +1 -1
  186. package/lib/components/eftposPay/hooks.d.ts +2 -2
  187. package/lib/components/eftposPay/store/index.d.ts +6 -6
  188. package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
  189. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  190. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  191. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  192. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  193. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  194. package/lib/components/index.d.ts +22 -0
  195. package/lib/components/pay/toC/PaymentMethods/ApplePay/index.d.ts +10 -0
  196. package/lib/components/pay/toC/PaymentMethods/GooglePay/index.d.ts +9 -0
  197. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  198. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  199. package/lib/components/pay/toC/PaymentMethods/index.d.ts +9 -0
  200. package/lib/components/pay/toC/model.d.ts +1 -9
  201. package/lib/components/productExtension/fields/Actor/index.d.ts +0 -1
  202. package/lib/components/productExtension/fields/Forms/index.d.ts +0 -1
  203. package/lib/components/ruleSetting/locales.d.ts +48 -0
  204. package/lib/components/schedules/calendar/calendarItem.d.ts +0 -1
  205. package/lib/components/schedules/model.d.ts +1 -9
  206. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  207. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  208. package/lib/components/schedules/resources/relationProduct/index.d.ts +0 -1
  209. package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
  210. package/lib/components/shoppingCart/components/Render/index.d.ts +0 -1
  211. package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +9 -0
  212. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +4 -0
  213. package/lib/components/ticketBooking/components/ticketBooking/index.less +2 -1
  214. package/lib/components/ticketBooking/components/timeBar/index.d.ts +12 -0
  215. package/lib/components/ticketBooking/index.d.ts +7 -0
  216. package/lib/components/wallet/Detail/model.d.ts +1 -13
  217. package/lib/components/wallet/DiscountCard/model.d.ts +1 -14
  218. package/lib/components/wallet/PointCard/model.d.ts +1 -13
  219. package/lib/components/wallet/RechargeableCard/model.d.ts +1 -29
  220. package/lib/components/wallet/Voucher/model.d.ts +1 -13
  221. package/lib/components/wallet/model.d.ts +1 -9
  222. package/lib/plus/clientName/index.d.ts +4 -0
  223. package/lib/plus/clientName/type.d.ts +13 -0
  224. package/lib/plus/clientName/utils.d.ts +2 -0
  225. package/lib/plus/contactInfo/components/Avatar/index.d.ts +10 -0
  226. package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
  227. package/lib/plus/contactInfo/index.d.ts +6 -0
  228. package/lib/plus/contactInfo/locales.d.ts +15 -0
  229. package/lib/plus/contactInfo/types.d.ts +91 -0
  230. package/lib/plus/contactInfo/utils.d.ts +7 -0
  231. package/lib/plus/contactInfoModal/ContactInfoContent.d.ts +3 -0
  232. package/lib/plus/contactInfoModal/index.d.ts +40 -0
  233. package/lib/plus/contactInfoModal/locales.d.ts +66 -0
  234. package/lib/plus/productSelect/ProductCard/index.d.ts +47 -0
  235. package/lib/plus/productSelect/index.d.ts +32 -0
  236. package/lib/pro/Login2.0/AuthModal.js +16 -11
  237. package/lib/pro/Login2.0/Login2.js +18 -11
  238. package/lib/pro/Login2.0/Register2.js +1 -1
  239. package/lib/pro/Login2.0/components/ForgotPasswordFlow.d.ts +31 -0
  240. package/lib/pro/Login2.0/components/LoginCodeInput.d.ts +27 -0
  241. package/lib/pro/Login2.0/components/OAuthButtonGroup.d.ts +22 -0
  242. package/lib/pro/Login2.0/components/PhoneInput.d.ts +53 -0
  243. package/lib/pro/Login2.0/components/phoneValidation.d.ts +17 -0
  244. package/lib/pro/Login2.0/components/phoneValidation.js +1 -1
  245. package/lib/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +24 -0
  246. package/lib/pro/Login2.0/index.less +11 -2
  247. package/lib/pro/Login2.0/locales.d.ts +543 -0
  248. package/lib/pro/Login2.0/locales.js +19 -19
  249. package/lib/pro/Login2.0/shared/registerFlow.d.ts +116 -0
  250. package/lib/pro/Login2.0/steps/CodeInput.d.ts +24 -0
  251. package/lib/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +12 -0
  252. package/lib/pro/Login2.0/steps/EmailLinkAlreadyUsed.d.ts +7 -0
  253. package/lib/pro/Login2.0/steps/EmailLinkExpired.d.ts +9 -0
  254. package/lib/pro/Login2.0/steps/SetPassword.d.ts +19 -0
  255. package/lib/pro/Login2.0/steps/SetPassword.js +7 -7
  256. package/lib/pro/Login2.0/steps/VerificationSuccess.d.ts +8 -0
  257. package/lib/pro/Login2.0/steps/VerifyingEmailLink.d.ts +7 -0
  258. package/lib/pro/Login2.0/steps/WaitEmailLink.d.ts +18 -0
  259. package/lib/pro/Login2.0/steps/index.d.ts +19 -0
  260. package/lib/pro/Login2.0/types.d.ts +167 -0
  261. package/package.json +4 -4
@@ -0,0 +1,112 @@
1
+ export interface FormState {
2
+ amountSymbol: string;
3
+ apis: {
4
+ getClients: (par?: any) => any;
5
+ getClientsEs: (par?: any) => any;
6
+ getServices: (par?: any) => any;
7
+ getResources: (par?: any) => any;
8
+ getProducts: (par?: any) => any;
9
+ getPets: (par?: any) => any;
10
+ getForms: (par?: any) => any;
11
+ getFormData: (par?: any) => any;
12
+ getAddonsByOrderId: (par?: any) => any;
13
+ saveAddonsByOrderId: (par?: any) => any;
14
+ getNotesByOrder: (par?: any) => any;
15
+ saveBookingFormData: (par?: any) => any;
16
+ getPetsData: (par?: any) => any;
17
+ };
18
+ client: {
19
+ showModal: boolean;
20
+ value: any;
21
+ clients: any[];
22
+ clientsParams: {
23
+ skip: number;
24
+ num: number;
25
+ search: string;
26
+ };
27
+ edit: boolean;
28
+ };
29
+ contacts_info: {
30
+ edit: boolean;
31
+ value: any;
32
+ };
33
+ date: {
34
+ value: any;
35
+ end_date: any;
36
+ edit: boolean;
37
+ };
38
+ service: {
39
+ addModal: boolean;
40
+ editModal: boolean;
41
+ services: any[];
42
+ resources: any[];
43
+ resourcesOrigin: any[];
44
+ reloadResourceModal: false;
45
+ value: any[];
46
+ cacheItem: any;
47
+ edit: boolean;
48
+ addTimeModal: boolean;
49
+ changeService: any;
50
+ };
51
+ pet: {
52
+ showModal: boolean;
53
+ pets: any[];
54
+ value: any[];
55
+ formData: any;
56
+ originValue: any;
57
+ edit: boolean;
58
+ };
59
+ addons: {
60
+ showModal: boolean;
61
+ value: any[];
62
+ productList: any[];
63
+ originData: any[];
64
+ edit: boolean;
65
+ };
66
+ notes: {
67
+ orderNote: string;
68
+ internalNotes: any[];
69
+ edit: boolean;
70
+ };
71
+ form: {
72
+ value: any;
73
+ forms: any[];
74
+ edit: boolean;
75
+ };
76
+ setGlobalState: () => void;
77
+ disabledEdit: boolean;
78
+ bookingConfig: any;
79
+ action: any;
80
+ bookingId: string | number;
81
+ bookingDetail: any;
82
+ channelDisabledEdit: boolean;
83
+ renderType?: 'eventBooking' | 'dayBooking';
84
+ modalOpen?: boolean;
85
+ isTerminal?: boolean;
86
+ isFranchisee?: boolean;
87
+ addTimeProducts: any[];
88
+ eventOtherParams?: {
89
+ relation_id: number;
90
+ number: number;
91
+ registration_type: 'single' | 'all' | 'extra_include';
92
+ start_date: string;
93
+ start_time: string;
94
+ end_date: string;
95
+ end_time: string;
96
+ productIds: number[];
97
+ };
98
+ disableEventBookingEdit?: boolean;
99
+ /** 关闭自动打开选择服务弹窗 */
100
+ closeAutoOpenService?: boolean;
101
+ /** 是否terminal创建booking页面 */
102
+ isBookingCreatePage?: boolean;
103
+ loading: boolean;
104
+ isTerminalDayBookingPage?: boolean;
105
+ activeCartId?: any[];
106
+ isDayBooking: boolean;
107
+ }
108
+ export declare const walkInData: {
109
+ id: number;
110
+ nickname: string;
111
+ };
112
+ export declare const Provider: any, Context: any;
@@ -1,10 +1 @@
1
- /// <reference types="react" />
2
- import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
- state: FormState;
5
- } & {
6
- dispatch: (params: {
7
- type: string;
8
- payload: any;
9
- }) => void;
10
- }>;
1
+ export declare const Provider: any, Context: any;
@@ -1,10 +1 @@
1
- /// <reference types="react" />
2
- import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
- state: FormState;
5
- } & {
6
- dispatch: (params: {
7
- type: string;
8
- payload: any;
9
- }) => void;
10
- }>;
1
+ export declare const Provider: any, Context: any;
@@ -165,10 +165,10 @@ export declare const getProductTotalPrice: (item: any) => number;
165
165
  export declare const getDuration: (duration: number | {
166
166
  type: string;
167
167
  value: number;
168
- }) => number | "flexible" | {
168
+ }) => number | {
169
169
  type: string;
170
170
  value: number;
171
- };
171
+ } | "flexible";
172
172
  export declare const isWalkIn: (customer_id?: number | string) => boolean;
173
173
  export declare const getIsEdit: (state: any) => boolean;
174
174
  export {};
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const _default: ({ input, ...formItemProps }: any) => JSX.Element;
3
2
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @title: 递归循环表单数据
4
3
  * @Author: hongbing.wang
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { RadioGroupProps } from 'antd';
3
2
  export declare const CheckboxGroup: ({ direction, options, ...props }: any) => JSX.Element;
4
3
  export declare const RadioGroup: ({ direction, options, ...props }: RadioGroupProps & {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Eftpos } from './const';
3
2
  /**
4
3
  * @title: tyro 设备连接
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: ({ color }: {
3
2
  color?: string | undefined;
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: ({ color }: {
3
2
  color?: string | undefined;
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @title: 自定义组件设置
4
3
  * @description: 自定义组件设置
@@ -8,7 +8,7 @@ import { PosProps } from './const';
8
8
  */
9
9
  declare const _default: ({ className, onChange, onClose, formatAmount, isMobile, net, client }: {
10
10
  className?: string | undefined;
11
- onChange?: ((status: "page" | "success" | "print" | "fail" | "mark_tx_processed", params?: string | {
11
+ onChange?: ((status: "success" | "page" | "fail" | "print" | "mark_tx_processed", params?: string | {
12
12
  [keys: string]: unknown;
13
13
  } | undefined, other?: any) => void) | undefined;
14
14
  onClose: () => void;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const _default: () => JSX.Element;
3
2
  export default _default;
@@ -0,0 +1,3 @@
1
+ import { ActionProps } from '../../const';
2
+ declare const _default: ({ onChange, className, isMobile }: ActionProps) => JSX.Element;
3
+ export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './titlebar.less';
3
2
  declare enum EPopupTitleBarVariantType {
4
3
  BackTitleClose = "back-title-cancel",
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { StatusType } from '../../const';
3
2
  declare const _default: (props: {
4
3
  status: StatusType;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: (props: {
3
2
  status: string;
4
3
  pedding?: string;
@@ -10,7 +10,7 @@ import './device.less';
10
10
  declare const _default: ({ api, onChange, onClose, className, device_number, isMobile, net, client, formatAmount, }: {
11
11
  api: PayProps['api'];
12
12
  className?: string | undefined;
13
- onChange?: ((status: "page" | "success" | "print" | "fail" | "mark_tx_processed", params?: string | {
13
+ onChange?: ((status: "success" | "page" | "fail" | "print" | "mark_tx_processed", params?: string | {
14
14
  [keys: string]: unknown;
15
15
  } | undefined, other?: any) => void) | undefined;
16
16
  onClose: () => void;
@@ -15,11 +15,11 @@ export declare const useStoreRef: <T extends {
15
15
  readonly numRef: React.MutableRefObject<string | number | undefined>;
16
16
  readonly orderIdRef: React.MutableRefObject<string | number>;
17
17
  readonly modeRef: React.MutableRefObject<ModeEnum>;
18
- readonly statusRef: React.MutableRefObject<"loading" | "success" | "warn" | "fail" | "pedding" | "resove" | "reject" | "question">;
18
+ readonly statusRef: React.MutableRefObject<"success" | "warn" | "loading" | "fail" | "pedding" | "resove" | "reject" | "question">;
19
19
  readonly netRef: React.MutableRefObject<boolean | undefined>;
20
20
  readonly symbolRef: React.MutableRefObject<string>;
21
21
  readonly amountRef: React.MutableRefObject<string | number>;
22
- readonly eftposRef: React.MutableRefObject<"stripe" | "payo" | "tyro" | "windcave" | "linkly">;
22
+ readonly eftposRef: React.MutableRefObject<"payo" | "tyro" | "windcave" | "stripe" | "linkly">;
23
23
  readonly clientRef: React.MutableRefObject<ClientEnum>;
24
24
  readonly dataRef: React.MutableRefObject<import("./store").State>;
25
25
  };
@@ -174,7 +174,7 @@ export declare const updateCustom: (payload: {
174
174
  export declare const updateStatus: (status: 'loading' | 'warn' | 'fail' | 'success' | 'question') => {
175
175
  type: EActionTypes;
176
176
  payload: {
177
- status: "loading" | "success" | "warn" | "fail" | "question";
177
+ status: "success" | "warn" | "loading" | "fail" | "question";
178
178
  };
179
179
  };
180
180
  /**
@@ -295,20 +295,20 @@ export declare const backUpFree: (payload: Partial<State>) => {
295
295
  name?: string | undefined;
296
296
  symbol?: string | undefined;
297
297
  amount?: string | number | undefined;
298
- mode?: "refund" | "pay" | "fullPay" | "query" | undefined;
298
+ mode?: "pay" | "fullPay" | "refund" | "query" | undefined;
299
299
  order_id?: string | number | undefined;
300
- eftpos?: "stripe" | "payo" | "tyro" | "windcave" | "linkly" | undefined;
301
- action?: "amount" | "pay" | "deviceList" | undefined;
300
+ eftpos?: "payo" | "tyro" | "windcave" | "stripe" | "linkly" | undefined;
301
+ action?: "amount" | "deviceList" | "pay" | undefined;
302
302
  key?: number | undefined;
303
303
  step?: number | undefined;
304
304
  title?: string | undefined;
305
305
  subTitle?: string | undefined;
306
- type?: "unset" | "step" | undefined;
306
+ type?: "step" | "unset" | undefined;
307
307
  render?: boolean | undefined;
308
308
  net?: boolean | undefined;
309
309
  component?: string | undefined;
310
310
  form?: string | undefined;
311
- status?: "loading" | "success" | "warn" | "fail" | "pedding" | "resove" | "reject" | "question" | undefined;
311
+ status?: "success" | "warn" | "loading" | "fail" | "pedding" | "resove" | "reject" | "question" | undefined;
312
312
  warn?: string | undefined;
313
313
  steps?: {
314
314
  /** 用于重置当前步骤 */
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @title: 获取 Tyro 资源
4
3
  * @description:
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Deposit: () => JSX.Element;
3
2
  export default Deposit;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Status: (props: any) => JSX.Element;
4
3
  export default Status;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const DayItem: (props: any) => JSX.Element;
4
3
  export default DayItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  import { CalendarItemProps } from '../../../../../type';
4
3
  declare const Item: (props: CalendarItemProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Status: (props: any) => JSX.Element;
4
3
  export default Status;
@@ -0,0 +1,22 @@
1
+ import Login from './login';
2
+ import BookingInfo from './booking/info/index';
3
+ import Booking from './booking';
4
+ import BookingNotes from './booking/notes';
5
+ import BookingAddons from './booking/addons';
6
+ import BookingForms from './booking/forms';
7
+ import Schedules from './schedules';
8
+ import ProductExtension from './productExtension';
9
+ import RuleSetting from './ruleSetting';
10
+ import TaxSelect from './taxSelect';
11
+ import ToCPay from './pay/toC';
12
+ import Wallet from './wallet';
13
+ import WalletList from './walletList';
14
+ import WorkspaceListDetail from './workSpaceListDetail/';
15
+ import WorkspaceList from './workSpaceList';
16
+ import PisellSelectCustomerModal from './pisellSelectCustomerModal';
17
+ import SubTotal from './subTotal';
18
+ import EditBookingModal from './booking/editBookingModal';
19
+ import StepController from './stepController';
20
+ import PinModal from './pinModal';
21
+ import PinVerifyModal from './pinVerifyModal';
22
+ export { Login, BookingInfo, Booking, BookingNotes, BookingAddons, BookingForms, Schedules, ProductExtension, RuleSetting, TaxSelect, ToCPay, PisellSelectCustomerModal, Wallet, WalletList, WorkspaceList, WorkspaceListDetail, SubTotal, EditBookingModal, StepController, PinModal, PinVerifyModal, };
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ export interface ApplePayRef {
4
+ init: (res: any) => void;
5
+ }
6
+ export interface ApplePayProps {
7
+ onChange?: (values: any) => void;
8
+ }
9
+ declare const _default: React.ForwardRefExoticComponent<ApplePayProps & React.RefAttributes<any>>;
10
+ export default _default;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ export interface GooglePayRef {
3
+ init: (res: any) => void;
4
+ }
5
+ export interface GooglePayProps {
6
+ onChange?: (values: any) => void;
7
+ }
8
+ declare const _default: React.ForwardRefExoticComponent<GooglePayProps & React.RefAttributes<any>>;
9
+ export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const StripeSDK: ({ public_key, client_secret, children, lang, }: {
3
2
  public_key: string;
4
3
  client_secret?: string | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.module.less';
3
2
  declare const StripePayment: () => JSX.Element;
4
3
  export default StripePayment;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ export interface PaymentMethodsRef {
3
+ onPay: (props: any) => void;
4
+ }
5
+ interface PaymentMethodsProps {
6
+ payCallback: (props: any) => void;
7
+ }
8
+ declare const _default: React.ForwardRefExoticComponent<PaymentMethodsProps & React.RefAttributes<unknown>>;
9
+ export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface FormState {
3
2
  platform: 'pc' | 'h5' | '' | undefined;
4
3
  order: any;
@@ -30,11 +29,4 @@ export interface PayGroup {
30
29
  _order: any;
31
30
  front_order_uuid?: string;
32
31
  }
33
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
34
- state: FormState;
35
- } & {
36
- dispatch: (params: {
37
- type: string;
38
- payload: any;
39
- }) => void;
40
- }>;
32
+ export declare const Provider: any, Context: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const Actor: ({ name }: {
3
2
  name: string;
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface InfoProps {
3
2
  relation_id: any;
4
3
  action: any;
@@ -0,0 +1,48 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.text.satisfy_any_condition': string;
4
+ 'pisell2.text.add': string;
5
+ 'pisell2.text.and': string;
6
+ 'pisell2.text.or': string;
7
+ 'pisell2.text.all': string;
8
+ 'pisell2.text.rule-setting.Contain': string;
9
+ 'pisell2.text.rule-setting.Exclude': string;
10
+ 'pisell2.text.rule-setting.order_type': string;
11
+ 'pisell2.text.rule-setting.sales_channel': string;
12
+ 'pisell2.text.rule-setting.staff': string;
13
+ 'pisell2.text.rule-setting.payment_method': string;
14
+ 'pisell2.text.rule-setting.pisell_terminal_device': string;
15
+ 'pisell2.text.rule-setting.current_device': string;
16
+ };
17
+ 'zh-CN': {
18
+ 'pisell2.text.satisfy_any_condition': string;
19
+ 'pisell2.text.and': string;
20
+ 'pisell2.text.or': string;
21
+ 'pisell2.text.all': string;
22
+ 'pisell2.text.add': string;
23
+ 'pisell2.text.rule-setting.Contain': string;
24
+ 'pisell2.text.rule-setting.Exclude': string;
25
+ 'pisell2.text.rule-setting.order_type': string;
26
+ 'pisell2.text.rule-setting.sales_channel': string;
27
+ 'pisell2.text.rule-setting.staff': string;
28
+ 'pisell2.text.rule-setting.payment_method': string;
29
+ 'pisell2.text.rule-setting.pisell_terminal_device': string;
30
+ 'pisell2.text.rule-setting.current_device': string;
31
+ };
32
+ 'zh-HK': {
33
+ 'pisell2.text.satisfy_any_condition': string;
34
+ 'pisell2.text.and': string;
35
+ 'pisell2.text.or': string;
36
+ 'pisell2.text.all': string;
37
+ 'pisell2.text.add': string;
38
+ 'pisell2.text.rule-setting.Contain': string;
39
+ 'pisell2.text.rule-setting.Exclude': string;
40
+ 'pisell2.text.rule-setting.order_type': string;
41
+ 'pisell2.text.rule-setting.sales_channel': string;
42
+ 'pisell2.text.rule-setting.staff': string;
43
+ 'pisell2.text.rule-setting.payment_method': string;
44
+ 'pisell2.text.rule-setting.pisell_terminal_device': string;
45
+ 'pisell2.text.rule-setting.current_device': string;
46
+ };
47
+ };
48
+ export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CalendarDataItem } from "../type";
3
2
  declare type CalendarItemProps = {
4
3
  month: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CalendarDataItem, ScheduleItem } from "./type";
3
2
  import dayjs from "dayjs";
4
3
  export interface FormState {
@@ -69,11 +68,4 @@ export interface FormState {
69
68
  };
70
69
  setGlobalState: Function | null;
71
70
  }
72
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
73
- state: FormState;
74
- } & {
75
- dispatch: (params: {
76
- type: string;
77
- payload: any;
78
- }) => void;
79
- }>;
71
+ export declare const Provider: any, Context: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const ProductDetail: ({ form, currentProduct, }: {
4
3
  form: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const ProductDetailByDate: () => JSX.Element;
4
3
  export default ProductDetailByDate;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const RelationProduct: ({ value, onChange, }: {
4
3
  value?: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Empty: (props: any) => JSX.Element;
4
3
  export default Empty;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Content: () => JSX.Element;
4
3
  export default Content;
@@ -0,0 +1,9 @@
1
+ import './index.less';
2
+ interface AddServiceProps {
3
+ onEdit?: any;
4
+ dispatch?: any;
5
+ state?: any;
6
+ renderMode?: 'current' | 'drawer';
7
+ }
8
+ declare const AddSerivce: (props: AddServiceProps) => JSX.Element | null;
9
+ export default AddSerivce;
@@ -0,0 +1,4 @@
1
+ import './index.less';
2
+ export declare const _formatBookingDetail: (data: any, modalState: any) => any;
3
+ declare const TicketBooking: () => JSX.Element;
4
+ export default TicketBooking;
@@ -8,7 +8,8 @@
8
8
  .booking-info-create-new,
9
9
  .pisell-lowcode__booking-field-title,
10
10
  .pisell-lowcode__shopping-cart-empty,
11
- .pisell-lowcode__booking-service-clear-btn {
11
+ .pisell-lowcode__booking-service-clear-btn,
12
+ .pisell-lowcode__booking-contact-info-title {
12
13
  color: #ffffff;
13
14
  }
14
15
  }
@@ -0,0 +1,12 @@
1
+ import type { Dayjs } from 'dayjs';
2
+ import './index.less';
3
+ interface ITimeBarProps {
4
+ globalState: any;
5
+ setGlobalState: any;
6
+ onDateChange: (date: Dayjs, dateString?: string) => void;
7
+ onDateTimeChange: (date: Dayjs, timeString: string) => void;
8
+ setIntervalTime: (value: boolean) => void;
9
+ locale: string;
10
+ }
11
+ declare const TimeBar: (props: ITimeBarProps) => JSX.Element;
12
+ export default TimeBar;
@@ -0,0 +1,7 @@
1
+ import './index.less';
2
+ interface TicketBookingProps {
3
+ productExtensionType: string[];
4
+ bookingConfigParams: Record<string, any>;
5
+ }
6
+ declare const _default: (props: TicketBookingProps) => JSX.Element;
7
+ export default _default;
@@ -1,13 +1 @@
1
- /// <reference types="react" />
2
- interface RechargeState {
3
- addWalletCard: any;
4
- }
5
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
6
- walletDetailState: RechargeState;
7
- } & {
8
- dispatch: (params: {
9
- type: string;
10
- payload: any;
11
- }) => void;
12
- }>;
13
- export {};
1
+ export declare const Provider: any, Context: any;
@@ -1,14 +1 @@
1
- /// <reference types="react" />
2
- interface RechargeState {
3
- total: number;
4
- setup?: 'menu' | 'list' | 'detail' | string;
5
- }
6
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
7
- state: RechargeState;
8
- } & {
9
- dispatch: (params: {
10
- type: string;
11
- payload: any;
12
- }) => void;
13
- }>;
14
- export {};
1
+ export declare const Provider: any, Context: any;
@@ -1,13 +1 @@
1
- /// <reference types="react" />
2
- interface RechargeState {
3
- total: number;
4
- }
5
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
6
- state: RechargeState;
7
- } & {
8
- dispatch: (params: {
9
- type: string;
10
- payload: any;
11
- }) => void;
12
- }>;
13
- export {};
1
+ export declare const Provider: any, Context: any;