@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,11 @@
1
+ import { StatusType } from '../../const';
2
+ declare const _default: (props: {
3
+ status: StatusType;
4
+ warn?: string;
5
+ text?: string;
6
+ tip?: string;
7
+ loading?: string;
8
+ success?: string;
9
+ fail?: string;
10
+ }) => JSX.Element;
11
+ export default _default;
@@ -0,0 +1,8 @@
1
+ declare const _default: (props: {
2
+ status: string;
3
+ pedding?: string;
4
+ resolve?: string;
5
+ reject?: string;
6
+ className?: string;
7
+ }) => JSX.Element;
8
+ export default _default;
@@ -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: "success" | "page" | "print" | "fail" | "mark_tx_processed", params?: string | {
13
+ onChange?: ((status: "success" | "page" | "fail" | "print" | "mark_tx_processed", params?: string | {
14
14
  [keys: string]: unknown;
15
15
  } | undefined, other?: any) => void) | undefined;
16
16
  onClose: () => void;
@@ -0,0 +1,83 @@
1
+ import { State } from './store';
2
+ import { Amount } from './const';
3
+ export declare function getUuid(): string;
4
+ /**
5
+ * @title: Promise化 setTimeout
6
+ * @param {number} time
7
+ * @Author: hongbing.wang
8
+ * @Date: 2024-08-20 13:03
9
+ */
10
+ export declare const sleep: (time: number) => Promise<unknown>;
11
+ /**
12
+ * @title: 克隆
13
+ * @Author: hongbing.wang
14
+ * @Date: 2024-08-20 13:03
15
+ */
16
+ export declare function cloneDeep(source: any, hash?: WeakMap<object, any>): any;
17
+ declare type key = 'mode' | 'amount' | 'order_id' | 'number' | 'device' | 'pay' | 'custom';
18
+ /**
19
+ * @title: 获取支付回调参数
20
+ * @Author: hongbing.wang
21
+ * @Date: 2024-08-20 20:26
22
+ */
23
+ export declare const getPayParams: (data: Partial<Omit<State, key>> & Pick<State, Extract<key, keyof State>>, statue: 'success' | 'fail') => {
24
+ number: string | number | undefined;
25
+ device: {
26
+ [key: string]: unknown;
27
+ } | undefined;
28
+ order_id: string | number;
29
+ amount?: undefined;
30
+ total?: undefined;
31
+ receipt?: undefined;
32
+ } | {
33
+ cardReaderSurcharge: {};
34
+ surMoney: string;
35
+ surcharge: string;
36
+ total: string;
37
+ number: string | number | undefined;
38
+ uniquePaymentNumber: string | number | undefined;
39
+ device: {
40
+ [key: string]: unknown;
41
+ } | undefined;
42
+ order_id: string | number;
43
+ receipt: {};
44
+ amount?: undefined;
45
+ } | {
46
+ amount: string | number;
47
+ total: string | number;
48
+ number: string | number | undefined;
49
+ device: {
50
+ [key: string]: unknown;
51
+ } | undefined;
52
+ order_id: string | number;
53
+ receipt: {};
54
+ } | {
55
+ amount: string | number;
56
+ total: string | number;
57
+ number: string | number | undefined;
58
+ order_id: string | number;
59
+ device?: undefined;
60
+ receipt?: undefined;
61
+ };
62
+ export declare const limitDecimals: (value: any) => any;
63
+ /**
64
+ * @title: 通用获取 金额信息
65
+ * @description: 在 amount 页面设置则使用 pay ,如果有 setting 则使用 setting 信息 ,都没有则设置0
66
+ * @param {State} store : 全局store数据管理
67
+ * @Author: hongbing.wang
68
+ * @Date: 2024-08-12 10:24
69
+ */
70
+ export declare function getAmonunt(store: State): Amount;
71
+ export declare function getPayAmonunt({ money, amount, surRate, surMoney }: Amount, formatAmount: (...agrn: unknown[]) => string): {
72
+ sourceAmount: string;
73
+ amount: string;
74
+ surcharge: string;
75
+ total: string;
76
+ surPercentRate: string;
77
+ surRate: string;
78
+ surMoney: string;
79
+ surRateMoney: string;
80
+ totalUnit: string;
81
+ };
82
+ export declare function getBrowserVersion(): string;
83
+ export {};
@@ -19,7 +19,7 @@ export declare const useStoreRef: <T extends {
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" | "payo" | "tyro" | "windcave" | "linkly">;
23
23
  readonly clientRef: React.MutableRefObject<ClientEnum>;
24
24
  readonly dataRef: React.MutableRefObject<import("./store").State>;
25
25
  };
@@ -0,0 +1,355 @@
1
+ import { ReactNode } from 'react';
2
+ import { DeviceStatusType, StatusType, ModeType, RouteType, ClientEnum } from '../const';
3
+ import { ThunkDispatch } from './useThunkReducer';
4
+ export declare enum EActionTypes {
5
+ UPDATE_INIT = "UPDATE_INIT",
6
+ UPDATE_CUSTOM = "UPDATE_CUSTOM",
7
+ UPDATE_KEY = "UPDATE_KEY",
8
+ UPDATE_STEP_KEY = "UPDATE_STEP_KEY",
9
+ UPDATE_DEVICE = "UPDATE_DEVICE",
10
+ UPDATE_NEXT_STEP = "UPDATE_NEXT_STEP",
11
+ UPDATE_STATUS = "UPDATE_STATUS",
12
+ UPDATE_TITLE = "UPDATE_TITLE",
13
+ UPDATE_LOADING = "UPDATE_LOADING",
14
+ UPDATE_COMPONENT = "UPDATE_COMPONENT",
15
+ UPDATE_STEPS = "UPDATE_STEPS",
16
+ UPDATE_STEP_CURRENT_ITEM_CUSTOM = "UPDATE_STEP_CURRENT_ITEM_CUSTOM",
17
+ UPDATE_STEP_ITEM = "UPDATE_STEP_ITEM",
18
+ BACKUP_PRODUCTION = "BACKUP_PRODUCTION",
19
+ BACKUP_FREE = "BACKUP_FREE",
20
+ UPDATE_CLIENT = "UPDATE_CLIENT"
21
+ }
22
+ export declare type State = {
23
+ /** 支付名称 */
24
+ name: string;
25
+ /** 金额单位 */
26
+ symbol: string;
27
+ /** 支付原始金额 */
28
+ amount: string | number;
29
+ /** 模式 */
30
+ mode: ModeType;
31
+ /** 订单号 */
32
+ order_id: string | number;
33
+ /** 厂商 */
34
+ eftpos: DeviceStatusType;
35
+ action?: RouteType;
36
+ /** 用于重置页面特指 =》全部步骤 */
37
+ key: number;
38
+ /** 当前执行到哪一步了 */
39
+ step: number;
40
+ /** 标题 */
41
+ title: string;
42
+ /** 标题 */
43
+ subTitle?: string;
44
+ /** step : 常规步骤页面 ,unset 自定义页面 */
45
+ type: 'step' | 'unset';
46
+ render: boolean;
47
+ /** 网络 */
48
+ net?: boolean;
49
+ /** 上面 unset 自定义页面,这里需要指定到具体页面 */
50
+ component: string;
51
+ form?: string;
52
+ /** 页面状态 */
53
+ status: StatusType;
54
+ /** 警告文案 */
55
+ warn: string;
56
+ steps: {
57
+ /** 用于重置当前步骤 */
58
+ key: number;
59
+ title?: string;
60
+ text?: string;
61
+ warn?: string;
62
+ tip?: string;
63
+ success?: string;
64
+ fail?: string;
65
+ loading?: string;
66
+ /** 步骤状态 */
67
+ status: StatusType;
68
+ custom?: {
69
+ /** 步骤自定义 */
70
+ [key: string]: unknown;
71
+ };
72
+ }[];
73
+ /** 支付流水号 */
74
+ number?: string | number;
75
+ /** 设备信息 */
76
+ device?: {
77
+ [key: string]: unknown;
78
+ };
79
+ /** 支付信息 */
80
+ pay?: {
81
+ [key: string]: unknown;
82
+ };
83
+ custom?: {
84
+ [key: string]: unknown;
85
+ };
86
+ manual?: {
87
+ title: string;
88
+ text: string;
89
+ status?: boolean;
90
+ money?: number;
91
+ };
92
+ backup?: Omit<State, 'backup'>;
93
+ client: ClientEnum;
94
+ };
95
+ export declare type Action = {
96
+ type: EActionTypes;
97
+ payload: Partial<State>;
98
+ };
99
+ /**
100
+ * @title: 刷新 key
101
+ * @description: 用户重置组件生命周期,
102
+ * @param {number} key
103
+ * @Author: hongbing.wang
104
+ * @Date: 2024-08-19 09:56
105
+ */
106
+ export declare const updateKey: (key: number) => {
107
+ type: EActionTypes;
108
+ payload: {
109
+ key: number;
110
+ };
111
+ };
112
+ /**
113
+ * @title: 更新设备信息
114
+ * @description: 用户选择设备将回填到此处
115
+ * @param {object} payload
116
+ * @Author: hongbing.wang
117
+ * @Date: 2024-08-19 09:57
118
+ */
119
+ export declare const updateDevice: (payload: {
120
+ device: State['device'];
121
+ }) => {
122
+ type: EActionTypes;
123
+ payload: {
124
+ device: State['device'];
125
+ };
126
+ };
127
+ /**
128
+ * @title: 刷新 步骤key
129
+ * @description: 重置某一步生命周期
130
+ * @Author: hongbing.wang
131
+ * @Date: 2024-08-19 09:58
132
+ */
133
+ export declare const updateStepKey: () => {
134
+ type: EActionTypes;
135
+ payload: {};
136
+ };
137
+ /**
138
+ * @title: 更新至下一步
139
+ * @description: 更新至下一步
140
+ * @param {string} warn?: 错误信息
141
+ * @Author: hongbing.wang
142
+ * @Date: 2024-08-19 09:58
143
+ */
144
+ export declare const updateNextStep: (warn?: string) => {
145
+ type: EActionTypes;
146
+ payload: {
147
+ warn: string;
148
+ } | {
149
+ warn?: undefined;
150
+ };
151
+ };
152
+ /**
153
+ * @title: 更新自定义信息
154
+ * @description: 更新自定义信息
155
+ * @param {object} payload
156
+ * @Author: hongbing.wang
157
+ * @Date: 2024-08-19 10:03
158
+ */
159
+ export declare const updateCustom: (payload: {
160
+ [key: string]: unknown;
161
+ }) => {
162
+ type: EActionTypes;
163
+ payload: {
164
+ [key: string]: unknown;
165
+ };
166
+ };
167
+ /**
168
+ * @title: 更新 全局状态
169
+ * @description: 更新 全局状态
170
+ * @param {string} status : 状态
171
+ * * @Author: hongbing.wang
172
+ * @Date: 2024-08-19 10:03
173
+ */
174
+ export declare const updateStatus: (status: 'loading' | 'warn' | 'fail' | 'success' | 'question') => {
175
+ type: EActionTypes;
176
+ payload: {
177
+ status: "loading" | "success" | "warn" | "fail" | "question";
178
+ };
179
+ };
180
+ /**
181
+ * @title: 更新自定义组件
182
+ * @description: 更新自定义组件
183
+ * @param {string} component 组件名称
184
+ * @param {boolean} render : true : 隐藏 原组件(维持原组件内状态) ;false : 卸载
185
+ * @return {*}
186
+ * @Author: hongbing.wang
187
+ * @Date: 2024-08-19 10:04
188
+ */
189
+ export declare const updateComponent: (component: string, render?: boolean) => {
190
+ type: EActionTypes;
191
+ payload: {
192
+ readonly component: string;
193
+ readonly type: "unset";
194
+ readonly render: boolean;
195
+ } | {
196
+ readonly type: "step";
197
+ readonly render: boolean;
198
+ readonly component?: undefined;
199
+ };
200
+ };
201
+ /**
202
+ * @title: 更新步骤信息
203
+ * @description: 更新某一步骤信息
204
+ * @param {State} steps 某一步骤信息
205
+ * @Author: hongbing.wang
206
+ * @Date: 2024-08-19 10:07
207
+ */
208
+ export declare const updateSteps: (steps: State['steps']) => {
209
+ type: EActionTypes;
210
+ payload: {
211
+ steps: {
212
+ /** 用于重置当前步骤 */
213
+ key: number;
214
+ title?: string | undefined;
215
+ text?: string | undefined;
216
+ warn?: string | undefined;
217
+ tip?: string | undefined;
218
+ success?: string | undefined;
219
+ fail?: string | undefined;
220
+ loading?: string | undefined;
221
+ /** 步骤状态 */
222
+ status: StatusType;
223
+ custom?: {
224
+ [key: string]: unknown;
225
+ } | undefined;
226
+ }[];
227
+ };
228
+ };
229
+ /**
230
+ * @title: 更新状态管理信息
231
+ * @description: 更新状态管理信息
232
+ * @param {Partial} payload
233
+ * @return {*}
234
+ * @Author: hongbing.wang
235
+ * @Date: 2024-08-19 10:08
236
+ */
237
+ export declare const updateState: (payload: Partial<State>) => {
238
+ type: EActionTypes;
239
+ payload: Partial<State>;
240
+ };
241
+ /**
242
+ * @title: 更新当前步骤自定义信息
243
+ * @description: 更新当前步骤自定义信息
244
+ * @Author: hongbing.wang
245
+ * @Date: 2024-08-19 10:09
246
+ */
247
+ export declare const updateCurrentCustomStemItem: (payload: NonNullable<Partial<State['steps'][number]['custom']>>) => {
248
+ type: EActionTypes;
249
+ payload: Partial<{
250
+ [key: string]: unknown;
251
+ }>;
252
+ };
253
+ /**
254
+ * @title: 更新当前步骤信息
255
+ * @description: 更新当前步骤信息
256
+ * @Author: hongbing.wang
257
+ * @Date: 2024-08-19 10:09
258
+ */
259
+ export declare const updateCurrentStemItem: (payload: any) => {
260
+ type: EActionTypes;
261
+ payload: any;
262
+ };
263
+ /**
264
+ * @title: 更新当前步骤信息
265
+ * @description: 更新当前步骤信息
266
+ * @Author: hongbing.wang
267
+ * @Date: 2024-08-19 10:09
268
+ */
269
+ export declare const updateClient: (payload: ClientEnum) => {
270
+ type: EActionTypes;
271
+ payload: {
272
+ client: ClientEnum;
273
+ };
274
+ };
275
+ /**
276
+ * @title: 更新备份信息
277
+ * @description: 更新备份信息
278
+ * @Author: hongbing.wang
279
+ * @Date: 2024-08-19 10:25
280
+ */
281
+ export declare const backUpProduction: (payload: Partial<State>) => {
282
+ type: EActionTypes;
283
+ payload: Partial<State>;
284
+ };
285
+ /**
286
+ * @title: 释放备份信息
287
+ * @description: 释放备份信息
288
+ * @param {Partial} payload
289
+ * @Author: hongbing.wang
290
+ * @Date: 2024-08-19 10:27
291
+ */
292
+ export declare const backUpFree: (payload: Partial<State>) => {
293
+ type: EActionTypes;
294
+ payload: {
295
+ name?: string | undefined;
296
+ symbol?: string | undefined;
297
+ amount?: string | number | undefined;
298
+ mode?: "refund" | "pay" | "fullPay" | "query" | undefined;
299
+ order_id?: string | number | undefined;
300
+ eftpos?: "stripe" | "payo" | "tyro" | "windcave" | "linkly" | undefined;
301
+ action?: "amount" | "pay" | "deviceList" | undefined;
302
+ key?: number | undefined;
303
+ step?: number | undefined;
304
+ title?: string | undefined;
305
+ subTitle?: string | undefined;
306
+ type?: "unset" | "step" | undefined;
307
+ render?: boolean | undefined;
308
+ net?: boolean | undefined;
309
+ component?: string | undefined;
310
+ form?: string | undefined;
311
+ status?: "loading" | "success" | "warn" | "fail" | "pedding" | "resove" | "reject" | "question" | undefined;
312
+ warn?: string | undefined;
313
+ steps?: {
314
+ /** 用于重置当前步骤 */
315
+ key: number;
316
+ title?: string | undefined;
317
+ text?: string | undefined;
318
+ warn?: string | undefined;
319
+ tip?: string | undefined;
320
+ success?: string | undefined;
321
+ fail?: string | undefined;
322
+ loading?: string | undefined;
323
+ /** 步骤状态 */
324
+ status: StatusType;
325
+ custom?: {
326
+ [key: string]: unknown;
327
+ } | undefined;
328
+ }[] | undefined;
329
+ number?: string | number | undefined;
330
+ device?: {
331
+ [key: string]: unknown;
332
+ } | undefined;
333
+ pay?: {
334
+ [key: string]: unknown;
335
+ } | undefined;
336
+ custom?: {
337
+ [key: string]: unknown;
338
+ } | undefined;
339
+ manual?: {
340
+ title: string;
341
+ text: string;
342
+ status?: boolean | undefined;
343
+ money?: number | undefined;
344
+ } | undefined;
345
+ backup?: Omit<State, "backup"> | undefined;
346
+ client?: ClientEnum | undefined;
347
+ };
348
+ };
349
+ export declare function reducers(state: State, action: Action): State;
350
+ export declare const Provider: ({ children, state: providerState, }: {
351
+ children: ReactNode;
352
+ state?: State | undefined;
353
+ }) => JSX.Element;
354
+ export declare function useContextData(): State;
355
+ export declare function useDispatch(): ThunkDispatch<State, Action>;
@@ -0,0 +1,9 @@
1
+ import { Reducer } from 'react';
2
+ export default function useThunkReducer<State, Action extends {
3
+ [P in keyof Action]: Action[P];
4
+ }>(reducer: Reducer<State, Action>, initialArg: State, init?: (s: State) => State): [State, ThunkDispatch<State, Action>];
5
+ export interface ThunkDispatch<State, Action> {
6
+ <TReturnType>(ThunkAction: ThunkAction<TReturnType, State, Action>): TReturnType;
7
+ (action: Action): void;
8
+ }
9
+ export declare type ThunkAction<TReturnType, State, Action> = (dispatch: ThunkDispatch<State, Action>, getState: () => State) => TReturnType;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @title: 获取 Tyro 资源
3
+ * @description:
4
+ * @param {Eftpos} type 类型
5
+ * @param {string} url 链接
6
+ * @return {*}
7
+ * @Author: hongbing.wang
8
+ * @Date: 2024-08-19 18:36
9
+ */
10
+ export declare const useTyro: (params: {
11
+ url?: string;
12
+ version?: string;
13
+ }) => readonly [import("react").MutableRefObject<any>, boolean];
@@ -0,0 +1,29 @@
1
+ /**
2
+ * @title: 定时,轮询
3
+ * @description: 双层 proxy , 1. 轮询 2. 定时 关闭轮询 ,特殊状态码,前端 701001 超时关闭 -1 外部用户关闭
4
+ * @return null
5
+ * @Author: hongbing.wang
6
+ * @Date: 2024-08-12 11:25
7
+ */
8
+ export default class XhrTimer {
9
+ clearTimeout: number;
10
+ isTimeoutClose: boolean;
11
+ timeout: number;
12
+ callback: (...agrn: unknown[]) => unknown;
13
+ flag: boolean;
14
+ run: any;
15
+ abortController: AbortController;
16
+ num: string;
17
+ constructor({ xhr, timeout, callback, max, }: {
18
+ xhr: (...agrn: unknown[]) => Promise<unknown>;
19
+ timeout: number;
20
+ callback: (...agrn: any[]) => unknown;
21
+ max?: number;
22
+ });
23
+ /**
24
+ * @title: 关闭 循环
25
+ * @Author: hongbing.wang
26
+ * @Date: 2024-08-20 12:48
27
+ */
28
+ close(): void;
29
+ }
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const DayItem: (props: any) => JSX.Element;
3
+ export default DayItem;
@@ -0,0 +1,4 @@
1
+ import './index.less';
2
+ import { CalendarItemProps } from '../../../../../type';
3
+ declare const Item: (props: CalendarItemProps) => JSX.Element;
4
+ export default Item;
@@ -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
+ unavailable: string;
42
+ };
43
+ /**
44
+ * @title: 根据预约量数据判断当前状态
45
+ * @description:
46
+ * @param {*}
47
+ * @return {*}
48
+ * @Author: xiangxiang.shao
49
+ * @Date: 2024-02-19 11:35
50
+ */
51
+ export declare const getStatus: (dateLimit: any, currentDate: string, cutTime: any) => {
52
+ status: string;
53
+ disabled: boolean;
54
+ };
55
+ /**
56
+ * @title: 根据当前日期以设定判断当前是否是call_to_book状态
57
+ * @description:
58
+ * @param {*}
59
+ * @return {*}
60
+ * @Author: xiangxiang.shao
61
+ * @Date: 2024-02-21 10:10
62
+ */
63
+ export declare const getCallToBookStatus: (currentDate: string, dateLimitData: any, cutTime: any) => boolean;
@@ -0,0 +1,34 @@
1
+ import { Dayjs } from "dayjs";
2
+ /**
3
+ * @title: 格式化日期
4
+ * @description:
5
+ * @param {string} date
6
+ * @param {string} format
7
+ * @return {*}
8
+ * @Author: WangHan
9
+ * @Date: 2025-01-14 15:19
10
+ */
11
+ export declare const formatDate: (date: Dayjs | string, format?: string) => string;
12
+ /**
13
+ * @title: 获取列表中包含了几个月
14
+ * @description:
15
+ * @param {Dayjs} date
16
+ * @return {*}
17
+ * @Author: WangHan
18
+ * @Date: 2025-01-14 15:25
19
+ */
20
+ export declare const getMonthIndex: (lists: any[]) => number[];
21
+ /**
22
+ * @title: 获取当前状态
23
+ * @description:
24
+ * @param {any} dateLimitData
25
+ * @param {any} item
26
+ * @param {any} cutTime
27
+ * @return {*}
28
+ * @Author: WangHan
29
+ * @Date: 2025-01-14 15:33
30
+ */
31
+ export declare const getCurrentStatus: (dateLimitData: any[], item: any, cutTime: any) => {
32
+ currentStatus: string;
33
+ disabled: boolean;
34
+ };