@pisell/private-materials 6.4.73 → 6.4.75

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 (235) 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 +4 -4
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +5 -5
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +5 -5
  11. package/es/components/appointmentBooking/components/Footer/index.d.ts +1 -0
  12. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
  13. package/es/components/booking/addons/model.d.ts +10 -1
  14. package/es/components/booking/components/TabProduct/index.d.ts +1 -0
  15. package/es/components/booking/components/footer/index.js +62 -53
  16. package/es/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
  17. package/es/components/booking/forms/model.d.ts +10 -1
  18. package/es/components/booking/forms/table/index.d.ts +1 -0
  19. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
  20. package/es/components/booking/info/model.d.ts +10 -1
  21. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  22. package/es/components/booking/info/service/like/index.d.ts +1 -0
  23. package/es/components/booking/info/service2/utils.d.ts +1 -1
  24. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  25. package/es/components/booking/materiels/holder/index.d.ts +1 -0
  26. package/es/components/booking/model.d.ts +9 -1
  27. package/es/components/booking/notes/model.d.ts +10 -1
  28. package/es/components/booking/payments/model.d.ts +10 -1
  29. package/es/components/booking/utils.d.ts +2 -2
  30. package/es/components/checkout/PaymentModal.js +178 -108
  31. package/es/components/checkout/components/AdditionalModule/index.d.ts +3 -1
  32. package/es/components/checkout/components/AdditionalModule/index.js +50 -12
  33. package/es/components/checkout/components/AmountSummary/index.js +9 -76
  34. package/es/components/checkout/components/AmountSummary/index.less +1 -1
  35. package/es/components/checkout/components/CashPaymentModule/index.d.ts +3 -1
  36. package/es/components/checkout/components/CashPaymentModule/index.js +5 -2
  37. package/es/components/checkout/components/PaymentOptionsModule/PaymentMethodItem.d.ts +2 -0
  38. package/es/components/checkout/components/PaymentOptionsModule/PaymentMethodItem.js +6 -1
  39. package/es/components/checkout/components/PaymentOptionsModule/index.d.ts +1 -0
  40. package/es/components/checkout/components/PaymentOptionsModule/index.js +2 -1
  41. package/es/components/checkout/components/PaymentOptionsModule/index.less +4 -0
  42. package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +4 -0
  43. package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.js +31 -8
  44. package/es/components/checkout/components/PaymentResultToast/index.js +6 -6
  45. package/es/components/checkout/components/PaymentResultToast/index.less +94 -33
  46. package/es/components/checkout/hooks/useWalletPass.d.ts +1 -1
  47. package/es/components/checkout/index.less +1 -1
  48. package/es/components/checkout/locales.d.ts +3 -0
  49. package/es/components/checkout/locales.js +3 -0
  50. package/es/components/checkout/utils/PaymentResultToastUtils.js +11 -1
  51. package/es/components/eftpos/deviceList/index.d.ts +1 -0
  52. package/es/components/eftpos/form/index.d.ts +1 -0
  53. package/es/components/eftpos/group/index.d.ts +1 -0
  54. package/es/components/eftpos/hooks.d.ts +1 -0
  55. package/es/components/eftpos/icon/apiKey.d.ts +1 -0
  56. package/es/components/eftpos/icon/device.d.ts +1 -0
  57. package/es/components/eftpos/receipt/index.d.ts +1 -0
  58. package/es/components/eftposPay/amount.d.ts +1 -1
  59. package/es/components/eftposPay/component/alert/warn.d.ts +1 -0
  60. package/es/components/eftposPay/component/header/titlebar.d.ts +1 -0
  61. package/es/components/eftposPay/component/step/index.d.ts +1 -0
  62. package/es/components/eftposPay/component/step/step.d.ts +1 -0
  63. package/es/components/eftposPay/device.d.ts +1 -1
  64. package/es/components/eftposPay/hooks.d.ts +2 -2
  65. package/es/components/eftposPay/store/index.d.ts +4 -4
  66. package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
  67. package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  68. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  69. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
  70. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
  71. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  72. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  73. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
  74. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
  75. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
  76. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
  77. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
  78. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  79. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
  80. package/es/components/pay/toC/model.d.ts +9 -1
  81. package/es/components/productExtension/fields/Actor/index.d.ts +1 -0
  82. package/es/components/productExtension/fields/Forms/index.d.ts +1 -0
  83. package/es/components/schedules/calendar/calendarItem.d.ts +1 -0
  84. package/es/components/schedules/components/CurrentDay/index.d.ts +1 -0
  85. package/es/components/schedules/model.d.ts +9 -1
  86. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
  87. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
  88. package/es/components/schedules/products/index.d.ts +1 -0
  89. package/es/components/schedules/resources/relationProduct/index.d.ts +1 -0
  90. package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
  91. package/es/components/shoppingCart/components/Render/index.d.ts +1 -0
  92. package/es/components/ticketBooking/components/timeBar/index.js +112 -7
  93. package/es/components/ticketBooking/components/timeBar/index.less +59 -0
  94. package/es/components/ticketBooking/locales.d.ts +6 -0
  95. package/es/components/ticketBooking/locales.js +9 -3
  96. package/es/components/ticketBooking/utils/index.d.ts +1 -1
  97. package/es/components/wallet/Detail/model.d.ts +13 -1
  98. package/es/components/wallet/DiscountCard/model.d.ts +14 -1
  99. package/es/components/wallet/PointCard/model.d.ts +13 -1
  100. package/es/components/wallet/RechargeableCard/model.d.ts +29 -1
  101. package/es/components/wallet/Voucher/model.d.ts +13 -1
  102. package/es/components/wallet/model.d.ts +9 -1
  103. package/es/components/workSpaceList/components/Modal/index.d.ts +1 -0
  104. package/es/plus/clientName/index.d.ts +1 -0
  105. package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
  106. package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +1 -1
  107. package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
  108. package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +1 -1
  109. package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
  110. package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +1 -1
  111. package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
  112. package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +1 -1
  113. package/es/pro/pisellPaymentList/example.d.ts +1 -0
  114. package/es/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.js +11 -7
  115. package/es/pro/priceKeyboard/components/cashKeyboard/index.d.ts +1 -0
  116. package/es/pro/priceKeyboard/components/cashKeyboard/index.js +4 -2
  117. package/es/pro/priceKeyboard/components/cashKeyboard/types.d.ts +1 -0
  118. package/es/pro/priceKeyboard/components/discountKeyboard/index.js +10 -1
  119. package/es/pro/priceKeyboard/components/discountKeyboard/index.less +14 -0
  120. package/es/pro/priceKeyboard/components/shortcuts/index.d.ts +1 -0
  121. package/es/pro/priceKeyboard/components/shortcuts/index.js +5 -2
  122. package/es/pro/priceKeyboard/components/shortcuts/index.less +4 -0
  123. package/lib/components/appointmentBooking/components/Footer/index.d.ts +1 -0
  124. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
  125. package/lib/components/booking/addons/model.d.ts +10 -1
  126. package/lib/components/booking/components/TabProduct/index.d.ts +1 -0
  127. package/lib/components/booking/components/footer/index.js +15 -8
  128. package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
  129. package/lib/components/booking/forms/model.d.ts +10 -1
  130. package/lib/components/booking/forms/table/index.d.ts +1 -0
  131. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
  132. package/lib/components/booking/info/model.d.ts +10 -1
  133. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  134. package/lib/components/booking/info/service/like/index.d.ts +1 -0
  135. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  136. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  137. package/lib/components/booking/materiels/holder/index.d.ts +1 -0
  138. package/lib/components/booking/model.d.ts +9 -1
  139. package/lib/components/booking/notes/model.d.ts +10 -1
  140. package/lib/components/booking/payments/model.d.ts +10 -1
  141. package/lib/components/booking/utils.d.ts +2 -2
  142. package/lib/components/checkout/PaymentModal.js +73 -11
  143. package/lib/components/checkout/components/AdditionalModule/index.d.ts +3 -1
  144. package/lib/components/checkout/components/AdditionalModule/index.js +50 -11
  145. package/lib/components/checkout/components/AmountSummary/index.js +5 -46
  146. package/lib/components/checkout/components/AmountSummary/index.less +1 -1
  147. package/lib/components/checkout/components/CashPaymentModule/index.d.ts +3 -1
  148. package/lib/components/checkout/components/CashPaymentModule/index.js +5 -2
  149. package/lib/components/checkout/components/PaymentOptionsModule/PaymentMethodItem.d.ts +2 -0
  150. package/lib/components/checkout/components/PaymentOptionsModule/PaymentMethodItem.js +5 -1
  151. package/lib/components/checkout/components/PaymentOptionsModule/index.d.ts +1 -0
  152. package/lib/components/checkout/components/PaymentOptionsModule/index.js +6 -0
  153. package/lib/components/checkout/components/PaymentOptionsModule/index.less +4 -0
  154. package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +4 -0
  155. package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.js +23 -5
  156. package/lib/components/checkout/components/PaymentResultToast/index.js +4 -4
  157. package/lib/components/checkout/components/PaymentResultToast/index.less +94 -33
  158. package/lib/components/checkout/hooks/useWalletPass.d.ts +1 -1
  159. package/lib/components/checkout/index.less +1 -1
  160. package/lib/components/checkout/locales.d.ts +3 -0
  161. package/lib/components/checkout/locales.js +3 -0
  162. package/lib/components/checkout/utils/PaymentResultToastUtils.js +11 -1
  163. package/lib/components/eftpos/deviceList/index.d.ts +1 -0
  164. package/lib/components/eftpos/form/index.d.ts +1 -0
  165. package/lib/components/eftpos/group/index.d.ts +1 -0
  166. package/lib/components/eftpos/hooks.d.ts +1 -0
  167. package/lib/components/eftpos/icon/apiKey.d.ts +1 -0
  168. package/lib/components/eftpos/icon/device.d.ts +1 -0
  169. package/lib/components/eftpos/receipt/index.d.ts +1 -0
  170. package/lib/components/eftposPay/amount.d.ts +1 -1
  171. package/lib/components/eftposPay/component/alert/warn.d.ts +1 -0
  172. package/lib/components/eftposPay/component/header/titlebar.d.ts +1 -0
  173. package/lib/components/eftposPay/component/step/index.d.ts +1 -0
  174. package/lib/components/eftposPay/component/step/step.d.ts +1 -0
  175. package/lib/components/eftposPay/device.d.ts +1 -1
  176. package/lib/components/eftposPay/hooks.d.ts +2 -2
  177. package/lib/components/eftposPay/store/index.d.ts +4 -4
  178. package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
  179. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  180. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  181. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
  182. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
  183. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  184. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  185. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
  186. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
  187. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
  188. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
  189. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
  190. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  191. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
  192. package/lib/components/pay/toC/model.d.ts +9 -1
  193. package/lib/components/productExtension/fields/Actor/index.d.ts +1 -0
  194. package/lib/components/productExtension/fields/Forms/index.d.ts +1 -0
  195. package/lib/components/schedules/calendar/calendarItem.d.ts +1 -0
  196. package/lib/components/schedules/components/CurrentDay/index.d.ts +1 -0
  197. package/lib/components/schedules/model.d.ts +9 -1
  198. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
  199. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
  200. package/lib/components/schedules/products/index.d.ts +1 -0
  201. package/lib/components/schedules/resources/relationProduct/index.d.ts +1 -0
  202. package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
  203. package/lib/components/shoppingCart/components/Render/index.d.ts +1 -0
  204. package/lib/components/ticketBooking/components/timeBar/index.js +105 -4
  205. package/lib/components/ticketBooking/components/timeBar/index.less +59 -0
  206. package/lib/components/ticketBooking/locales.d.ts +6 -0
  207. package/lib/components/ticketBooking/locales.js +9 -3
  208. package/lib/components/ticketBooking/utils/index.d.ts +1 -1
  209. package/lib/components/wallet/Detail/model.d.ts +13 -1
  210. package/lib/components/wallet/DiscountCard/model.d.ts +14 -1
  211. package/lib/components/wallet/PointCard/model.d.ts +13 -1
  212. package/lib/components/wallet/RechargeableCard/model.d.ts +29 -1
  213. package/lib/components/wallet/Voucher/model.d.ts +13 -1
  214. package/lib/components/wallet/model.d.ts +9 -1
  215. package/lib/components/workSpaceList/components/Modal/index.d.ts +1 -0
  216. package/lib/plus/clientName/index.d.ts +1 -0
  217. package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
  218. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +1 -1
  219. package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
  220. package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +1 -1
  221. package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
  222. package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +1 -1
  223. package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
  224. package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +1 -1
  225. package/lib/pro/pisellPaymentList/example.d.ts +1 -0
  226. package/lib/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.js +9 -5
  227. package/lib/pro/priceKeyboard/components/cashKeyboard/index.d.ts +1 -0
  228. package/lib/pro/priceKeyboard/components/cashKeyboard/index.js +3 -2
  229. package/lib/pro/priceKeyboard/components/cashKeyboard/types.d.ts +1 -0
  230. package/lib/pro/priceKeyboard/components/discountKeyboard/index.js +8 -1
  231. package/lib/pro/priceKeyboard/components/discountKeyboard/index.less +14 -0
  232. package/lib/pro/priceKeyboard/components/shortcuts/index.d.ts +1 -0
  233. package/lib/pro/priceKeyboard/components/shortcuts/index.js +3 -2
  234. package/lib/pro/priceKeyboard/components/shortcuts/index.less +4 -0
  235. package/package.json +1 -1
@@ -20,4 +20,63 @@
20
20
  }
21
21
  }
22
22
  }
23
+
24
+ // 收起状态
25
+ &.collapsed {
26
+ position: fixed;
27
+ bottom: 0;
28
+ left: 86px;
29
+ padding: 0;
30
+ background-color: transparent;
31
+ display: block;
32
+ // 高度通过内联样式动态设置以补偿 body 的 scale
33
+
34
+ .pisell-ticket-booking-time-bar-collapsed-content {
35
+ display: flex;
36
+ align-items: center;
37
+ justify-content: space-between;
38
+ width: 100%;
39
+ // 高度通过内联样式动态设置以补偿 body 的 scale
40
+ padding: 0 16px;
41
+ background-color: #fff;
42
+ border-radius: 0 8px 8px 0;
43
+ box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
44
+ box-sizing: border-box;
45
+ overflow: hidden;
46
+
47
+ .pisell-ticket-booking-time-bar-collapsed-today {
48
+ font-weight: 600;
49
+ font-size: 18px;
50
+ color: #000;
51
+ flex-shrink: 0;
52
+ margin-right: 16px;
53
+ // line-height 通过内联样式动态设置
54
+ }
55
+
56
+ .pisell-ticket-booking-time-bar-collapsed-expand {
57
+ color: #7F56DA;
58
+ padding: 0;
59
+ margin: 0;
60
+ height: auto;
61
+ font-size: 18px;
62
+ font-weight: 500;
63
+ display: inline-flex;
64
+ align-items: center;
65
+ flex-shrink: 0;
66
+ // line-height 通过内联样式动态设置
67
+
68
+ &:hover {
69
+ color: #6941c6;
70
+ }
71
+
72
+ span {
73
+ margin-right: 2px;
74
+ }
75
+ .anticon {
76
+ margin-left: 0px;
77
+ margin-right: 0px;
78
+ }
79
+ }
80
+ }
81
+ }
23
82
  }
@@ -61,6 +61,8 @@ declare const _default: {
61
61
  'pisell2.ticket-booking.terminal-upgrade-description': string;
62
62
  'pisell2.ticket-booking.terminal-upgrade-ok': string;
63
63
  'pisell2.ticket-booking.terminal-upgrade-cancel': string;
64
+ 'pisell2.ticket-booking.collapse': string;
65
+ 'pisell2.ticket-booking.expand': string;
64
66
  };
65
67
  'zh-CN': {
66
68
  'pisell2.ticket-booking.info': string;
@@ -124,6 +126,8 @@ declare const _default: {
124
126
  'pisell2.ticket-booking.terminal-upgrade-description': string;
125
127
  'pisell2.ticket-booking.terminal-upgrade-ok': string;
126
128
  'pisell2.ticket-booking.terminal-upgrade-cancel': string;
129
+ 'pisell2.ticket-booking.collapse': string;
130
+ 'pisell2.ticket-booking.expand': string;
127
131
  };
128
132
  'zh-HK': {
129
133
  'pisell2.ticket-booking.info': string;
@@ -187,6 +191,8 @@ declare const _default: {
187
191
  'pisell2.ticket-booking.terminal-upgrade-description': string;
188
192
  'pisell2.ticket-booking.terminal-upgrade-ok': string;
189
193
  'pisell2.ticket-booking.terminal-upgrade-cancel': string;
194
+ 'pisell2.ticket-booking.collapse': string;
195
+ 'pisell2.ticket-booking.expand': string;
190
196
  };
191
197
  };
192
198
  export default _default;
@@ -73,7 +73,9 @@ export default {
73
73
  'pisell2.ticket-booking.terminal-upgrade-title': 'Terminal Version Reminder',
74
74
  'pisell2.ticket-booking.terminal-upgrade-description': 'Your Terminal version is outdated. Please upgrade Terminal to use all features.',
75
75
  'pisell2.ticket-booking.terminal-upgrade-ok': 'I understand',
76
- 'pisell2.ticket-booking.terminal-upgrade-cancel': 'Cancel'
76
+ 'pisell2.ticket-booking.terminal-upgrade-cancel': 'Cancel',
77
+ 'pisell2.ticket-booking.collapse': 'Collapse',
78
+ 'pisell2.ticket-booking.expand': 'Expand'
77
79
  },
78
80
  'zh-CN': {
79
81
  'pisell2.ticket-booking.info': '信息',
@@ -149,7 +151,9 @@ export default {
149
151
  'pisell2.ticket-booking.terminal-upgrade-title': 'Terminal版本提醒',
150
152
  'pisell2.ticket-booking.terminal-upgrade-description': '检测到您的Terminal版本较低,请升级Terminal以使用完整功能',
151
153
  'pisell2.ticket-booking.terminal-upgrade-ok': '我知道了',
152
- 'pisell2.ticket-booking.terminal-upgrade-cancel': '取消'
154
+ 'pisell2.ticket-booking.terminal-upgrade-cancel': '取消',
155
+ 'pisell2.ticket-booking.collapse': '收起',
156
+ 'pisell2.ticket-booking.expand': '展开'
153
157
  },
154
158
  'zh-HK': {
155
159
  'pisell2.ticket-booking.info': '資訊',
@@ -225,6 +229,8 @@ export default {
225
229
  'pisell2.ticket-booking.terminal-upgrade-title': 'Terminal版本提醒',
226
230
  'pisell2.ticket-booking.terminal-upgrade-description': '檢測到您的Terminal版本較低,請升級Terminal以使用完整功能',
227
231
  'pisell2.ticket-booking.terminal-upgrade-ok': '我知道了',
228
- 'pisell2.ticket-booking.terminal-upgrade-cancel': '取消'
232
+ 'pisell2.ticket-booking.terminal-upgrade-cancel': '取消',
233
+ 'pisell2.ticket-booking.collapse': '收起',
234
+ 'pisell2.ticket-booking.expand': '展開'
229
235
  }
230
236
  };
@@ -41,7 +41,7 @@ declare type ScanData = {
41
41
  };
42
42
  };
43
43
  export declare const formatScanCustomer: (data: ScanData) => {
44
- searchType: "customer" | "product" | "wallet" | "walletPass" | "local_product";
44
+ searchType: "product" | "customer" | "wallet" | "walletPass" | "local_product";
45
45
  data: any;
46
46
  scanCode: string;
47
47
  } | null;
@@ -1 +1,13 @@
1
- export declare const Provider: any, Context: any;
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 +1,14 @@
1
- export declare const Provider: any, Context: any;
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 +1,13 @@
1
- export declare const Provider: any, Context: any;
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 +1,29 @@
1
- export declare const Provider: any, Context: any;
1
+ /// <reference types="react" />
2
+ interface RechargeState {
3
+ selectedGiftOptionId: string | null;
4
+ cardList: Array<{
5
+ id: string;
6
+ name: string;
7
+ price: number;
8
+ }>;
9
+ selectedItem: {
10
+ id?: string;
11
+ gift_price?: number;
12
+ price?: number;
13
+ name?: string;
14
+ variant_id?: string;
15
+ };
16
+ productId?: string;
17
+ detailId?: string;
18
+ total: string | number;
19
+ rechargeModalOpen: boolean;
20
+ }
21
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
22
+ state: RechargeState;
23
+ } & {
24
+ dispatch: (params: {
25
+ type: string;
26
+ payload: any;
27
+ }) => void;
28
+ }>;
29
+ export {};
@@ -1 +1,13 @@
1
- export declare const Provider: any, Context: any;
1
+ /// <reference types="react" />
2
+ interface RechargeState {
3
+ total: 0;
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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { IWalletListItemProps } from './serve';
2
3
  export interface WalletCardItemProps {
3
4
  id: string;
@@ -26,4 +27,11 @@ export interface WalletListProps {
26
27
  currentSearchListItemCode?: string;
27
28
  [key: string]: any;
28
29
  }
29
- export declare const Provider: any, Context: any;
30
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
31
+ global_wallet: WalletListProps;
32
+ } & {
33
+ dispatch: (params: {
34
+ type: string;
35
+ payload: any;
36
+ }) => void;
37
+ }>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Modal as AntModal, ModalFuncProps as AntModalFuncProps, ModalProps as AntModalProps } from 'antd';
2
3
  import './index.less';
3
4
  interface ModalProps extends AntModalProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  import { IClientNameProps } from './type';
3
4
  declare const ClientName: ({ className, dataSource, style }: IClientNameProps) => JSX.Element | null;
@@ -2,5 +2,5 @@ import React from 'react';
2
2
  import { ProductCardConfig } from '../../type';
3
3
  declare const Capacity: ({ props }: {
4
4
  props: ProductCardConfig;
5
- }) => string | number | true | React.ReactFragment | JSX.Element | null;
5
+ }) => string | number | true | JSX.Element | React.ReactFragment | null;
6
6
  export default Capacity;
@@ -3,5 +3,5 @@ import { SkuStatusOverlayConfig } from '../../type';
3
3
  import './index.less';
4
4
  declare const CardMask: ({ props }: {
5
5
  props: SkuStatusOverlayConfig;
6
- }) => string | number | true | React.ReactFragment | JSX.Element | null;
6
+ }) => string | number | true | JSX.Element | React.ReactFragment | null;
7
7
  export default CardMask;
@@ -3,5 +3,5 @@ import { ProductCardConfig } from '../../type';
3
3
  import './index.less';
4
4
  declare const Countdown: ({ props }: {
5
5
  props: ProductCardConfig;
6
- }) => string | number | true | React.ReactFragment | JSX.Element | null;
6
+ }) => string | number | true | JSX.Element | React.ReactFragment | null;
7
7
  export default Countdown;
@@ -2,5 +2,5 @@ import React from 'react';
2
2
  import { ProductCardConfig } from '../../type';
3
3
  declare const Duration: ({ props }: {
4
4
  props: ProductCardConfig;
5
- }) => string | number | true | React.ReactFragment | JSX.Element | null;
5
+ }) => string | number | true | JSX.Element | React.ReactFragment | null;
6
6
  export default Duration;
@@ -3,5 +3,5 @@ import { ProductCardConfig } from '../../type';
3
3
  import './index.less';
4
4
  declare const MemberPrice: ({ props }: {
5
5
  props: ProductCardConfig;
6
- }) => string | number | true | React.ReactFragment | JSX.Element | null;
6
+ }) => string | number | true | JSX.Element | React.ReactFragment | null;
7
7
  export default MemberPrice;
@@ -2,5 +2,5 @@ import React from 'react';
2
2
  import { ProductCardConfig } from '../../type';
3
3
  declare const Resource: ({ props }: {
4
4
  props: ProductCardConfig;
5
- }) => string | number | true | React.ReactFragment | JSX.Element | null;
5
+ }) => string | number | true | JSX.Element | React.ReactFragment | null;
6
6
  export default Resource;
@@ -2,5 +2,5 @@ import React from 'react';
2
2
  import { ProductCardConfig } from '../../type';
3
3
  declare const Stock: ({ props }: {
4
4
  props: ProductCardConfig;
5
- }) => string | number | true | React.ReactFragment | JSX.Element | null;
5
+ }) => string | number | true | JSX.Element | React.ReactFragment | null;
6
6
  export default Stock;
@@ -2,5 +2,5 @@ import React from 'react';
2
2
  import { ProductCardConfig } from '../../type';
3
3
  declare const Time: ({ props }: {
4
4
  props: ProductCardConfig;
5
- }) => string | number | true | React.ReactFragment | JSX.Element | null;
5
+ }) => string | number | true | JSX.Element | React.ReactFragment | null;
6
6
  export default Time;
@@ -4,6 +4,7 @@
4
4
  * 这个文件演示了如何使用 PisellPaymentList 和 PisellPaymentListItem 组件
5
5
  * 包括如何通过 Context 访问父组件配置
6
6
  */
7
+ /// <reference types="react" />
7
8
  export declare const BasicExample: () => JSX.Element;
8
9
  export declare const ChildrenExample: () => JSX.Element;
9
10
  export declare const CustomItemExample: () => JSX.Element;
@@ -46,7 +46,8 @@ var CashKeyboardIntact = function CashKeyboardIntact(props) {
46
46
  doneText = props.doneText,
47
47
  resetText = props.resetText,
48
48
  disabled = props.disabled,
49
- hiddenChangeDue = props.hiddenChangeDue;
49
+ hiddenChangeDue = props.hiddenChangeDue,
50
+ shortcutsSize = props.shortcutsSize;
50
51
  var _useControllableValue = useControllableValue(props),
51
52
  _useControllableValue2 = _slicedToArray(_useControllableValue, 2),
52
53
  internalValue = _useControllableValue2[0],
@@ -69,7 +70,7 @@ var CashKeyboardIntact = function CashKeyboardIntact(props) {
69
70
  setKeyboardTheme(selectType);
70
71
  }, [selectType]);
71
72
 
72
- // 变体2:末尾有三个默认预设项,总数不大于8
73
+ // 变体2:末尾有三个默认预设项,总数不大于7(因为支付占了 2)
73
74
  var getDefaultPresets = function getDefaultPresets() {
74
75
  var defaultEndPresets = [{
75
76
  label: locales.getText('cash-keyboard-other'),
@@ -113,7 +114,8 @@ var CashKeyboardIntact = function CashKeyboardIntact(props) {
113
114
  value: 'pay',
114
115
  style: {
115
116
  color: 'white',
116
- backgroundColor: '#7F56DA'
117
+ backgroundColor: '#7F56DA',
118
+ gridColumn: 'span 2'
117
119
  },
118
120
  onClick: function onClick() {
119
121
  var _props$onEnter;
@@ -122,8 +124,8 @@ var CashKeyboardIntact = function CashKeyboardIntact(props) {
122
124
  }];
123
125
  var userPresets = presets || [];
124
126
 
125
- // 计算可用的用户预设数量(总数8 - 默认3个 = 5个)
126
- var maxUserPresets = 8 - defaultEndPresets.length;
127
+ // 计算可用的用户预设数量(总数7 - 默认3个 = 4个)
128
+ var maxUserPresets = 7 - defaultEndPresets.length;
127
129
  var limitedUserPresets = userPresets.slice(0, maxUserPresets);
128
130
  return [].concat(_toConsumableArray(limitedUserPresets), defaultEndPresets);
129
131
  };
@@ -252,10 +254,11 @@ var CashKeyboardIntact = function CashKeyboardIntact(props) {
252
254
  padding: '6px 16px',
253
255
  borderRadius: '8px',
254
256
  backgroundColor: 'white',
255
- boxShadow: '0px 1px 2px rgba(16, 24, 40, 0.06)',
257
+ boxShadow: 'inset 0 2px 4px rgba(16, 24, 40, 0.08), inset 0 -2px 4px rgba(16, 24, 40, 0.08), inset 2px 0 4px rgba(16, 24, 40, 0.08), inset -2px 0 4px rgba(16, 24, 40, 0.08)',
256
258
  overflow: 'hidden',
257
259
  maxWidth: 188,
258
- cursor: 'pointer'
260
+ cursor: 'pointer',
261
+ border: '1px solid #7f56da'
259
262
  }),
260
263
  onClick: function onClick() {
261
264
  setIsShowModal(true);
@@ -314,6 +317,7 @@ var CashKeyboardIntact = function CashKeyboardIntact(props) {
314
317
  hideDecimalForWholeNumbers: false,
315
318
  precision: 2
316
319
  })))))), /*#__PURE__*/React.createElement(Shortcuts, {
320
+ size: shortcutsSize || 'default',
317
321
  presets: getDefaultPresets(),
318
322
  onChange: setInternalValue,
319
323
  disabled: disabled
@@ -6,6 +6,7 @@ export interface CashKeyboardProps extends CashKeyboardBaseProps {
6
6
  [key: string]: any;
7
7
  };
8
8
  variant?: 'intact' | 'simple';
9
+ shortcutsSize?: 'default' | 'large';
9
10
  }
10
11
  declare const CashKeyboard: (props: CashKeyboardProps) => JSX.Element;
11
12
  export default CashKeyboard;
@@ -1,4 +1,4 @@
1
- var _excluded = ["variant", "value", "onChange"];
1
+ var _excluded = ["variant", "value", "onChange", "shortcutsSize"];
2
2
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
3
3
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
4
4
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
@@ -26,6 +26,7 @@ var CashKeyboard = function CashKeyboard(props) {
26
26
  variant = _props$variant === void 0 ? 'intact' : _props$variant,
27
27
  value = props.value,
28
28
  onChange = props.onChange,
29
+ shortcutsSize = props.shortcutsSize,
29
30
  otherProps = _objectWithoutProperties(props, _excluded);
30
31
  var _useControllableValue = useControllableValue(props),
31
32
  _useControllableValue2 = _slicedToArray(_useControllableValue, 2),
@@ -36,7 +37,8 @@ var CashKeyboard = function CashKeyboard(props) {
36
37
  amountSymbol: amountSymbol,
37
38
  value: internalValue,
38
39
  placeholder: "".concat(amountSymbol, "0"),
39
- onChange: setInternalValue
40
+ onChange: setInternalValue,
41
+ shortcutsSize: shortcutsSize
40
42
  }));
41
43
  }
42
44
  return /*#__PURE__*/React.createElement(CashKeyboardSimple, _extends({}, otherProps, {
@@ -94,4 +94,5 @@ export interface CashKeyboardBaseProps {
94
94
  keyboardButtonBackgroundColor?: string;
95
95
  keyboardButtonTextColor?: string;
96
96
  keyboardButtonHoverColor?: string;
97
+ shortcutsSize?: 'default' | 'large';
97
98
  }
@@ -46,6 +46,7 @@ var DiscountKeyboardBase = function DiscountKeyboardBase(props) {
46
46
  originalValue = props.originalValue,
47
47
  _props$selectType = props.selectType,
48
48
  selectType = _props$selectType === void 0 ? 'light' : _props$selectType,
49
+ tips = props.tips,
49
50
  resetText = props.resetText,
50
51
  doneText = props.doneText,
51
52
  onEnter = props.onEnter,
@@ -309,9 +310,17 @@ var DiscountKeyboardBase = function DiscountKeyboardBase(props) {
309
310
  value: payableAmount
310
311
  })))));
311
312
  };
313
+ var renderTipsContent = function renderTipsContent() {
314
+ if (tips) {
315
+ return /*#__PURE__*/React.createElement("div", {
316
+ className: "pisell-pro-price-keyboard-tips"
317
+ }, tips);
318
+ }
319
+ return null;
320
+ };
312
321
  return /*#__PURE__*/React.createElement("div", {
313
322
  className: "pisell-pro-price-keyboard-discount"
314
- }, /*#__PURE__*/React.createElement(Segmented, {
323
+ }, renderTipsContent(), /*#__PURE__*/React.createElement(Segmented, {
315
324
  size: "large",
316
325
  style: {
317
326
  padding: 6
@@ -7,6 +7,20 @@
7
7
  gap: 10px;
8
8
  background-color: var(--pisell-pro-price-keyboard-bg-color, #ffffff);
9
9
 
10
+ .pisell-pro-price-keyboard-tips {
11
+ background-color: var(
12
+ --pisell-pro-price-keyboard-bg-color-gray-200,
13
+ #eaecf0
14
+ );
15
+ color: #ffffff;
16
+ font-size: 14px;
17
+ font-weight: 600;
18
+ height: 36px;
19
+ line-height: 36px;
20
+ text-align: center;
21
+ border-radius: 8px;
22
+ }
23
+
10
24
  .ellipsis {
11
25
  overflow: hidden;
12
26
  text-overflow: ellipsis;
@@ -12,6 +12,7 @@ export interface ShortcutsProps {
12
12
  presets?: ShortcutsItem[];
13
13
  onChange?: (val: string) => void;
14
14
  disabled?: boolean;
15
+ size?: 'default' | 'large';
15
16
  }
16
17
  declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<ShortcutsProps & React.RefAttributes<HTMLDivElement>>>;
17
18
  export default _default;
@@ -4,7 +4,9 @@ import "./index.less";
4
4
  var Shortcuts = /*#__PURE__*/forwardRef(function (props, ref) {
5
5
  var presets = props.presets,
6
6
  onChange = props.onChange,
7
- disabled = props.disabled;
7
+ disabled = props.disabled,
8
+ _props$size = props.size,
9
+ size = _props$size === void 0 ? 'default' : _props$size;
8
10
  var handleItemClick = function handleItemClick(item) {
9
11
  if (disabled || item.disabled) {
10
12
  return;
@@ -32,7 +34,8 @@ var Shortcuts = /*#__PURE__*/forwardRef(function (props, ref) {
32
34
  var itemProps = {
33
35
  key: index,
34
36
  className: classNames('pisell-virtual-keyboard-shortcut', {
35
- disabled: item.disabled
37
+ disabled: item.disabled,
38
+ large: size === 'large'
36
39
  }),
37
40
  style: item.style,
38
41
  onClick: function onClick() {
@@ -28,6 +28,10 @@
28
28
  cursor: pointer;
29
29
  position: relative;
30
30
 
31
+ &.large {
32
+ height: 54px;
33
+ }
34
+
31
35
  &.disabled {
32
36
  cursor: not-allowed;
33
37
  pointer-events: none;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Footer: ({ onNext, isOpen }: any) => JSX.Element;
3
4
  export default Footer;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const GuestOptionsModal: (props: any) => JSX.Element;
3
4
  export default GuestOptionsModal;
@@ -1 +1,10 @@
1
- export declare const Provider: any, Context: any;
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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  interface TabProductProps {
3
4
  list: any[];
@@ -467,7 +467,11 @@ var Footer = (props) => {
467
467
  (_l = (_k = state.client) == null ? void 0 : _k.value) == null ? void 0 : _l.id
468
468
  ]);
469
469
  const handleCheckoutInternal = async () => {
470
- (0, import_PaymentResultToast.closeAllPaymentResultToasts)();
470
+ var _a2, _b2, _c2;
471
+ const isToastMode = ((_c2 = (_b2 = (_a2 = state == null ? void 0 : state.bookingConfig) == null ? void 0 : _a2.config) == null ? void 0 : _b2.payment_setting) == null ? void 0 : _c2.payment_result_display_mode) !== "modal";
472
+ if (isToastMode) {
473
+ (0, import_PaymentResultToast.closeAllPaymentResultToasts)();
474
+ }
471
475
  const isNewOrder = !state.bookingId;
472
476
  if (isEdit) {
473
477
  if ((0, import_utils2.isDayBooking)(state)) {
@@ -494,18 +498,18 @@ var Footer = (props) => {
494
498
  setIsPaymentModalOpen(true);
495
499
  setCheckoutLoading(false);
496
500
  setPaymentCallback(() => (paymentResult) => {
497
- var _a2, _b2, _c2, _d2;
501
+ var _a3, _b3, _c3, _d2;
498
502
  console.log("Payment result:", paymentResult);
499
503
  setIsPaymentModalOpen(false);
500
504
  if ((paymentResult == null ? void 0 : paymentResult.status) === "success") {
501
505
  console.log("Payment completed successfully");
502
- (_b2 = (_a2 = window == null ? void 0 : window.shopApi) == null ? void 0 : _a2.bookingTicket) == null ? void 0 : _b2.clearAllCart();
506
+ (_b3 = (_a3 = window == null ? void 0 : window.shopApi) == null ? void 0 : _a3.bookingTicket) == null ? void 0 : _b3.clearAllCart();
503
507
  setPaymentModalData(null);
504
508
  setPaymentCallback(null);
505
509
  } else if ((paymentResult == null ? void 0 : paymentResult.status) === "cancelled") {
506
510
  console.log("Payment cancelled");
507
511
  if (res == null ? void 0 : res.order_id) {
508
- (_d2 = (_c2 = window == null ? void 0 : window.shopApi) == null ? void 0 : _c2.booking) == null ? void 0 : _d2.voidBooking(res.order_id);
512
+ (_d2 = (_c3 = window == null ? void 0 : window.shopApi) == null ? void 0 : _c3.booking) == null ? void 0 : _d2.voidBooking(res.order_id);
509
513
  }
510
514
  setPaymentModalData(null);
511
515
  setPaymentCallback(null);
@@ -596,8 +600,11 @@ var Footer = (props) => {
596
600
  messageShow = true,
597
601
  noSubmit = false
598
602
  }) => {
599
- var _a2, _b2, _c2, _d2, _e2;
600
- (0, import_PaymentResultToast.closeAllPaymentResultToasts)();
603
+ var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2;
604
+ const isToastMode = ((_c2 = (_b2 = (_a2 = state == null ? void 0 : state.bookingConfig) == null ? void 0 : _a2.config) == null ? void 0 : _b2.payment_setting) == null ? void 0 : _c2.payment_result_display_mode) !== "modal";
605
+ if (isToastMode) {
606
+ (0, import_PaymentResultToast.closeAllPaymentResultToasts)();
607
+ }
601
608
  if ((0, import_utils2.isDayBooking)(state)) {
602
609
  const isHasDayProducts = handleDaySubmit();
603
610
  if (isHasDayProducts) return;
@@ -612,7 +619,7 @@ var Footer = (props) => {
612
619
  const createApi = state.renderType === "eventBooking" ? import_serve2.createEventBooking : createBooking;
613
620
  let saveOtherValue = {};
614
621
  if (type === "save") {
615
- saveOtherValue = await ((_a2 = state == null ? void 0 : state.onSave) == null ? void 0 : _a2.call(state, state.client)) || {};
622
+ saveOtherValue = await ((_d2 = state == null ? void 0 : state.onSave) == null ? void 0 : _d2.call(state, state.client)) || {};
616
623
  }
617
624
  try {
618
625
  let callbackData = null;
@@ -658,7 +665,7 @@ var Footer = (props) => {
658
665
  { key: "日期", value: (0, import_dayjs.default)().format("YYYY-MM-DD HH:mm") },
659
666
  {
660
667
  key: "店铺id",
661
- value: (_e2 = (_d2 = (_c2 = (_b2 = store == null ? void 0 : store.getState) == null ? void 0 : _b2.call(store)) == null ? void 0 : _c2.global) == null ? void 0 : _d2.globalConfig) == null ? void 0 : _e2.id
668
+ value: (_h2 = (_g2 = (_f2 = (_e2 = store == null ? void 0 : store.getState) == null ? void 0 : _e2.call(store)) == null ? void 0 : _f2.global) == null ? void 0 : _g2.globalConfig) == null ? void 0 : _h2.id
662
669
  },
663
670
  {
664
671
  key: "shopApi",
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const FormItemChildrenWrap: (props: any) => JSX.Element;
2
3
  export default FormItemChildrenWrap;
@@ -1 +1,10 @@
1
- export declare const Provider: any, Context: any;
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
+ }>;