@pisell/private-materials 6.3.64 → 6.3.66

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 (335) 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 +145 -145
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +7 -7
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +8 -8
  11. package/es/businessModel/SalesModel/Sales/index.d.ts +24 -0
  12. package/es/businessModel/SalesModel/hooks/index.d.ts +1 -0
  13. package/es/businessModel/index.d.ts +0 -0
  14. package/es/components/Sales/Cart/types.d.ts +31 -0
  15. package/es/components/Sales/Cart/utils.d.ts +63 -0
  16. package/es/components/Sales/Checkout/utils.d.ts +41 -0
  17. package/es/components/Sales/Customer/index.d.ts +25 -0
  18. package/es/components/Sales/hooks/index.d.ts +1 -0
  19. package/es/components/Sales/utils/index.d.ts +1 -0
  20. package/es/components/appointmentBooking/components/ConfirmInformation/utils.d.ts +12 -0
  21. package/es/components/appointmentBooking/components/Date/state.d.ts +63 -0
  22. package/es/components/appointmentBooking/components/Form/utils.d.ts +8 -0
  23. package/es/components/appointmentBooking/components/Resource/utils.d.ts +5 -0
  24. package/es/components/appointmentBooking/type.d.ts +17 -0
  25. package/es/components/booking/components/TabProduct/tabs/index.d.ts +21 -0
  26. package/es/components/booking/components/drawer/index.d.ts +19 -0
  27. package/es/components/booking/components/footer/serve.d.ts +3 -0
  28. package/es/components/booking/components/footer/utils.d.ts +1 -0
  29. package/es/components/booking/components/footer/utils.js +42 -23
  30. package/es/components/booking/components/menuButton/index.d.ts +10 -0
  31. package/es/components/booking/components/voucher/index.js +7 -8
  32. package/es/components/booking/components/voucher/utils.d.ts +4 -0
  33. package/es/components/booking/deposit/serve.d.ts +8 -0
  34. package/es/components/booking/editBookingModal/locales.d.ts +21 -0
  35. package/es/components/booking/editBookingModal/mock.d.ts +807 -0
  36. package/es/components/booking/editBookingModal/type.d.ts +12 -0
  37. package/es/components/booking/forms/format.d.ts +11 -0
  38. package/es/components/booking/info/Provider.d.ts +0 -0
  39. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +2 -0
  40. package/es/components/booking/info/hooks/useGetHolderList.d.ts +2 -0
  41. package/es/components/booking/info/service/serviceItem/Sales/index.d.ts +0 -0
  42. package/es/components/booking/info/service/serviceManager/distributeDiscount.d.ts +11 -0
  43. package/es/components/booking/info/service/serviceManager/utils.d.ts +0 -0
  44. package/es/components/booking/info2/service/addService/mock.d.ts +214 -0
  45. package/es/components/booking/info2/service/addTimeModal/serve.d.ts +9 -0
  46. package/es/components/booking/info2/service/editService/Capacity/index.d.ts +4 -0
  47. package/es/components/booking/info2/service/editService/Resources/MaxLengthSelect/index.d.ts +7 -0
  48. package/es/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.d.ts +7 -0
  49. package/es/components/booking/materiels/startTime/index.d.ts +10 -0
  50. package/es/components/eftpos/const.d.ts +64 -0
  51. package/es/components/eftpos/deviceList/index.d.ts +2 -0
  52. package/es/components/eftpos/form/index.d.ts +20 -0
  53. package/es/components/eftpos/group/index.d.ts +5 -0
  54. package/es/components/eftpos/hooks.d.ts +33 -0
  55. package/es/components/eftpos/icon/apiKey.d.ts +4 -0
  56. package/es/components/eftpos/icon/device.d.ts +4 -0
  57. package/es/components/eftpos/locales.d.ts +99 -0
  58. package/es/components/eftpos/log.d.ts +8 -0
  59. package/es/components/eftpos/receipt/index.d.ts +23 -0
  60. package/es/components/eftpos/surcharge/index.d.ts +30 -0
  61. package/es/components/eftposPay/amount.d.ts +1 -1
  62. package/es/components/eftposPay/component/alert/index.d.ts +6 -0
  63. package/es/components/eftposPay/component/alert/warn.d.ts +2 -0
  64. package/es/components/eftposPay/component/header/index.d.ts +10 -0
  65. package/es/components/eftposPay/component/header/titlebar.d.ts +12 -0
  66. package/es/components/eftposPay/component/step/index.d.ts +11 -0
  67. package/es/components/eftposPay/component/step/step.d.ts +8 -0
  68. package/es/components/eftposPay/device.d.ts +1 -1
  69. package/es/components/eftposPay/helper.d.ts +83 -0
  70. package/es/components/eftposPay/hooks.d.ts +1 -1
  71. package/es/components/eftposPay/store/index.d.ts +355 -0
  72. package/es/components/eftposPay/store/useThunkReducer.d.ts +9 -0
  73. package/es/components/eftposPay/tyro/hooks.d.ts +13 -0
  74. package/es/components/eftposPay/windcave/timer.d.ts +29 -0
  75. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +3 -0
  76. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +4 -0
  77. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.d.ts +63 -0
  78. package/es/components/eventBooking/components/bookingAvailabilityCalendar/utils.d.ts +34 -0
  79. package/es/components/eventBooking/locales.d.ts +246 -0
  80. package/es/components/eventBooking/type.d.ts +17 -0
  81. package/es/components/eventBooking/utils.d.ts +45 -0
  82. package/es/components/login/locales.d.ts +24 -0
  83. package/es/components/pay/toC/PaymentList/mock.d.ts +88 -0
  84. package/es/components/pay/toC/PaymentList/status.d.ts +4 -0
  85. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/serve.d.ts +9 -0
  86. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/DynamicSDK.d.ts +2 -0
  87. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +7 -0
  88. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +7 -0
  89. package/es/components/pay/toC/PaymentMethods/hooks/index.d.ts +19 -0
  90. package/es/components/pinModal/locales.d.ts +27 -0
  91. package/es/components/pinModal/types.d.ts +0 -0
  92. package/es/components/pinVerifyModal/locales.d.ts +24 -0
  93. package/es/components/pinVerifyModal/types.d.ts +33 -0
  94. package/es/components/pisellSelectCustomerModal/RightPanel/mock.d.ts +47 -0
  95. package/es/components/pisellSelectCustomerModal/locales.d.ts +81 -0
  96. package/es/components/productExtension/card/index.d.ts +10 -0
  97. package/es/components/productExtension/fields/Actor/Container/index.d.ts +12 -0
  98. package/es/components/productExtension/fields/Actor/CutOffTime/status.d.ts +0 -0
  99. package/es/components/productExtension/fields/Forms/index.d.ts +10 -0
  100. package/es/components/productExtension/fields/SelectProducts/mock.d.ts +0 -0
  101. package/es/components/productExtension/fields/SelectResourcesTable/mock.d.ts +2681 -0
  102. package/es/components/productExtension/locales.d.ts +48 -0
  103. package/es/components/productSelect/components/TabProduct/tabs/index.d.ts +21 -0
  104. package/es/components/productSelect/hooks/useToken.d.ts +18 -0
  105. package/es/components/productSelect/locales.d.ts +18 -0
  106. package/es/components/productSelect/mock.d.ts +134 -0
  107. package/es/components/productSelect/theme/token.d.ts +17 -0
  108. package/es/components/schedules/components/Card/index.d.ts +6 -0
  109. package/es/components/schedules/components/CurrentDay/utils.d.ts +1 -0
  110. package/es/components/schedules/components/DropdownSort/index.d.ts +3 -0
  111. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +11 -0
  112. package/es/components/schedules/constants.d.ts +1 -0
  113. package/es/components/schedules/locales.d.ts +87 -0
  114. package/es/components/schedules/resources/add/index.d.ts +3 -0
  115. package/es/components/schedules/resources/relationProduct/index.d.ts +6 -0
  116. package/es/components/schedules/type.d.ts +157 -0
  117. package/es/components/shoppingCart/mock.d.ts +40 -0
  118. package/es/components/shoppingCart/utils.d.ts +63 -0
  119. package/es/components/stepController/components/Content/index.d.ts +7 -0
  120. package/es/components/stepController/components/Footer/index.d.ts +8 -0
  121. package/es/components/stepController/locales.d.ts +27 -0
  122. package/es/components/stepController/types.d.ts +23 -0
  123. package/es/components/systemSettings/registry/components/SectionList.js +5 -1
  124. package/es/components/tabProduct/card/index.d.ts +7 -0
  125. package/es/components/tabProduct/index.d.ts +16 -0
  126. package/es/components/tabProduct/tabs/index.d.ts +21 -0
  127. package/es/components/taxSelect/locales.d.ts +24 -0
  128. package/es/components/ticketBooking/data.d.ts +58 -0
  129. package/es/components/ticketBooking/hooks/useNetworkStatus.d.ts +11 -0
  130. package/es/components/ticketBooking/miniRedux.d.ts +22 -0
  131. package/es/components/walletList/model.d.ts +6 -0
  132. package/es/components/workSpaceList/components/AppearanceEdit/Color.d.ts +9 -0
  133. package/es/components/workSpaceList/components/AppearanceShow/index.d.ts +11 -0
  134. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
  135. package/es/components/workSpaceList/data.d.ts +42 -0
  136. package/es/hooks/useComponents.d.ts +5 -0
  137. package/es/hooks/useLocale.d.ts +2 -0
  138. package/es/hooks/useLoginUser.d.ts +2 -0
  139. package/es/hooks/usePrefix.d.ts +1 -0
  140. package/es/index.d.ts +1 -0
  141. package/es/index.js +1 -0
  142. package/es/plus/productSelect/CategoryTabs/CategorySkeleton.d.ts +10 -0
  143. package/es/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
  144. package/es/plus/productSelect/ProductList/index.d.ts +22 -0
  145. package/es/plus/productSelect/components/IntersectionObserver.d.ts +42 -0
  146. package/es/plus/productSelect/components/TabsStructure/hooks.d.ts +22 -0
  147. package/es/plus/productSelect/components/TabsStructure/index.d.ts +5 -0
  148. package/es/plus/productSelect/components/TabsStructure/styles.d.ts +47 -0
  149. package/es/plus/productSelect/components/TabsStructure/types.d.ts +105 -0
  150. package/es/plus/productSelect/components/TabsStructure/utils.d.ts +12 -0
  151. package/es/plus/productSelect/hooks/useToken.d.ts +18 -0
  152. package/es/plus/productSelect/locales.d.ts +18 -0
  153. package/es/plus/productSelect/theme/token.d.ts +17 -0
  154. package/es/plus/saasCreateOrganization/locales.d.ts +15 -0
  155. package/es/plus/saasCreateOrganization/types.d.ts +69 -0
  156. package/es/plus/saasLogin/locales.d.ts +51 -0
  157. package/es/plus/saasLogin/types.d.ts +62 -0
  158. package/es/plus/saasLogin/utils.d.ts +35 -0
  159. package/es/plus/saasRegister/locales.d.ts +117 -0
  160. package/es/plus/saasRegister/types.d.ts +114 -0
  161. package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +1 -0
  162. package/es/plus/skuOptionsSelection/utils/index.d.ts +7 -0
  163. package/es/plus/skuOptionsSelection/utils/transformBundleGroup.js +3 -1
  164. package/es/pro/Login2.0/components/LoginCodeInput.js +36 -3
  165. package/es/utils/date.d.ts +11 -0
  166. package/es/utils/load.d.ts +11 -0
  167. package/es/utils/locales.d.ts +1 -0
  168. package/es/utils/tasks/type.d.ts +4 -0
  169. package/lib/businessModel/SalesModel/Sales/index.d.ts +24 -0
  170. package/lib/businessModel/SalesModel/hooks/index.d.ts +1 -0
  171. package/lib/businessModel/index.d.ts +0 -0
  172. package/lib/components/Sales/Cart/types.d.ts +31 -0
  173. package/lib/components/Sales/Cart/utils.d.ts +63 -0
  174. package/lib/components/Sales/Checkout/utils.d.ts +41 -0
  175. package/lib/components/Sales/Customer/index.d.ts +25 -0
  176. package/lib/components/Sales/hooks/index.d.ts +1 -0
  177. package/lib/components/Sales/utils/index.d.ts +1 -0
  178. package/lib/components/appointmentBooking/components/ConfirmInformation/utils.d.ts +12 -0
  179. package/lib/components/appointmentBooking/components/Date/state.d.ts +63 -0
  180. package/lib/components/appointmentBooking/components/Form/utils.d.ts +8 -0
  181. package/lib/components/appointmentBooking/components/Resource/utils.d.ts +5 -0
  182. package/lib/components/appointmentBooking/type.d.ts +17 -0
  183. package/lib/components/booking/components/TabProduct/tabs/index.d.ts +21 -0
  184. package/lib/components/booking/components/drawer/index.d.ts +19 -0
  185. package/lib/components/booking/components/footer/serve.d.ts +3 -0
  186. package/lib/components/booking/components/footer/utils.d.ts +1 -0
  187. package/lib/components/booking/components/footer/utils.js +20 -3
  188. package/lib/components/booking/components/menuButton/index.d.ts +10 -0
  189. package/lib/components/booking/components/voucher/index.js +1 -0
  190. package/lib/components/booking/components/voucher/utils.d.ts +4 -0
  191. package/lib/components/booking/deposit/serve.d.ts +8 -0
  192. package/lib/components/booking/editBookingModal/locales.d.ts +21 -0
  193. package/lib/components/booking/editBookingModal/mock.d.ts +807 -0
  194. package/lib/components/booking/editBookingModal/type.d.ts +12 -0
  195. package/lib/components/booking/forms/format.d.ts +11 -0
  196. package/lib/components/booking/info/Provider.d.ts +0 -0
  197. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +2 -0
  198. package/lib/components/booking/info/hooks/useGetHolderList.d.ts +2 -0
  199. package/lib/components/booking/info/service/serviceItem/Sales/index.d.ts +0 -0
  200. package/lib/components/booking/info/service/serviceManager/distributeDiscount.d.ts +11 -0
  201. package/lib/components/booking/info/service/serviceManager/utils.d.ts +0 -0
  202. package/lib/components/booking/info2/service/addService/mock.d.ts +214 -0
  203. package/lib/components/booking/info2/service/addTimeModal/serve.d.ts +9 -0
  204. package/lib/components/booking/info2/service/editService/Capacity/index.d.ts +4 -0
  205. package/lib/components/booking/info2/service/editService/Resources/MaxLengthSelect/index.d.ts +7 -0
  206. package/lib/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.d.ts +7 -0
  207. package/lib/components/booking/materiels/startTime/index.d.ts +10 -0
  208. package/lib/components/eftpos/const.d.ts +64 -0
  209. package/lib/components/eftpos/deviceList/index.d.ts +2 -0
  210. package/lib/components/eftpos/form/index.d.ts +20 -0
  211. package/lib/components/eftpos/group/index.d.ts +5 -0
  212. package/lib/components/eftpos/hooks.d.ts +33 -0
  213. package/lib/components/eftpos/icon/apiKey.d.ts +4 -0
  214. package/lib/components/eftpos/icon/device.d.ts +4 -0
  215. package/lib/components/eftpos/locales.d.ts +99 -0
  216. package/lib/components/eftpos/log.d.ts +8 -0
  217. package/lib/components/eftpos/receipt/index.d.ts +23 -0
  218. package/lib/components/eftpos/surcharge/index.d.ts +30 -0
  219. package/lib/components/eftposPay/amount.d.ts +1 -1
  220. package/lib/components/eftposPay/component/alert/index.d.ts +6 -0
  221. package/lib/components/eftposPay/component/alert/warn.d.ts +2 -0
  222. package/lib/components/eftposPay/component/header/index.d.ts +10 -0
  223. package/lib/components/eftposPay/component/header/titlebar.d.ts +12 -0
  224. package/lib/components/eftposPay/component/step/index.d.ts +11 -0
  225. package/lib/components/eftposPay/component/step/step.d.ts +8 -0
  226. package/lib/components/eftposPay/device.d.ts +1 -1
  227. package/lib/components/eftposPay/helper.d.ts +83 -0
  228. package/lib/components/eftposPay/hooks.d.ts +1 -1
  229. package/lib/components/eftposPay/store/index.d.ts +355 -0
  230. package/lib/components/eftposPay/store/useThunkReducer.d.ts +9 -0
  231. package/lib/components/eftposPay/tyro/hooks.d.ts +13 -0
  232. package/lib/components/eftposPay/windcave/timer.d.ts +29 -0
  233. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +3 -0
  234. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +4 -0
  235. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.d.ts +63 -0
  236. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/utils.d.ts +34 -0
  237. package/lib/components/eventBooking/locales.d.ts +246 -0
  238. package/lib/components/eventBooking/type.d.ts +17 -0
  239. package/lib/components/eventBooking/utils.d.ts +45 -0
  240. package/lib/components/login/locales.d.ts +24 -0
  241. package/lib/components/pay/toC/PaymentList/mock.d.ts +88 -0
  242. package/lib/components/pay/toC/PaymentList/status.d.ts +4 -0
  243. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/serve.d.ts +9 -0
  244. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/DynamicSDK.d.ts +2 -0
  245. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +7 -0
  246. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +7 -0
  247. package/lib/components/pay/toC/PaymentMethods/hooks/index.d.ts +19 -0
  248. package/lib/components/pinModal/locales.d.ts +27 -0
  249. package/lib/components/pinModal/types.d.ts +0 -0
  250. package/lib/components/pinVerifyModal/locales.d.ts +24 -0
  251. package/lib/components/pinVerifyModal/types.d.ts +33 -0
  252. package/lib/components/pisellSelectCustomerModal/RightPanel/mock.d.ts +47 -0
  253. package/lib/components/pisellSelectCustomerModal/locales.d.ts +81 -0
  254. package/lib/components/productExtension/card/index.d.ts +10 -0
  255. package/lib/components/productExtension/fields/Actor/Container/index.d.ts +12 -0
  256. package/lib/components/productExtension/fields/Actor/CutOffTime/status.d.ts +0 -0
  257. package/lib/components/productExtension/fields/Forms/index.d.ts +10 -0
  258. package/lib/components/productExtension/fields/SelectProducts/mock.d.ts +0 -0
  259. package/lib/components/productExtension/fields/SelectResourcesTable/mock.d.ts +2681 -0
  260. package/lib/components/productExtension/locales.d.ts +48 -0
  261. package/lib/components/productSelect/components/TabProduct/tabs/index.d.ts +21 -0
  262. package/lib/components/productSelect/hooks/useToken.d.ts +18 -0
  263. package/lib/components/productSelect/locales.d.ts +18 -0
  264. package/lib/components/productSelect/mock.d.ts +134 -0
  265. package/lib/components/productSelect/theme/token.d.ts +17 -0
  266. package/lib/components/schedules/components/Card/index.d.ts +6 -0
  267. package/lib/components/schedules/components/CurrentDay/utils.d.ts +1 -0
  268. package/lib/components/schedules/components/DropdownSort/index.d.ts +3 -0
  269. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +11 -0
  270. package/lib/components/schedules/constants.d.ts +1 -0
  271. package/lib/components/schedules/locales.d.ts +87 -0
  272. package/lib/components/schedules/resources/add/index.d.ts +3 -0
  273. package/lib/components/schedules/resources/relationProduct/index.d.ts +6 -0
  274. package/lib/components/schedules/type.d.ts +157 -0
  275. package/lib/components/shoppingCart/mock.d.ts +40 -0
  276. package/lib/components/shoppingCart/utils.d.ts +63 -0
  277. package/lib/components/stepController/components/Content/index.d.ts +7 -0
  278. package/lib/components/stepController/components/Footer/index.d.ts +8 -0
  279. package/lib/components/stepController/locales.d.ts +27 -0
  280. package/lib/components/stepController/types.d.ts +23 -0
  281. package/lib/components/systemSettings/registry/components/SectionList.js +4 -1
  282. package/lib/components/tabProduct/card/index.d.ts +7 -0
  283. package/lib/components/tabProduct/index.d.ts +16 -0
  284. package/lib/components/tabProduct/tabs/index.d.ts +21 -0
  285. package/lib/components/taxSelect/locales.d.ts +24 -0
  286. package/lib/components/ticketBooking/data.d.ts +58 -0
  287. package/lib/components/ticketBooking/hooks/useNetworkStatus.d.ts +11 -0
  288. package/lib/components/ticketBooking/miniRedux.d.ts +22 -0
  289. package/lib/components/walletList/model.d.ts +6 -0
  290. package/lib/components/workSpaceList/components/AppearanceEdit/Color.d.ts +9 -0
  291. package/lib/components/workSpaceList/components/AppearanceShow/index.d.ts +11 -0
  292. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
  293. package/lib/components/workSpaceList/data.d.ts +42 -0
  294. package/lib/hooks/useComponents.d.ts +5 -0
  295. package/lib/hooks/useLocale.d.ts +2 -0
  296. package/lib/hooks/useLoginUser.d.ts +2 -0
  297. package/lib/hooks/usePrefix.d.ts +1 -0
  298. package/lib/index.d.ts +1 -0
  299. package/lib/index.js +3 -0
  300. package/lib/plus/productSelect/CategoryTabs/CategorySkeleton.d.ts +10 -0
  301. package/lib/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
  302. package/lib/plus/productSelect/ProductList/index.d.ts +22 -0
  303. package/lib/plus/productSelect/components/IntersectionObserver.d.ts +42 -0
  304. package/lib/plus/productSelect/components/TabsStructure/hooks.d.ts +22 -0
  305. package/lib/plus/productSelect/components/TabsStructure/index.d.ts +5 -0
  306. package/lib/plus/productSelect/components/TabsStructure/styles.d.ts +47 -0
  307. package/lib/plus/productSelect/components/TabsStructure/types.d.ts +105 -0
  308. package/lib/plus/productSelect/components/TabsStructure/utils.d.ts +12 -0
  309. package/lib/plus/productSelect/hooks/useToken.d.ts +18 -0
  310. package/lib/plus/productSelect/locales.d.ts +18 -0
  311. package/lib/plus/productSelect/theme/token.d.ts +17 -0
  312. package/lib/plus/saasCreateOrganization/locales.d.ts +15 -0
  313. package/lib/plus/saasCreateOrganization/types.d.ts +69 -0
  314. package/lib/plus/saasLogin/locales.d.ts +51 -0
  315. package/lib/plus/saasLogin/types.d.ts +62 -0
  316. package/lib/plus/saasLogin/utils.d.ts +35 -0
  317. package/lib/plus/saasRegister/locales.d.ts +117 -0
  318. package/lib/plus/saasRegister/types.d.ts +114 -0
  319. package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +1 -0
  320. package/lib/plus/skuOptionsSelection/utils/index.d.ts +7 -0
  321. package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.js +1 -1
  322. package/lib/pro/Login2.0/components/LoginCodeInput.js +26 -4
  323. package/lib/utils/date.d.ts +11 -0
  324. package/lib/utils/load.d.ts +11 -0
  325. package/lib/utils/locales.d.ts +1 -0
  326. package/lib/utils/tasks/type.d.ts +4 -0
  327. package/package.json +4 -4
  328. package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +0 -8
  329. package/es/components/workSpaceList/components/Card/constants.d.ts +0 -2
  330. package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +0 -4
  331. package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
  332. package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +0 -8
  333. package/lib/components/workSpaceList/components/Card/constants.d.ts +0 -2
  334. package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +0 -4
  335. package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
@@ -0,0 +1,48 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.text.product-extension.please-select': string;
4
+ 'pisell2.text.product-extension.cut-off-time': string;
5
+ 'pisell2.text.product-extension.cut-off-time.desc': string;
6
+ 'pisell2.text.product-extension.future-day': string;
7
+ 'pisell2.text.product-extension.future-day.hint': string;
8
+ 'pisell2.text.product-extension.days': string;
9
+ 'pisell2.text.product-extension.hours': string;
10
+ 'pisell2.text.product-extension.minutes': string;
11
+ 'pisell2.text.product-extension.add-product': string;
12
+ 'pisell2.text.product-extension.add-other-product': string;
13
+ 'pisell2.text.product-extension.resource-type': string;
14
+ 'pisell2.text.product-extension.open': string;
15
+ 'pisell2.text.product-extension.options': string;
16
+ };
17
+ 'zh-CN': {
18
+ 'pisell2.text.product-extension.please-select': string;
19
+ 'pisell2.text.product-extension.cut-off-time': string;
20
+ 'pisell2.text.product-extension.cut-off-time.desc': string;
21
+ 'pisell2.text.product-extension.future-day': string;
22
+ 'pisell2.text.product-extension.future-day.hint': string;
23
+ 'pisell2.text.product-extension.days': string;
24
+ 'pisell2.text.product-extension.hours': string;
25
+ 'pisell2.text.product-extension.minutes': string;
26
+ 'pisell2.text.product-extension.add-product': string;
27
+ 'pisell2.text.product-extension.add-other-product': string;
28
+ 'pisell2.text.product-extension.resource-type': string;
29
+ 'pisell2.text.product-extension.open': string;
30
+ 'pisell2.text.product-extension.options': string;
31
+ };
32
+ 'zh-HK': {
33
+ 'pisell2.text.product-extension.please-select': string;
34
+ 'pisell2.text.product-extension.cut-off-time': string;
35
+ 'pisell2.text.product-extension.cut-off-time.desc': string;
36
+ 'pisell2.text.product-extension.future-day': string;
37
+ 'pisell2.text.product-extension.future-day.hint': string;
38
+ 'pisell2.text.product-extension.days': string;
39
+ 'pisell2.text.product-extension.hours': string;
40
+ 'pisell2.text.product-extension.minutes': string;
41
+ 'pisell2.text.product-extension.add-product': string;
42
+ 'pisell2.text.product-extension.add-other-product': string;
43
+ 'pisell2.text.product-extension.resource-type': string;
44
+ 'pisell2.text.product-extension.open': string;
45
+ 'pisell2.text.product-extension.options': string;
46
+ };
47
+ };
48
+ export default _default;
@@ -0,0 +1,21 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ export interface Com<T> extends React.FC<T> {
4
+ }
5
+ export declare type RowKey = string | number;
6
+ export interface Option {
7
+ id: number | string;
8
+ name: React.ReactNode;
9
+ }
10
+ export interface TabsProps extends Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, 'onChange'> {
11
+ renderTab: (item: any) => React.ReactNode;
12
+ rowKey: RowKey;
13
+ name: RowKey;
14
+ onChange: (key: RowKey, _item: any) => void;
15
+ tab: RowKey;
16
+ className: string;
17
+ tabsRef: any;
18
+ options: Option[];
19
+ }
20
+ declare const _default: React.ForwardRefExoticComponent<Omit<Partial<TabsProps>, "ref"> & React.RefAttributes<unknown>>;
21
+ export default _default;
@@ -0,0 +1,18 @@
1
+ import { ProductSelectToken } from '../theme/token';
2
+ export declare function useToken(customToken?: Partial<ProductSelectToken>): {
3
+ colorPrimary: string;
4
+ colorText: string;
5
+ colorTextSecondary: string;
6
+ searchInputColor: string;
7
+ containerBg: string;
8
+ tabItemBg: string;
9
+ tabItemHoverBg: string;
10
+ tabItemActiveBg: string;
11
+ categoryTextColor: string;
12
+ cardBg: string;
13
+ cardHoverBg: string;
14
+ cardSelectedBg: string;
15
+ cardSelectedTextColor: string;
16
+ cardSelectedSecondaryTextColor: string;
17
+ };
18
+ export declare function genCSSVars(token: ProductSelectToken): Record<string, string>;
@@ -0,0 +1,18 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.product-select.search': string;
4
+ 'pisell2.product-select.stock': string;
5
+ 'pisell2.product-select.empty': string;
6
+ };
7
+ 'zh-CN': {
8
+ 'pisell2.product-select.search': string;
9
+ 'pisell2.product-select.stock': string;
10
+ 'pisell2.product-select.empty': string;
11
+ };
12
+ 'zh-HK': {
13
+ 'pisell2.product-select.search': string;
14
+ 'pisell2.product-select.stock': string;
15
+ 'pisell2.product-select.empty': string;
16
+ };
17
+ };
18
+ export default _default;
@@ -0,0 +1,134 @@
1
+ declare const products: {
2
+ id: number;
3
+ extension_id: number;
4
+ extension_type: string;
5
+ shop_id: number;
6
+ title: string;
7
+ slug: string;
8
+ status: string;
9
+ stock_quantity: number;
10
+ sales_quantity: number;
11
+ sum_stock: number;
12
+ price: string;
13
+ original_price: string;
14
+ cost_price: string;
15
+ cover: string;
16
+ channel_application: string[];
17
+ is_track: number;
18
+ over_sold: number;
19
+ is_gst: number;
20
+ code: string;
21
+ barcode: string;
22
+ is_delivery: number;
23
+ weight_unit: string;
24
+ weight_value: string;
25
+ type: string;
26
+ unit: string;
27
+ sort: number;
28
+ bundle_group_count: number;
29
+ option_group_count: number;
30
+ is_variant: number;
31
+ variant_count: number;
32
+ cut_off_time: {
33
+ unit: number;
34
+ unit_type: string;
35
+ future_day: number;
36
+ type: string;
37
+ ongoing: {
38
+ type: string;
39
+ unit: number;
40
+ };
41
+ };
42
+ policy: number;
43
+ machine_code: {
44
+ make_over: number;
45
+ beforehand: number;
46
+ limit_count: number;
47
+ customer: number;
48
+ send_action: string;
49
+ hide_recharge: number;
50
+ distributor_automatic: number;
51
+ };
52
+ duration: {
53
+ type: string;
54
+ value: number;
55
+ };
56
+ product_resource: {
57
+ resources: ({
58
+ id: number;
59
+ title: string;
60
+ status: number;
61
+ code: string;
62
+ created_at: string;
63
+ updated_at: string;
64
+ type: string;
65
+ optional_resource: number[];
66
+ default_resource: never[];
67
+ select_type: {
68
+ type: string;
69
+ min: number;
70
+ max: number;
71
+ };
72
+ resource_type_id: number;
73
+ } | {
74
+ id: number;
75
+ title: string;
76
+ status: number;
77
+ code: string;
78
+ created_at: string;
79
+ updated_at: null;
80
+ type: string;
81
+ optional_resource: never[];
82
+ default_resource: never[];
83
+ select_type: {
84
+ type: string;
85
+ min: number;
86
+ max: number;
87
+ };
88
+ resource_type_id: number;
89
+ })[];
90
+ };
91
+ capacity: {
92
+ type: string;
93
+ custom: {
94
+ name: {
95
+ en: string;
96
+ "zh-CN": string;
97
+ "zh-HK": string;
98
+ original: string;
99
+ };
100
+ min: number;
101
+ max: number;
102
+ id: string;
103
+ }[];
104
+ package: never[];
105
+ };
106
+ product_display_setting: {
107
+ kiosk: {
108
+ use_display_mode: number;
109
+ product_option_mode: null;
110
+ product_option_mode_paging: null;
111
+ product_bundle_mode: null;
112
+ product_bundle_mode_paging: null;
113
+ };
114
+ };
115
+ shelf_product_datas: never[];
116
+ step_value: number;
117
+ min_num_unit: number;
118
+ is_charge_tax: number;
119
+ base_price: string;
120
+ variant: never[];
121
+ category: {
122
+ id: number;
123
+ name: string;
124
+ icon: string;
125
+ slug: string;
126
+ sort: number;
127
+ }[];
128
+ collection: {
129
+ id: number;
130
+ title: string;
131
+ cover: string;
132
+ }[];
133
+ }[];
134
+ export default products;
@@ -0,0 +1,17 @@
1
+ export interface ProductSelectToken {
2
+ colorPrimary: string;
3
+ colorText: string;
4
+ colorTextSecondary: string;
5
+ searchInputColor: string;
6
+ containerBg: string;
7
+ tabItemBg: string;
8
+ tabItemHoverBg: string;
9
+ tabItemActiveBg: string;
10
+ categoryTextColor: string;
11
+ cardBg: string;
12
+ cardHoverBg: string;
13
+ cardSelectedBg: string;
14
+ cardSelectedTextColor: string;
15
+ cardSelectedSecondaryTextColor: string;
16
+ }
17
+ export declare const defaultToken: ProductSelectToken;
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ import "./index.less";
3
+ interface CardProps extends React.HTMLAttributes<HTMLDivElement> {
4
+ }
5
+ declare const Card: (props: Partial<CardProps>) => JSX.Element;
6
+ export default Card;
@@ -0,0 +1 @@
1
+ export declare const getTimeRange: (array: any) => any;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const DropdownSort: React.FC;
3
+ export default DropdownSort;
@@ -0,0 +1,11 @@
1
+ import './index.less';
2
+ import { ScheduleItem } from '../../../type';
3
+ declare type Item = any;
4
+ interface RenderScheduleItemProps {
5
+ item?: Item;
6
+ onItemClick?: (item: ScheduleItem) => void;
7
+ onDelete?: (item: ScheduleItem) => void;
8
+ showDeleteIcon?: boolean;
9
+ }
10
+ declare const RenderScheduleItem: ({ item, onItemClick, onDelete, showDeleteIcon, }: RenderScheduleItemProps) => JSX.Element;
11
+ export default RenderScheduleItem;
@@ -0,0 +1 @@
1
+ export declare const scheduleApps: string[];
@@ -0,0 +1,87 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.text.schedules.all-day': string;
4
+ 'pisell2.text.schedules.save': string;
5
+ 'pisell2.text.schedules.delete-schedules-text1': string;
6
+ 'pisell2.text.schedules.delete-schedules-text2': string;
7
+ 'pisell2.text.schedules.delete-schedules-text3': string;
8
+ 'pisell2.text.schedules.add': string;
9
+ 'pisell2.text.schedules.edit-schedule': string;
10
+ 'pisell2.text.schedules.products-title': string;
11
+ 'pisell2.text.schedules.schedules-title': string;
12
+ 'pisell2.text.schedules.resources-title': string;
13
+ 'pisell2.text.schedules.open-hours-title': string;
14
+ 'pisell2.text.schedules.cancel': string;
15
+ 'pisell2.text.products.no-current-schedule': string;
16
+ 'pisell2.text.schedules.save-success': string;
17
+ 'pisell2.text.schedules.no-schedules': string;
18
+ 'pisell2.text.schedules.assign-schedule': string;
19
+ 'pisell2.text.schedules.max-participants': string;
20
+ 'pisell2.text.products.edit-resource-message': string;
21
+ 'pisell2.text.products.no-products': string;
22
+ 'pisell2.text.products.no-resources': string;
23
+ 'pisell2.text.products.unsaved-title': string;
24
+ 'pisell2.text.products.unsaved-content': string;
25
+ 'pisell2.text.products.unsaved-back': string;
26
+ 'pisell2.text.products.unsaved-yes': string;
27
+ 'pisell2.text.products.max-participants-error': string;
28
+ 'pisell2.text.schedules.create-new-schedule': string;
29
+ };
30
+ 'zh-CN': {
31
+ 'pisell2.text.schedules.all-day': string;
32
+ 'pisell2.text.schedules.save': string;
33
+ 'pisell2.text.schedules.delete-schedules-text1': string;
34
+ 'pisell2.text.schedules.delete-schedules-text2': string;
35
+ 'pisell2.text.schedules.delete-schedules-text3': string;
36
+ 'pisell2.text.schedules.add': string;
37
+ 'pisell2.text.schedules.edit-schedule': string;
38
+ 'pisell2.text.schedules.products-title': string;
39
+ 'pisell2.text.schedules.schedules-title': string;
40
+ 'pisell2.text.schedules.resources-title': string;
41
+ 'pisell2.text.schedules.open-hours-title': string;
42
+ 'pisell2.text.schedules.cancel': string;
43
+ 'pisell2.text.products.no-current-schedule': string;
44
+ 'pisell2.text.schedules.save-success': string;
45
+ 'pisell2.text.schedules.no-schedules': string;
46
+ 'pisell2.text.schedules.assign-schedule': string;
47
+ 'pisell2.text.schedules.max-participants': string;
48
+ 'pisell2.text.products.edit-resource-message': string;
49
+ 'pisell2.text.products.no-products': string;
50
+ 'pisell2.text.products.no-resources': string;
51
+ 'pisell2.text.products.unsaved-title': string;
52
+ 'pisell2.text.products.unsaved-content': string;
53
+ 'pisell2.text.products.unsaved-back': string;
54
+ 'pisell2.text.products.unsaved-yes': string;
55
+ 'pisell2.text.products.max-participants-error': string;
56
+ 'pisell2.text.schedules.create-new-schedule': string;
57
+ };
58
+ 'zh-HK': {
59
+ 'pisell2.text.schedules.all-day': string;
60
+ 'pisell2.text.schedules.save': string;
61
+ 'pisell2.text.schedules.delete-schedules-text1': string;
62
+ 'pisell2.text.schedules.delete-schedules-text2': string;
63
+ 'pisell2.text.schedules.delete-schedules-text3': string;
64
+ 'pisell2.text.schedules.add': string;
65
+ 'pisell2.text.schedules.edit-schedule': string;
66
+ 'pisell2.text.schedules.products-title': string;
67
+ 'pisell2.text.schedules.schedules-title': string;
68
+ 'pisell2.text.schedules.resources-title': string;
69
+ 'pisell2.text.schedules.open-hours-title': string;
70
+ 'pisell2.text.schedules.cancel': string;
71
+ 'pisell2.text.products.no-current-schedule': string;
72
+ 'pisell2.text.schedules.save-success': string;
73
+ 'pisell2.text.schedules.no-schedules': string;
74
+ 'pisell2.text.schedules.assign-schedule': string;
75
+ 'pisell2.text.schedules.max-participants': string;
76
+ 'pisell2.text.products.edit-resource-message': string;
77
+ 'pisell2.text.products.no-products': string;
78
+ 'pisell2.text.products.no-resources': string;
79
+ 'pisell2.text.products.unsaved-title': string;
80
+ 'pisell2.text.products.unsaved-content': string;
81
+ 'pisell2.text.products.unsaved-back': string;
82
+ 'pisell2.text.products.unsaved-yes': string;
83
+ 'pisell2.text.products.max-participants-error': string;
84
+ 'pisell2.text.schedules.create-new-schedule': string;
85
+ };
86
+ };
87
+ export default _default;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const _default: import("react").ForwardRefExoticComponent<Omit<any, "ref"> & import("react").RefAttributes<unknown>>;
3
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import "./index.less";
2
+ declare const RelationProduct: ({ value, onChange, }: {
3
+ value?: any;
4
+ onChange?: any;
5
+ }) => JSX.Element;
6
+ export default RelationProduct;
@@ -0,0 +1,157 @@
1
+ export declare type ScheduleItem = {
2
+ /** 颜色 */
3
+ color: string;
4
+ /** 创建时间 */
5
+ created_at: string;
6
+ /** 更新时间 */
7
+ updated_at: string;
8
+ /** 开始时间 */
9
+ start_time: string;
10
+ /** 结束时间 */
11
+ end_time: string;
12
+ /** 日程名称 */
13
+ name: string;
14
+ /** 关联订单 */
15
+ order_count: number;
16
+ /** 关联项目数据*/
17
+ relation_count: number;
18
+ repeat_rule: {
19
+ end: {
20
+ /** 截止类型 */
21
+ type: "date" | "never";
22
+ /** 结束时间 */
23
+ end_date: string | null;
24
+ occurrence: any | null;
25
+ };
26
+ frequency: number;
27
+ excluded_date: ExcIncDate[];
28
+ included_date: ExcIncDate[];
29
+ frequency_date: number[];
30
+ };
31
+ repeat_type: "daily" | "none" | "weekly";
32
+ /** 日程类型
33
+ * standard: 标准日程
34
+ * time-slots: 时间段日程
35
+ * designation: 指定日期日程
36
+ * */
37
+ type: "standard" | "time-slots" | "designation";
38
+ conflict?: boolean;
39
+ time_slot: {
40
+ start_time: string;
41
+ end_time: string;
42
+ id: number;
43
+ }[];
44
+ id: number;
45
+ /** 指定的开始时间结束时间 */
46
+ designation: {
47
+ start_date: string;
48
+ end_date: string;
49
+ start_time: string;
50
+ end_time: string;
51
+ } | {
52
+ start_date: string;
53
+ end_date: string;
54
+ start_time: string;
55
+ end_time: string;
56
+ }[];
57
+ /** 是否全天 */
58
+ is_all: 1 | 0;
59
+ [key: string]: any;
60
+ relation?: {
61
+ id: number;
62
+ item_id: number;
63
+ item_type: string;
64
+ relation_table_type: string;
65
+ schedule_id: number;
66
+ }[];
67
+ };
68
+ export declare type ScheduleFormOtherValue = {
69
+ /** 截止模式
70
+ * 1: 永不截止
71
+ * 2: 按日期截止
72
+ * */
73
+ endRadio: 1 | 2;
74
+ /** 是否为全天 */
75
+ isAllDay: boolean;
76
+ /** 是否开启排除日期 */
77
+ excludedStatus: boolean;
78
+ /** 是否包含排除日期 */
79
+ includeStatus: boolean;
80
+ type: "standard" | "time-slots" | "designation";
81
+ };
82
+ export declare type ExcIncDate = {
83
+ start: string;
84
+ end: string;
85
+ };
86
+ export declare type ScheduleFormData = {
87
+ /** 颜色 */
88
+ color: string;
89
+ /** 日程名称 */
90
+ name: {
91
+ en: string;
92
+ "zh-CN": string;
93
+ "zh-HK": string;
94
+ original: string;
95
+ } | string;
96
+ /** 重复模式
97
+ * 0:不重复
98
+ * 1:按天重复
99
+ * 2:按周重复 */
100
+ repeat_type: "0" | "1" | "2";
101
+ /** 备注 */
102
+ note: string;
103
+ /** 指定的开始时间结束时间 */
104
+ designation: {
105
+ start_date: string;
106
+ end_date: string;
107
+ start_time: string;
108
+ end_time: string;
109
+ } | {
110
+ start_date: string;
111
+ end_date: string;
112
+ start_time: string;
113
+ end_time: string;
114
+ }[];
115
+ time_slot: {
116
+ start_time: string;
117
+ end_time: string;
118
+ id: number;
119
+ }[];
120
+ /** 重复频率 */
121
+ frequency: number;
122
+ /** 按周重复时选择的周数据 */
123
+ frequency_date: number[];
124
+ /** 截止日期 */
125
+ end_date: string;
126
+ /** 排除的日期范围 */
127
+ excluded_date: ExcIncDate[];
128
+ /** 包含的日期范围 */
129
+ included_date: ExcIncDate[];
130
+ /** 多时间段的开始时间 */
131
+ start_time: any;
132
+ end_time: any;
133
+ };
134
+ export declare type CalendarDataItem = {
135
+ date: string;
136
+ color: string[];
137
+ isExcluded: boolean;
138
+ schedule_ids?: number[];
139
+ [key: string]: any;
140
+ };
141
+ export declare type RequestData<Data> = {
142
+ data: Data;
143
+ status: boolean;
144
+ message: string;
145
+ code: number;
146
+ };
147
+ export declare type ResponseListData<Data> = {
148
+ status: boolean;
149
+ message: string;
150
+ code: number;
151
+ data: {
152
+ list: Data;
153
+ count: number;
154
+ size: number;
155
+ skip: number;
156
+ };
157
+ };
@@ -0,0 +1,40 @@
1
+ export declare const holder: {
2
+ key: number;
3
+ label: string;
4
+ tip: string;
5
+ img: string;
6
+ }[];
7
+ export declare const products: ({
8
+ id: number;
9
+ title: string;
10
+ from_id: number;
11
+ holder: string;
12
+ price: number;
13
+ total: number;
14
+ num: number;
15
+ origin_price: number;
16
+ symbol: string;
17
+ relation_form_name: string;
18
+ like_status: string;
19
+ _extend: {
20
+ start_time: string;
21
+ duration: number;
22
+ date: string;
23
+ like_status: string;
24
+ };
25
+ product_cover: string;
26
+ } | {
27
+ id: number;
28
+ title: string;
29
+ from_id: number;
30
+ holder: string;
31
+ price: number;
32
+ total: number;
33
+ num: number;
34
+ symbol: string;
35
+ origin_price?: undefined;
36
+ relation_form_name?: undefined;
37
+ like_status?: undefined;
38
+ _extend?: undefined;
39
+ product_cover?: undefined;
40
+ })[];
@@ -0,0 +1,63 @@
1
+ /**
2
+ * @title: 格式化购物车列表
3
+ * @description:
4
+ * @param {any} state
5
+ * @return {*}
6
+ * @Author: WangHan
7
+ * @Date: 2024-11-28 16:52
8
+ */
9
+ export declare const formatCartList: (state: any) => any;
10
+ /**
11
+ * @title: 是否是空页面
12
+ * @description:
13
+ * @param {any} state
14
+ * @return {*}
15
+ * @Author: WangHan
16
+ * @Date: 2024-11-28 16:47
17
+ */
18
+ export declare const isEmptyStatus: (state: any) => boolean;
19
+ /**
20
+ * @title: 是否是商品列表页面
21
+ * @description:
22
+ * @param {any} state
23
+ * @return {*}
24
+ * @Author: WangHan
25
+ * @Date: 2024-11-28 17:23
26
+ */
27
+ export declare const isProductList: (state: any) => boolean;
28
+ /**
29
+ * @title: 格式化数据最终结果
30
+ * @description:
31
+ * @param {any} state
32
+ * @return {*}
33
+ * @Author: WangHan
34
+ * @Date: 2024-11-28 18:35
35
+ */
36
+ export declare const formatState: (state: any) => {
37
+ isEmpty: boolean;
38
+ isProductList: boolean;
39
+ carts: any;
40
+ };
41
+ /**
42
+ * @title: 更新商品
43
+ * @description:
44
+ * @param {any} newState
45
+ * @param {any} state
46
+ * @return {*}
47
+ * @Author: WangHan
48
+ * @Date: 2024-11-28 22:30
49
+ */
50
+ export declare const updateProduct: (state: any, newProducts: any[]) => {
51
+ products: any[];
52
+ carts: any;
53
+ };
54
+ /**
55
+ * @title: 格式化服务
56
+ * @description:
57
+ * @param {any} service
58
+ * @param {number} id holder_id
59
+ * @return {*}
60
+ * @Author: WangHan
61
+ * @Date: 2024-12-09 22:47
62
+ */
63
+ export declare const formatService: (service: any[], id: number) => any[];
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ export interface ContentProps {
4
+ children?: React.ReactNode;
5
+ }
6
+ declare const Content: React.FC<ContentProps>;
7
+ export default Content;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ export interface FooterProps {
4
+ isMobile?: boolean;
5
+ children?: React.ReactNode;
6
+ }
7
+ declare const Footer: React.FC<FooterProps>;
8
+ export default Footer;