@pisell/private-materials 6.3.10 → 6.3.12

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 (316) 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 +13 -13
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +9 -9
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +9 -9
  11. package/es/businessModel/SalesModel/index.d.ts +0 -1
  12. package/es/components/Sales/Summary/utils.d.ts +1 -1
  13. package/es/components/appointmentBooking/components/ConfirmInformation/index.js +27 -3
  14. package/es/components/appointmentBooking/components/Content/index.js +3 -3
  15. package/es/components/appointmentBooking/components/Voucher/index.js +6 -5
  16. package/es/components/appointmentBooking/hooks.js +4 -2
  17. package/es/components/appointmentBooking/index.js +10 -0
  18. package/es/components/booking/addons/index.js +12 -8
  19. package/es/components/booking/components/TabProduct/index.d.ts +0 -1
  20. package/es/components/booking/components/TabProduct/tabs/index.js +1 -5
  21. package/es/components/booking/components/browserSelect/index.js +1 -1
  22. package/es/components/booking/components/footer/index.js +19 -9
  23. package/es/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  24. package/es/components/booking/components/voucher/index.js +8 -5
  25. package/es/components/booking/forms/model.js +5 -5
  26. package/es/components/booking/forms/table/index.d.ts +0 -1
  27. package/es/components/booking/info/addServiceVariant/index.d.ts +0 -1
  28. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  29. package/es/components/booking/info/index.d.ts +0 -1
  30. package/es/components/booking/info/service/like/index.d.ts +0 -1
  31. package/es/components/booking/info/service/like/index.js +1 -1
  32. package/es/components/booking/info/service2/Lists.d.ts +0 -1
  33. package/es/components/booking/info2/service/addService/utils.js +16 -1
  34. package/es/components/booking/materiels/holder/index.d.ts +0 -1
  35. package/es/components/booking/materiels/startTime/index.d.ts +0 -1
  36. package/es/components/booking/notes/NoteBlock/NoteItem/index.js +1 -1
  37. package/es/components/booking/notes/NoteBlock/index.js +11 -11
  38. package/es/components/booking/notes/model.js +5 -5
  39. package/es/components/booking/payments/model.js +5 -5
  40. package/es/components/booking/utils.d.ts +2 -2
  41. package/es/components/eftpos/deviceList/index.d.ts +0 -1
  42. package/es/components/eftpos/form/index.d.ts +0 -1
  43. package/es/components/eftpos/group/index.d.ts +0 -1
  44. package/es/components/eftpos/hooks.d.ts +0 -1
  45. package/es/components/eftpos/icon/apiKey.d.ts +0 -1
  46. package/es/components/eftpos/icon/device.d.ts +0 -1
  47. package/es/components/eftpos/receipt/index.d.ts +0 -1
  48. package/es/components/eftpos/surcharge/index.d.ts +0 -1
  49. package/es/components/eftposPay/amount.d.ts +1 -1
  50. package/es/components/eftposPay/app.d.ts +0 -1
  51. package/es/components/eftposPay/component/alert/warn.d.ts +0 -1
  52. package/es/components/eftposPay/component/header/titlebar.d.ts +0 -1
  53. package/es/components/eftposPay/component/step/index.d.ts +0 -1
  54. package/es/components/eftposPay/component/step/step.d.ts +0 -1
  55. package/es/components/eftposPay/device.d.ts +1 -1
  56. package/es/components/eftposPay/hooks.d.ts +2 -2
  57. package/es/components/eftposPay/store/index.d.ts +3 -3
  58. package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
  59. package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.js +34 -8
  60. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  61. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  62. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  63. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  64. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  65. package/es/components/eventBooking/components/progressBar/index.js +0 -20
  66. package/es/components/listComponent/index.js +5 -5
  67. package/es/components/pay/toC/PaymentMethods/GooglePay/index.js +7 -20
  68. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
  69. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  70. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  71. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
  72. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
  73. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  74. package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +0 -1
  75. package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.js +2 -12
  76. package/es/components/pay/toC/PaymentMethods/WalletPass/index.js +24 -31
  77. package/es/components/pay/toC/utils.d.ts +1 -1
  78. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  79. package/es/components/productExtension/card/index.js +3 -3
  80. package/es/components/productExtension/fields/Actor/CutOffTime/index.js +1 -1
  81. package/es/components/productExtension/fields/Actor/index.d.ts +0 -1
  82. package/es/components/productExtension/fields/Forms/index.d.ts +0 -1
  83. package/es/components/productExtension/fields/Forms/index.js +12 -12
  84. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.js +1 -1
  85. package/es/components/productExtension/fields/SelectProducts/server.js +2 -2
  86. package/es/components/productExtension/fields/SelectResourcesTable/server.js +2 -2
  87. package/es/components/productExtension/server.js +2 -2
  88. package/es/components/ruleSetting/ruleBorder/index.js +1 -1
  89. package/es/components/schedules/calendar/calendarItem.d.ts +0 -1
  90. package/es/components/schedules/calendar/index.js +4 -4
  91. package/es/components/schedules/calendar/serve.js +2 -2
  92. package/es/components/schedules/components/CurrentDay/index.d.ts +0 -1
  93. package/es/components/schedules/components/CurrentDay/index.js +5 -5
  94. package/es/components/schedules/components/CurrentDay/serve.js +2 -2
  95. package/es/components/schedules/components/DropdownSort/index.js +1 -1
  96. package/es/components/schedules/components/ResourceList/index.js +1 -1
  97. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  98. package/es/components/schedules/components/Search/index.js +5 -5
  99. package/es/components/schedules/model.js +5 -5
  100. package/es/components/schedules/openHours/index.js +1 -1
  101. package/es/components/schedules/openHours/serve.js +2 -2
  102. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.js +1 -1
  103. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.js +5 -5
  104. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.js +4 -4
  105. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  106. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  107. package/es/components/schedules/products/ProductDetailDrawer/index.js +3 -3
  108. package/es/components/schedules/products/index.d.ts +0 -1
  109. package/es/components/schedules/products/serve.js +2 -2
  110. package/es/components/schedules/products/utils.js +5 -5
  111. package/es/components/schedules/resources/detail/detailContent.js +2 -2
  112. package/es/components/schedules/resources/detail/index.js +10 -10
  113. package/es/components/schedules/resources/list/index.js +2 -2
  114. package/es/components/schedules/resources/relationProduct/index.d.ts +0 -1
  115. package/es/components/schedules/resources/relationProduct/index.js +1 -1
  116. package/es/components/schedules/resources/serve.js +2 -2
  117. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.js +9 -9
  118. package/es/components/schedules/utils.d.ts +1 -1
  119. package/es/components/schedules/utils.js +4 -4
  120. package/es/components/selectModal/index.js +2 -2
  121. package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
  122. package/es/components/shoppingCart/components/Render/index.d.ts +0 -1
  123. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
  124. package/es/components/wallet/Detail/index.js +250 -64
  125. package/es/components/wallet/Detail/locales.d.ts +51 -0
  126. package/es/components/wallet/Detail/locales.js +57 -3
  127. package/es/components/wallet/Detail/serve.js +5 -1
  128. package/es/components/wallet/components/UsageRules/index.d.ts +23 -0
  129. package/es/components/wallet/components/UsageRules/index.js +147 -0
  130. package/es/components/wallet/components/UsageRules/index.less +157 -0
  131. package/es/components/wallet/components/WalletCard.js +2 -3
  132. package/es/components/wallet/components/index.d.ts +1 -0
  133. package/es/components/wallet/components/index.js +2 -1
  134. package/es/hooks/useComponents.js +1 -1
  135. package/es/index.d.ts +3 -0
  136. package/es/index.js +4 -1
  137. package/es/plus/productSelect/ProductCard/index.less +5 -22
  138. package/es/plus/productSelect/components/pisellPriceText/index.d.ts +1 -0
  139. package/es/plus/productSelect/components/pisellPriceText/index.js +1 -0
  140. package/es/plus/productSelect/components/pisellPriceText/index.less +4 -0
  141. package/es/plus/saasCreateOrganization/components/Header.d.ts +3 -0
  142. package/es/plus/saasCreateOrganization/components/Header.js +62 -0
  143. package/es/plus/saasCreateOrganization/index.d.ts +4 -0
  144. package/es/plus/saasCreateOrganization/index.js +15 -0
  145. package/es/plus/saasCreateOrganization/index.less +55 -0
  146. package/es/plus/saasCreateOrganization/locales.d.ts +15 -0
  147. package/es/plus/saasCreateOrganization/locales.js +14 -0
  148. package/es/plus/saasCreateOrganization/types.d.ts +69 -0
  149. package/es/plus/saasCreateOrganization/types.js +1 -0
  150. package/es/plus/saasLogin/index.d.ts +5 -0
  151. package/es/plus/saasLogin/index.js +165 -0
  152. package/es/plus/saasLogin/index.less +136 -0
  153. package/es/plus/saasLogin/locales.d.ts +51 -0
  154. package/es/plus/saasLogin/locales.js +50 -0
  155. package/es/plus/saasLogin/types.d.ts +62 -0
  156. package/es/plus/saasLogin/types.js +1 -0
  157. package/es/plus/saasLogin/utils.d.ts +35 -0
  158. package/es/plus/saasLogin/utils.js +31 -0
  159. package/es/plus/saasRegister/components/EntryEmail.d.ts +9 -0
  160. package/es/plus/saasRegister/components/EntryEmail.js +92 -0
  161. package/es/plus/saasRegister/components/EntryInfo.d.ts +9 -0
  162. package/es/plus/saasRegister/components/EntryInfo.js +145 -0
  163. package/es/plus/saasRegister/components/GoLogin.d.ts +4 -0
  164. package/es/plus/saasRegister/components/GoLogin.js +27 -0
  165. package/es/plus/saasRegister/components/Header.d.ts +3 -0
  166. package/es/plus/saasRegister/components/Header.js +62 -0
  167. package/es/plus/saasRegister/components/VerifyError.d.ts +8 -0
  168. package/es/plus/saasRegister/components/VerifyError.js +68 -0
  169. package/es/plus/saasRegister/components/VerifyingLink.d.ts +5 -0
  170. package/es/plus/saasRegister/components/VerifyingLink.js +16 -0
  171. package/es/plus/saasRegister/components/VertifyEmail.d.ts +7 -0
  172. package/es/plus/saasRegister/components/VertifyEmail.js +121 -0
  173. package/es/plus/saasRegister/index.d.ts +5 -0
  174. package/es/plus/saasRegister/index.js +246 -0
  175. package/es/plus/saasRegister/index.less +218 -0
  176. package/es/plus/saasRegister/locales.d.ts +117 -0
  177. package/es/plus/saasRegister/locales.js +116 -0
  178. package/es/plus/saasRegister/types.d.ts +114 -0
  179. package/es/plus/saasRegister/types.js +24 -0
  180. package/es/utils/index.d.ts +1 -1
  181. package/lib/businessModel/SalesModel/index.d.ts +0 -1
  182. package/lib/components/Sales/Summary/utils.d.ts +1 -1
  183. package/lib/components/appointmentBooking/components/ConfirmInformation/index.js +22 -2
  184. package/lib/components/appointmentBooking/components/Content/index.js +2 -2
  185. package/lib/components/appointmentBooking/components/Voucher/index.js +2 -1
  186. package/lib/components/appointmentBooking/hooks.js +4 -2
  187. package/lib/components/appointmentBooking/index.js +6 -0
  188. package/lib/components/booking/addons/index.js +1 -11
  189. package/lib/components/booking/components/TabProduct/index.d.ts +0 -1
  190. package/lib/components/booking/components/footer/index.js +15 -8
  191. package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  192. package/lib/components/booking/components/voucher/index.js +3 -1
  193. package/lib/components/booking/forms/table/index.d.ts +0 -1
  194. package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -1
  195. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  196. package/lib/components/booking/info/index.d.ts +0 -1
  197. package/lib/components/booking/info/service/like/index.d.ts +0 -1
  198. package/lib/components/booking/info/service2/Lists.d.ts +0 -1
  199. package/lib/components/booking/info2/service/addService/utils.js +15 -3
  200. package/lib/components/booking/materiels/holder/index.d.ts +0 -1
  201. package/lib/components/booking/materiels/startTime/index.d.ts +0 -1
  202. package/lib/components/booking/utils.d.ts +2 -2
  203. package/lib/components/eftpos/deviceList/index.d.ts +0 -1
  204. package/lib/components/eftpos/form/index.d.ts +0 -1
  205. package/lib/components/eftpos/group/index.d.ts +0 -1
  206. package/lib/components/eftpos/hooks.d.ts +0 -1
  207. package/lib/components/eftpos/icon/apiKey.d.ts +0 -1
  208. package/lib/components/eftpos/icon/device.d.ts +0 -1
  209. package/lib/components/eftpos/receipt/index.d.ts +0 -1
  210. package/lib/components/eftpos/surcharge/index.d.ts +0 -1
  211. package/lib/components/eftposPay/amount.d.ts +1 -1
  212. package/lib/components/eftposPay/app.d.ts +0 -1
  213. package/lib/components/eftposPay/component/alert/warn.d.ts +0 -1
  214. package/lib/components/eftposPay/component/header/titlebar.d.ts +0 -1
  215. package/lib/components/eftposPay/component/step/index.d.ts +0 -1
  216. package/lib/components/eftposPay/component/step/step.d.ts +0 -1
  217. package/lib/components/eftposPay/device.d.ts +1 -1
  218. package/lib/components/eftposPay/hooks.d.ts +2 -2
  219. package/lib/components/eftposPay/store/index.d.ts +3 -3
  220. package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
  221. package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.js +30 -8
  222. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  223. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  224. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  225. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  226. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  227. package/lib/components/eventBooking/components/progressBar/index.js +0 -18
  228. package/lib/components/pay/toC/PaymentMethods/GooglePay/index.js +7 -11
  229. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
  230. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  231. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  232. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
  233. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
  234. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  235. package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +0 -1
  236. package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.js +2 -9
  237. package/lib/components/pay/toC/PaymentMethods/WalletPass/index.js +2 -6
  238. package/lib/components/pay/toC/utils.d.ts +1 -1
  239. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  240. package/lib/components/productExtension/fields/Actor/index.d.ts +0 -1
  241. package/lib/components/productExtension/fields/Forms/index.d.ts +0 -1
  242. package/lib/components/schedules/calendar/calendarItem.d.ts +0 -1
  243. package/lib/components/schedules/components/CurrentDay/index.d.ts +0 -1
  244. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  245. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  246. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  247. package/lib/components/schedules/products/index.d.ts +0 -1
  248. package/lib/components/schedules/resources/relationProduct/index.d.ts +0 -1
  249. package/lib/components/schedules/utils.d.ts +1 -1
  250. package/lib/components/schedules/utils.js +1 -1
  251. package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
  252. package/lib/components/shoppingCart/components/Render/index.d.ts +0 -1
  253. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
  254. package/lib/components/wallet/Detail/index.js +128 -9
  255. package/lib/components/wallet/Detail/locales.d.ts +51 -0
  256. package/lib/components/wallet/Detail/locales.js +57 -3
  257. package/lib/components/wallet/Detail/serve.js +6 -1
  258. package/lib/components/wallet/components/UsageRules/index.d.ts +23 -0
  259. package/lib/components/wallet/components/UsageRules/index.js +113 -0
  260. package/lib/components/wallet/components/UsageRules/index.less +157 -0
  261. package/lib/components/wallet/components/WalletCard.js +1 -1
  262. package/lib/components/wallet/components/index.d.ts +1 -0
  263. package/lib/components/wallet/components/index.js +3 -0
  264. package/lib/index.d.ts +3 -0
  265. package/lib/index.js +9 -0
  266. package/lib/plus/productSelect/ProductCard/index.less +5 -22
  267. package/lib/plus/productSelect/components/pisellPriceText/index.d.ts +1 -0
  268. package/lib/plus/productSelect/components/pisellPriceText/index.js +1 -0
  269. package/lib/plus/productSelect/components/pisellPriceText/index.less +4 -0
  270. package/lib/plus/saasCreateOrganization/components/Header.d.ts +3 -0
  271. package/lib/plus/saasCreateOrganization/components/Header.js +99 -0
  272. package/lib/plus/saasCreateOrganization/index.d.ts +4 -0
  273. package/lib/plus/saasCreateOrganization/index.js +47 -0
  274. package/lib/plus/saasCreateOrganization/index.less +55 -0
  275. package/lib/plus/saasCreateOrganization/locales.d.ts +15 -0
  276. package/lib/plus/saasCreateOrganization/locales.js +38 -0
  277. package/lib/plus/saasCreateOrganization/types.d.ts +69 -0
  278. package/lib/plus/saasCreateOrganization/types.js +17 -0
  279. package/lib/plus/saasLogin/index.d.ts +5 -0
  280. package/lib/plus/saasLogin/index.js +171 -0
  281. package/lib/plus/saasLogin/index.less +136 -0
  282. package/lib/plus/saasLogin/locales.d.ts +51 -0
  283. package/lib/plus/saasLogin/locales.js +74 -0
  284. package/lib/plus/saasLogin/types.d.ts +62 -0
  285. package/lib/plus/saasLogin/types.js +17 -0
  286. package/lib/plus/saasLogin/utils.d.ts +35 -0
  287. package/lib/plus/saasLogin/utils.js +50 -0
  288. package/lib/plus/saasRegister/components/EntryEmail.d.ts +9 -0
  289. package/lib/plus/saasRegister/components/EntryEmail.js +92 -0
  290. package/lib/plus/saasRegister/components/EntryInfo.d.ts +9 -0
  291. package/lib/plus/saasRegister/components/EntryInfo.js +128 -0
  292. package/lib/plus/saasRegister/components/GoLogin.d.ts +4 -0
  293. package/lib/plus/saasRegister/components/GoLogin.js +58 -0
  294. package/lib/plus/saasRegister/components/Header.d.ts +3 -0
  295. package/lib/plus/saasRegister/components/Header.js +99 -0
  296. package/lib/plus/saasRegister/components/VerifyError.d.ts +8 -0
  297. package/lib/plus/saasRegister/components/VerifyError.js +123 -0
  298. package/lib/plus/saasRegister/components/VerifyingLink.d.ts +5 -0
  299. package/lib/plus/saasRegister/components/VerifyingLink.js +44 -0
  300. package/lib/plus/saasRegister/components/VertifyEmail.d.ts +7 -0
  301. package/lib/plus/saasRegister/components/VertifyEmail.js +110 -0
  302. package/lib/plus/saasRegister/index.d.ts +5 -0
  303. package/lib/plus/saasRegister/index.js +205 -0
  304. package/lib/plus/saasRegister/index.less +218 -0
  305. package/lib/plus/saasRegister/locales.d.ts +117 -0
  306. package/lib/plus/saasRegister/locales.js +140 -0
  307. package/lib/plus/saasRegister/types.d.ts +114 -0
  308. package/lib/plus/saasRegister/types.js +54 -0
  309. package/lib/utils/index.d.ts +1 -1
  310. package/lowcode/saas-create-organization/meta.ts +214 -0
  311. package/lowcode/saas-create-organization/snippets.ts +25 -0
  312. package/lowcode/saas-login/meta.ts +370 -0
  313. package/lowcode/saas-login/snippets.ts +38 -0
  314. package/lowcode/saas-register/meta.ts +386 -0
  315. package/lowcode/saas-register/snippets.ts +31 -0
  316. package/package.json +5 -5
@@ -232,9 +232,21 @@ var setDefaultResource = ({ cacheItem, resources }) => {
232
232
  const serviceParams = (0, import_utils.getCacheParams)();
233
233
  let resourceId = Number(serviceParams == null ? void 0 : serviceParams.resource_id);
234
234
  for (let item of resources) {
235
- const renderList = item.renderList.filter(
236
- (d) => d.id === resourceId
237
- );
235
+ const {
236
+ select_type = {},
237
+ optional_resource = [],
238
+ default_resource = []
239
+ } = item;
240
+ const renderList = item.renderList.filter((d) => {
241
+ if ((select_type == null ? void 0 : select_type.type) === "single") {
242
+ if (resourceId && (optional_resource.includes(resourceId) || default_resource.includes(resourceId))) {
243
+ return d.id === resourceId;
244
+ }
245
+ return d.is_default === 1;
246
+ } else {
247
+ return d.is_default === 1 || d.id === resourceId;
248
+ }
249
+ });
238
250
  let defaultOriginalResource = [];
239
251
  if (renderList.length === 0) {
240
252
  defaultOriginalResource = getResourceMaxFreeTime(item);
@@ -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;
@@ -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 | {
168
+ }) => number | "flexible" | {
169
169
  type: string;
170
170
  value: number;
171
- } | "flexible";
171
+ };
172
172
  export declare const isWalkIn: (customer_id?: number | string) => boolean;
173
173
  export declare const getIsEdit: (state: any) => boolean;
174
174
  export {};
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const _default: ({ input, ...formItemProps }: any) => JSX.Element;
3
2
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @title: 递归循环表单数据
4
3
  * @Author: hongbing.wang
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { RadioGroupProps } from 'antd';
3
2
  export declare const CheckboxGroup: ({ direction, options, ...props }: any) => JSX.Element;
4
3
  export declare const RadioGroup: ({ direction, options, ...props }: RadioGroupProps & {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Eftpos } from './const';
3
2
  /**
4
3
  * @title: tyro 设备连接
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: ({ color }: {
3
2
  color?: string | undefined;
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: ({ color }: {
3
2
  color?: string | undefined;
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @title: 自定义组件设置
4
3
  * @description: 自定义组件设置
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.css';
3
2
  /**
4
3
  * @title: 自定义组件设置
@@ -8,7 +8,7 @@ import { PosProps } from './const';
8
8
  */
9
9
  declare const _default: ({ className, onChange, onClose, formatAmount, isMobile, net, client }: {
10
10
  className?: string | undefined;
11
- onChange?: ((status: "page" | "success" | "print" | "fail" | "mark_tx_processed", params?: string | {
11
+ onChange?: ((status: "success" | "page" | "print" | "fail" | "mark_tx_processed", params?: string | {
12
12
  [keys: string]: unknown;
13
13
  } | undefined, other?: any) => void) | undefined;
14
14
  onClose: () => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PosProps, RouteType } from './const';
3
2
  declare const App: ({ action, api, device_number, terminal, tyroUrl, tyroVersion, onChangeParams, isMobile, channel, formatAmount, ...props }: Omit<PosProps, "type" | "mode" | "getApi"> & {
4
3
  action: RouteType;
@@ -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 './titlebar.less';
3
2
  declare enum EPopupTitleBarVariantType {
4
3
  BackTitleClose = "back-title-cancel",
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { StatusType } from '../../const';
3
2
  declare const _default: (props: {
4
3
  status: StatusType;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: (props: {
3
2
  status: string;
4
3
  pedding?: string;
@@ -10,7 +10,7 @@ import './device.less';
10
10
  declare const _default: ({ api, onChange, onClose, className, device_number, isMobile, net, client, formatAmount, }: {
11
11
  api: PayProps['api'];
12
12
  className?: string | undefined;
13
- onChange?: ((status: "page" | "success" | "print" | "fail" | "mark_tx_processed", params?: string | {
13
+ onChange?: ((status: "success" | "page" | "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<"success" | "loading" | "warn" | "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<"payo" | "tyro" | "windcave" | "stripe" | "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
  };
@@ -174,7 +174,7 @@ export declare const updateCustom: (payload: {
174
174
  export declare const updateStatus: (status: 'loading' | 'warn' | 'fail' | 'success' | 'question') => {
175
175
  type: EActionTypes;
176
176
  payload: {
177
- status: "loading" | "success" | "warn" | "fail" | "question";
177
+ status: "success" | "loading" | "warn" | "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?: "payo" | "tyro" | "windcave" | "stripe" | "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?: "success" | "loading" | "warn" | "fail" | "pedding" | "resove" | "reject" | "question" | undefined;
312
312
  warn?: string | undefined;
313
313
  steps?: {
314
314
  /** 用于重置当前步骤 */
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @title: 获取 Tyro 资源
4
3
  * @description:
@@ -45,7 +45,8 @@ var import_useEngineContext = __toESM(require("../../../../../../hooks/useEngine
45
45
  var import_index = require("./index.less");
46
46
  var import_utils3 = require("../../../../../appointmentBooking/utils");
47
47
  var ContinueButton = () => {
48
- var _a, _b;
48
+ var _a, _b, _c, _d, _e;
49
+ const hasSubscribedRef = (0, import_react.useRef)(false);
49
50
  const { data } = (0, import_Sales.useSales)();
50
51
  const { onHolderOpen } = (0, import_Sales.useHolder)();
51
52
  const { checkHolder, onCloseCart, cartData, getWithoutCartItemsHolderNames } = (0, import_Sales.useCart)();
@@ -64,14 +65,17 @@ var ContinueButton = () => {
64
65
  const [openEmptyHolder, setOpenEmptyHolder] = (0, import_react.useState)(false);
65
66
  const { setData, removeSessionStorage } = (0, import_Sales.useSales)();
66
67
  const context = (0, import_useEngineContext.default)();
67
- const { store, action, getStore } = ((_a = context.appHelper) == null ? void 0 : _a.utils) || {};
68
+ const config = ((_b = (_a = context == null ? void 0 : context.appHelper) == null ? void 0 : _a.constants) == null ? void 0 : _b.config) || {};
69
+ const utils = ((_c = context == null ? void 0 : context.appHelper) == null ? void 0 : _c.utils) || {};
70
+ const { pubsub } = context.appHelper.utils;
71
+ const { store, action, getStore } = ((_d = context.appHelper) == null ? void 0 : _d.utils) || {};
68
72
  const handleCheckout = async () => {
69
73
  const params = (0, import_utils2.getFormParams)(data);
70
74
  action == null ? void 0 : action({
71
75
  type: "pisell1.goProductForm",
72
76
  data: params,
73
77
  callback: async (e) => {
74
- var _a2, _b2, _c;
78
+ var _a2, _b2, _c2;
75
79
  if ((e == null ? void 0 : e.type) === "close") {
76
80
  return;
77
81
  }
@@ -88,7 +92,7 @@ var ContinueButton = () => {
88
92
  removeSessionStorage();
89
93
  } else {
90
94
  (0, import_materials.PisellToast)({
91
- content: ((_c = result == null ? void 0 : result.err) == null ? void 0 : _c.message) || ""
95
+ content: ((_c2 = result == null ? void 0 : result.err) == null ? void 0 : _c2.message) || ""
92
96
  });
93
97
  }
94
98
  }
@@ -234,13 +238,13 @@ var ContinueButton = () => {
234
238
  handleNextStep();
235
239
  };
236
240
  const handleContinue = async () => {
237
- var _a2, _b2, _c;
241
+ var _a2, _b2, _c2;
238
242
  if (isLastStep) {
239
243
  const value = (0, import_utils2.formatValues)({
240
244
  state: data,
241
245
  platform: (_b2 = (_a2 = context == null ? void 0 : context.appHelper) == null ? void 0 : _a2.constants) == null ? void 0 : _b2.platform
242
246
  });
243
- if ((deposit == null ? void 0 : deposit.hasDeposit) && ((_c = deposit == null ? void 0 : deposit.protocols) == null ? void 0 : _c.length) > 0 && !isAgreeDepositPolicy) {
247
+ if ((deposit == null ? void 0 : deposit.hasDeposit) && ((_c2 = deposit == null ? void 0 : deposit.protocols) == null ? void 0 : _c2.length) > 0 && !isAgreeDepositPolicy) {
244
248
  (0, import_utils3.Toast)(import_utils.locales.getText("pisell2.appointment.deposit.agree.policy"));
245
249
  return;
246
250
  }
@@ -270,6 +274,24 @@ var ContinueButton = () => {
270
274
  }
271
275
  handleHolder();
272
276
  };
277
+ const handleSubmit = () => {
278
+ var _a2, _b2, _c2, _d2;
279
+ if ((_b2 = (_a2 = utils == null ? void 0 : utils.businessUtils) == null ? void 0 : _a2.isGuestUser) == null ? void 0 : _b2.call(_a2)) {
280
+ if (!hasSubscribedRef.current) {
281
+ pubsub.subscribe("bind.guest.user", handleContinue);
282
+ hasSubscribedRef.current = true;
283
+ }
284
+ (_d2 = (_c2 = utils == null ? void 0 : utils.businessUtils) == null ? void 0 : _c2.openRegisterModal) == null ? void 0 : _d2.call(_c2, true);
285
+ return;
286
+ }
287
+ handleContinue();
288
+ };
289
+ (0, import_react.useEffect)(() => {
290
+ return () => {
291
+ pubsub.unsubscribe("bind.guest.user", handleContinue);
292
+ hasSubscribedRef.current = false;
293
+ };
294
+ }, []);
273
295
  const continueText = (0, import_react.useMemo)(() => {
274
296
  if (isLastStep) {
275
297
  return import_utils.locales.getText("pisell2.event.checkout");
@@ -289,10 +311,10 @@ var ContinueButton = () => {
289
311
  return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(
290
312
  import_materials.Button,
291
313
  {
292
- disabled: !((_b = cartData == null ? void 0 : cartData.cartItems) == null ? void 0 : _b.length),
314
+ disabled: !((_e = cartData == null ? void 0 : cartData.cartItems) == null ? void 0 : _e.length),
293
315
  size: "large",
294
316
  type: "primary",
295
- onClick: () => handleContinue(),
317
+ onClick: () => isLastStep ? handleSubmit() : handleContinue(),
296
318
  loading: confirmLoading
297
319
  },
298
320
  continueText
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Deposit: () => JSX.Element;
3
2
  export default Deposit;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Status: (props: any) => JSX.Element;
4
3
  export default Status;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const DayItem: (props: any) => JSX.Element;
4
3
  export default DayItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  import { CalendarItemProps } from '../../../../../type';
4
3
  declare const Item: (props: CalendarItemProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Status: (props: any) => JSX.Element;
4
3
  export default Status;
@@ -64,24 +64,6 @@ var ProgressBar = ({
64
64
  const handleOk = () => {
65
65
  var _a2, _b;
66
66
  if ((_b = (_a2 = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _a2.isAppEnv) == null ? void 0 : _b.call(_a2)) {
67
- const url = window.location.href;
68
- if (url.includes("isByTabbar")) {
69
- removeSessionStorage == null ? void 0 : removeSessionStorage();
70
- const urlParams = new URLSearchParams(window.location.search);
71
- urlParams.delete("cacheId");
72
- setOpen(false);
73
- interaction.utils.postMessageToApp({
74
- module: "global",
75
- key: "openNative",
76
- data: {
77
- link: {
78
- page: "home"
79
- }
80
- }
81
- });
82
- window.location.href = window.location.pathname + "?" + urlParams.toString();
83
- return;
84
- }
85
67
  interaction.utils.postMessageToApp({
86
68
  module: "global",
87
69
  key: "paymentResultAction",
@@ -41,34 +41,30 @@ var import_payGroup = require("../../payGroup");
41
41
  var import_useEngineContext = __toESM(require("../../../../../hooks/useEngineContext"));
42
42
  var import_utils2 = require("../../utils");
43
43
  var GooglePay = (props, ref) => {
44
- var _a, _b;
44
+ var _a;
45
45
  const { state } = (0, import_react.useContext)(import_model.Context);
46
46
  const [open, setOpen] = (0, import_react.useState)(false);
47
47
  const context = (0, import_useEngineContext.default)();
48
48
  const { config } = ((_a = context.appHelper) == null ? void 0 : _a.constants) || {};
49
- const { interaction } = (_b = context.appHelper) == null ? void 0 : _b.utils;
50
49
  const init = async ({ payGroup }) => {
51
- var _a2, _b2, _c, _d, _e, _f, _g, _h, _i, _j, _k;
50
+ var _a2, _b, _c, _d, _e, _f, _g;
51
+ setOpen(true);
52
52
  const utils = context.appHelper.utils || {};
53
- const dvaStore = (_b2 = (_a2 = utils == null ? void 0 : utils.getStore) == null ? void 0 : _a2.call(utils)) == null ? void 0 : _b2.getState();
53
+ const dvaStore = (_b = (_a2 = utils == null ? void 0 : utils.getStore) == null ? void 0 : _a2.call(utils)) == null ? void 0 : _b.getState();
54
54
  const values = (0, import_payGroup.getPayGroupParamsFromStorage)(payGroup.order_id);
55
- if (((_d = (_c = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _c.isAppEnv) == null ? void 0 : _d.call(_c)) && ((_f = (_e = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _e.isAndroid_ios) == null ? void 0 : _f.call(_e)) === "android") {
56
- return (0, import_utils2.clientPayment)({ order_id: payGroup.order_id, type: "google_pay", values, interaction });
57
- }
58
- setOpen(true);
59
55
  if (!values) {
60
56
  setOpen(false);
61
57
  return;
62
58
  }
63
59
  try {
64
- const locale = ((_g = dvaStore.core) == null ? void 0 : _g.translateLocale) || "en";
65
- const shopId = (_j = (_i = (_h = dvaStore.core) == null ? void 0 : _h.core) == null ? void 0 : _i.shop) == null ? void 0 : _j.id;
60
+ const locale = ((_c = dvaStore.core) == null ? void 0 : _c.translateLocale) || "en";
61
+ const shopId = (_f = (_e = (_d = dvaStore.core) == null ? void 0 : _d.core) == null ? void 0 : _e.shop) == null ? void 0 : _f.id;
66
62
  const currentURL = window.location.href;
67
63
  const linkElement = document.createElement("a");
68
64
  linkElement.href = currentURL;
69
65
  const shop_domain = linkElement.hostname;
70
66
  const _href = `${config.pay}${(0, import_utils2.formatFranchiseeRoute)(
71
- `/google-pay?order_id=${(_k = state.payGroup) == null ? void 0 : _k.order_id}&shop_id=${shopId}&locale=${locale}&shop_domain=${shop_domain}&total_amount=${values.amount}&payment_group_id=${values.payment_group_id}`,
67
+ `/google-pay?order_id=${(_g = state.payGroup) == null ? void 0 : _g.order_id}&shop_id=${shopId}&locale=${locale}&shop_domain=${shop_domain}&total_amount=${values.amount}&payment_group_id=${values.payment_group_id}`,
72
68
  state.history
73
69
  )}`;
74
70
  window.location.href = _href;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const StripePayment: () => JSX.Element;
3
2
  export default StripePayment;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const StripeSDK: ({ public_key, client_secret, children, lang, }: {
3
2
  public_key: string;
4
3
  client_secret?: string | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const StripeSDK: ({ public_key, client_secret, children, lang, }: {
3
2
  public_key: string;
4
3
  client_secret?: string | undefined;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const PageLoading: () => JSX.Element;
3
2
  export default PageLoading;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const PaymentRequestForm: () => JSX.Element | null;
3
2
  export default PaymentRequestForm;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.module.less';
3
2
  declare const StripePayment: () => JSX.Element;
4
3
  export default StripePayment;
@@ -10,7 +10,6 @@ export interface WalletPassListProps {
10
10
  walletSetting: {
11
11
  name: string;
12
12
  };
13
- onChangeDebounce?: boolean;
14
13
  }
15
14
  export declare type WalletPassListRef = {
16
15
  init: (params: MachineCodeListParams, formatList?: (val: WalletPassDataType[]) => WalletPassDataType[]) => void;
@@ -41,7 +41,7 @@ var import_utils2 = require("../utils");
41
41
  var import_index = require("./index.less");
42
42
  var WalletPassList = (0, import_react.forwardRef)(
43
43
  (props, ref) => {
44
- const { title, onChange, data: propsData, value, walletSetting, onLoadingChange, loading: propsLoading, onChangeDebounce } = props;
44
+ const { title, onChange, data: propsData, value, walletSetting } = props;
45
45
  const [data, setData] = (0, import_react.useState)(
46
46
  propsData || []
47
47
  );
@@ -51,9 +51,6 @@ var WalletPassList = (0, import_react.forwardRef)(
51
51
  setData(propsData);
52
52
  }
53
53
  }, [propsData]);
54
- (0, import_react.useEffect)(() => {
55
- setLoading(!!propsLoading);
56
- }, [propsLoading]);
57
54
  const getList = async (params, formatList) => {
58
55
  setLoading(true);
59
56
  try {
@@ -73,9 +70,6 @@ var WalletPassList = (0, import_react.forwardRef)(
73
70
  (0, import_react.useImperativeHandle)(ref, () => ({
74
71
  init
75
72
  }));
76
- (0, import_react.useEffect)(() => {
77
- onLoadingChange == null ? void 0 : onLoadingChange(loading);
78
- }, [loading]);
79
73
  const { availableList, disabledList } = (0, import_react.useMemo)(() => {
80
74
  const _disabledList = [];
81
75
  const _availableList = [];
@@ -117,8 +111,7 @@ var WalletPassList = (0, import_react.forwardRef)(
117
111
  value,
118
112
  onChange: handleChange,
119
113
  showEmpty: data.length === 0,
120
- empty,
121
- onChangeDebounce
114
+ empty
122
115
  }
123
116
  ), !!disabledList.length && /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-walletPass-list-disabled" }, import_utils.locales.getText("tocPay.text.walletPassDisabled")), /* @__PURE__ */ import_react.default.createElement(
124
117
  import_materials.PisellCardList,
@@ -48,7 +48,6 @@ var WalletPass = (0, import_react.forwardRef)((props, ref) => {
48
48
  var _a;
49
49
  const { onWalletPassChange, walletPass, walletSetting } = props;
50
50
  const [currentWalletPass, setCurrentWalletPass] = (0, import_react.useState)(walletPass);
51
- const [loading, setLoading] = (0, import_react.useState)(false);
52
51
  const [open, setOpen] = (0, import_react.useState)(false);
53
52
  const [searchOpen, setSearchOpen] = (0, import_react.useState)(false);
54
53
  const [addList, setAddList] = (0, import_react.useState)([]);
@@ -282,9 +281,7 @@ var WalletPass = (0, import_react.forwardRef)((props, ref) => {
282
281
  data: otherCustomerWalletPassList,
283
282
  title: import_utils.locales.getText("tocPay.text.couponCodesAdded"),
284
283
  onChange: handleOtherChange,
285
- value: selectValue,
286
- loading,
287
- onChangeDebounce: true
284
+ value: selectValue
288
285
  }
289
286
  ), /* @__PURE__ */ import_react.default.createElement(
290
287
  import_List.default,
@@ -293,8 +290,7 @@ var WalletPass = (0, import_react.forwardRef)((props, ref) => {
293
290
  title: walletSetting.name,
294
291
  onChange: handleCurrentChange,
295
292
  ref: listRef,
296
- value: selectValue,
297
- onLoadingChange: setLoading
293
+ value: selectValue
298
294
  }
299
295
  ))
300
296
  ), /* @__PURE__ */ import_react.default.createElement(
@@ -51,7 +51,7 @@ export declare const formatFranchiseeRoute: (url: string, history?: any) => stri
51
51
  export declare const getAvailableMaxAmount: (data: WalletPassDataType) => string;
52
52
  export declare const clientPayment: (params: {
53
53
  order_id: number;
54
- type: "aliPay" | "wxPay" | 'google_pay';
54
+ type: "aliPay" | "wxPay";
55
55
  values: any;
56
56
  interaction?: any;
57
57
  }) => void;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const PhoneField: ({ value, onChange }: any) => JSX.Element;
3
2
  export default PhoneField;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const Actor: ({ name }: {
3
2
  name: string;
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface InfoProps {
3
2
  relation_id: any;
4
3
  action: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CalendarDataItem } from "../type";
3
2
  declare type CalendarItemProps = {
4
3
  month: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare type CurrentDayProps = {
4
3
  onClose: () => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  import { ScheduleItem } from '../../../type';
4
3
  declare type Item = any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const ProductDetail: ({ form, currentProduct, }: {
4
3
  form: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const ProductDetailByDate: () => JSX.Element;
4
3
  export default ProductDetailByDate;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Products: () => JSX.Element;
4
3
  export default Products;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const RelationProduct: ({ value, onChange, }: {
4
3
  value?: any;
@@ -17,6 +17,6 @@ declare let modal: Omit<ModalStaticFunctions, "warn">;
17
17
  export declare const setModal: (m: Omit<ModalStaticFunctions, "warn">) => void;
18
18
  export declare const saveConfirm: () => Promise<{
19
19
  destroy: () => void;
20
- update: (configUpdate: import("antd/es/modal/interface").ModalFuncProps | ((prevConfig: import("antd/es/modal/interface").ModalFuncProps) => import("antd/es/modal/interface").ModalFuncProps)) => void;
20
+ update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
21
21
  }>;
22
22
  export { modal };
@@ -27,8 +27,8 @@ __export(utils_exports, {
27
27
  module.exports = __toCommonJS(utils_exports);
28
28
  var import_utils = require("@pisell/utils");
29
29
  var Request = class {
30
- request = {};
31
30
  constructor() {
31
+ this.request = {};
32
32
  }
33
33
  setRequest(val) {
34
34
  this.request = val;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Empty: (props: any) => JSX.Element;
4
3
  export default Empty;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Content: () => JSX.Element;
4
3
  export default Content;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface AddServiceVariantProps {
3
2
  globalState: any;
4
3
  setGlobalState: any;