@pisell/private-materials 3.4.99 → 3.4.100

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 (515) 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/meta.js +1 -1
  5. package/build/lowcode/render/default/view.js +1 -1
  6. package/build/lowcode/view.js +1 -1
  7. package/es/components/Sales/Cart/index.d.ts +53 -0
  8. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +3 -0
  9. package/es/components/appointmentBooking/components/Content/index.d.ts +0 -1
  10. package/es/components/appointmentBooking/components/Header/index.d.ts +0 -1
  11. package/es/components/appointmentBooking/components/Services/index.d.ts +4 -0
  12. package/es/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +0 -1
  13. package/es/components/appointmentBooking/hooks.js +20 -27
  14. package/es/components/appointmentBooking/index.d.ts +3 -0
  15. package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
  16. package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
  17. package/es/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
  18. package/es/components/booking/addons/index.d.ts +17 -0
  19. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  20. package/es/components/booking/components/collapsibleList/utils.d.ts +0 -1
  21. package/es/components/booking/components/customSelect/index.d.ts +38 -0
  22. package/es/components/booking/components/emptyBooking/index.d.ts +0 -1
  23. package/es/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  24. package/es/components/booking/components/footer/amount.d.ts +25 -0
  25. package/es/components/booking/components/footer/index.d.ts +11 -0
  26. package/es/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  27. package/es/components/booking/components/tabPane/index.d.ts +4 -0
  28. package/es/components/booking/dashboard/serve.d.ts +1 -0
  29. package/es/components/booking/deposit/ClientItem/index.d.ts +18 -0
  30. package/es/components/booking/deposit/DepositItem/index.d.ts +25 -0
  31. package/es/components/booking/deposit/index.d.ts +3 -0
  32. package/es/components/booking/editBookingModal/utils.d.ts +12 -0
  33. package/es/components/booking/forms/forms.d.ts +30 -0
  34. package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  35. package/es/components/booking/forms/serve.d.ts +18 -0
  36. package/es/components/booking/forms/table/index.d.ts +0 -1
  37. package/es/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  38. package/es/components/booking/info/addServiceVariant/index.d.ts +7 -0
  39. package/es/components/booking/info/client/index.d.ts +4 -0
  40. package/es/components/booking/info/client/serve.d.ts +2 -0
  41. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  42. package/es/components/booking/info/clientVariant/utils.d.ts +1 -0
  43. package/es/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
  44. package/es/components/booking/info/date/index.d.ts +5 -0
  45. package/es/components/booking/info/header/index.d.ts +3 -0
  46. package/es/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
  47. package/es/components/booking/info/hooks/useInfoHolder.d.ts +10 -0
  48. package/es/components/booking/info/index.d.ts +4 -0
  49. package/es/components/booking/info/main.d.ts +12 -0
  50. package/es/components/booking/info/model.d.ts +5 -0
  51. package/es/components/booking/info/pet/index.d.ts +14 -0
  52. package/es/components/booking/info/pet/serve.d.ts +1 -0
  53. package/es/components/booking/info/service/Lists.d.ts +3 -0
  54. package/es/components/booking/info/service/addService/index.d.ts +12 -0
  55. package/es/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
  56. package/es/components/booking/info/service/like/index.d.ts +0 -1
  57. package/es/components/booking/info/service/serve.d.ts +20 -0
  58. package/es/components/booking/info/service/serviceList/index.d.ts +6 -0
  59. package/es/components/booking/info/service/serviceManager/index.d.ts +20 -0
  60. package/es/components/booking/info/service2/Group/utils.d.ts +14 -0
  61. package/es/components/booking/info/service2/Lists.d.ts +3 -0
  62. package/es/components/booking/info/service2/utils.d.ts +248 -0
  63. package/es/components/booking/info/utils.d.ts +50 -0
  64. package/es/components/booking/info2/index.d.ts +12 -0
  65. package/es/components/booking/info2/serve.d.ts +6 -0
  66. package/es/components/booking/info2/service/addService/index.d.ts +11 -0
  67. package/es/components/booking/info2/service/addService/utils.d.ts +98 -0
  68. package/es/components/booking/info2/service/addTimeModal/index.d.ts +4 -0
  69. package/es/components/booking/info2/service/editService/Capacity/index.d.ts +4 -0
  70. package/es/components/booking/info2/service/editService/utils.d.ts +28 -0
  71. package/es/components/booking/info2/service/index.d.ts +4 -0
  72. package/es/components/booking/info2/service/serviceList/index.d.ts +6 -0
  73. package/es/components/booking/info2/utilsByBooking.d.ts +35 -0
  74. package/es/components/booking/locales.d.ts +1485 -0
  75. package/es/components/booking/materiels/contacts/index.d.ts +0 -1
  76. package/es/components/booking/model.d.ts +111 -0
  77. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  78. package/es/components/booking/notes/addNote/index.d.ts +3 -0
  79. package/es/components/booking/utils.d.ts +175 -0
  80. package/es/components/ecocup/components/CupInfoCard/index.d.ts +0 -1
  81. package/es/components/ecocup/components/CustomerCard/index.d.ts +0 -1
  82. package/es/components/ecocup/cupList/const.d.ts +140 -0
  83. package/es/components/eftpos/deviceList/index.d.ts +0 -1
  84. package/es/components/eftpos/form/index.d.ts +0 -1
  85. package/es/components/eftpos/group/index.d.ts +0 -1
  86. package/es/components/eftpos/hooks.d.ts +0 -1
  87. package/es/components/eftpos/icon/apiKey.d.ts +0 -1
  88. package/es/components/eftpos/icon/device.d.ts +0 -1
  89. package/es/components/eftpos/index.d.ts +0 -1
  90. package/es/components/eftpos/pos.d.ts +0 -1
  91. package/es/components/eftpos/receipt/index.d.ts +0 -1
  92. package/es/components/eftpos/surcharge/index.d.ts +0 -1
  93. package/es/components/eftposPay/amount.d.ts +21 -0
  94. package/es/components/eftposPay/app.d.ts +11 -0
  95. package/es/components/eftposPay/component/alert/warn.d.ts +0 -1
  96. package/es/components/eftposPay/component/fail/failCustom.d.ts +4 -0
  97. package/es/components/eftposPay/component/fail/index.d.ts +3 -0
  98. package/es/components/eftposPay/component/fail/network.d.ts +8 -0
  99. package/es/components/eftposPay/component/fail/unknow.d.ts +9 -0
  100. package/es/components/eftposPay/component/header/titlebar.d.ts +0 -1
  101. package/es/components/eftposPay/component/manual/index.d.ts +9 -0
  102. package/es/components/eftposPay/component/signature/index.d.ts +8 -0
  103. package/es/components/eftposPay/component/step/index.d.ts +0 -1
  104. package/es/components/eftposPay/component/step/step.d.ts +0 -1
  105. package/es/components/eftposPay/const.d.ts +186 -0
  106. package/es/components/eftposPay/device.d.ts +24 -0
  107. package/es/components/eftposPay/index.d.ts +5 -0
  108. package/es/components/eftposPay/linkly/hooks/normal.d.ts +30 -0
  109. package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
  110. package/es/components/eftposPay/linkly/index.d.ts +3 -0
  111. package/es/components/eftposPay/locales.d.ts +572 -0
  112. package/es/components/eftposPay/manufacturer.d.ts +7 -0
  113. package/es/components/eftposPay/pay.d.ts +21 -0
  114. package/es/components/eftposPay/payo/config.d.ts +12 -0
  115. package/es/components/eftposPay/payo/hooks.d.ts +10 -0
  116. package/es/components/eftposPay/payo/payment.d.ts +66 -0
  117. package/es/components/eftposPay/tip.d.ts +9 -0
  118. package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
  119. package/es/components/eftposPay/tyro/index.d.ts +9 -0
  120. package/es/components/eftposPay/utils/payLog.d.ts +81 -0
  121. package/es/components/eftposPay/windcave/receiptAction.d.ts +22 -0
  122. package/es/components/eftposPay/windcave/windcave.d.ts +6 -0
  123. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  124. package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  125. package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  126. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  127. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  128. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  129. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  130. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  131. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  132. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  133. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  134. package/es/components/eventBooking/index.d.ts +0 -1
  135. package/es/components/index.d.ts +23 -0
  136. package/es/components/login/index.d.ts +0 -1
  137. package/es/components/pay/toC/PaymentList/serve.d.ts +28 -0
  138. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +23 -0
  139. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
  140. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +2 -0
  141. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  142. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  143. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +2 -0
  144. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +2 -0
  145. package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +155 -0
  146. package/es/components/pay/toC/locales.d.ts +631 -0
  147. package/es/components/pay/toC/model.d.ts +32 -0
  148. package/es/components/pay/toC/payGroup.d.ts +59 -0
  149. package/es/components/pay/toC/serve.d.ts +87 -0
  150. package/es/components/pay/toC/utils.d.ts +65 -0
  151. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  152. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  153. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +3 -0
  154. package/es/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
  155. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  156. package/es/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  157. package/es/components/schedules/calendar/calendarItem.d.ts +0 -1
  158. package/es/components/schedules/calendar/index.d.ts +0 -1
  159. package/es/components/schedules/components/CurrentDay/index.d.ts +0 -1
  160. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  161. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  162. package/es/components/schedules/components/ScheduleList/index.d.ts +0 -1
  163. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  164. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  165. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
  166. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
  167. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  168. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  169. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  170. package/es/components/schedules/products/index.d.ts +0 -1
  171. package/es/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  172. package/es/components/schedules/products/list/index.d.ts +0 -1
  173. package/es/components/schedules/resources/index.d.ts +0 -1
  174. package/es/components/schedules/resources/list/index.d.ts +0 -1
  175. package/es/components/schedules/resources/relationProduct/index.d.ts +0 -1
  176. package/es/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  177. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  178. package/es/components/schedules/schedules/index.d.ts +0 -1
  179. package/es/components/shoppingCart/Provider.d.ts +3 -0
  180. package/es/components/shoppingCart/locales.d.ts +53 -0
  181. package/es/components/shoppingCart/mock.d.ts +40 -0
  182. package/es/components/shoppingCart/type.d.ts +48 -0
  183. package/es/components/shoppingCart/utils.d.ts +63 -0
  184. package/es/components/subTotal/locales.d.ts +68 -0
  185. package/es/components/systemSettings/registry/locales.d.ts +544 -0
  186. package/es/components/systemSettings/registry/services.d.ts +99 -0
  187. package/es/components/systemSettings/registry/types.d.ts +145 -0
  188. package/es/components/taxSelect/index.d.ts +0 -1
  189. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +7 -0
  190. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +4 -0
  191. package/es/components/ticketBooking/index.d.ts +7 -0
  192. package/es/components/ticketBooking/locales.d.ts +304 -0
  193. package/es/components/ticketBooking/miniRedux.d.ts +22 -0
  194. package/es/components/ticketBooking/serve.d.ts +287 -0
  195. package/es/components/ticketBooking/utils/formatProductMessage.d.ts +2 -0
  196. package/es/components/ticketBooking/utils/index.d.ts +25 -0
  197. package/es/hooks/useEngineContext.d.ts +11 -0
  198. package/es/hooks/usePaymentLogger.d.ts +0 -1
  199. package/es/hooks/useWindowSize.d.ts +5 -0
  200. package/es/index.d.ts +83 -0
  201. package/es/plus/clientName/index.d.ts +0 -1
  202. package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +0 -1
  203. package/es/plus/clinetSearch/Add/GenderField/index.d.ts +0 -1
  204. package/es/plus/clinetSearch/index.d.ts +18 -0
  205. package/es/plus/orderList/config.d.ts +2 -2
  206. package/es/plus/orderList/locales.d.ts +618 -0
  207. package/es/plus/pisellSalesGrid/PisellSalesGrid.stories.d.ts +14 -0
  208. package/es/plus/pisellSalesGrid/serve.d.ts +19 -0
  209. package/es/plus/pisellSalesGrid/types.d.ts +170 -0
  210. package/es/plus/pisellSalesManagement/components/ResourceSelector.d.ts +9 -0
  211. package/es/plus/pisellSalesManagement/config/booking.d.ts +185 -0
  212. package/es/plus/pisellSalesManagement/config/order.d.ts +172 -0
  213. package/es/plus/productSelect/CategoryTabs/index.d.ts +21 -0
  214. package/es/plus/productSelect/ProductCard/ProductCardSkeleton.d.ts +10 -0
  215. package/es/plus/productSelect/ProductCard/index.d.ts +47 -0
  216. package/es/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
  217. package/es/plus/productSelect/ProductList/index.d.ts +22 -0
  218. package/es/plus/saasCreateOrganization/components/Header.d.ts +0 -1
  219. package/es/plus/saasCreateOrganization/index.d.ts +0 -1
  220. package/es/plus/saasDevice/devicePlanning/constants.d.ts +9 -0
  221. package/es/plus/saasDevice/devicePlanning/hooks.d.ts +1 -0
  222. package/es/plus/saasDevice/devicePlanning/locales.d.ts +483 -0
  223. package/es/plus/saasDevice/devicePlanning/serve.d.ts +19 -0
  224. package/es/plus/saasDevice/devicePlanning/types.d.ts +138 -0
  225. package/es/plus/saasDevice/deviceProfile/components/ProfileSetting/utils.d.ts +1 -0
  226. package/es/plus/saasDevice/deviceProfile/components/UnsavedConfirmModal/index.d.ts +2 -0
  227. package/es/plus/saasDevice/deviceProfile/hooks.d.ts +1 -0
  228. package/es/plus/saasDevice/deviceProfile/locales.d.ts +383 -0
  229. package/es/plus/saasDevice/deviceProfile/serve.d.ts +38 -0
  230. package/es/plus/saasDevice/deviceProfile/types.d.ts +190 -0
  231. package/es/plus/saasDevice/index.d.ts +0 -0
  232. package/es/plus/saasRegister/components/EntryEmail.d.ts +0 -1
  233. package/es/plus/saasRegister/components/EntryInfo.d.ts +0 -1
  234. package/es/plus/saasRegister/components/GoLogin.d.ts +0 -1
  235. package/es/plus/saasRegister/components/Header.d.ts +0 -1
  236. package/es/plus/saasRegister/components/VerifyError.d.ts +0 -1
  237. package/es/plus/saasRegister/components/VerifyingLink.d.ts +0 -1
  238. package/es/plus/selectHolder/locales.d.ts +35 -0
  239. package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +5 -0
  240. package/es/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +0 -1
  241. package/es/plus/skuOptionsSelection/components/VariantCard/index.d.ts +3 -0
  242. package/es/plus/skuOptionsSelection/index.d.ts +5 -0
  243. package/es/plus/skuOptionsSelection/locales.d.ts +53 -0
  244. package/es/plus/skuOptionsSelection/types.d.ts +443 -0
  245. package/es/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
  246. package/es/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
  247. package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
  248. package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
  249. package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
  250. package/es/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
  251. package/es/plus/walletEditor/components/relationProduct/index.d.ts +0 -1
  252. package/es/plus/walletPassGallery/components/passDetail/index.js +8 -1
  253. package/es/plus/walletPassGallery/locales.d.ts +488 -0
  254. package/es/plus/walletPassGallery/locales.js +14 -5
  255. package/es/pro/Login2.0/components/phoneValidation.d.ts +17 -0
  256. package/es/pro/NumericStepper/index.d.ts +73 -0
  257. package/es/pro/Selector/demo.d.ts +0 -1
  258. package/es/pro/Selector/hooks/usePresetProps.d.ts +24 -0
  259. package/es/pro/pisellNumberSelector/example.d.ts +3 -0
  260. package/es/pro/pisellPaymentList/example.d.ts +0 -1
  261. package/lib/components/Sales/Cart/index.d.ts +53 -0
  262. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +3 -0
  263. package/lib/components/appointmentBooking/components/Content/index.d.ts +0 -1
  264. package/lib/components/appointmentBooking/components/Header/index.d.ts +0 -1
  265. package/lib/components/appointmentBooking/components/Services/index.d.ts +4 -0
  266. package/lib/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +0 -1
  267. package/lib/components/appointmentBooking/hooks.js +1 -8
  268. package/lib/components/appointmentBooking/index.d.ts +3 -0
  269. package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
  270. package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
  271. package/lib/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
  272. package/lib/components/booking/addons/index.d.ts +17 -0
  273. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  274. package/lib/components/booking/components/collapsibleList/utils.d.ts +0 -1
  275. package/lib/components/booking/components/customSelect/index.d.ts +38 -0
  276. package/lib/components/booking/components/emptyBooking/index.d.ts +0 -1
  277. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  278. package/lib/components/booking/components/footer/amount.d.ts +25 -0
  279. package/lib/components/booking/components/footer/index.d.ts +11 -0
  280. package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  281. package/lib/components/booking/components/tabPane/index.d.ts +4 -0
  282. package/lib/components/booking/dashboard/serve.d.ts +1 -0
  283. package/lib/components/booking/deposit/ClientItem/index.d.ts +18 -0
  284. package/lib/components/booking/deposit/DepositItem/index.d.ts +25 -0
  285. package/lib/components/booking/deposit/index.d.ts +3 -0
  286. package/lib/components/booking/editBookingModal/utils.d.ts +12 -0
  287. package/lib/components/booking/forms/forms.d.ts +30 -0
  288. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  289. package/lib/components/booking/forms/serve.d.ts +18 -0
  290. package/lib/components/booking/forms/table/index.d.ts +0 -1
  291. package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  292. package/lib/components/booking/info/addServiceVariant/index.d.ts +7 -0
  293. package/lib/components/booking/info/client/index.d.ts +4 -0
  294. package/lib/components/booking/info/client/serve.d.ts +2 -0
  295. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  296. package/lib/components/booking/info/clientVariant/utils.d.ts +1 -0
  297. package/lib/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
  298. package/lib/components/booking/info/date/index.d.ts +5 -0
  299. package/lib/components/booking/info/header/index.d.ts +3 -0
  300. package/lib/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
  301. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +10 -0
  302. package/lib/components/booking/info/index.d.ts +4 -0
  303. package/lib/components/booking/info/main.d.ts +12 -0
  304. package/lib/components/booking/info/model.d.ts +5 -0
  305. package/lib/components/booking/info/pet/index.d.ts +14 -0
  306. package/lib/components/booking/info/pet/serve.d.ts +1 -0
  307. package/lib/components/booking/info/service/Lists.d.ts +3 -0
  308. package/lib/components/booking/info/service/addService/index.d.ts +12 -0
  309. package/lib/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
  310. package/lib/components/booking/info/service/like/index.d.ts +0 -1
  311. package/lib/components/booking/info/service/serve.d.ts +20 -0
  312. package/lib/components/booking/info/service/serviceList/index.d.ts +6 -0
  313. package/lib/components/booking/info/service/serviceManager/index.d.ts +20 -0
  314. package/lib/components/booking/info/service2/Group/utils.d.ts +14 -0
  315. package/lib/components/booking/info/service2/Lists.d.ts +3 -0
  316. package/lib/components/booking/info/service2/utils.d.ts +248 -0
  317. package/lib/components/booking/info/utils.d.ts +50 -0
  318. package/lib/components/booking/info2/index.d.ts +12 -0
  319. package/lib/components/booking/info2/serve.d.ts +6 -0
  320. package/lib/components/booking/info2/service/addService/index.d.ts +11 -0
  321. package/lib/components/booking/info2/service/addService/utils.d.ts +98 -0
  322. package/lib/components/booking/info2/service/addTimeModal/index.d.ts +4 -0
  323. package/lib/components/booking/info2/service/editService/Capacity/index.d.ts +4 -0
  324. package/lib/components/booking/info2/service/editService/utils.d.ts +28 -0
  325. package/lib/components/booking/info2/service/index.d.ts +4 -0
  326. package/lib/components/booking/info2/service/serviceList/index.d.ts +6 -0
  327. package/lib/components/booking/info2/utilsByBooking.d.ts +35 -0
  328. package/lib/components/booking/locales.d.ts +1485 -0
  329. package/lib/components/booking/materiels/contacts/index.d.ts +0 -1
  330. package/lib/components/booking/model.d.ts +111 -0
  331. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  332. package/lib/components/booking/notes/addNote/index.d.ts +3 -0
  333. package/lib/components/booking/utils.d.ts +175 -0
  334. package/lib/components/ecocup/components/CupInfoCard/index.d.ts +0 -1
  335. package/lib/components/ecocup/components/CustomerCard/index.d.ts +0 -1
  336. package/lib/components/ecocup/cupList/const.d.ts +140 -0
  337. package/lib/components/eftpos/deviceList/index.d.ts +0 -1
  338. package/lib/components/eftpos/form/index.d.ts +0 -1
  339. package/lib/components/eftpos/group/index.d.ts +0 -1
  340. package/lib/components/eftpos/hooks.d.ts +0 -1
  341. package/lib/components/eftpos/icon/apiKey.d.ts +0 -1
  342. package/lib/components/eftpos/icon/device.d.ts +0 -1
  343. package/lib/components/eftpos/index.d.ts +0 -1
  344. package/lib/components/eftpos/pos.d.ts +0 -1
  345. package/lib/components/eftpos/receipt/index.d.ts +0 -1
  346. package/lib/components/eftpos/surcharge/index.d.ts +0 -1
  347. package/lib/components/eftposPay/amount.d.ts +21 -0
  348. package/lib/components/eftposPay/app.d.ts +11 -0
  349. package/lib/components/eftposPay/component/alert/warn.d.ts +0 -1
  350. package/lib/components/eftposPay/component/fail/failCustom.d.ts +4 -0
  351. package/lib/components/eftposPay/component/fail/index.d.ts +3 -0
  352. package/lib/components/eftposPay/component/fail/network.d.ts +8 -0
  353. package/lib/components/eftposPay/component/fail/unknow.d.ts +9 -0
  354. package/lib/components/eftposPay/component/header/titlebar.d.ts +0 -1
  355. package/lib/components/eftposPay/component/manual/index.d.ts +9 -0
  356. package/lib/components/eftposPay/component/signature/index.d.ts +8 -0
  357. package/lib/components/eftposPay/component/step/index.d.ts +0 -1
  358. package/lib/components/eftposPay/component/step/step.d.ts +0 -1
  359. package/lib/components/eftposPay/const.d.ts +186 -0
  360. package/lib/components/eftposPay/device.d.ts +24 -0
  361. package/lib/components/eftposPay/index.d.ts +5 -0
  362. package/lib/components/eftposPay/linkly/hooks/normal.d.ts +30 -0
  363. package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
  364. package/lib/components/eftposPay/linkly/index.d.ts +3 -0
  365. package/lib/components/eftposPay/locales.d.ts +572 -0
  366. package/lib/components/eftposPay/manufacturer.d.ts +7 -0
  367. package/lib/components/eftposPay/pay.d.ts +21 -0
  368. package/lib/components/eftposPay/payo/config.d.ts +12 -0
  369. package/lib/components/eftposPay/payo/hooks.d.ts +10 -0
  370. package/lib/components/eftposPay/payo/payment.d.ts +66 -0
  371. package/lib/components/eftposPay/tip.d.ts +9 -0
  372. package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
  373. package/lib/components/eftposPay/tyro/index.d.ts +9 -0
  374. package/lib/components/eftposPay/utils/payLog.d.ts +81 -0
  375. package/lib/components/eftposPay/windcave/receiptAction.d.ts +22 -0
  376. package/lib/components/eftposPay/windcave/windcave.d.ts +6 -0
  377. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  378. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  379. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  380. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  381. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  382. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  383. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  384. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  385. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  386. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  387. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  388. package/lib/components/eventBooking/index.d.ts +0 -1
  389. package/lib/components/index.d.ts +23 -0
  390. package/lib/components/login/index.d.ts +0 -1
  391. package/lib/components/pay/toC/PaymentList/serve.d.ts +28 -0
  392. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +23 -0
  393. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
  394. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +2 -0
  395. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  396. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  397. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +2 -0
  398. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +2 -0
  399. package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +155 -0
  400. package/lib/components/pay/toC/locales.d.ts +631 -0
  401. package/lib/components/pay/toC/model.d.ts +32 -0
  402. package/lib/components/pay/toC/payGroup.d.ts +59 -0
  403. package/lib/components/pay/toC/serve.d.ts +87 -0
  404. package/lib/components/pay/toC/utils.d.ts +65 -0
  405. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  406. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  407. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +3 -0
  408. package/lib/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
  409. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  410. package/lib/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  411. package/lib/components/schedules/calendar/calendarItem.d.ts +0 -1
  412. package/lib/components/schedules/calendar/index.d.ts +0 -1
  413. package/lib/components/schedules/components/CurrentDay/index.d.ts +0 -1
  414. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  415. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  416. package/lib/components/schedules/components/ScheduleList/index.d.ts +0 -1
  417. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  418. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  419. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
  420. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
  421. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  422. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  423. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  424. package/lib/components/schedules/products/index.d.ts +0 -1
  425. package/lib/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  426. package/lib/components/schedules/products/list/index.d.ts +0 -1
  427. package/lib/components/schedules/resources/index.d.ts +0 -1
  428. package/lib/components/schedules/resources/list/index.d.ts +0 -1
  429. package/lib/components/schedules/resources/relationProduct/index.d.ts +0 -1
  430. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  431. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  432. package/lib/components/schedules/schedules/index.d.ts +0 -1
  433. package/lib/components/shoppingCart/Provider.d.ts +3 -0
  434. package/lib/components/shoppingCart/locales.d.ts +53 -0
  435. package/lib/components/shoppingCart/mock.d.ts +40 -0
  436. package/lib/components/shoppingCart/type.d.ts +48 -0
  437. package/lib/components/shoppingCart/utils.d.ts +63 -0
  438. package/lib/components/subTotal/locales.d.ts +68 -0
  439. package/lib/components/systemSettings/registry/locales.d.ts +544 -0
  440. package/lib/components/systemSettings/registry/services.d.ts +99 -0
  441. package/lib/components/systemSettings/registry/types.d.ts +145 -0
  442. package/lib/components/taxSelect/index.d.ts +0 -1
  443. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +7 -0
  444. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +4 -0
  445. package/lib/components/ticketBooking/index.d.ts +7 -0
  446. package/lib/components/ticketBooking/locales.d.ts +304 -0
  447. package/lib/components/ticketBooking/miniRedux.d.ts +22 -0
  448. package/lib/components/ticketBooking/serve.d.ts +287 -0
  449. package/lib/components/ticketBooking/utils/formatProductMessage.d.ts +2 -0
  450. package/lib/components/ticketBooking/utils/index.d.ts +25 -0
  451. package/lib/hooks/useEngineContext.d.ts +11 -0
  452. package/lib/hooks/usePaymentLogger.d.ts +0 -1
  453. package/lib/hooks/useWindowSize.d.ts +5 -0
  454. package/lib/index.d.ts +83 -0
  455. package/lib/plus/clientName/index.d.ts +0 -1
  456. package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +0 -1
  457. package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +0 -1
  458. package/lib/plus/clinetSearch/index.d.ts +18 -0
  459. package/lib/plus/orderList/config.d.ts +2 -2
  460. package/lib/plus/orderList/locales.d.ts +618 -0
  461. package/lib/plus/pisellSalesGrid/PisellSalesGrid.stories.d.ts +14 -0
  462. package/lib/plus/pisellSalesGrid/serve.d.ts +19 -0
  463. package/lib/plus/pisellSalesGrid/types.d.ts +170 -0
  464. package/lib/plus/pisellSalesManagement/components/ResourceSelector.d.ts +9 -0
  465. package/lib/plus/pisellSalesManagement/config/booking.d.ts +185 -0
  466. package/lib/plus/pisellSalesManagement/config/order.d.ts +172 -0
  467. package/lib/plus/productSelect/CategoryTabs/index.d.ts +21 -0
  468. package/lib/plus/productSelect/ProductCard/ProductCardSkeleton.d.ts +10 -0
  469. package/lib/plus/productSelect/ProductCard/index.d.ts +47 -0
  470. package/lib/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
  471. package/lib/plus/productSelect/ProductList/index.d.ts +22 -0
  472. package/lib/plus/saasCreateOrganization/components/Header.d.ts +0 -1
  473. package/lib/plus/saasCreateOrganization/index.d.ts +0 -1
  474. package/lib/plus/saasDevice/devicePlanning/constants.d.ts +9 -0
  475. package/lib/plus/saasDevice/devicePlanning/hooks.d.ts +1 -0
  476. package/lib/plus/saasDevice/devicePlanning/locales.d.ts +483 -0
  477. package/lib/plus/saasDevice/devicePlanning/serve.d.ts +19 -0
  478. package/lib/plus/saasDevice/devicePlanning/types.d.ts +138 -0
  479. package/lib/plus/saasDevice/deviceProfile/components/ProfileSetting/utils.d.ts +1 -0
  480. package/lib/plus/saasDevice/deviceProfile/components/UnsavedConfirmModal/index.d.ts +2 -0
  481. package/lib/plus/saasDevice/deviceProfile/hooks.d.ts +1 -0
  482. package/lib/plus/saasDevice/deviceProfile/locales.d.ts +383 -0
  483. package/lib/plus/saasDevice/deviceProfile/serve.d.ts +38 -0
  484. package/lib/plus/saasDevice/deviceProfile/types.d.ts +190 -0
  485. package/lib/plus/saasDevice/index.d.ts +0 -0
  486. package/lib/plus/saasRegister/components/EntryEmail.d.ts +0 -1
  487. package/lib/plus/saasRegister/components/EntryInfo.d.ts +0 -1
  488. package/lib/plus/saasRegister/components/GoLogin.d.ts +0 -1
  489. package/lib/plus/saasRegister/components/Header.d.ts +0 -1
  490. package/lib/plus/saasRegister/components/VerifyError.d.ts +0 -1
  491. package/lib/plus/saasRegister/components/VerifyingLink.d.ts +0 -1
  492. package/lib/plus/selectHolder/locales.d.ts +35 -0
  493. package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +5 -0
  494. package/lib/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +0 -1
  495. package/lib/plus/skuOptionsSelection/components/VariantCard/index.d.ts +3 -0
  496. package/lib/plus/skuOptionsSelection/index.d.ts +5 -0
  497. package/lib/plus/skuOptionsSelection/locales.d.ts +53 -0
  498. package/lib/plus/skuOptionsSelection/types.d.ts +443 -0
  499. package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
  500. package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
  501. package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
  502. package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
  503. package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
  504. package/lib/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
  505. package/lib/plus/walletEditor/components/relationProduct/index.d.ts +0 -1
  506. package/lib/plus/walletPassGallery/components/passDetail/index.js +4 -0
  507. package/lib/plus/walletPassGallery/locales.d.ts +488 -0
  508. package/lib/plus/walletPassGallery/locales.js +14 -5
  509. package/lib/pro/Login2.0/components/phoneValidation.d.ts +17 -0
  510. package/lib/pro/NumericStepper/index.d.ts +73 -0
  511. package/lib/pro/Selector/demo.d.ts +0 -1
  512. package/lib/pro/Selector/hooks/usePresetProps.d.ts +24 -0
  513. package/lib/pro/pisellNumberSelector/example.d.ts +3 -0
  514. package/lib/pro/pisellPaymentList/example.d.ts +0 -1
  515. package/package.json +3 -3
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare type ContactType = {
4
3
  country_calling_code: string;
@@ -0,0 +1,111 @@
1
+ export interface FormState {
2
+ amountSymbol: string;
3
+ apis: {
4
+ getClients: (par?: any) => any;
5
+ getClientsEs: (par?: any) => any;
6
+ getServices: (par?: any) => any;
7
+ getResources: (par?: any) => any;
8
+ getProducts: (par?: any) => any;
9
+ getPets: (par?: any) => any;
10
+ getForms: (par?: any) => any;
11
+ getFormData: (par?: any) => any;
12
+ getAddonsByOrderId: (par?: any) => any;
13
+ saveAddonsByOrderId: (par?: any) => any;
14
+ getNotesByOrder: (par?: any) => any;
15
+ saveBookingFormData: (par?: any) => any;
16
+ getPetsData: (par?: any) => any;
17
+ };
18
+ client: {
19
+ showModal: boolean;
20
+ value: any;
21
+ clients: any[];
22
+ clientsParams: {
23
+ skip: number;
24
+ num: number;
25
+ search: string;
26
+ };
27
+ edit: boolean;
28
+ };
29
+ contacts_info: {
30
+ edit: boolean;
31
+ value: any;
32
+ };
33
+ date: {
34
+ value: any;
35
+ end_date: any;
36
+ edit: boolean;
37
+ };
38
+ service: {
39
+ addModal: boolean;
40
+ editModal: boolean;
41
+ services: any[];
42
+ resources: any[];
43
+ resourcesOrigin: any[];
44
+ value: any[];
45
+ cacheItem: any;
46
+ edit: boolean;
47
+ addTimeModal: boolean;
48
+ changeService: any;
49
+ };
50
+ pet: {
51
+ showModal: boolean;
52
+ pets: any[];
53
+ value: any[];
54
+ formData: any;
55
+ originValue: any;
56
+ edit: boolean;
57
+ };
58
+ addons: {
59
+ showModal: boolean;
60
+ value: any[];
61
+ productList: any[];
62
+ originData: any[];
63
+ edit: boolean;
64
+ };
65
+ notes: {
66
+ orderNote: string;
67
+ internalNotes: any[];
68
+ edit: boolean;
69
+ };
70
+ form: {
71
+ value: any;
72
+ forms: any[];
73
+ edit: boolean;
74
+ };
75
+ setGlobalState: () => void;
76
+ disabledEdit: boolean;
77
+ bookingConfig: any;
78
+ action: any;
79
+ bookingId: string | number;
80
+ bookingDetail: any;
81
+ channelDisabledEdit: boolean;
82
+ renderType?: 'eventBooking' | 'dayBooking';
83
+ modalOpen?: boolean;
84
+ isTerminal?: boolean;
85
+ isFranchisee?: boolean;
86
+ addTimeProducts: any[];
87
+ eventOtherParams?: {
88
+ relation_id: number;
89
+ number: number;
90
+ registration_type: 'single' | 'all' | 'extra_include';
91
+ start_date: string;
92
+ start_time: string;
93
+ end_date: string;
94
+ end_time: string;
95
+ productIds: number[];
96
+ };
97
+ disableEventBookingEdit?: boolean;
98
+ /** 关闭自动打开选择服务弹窗 */
99
+ closeAutoOpenService?: boolean;
100
+ /** 是否terminal创建booking页面 */
101
+ isBookingCreatePage?: boolean;
102
+ loading: boolean;
103
+ isTerminalDayBookingPage?: boolean;
104
+ activeCartId?: any[];
105
+ isDayBooking: boolean;
106
+ }
107
+ export declare const walkInData: {
108
+ id: number;
109
+ nickname: string;
110
+ };
111
+ export declare const Provider: any, Context: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  export interface InfoProps {
4
3
  isEdit: boolean;
@@ -0,0 +1,3 @@
1
+ import "./index.less";
2
+ declare const AddNote: ({ value, onChange, wait, title, placeholder }: any) => JSX.Element;
3
+ export default AddNote;
@@ -0,0 +1,175 @@
1
+ import dayjs from 'dayjs';
2
+ declare type RType = (url: string, data?: {} | undefined, config?: {} | undefined) => Promise<any>;
3
+ declare class Request {
4
+ private request;
5
+ constructor();
6
+ setRequest(val: any): void;
7
+ getRequest(): {
8
+ get: RType;
9
+ post: RType;
10
+ put: RType;
11
+ remove: RType;
12
+ custom: RType;
13
+ };
14
+ }
15
+ export declare const request: Request;
16
+ /**
17
+ * @title: 格式化持续时长用于展示
18
+ * @description:
19
+ * @param {number} service_times
20
+ * @return {*}
21
+ * @Author: zhiwei.Wang
22
+ * @Date: 2024-04-26 14:00
23
+ */
24
+ export declare const getDiscountTime: (service_times: number, isDay?: boolean) => string;
25
+ /**
26
+ * @title: 时间切片
27
+ * @description:
28
+ * @param {any} config
29
+ * @param {string} locale
30
+ * @return {*}
31
+ * @Author: zhiwei.Wang
32
+ * @Date: 2024-04-26 13:59
33
+ */
34
+ export declare const sliceDayIntoFiveMinutes: (config: any, locale: string, isDay?: boolean) => {
35
+ timeSlices: {
36
+ label: string;
37
+ value: string;
38
+ }[];
39
+ durationSlicesBasedOnTime: {
40
+ label: string;
41
+ value: number;
42
+ }[];
43
+ };
44
+ export declare const getNowTime: () => string;
45
+ export declare const isNowTime: (time: string) => boolean;
46
+ /**
47
+ * @title: 获取服务的开始时间, 如果是now 转换为当前的时间
48
+ * @description:
49
+ * @param {string} start_time
50
+ * @return {*}
51
+ * @Author: zhiwei.Wang
52
+ * @Date: 2024-04-26 14:03
53
+ */
54
+ export declare const getServeStartTime: (start_time: string) => string;
55
+ /**
56
+ * @title: 格式化服务的 开始时间-结束时间-时长, 用于展示
57
+ * @description:
58
+ * @param {any} item
59
+ * @param {any} currentDate
60
+ * @return {*}
61
+ * @Author: zhiwei.Wang
62
+ * @Date: 2024-04-26 14:04
63
+ */
64
+ export declare const getServiceTime: (item: any, currentDate: any) => string;
65
+ export declare const findNextSlice: ({ timeSlices, index, date, }: {
66
+ timeSlices: any[];
67
+ index?: number | undefined;
68
+ date?: string | undefined;
69
+ }) => any;
70
+ export declare const findNextDuration: (current: any, array: any, defaultValue?: any) => any;
71
+ export declare const formatProductListByCategory: (list: any, filterItem: any) => unknown[];
72
+ export declare const getResourceTimeIsUsable: (item: any, cacheItem: any) => any;
73
+ /**
74
+ * @title: 查找是否有可用的time
75
+ * @description:
76
+ * @param {any} resourceItem
77
+ * @return {*}
78
+ * @Author: zhiwei.Wang
79
+ * @Date: 2024-01-09 13:57
80
+ */
81
+ export declare const formatTimes: (resourceItem: any, cacheItem: any) => any;
82
+ /**
83
+ * @title: 获取店铺的营业结束时间
84
+ * @description:
85
+ * @return {*}
86
+ * @Author: zhiwei.Wang
87
+ * @Date: 2024-02-23 10:00
88
+ */
89
+ export declare const getShopOpeningHours: () => string;
90
+ /**
91
+ * @title: 对灵活时长进行处理
92
+ * @description:
93
+ * @return {*}
94
+ * @Author: zhiwei.Wang
95
+ * @Date: 2024-02-23 10:00
96
+ */
97
+ export declare const flexibleObj: {
98
+ create: (num: number) => any;
99
+ getValue: (str: string | number) => number;
100
+ isFlexible: (str: string | number) => boolean;
101
+ add: (current: number | string, duration: number) => any;
102
+ };
103
+ /**
104
+ * @title: 获取结束时间
105
+ * @description: 取 endDate | 店铺营业时间 最小的那一个
106
+ * @param {any} startDate
107
+ * @param {string} duration
108
+ * @param {any} endDate
109
+ * @return {*}
110
+ * @Author: zhiwei.Wang
111
+ * @Date: 2024-02-23 10:01
112
+ */
113
+ export declare const getEndDate: (startDate: any, duration: string | number, endDate: any) => any;
114
+ export declare const getServiceTimes: (service: any) => {
115
+ startDate: dayjs.Dayjs;
116
+ endDate: dayjs.Dayjs;
117
+ };
118
+ export declare const getErrorList: (resource: any, cacheItem: any, isDay?: boolean) => {
119
+ label: any;
120
+ type: string;
121
+ }[];
122
+ /**
123
+ * @title: 格式化资源, 添加自定义参数
124
+ * @description:
125
+ * @param {any} resourceItem
126
+ * @return {*}
127
+ * @Author: zhiwei.Wang
128
+ * @Date: 2024-01-09 13:40
129
+ */
130
+ export declare const formatResource: (resourceItem: any, cacheItem?: any, formatLabel?: any) => any;
131
+ export declare const getLastServer: (list: any) => any;
132
+ export declare const getCacheParams: () => any;
133
+ export declare const deleteCacheParams: () => void;
134
+ /**
135
+ * @title: 获取跨日预约的时长
136
+ * @description:
137
+ * @param {any} cacheItem
138
+ * @return {*}
139
+ * @Author: WangHan
140
+ * @Date: 2024-12-01 22:43
141
+ */
142
+ export declare const getDays: (cacheItem: any, type: 'minutes' | 'days') => any;
143
+ export declare const isSessionProduct: (cacheItem: any) => boolean;
144
+ export declare const getIsEject: (item: any, type: 'select' | 'detail') => boolean;
145
+ export declare const getIsOnlySession: (item: any) => boolean;
146
+ /**
147
+ * @title: 创建一个服务商品
148
+ * @description:
149
+ * @param {any} state
150
+ * @param {any} item
151
+ * @return {*}
152
+ * @Author: zhiwei.Wang
153
+ * @Date: 2024-01-26 14:09
154
+ */
155
+ export declare const getServerItemExtend: (state: any, cacheItem: any, timeObj: any) => any;
156
+ export declare const getMainPrice: (item: any, price?: number) => number;
157
+ export declare const getProductTotalPrice: (item: any) => number;
158
+ /**
159
+ * @title: 判断 duration
160
+ * @description: 用于处理不同格式的duration
161
+ * @param {number} duration
162
+ * @return {*}
163
+ * @Author: zhiwei.Wang
164
+ * @Date: 2024-02-23 10:02
165
+ */
166
+ export declare const getDuration: (duration: number | {
167
+ type: string;
168
+ value: number;
169
+ }) => number | {
170
+ type: string;
171
+ value: number;
172
+ } | "flexible";
173
+ export declare const isWalkIn: (customer_id?: number | string) => boolean;
174
+ export declare const getIsEdit: (state: any) => boolean;
175
+ export {};
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface IProps {
4
3
  type: 'rentInfo' | 'markInfo' | 'belongInfo' | 'otherBelongInfo';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  import { ICustomer } from '../../types';
4
3
  interface IProps extends Partial<ICustomer> {
@@ -0,0 +1,140 @@
1
+ declare const STATUS_TEXT_MAP: {
2
+ in_stock: string;
3
+ rent: string;
4
+ return: string;
5
+ missing: string;
6
+ broken: string;
7
+ shop_changed: string;
8
+ };
9
+ declare const STATUS_COLOR_MAP: {
10
+ in_stock: {
11
+ backgroundColor: string;
12
+ color: string;
13
+ border: string;
14
+ };
15
+ rent: {
16
+ backgroundColor: string;
17
+ color: string;
18
+ border: string;
19
+ };
20
+ return: {
21
+ backgroundColor: string;
22
+ color: string;
23
+ border: string;
24
+ };
25
+ shop_changed: {
26
+ backgroundColor: string;
27
+ color: string;
28
+ border: string;
29
+ };
30
+ overtime: {
31
+ backgroundColor: string;
32
+ color: string;
33
+ border: string;
34
+ };
35
+ expire_soon: {
36
+ backgroundColor: string;
37
+ color: string;
38
+ border: string;
39
+ };
40
+ borrowing: {
41
+ backgroundColor: string;
42
+ color: string;
43
+ border: string;
44
+ };
45
+ missing: {
46
+ backgroundColor: string;
47
+ color: string;
48
+ border: string;
49
+ };
50
+ broken: {
51
+ backgroundColor: string;
52
+ color: string;
53
+ border: string;
54
+ };
55
+ };
56
+ /**
57
+ * @description: 排序设置
58
+ * @return {*}
59
+ */
60
+ declare const SORT_SETTINGS: {
61
+ show: boolean;
62
+ list: {
63
+ columnKey: string;
64
+ key: string;
65
+ type: string;
66
+ localFilter: boolean;
67
+ }[];
68
+ };
69
+ /**
70
+ * @description: 列配置
71
+ * @return {*}
72
+ */
73
+ declare const COLUMN_SETTING: {
74
+ show: boolean;
75
+ storageMode: string;
76
+ };
77
+ /**
78
+ * @description: 过滤选项
79
+ * @return {*}
80
+ */
81
+ declare const FILTER: (locales: any, isNormalShop: boolean, ecoShopLists?: any, isPartner?: boolean, currentPagination?: number) => {
82
+ show: boolean;
83
+ quickFilterMaxLength: number;
84
+ currentPagination: number;
85
+ list: ({
86
+ key: string;
87
+ type: string;
88
+ columnKey: string;
89
+ isCustom: boolean;
90
+ name: string;
91
+ sort: boolean;
92
+ localFilter: boolean;
93
+ other: {
94
+ size: string;
95
+ allowClear: boolean;
96
+ showSearch: boolean;
97
+ placeholder: any;
98
+ defaultValue: number;
99
+ options: {
100
+ label: any;
101
+ value: string | number;
102
+ }[];
103
+ style: {
104
+ width: number;
105
+ };
106
+ };
107
+ isHidden?: undefined;
108
+ } | {
109
+ key: string;
110
+ type: string;
111
+ columnKey: string;
112
+ isCustom: boolean;
113
+ name: string;
114
+ sort: boolean;
115
+ localFilter: boolean;
116
+ isHidden: boolean;
117
+ other: {
118
+ size: string;
119
+ allowClear: boolean;
120
+ showSearch: boolean;
121
+ placeholder: any;
122
+ defaultValue: number;
123
+ options: {
124
+ label: any;
125
+ value: any;
126
+ }[];
127
+ style: {
128
+ width: number;
129
+ };
130
+ };
131
+ })[];
132
+ };
133
+ declare const HEADER_RIGHT_OPTIONS: {
134
+ languageKey: string;
135
+ key: string;
136
+ size: string;
137
+ icon: string;
138
+ type: string;
139
+ }[];
140
+ export { STATUS_TEXT_MAP, STATUS_COLOR_MAP, SORT_SETTINGS, COLUMN_SETTING, FILTER, HEADER_RIGHT_OPTIONS };
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const _default: ({ input, ...formItemProps }: any) => JSX.Element;
3
2
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @title: 递归循环表单数据
4
3
  * @Author: hongbing.wang
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { RadioGroupProps } from 'antd';
3
2
  export declare const CheckboxGroup: ({ direction, options, ...props }: any) => JSX.Element;
4
3
  export declare const RadioGroup: ({ direction, options, ...props }: RadioGroupProps & {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Eftpos } from './const';
3
2
  /**
4
3
  * @title: tyro 设备连接
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: ({ color }: {
3
2
  color?: string | undefined;
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: ({ color }: {
3
2
  color?: string | undefined;
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Eftpos, DeviceStatus } from './const';
3
2
  import './index.less';
4
3
  interface PosProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DeviceProp } from "./const";
3
2
  interface PosProps {
4
3
  eftposName: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @title: 自定义组件设置
4
3
  * @description: 自定义组件设置
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.css';
3
2
  /**
4
3
  * @title: 自定义组件设置
@@ -0,0 +1,21 @@
1
+ /// <reference types="react" />
2
+ import { PosProps } from './const';
3
+ /**
4
+ * @title: 支付金额信息配置页
5
+ * @description: 配置支付金额与手续费
6
+ * @return React.Element
7
+ * @Author: hongbing.wang
8
+ * @Date: 2024-08-12 11:35
9
+ */
10
+ declare const _default: ({ className, onChange, onClose, formatAmount, isMobile, net, client }: {
11
+ className?: string | undefined;
12
+ onChange?: ((status: "success" | "page" | "print" | "fail" | "mark_tx_processed", params?: string | {
13
+ [keys: string]: unknown;
14
+ } | undefined, other?: any) => void) | undefined;
15
+ onClose: () => void;
16
+ formatAmount(amount: number | string, precision: number, symbol: string): string;
17
+ isMobile: boolean;
18
+ net: boolean;
19
+ client: string;
20
+ }) => JSX.Element;
21
+ export default _default;
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ import { PosProps, RouteType } from './const';
3
+ declare const App: ({ action, api, device_number, terminal, tyroUrl, tyroVersion, onChangeParams, isMobile, channel, formatAmount, ...props }: Omit<PosProps, "type" | "mode" | "getApi"> & {
4
+ action: RouteType;
5
+ device_number: string | number;
6
+ api: ReturnType<PosProps['getApi']>;
7
+ isMobile: boolean;
8
+ channel?: string | undefined;
9
+ formatAmount(amount: number | string, precision: number, symbol: string): string;
10
+ }) => JSX.Element;
11
+ export default App;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const _default: () => JSX.Element;
3
2
  export default _default;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { ActionProps } from '../../const';
3
+ declare const _default: ({ className, isMobile, onChange }: ActionProps) => JSX.Element;
4
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { ActionProps } from '../../const';
2
+ declare const _default: ({ onChange, className, isMobile }: ActionProps) => JSX.Element;
3
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import { ActionProps } from '../../const';
2
+ /**
3
+ * @title: 断网(客户端)提示页
4
+ * @Author: hongbing.wang
5
+ * @Date: 2024-08-20 11:40
6
+ */
7
+ declare const _default: ({ className }: ActionProps) => JSX.Element;
8
+ export default _default;
@@ -0,0 +1,9 @@
1
+ import { ActionProps } from '../../const';
2
+ /**
3
+ * @title: 支付状态未知页面
4
+ * @description:
5
+ * @Author: hongbing.wang
6
+ * @Date: 2024-08-20 11:42
7
+ */
8
+ declare const _default: ({ onChange, className }: ActionProps) => JSX.Element;
9
+ export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './titlebar.less';
3
2
  declare enum EPopupTitleBarVariantType {
4
3
  BackTitleClose = "back-title-cancel",
@@ -0,0 +1,9 @@
1
+ import { ActionProps } from '../../const';
2
+ import './index.less';
3
+ /**
4
+ * @title: 结果标记页面
5
+ * @Author: hongbing.wang
6
+ * @Date: 2024-08-20 11:46
7
+ */
8
+ declare const _default: ({ onChange, className, formatAmount }: ActionProps) => JSX.Element;
9
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import { ActionProps } from '../../const';
2
+ /**
3
+ * @title: 取消签名确认页
4
+ * @Author: hongbing.wang
5
+ * @Date: 2024-08-20 11:49
6
+ */
7
+ declare const _default: ({ api, className }: ActionProps) => JSX.Element;
8
+ export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { StatusType } from '../../const';
3
2
  declare const _default: (props: {
4
3
  status: StatusType;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: (props: {
3
2
  status: string;
4
3
  pedding?: string;