@pisell/private-materials 6.3.177 → 6.3.178

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 (191) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/meta.js +1 -1
  5. package/build/lowcode/render/default/view.css +1 -1
  6. package/build/lowcode/render/default/view.js +9 -9
  7. package/build/lowcode/view.css +1 -1
  8. package/build/lowcode/view.js +1 -1
  9. package/es/businessModel/SalesModel/index.d.ts +1 -0
  10. package/es/components/appointmentBooking/components/Cart/Item/index.js +91 -24
  11. package/es/components/appointmentBooking/components/ConfirmInformation/index.js +24 -20
  12. package/es/components/appointmentBooking/components/Header/index.js +4 -24
  13. package/es/components/appointmentBooking/components/Voucher/index.js +10 -0
  14. package/es/components/appointmentBooking/hooks.d.ts +1 -17
  15. package/es/components/appointmentBooking/hooks.js +54 -128
  16. package/es/components/appointmentBooking/utils.d.ts +1 -0
  17. package/es/components/appointmentBooking/utils.js +54 -33
  18. package/es/components/booking/addons/model.d.ts +1 -10
  19. package/es/components/booking/components/TabProduct/index.d.ts +1 -0
  20. package/es/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  21. package/es/components/booking/deposit/index.d.ts +1 -0
  22. package/es/components/booking/forms/model.d.ts +1 -10
  23. package/es/components/booking/forms/single/index.d.ts +1 -0
  24. package/es/components/booking/info/addServiceVariant/index.d.ts +1 -0
  25. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  26. package/es/components/booking/info/date/index.d.ts +1 -0
  27. package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  28. package/es/components/booking/info/index.d.ts +1 -0
  29. package/es/components/booking/info/model.d.ts +1 -10
  30. package/es/components/booking/info/notes/index.d.ts +1 -0
  31. package/es/components/booking/info/service/Lists.d.ts +1 -0
  32. package/es/components/booking/info/service/actions/index.d.ts +1 -0
  33. package/es/components/booking/info/service/addService/index.d.ts +1 -0
  34. package/es/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  35. package/es/components/booking/info/service/serviceList/index.d.ts +1 -0
  36. package/es/components/booking/info/service2/Lists.d.ts +1 -0
  37. package/es/components/booking/info2/service/actions/index.d.ts +1 -0
  38. package/es/components/booking/info2/service/addTimeModal/index.d.ts +1 -0
  39. package/es/components/booking/info2/service/contactInfoMode/index.d.ts +1 -0
  40. package/es/components/booking/info2/service/serviceList/index.d.ts +1 -0
  41. package/es/components/booking/materiels/holder/index.d.ts +1 -0
  42. package/es/components/booking/model.d.ts +1 -9
  43. package/es/components/booking/notes/model.d.ts +1 -10
  44. package/es/components/booking/payments/model.d.ts +1 -10
  45. package/es/components/booking/utils.d.ts +2 -2
  46. package/es/components/eftposPay/aggregatePayment/utils/payment.js +1 -2
  47. package/es/components/eftposPay/amount.d.ts +1 -0
  48. package/es/components/eftposPay/app.d.ts +1 -0
  49. package/es/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  50. package/es/components/eftposPay/device.js +4 -11
  51. package/es/components/eftposPay/hooks.d.ts +1 -1
  52. package/es/components/eftposPay/index.d.ts +1 -0
  53. package/es/components/eftposPay/linkly/index.d.ts +1 -0
  54. package/es/components/eftposPay/pay.d.ts +1 -0
  55. package/es/components/eftposPay/store/index.d.ts +1 -1
  56. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  57. package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  58. package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  59. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  60. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  61. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  62. package/es/components/eventBooking/components/progressBar/index.d.ts +1 -8
  63. package/es/components/eventBooking/components/progressBar/index.js +10 -30
  64. package/es/components/eventBooking/index.d.ts +1 -0
  65. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  66. package/es/components/pay/toC/model.d.ts +1 -9
  67. package/es/components/pisellCashCounting/hooks.d.ts +1 -0
  68. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  69. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  70. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  71. package/es/components/productExtension/fields/Actor/index.d.ts +1 -0
  72. package/es/components/productExtension/fields/Forms/index.d.ts +1 -0
  73. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  74. package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  75. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  76. package/es/components/productExtension/index.d.ts +1 -0
  77. package/es/components/ruleSetting/index.d.ts +1 -0
  78. package/es/components/scanOrder/components/Check/index.js +46 -187
  79. package/es/components/scanOrder/components/Check/index.less +0 -39
  80. package/es/components/scanOrder/components/Content/index.js +72 -189
  81. package/es/components/scanOrder/components/Menu/index.js +5 -11
  82. package/es/components/scanOrder/hooks.js +0 -7
  83. package/es/components/scanOrder/locales.d.ts +0 -75
  84. package/es/components/scanOrder/locales.js +0 -75
  85. package/es/components/schedules/model.d.ts +1 -9
  86. package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
  87. package/es/components/shoppingCart/components/Render/index.d.ts +1 -0
  88. package/es/components/shoppingCart/index.d.ts +1 -0
  89. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
  90. package/es/components/venueBooking/components/Cart/index.js +159 -46
  91. package/es/components/venueBooking/components/Voucher/index.js +1 -6
  92. package/es/components/venueBooking/context.js +15 -2
  93. package/es/components/venueBooking/locales.d.ts +5 -0
  94. package/es/components/venueBooking/locales.js +10 -5
  95. package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
  96. package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +1 -0
  97. package/es/pro/Login2.0/locales.js +1 -1
  98. package/es/utils/buildCartHolderParams.d.ts +92 -0
  99. package/es/utils/buildCartHolderParams.js +191 -0
  100. package/lib/businessModel/SalesModel/index.d.ts +1 -0
  101. package/lib/components/appointmentBooking/components/Cart/Item/index.js +71 -9
  102. package/lib/components/appointmentBooking/components/ConfirmInformation/index.js +6 -2
  103. package/lib/components/appointmentBooking/components/Header/index.js +1 -13
  104. package/lib/components/appointmentBooking/components/Voucher/index.js +10 -0
  105. package/lib/components/appointmentBooking/hooks.d.ts +1 -17
  106. package/lib/components/appointmentBooking/hooks.js +16 -91
  107. package/lib/components/appointmentBooking/utils.d.ts +1 -0
  108. package/lib/components/appointmentBooking/utils.js +24 -13
  109. package/lib/components/booking/addons/model.d.ts +1 -10
  110. package/lib/components/booking/components/TabProduct/index.d.ts +1 -0
  111. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  112. package/lib/components/booking/deposit/index.d.ts +1 -0
  113. package/lib/components/booking/forms/model.d.ts +1 -10
  114. package/lib/components/booking/forms/single/index.d.ts +1 -0
  115. package/lib/components/booking/info/addServiceVariant/index.d.ts +1 -0
  116. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  117. package/lib/components/booking/info/date/index.d.ts +1 -0
  118. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  119. package/lib/components/booking/info/index.d.ts +1 -0
  120. package/lib/components/booking/info/model.d.ts +1 -10
  121. package/lib/components/booking/info/notes/index.d.ts +1 -0
  122. package/lib/components/booking/info/service/Lists.d.ts +1 -0
  123. package/lib/components/booking/info/service/actions/index.d.ts +1 -0
  124. package/lib/components/booking/info/service/addService/index.d.ts +1 -0
  125. package/lib/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  126. package/lib/components/booking/info/service/serviceList/index.d.ts +1 -0
  127. package/lib/components/booking/info/service2/Lists.d.ts +1 -0
  128. package/lib/components/booking/info2/service/actions/index.d.ts +1 -0
  129. package/lib/components/booking/info2/service/addTimeModal/index.d.ts +1 -0
  130. package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +1 -0
  131. package/lib/components/booking/info2/service/serviceList/index.d.ts +1 -0
  132. package/lib/components/booking/materiels/holder/index.d.ts +1 -0
  133. package/lib/components/booking/model.d.ts +1 -9
  134. package/lib/components/booking/notes/model.d.ts +1 -10
  135. package/lib/components/booking/payments/model.d.ts +1 -10
  136. package/lib/components/booking/utils.d.ts +2 -2
  137. package/lib/components/eftposPay/aggregatePayment/utils/payment.js +1 -2
  138. package/lib/components/eftposPay/amount.d.ts +1 -0
  139. package/lib/components/eftposPay/app.d.ts +1 -0
  140. package/lib/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  141. package/lib/components/eftposPay/device.js +4 -6
  142. package/lib/components/eftposPay/hooks.d.ts +1 -1
  143. package/lib/components/eftposPay/index.d.ts +1 -0
  144. package/lib/components/eftposPay/linkly/index.d.ts +1 -0
  145. package/lib/components/eftposPay/pay.d.ts +1 -0
  146. package/lib/components/eftposPay/store/index.d.ts +1 -1
  147. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  148. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  149. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  150. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  151. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  152. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  153. package/lib/components/eventBooking/components/progressBar/index.d.ts +1 -8
  154. package/lib/components/eventBooking/components/progressBar/index.js +9 -29
  155. package/lib/components/eventBooking/index.d.ts +1 -0
  156. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  157. package/lib/components/pay/toC/model.d.ts +1 -9
  158. package/lib/components/pisellCashCounting/hooks.d.ts +1 -0
  159. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  160. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  161. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  162. package/lib/components/productExtension/fields/Actor/index.d.ts +1 -0
  163. package/lib/components/productExtension/fields/Forms/index.d.ts +1 -0
  164. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  165. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  166. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  167. package/lib/components/productExtension/index.d.ts +1 -0
  168. package/lib/components/ruleSetting/index.d.ts +1 -0
  169. package/lib/components/scanOrder/components/Check/index.js +3 -116
  170. package/lib/components/scanOrder/components/Check/index.less +0 -39
  171. package/lib/components/scanOrder/components/Content/index.js +25 -106
  172. package/lib/components/scanOrder/components/Menu/index.js +0 -2
  173. package/lib/components/scanOrder/hooks.js +0 -7
  174. package/lib/components/scanOrder/locales.d.ts +0 -75
  175. package/lib/components/scanOrder/locales.js +0 -75
  176. package/lib/components/schedules/model.d.ts +1 -9
  177. package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
  178. package/lib/components/shoppingCart/components/Render/index.d.ts +1 -0
  179. package/lib/components/shoppingCart/index.d.ts +1 -0
  180. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
  181. package/lib/components/venueBooking/components/Cart/index.js +92 -14
  182. package/lib/components/venueBooking/components/Voucher/index.js +1 -5
  183. package/lib/components/venueBooking/context.js +12 -2
  184. package/lib/components/venueBooking/locales.d.ts +5 -0
  185. package/lib/components/venueBooking/locales.js +10 -5
  186. package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
  187. package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +1 -0
  188. package/lib/pro/Login2.0/locales.js +1 -1
  189. package/lib/utils/buildCartHolderParams.d.ts +92 -0
  190. package/lib/utils/buildCartHolderParams.js +167 -0
  191. package/package.json +1 -1
@@ -30,21 +30,6 @@ declare const _default: {
30
30
  'pisell2.scan.order.products.empty.tip': string;
31
31
  'pisell2.scan.order.check.cart.empty.tip': string;
32
32
  'pisell2.scan.order.submit.disabled.default': string;
33
- 'pisell2.scan.order.multiple.orders.tip': string;
34
- 'pisell2.scan.order.multiple.orders.confirm': string;
35
- 'pisell2.scan.order.settled.cannot.add.tip': string;
36
- 'pisell2.scan.order.inventory.insufficient.title': string;
37
- 'pisell2.scan.order.inventory.insufficient.description': string;
38
- 'pisell2.scan.order.inventory.insufficient.products.label': string;
39
- 'pisell2.scan.order.add.on.confirm.title': string;
40
- 'pisell2.scan.order.add.on.confirm.description': string;
41
- 'pisell2.scan.order.add.on.confirm.button': string;
42
- 'pisell2.scan.order.add.on.return.button': string;
43
- 'pisell2.scan.order.add.on.unavailable.title': string;
44
- 'pisell2.scan.order.add.on.unavailable.description': string;
45
- 'pisell2.scan.order.add.on.unavailable.confirm': string;
46
- 'pisell2.scan.order.add.on.login.required.title': string;
47
- 'pisell2.scan.order.add.on.login.required': string;
48
33
  'pisell2.text.goodpass': string;
49
34
  'pisell2.text.goodpass.product-vouchers': string;
50
35
  'pisell2.text.goodpass.view-more': string;
@@ -94,21 +79,6 @@ declare const _default: {
94
79
  'pisell2.scan.order.products.empty.tip': string;
95
80
  'pisell2.scan.order.check.cart.empty.tip': string;
96
81
  'pisell2.scan.order.submit.disabled.default': string;
97
- 'pisell2.scan.order.multiple.orders.tip': string;
98
- 'pisell2.scan.order.multiple.orders.confirm': string;
99
- 'pisell2.scan.order.settled.cannot.add.tip': string;
100
- 'pisell2.scan.order.inventory.insufficient.title': string;
101
- 'pisell2.scan.order.inventory.insufficient.description': string;
102
- 'pisell2.scan.order.inventory.insufficient.products.label': string;
103
- 'pisell2.scan.order.add.on.confirm.title': string;
104
- 'pisell2.scan.order.add.on.confirm.description': string;
105
- 'pisell2.scan.order.add.on.confirm.button': string;
106
- 'pisell2.scan.order.add.on.return.button': string;
107
- 'pisell2.scan.order.add.on.unavailable.title': string;
108
- 'pisell2.scan.order.add.on.unavailable.description': string;
109
- 'pisell2.scan.order.add.on.unavailable.confirm': string;
110
- 'pisell2.scan.order.add.on.login.required.title': string;
111
- 'pisell2.scan.order.add.on.login.required': string;
112
82
  'pisell2.text.goodpass': string;
113
83
  'pisell2.text.goodpass.product-vouchers': string;
114
84
  'pisell2.text.goodpass.view-more': string;
@@ -158,21 +128,6 @@ declare const _default: {
158
128
  'pisell2.scan.order.products.empty.tip': string;
159
129
  'pisell2.scan.order.check.cart.empty.tip': string;
160
130
  'pisell2.scan.order.submit.disabled.default': string;
161
- 'pisell2.scan.order.multiple.orders.tip': string;
162
- 'pisell2.scan.order.multiple.orders.confirm': string;
163
- 'pisell2.scan.order.settled.cannot.add.tip': string;
164
- 'pisell2.scan.order.inventory.insufficient.title': string;
165
- 'pisell2.scan.order.inventory.insufficient.description': string;
166
- 'pisell2.scan.order.inventory.insufficient.products.label': string;
167
- 'pisell2.scan.order.add.on.confirm.title': string;
168
- 'pisell2.scan.order.add.on.confirm.description': string;
169
- 'pisell2.scan.order.add.on.confirm.button': string;
170
- 'pisell2.scan.order.add.on.return.button': string;
171
- 'pisell2.scan.order.add.on.unavailable.title': string;
172
- 'pisell2.scan.order.add.on.unavailable.description': string;
173
- 'pisell2.scan.order.add.on.unavailable.confirm': string;
174
- 'pisell2.scan.order.add.on.login.required.title': string;
175
- 'pisell2.scan.order.add.on.login.required': string;
176
131
  'pisell2.text.goodpass': string;
177
132
  'pisell2.text.goodpass.product-vouchers': string;
178
133
  'pisell2.text.goodpass.view-more': string;
@@ -222,21 +177,6 @@ declare const _default: {
222
177
  'pisell2.scan.order.products.empty.tip': string;
223
178
  'pisell2.scan.order.check.cart.empty.tip': string;
224
179
  'pisell2.scan.order.submit.disabled.default': string;
225
- 'pisell2.scan.order.multiple.orders.tip': string;
226
- 'pisell2.scan.order.multiple.orders.confirm': string;
227
- 'pisell2.scan.order.settled.cannot.add.tip': string;
228
- 'pisell2.scan.order.inventory.insufficient.title': string;
229
- 'pisell2.scan.order.inventory.insufficient.description': string;
230
- 'pisell2.scan.order.inventory.insufficient.products.label': string;
231
- 'pisell2.scan.order.add.on.confirm.title': string;
232
- 'pisell2.scan.order.add.on.confirm.description': string;
233
- 'pisell2.scan.order.add.on.confirm.button': string;
234
- 'pisell2.scan.order.add.on.return.button': string;
235
- 'pisell2.scan.order.add.on.unavailable.title': string;
236
- 'pisell2.scan.order.add.on.unavailable.description': string;
237
- 'pisell2.scan.order.add.on.unavailable.confirm': string;
238
- 'pisell2.scan.order.add.on.login.required.title': string;
239
- 'pisell2.scan.order.add.on.login.required': string;
240
180
  'pisell2.text.goodpass': string;
241
181
  'pisell2.text.goodpass.product-vouchers': string;
242
182
  'pisell2.text.goodpass.view-more': string;
@@ -286,21 +226,6 @@ declare const _default: {
286
226
  'pisell2.scan.order.products.empty.tip': string;
287
227
  'pisell2.scan.order.check.cart.empty.tip': string;
288
228
  'pisell2.scan.order.submit.disabled.default': string;
289
- 'pisell2.scan.order.multiple.orders.tip': string;
290
- 'pisell2.scan.order.multiple.orders.confirm': string;
291
- 'pisell2.scan.order.settled.cannot.add.tip': string;
292
- 'pisell2.scan.order.inventory.insufficient.title': string;
293
- 'pisell2.scan.order.inventory.insufficient.description': string;
294
- 'pisell2.scan.order.inventory.insufficient.products.label': string;
295
- 'pisell2.scan.order.add.on.confirm.title': string;
296
- 'pisell2.scan.order.add.on.confirm.description': string;
297
- 'pisell2.scan.order.add.on.confirm.button': string;
298
- 'pisell2.scan.order.add.on.return.button': string;
299
- 'pisell2.scan.order.add.on.unavailable.title': string;
300
- 'pisell2.scan.order.add.on.unavailable.description': string;
301
- 'pisell2.scan.order.add.on.unavailable.confirm': string;
302
- 'pisell2.scan.order.add.on.login.required.title': string;
303
- 'pisell2.scan.order.add.on.login.required': string;
304
229
  'pisell2.text.goodpass': string;
305
230
  'pisell2.text.goodpass.product-vouchers': string;
306
231
  'pisell2.text.goodpass.view-more': string;
@@ -54,21 +54,6 @@ var locales_default = {
54
54
  "pisell2.scan.order.products.empty.tip": "Please select products",
55
55
  "pisell2.scan.order.check.cart.empty.tip": "Please go back to add products",
56
56
  "pisell2.scan.order.submit.disabled.default": "Order submission is currently disabled.",
57
- "pisell2.scan.order.multiple.orders.tip": "There are multiple active orders for this table. Please contact staff for add-on orders.",
58
- "pisell2.scan.order.multiple.orders.confirm": "I Got It",
59
- "pisell2.scan.order.settled.cannot.add.tip": "This order has already been settled and you cannot add more items. Please scan again to create a new order or contact staff.",
60
- "pisell2.scan.order.inventory.insufficient.title": "Insufficient inventory",
61
- "pisell2.scan.order.inventory.insufficient.description": "The following items are out of stock or do not have enough inventory. Please adjust your cart and try again.",
62
- "pisell2.scan.order.inventory.insufficient.products.label": "Unavailable products:",
63
- "pisell2.scan.order.add.on.confirm.title": "This table has already started ordering",
64
- "pisell2.scan.order.add.on.confirm.description": "Someone at your table has placed the order. This will be submitted as an add-on order.",
65
- "pisell2.scan.order.add.on.confirm.button": "Confirm Add-on Order",
66
- "pisell2.scan.order.add.on.return.button": "Return to Cart",
67
- "pisell2.scan.order.add.on.unavailable.title": "Add-on ordering is not available",
68
- "pisell2.scan.order.add.on.unavailable.description": "You can’t add items to this order from your phone right now.\nPlease ask a staff member for help.",
69
- "pisell2.scan.order.add.on.unavailable.confirm": "Got it",
70
- "pisell2.scan.order.add.on.login.required.title": "Notice",
71
- "pisell2.scan.order.add.on.login.required": "Please login before placing an add-on order.",
72
57
  "pisell2.text.goodpass": "Promotion",
73
58
  "pisell2.text.goodpass.product-vouchers": "Product Vouchers",
74
59
  "pisell2.text.goodpass.view-more": "View More",
@@ -118,21 +103,6 @@ var locales_default = {
118
103
  "pisell2.scan.order.products.empty.tip": "请选择商品",
119
104
  "pisell2.scan.order.check.cart.empty.tip": "请返回添加商品",
120
105
  "pisell2.scan.order.submit.disabled.default": "当前暂不可下单",
121
- "pisell2.scan.order.multiple.orders.tip": "当前桌台存在多个进行中的订单,请联系店员处理加餐。",
122
- "pisell2.scan.order.multiple.orders.confirm": "我知道了",
123
- "pisell2.scan.order.settled.cannot.add.tip": "当前订单已结账,无法继续加餐。请重新扫码创建新订单或联系店员。",
124
- "pisell2.scan.order.inventory.insufficient.title": "库存不足",
125
- "pisell2.scan.order.inventory.insufficient.description": "以下商品库存不足或已售罄,请调整购物车后重新提交。",
126
- "pisell2.scan.order.inventory.insufficient.products.label": "异常商品:",
127
- "pisell2.scan.order.add.on.confirm.title": "本桌已开始点餐",
128
- "pisell2.scan.order.add.on.confirm.description": "同行顾客已提交订单。本次将作为加餐提交,请确认后继续。",
129
- "pisell2.scan.order.add.on.confirm.button": "确认加餐",
130
- "pisell2.scan.order.add.on.return.button": "返回购物车",
131
- "pisell2.scan.order.add.on.unavailable.title": "暂不支持加餐",
132
- "pisell2.scan.order.add.on.unavailable.description": "当前无法通过手机为此订单加餐。\n如需加餐,请联系工作人员。",
133
- "pisell2.scan.order.add.on.unavailable.confirm": "我知道了",
134
- "pisell2.scan.order.add.on.login.required.title": "提示",
135
- "pisell2.scan.order.add.on.login.required": "需要登录后才能加餐",
136
106
  "pisell2.text.goodpass": "促销",
137
107
  "pisell2.text.goodpass.product-vouchers": "商品兑换券",
138
108
  "pisell2.text.goodpass.view-more": "查看更多",
@@ -182,21 +152,6 @@ var locales_default = {
182
152
  "pisell2.scan.order.products.empty.tip": "請選擇商品",
183
153
  "pisell2.scan.order.check.cart.empty.tip": "請返回添加商品",
184
154
  "pisell2.scan.order.submit.disabled.default": "當前暫不可下單",
185
- "pisell2.scan.order.multiple.orders.tip": "當前桌台存在多個進行中的訂單,請聯繫店員處理加餐。",
186
- "pisell2.scan.order.multiple.orders.confirm": "我知道了",
187
- "pisell2.scan.order.settled.cannot.add.tip": "當前訂單已結賬,無法繼續加餐。請重新掃碼創建新訂單或聯繫店員。",
188
- "pisell2.scan.order.inventory.insufficient.title": "庫存不足",
189
- "pisell2.scan.order.inventory.insufficient.description": "以下商品庫存不足或已售罄,請調整購物車後重新提交。",
190
- "pisell2.scan.order.inventory.insufficient.products.label": "異常商品:",
191
- "pisell2.scan.order.add.on.confirm.title": "本桌已開始點餐",
192
- "pisell2.scan.order.add.on.confirm.description": "同行顧客已提交訂單。本次將作為加餐提交,請確認後繼續。",
193
- "pisell2.scan.order.add.on.confirm.button": "確認加餐",
194
- "pisell2.scan.order.add.on.return.button": "返回購物車",
195
- "pisell2.scan.order.add.on.unavailable.title": "暫不支援加餐",
196
- "pisell2.scan.order.add.on.unavailable.description": "目前無法透過手機為此訂單加餐。\n如需加餐,請聯絡工作人員。",
197
- "pisell2.scan.order.add.on.unavailable.confirm": "我知道了",
198
- "pisell2.scan.order.add.on.login.required.title": "提示",
199
- "pisell2.scan.order.add.on.login.required": "需要登錄後才能加餐",
200
155
  "pisell2.text.goodpass": "促銷",
201
156
  "pisell2.text.goodpass.product-vouchers": "商品兌換券",
202
157
  "pisell2.text.goodpass.view-more": "查看更多",
@@ -246,21 +201,6 @@ var locales_default = {
246
201
  "pisell2.scan.order.products.empty.tip": "商品を選択してください",
247
202
  "pisell2.scan.order.check.cart.empty.tip": "商品を追加するには、前の画面に戻ってください",
248
203
  "pisell2.scan.order.submit.disabled.default": "現在、注文を送信できません。",
249
- "pisell2.scan.order.multiple.orders.tip": "現在のテーブルには進行中の注文が複数あります。追加注文についてはスタッフにお問い合わせください。",
250
- "pisell2.scan.order.multiple.orders.confirm": "了解しました",
251
- "pisell2.scan.order.settled.cannot.add.tip": "現在の注文はすでに会計済みのため、追加注文できません。再度QRコードをスキャンして新しい注文を作成するか、スタッフにお問い合わせください。",
252
- "pisell2.scan.order.inventory.insufficient.title": "在庫が不足しています",
253
- "pisell2.scan.order.inventory.insufficient.description": "以下の商品は在庫切れ、または在庫が不足しています。カートを調整してからもう一度送信してください。",
254
- "pisell2.scan.order.inventory.insufficient.products.label": "対象商品:",
255
- "pisell2.scan.order.add.on.confirm.title": "このテーブルではすでに注文が開始されています",
256
- "pisell2.scan.order.add.on.confirm.description": "同席のお客様がすでに注文を送信しました。今回は追加注文として送信されます。確認して続行してください。",
257
- "pisell2.scan.order.add.on.confirm.button": "追加注文を確認",
258
- "pisell2.scan.order.add.on.return.button": "カートに戻る",
259
- "pisell2.scan.order.add.on.unavailable.title": "追加注文は現在ご利用いただけません",
260
- "pisell2.scan.order.add.on.unavailable.description": "現在、スマートフォンからこの注文に商品を追加することはできません。\n追加注文をご希望の場合は、スタッフにお声がけください。",
261
- "pisell2.scan.order.add.on.unavailable.confirm": "了解しました",
262
- "pisell2.scan.order.add.on.login.required.title": "お知らせ",
263
- "pisell2.scan.order.add.on.login.required": "追加注文を行うにはログインが必要です。",
264
204
  "pisell2.text.goodpass": "プロモーション",
265
205
  "pisell2.text.goodpass.product-vouchers": "商品バウチャー",
266
206
  "pisell2.text.goodpass.view-more": "もっと見る",
@@ -310,21 +250,6 @@ var locales_default = {
310
250
  "pisell2.scan.order.products.empty.tip": "Selecione produtos",
311
251
  "pisell2.scan.order.check.cart.empty.tip": "Volte para adicionar produtos",
312
252
  "pisell2.scan.order.submit.disabled.default": "No momento, não é possível enviar pedidos.",
313
- "pisell2.scan.order.multiple.orders.tip": "Há vários pedidos ativos nesta mesa. Entre em contato com a equipe para adicionar itens.",
314
- "pisell2.scan.order.multiple.orders.confirm": "Entendi",
315
- "pisell2.scan.order.settled.cannot.add.tip": "Este pedido já foi finalizado e não é possível adicionar mais itens. Escaneie novamente para criar um novo pedido ou entre em contato com a equipe.",
316
- "pisell2.scan.order.inventory.insufficient.title": "Estoque insuficiente",
317
- "pisell2.scan.order.inventory.insufficient.description": "Os seguintes itens estão sem estoque ou não têm estoque suficiente. Ajuste o carrinho e tente novamente.",
318
- "pisell2.scan.order.inventory.insufficient.products.label": "Produtos indisponíveis:",
319
- "pisell2.scan.order.add.on.confirm.title": "Esta mesa já começou a fazer o pedido",
320
- "pisell2.scan.order.add.on.confirm.description": "Alguém na sua mesa já enviou o pedido. Este será enviado como um pedido adicional.",
321
- "pisell2.scan.order.add.on.confirm.button": "Confirmar pedido adicional",
322
- "pisell2.scan.order.add.on.return.button": "Voltar ao carrinho",
323
- "pisell2.scan.order.add.on.unavailable.title": "Pedidos adicionais não estão disponíveis",
324
- "pisell2.scan.order.add.on.unavailable.description": "No momento, você não pode adicionar itens a este pedido pelo celular.\nPeça ajuda a um membro da equipe.",
325
- "pisell2.scan.order.add.on.unavailable.confirm": "Entendi",
326
- "pisell2.scan.order.add.on.login.required.title": "Aviso",
327
- "pisell2.scan.order.add.on.login.required": "Faça login antes de fazer um pedido adicional.",
328
253
  "pisell2.text.goodpass": "Promoção",
329
254
  "pisell2.text.goodpass.product-vouchers": "Vales de Produto",
330
255
  "pisell2.text.goodpass.view-more": "Ver Mais",
@@ -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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Empty: (props: any) => JSX.Element;
3
4
  export default Empty;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Content: () => JSX.Element;
3
4
  export default Content;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { shoppingCartProps } from './type';
2
3
  declare const shoppingCart: ({ onCard, onAction, onChange, onAddProduct, onActiveKey, ...props }: shoppingCartProps) => JSX.Element;
3
4
  export default shoppingCart;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface AddServiceVariantProps {
2
3
  globalState: any;
3
4
  setGlobalState: any;
@@ -42,9 +42,12 @@ var import_subTotal = __toESM(require("../../../subTotal"));
42
42
  var import_Voucher = __toESM(require("../Voucher"));
43
43
  var import_Deposit = __toESM(require("../Deposit"));
44
44
  var import_context = require("../../context");
45
+ var import_buildCartHolderParams = require("../../../../utils/buildCartHolderParams");
46
+ var import_buildCartHolderParams2 = require("../../../../utils/buildCartHolderParams");
47
+ var import_utils2 = require("../../../appointmentBooking/utils");
45
48
  var import_index = require("./index.less");
46
49
  function Cart(props) {
47
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
50
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k;
48
51
  const {
49
52
  open,
50
53
  onCancel,
@@ -61,25 +64,59 @@ function Cart(props) {
61
64
  refreshViewModel,
62
65
  venueBookingModule,
63
66
  isAgreeDepositPolicy,
64
- setIsAgreeDepositPolicy
67
+ setIsAgreeDepositPolicy,
68
+ isLogin
65
69
  } = (0, import_context.useVenueBookingContext)();
66
70
  const engineContext = (0, import_useEngineContext.default)();
67
71
  const businessUtils = (_b = (_a = engineContext == null ? void 0 : engineContext.appHelper) == null ? void 0 : _a.utils) == null ? void 0 : _b.businessUtils;
68
72
  const symbol = String(((_e = (_d = (_c = engineContext == null ? void 0 : engineContext.appHelper) == null ? void 0 : _c.utils) == null ? void 0 : _d.getSymbolic) == null ? void 0 : _e.call(_d)) || "$");
69
73
  const locale = ((_g = (_f = engineContext == null ? void 0 : engineContext.engine) == null ? void 0 : _f.props) == null ? void 0 : _g.locale) || "en";
70
- const hasGoodPassApp = !!((_h = businessUtils == null ? void 0 : businessUtils.getAppByModal) == null ? void 0 : _h.call(businessUtils, "goodpass"));
71
- const hasDiscountCardApp = !!((_i = businessUtils == null ? void 0 : businessUtils.getAppByModal) == null ? void 0 : _i.call(businessUtils, "discountcard"));
74
+ const [holderMap, setHolderMap] = (0, import_react.useState)({});
75
+ const { pisellos, translation } = ((_h = engineContext == null ? void 0 : engineContext.appHelper) == null ? void 0 : _h.utils) || {};
76
+ const hasGoodPassApp = !!((_i = businessUtils == null ? void 0 : businessUtils.getAppByModal) == null ? void 0 : _i.call(businessUtils, "goodpass"));
77
+ const hasDiscountCardApp = !!((_j = businessUtils == null ? void 0 : businessUtils.getAppByModal) == null ? void 0 : _j.call(businessUtils, "discountcard"));
72
78
  const showVoucher = hasGoodPassApp || hasDiscountCardApp;
79
+ (0, import_react.useEffect)(() => {
80
+ var _a2;
81
+ const onHolderChanged = (res) => {
82
+ if ((res == null ? void 0 : res.path) === "holderMap") {
83
+ setHolderMap(res == null ? void 0 : res.value);
84
+ }
85
+ };
86
+ (_a2 = pisellos == null ? void 0 : pisellos.effects) == null ? void 0 : _a2.on("venueBooking_holder:changed", onHolderChanged);
87
+ return () => {
88
+ var _a3;
89
+ (_a3 = pisellos == null ? void 0 : pisellos.effects) == null ? void 0 : _a3.off("venueBooking_holder:changed", onHolderChanged);
90
+ };
91
+ }, []);
92
+ (0, import_react.useEffect)(() => {
93
+ const _holderMap = (venueBookingModule == null ? void 0 : venueBookingModule.getHolderFormMap()) || {};
94
+ setHolderMap(_holderMap);
95
+ }, [venueBookingModule]);
73
96
  const isVisible = embedded || open;
74
97
  if (!isVisible) return null;
75
98
  const totalAmount = (summary == null ? void 0 : summary.total_amount) ?? (summary == null ? void 0 : summary.expect_amount) ?? (summary == null ? void 0 : summary.amount) ?? (summary == null ? void 0 : summary.total) ?? "0.00";
76
99
  const cartProducts = (0, import_react.useMemo)(() => {
77
- return (items || []).map((item) => ({
78
- ...item,
79
- symbol: (item == null ? void 0 : item.symbol) || symbol,
80
- is_hide_like: true
81
- }));
82
- }, [items, symbol]);
100
+ return (items || []).map((item) => {
101
+ var _a2, _b2;
102
+ const holderConfig = (0, import_buildCartHolderParams.getVenueCartHolderConfig)(item);
103
+ const formData = holderMap == null ? void 0 : holderMap[holderConfig == null ? void 0 : holderConfig.resource_id];
104
+ const holderParams = (0, import_buildCartHolderParams.buildCartHolderParams)({
105
+ item,
106
+ holderConfig,
107
+ formData,
108
+ translation,
109
+ enabled: !!((_b2 = (_a2 = item == null ? void 0 : item._origin) == null ? void 0 : _a2.product) == null ? void 0 : _b2.bookingUuid)
110
+ });
111
+ return {
112
+ ...item,
113
+ symbol: (item == null ? void 0 : item.symbol) || symbol,
114
+ is_hide_like: true,
115
+ allowClearHolder: true,
116
+ ...holderParams
117
+ };
118
+ });
119
+ }, [items, symbol, holderMap, translation]);
83
120
  const confirmOrderText = currentStep === "checkout" ? String(import_utils.locales.getText("pisell2.venue.action.pay.now") || "立即支付") : String(import_utils.locales.getText("pisell2.venue.action.next") || "下一步");
84
121
  const subTotalList = (0, import_react.useMemo)(() => {
85
122
  var _a2, _b2, _c2;
@@ -144,6 +181,47 @@ function Cart(props) {
144
181
  return false;
145
182
  };
146
183
  const handleCartChange = async (item, type, sourceItem) => {
184
+ var _a2, _b2, _c2, _d2, _e2;
185
+ if (type === "add_holder") {
186
+ const formId = (_a2 = (0, import_buildCartHolderParams.getVenueCartHolderConfig)(item)) == null ? void 0 : _a2.resource_id;
187
+ if (!formId) return;
188
+ const skuRelationFormId = (0, import_buildCartHolderParams2.getSkuRelationFormId)(holderMap, formId);
189
+ return (0, import_utils2.openForm)({
190
+ form_id: skuRelationFormId || formId,
191
+ title: import_utils.locales.getText("pisell2.venue.create.form"),
192
+ utils: (_b2 = engineContext == null ? void 0 : engineContext.appHelper) == null ? void 0 : _b2.utils,
193
+ callback: async (res) => {
194
+ var _a3, _b3, _c3, _d3;
195
+ if ((res == null ? void 0 : res.status) === "success") {
196
+ const { formRecordId, formId: holderFormId } = (0, import_buildCartHolderParams2.handleCartHolderFormSuccess)({
197
+ res,
198
+ formId,
199
+ skuRelationFormId,
200
+ utils: (_a3 = engineContext == null ? void 0 : engineContext.appHelper) == null ? void 0 : _a3.utils,
201
+ module: venueBookingModule
202
+ });
203
+ const customer = (0, import_utils2.getCustomer)((_b3 = engineContext == null ? void 0 : engineContext.appHelper) == null ? void 0 : _b3.utils);
204
+ venueBookingModule.setBookingHolder((_d3 = (_c3 = item == null ? void 0 : item._origin) == null ? void 0 : _c3.product) == null ? void 0 : _d3.bookingUuid, {
205
+ customer_id: customer == null ? void 0 : customer.id,
206
+ form_id: holderFormId,
207
+ form_record: [formRecordId]
208
+ });
209
+ await refreshViewModel();
210
+ }
211
+ }
212
+ });
213
+ }
214
+ if (type === "change_holder") {
215
+ const customer = (0, import_utils2.getCustomer)((_c2 = engineContext == null ? void 0 : engineContext.appHelper) == null ? void 0 : _c2.utils);
216
+ const params = !sourceItem ? null : {
217
+ customer_id: customer == null ? void 0 : customer.id,
218
+ form_id: sourceItem == null ? void 0 : sourceItem.form_id,
219
+ form_record: [sourceItem == null ? void 0 : sourceItem.form_record_id]
220
+ };
221
+ venueBookingModule.setBookingHolder((_e2 = (_d2 = item == null ? void 0 : item._origin) == null ? void 0 : _d2.product) == null ? void 0 : _e2.bookingUuid, params);
222
+ await refreshViewModel();
223
+ return;
224
+ }
147
225
  if (type !== "delete") return;
148
226
  const targetItem = sourceItem && typeof sourceItem === "object" ? sourceItem : item;
149
227
  if (currentStep !== "select-venue" && isVenueBookingCartItem(targetItem)) {
@@ -190,9 +268,9 @@ function Cart(props) {
190
268
  isShowNote: false,
191
269
  isShowDelete: true,
192
270
  isShowPackageNote: false,
193
- isShowChangeHolder: false,
194
- isShowHolder: false,
195
- isShowAddHolderButton: false
271
+ isShowChangeHolder: currentStep === "checkout" ? false : !!isLogin,
272
+ isShowHolder: true,
273
+ isShowAddHolderButton: true
196
274
  },
197
275
  platform: "h5",
198
276
  emptyText: import_utils.locales.getText("pisell2.venue.cart.empty"),
@@ -201,7 +279,7 @@ function Cart(props) {
201
279
  onChange: handleCartChange
202
280
  }
203
281
  ));
204
- const cartSummaryContent = /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, showVoucher ? /* @__PURE__ */ import_react.default.createElement(import_Voucher.default, null) : null, /* @__PURE__ */ import_react.default.createElement(import_subTotal.default, { list: subTotalList, style: { padding: 0 } }, ((_j = summary == null ? void 0 : summary.deposit) == null ? void 0 : _j.hasDeposit) ? /* @__PURE__ */ import_react.default.createElement(
282
+ const cartSummaryContent = /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, showVoucher ? /* @__PURE__ */ import_react.default.createElement(import_Voucher.default, null) : null, /* @__PURE__ */ import_react.default.createElement(import_subTotal.default, { list: subTotalList, style: { padding: 0 } }, ((_k = summary == null ? void 0 : summary.deposit) == null ? void 0 : _k.hasDeposit) ? /* @__PURE__ */ import_react.default.createElement(
205
283
  import_Deposit.default,
206
284
  {
207
285
  deposit: summary.deposit,
@@ -109,11 +109,7 @@ function VoucherCard() {
109
109
  className: "login-btn",
110
110
  onClick: () => {
111
111
  openLoginModal({
112
- callback: (status) => {
113
- if (status !== "success") return;
114
- handleLoginSuccess().then(() => {
115
- void syncAfterDiscountChange();
116
- });
112
+ callback: () => {
117
113
  }
118
114
  });
119
115
  }
@@ -41,6 +41,7 @@ var import_useEngineContext = require("../../hooks/useEngineContext");
41
41
  var import_useEngineContext2 = __toESM(require("../../hooks/useEngineContext"));
42
42
  var import_hooks = require("./hooks");
43
43
  var import_utils2 = require("./utils");
44
+ var import_buildCartHolderParams = require("../../utils/buildCartHolderParams");
44
45
  var VenueBookingContext = (0, import_react.createContext)(void 0);
45
46
  var INITIAL_VIEW_MODEL = {
46
47
  dateSummary: [],
@@ -388,8 +389,17 @@ function VenueBookingProvider({ entryContext, children }) {
388
389
  });
389
390
  return;
390
391
  }
392
+ if (currentStep === "addons") {
393
+ const { hasError } = (0, import_buildCartHolderParams.validateRequiredCartHolders)({
394
+ items: viewModel.cartItems,
395
+ getHolderConfig: import_buildCartHolderParams.getVenueCartHolderConfig
396
+ });
397
+ if (hasError) {
398
+ return;
399
+ }
400
+ }
391
401
  goToStep("checkout");
392
- }, [isLogin, openLoginModal, handleLoginSuccess, goToStep, venueBookingModule]);
402
+ }, [isLogin, openLoginModal, handleLoginSuccess, goToStep, venueBookingModule, currentStep, viewModel.cartItems, import_buildCartHolderParams.getVenueCartHolderConfig]);
393
403
  const handlePrimaryAction = (0, import_react.useCallback)(() => {
394
404
  var _a2, _b2;
395
405
  if (currentStep === "select-venue") {
@@ -417,7 +427,7 @@ function VenueBookingProvider({ entryContext, children }) {
417
427
  return;
418
428
  }
419
429
  void handleSubmitOrder();
420
- }, [currentStep, canNext, isAgreeDepositPolicy, viewModel.summary, stepList, proceedToCheckout, goToStep, handleSubmitOrder]);
430
+ }, [currentStep, canNext, isAgreeDepositPolicy, viewModel.summary, stepList, goToStep, handleSubmitOrder, proceedToCheckout]);
421
431
  (0, import_react.useEffect)(() => {
422
432
  var _a2;
423
433
  const pubsub = utils == null ? void 0 : utils.pubsub;
@@ -126,6 +126,7 @@ declare const _default: {
126
126
  'pisell2.appointment.policy.confirm': string;
127
127
  'pisell2.appointment.booking.empty.data': string;
128
128
  'pisell2.product-select.search': string;
129
+ 'pisell2.venue.create.form': string;
129
130
  };
130
131
  'zh-CN': {
131
132
  'pisell2.venue.step.select': string;
@@ -250,6 +251,7 @@ declare const _default: {
250
251
  'pisell2.appointment.policy.confirm': string;
251
252
  'pisell2.appointment.booking.empty.data': string;
252
253
  'pisell2.product-select.search': string;
254
+ 'pisell2.venue.create.form': string;
253
255
  };
254
256
  'zh-HK': {
255
257
  'pisell2.venue.step.select': string;
@@ -374,6 +376,7 @@ declare const _default: {
374
376
  'pisell2.appointment.policy.confirm': string;
375
377
  'pisell2.appointment.booking.empty.data': string;
376
378
  'pisell2.product-select.search': string;
379
+ 'pisell2.venue.create.form': string;
377
380
  };
378
381
  ja: {
379
382
  'pisell2.venue.step.select': string;
@@ -498,6 +501,7 @@ declare const _default: {
498
501
  'pisell2.appointment.policy.confirm': string;
499
502
  'pisell2.appointment.booking.empty.data': string;
500
503
  'pisell2.product-select.search': string;
504
+ 'pisell2.venue.create.form': string;
501
505
  };
502
506
  pt: {
503
507
  'pisell2.venue.step.select': string;
@@ -622,6 +626,7 @@ declare const _default: {
622
626
  'pisell2.appointment.policy.confirm': string;
623
627
  'pisell2.appointment.booking.empty.data': string;
624
628
  'pisell2.product-select.search': string;
629
+ 'pisell2.venue.create.form': string;
625
630
  };
626
631
  };
627
632
  export default _default;
@@ -145,7 +145,8 @@ var locales_default = {
145
145
  "pisell2.appointment.policy": "You have read and agreed to this policy",
146
146
  "pisell2.appointment.policy.confirm": "Confirm",
147
147
  "pisell2.appointment.booking.empty.data": "No data",
148
- "pisell2.product-select.search": "Search"
148
+ "pisell2.product-select.search": "Search",
149
+ "pisell2.venue.create.form": "Create form"
149
150
  },
150
151
  "zh-CN": {
151
152
  "pisell2.venue.step.select": "选择场地",
@@ -269,7 +270,8 @@ var locales_default = {
269
270
  "pisell2.appointment.policy": "您已仔细阅读并同意此协议",
270
271
  "pisell2.appointment.policy.confirm": "确定",
271
272
  "pisell2.appointment.booking.empty.data": "暂无数据",
272
- "pisell2.product-select.search": "搜索"
273
+ "pisell2.product-select.search": "搜索",
274
+ "pisell2.venue.create.form": "创建表单"
273
275
  },
274
276
  "zh-HK": {
275
277
  "pisell2.venue.step.select": "選擇場地",
@@ -393,7 +395,8 @@ var locales_default = {
393
395
  "pisell2.appointment.policy": "您已仔細閱讀並同意此協議",
394
396
  "pisell2.appointment.policy.confirm": "確定",
395
397
  "pisell2.appointment.booking.empty.data": "暫無數據",
396
- "pisell2.product-select.search": "搜索"
398
+ "pisell2.product-select.search": "搜索",
399
+ "pisell2.venue.create.form": "创建表单"
397
400
  },
398
401
  ja: {
399
402
  "pisell2.venue.step.select": "コートを選択",
@@ -517,7 +520,8 @@ var locales_default = {
517
520
  "pisell2.appointment.policy": "このポリシーを読み、同意しました",
518
521
  "pisell2.appointment.policy.confirm": "確認",
519
522
  "pisell2.appointment.booking.empty.data": "データなし",
520
- "pisell2.product-select.search": "検索"
523
+ "pisell2.product-select.search": "検索",
524
+ "pisell2.venue.create.form": "フォームを作成"
521
525
  },
522
526
  pt: {
523
527
  "pisell2.venue.step.select": "Escolher quadra",
@@ -641,6 +645,7 @@ var locales_default = {
641
645
  "pisell2.appointment.policy": "Você leu e concordou com esta política",
642
646
  "pisell2.appointment.policy.confirm": "Confirmar",
643
647
  "pisell2.appointment.booking.empty.data": "Sem dados",
644
- "pisell2.product-select.search": "Pesquisar"
648
+ "pisell2.product-select.search": "Pesquisar",
649
+ "pisell2.venue.create.form": "Criar formulário"
645
650
  }
646
651
  };
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const PhoneField: ({ value, onChange }: any) => JSX.Element;
2
3
  export default PhoneField;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { RenderItemProps } from '../../../../pro/Selector/types';
2
3
  declare const NormalCard: (props: RenderItemProps & {
3
4
  parentDataSource: any;
@@ -283,7 +283,7 @@ var locales_default = {
283
283
  "pisell-register2-complete-title": "注册完成!",
284
284
  "pisell-register2-redirecting": "正在重定向到您的帐户...",
285
285
  "pisell-login2-continue-with-email": "使用邮箱",
286
- "pisell-login2-continue-with-phone": "使用手机号继续",
286
+ "pisell-login2-continue-with-phone": "使用手机",
287
287
  "pisell-login2-email-not-registered": "该邮箱未注册,请先注册",
288
288
  "pisell-login2-check-email-failed": "检查邮箱失败,请重试",
289
289
  "pisell-login2-continue-failed": "继续失败,请重试",