@pisell/private-materials 3.4.34 → 3.4.35

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 (265) 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 +146 -146
  7. package/build/lowcode/render/default/view.js +2 -2
  8. package/build/lowcode/view.js +8 -8
  9. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -1
  10. package/es/components/appointmentBooking/components/Services/index.js +37 -20
  11. package/es/components/appointmentBooking/hooks.js +6 -0
  12. package/es/components/booking/addons/model.d.ts +1 -10
  13. package/es/components/booking/components/TabProduct/index.d.ts +0 -1
  14. package/es/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
  15. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  16. package/es/components/booking/components/collapsibleList/utils.d.ts +0 -1
  17. package/es/components/booking/components/emptyBooking/index.d.ts +0 -1
  18. package/es/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  19. package/es/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  20. package/es/components/booking/forms/model.d.ts +1 -10
  21. package/es/components/booking/forms/single/index.d.ts +0 -1
  22. package/es/components/booking/forms/table/index.d.ts +0 -1
  23. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
  24. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  25. package/es/components/booking/info/date/index.d.ts +0 -1
  26. package/es/components/booking/info/model.d.ts +1 -10
  27. package/es/components/booking/info/notes/index.d.ts +0 -1
  28. package/es/components/booking/info/service/actions/index.d.ts +0 -1
  29. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  30. package/es/components/booking/info/service/like/index.d.ts +0 -1
  31. package/es/components/booking/info2/service/actions/index.d.ts +0 -1
  32. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  33. package/es/components/booking/locales.d.ts +6 -0
  34. package/es/components/booking/locales.js +12 -0
  35. package/es/components/booking/materiels/contacts/index.d.ts +0 -1
  36. package/es/components/booking/materiels/duration/index.d.ts +0 -1
  37. package/es/components/booking/materiels/holder/index.d.ts +0 -1
  38. package/es/components/booking/materiels/startTime/index.d.ts +0 -1
  39. package/es/components/booking/model.d.ts +1 -9
  40. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  41. package/es/components/booking/notes/NoteBlock/index.d.ts +0 -1
  42. package/es/components/booking/notes/model.d.ts +1 -10
  43. package/es/components/booking/payments/model.d.ts +1 -10
  44. package/es/components/booking/utils.d.ts +2 -2
  45. package/es/components/eftpos/deviceList/index.d.ts +0 -1
  46. package/es/components/eftpos/form/index.d.ts +0 -1
  47. package/es/components/eftpos/group/index.d.ts +0 -1
  48. package/es/components/eftpos/hooks.d.ts +0 -1
  49. package/es/components/eftpos/icon/apiKey.d.ts +0 -1
  50. package/es/components/eftpos/icon/device.d.ts +0 -1
  51. package/es/components/eftpos/index.d.ts +0 -1
  52. package/es/components/eftpos/pos.d.ts +0 -1
  53. package/es/components/eftpos/receipt/index.d.ts +0 -1
  54. package/es/components/eftposPay/amount.d.ts +1 -2
  55. package/es/components/eftposPay/component/alert/warn.d.ts +0 -1
  56. package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -1
  57. package/es/components/eftposPay/component/fail/index.d.ts +0 -1
  58. package/es/components/eftposPay/component/fail/network.d.ts +0 -1
  59. package/es/components/eftposPay/component/fail/unknow.d.ts +0 -1
  60. package/es/components/eftposPay/component/header/titlebar.d.ts +0 -1
  61. package/es/components/eftposPay/component/manual/index.d.ts +0 -1
  62. package/es/components/eftposPay/component/signature/index.d.ts +0 -1
  63. package/es/components/eftposPay/component/step/index.d.ts +0 -1
  64. package/es/components/eftposPay/component/step/step.d.ts +0 -1
  65. package/es/components/eftposPay/device.d.ts +1 -1
  66. package/es/components/eftposPay/hooks.d.ts +2 -2
  67. package/es/components/eftposPay/pay.d.ts +0 -1
  68. package/es/components/eftposPay/payo/config.d.ts +0 -1
  69. package/es/components/eftposPay/store/index.d.ts +3 -3
  70. package/es/components/eftposPay/tip.d.ts +0 -1
  71. package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
  72. package/es/components/eftposPay/windcave/receiptAction.d.ts +0 -1
  73. package/es/components/eftposPay/windcave/windcave.d.ts +0 -1
  74. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  75. package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  76. package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  77. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  78. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  79. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  80. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  81. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  82. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  83. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  84. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  85. package/es/components/login/index.d.ts +0 -1
  86. package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +6 -3
  87. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  88. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  89. package/es/components/pay/toC/model.d.ts +1 -9
  90. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  91. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  92. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  93. package/es/components/productExtension/fields/Actor/index.d.ts +0 -1
  94. package/es/components/productExtension/fields/Forms/index.d.ts +0 -1
  95. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
  96. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  97. package/es/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  98. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  99. package/es/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  100. package/es/components/schedules/calendar/calendarItem.d.ts +0 -1
  101. package/es/components/schedules/calendar/index.d.ts +0 -1
  102. package/es/components/schedules/components/CurrentDay/index.d.ts +0 -1
  103. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  104. package/es/components/schedules/components/ScheduleList/index.d.ts +0 -1
  105. package/es/components/schedules/model.d.ts +1 -9
  106. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  107. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  108. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  109. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  110. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  111. package/es/components/schedules/products/index.d.ts +0 -1
  112. package/es/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  113. package/es/components/schedules/products/list/index.d.ts +0 -1
  114. package/es/components/schedules/resources/index.d.ts +0 -1
  115. package/es/components/schedules/resources/list/index.d.ts +0 -1
  116. package/es/components/schedules/resources/relationProduct/index.d.ts +0 -1
  117. package/es/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  118. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  119. package/es/components/schedules/schedules/index.d.ts +0 -1
  120. package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
  121. package/es/components/shoppingCart/components/Render/index.d.ts +0 -1
  122. package/es/components/shoppingCart/index.d.ts +0 -1
  123. package/es/components/wallet/Detail/model.d.ts +1 -13
  124. package/es/components/wallet/DiscountCard/model.d.ts +1 -14
  125. package/es/components/wallet/PointCard/model.d.ts +1 -13
  126. package/es/components/wallet/RechargeableCard/model.d.ts +1 -29
  127. package/es/components/wallet/Voucher/model.d.ts +1 -13
  128. package/es/components/wallet/hooks/useWalletCard.d.ts +0 -1
  129. package/es/components/wallet/model.d.ts +1 -9
  130. package/es/plus/saasCreateOrganization/components/Header.d.ts +0 -1
  131. package/es/plus/saasRegister/components/EntryEmail.d.ts +0 -1
  132. package/es/plus/saasRegister/components/EntryInfo.d.ts +0 -1
  133. package/es/plus/saasRegister/components/GoLogin.d.ts +0 -1
  134. package/es/plus/saasRegister/components/Header.d.ts +0 -1
  135. package/es/plus/saasRegister/components/VerifyError.d.ts +0 -1
  136. package/es/plus/saasRegister/components/VerifyingLink.d.ts +0 -1
  137. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -1
  138. package/lib/components/appointmentBooking/components/Services/index.js +12 -3
  139. package/lib/components/appointmentBooking/hooks.js +6 -0
  140. package/lib/components/booking/addons/model.d.ts +1 -10
  141. package/lib/components/booking/components/TabProduct/index.d.ts +0 -1
  142. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
  143. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  144. package/lib/components/booking/components/collapsibleList/utils.d.ts +0 -1
  145. package/lib/components/booking/components/emptyBooking/index.d.ts +0 -1
  146. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  147. package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  148. package/lib/components/booking/forms/model.d.ts +1 -10
  149. package/lib/components/booking/forms/single/index.d.ts +0 -1
  150. package/lib/components/booking/forms/table/index.d.ts +0 -1
  151. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
  152. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  153. package/lib/components/booking/info/date/index.d.ts +0 -1
  154. package/lib/components/booking/info/model.d.ts +1 -10
  155. package/lib/components/booking/info/notes/index.d.ts +0 -1
  156. package/lib/components/booking/info/service/actions/index.d.ts +0 -1
  157. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  158. package/lib/components/booking/info/service/like/index.d.ts +0 -1
  159. package/lib/components/booking/info2/service/actions/index.d.ts +0 -1
  160. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  161. package/lib/components/booking/locales.d.ts +6 -0
  162. package/lib/components/booking/locales.js +6 -0
  163. package/lib/components/booking/materiels/contacts/index.d.ts +0 -1
  164. package/lib/components/booking/materiels/duration/index.d.ts +0 -1
  165. package/lib/components/booking/materiels/holder/index.d.ts +0 -1
  166. package/lib/components/booking/materiels/startTime/index.d.ts +0 -1
  167. package/lib/components/booking/model.d.ts +1 -9
  168. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  169. package/lib/components/booking/notes/NoteBlock/index.d.ts +0 -1
  170. package/lib/components/booking/notes/model.d.ts +1 -10
  171. package/lib/components/booking/payments/model.d.ts +1 -10
  172. package/lib/components/booking/utils.d.ts +2 -2
  173. package/lib/components/eftpos/deviceList/index.d.ts +0 -1
  174. package/lib/components/eftpos/form/index.d.ts +0 -1
  175. package/lib/components/eftpos/group/index.d.ts +0 -1
  176. package/lib/components/eftpos/hooks.d.ts +0 -1
  177. package/lib/components/eftpos/icon/apiKey.d.ts +0 -1
  178. package/lib/components/eftpos/icon/device.d.ts +0 -1
  179. package/lib/components/eftpos/index.d.ts +0 -1
  180. package/lib/components/eftpos/pos.d.ts +0 -1
  181. package/lib/components/eftpos/receipt/index.d.ts +0 -1
  182. package/lib/components/eftposPay/amount.d.ts +1 -2
  183. package/lib/components/eftposPay/component/alert/warn.d.ts +0 -1
  184. package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -1
  185. package/lib/components/eftposPay/component/fail/index.d.ts +0 -1
  186. package/lib/components/eftposPay/component/fail/network.d.ts +0 -1
  187. package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -1
  188. package/lib/components/eftposPay/component/header/titlebar.d.ts +0 -1
  189. package/lib/components/eftposPay/component/manual/index.d.ts +0 -1
  190. package/lib/components/eftposPay/component/signature/index.d.ts +0 -1
  191. package/lib/components/eftposPay/component/step/index.d.ts +0 -1
  192. package/lib/components/eftposPay/component/step/step.d.ts +0 -1
  193. package/lib/components/eftposPay/device.d.ts +1 -1
  194. package/lib/components/eftposPay/hooks.d.ts +2 -2
  195. package/lib/components/eftposPay/pay.d.ts +0 -1
  196. package/lib/components/eftposPay/payo/config.d.ts +0 -1
  197. package/lib/components/eftposPay/store/index.d.ts +3 -3
  198. package/lib/components/eftposPay/tip.d.ts +0 -1
  199. package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
  200. package/lib/components/eftposPay/windcave/receiptAction.d.ts +0 -1
  201. package/lib/components/eftposPay/windcave/windcave.d.ts +0 -1
  202. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  203. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  204. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  205. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  206. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  207. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  208. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  209. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  210. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  211. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  212. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  213. package/lib/components/login/index.d.ts +0 -1
  214. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +2 -0
  215. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  216. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  217. package/lib/components/pay/toC/model.d.ts +1 -9
  218. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  219. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  220. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  221. package/lib/components/productExtension/fields/Actor/index.d.ts +0 -1
  222. package/lib/components/productExtension/fields/Forms/index.d.ts +0 -1
  223. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
  224. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  225. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  226. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  227. package/lib/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  228. package/lib/components/schedules/calendar/calendarItem.d.ts +0 -1
  229. package/lib/components/schedules/calendar/index.d.ts +0 -1
  230. package/lib/components/schedules/components/CurrentDay/index.d.ts +0 -1
  231. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  232. package/lib/components/schedules/components/ScheduleList/index.d.ts +0 -1
  233. package/lib/components/schedules/model.d.ts +1 -9
  234. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  235. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  236. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  237. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  238. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  239. package/lib/components/schedules/products/index.d.ts +0 -1
  240. package/lib/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  241. package/lib/components/schedules/products/list/index.d.ts +0 -1
  242. package/lib/components/schedules/resources/index.d.ts +0 -1
  243. package/lib/components/schedules/resources/list/index.d.ts +0 -1
  244. package/lib/components/schedules/resources/relationProduct/index.d.ts +0 -1
  245. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  246. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  247. package/lib/components/schedules/schedules/index.d.ts +0 -1
  248. package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
  249. package/lib/components/shoppingCart/components/Render/index.d.ts +0 -1
  250. package/lib/components/shoppingCart/index.d.ts +0 -1
  251. package/lib/components/wallet/Detail/model.d.ts +1 -13
  252. package/lib/components/wallet/DiscountCard/model.d.ts +1 -14
  253. package/lib/components/wallet/PointCard/model.d.ts +1 -13
  254. package/lib/components/wallet/RechargeableCard/model.d.ts +1 -29
  255. package/lib/components/wallet/Voucher/model.d.ts +1 -13
  256. package/lib/components/wallet/hooks/useWalletCard.d.ts +0 -1
  257. package/lib/components/wallet/model.d.ts +1 -9
  258. package/lib/plus/saasCreateOrganization/components/Header.d.ts +0 -1
  259. package/lib/plus/saasRegister/components/EntryEmail.d.ts +0 -1
  260. package/lib/plus/saasRegister/components/EntryInfo.d.ts +0 -1
  261. package/lib/plus/saasRegister/components/GoLogin.d.ts +0 -1
  262. package/lib/plus/saasRegister/components/Header.d.ts +0 -1
  263. package/lib/plus/saasRegister/components/VerifyError.d.ts +0 -1
  264. package/lib/plus/saasRegister/components/VerifyingLink.d.ts +0 -1
  265. package/package.json +3 -3
@@ -189,6 +189,12 @@ var useAppointmentBookingStep = () => {
189
189
  if (!result) {
190
190
  return (0, import_utils2.Toast)(import_utils.locales.getText("pisell2.appointment.unuse.date"));
191
191
  }
192
+ const capacityResult = appointmentBooking.checkMaxDurationCapacity();
193
+ if (!capacityResult.success) {
194
+ const getMessage = import_utils.locales.getText("pisell2.appointment.unuse.capacity");
195
+ const message = typeof getMessage === "function" ? getMessage(capacityResult.minAvailableCount) : getMessage;
196
+ return (0, import_utils2.Toast)(message);
197
+ }
192
198
  }
193
199
  if (!isRetailTemplate && (currentKey == null ? void 0 : currentKey.startsWith("select-resource"))) {
194
200
  const { hasError, updatedCartList } = (0, import_utils2.checkAndMarkCartRenderError)(currentSelectedResources, appointmentBooking, utils);
@@ -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,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  interface TabProductProps {
4
3
  list: any[];
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ProductItem: ({ item, onClick, amountSymbol, style, className, }: any) => JSX.Element;
4
3
  export default ProductItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const SelectProductItem: ({ item, onClick, onChangeQuantity, amountSymbol, style, className, disabled, }: any) => JSX.Element;
4
3
  export default SelectProductItem;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const renderBundles: (item: any, amountSymbol: string) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @title: 空状态
4
3
  * @description:
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const FooterMenus: ({ state, menuChange, items }: any) => JSX.Element | null;
4
3
  export default FooterMenus;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const FormItemChildrenWrap: (props: any) => JSX.Element;
3
2
  export default FormItemChildrenWrap;
@@ -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,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  /**
4
3
  * @title: 表单选择器
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const Table: ({ value, onChange, field, mode, onAdd }: any) => JSX.Element;
4
3
  export default Table;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FormState } from '../../../model';
3
2
  interface useClientFnParams {
4
3
  state: any;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const useIsLowSpeedNetwork: () => import("react").MutableRefObject<boolean>;
3
2
  export default useIsLowSpeedNetwork;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  export declare const updateServiceDate: (services: any[], date: any, isTime: boolean) => any[];
4
3
  declare const DateCom: () => JSX.Element;
@@ -1,14 +1,5 @@
1
- /// <reference types="react" />
2
- import { FormState } from '../model';
3
1
  export declare const walkInData: {
4
2
  id: number;
5
3
  nickname: string;
6
4
  };
7
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
8
- state: FormState;
9
- } & {
10
- dispatch: (params: {
11
- type: string;
12
- payload: any;
13
- }) => void;
14
- }>;
5
+ export declare const Provider: any, Context: any;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Notes: () => JSX.Element | null;
3
2
  export default Notes;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const Actions: ({ currentService }: {
4
3
  currentService: any;
@@ -6,7 +6,7 @@ export declare const getDurationProps: ({ cacheItem, useStartTime, currentResour
6
6
  type: string;
7
7
  value: number;
8
8
  };
9
- locale: string;
9
+ locale: any;
10
10
  slice: any;
11
11
  selectProps: {
12
12
  size: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const Like: ({ status, onChange, className, style, }: {
4
3
  style?: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import '../../../info/service/actions/index.less';
3
2
  declare const Actions: ({ currentService }: {
4
3
  currentService: any;
@@ -7,7 +7,7 @@ export declare const getDurationProps: ({ cacheItem, useStartTime, currentResour
7
7
  type: string;
8
8
  value: number;
9
9
  };
10
- locale: string;
10
+ locale: any;
11
11
  slice: any;
12
12
  selectProps: {
13
13
  size: string;
@@ -156,6 +156,8 @@ declare const _default: {
156
156
  'pisell2.text.deposit-delete-message': string;
157
157
  'pisell2.text.deposit-paid': string;
158
158
  "pisell2.text.stock": string;
159
+ 'pisell2.appointment.unuse.stock': string;
160
+ 'pisell2.appointment.unuse.capacity': (count: number) => string;
159
161
  'pisell2.text.payment-link': string;
160
162
  'pisell2.text.send-mail': string;
161
163
  'pisell2.text.copy-to-clipboard': string;
@@ -429,6 +431,8 @@ declare const _default: {
429
431
  'pisell2.text.deposit-delete-message': string;
430
432
  'pisell2.text.deposit-paid': string;
431
433
  "pisell2.text.stock": string;
434
+ 'pisell2.appointment.unuse.stock': string;
435
+ 'pisell2.appointment.unuse.capacity': (count: number) => string;
432
436
  'pisell2.text.payment-link': string;
433
437
  'pisell2.text.send-mail': string;
434
438
  'pisell2.text.copy-to-clipboard': string;
@@ -702,6 +706,8 @@ declare const _default: {
702
706
  'pisell2.text.deposit-delete-message': string;
703
707
  'pisell2.text.deposit-paid': string;
704
708
  "pisell2.text.stock": string;
709
+ 'pisell2.appointment.unuse.stock': string;
710
+ 'pisell2.appointment.unuse.capacity': (count: number) => string;
705
711
  'pisell2.text.payment-link': string;
706
712
  'pisell2.text.send-mail': string;
707
713
  'pisell2.text.copy-to-clipboard': string;
@@ -200,6 +200,8 @@ var locales_default = {
200
200
  "pisell2.text.deposit-delete-message": "It cannot be restored after deletion. Please confirm the operation.",
201
201
  "pisell2.text.deposit-paid": "Deposit paid",
202
202
  "pisell2.text.stock": "Stock",
203
+ "pisell2.appointment.unuse.stock": "Not enough stock",
204
+ "pisell2.appointment.unuse.capacity": (count) => `Only ${count} spots available. Please reduce quantity.`,
203
205
  "pisell2.text.payment-link": "Payment link",
204
206
  "pisell2.text.send-mail": "Send email",
205
207
  "pisell2.text.copy-to-clipboard": "Copy to clipboard",
@@ -505,6 +507,8 @@ var locales_default = {
505
507
  "pisell2.text.deposit-delete-message": "删除后不可恢复,请确认操作",
506
508
  "pisell2.text.deposit-paid": "已付定金",
507
509
  "pisell2.text.stock": "库存",
510
+ "pisell2.appointment.unuse.stock": "库存不足",
511
+ "pisell2.appointment.unuse.capacity": (count) => `仅可预约 ${count} 个,请减少数量`,
508
512
  "pisell2.text.payment-link": "付款链接",
509
513
  "pisell2.text.send-mail": "发送邮件",
510
514
  "pisell2.text.copy-to-clipboard": "复制到剪切板",
@@ -810,6 +814,8 @@ var locales_default = {
810
814
  "pisell2.text.deposit-delete-message": "刪除後不可恢復,請確認操作",
811
815
  "pisell2.text.deposit-paid": "已付定金",
812
816
  "pisell2.text.stock": "庫存",
817
+ "pisell2.appointment.unuse.stock": "庫存不足",
818
+ "pisell2.appointment.unuse.capacity": (count) => `僅可預約 ${count} 個,請減少數量`,
813
819
  "pisell2.text.payment-link": "付款鏈接",
814
820
  "pisell2.text.send-mail": "發送郵件",
815
821
  "pisell2.text.copy-to-clipboard": "複製到剪切板",
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare type ContactType = {
4
3
  country_calling_code: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SelectProps } from 'antd';
3
2
  interface DurationProps extends SelectProps {
4
3
  locale?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SelectProps } from 'antd';
3
2
  interface HolderProps extends SelectProps {
4
3
  selectProps?: SelectProps;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SelectProps } from "antd";
3
2
  interface StartTimeProps extends SelectProps {
4
3
  locale?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface FormState {
3
2
  amountSymbol: string;
4
3
  apis: {
@@ -105,11 +104,4 @@ export declare const walkInData: {
105
104
  id: number;
106
105
  nickname: string;
107
106
  };
108
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
109
- state: FormState;
110
- } & {
111
- dispatch: (params: {
112
- type: string;
113
- payload: any;
114
- }) => void;
115
- }>;
107
+ export declare const Provider: any, Context: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  export interface InfoProps {
4
3
  isEdit: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  export interface InfoProps {
4
3
  title?: string;
@@ -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
  import { Eftpos, DeviceStatus } from './const';
3
2
  import './index.less';
4
3
  interface PosProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DeviceProp } from "./const";
3
2
  interface PosProps {
4
3
  eftposName: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @title: 自定义组件设置
4
3
  * @description: 自定义组件设置
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PosProps } from './const';
3
2
  /**
4
3
  * @title: 支付金额信息配置页
@@ -9,7 +8,7 @@ import { PosProps } from './const';
9
8
  */
10
9
  declare const _default: ({ className, onChange, onClose, formatAmount, isMobile, net, client }: {
11
10
  className?: string | undefined;
12
- onChange?: ((status: "page" | "success" | "print" | "fail" | "mark_tx_processed", params?: string | {
11
+ onChange?: ((status: "success" | "page" | "print" | "fail" | "mark_tx_processed", params?: string | {
13
12
  [keys: string]: unknown;
14
13
  } | undefined, other?: any) => void) | undefined;
15
14
  onClose: () => void;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const _default: () => JSX.Element;
3
2
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ActionProps } from '../../const';
3
2
  declare const _default: ({ className, isMobile, onChange }: ActionProps) => JSX.Element;
4
3
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ActionProps } from '../../const';
3
2
  declare const _default: ({ onChange, className, isMobile }: ActionProps) => JSX.Element;
4
3
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ActionProps } from '../../const';
3
2
  /**
4
3
  * @title: 断网(客户端)提示页
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ActionProps } from '../../const';
3
2
  /**
4
3
  * @title: 支付状态未知页面
@@ -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 { ActionProps } from '../../const';
3
2
  import './index.less';
4
3
  /**
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ActionProps } from '../../const';
3
2
  /**
4
3
  * @title: 取消签名确认页
@@ -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" | "print" | "fail" | "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<"loading" | "warn" | "success" | "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<"stripe" | "tyro" | "windcave" | "payo" | "linkly">;
23
23
  readonly clientRef: React.MutableRefObject<ClientEnum>;
24
24
  readonly dataRef: React.MutableRefObject<import("./store").State>;
25
25
  };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PayProps } from './const';
3
2
  import './index.less';
4
3
  /**
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { StatusEnum } from '../const';
3
2
  export declare const POS: ({ api, onChange, }: {
4
3
  api: {
@@ -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: "loading" | "warn" | "success" | "fail" | "question";
178
178
  };
179
179
  };
180
180
  /**
@@ -297,7 +297,7 @@ export declare const backUpFree: (payload: Partial<State>) => {
297
297
  amount?: string | number | undefined;
298
298
  mode?: "refund" | "pay" | "fullPay" | "query" | undefined;
299
299
  order_id?: string | number | undefined;
300
- eftpos?: "stripe" | "payo" | "tyro" | "windcave" | "linkly" | undefined;
300
+ eftpos?: "stripe" | "tyro" | "windcave" | "payo" | "linkly" | undefined;
301
301
  action?: "amount" | "pay" | "deviceList" | undefined;
302
302
  key?: number | undefined;
303
303
  step?: number | undefined;
@@ -308,7 +308,7 @@ export declare const backUpFree: (payload: Partial<State>) => {
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?: "loading" | "warn" | "success" | "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
  import './tip.less';
3
2
  /**
4
3
  * @title: 支付状态未知页面
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @title: 获取 Tyro 资源
4
3
  * @description:
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @title: 按钮操作区
4
3
  * @description: 仅包含签名
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: ({ api, onChange, formatAmount, }: {
3
2
  api: any;
4
3
  onChange: any;
@@ -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 Layout: () => JSX.Element;
4
3
  export default Layout;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Header: () => JSX.Element;
4
3
  export default Header;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const SelectHolderModal: (props: any) => JSX.Element;
3
2
  export default SelectHolderModal;
@@ -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;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Resource: (props: any) => JSX.Element;
3
2
  export default Resource;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Schedule: () => JSX.Element;
3
2
  export default Schedule;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare type Item = any;
4
3
  interface ProductItemProps {