@pisell/private-materials 3.3.22 → 3.3.23

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 (290) 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/render/default/view.js +4 -4
  7. package/build/lowcode/view.js +4 -4
  8. package/es/businessModel/SalesModel/index.d.ts +1 -0
  9. package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +3 -0
  10. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
  11. package/es/components/appointmentBooking/components/Content/index.d.ts +1 -0
  12. package/es/components/appointmentBooking/components/Date/state.d.ts +63 -0
  13. package/es/components/appointmentBooking/components/Header/index.d.ts +1 -0
  14. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +3 -0
  15. package/es/components/appointmentBooking/index.d.ts +1 -0
  16. package/es/components/appointmentBooking/locales.d.ts +354 -0
  17. package/es/components/booking/addons/model.d.ts +1 -10
  18. package/es/components/booking/addons/model.js +5 -5
  19. package/es/components/booking/components/TabProduct/index.d.ts +1 -0
  20. package/es/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  21. package/es/components/booking/components/TabProduct/selectProductItem/index.js +4 -4
  22. package/es/components/booking/components/TabProduct/tabs/index.js +5 -1
  23. package/es/components/booking/components/browserSelect/index.js +1 -1
  24. package/es/components/booking/components/customSelect/index.d.ts +38 -0
  25. package/es/components/booking/components/footer/index.d.ts +1 -0
  26. package/es/components/booking/deposit/index.d.ts +1 -0
  27. package/es/components/booking/forms/footer.d.ts +6 -0
  28. package/es/components/booking/forms/model.d.ts +1 -10
  29. package/es/components/booking/forms/model.js +5 -5
  30. package/es/components/booking/forms/sendModal/index.d.ts +27 -0
  31. package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  32. package/es/components/booking/info/addServiceVariant/index.d.ts +1 -0
  33. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  34. package/es/components/booking/info/clientVariant/utils.d.ts +1 -0
  35. package/es/components/booking/info/date/index.d.ts +1 -0
  36. package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  37. package/es/components/booking/info/index.d.ts +1 -0
  38. package/es/components/booking/info/model.d.ts +1 -10
  39. package/es/components/booking/info/notes/index.d.ts +1 -0
  40. package/es/components/booking/info/service/Lists.d.ts +1 -0
  41. package/es/components/booking/info/service/actions/index.d.ts +1 -0
  42. package/es/components/booking/info/service/like/index.js +1 -1
  43. package/es/components/booking/info/service/serviceList/index.d.ts +1 -0
  44. package/es/components/booking/info/service2/Lists.d.ts +1 -0
  45. package/es/components/booking/info2/service/actions/index.d.ts +1 -0
  46. package/es/components/booking/info2/service/addService/index.d.ts +1 -0
  47. package/es/components/booking/info2/service/addService/index.js +16 -2
  48. package/es/components/booking/info2/service/addTimeModal/index.d.ts +1 -0
  49. package/es/components/booking/info2/service/serviceList/index.d.ts +1 -0
  50. package/es/components/booking/info2/utils.d.ts +4 -0
  51. package/es/components/booking/locales.d.ts +807 -0
  52. package/es/components/booking/materiels/duration/index.d.ts +1 -0
  53. package/es/components/booking/materiels/holder/index.d.ts +1 -0
  54. package/es/components/booking/materiels/startTime/index.d.ts +1 -0
  55. package/es/components/booking/materiels/startTime/index.js +1 -1
  56. package/es/components/booking/model.d.ts +1 -9
  57. package/es/components/booking/notes/NoteBlock/NoteItem/index.js +1 -1
  58. package/es/components/booking/notes/NoteBlock/index.js +11 -11
  59. package/es/components/booking/notes/model.d.ts +1 -10
  60. package/es/components/booking/notes/model.js +5 -5
  61. package/es/components/booking/payments/model.d.ts +1 -10
  62. package/es/components/booking/payments/model.js +5 -5
  63. package/es/components/booking/utils.d.ts +2 -2
  64. package/es/components/eftposPay/amount.d.ts +2 -1
  65. package/es/components/eftposPay/app.d.ts +1 -0
  66. package/es/components/eftposPay/component/fail/failCustom.d.ts +3 -0
  67. package/es/components/eftposPay/component/fail/index.d.ts +3 -0
  68. package/es/components/eftposPay/component/fail/unknow.d.ts +9 -0
  69. package/es/components/eftposPay/device.d.ts +2 -1
  70. package/es/components/eftposPay/hooks.d.ts +35 -0
  71. package/es/components/eftposPay/index.d.ts +4 -0
  72. package/es/components/eftposPay/locales.d.ts +330 -0
  73. package/es/components/eftposPay/pay.d.ts +20 -0
  74. package/es/components/eftposPay/payo/config.d.ts +13 -0
  75. package/es/components/eftposPay/payo/hooks.d.ts +10 -0
  76. package/es/components/eftposPay/store/index.d.ts +6 -6
  77. package/es/components/eftposPay/tyro/index.d.ts +9 -0
  78. package/es/components/eftposPay/windcave/helper.d.ts +23 -0
  79. package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  80. package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  81. package/es/components/eventBooking/components/Provider/Information/index.d.ts +3 -0
  82. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  83. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  84. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  85. package/es/components/eventBooking/index.d.ts +1 -0
  86. package/es/components/listComponent/index.js +5 -5
  87. package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +10 -0
  88. package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.d.ts +2 -0
  89. package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +10 -0
  90. package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.d.ts +2 -0
  91. package/es/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.d.ts +2 -0
  92. package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +10 -0
  93. package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.d.ts +2 -0
  94. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  95. package/es/components/pay/toC/PaymentMethods/StripePay/serve.d.ts +2 -0
  96. package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +10 -0
  97. package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +2 -0
  98. package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +10 -0
  99. package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +2 -0
  100. package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +111 -0
  101. package/es/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +3 -0
  102. package/es/components/pay/toC/index.d.ts +3 -0
  103. package/es/components/pay/toC/model.d.ts +1 -9
  104. package/es/components/pay/toC/utils.d.ts +49 -0
  105. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  106. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  107. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  108. package/es/components/productExtension/card/index.js +3 -3
  109. package/es/components/productExtension/fields/Actor/CutOffTime/index.js +1 -1
  110. package/es/components/productExtension/fields/Actor/index.d.ts +1 -0
  111. package/es/components/productExtension/fields/Forms/index.d.ts +1 -0
  112. package/es/components/productExtension/fields/Forms/index.js +12 -12
  113. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.js +1 -1
  114. package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  115. package/es/components/productExtension/fields/SelectProducts/server.js +2 -2
  116. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  117. package/es/components/productExtension/fields/SelectResourcesTable/server.js +2 -2
  118. package/es/components/productExtension/index.d.ts +1 -0
  119. package/es/components/productExtension/server.js +2 -2
  120. package/es/components/ruleSetting/index.d.ts +9 -0
  121. package/es/components/ruleSetting/ruleBorder/index.js +1 -1
  122. package/es/components/ruleSetting/server.d.ts +4 -0
  123. package/es/components/schedules/calendar/index.js +4 -4
  124. package/es/components/schedules/calendar/serve.js +2 -2
  125. package/es/components/schedules/components/CurrentDay/index.js +5 -5
  126. package/es/components/schedules/components/CurrentDay/serve.js +2 -2
  127. package/es/components/schedules/components/DropdownSort/index.js +1 -1
  128. package/es/components/schedules/components/ResourceList/index.js +1 -1
  129. package/es/components/schedules/components/Search/index.js +5 -5
  130. package/es/components/schedules/model.d.ts +1 -9
  131. package/es/components/schedules/model.js +5 -5
  132. package/es/components/schedules/openHours/index.js +1 -1
  133. package/es/components/schedules/openHours/serve.js +2 -2
  134. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.js +1 -1
  135. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.js +5 -5
  136. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.js +4 -4
  137. package/es/components/schedules/products/ProductDetailDrawer/index.js +3 -3
  138. package/es/components/schedules/products/serve.js +2 -2
  139. package/es/components/schedules/products/utils.js +5 -5
  140. package/es/components/schedules/resources/detail/detailContent.js +2 -2
  141. package/es/components/schedules/resources/detail/index.js +10 -10
  142. package/es/components/schedules/resources/list/index.js +2 -2
  143. package/es/components/schedules/resources/relationProduct/index.js +1 -1
  144. package/es/components/schedules/resources/serve.js +2 -2
  145. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.js +9 -9
  146. package/es/components/schedules/utils.js +4 -4
  147. package/es/components/selectModal/index.js +2 -2
  148. package/es/components/shoppingCart/Provider.d.ts +3 -0
  149. package/es/components/shoppingCart/components/Cart/Product.d.ts +3 -0
  150. package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
  151. package/es/components/shoppingCart/components/Render/index.d.ts +4 -0
  152. package/es/components/shoppingCart/hooks/useClearCart.d.ts +2 -0
  153. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +1 -0
  154. package/es/components/ticketBooking/index.d.ts +1 -0
  155. package/es/components/wallet/Detail/model.d.ts +1 -13
  156. package/es/components/wallet/DiscountCard/model.d.ts +1 -14
  157. package/es/components/wallet/PointCard/model.d.ts +1 -13
  158. package/es/components/wallet/RechargeableCard/model.d.ts +1 -29
  159. package/es/components/wallet/Voucher/model.d.ts +1 -13
  160. package/es/components/wallet/hooks/useWalletCard.d.ts +1 -0
  161. package/es/components/wallet/model.d.ts +1 -9
  162. package/es/components/workSpaceList/components/AppearanceEdit/IconPanel.d.ts +11 -0
  163. package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
  164. package/es/components/workSpaceList/components/Card/constants.d.ts +2 -0
  165. package/es/components/workSpaceList/components/EditableString/index.d.ts +21 -0
  166. package/es/components/workSpaceList/components/SearchBar/index.d.ts +17 -0
  167. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +3 -0
  168. package/es/components/workSpaceList/components/Sort/index.d.ts +7 -0
  169. package/es/components/workSpaceList/components/WorkspaceItem/index.d.ts +22 -0
  170. package/es/hooks/useComponents.js +1 -1
  171. package/lib/businessModel/SalesModel/index.d.ts +1 -0
  172. package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +3 -0
  173. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
  174. package/lib/components/appointmentBooking/components/Content/index.d.ts +1 -0
  175. package/lib/components/appointmentBooking/components/Date/state.d.ts +63 -0
  176. package/lib/components/appointmentBooking/components/Header/index.d.ts +1 -0
  177. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +3 -0
  178. package/lib/components/appointmentBooking/index.d.ts +1 -0
  179. package/lib/components/appointmentBooking/locales.d.ts +354 -0
  180. package/lib/components/booking/addons/model.d.ts +1 -10
  181. package/lib/components/booking/components/TabProduct/index.d.ts +1 -0
  182. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  183. package/lib/components/booking/components/customSelect/index.d.ts +38 -0
  184. package/lib/components/booking/components/footer/index.d.ts +1 -0
  185. package/lib/components/booking/deposit/index.d.ts +1 -0
  186. package/lib/components/booking/forms/footer.d.ts +6 -0
  187. package/lib/components/booking/forms/model.d.ts +1 -10
  188. package/lib/components/booking/forms/sendModal/index.d.ts +27 -0
  189. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  190. package/lib/components/booking/info/addServiceVariant/index.d.ts +1 -0
  191. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  192. package/lib/components/booking/info/clientVariant/utils.d.ts +1 -0
  193. package/lib/components/booking/info/date/index.d.ts +1 -0
  194. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  195. package/lib/components/booking/info/index.d.ts +1 -0
  196. package/lib/components/booking/info/model.d.ts +1 -10
  197. package/lib/components/booking/info/notes/index.d.ts +1 -0
  198. package/lib/components/booking/info/service/Lists.d.ts +1 -0
  199. package/lib/components/booking/info/service/actions/index.d.ts +1 -0
  200. package/lib/components/booking/info/service/serviceList/index.d.ts +1 -0
  201. package/lib/components/booking/info/service2/Lists.d.ts +1 -0
  202. package/lib/components/booking/info2/service/actions/index.d.ts +1 -0
  203. package/lib/components/booking/info2/service/addService/index.d.ts +1 -0
  204. package/lib/components/booking/info2/service/addService/index.js +12 -2
  205. package/lib/components/booking/info2/service/addTimeModal/index.d.ts +1 -0
  206. package/lib/components/booking/info2/service/serviceList/index.d.ts +1 -0
  207. package/lib/components/booking/info2/utils.d.ts +4 -0
  208. package/lib/components/booking/locales.d.ts +807 -0
  209. package/lib/components/booking/materiels/duration/index.d.ts +1 -0
  210. package/lib/components/booking/materiels/holder/index.d.ts +1 -0
  211. package/lib/components/booking/materiels/startTime/index.d.ts +1 -0
  212. package/lib/components/booking/model.d.ts +1 -9
  213. package/lib/components/booking/notes/model.d.ts +1 -10
  214. package/lib/components/booking/payments/model.d.ts +1 -10
  215. package/lib/components/booking/utils.d.ts +2 -2
  216. package/lib/components/eftposPay/amount.d.ts +2 -1
  217. package/lib/components/eftposPay/app.d.ts +1 -0
  218. package/lib/components/eftposPay/component/fail/failCustom.d.ts +3 -0
  219. package/lib/components/eftposPay/component/fail/index.d.ts +3 -0
  220. package/lib/components/eftposPay/component/fail/unknow.d.ts +9 -0
  221. package/lib/components/eftposPay/device.d.ts +2 -1
  222. package/lib/components/eftposPay/hooks.d.ts +35 -0
  223. package/lib/components/eftposPay/index.d.ts +4 -0
  224. package/lib/components/eftposPay/locales.d.ts +330 -0
  225. package/lib/components/eftposPay/pay.d.ts +20 -0
  226. package/lib/components/eftposPay/payo/config.d.ts +13 -0
  227. package/lib/components/eftposPay/payo/hooks.d.ts +10 -0
  228. package/lib/components/eftposPay/store/index.d.ts +6 -6
  229. package/lib/components/eftposPay/tyro/index.d.ts +9 -0
  230. package/lib/components/eftposPay/windcave/helper.d.ts +23 -0
  231. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  232. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  233. package/lib/components/eventBooking/components/Provider/Information/index.d.ts +3 -0
  234. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  235. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  236. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  237. package/lib/components/eventBooking/index.d.ts +1 -0
  238. package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +10 -0
  239. package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.d.ts +2 -0
  240. package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +10 -0
  241. package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.d.ts +2 -0
  242. package/lib/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.d.ts +2 -0
  243. package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +10 -0
  244. package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.d.ts +2 -0
  245. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  246. package/lib/components/pay/toC/PaymentMethods/StripePay/serve.d.ts +2 -0
  247. package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +10 -0
  248. package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +2 -0
  249. package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +10 -0
  250. package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +2 -0
  251. package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +111 -0
  252. package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +3 -0
  253. package/lib/components/pay/toC/index.d.ts +3 -0
  254. package/lib/components/pay/toC/model.d.ts +1 -9
  255. package/lib/components/pay/toC/utils.d.ts +49 -0
  256. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  257. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  258. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  259. package/lib/components/productExtension/fields/Actor/index.d.ts +1 -0
  260. package/lib/components/productExtension/fields/Forms/index.d.ts +1 -0
  261. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  262. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  263. package/lib/components/productExtension/index.d.ts +1 -0
  264. package/lib/components/ruleSetting/index.d.ts +9 -0
  265. package/lib/components/ruleSetting/server.d.ts +4 -0
  266. package/lib/components/schedules/model.d.ts +1 -9
  267. package/lib/components/schedules/utils.js +1 -1
  268. package/lib/components/shoppingCart/Provider.d.ts +3 -0
  269. package/lib/components/shoppingCart/components/Cart/Product.d.ts +3 -0
  270. package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
  271. package/lib/components/shoppingCart/components/Render/index.d.ts +4 -0
  272. package/lib/components/shoppingCart/hooks/useClearCart.d.ts +2 -0
  273. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +1 -0
  274. package/lib/components/ticketBooking/index.d.ts +1 -0
  275. package/lib/components/wallet/Detail/model.d.ts +1 -13
  276. package/lib/components/wallet/DiscountCard/model.d.ts +1 -14
  277. package/lib/components/wallet/PointCard/model.d.ts +1 -13
  278. package/lib/components/wallet/RechargeableCard/model.d.ts +1 -29
  279. package/lib/components/wallet/Voucher/model.d.ts +1 -13
  280. package/lib/components/wallet/hooks/useWalletCard.d.ts +1 -0
  281. package/lib/components/wallet/model.d.ts +1 -9
  282. package/lib/components/workSpaceList/components/AppearanceEdit/IconPanel.d.ts +11 -0
  283. package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
  284. package/lib/components/workSpaceList/components/Card/constants.d.ts +2 -0
  285. package/lib/components/workSpaceList/components/EditableString/index.d.ts +21 -0
  286. package/lib/components/workSpaceList/components/SearchBar/index.d.ts +17 -0
  287. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +3 -0
  288. package/lib/components/workSpaceList/components/Sort/index.d.ts +7 -0
  289. package/lib/components/workSpaceList/components/WorkspaceItem/index.d.ts +22 -0
  290. package/package.json +1 -1
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import './index.less';
3
+ declare const Content: () => JSX.Element;
4
+ export default Content;
@@ -0,0 +1,2 @@
1
+ declare const useClearCart: (key?: number | undefined) => JSX.Element | null;
2
+ export default useClearCart;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const TicketBooking: () => JSX.Element;
3
4
  export default TicketBooking;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface TicketBookingProps {
3
4
  productExtensionType: string[];
@@ -1,13 +1 @@
1
- /// <reference types="react" />
2
- interface RechargeState {
3
- addWalletCard: any;
4
- }
5
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
6
- walletDetailState: RechargeState;
7
- } & {
8
- dispatch: (params: {
9
- type: string;
10
- payload: any;
11
- }) => void;
12
- }>;
13
- export {};
1
+ export declare const Provider: any, Context: any;
@@ -1,14 +1 @@
1
- /// <reference types="react" />
2
- interface RechargeState {
3
- total: number;
4
- setup?: 'menu' | 'list' | 'detail' | string;
5
- }
6
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
7
- state: RechargeState;
8
- } & {
9
- dispatch: (params: {
10
- type: string;
11
- payload: any;
12
- }) => void;
13
- }>;
14
- export {};
1
+ export declare const Provider: any, Context: any;
@@ -1,13 +1 @@
1
- /// <reference types="react" />
2
- interface RechargeState {
3
- total: number;
4
- }
5
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
6
- state: RechargeState;
7
- } & {
8
- dispatch: (params: {
9
- type: string;
10
- payload: any;
11
- }) => void;
12
- }>;
13
- export {};
1
+ export declare const Provider: any, Context: any;
@@ -1,29 +1 @@
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
+ export declare const Provider: any, Context: any;
@@ -1,13 +1 @@
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
+ export declare const Provider: any, Context: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { IWalletListItemProps } from '../serve';
2
3
  /**
3
4
  * 钱包卡片Hook的参数
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IWalletListItemProps } from './serve';
3
2
  export interface WalletCardItemProps {
4
3
  id: string;
@@ -27,11 +26,4 @@ export interface WalletListProps {
27
26
  currentSearchListItemCode?: string;
28
27
  [key: string]: any;
29
28
  }
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
- }>;
29
+ export declare const Provider: any, Context: any;
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ import './IconPanel.less';
3
+ interface IconPanel {
4
+ name: string;
5
+ color?: string;
6
+ value?: string;
7
+ defaultValue?: string;
8
+ onChange?: (val: string) => void;
9
+ }
10
+ declare const IconPanel: React.FC<IconPanel>;
11
+ export default IconPanel;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ interface IconItem {
3
+ name: string;
4
+ icon: React.ComponentType;
5
+ }
6
+ export declare const icons: IconItem[];
7
+ export declare const iconMap: Record<string, React.ComponentType>;
8
+ export {};
@@ -0,0 +1,2 @@
1
+ import { MenuProps } from 'antd';
2
+ export declare const items: MenuProps['items'];
@@ -0,0 +1,21 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ interface EditableString {
4
+ text: string;
5
+ style?: React.CSSProperties;
6
+ onChange?: (value: string) => void;
7
+ editable?: boolean;
8
+ editing?: boolean;
9
+ maxLength?: number;
10
+ className?: string;
11
+ ellipsis?: {
12
+ row: number;
13
+ };
14
+ }
15
+ /**
16
+ * 可编辑string
17
+ * @param props
18
+ * @constructor
19
+ */
20
+ declare const EditableString: React.FC<EditableString>;
21
+ export default EditableString;
@@ -0,0 +1,17 @@
1
+ import { CreateBaseModalProps } from './../CreateBaseModal';
2
+ import { SortProps } from './../../../workSpaceList/components/Sort';
3
+ import React from 'react';
4
+ import './index.less';
5
+ export interface SearchBarProps {
6
+ title: string;
7
+ describe?: string;
8
+ onTitleChange?: (value: string) => void;
9
+ onDescribeChange?: (value: string) => void;
10
+ onDelete?: () => void;
11
+ onSort?: SortProps['onChange'];
12
+ isDetail?: boolean;
13
+ onAddBase: CreateBaseModalProps['onAddBase'];
14
+ editingTitle?: boolean;
15
+ }
16
+ declare const SearchBar: React.FC<SearchBarProps>;
17
+ export default SearchBar;
@@ -0,0 +1,3 @@
1
+ import './../../index.less';
2
+ declare const Search: () => JSX.Element;
3
+ export default Search;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ export interface SortProps {
4
+ onChange?: (val: string[]) => void;
5
+ }
6
+ declare const Sort: React.FC<SortProps>;
7
+ export default Sort;
@@ -0,0 +1,22 @@
1
+ import { CardListProps } from './../CardList';
2
+ import { SearchBarProps } from './../SearchBar';
3
+ import { FC } from 'react';
4
+ import './index.less';
5
+ export interface WorkspaceItemProps {
6
+ title: string;
7
+ describe?: string;
8
+ data: any[];
9
+ isDetail?: boolean;
10
+ id: number;
11
+ onSort?: SearchBarProps['onSort'];
12
+ onAddBase: SearchBarProps['onAddBase'];
13
+ onRefresh?: () => void;
14
+ onDelete?: () => void;
15
+ onDeleteBase?: (id: number) => void;
16
+ onUpdateBase?: CardListProps['onUpdateBase'];
17
+ loading?: boolean;
18
+ scrollRef?: any;
19
+ baseCount?: number;
20
+ }
21
+ declare const WorkspaceItem: FC<WorkspaceItemProps>;
22
+ export default WorkspaceItem;
@@ -8,7 +8,7 @@ var useComponents = function useComponents(params) {
8
8
  var _utils$getComponents;
9
9
  var _ref = appHelper || {},
10
10
  utils = _ref.utils;
11
- return (utils === null || utils === void 0 ? void 0 : (_utils$getComponents = utils.getComponents) === null || _utils$getComponents === void 0 ? void 0 : _utils$getComponents.call(utils, components)) || [];
11
+ return (utils === null || utils === void 0 || (_utils$getComponents = utils.getComponents) === null || _utils$getComponents === void 0 ? void 0 : _utils$getComponents.call(utils, components)) || [];
12
12
  }, [components]);
13
13
  return Cpt;
14
14
  };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const SalesModel: ({ children, hooks, config }: any) => JSX.Element;
2
3
  export * from './Sales';
3
4
  export default SalesModel;
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const Total: ({ className, isFooter }: any) => JSX.Element;
3
+ export default Total;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const CartItem: ({ onNext }: any) => JSX.Element;
3
4
  export default CartItem;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Layout: () => JSX.Element;
3
4
  export default Layout;
@@ -0,0 +1,63 @@
1
+ /**
2
+ * @title: 获取包括今天的后七天日期
3
+ * @description:
4
+ * @param {*}
5
+ * @return {*}
6
+ * @Author: 严文强
7
+ * @Date: 2024-02-01 11:00
8
+ */
9
+ export declare const getNextSevenDaysList: (defaultDay: string) => string[];
10
+ /**
11
+ * @title: 将年月日信息只展示为天
12
+ * @description: 如果为今天 则返回ToDay
13
+ * @param {*}
14
+ * @return {*}
15
+ * @Author: 严文强
16
+ * @Date: 2024-02-01 11:00
17
+ */
18
+ export declare const ShowDayOnly: (date: string) => string;
19
+ /**
20
+ * @title: 日历星期多语言
21
+ * @description:
22
+ * @param {*}
23
+ * @return {*}
24
+ * @Author: 严文强
25
+ * @Date: 2024-02-01 18:42
26
+ */
27
+ export declare const weekListText: string[];
28
+ /**
29
+ * @title: 不同状态颜色值
30
+ * @description:
31
+ * @param {*}
32
+ * @return {*}
33
+ * @Author: xiangxiang.shao
34
+ * @Date: 2024-02-19 11:35
35
+ */
36
+ export declare const statusColor: {
37
+ call_to_book: string;
38
+ lots_of_space: string;
39
+ filling_up_fast: string;
40
+ sold_out: string;
41
+ };
42
+ /**
43
+ * @title: 根据预约量数据判断当前状态
44
+ * @description:
45
+ * @param {*}
46
+ * @return {*}
47
+ * @Author: xiangxiang.shao
48
+ * @Date: 2024-02-19 11:35
49
+ */
50
+ export declare const getStatus: (dateLimit: any, currentDate: string, cutTime: any) => {
51
+ status: string;
52
+ disabled: boolean;
53
+ };
54
+ /**
55
+ * @title: 根据当前日期以设定判断当前是否是call_to_book状态
56
+ * @description:
57
+ * @param {*}
58
+ * @return {*}
59
+ * @Author: xiangxiang.shao
60
+ * @Date: 2024-02-21 10:10
61
+ */
62
+ export declare const getCallToBookStatus: (currentDate: string, dateLimitData: any, cutTime: any) => boolean;
63
+ export declare const localeTypes: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Header: () => JSX.Element;
3
4
  export default Header;
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const DepositModal: (props: any) => JSX.Element;
3
+ export default DepositModal;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const AppointmentBooking: () => JSX.Element;
3
4
  export default AppointmentBooking;