@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,12 @@
1
+ export interface EditBookingModalParams {
2
+ toStartDate: string;
3
+ toEndDate: string;
4
+ event: any;
5
+ fromResourceId: string;
6
+ toResourceId: string;
7
+ }
8
+ export interface EditBookingModalProps {
9
+ open: boolean;
10
+ onCancel: () => void;
11
+ onOk: () => void;
12
+ }
@@ -0,0 +1,11 @@
1
+ export declare const changeFormValues: ({ clientId, values, forms, }: {
2
+ clientId: number;
3
+ values: any;
4
+ forms: any[];
5
+ }) => any;
6
+ export declare const sortFormValues: (list: any[], clientId: number) => any[];
7
+ export declare const formatAddFormValues: ({ clientId, value, data_range }: {
8
+ clientId: number;
9
+ value: any[];
10
+ data_range: 'customer' | '';
11
+ }) => any[];
File without changes
@@ -0,0 +1,2 @@
1
+ declare const useIsLowSpeedNetwork: () => import("react").MutableRefObject<boolean>;
2
+ export default useIsLowSpeedNetwork;
@@ -0,0 +1,2 @@
1
+ declare const useGetHolderList: (state: any, dispatch: any) => () => Promise<void>;
2
+ export default useGetHolderList;
@@ -0,0 +1,11 @@
1
+ interface Product {
2
+ _id: string;
3
+ _extend: {
4
+ origin_total: number;
5
+ total: number;
6
+ };
7
+ }
8
+ export declare function distributeDiscountOrIncrease(products: Product[], // 商品列表
9
+ totalAdjustment: number, // 总折扣或加价金额,可能为负数(折扣)或正数(加价)
10
+ totalPrice: number): Product[];
11
+ export {};
@@ -0,0 +1,214 @@
1
+ declare const _default: {
2
+ id: number;
3
+ shop_id: number;
4
+ source_shop_id: number;
5
+ extension_id: number;
6
+ extension_type: string;
7
+ title: string;
8
+ slug: string;
9
+ title_letter: string;
10
+ category_letter: string;
11
+ vendor_letter: string;
12
+ tag_letter: string;
13
+ subtitle: string;
14
+ description: string;
15
+ cover: string;
16
+ price: string;
17
+ original_price: string;
18
+ cost_price: string;
19
+ sort_price: string;
20
+ is_gst: number;
21
+ is_delivery: number;
22
+ weight_unit: string;
23
+ weight_value: string;
24
+ code: string;
25
+ barcode: string;
26
+ unit: string;
27
+ is_track: number;
28
+ stock_quantity: number;
29
+ sum_stock: number;
30
+ sales_quantity: number;
31
+ order_sales_quantity: number;
32
+ over_sold: number;
33
+ status: string;
34
+ sell_status: number;
35
+ published_time: string;
36
+ shop_update_time: string;
37
+ audit_time: null;
38
+ is_recommend: number;
39
+ audit_status: string;
40
+ shop_status: string;
41
+ weight: number;
42
+ sort: number;
43
+ type: string;
44
+ channel_application: string[];
45
+ channel_id: number;
46
+ rebate_type: string;
47
+ rebate_value: string;
48
+ create_account_id: number;
49
+ update_account_id: number;
50
+ source_product_id: number;
51
+ start_at: null;
52
+ created_at: string;
53
+ updated_at: string;
54
+ deleted_at: null;
55
+ seo: {
56
+ title: string;
57
+ is_set_title: number;
58
+ description: string;
59
+ is_set_desc: number;
60
+ keywords: string;
61
+ is_set_keywords: number;
62
+ };
63
+ service_times: number;
64
+ product_resource: {
65
+ resources: ({
66
+ id: number;
67
+ title: string;
68
+ status: number;
69
+ code: string;
70
+ created_at: string;
71
+ updated_at: string;
72
+ type: string;
73
+ optional_resource: number[];
74
+ default_resource: number[];
75
+ select_type: {
76
+ type: string;
77
+ min: number;
78
+ max: number;
79
+ };
80
+ resource_type_id: number;
81
+ } | {
82
+ id: number;
83
+ title: string;
84
+ status: number;
85
+ code: string;
86
+ created_at: string;
87
+ updated_at: null;
88
+ type: string;
89
+ optional_resource: never[];
90
+ default_resource: never[];
91
+ select_type: {
92
+ type: string;
93
+ min: number;
94
+ max: number;
95
+ };
96
+ resource_type_id: number;
97
+ })[];
98
+ };
99
+ capacity: {
100
+ type: string;
101
+ custom: {
102
+ name: {
103
+ en: string;
104
+ "zh-CN": string;
105
+ "zh-HK": string;
106
+ original: string;
107
+ };
108
+ id: number;
109
+ min: number;
110
+ max: number;
111
+ }[];
112
+ package: {
113
+ product_ids: never[];
114
+ };
115
+ };
116
+ is_grey: number;
117
+ is_eject: number;
118
+ share_url: string;
119
+ token_check_msg: string;
120
+ is_charge_tax: number;
121
+ media: never[];
122
+ tag: never[];
123
+ vendor: never[];
124
+ category: {
125
+ id: number;
126
+ shop_id: number;
127
+ parent_id: number;
128
+ name: string;
129
+ slug: string;
130
+ icon: string;
131
+ status: string;
132
+ last_applicable_time: number;
133
+ sort: number;
134
+ create_account_id: number;
135
+ update_account_id: number;
136
+ created_at: string;
137
+ updated_at: string;
138
+ }[];
139
+ collection: ({
140
+ id: number;
141
+ shop_id: number;
142
+ title: string;
143
+ title_letter: string;
144
+ description: null;
145
+ cover: string;
146
+ rule_type: string;
147
+ rule: {
148
+ class: string;
149
+ value: number;
150
+ operator: string;
151
+ }[];
152
+ product_quantity: number;
153
+ type: string;
154
+ order_type: string;
155
+ disabled: number;
156
+ create_account_id: number;
157
+ update_account_id: number;
158
+ created_at: string;
159
+ updated_at: string;
160
+ } | {
161
+ id: number;
162
+ shop_id: number;
163
+ title: string;
164
+ title_letter: string;
165
+ description: string;
166
+ cover: string;
167
+ rule_type: string;
168
+ rule: {
169
+ class: string;
170
+ value: string;
171
+ operator: string;
172
+ }[];
173
+ product_quantity: number;
174
+ type: string;
175
+ order_type: string;
176
+ disabled: number;
177
+ create_account_id: number;
178
+ update_account_id: number;
179
+ created_at: string;
180
+ updated_at: string;
181
+ } | {
182
+ id: number;
183
+ shop_id: number;
184
+ title: string;
185
+ title_letter: string;
186
+ description: null;
187
+ cover: string;
188
+ rule_type: string;
189
+ rule: {
190
+ class: string;
191
+ value: string;
192
+ operator: string;
193
+ }[];
194
+ product_quantity: number;
195
+ type: string;
196
+ order_type: string;
197
+ disabled: number;
198
+ create_account_id: number;
199
+ update_account_id: number;
200
+ created_at: string;
201
+ updated_at: string;
202
+ })[];
203
+ variant_group: never[];
204
+ option_group: never[];
205
+ variant: never[];
206
+ shop: {
207
+ id: number;
208
+ name: string;
209
+ default_domain: string;
210
+ default_url: string;
211
+ };
212
+ bundle_group: never[];
213
+ };
214
+ export default _default;
@@ -0,0 +1,9 @@
1
+ export declare const getAddTimeProducts: (params: any, config: any) => Promise<any>;
2
+ export declare const saveAddTimeProduct: ({ orderId, params }: {
3
+ orderId: number | string;
4
+ params: any;
5
+ }) => Promise<any>;
6
+ export declare const saveAddTimeProduct2: ({ orderId, params }: {
7
+ orderId: number | string;
8
+ params: any;
9
+ }) => Promise<any>;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ declare const _default: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>;
4
+ export default _default;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { SelectProps } from 'antd';
3
+ interface MaxLengthSelectProps<T> extends SelectProps<T> {
4
+ maxLength: number;
5
+ }
6
+ declare const _default: import("react").ForwardRefExoticComponent<Partial<MaxLengthSelectProps<any>> & import("react").RefAttributes<unknown>>;
7
+ export default _default;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { SelectProps } from 'antd';
3
+ interface MaxLengthSelectProps<T> extends SelectProps<T> {
4
+ maxLength: number;
5
+ }
6
+ declare const _default: import("react").ForwardRefExoticComponent<Partial<MaxLengthSelectProps<any>> & import("react").RefAttributes<unknown>>;
7
+ export default _default;
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ import { SelectProps } from "antd";
3
+ interface StartTimeProps extends SelectProps {
4
+ locale?: string;
5
+ slice?: number;
6
+ selectProps?: SelectProps;
7
+ timeObjChange?: any;
8
+ }
9
+ declare const StartTime: (props: StartTimeProps) => JSX.Element;
10
+ export default StartTime;
@@ -0,0 +1,64 @@
1
+ export declare enum Eftpos {
2
+ Payo = "payo",
3
+ Tyro = "tyro",
4
+ Windcave = "windcave",
5
+ Stripe = "stripe"
6
+ }
7
+ export declare enum DeviceEnum {
8
+ /** 新增 */
9
+ Add = "add",
10
+ /** 编辑 */
11
+ Edit = "edit",
12
+ /** 重新链接 */
13
+ Repair = "repair"
14
+ }
15
+ export declare type DeviceStatus = `${DeviceEnum}`;
16
+ /** 设备配置信息 */
17
+ export interface DeviceProp {
18
+ /** 设备id */
19
+ id?: string | number;
20
+ /** 设备名称 */
21
+ name: string;
22
+ /** 设备类型(厂商) */
23
+ type: Eftpos.Tyro;
24
+ /** 设备状态 */
25
+ status: "unpaired" | "paired";
26
+ /** 设备设置(商户配置) */
27
+ setting: {
28
+ [key: string]: unknown;
29
+ } | null;
30
+ /** 设备设置(第三方配置) */
31
+ connection: {
32
+ [key: string]: unknown;
33
+ } | null;
34
+ [key: string]: unknown;
35
+ }
36
+ /**
37
+ * @title: 获取表单结果数据
38
+ * @description: 获取表单结果数据
39
+ * @param {any} list 表单配置信息
40
+ * @return {*} 表单结果信息
41
+ * @Author: hongbing.wang
42
+ * @Date: 2024-08-19 11:10
43
+ */
44
+ export declare const getDefaultValue: (list: any) => any;
45
+ /**
46
+ * @title: 构建通用表单配置信息,构建动态表单
47
+ * @description:
48
+ * @param {any} field : array 字段信息 value 结果信息,name 上级字段信息用于嵌套, getComm : 获取字段组件配置信息
49
+ * @return form 表单配置信息
50
+ * @Author: hongbing.wang
51
+ * @Date: 2024-08-19 11:11
52
+ */
53
+ export declare function getCommByFields({ field, value, name, getComm, }: {
54
+ field: (string | {
55
+ name: string;
56
+ children: string[];
57
+ })[];
58
+ value?: any;
59
+ name?: string[];
60
+ getComm: (params: {
61
+ field: string;
62
+ value?: unknown;
63
+ }, record?: any) => any;
64
+ }): Promise<any>;
@@ -0,0 +1,2 @@
1
+ declare const _default: ({ input, ...formItemProps }: any) => JSX.Element;
2
+ export default _default;
@@ -0,0 +1,20 @@
1
+ /**
2
+ * @title: 递归循环表单数据
3
+ * @Author: hongbing.wang
4
+ * @Date: 2024-08-20 13:21
5
+ */
6
+ declare const CustomFormItem: ({ formItemList, level, onChange, }: {
7
+ formItemList: any[];
8
+ level?: number | undefined;
9
+ onChange?: ((...agrn: unknown[]) => unknown) | undefined;
10
+ }) => JSX.Element;
11
+ export default CustomFormItem;
12
+ declare type helpMappingType = {
13
+ [key: string]: {
14
+ getCommName<T = any>(commConfig: T, name: string[]): T;
15
+ getCommDefaultVal: (commConfig: any) => {
16
+ [key: string]: string;
17
+ };
18
+ };
19
+ };
20
+ export declare const helpMapping: helpMappingType;
@@ -0,0 +1,5 @@
1
+ import { RadioGroupProps } from 'antd';
2
+ export declare const CheckboxGroup: ({ direction, options, ...props }: any) => JSX.Element;
3
+ export declare const RadioGroup: ({ direction, options, ...props }: RadioGroupProps & {
4
+ direction?: "vertical" | undefined;
5
+ }) => JSX.Element;
@@ -0,0 +1,33 @@
1
+ import { Eftpos } from './const';
2
+ /**
3
+ * @title: tyro 设备连接
4
+ * @Author: hongbing.wang
5
+ * @Date: 2024-08-20 13:23
6
+ */
7
+ export declare const usePairTerminalo: (type: Eftpos, params: {
8
+ url?: string;
9
+ version?: string;
10
+ }) => ({ mid, tid, apiKey, posProductData, }: {
11
+ mid: string;
12
+ tid: string;
13
+ apiKey: string;
14
+ posProductData: {
15
+ posProductVendor: string;
16
+ posProductName: string;
17
+ posProductVersion: string;
18
+ siteReference: string;
19
+ };
20
+ }, cb: (...agrn: unknown[]) => void) => Promise<void>;
21
+ /**
22
+ * @title: 获取 Tyro 资源
23
+ * @description:
24
+ * @param {Eftpos} type 类型
25
+ * @param {string} url 链接
26
+ * @return {*}
27
+ * @Author: hongbing.wang
28
+ * @Date: 2024-08-19 18:36
29
+ */
30
+ export declare const useTyro: (params: {
31
+ url?: string;
32
+ version?: string;
33
+ }) => readonly [import("react").MutableRefObject<any>, boolean];
@@ -0,0 +1,4 @@
1
+ declare const _default: ({ color }: {
2
+ color?: string | undefined;
3
+ }) => JSX.Element;
4
+ export default _default;
@@ -0,0 +1,4 @@
1
+ declare const _default: ({ color }: {
2
+ color?: string | undefined;
3
+ }) => JSX.Element;
4
+ export default _default;
@@ -0,0 +1,99 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'page.eftpos.text.manufacturer': string;
4
+ 'page.eftpos.text.description': string;
5
+ 'page.eftpos.text.status': string;
6
+ 'page.eftpos.text.operation': string;
7
+ 'page.eftpos.text.device': string;
8
+ 'page.eftpos.text.device.add': (status?: string, name?: string) => string;
9
+ 'page.eftpos.text.device.list': string;
10
+ 'page.eftpos.text.device.name': string;
11
+ 'page.eftpos.text.sucahrge': string;
12
+ 'page.eftpos.text.paired': string;
13
+ 'page.eftpos.text.unpaired': string;
14
+ 'page.eftpos.text.repair': string;
15
+ 'page.eftpos.text.edit': string;
16
+ 'page.eftpos.text.delete': string;
17
+ 'page.eftpos.text.save': string;
18
+ 'page.eftpos.text.confim.delete': string;
19
+ 'page.eftpos.text.confirm_delete-message': (x: string) => string;
20
+ 'page.eftpos.text.confim.cancel': string;
21
+ 'page.eftpos.text.table.name': string;
22
+ 'page.eftpos.text.table.status': string;
23
+ 'page.eftpos.text.table.surcharge': string;
24
+ 'page.eftpos.text.table.opeartion': string;
25
+ 'page.eftpos.text.table.del.title': string;
26
+ 'page.eftpos.text.table.del.text': string;
27
+ 'page.eftpos.text.table.del.delete': string;
28
+ 'page.eftpos.text.table.del.cancel': string;
29
+ 'page.eftpos.text.log': string;
30
+ 'page.eftpos.text.setting': string;
31
+ 'page.eftpos.text.setting.tip': string;
32
+ 'page.eftpos.text.setting.btn': string;
33
+ };
34
+ 'zh-CN': {
35
+ 'page.eftpos.text.manufacturer': string;
36
+ 'page.eftpos.text.description': string;
37
+ 'page.eftpos.text.status': string;
38
+ 'page.eftpos.text.operation': string;
39
+ 'page.eftpos.text.device': string;
40
+ 'page.eftpos.text.device.add': (status?: string, name?: string) => string;
41
+ 'page.eftpos.text.device.list': string;
42
+ 'page.eftpos.text.device.name': string;
43
+ 'page.eftpos.text.sucahrge': string;
44
+ 'page.eftpos.text.paired': string;
45
+ 'page.eftpos.text.unpaired': string;
46
+ 'page.eftpos.text.repair': string;
47
+ 'page.eftpos.text.edit': string;
48
+ 'page.eftpos.text.delete': string;
49
+ 'page.eftpos.text.save': string;
50
+ 'page.eftpos.text.confim.delete': string;
51
+ 'page.eftpos.text.confirm_delete-message': (x: string) => string;
52
+ 'page.eftpos.text.confim.cancel': string;
53
+ 'page.eftpos.text.table.name': string;
54
+ 'page.eftpos.text.table.status': string;
55
+ 'page.eftpos.text.table.surcharge': string;
56
+ 'page.eftpos.text.table.opeartion': string;
57
+ 'page.eftpos.text.table.del.title': string;
58
+ 'page.eftpos.text.table.del.text': string;
59
+ 'page.eftpos.text.table.del.delete': string;
60
+ 'page.eftpos.text.table.del.cancel': string;
61
+ 'page.eftpos.text.log': string;
62
+ 'page.eftpos.text.setting': string;
63
+ 'page.eftpos.text.setting.tip': string;
64
+ 'page.eftpos.text.setting.btn': string;
65
+ };
66
+ 'zh-HK': {
67
+ 'page.eftpos.text.manufacturer': string;
68
+ 'page.eftpos.text.description': string;
69
+ 'page.eftpos.text.status': string;
70
+ 'page.eftpos.text.operation': string;
71
+ 'page.eftpos.text.device': string;
72
+ 'page.eftpos.text.device.add': (status?: string, name?: string) => string;
73
+ 'page.eftpos.text.device.list': string;
74
+ 'page.eftpos.text.device.name': string;
75
+ 'page.eftpos.text.sucahrge': string;
76
+ 'page.eftpos.text.paired': string;
77
+ 'page.eftpos.text.unpaired': string;
78
+ 'page.eftpos.text.repair': string;
79
+ 'page.eftpos.text.edit': string;
80
+ 'page.eftpos.text.delete': string;
81
+ 'page.eftpos.text.save': string;
82
+ 'page.eftpos.text.confim.delete': string;
83
+ 'page.eftpos.text.confirm_delete-message': (x: string) => string;
84
+ 'page.eftpos.text.confim.cancel': string;
85
+ 'page.eftpos.text.table.name': string;
86
+ 'page.eftpos.text.table.status': string;
87
+ 'page.eftpos.text.table.surcharge': string;
88
+ 'page.eftpos.text.table.opeartion': string;
89
+ 'page.eftpos.text.table.del.title': string;
90
+ 'page.eftpos.text.table.del.text': string;
91
+ 'page.eftpos.text.table.del.delete': string;
92
+ 'page.eftpos.text.table.del.cancel': string;
93
+ 'page.eftpos.text.log': string;
94
+ 'page.eftpos.text.setting': string;
95
+ 'page.eftpos.text.setting.tip': string;
96
+ 'page.eftpos.text.setting.btn': string;
97
+ };
98
+ };
99
+ export default _default;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import { Eftpos } from './const';
3
+ export default function Log({ device, type, tyroUrl, tyroVersion, }: {
4
+ device: any;
5
+ type: Eftpos;
6
+ tyroUrl: string;
7
+ tyroVersion: string;
8
+ }): JSX.Element;
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @title: 自定义组件设置
3
+ * @description: 自定义组件设置
4
+ * @param {any} commConfig 当前组件配置
5
+ * @param {string} name 上游name(用于嵌套 xxx:{yyy:''})
6
+ * @return {*}
7
+ * @Author: hongbing.wang
8
+ * @Date: 2024-08-20 11:10
9
+ */
10
+ export declare const getCommName: (commConfig: any, name: string[]) => any;
11
+ /**
12
+ * @title: 自定义组件结果设置
13
+ * @description: 自定义组件结果设置
14
+ * @param {any} commConfig 当前组件配置
15
+ * @return {*}
16
+ * @Author: hongbing.wang
17
+ * @Date: 2024-08-20 11:11
18
+ */
19
+ export declare const getCommDefaultVal: (commConfig: any) => {
20
+ [x: number]: any;
21
+ };
22
+ declare const _default: (props: any) => JSX.Element;
23
+ export default _default;
@@ -0,0 +1,30 @@
1
+ import './index.css';
2
+ /**
3
+ * @title: 自定义组件设置
4
+ * @description: 自定义组件设置
5
+ * @param {any} commConfig 当前组件配置
6
+ * @param {string} name 上游name(用于嵌套 xxx:{yyy:''})
7
+ * @return {*}
8
+ * @Author: hongbing.wang
9
+ * @Date: 2024-08-20 11:10
10
+ */
11
+ export declare const getCommName: (commConfig: any, name: string[]) => any;
12
+ /**
13
+ * @title: 自定义组件结果设置
14
+ * @description: 自定义组件结果设置
15
+ * @param {any} commConfig 当前组件配置
16
+ * @return {*}
17
+ * @Author: hongbing.wang
18
+ * @Date: 2024-08-20 11:11
19
+ */
20
+ export declare const getCommDefaultVal: (commConfig: any) => {
21
+ [x: number]: any;
22
+ };
23
+ /**
24
+ * @title: 自定义表单
25
+ * @description: 若干 antd 组件不能满足需求 则可以创建自定义组件
26
+ * @Author: hongbing.wang
27
+ * @Date: 2024-08-20 13:22
28
+ */
29
+ declare const _default: (props: any) => JSX.Element;
30
+ export default _default;
@@ -8,7 +8,7 @@ import { PosProps } from './const';
8
8
  */
9
9
  declare const _default: ({ className, onChange, onClose, formatAmount, isMobile, net, client }: {
10
10
  className?: string | undefined;
11
- onChange?: ((status: "success" | "page" | "print" | "fail" | "mark_tx_processed", params?: string | {
11
+ onChange?: ((status: "success" | "page" | "fail" | "print" | "mark_tx_processed", params?: string | {
12
12
  [keys: string]: unknown;
13
13
  } | undefined, other?: any) => void) | undefined;
14
14
  onClose: () => void;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ declare const _default: ({ children }: {
4
+ children: React.ReactNode;
5
+ }) => JSX.Element;
6
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: () => JSX.Element;
2
+ export default _default;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import { StatusType } from '../../const';
3
+ import './index.less';
4
+ declare const _default: ({ status, title, subTitle, children }: {
5
+ status: StatusType;
6
+ title?: string | undefined;
7
+ subTitle?: string | undefined;
8
+ children?: React.ReactNode;
9
+ }) => JSX.Element;
10
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import './titlebar.less';
2
+ declare enum EPopupTitleBarVariantType {
3
+ BackTitleClose = "back-title-cancel",
4
+ LeftTitleClose = "left-title-close"
5
+ }
6
+ declare const _default: ({ type, children, onBack, onClose, }: {
7
+ type?: "back-title-cancel" | "left-title-close" | undefined;
8
+ children: string;
9
+ onBack?: (() => void) | undefined;
10
+ onClose?: (() => void) | undefined;
11
+ }) => JSX.Element;
12
+ export default _default;