@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,246 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.event.calendar.limit.unavailable': string;
4
+ 'pisell2.event.calendar.limit.sold.out': string;
5
+ 'pisell2.event.calendar.limit.call.to.book': string;
6
+ 'pisell2.event.calendar.limit.filling.up.fast': string;
7
+ 'pisell2.event.calendar.limit.lots.of.space': string;
8
+ 'pisell2.event.calendar.booking-closed': string;
9
+ 'pisell2.event.calendar.call-to-book': string;
10
+ 'pisell2.event.calendar.email-to-book': string;
11
+ 'pisell2.event.close.title': string;
12
+ 'pisell2.event.close.tip': string;
13
+ 'pisell2.event.close.continue': string;
14
+ 'pisell2.event.close.exit': string;
15
+ 'pisell2.event.step': (step: number) => string;
16
+ 'pisell2.event.select.category': (val: string) => string;
17
+ 'pisell2.event.select.campus': (val: string) => string;
18
+ 'pisell2.event.select.event': string;
19
+ 'pisell2.event.cart': string;
20
+ 'pisell2.event.total': string;
21
+ 'pisell2.event.total.gst': (val: string, amount: any) => string;
22
+ 'pisell2.event.continue': string;
23
+ 'pisell2.event.details': string;
24
+ 'pisell2.event.introduction': string;
25
+ 'pisell2.event.schedule': string;
26
+ 'pisell2.event.teacher': string;
27
+ 'pisell2.event.campus': string;
28
+ 'pisell2.event.resource': string;
29
+ 'pisell2.event.booking.options': string;
30
+ 'pisell2.event.add.to.cart': string;
31
+ 'pisell2.event.description': string;
32
+ 'pisell2.event.view.more': string;
33
+ 'pisell2.event.view.less': string;
34
+ 'pisell2.event.holder.modal.title': string;
35
+ 'pisell2.event.confirm': string;
36
+ 'pisell2.event.confirm.information': string;
37
+ 'pisell2.event.confirm.information.tip': string;
38
+ 'pisell2.event.confirm.information.other': string;
39
+ 'pisell2.event.add.others': string;
40
+ 'pisell2.event.checkout': string;
41
+ 'pisell2.event.edit.event': string;
42
+ 'pisell2.event.remove': string;
43
+ 'pisell2.event.option': string;
44
+ 'pisell2.event.order.items.error.title': string;
45
+ 'pisell2.event.order.items.error.tip': (val: number) => string;
46
+ 'pisell2.event.order.items.error.proceed': string;
47
+ 'pisell2.event.order.items.error.return': string;
48
+ 'pisell2.event.order.items.error.back': string;
49
+ 'pisell2.event.order.items.error.continue': string;
50
+ 'pisell2.event.order.items.error.all.tip': string;
51
+ 'pisell2.event.remove.title': string;
52
+ 'pisell2.event.remove.tip': string;
53
+ 'pisell2.event.remove.cancel': string;
54
+ 'pisell2.event.create': string;
55
+ 'pisell2.event.search': string;
56
+ 'pisell2.event.empty.service': string;
57
+ 'pisell2.event.title': (val: number) => string;
58
+ 'pisell2.event.create.form': string;
59
+ 'pisell2.event.empty.event': string;
60
+ 'pisell2.event.error.holder': string;
61
+ 'pisell2.event.price.from': string;
62
+ 'pisell2.event.empty.holder.title': string;
63
+ 'pisell2.event.empty.holder.tip': string;
64
+ 'pisell2.event.empty.holder.continue.tip': string;
65
+ 'pisell2.event.empty.holder.go.back': string;
66
+ 'pisell2.event.empty.holder.continue.anyway': string;
67
+ 'pisell2.event.event.full.title': string;
68
+ 'pisell2.event.event.full.tip': string;
69
+ 'pisell2.event.event.full.ok': string;
70
+ 'pisell2.event.capacity.limit.reached.title': string;
71
+ 'pisell2.event.capacity.limit.reached.tip': string;
72
+ 'pisell2.event.schedule.item.expand': string;
73
+ 'pisell2.event.schedule.item.collapse': string;
74
+ 'pisell2.appointment.deposit': string;
75
+ 'pisell2.appointment.deposit.agreed': string;
76
+ 'pisell2.appointment.deposit.agree.policy': string;
77
+ 'pisell2.appointment.deposit.and': string;
78
+ 'pisell2.appointment.deposit.amount.tip1': string;
79
+ 'pisell2.appointment.deposit.amount.tip2': string;
80
+ 'pisell2.appointment.deposit.close': string;
81
+ 'pisell2.appointment.booking.empty.data': string;
82
+ };
83
+ 'zh-CN': {
84
+ 'pisell2.event.calendar.limit.unavailable': string;
85
+ 'pisell2.event.calendar.limit.sold.out': string;
86
+ 'pisell2.event.calendar.limit.call.to.book': string;
87
+ 'pisell2.event.calendar.limit.filling.up.fast': string;
88
+ 'pisell2.event.calendar.limit.lots.of.space': string;
89
+ 'pisell2.event.calendar.booking-closed': string;
90
+ 'pisell2.event.calendar.call-to-book': string;
91
+ 'pisell2.event.calendar.email-to-book': string;
92
+ 'pisell2.event.close.title': string;
93
+ 'pisell2.event.close.tip': string;
94
+ 'pisell2.event.close.continue': string;
95
+ 'pisell2.event.close.exit': string;
96
+ 'pisell2.event.step': (step: number) => string;
97
+ 'pisell2.event.select.category': (val: string) => string;
98
+ 'pisell2.event.select.event': string;
99
+ 'pisell2.event.select.campus': (val: string) => string;
100
+ 'pisell2.event.cart': string;
101
+ 'pisell2.event.total': string;
102
+ 'pisell2.event.total.gst': (val: string, amount: any) => string;
103
+ 'pisell2.event.continue': string;
104
+ 'pisell2.event.details': string;
105
+ 'pisell2.event.introduction': string;
106
+ 'pisell2.event.schedule': string;
107
+ 'pisell2.event.teacher': string;
108
+ 'pisell2.event.campus': string;
109
+ 'pisell2.event.resource': string;
110
+ 'pisell2.event.booking.options': string;
111
+ 'pisell2.event.add.to.cart': string;
112
+ 'pisell2.event.description': string;
113
+ 'pisell2.event.view.more': string;
114
+ 'pisell2.event.view.less': string;
115
+ 'pisell2.event.holder.modal.title': string;
116
+ 'pisell2.event.confirm': string;
117
+ 'pisell2.event.confirm.information': string;
118
+ 'pisell2.event.confirm.information.tip': string;
119
+ 'pisell2.event.confirm.information.other': string;
120
+ 'pisell2.event.add.others': string;
121
+ 'pisell2.event.checkout': string;
122
+ 'pisell2.event.edit.event': string;
123
+ 'pisell2.event.remove': string;
124
+ 'pisell2.event.option': string;
125
+ 'pisell2.event.order.items.error.title': string;
126
+ 'pisell2.event.order.items.error.tip': (val: number) => string;
127
+ 'pisell2.event.order.items.error.proceed': string;
128
+ 'pisell2.event.order.items.error.return': string;
129
+ 'pisell2.event.order.items.error.back': string;
130
+ 'pisell2.event.order.items.error.continue': string;
131
+ 'pisell2.event.order.items.error.all.tip': string;
132
+ 'pisell2.event.remove.title': string;
133
+ 'pisell2.event.remove.tip': string;
134
+ 'pisell2.event.remove.cancel': string;
135
+ 'pisell2.event.create': string;
136
+ 'pisell2.event.search': string;
137
+ 'pisell2.event.empty.service': string;
138
+ 'pisell2.event.title': (val: number) => string;
139
+ 'pisell2.event.create.form': string;
140
+ 'pisell2.event.empty.event': string;
141
+ 'pisell2.event.error.holder': string;
142
+ 'pisell2.event.price.from': string;
143
+ 'pisell2.event.empty.holder.title': string;
144
+ 'pisell2.event.empty.holder.tip': string;
145
+ 'pisell2.event.empty.holder.continue.tip': string;
146
+ 'pisell2.event.empty.holder.go.back': string;
147
+ 'pisell2.event.empty.holder.continue.anyway': string;
148
+ 'pisell2.event.event.full.title': string;
149
+ 'pisell2.event.event.full.tip': string;
150
+ 'pisell2.event.event.full.ok': string;
151
+ 'pisell2.event.capacity.limit.reached.title': string;
152
+ 'pisell2.event.capacity.limit.reached.tip': string;
153
+ 'pisell2.event.schedule.item.expand': string;
154
+ 'pisell2.event.schedule.item.collapse': string;
155
+ 'pisell2.appointment.deposit': string;
156
+ 'pisell2.appointment.deposit.agreed': string;
157
+ 'pisell2.appointment.deposit.agree.policy': string;
158
+ 'pisell2.appointment.deposit.and': string;
159
+ 'pisell2.appointment.deposit.amount.tip1': string;
160
+ 'pisell2.appointment.deposit.amount.tip2': string;
161
+ 'pisell2.appointment.deposit.close': string;
162
+ 'pisell2.appointment.booking.empty.data': string;
163
+ };
164
+ 'zh-HK': {
165
+ 'pisell2.event.calendar.limit.unavailable': string;
166
+ 'pisell2.event.calendar.limit.sold.out': string;
167
+ 'pisell2.event.calendar.limit.call.to.book': string;
168
+ 'pisell2.event.calendar.limit.filling.up.fast': string;
169
+ 'pisell2.event.calendar.limit.lots.of.space': string;
170
+ 'pisell2.event.calendar.booking-closed': string;
171
+ 'pisell2.event.calendar.call-to-book': string;
172
+ 'pisell2.event.calendar.email-to-book': string;
173
+ 'pisell2.event.close.title': string;
174
+ 'pisell2.event.close.tip': string;
175
+ 'pisell2.event.close.continue': string;
176
+ 'pisell2.event.close.exit': string;
177
+ 'pisell2.event.step': (step: number) => string;
178
+ 'pisell2.event.select.category': (val: string) => string;
179
+ 'pisell2.event.select.event': string;
180
+ 'pisell2.event.select.campus': (val: string) => string;
181
+ 'pisell2.event.cart': string;
182
+ 'pisell2.event.total': string;
183
+ 'pisell2.event.total.gst': (val: string, amount: any) => string;
184
+ 'pisell2.event.continue': string;
185
+ 'pisell2.event.details': string;
186
+ 'pisell2.event.introduction': string;
187
+ 'pisell2.event.schedule': string;
188
+ 'pisell2.event.teacher': string;
189
+ 'pisell2.event.campus': string;
190
+ 'pisell2.event.resource': string;
191
+ 'pisell2.event.booking.options': string;
192
+ 'pisell2.event.add.to.cart': string;
193
+ 'pisell2.event.description': string;
194
+ 'pisell2.event.view.more': string;
195
+ 'pisell2.event.view.less': string;
196
+ 'pisell2.event.holder.modal.title': string;
197
+ 'pisell2.event.confirm': string;
198
+ 'pisell2.event.confirm.information': string;
199
+ 'pisell2.event.confirm.information.tip': string;
200
+ 'pisell2.event.confirm.information.other': string;
201
+ 'pisell2.event.add.others': string;
202
+ 'pisell2.event.checkout': string;
203
+ 'pisell2.event.edit.event': string;
204
+ 'pisell2.event.remove': string;
205
+ 'pisell2.event.option': string;
206
+ 'pisell2.event.order.items.error.title': string;
207
+ 'pisell2.event.order.items.error.tip': (val: number) => string;
208
+ 'pisell2.event.order.items.error.proceed': string;
209
+ 'pisell2.event.order.items.error.return': string;
210
+ 'pisell2.event.order.items.error.back': string;
211
+ 'pisell2.event.order.items.error.continue': string;
212
+ 'pisell2.event.order.items.error.all.tip': string;
213
+ 'pisell2.event.remove.title': string;
214
+ 'pisell2.event.remove.tip': string;
215
+ 'pisell2.event.remove.cancel': string;
216
+ 'pisell2.event.create': string;
217
+ 'pisell2.event.search': string;
218
+ 'pisell2.event.empty.service': string;
219
+ 'pisell2.event.title': (val: number) => string;
220
+ 'pisell2.event.create.form': string;
221
+ 'pisell2.event.empty.event': string;
222
+ 'pisell2.event.error.holder': string;
223
+ 'pisell2.event.price.from': string;
224
+ 'pisell2.event.empty.holder.title': string;
225
+ 'pisell2.event.empty.holder.tip': string;
226
+ 'pisell2.event.empty.holder.continue.tip': string;
227
+ 'pisell2.event.empty.holder.go.back': string;
228
+ 'pisell2.event.empty.holder.continue.anyway': string;
229
+ 'pisell2.event.event.full.title': string;
230
+ 'pisell2.event.event.full.tip': string;
231
+ 'pisell2.event.event.full.ok': string;
232
+ 'pisell2.event.capacity.limit.reached.title': string;
233
+ 'pisell2.event.capacity.limit.reached.tip': string;
234
+ 'pisell2.event.schedule.item.expand': string;
235
+ 'pisell2.event.schedule.item.collapse': string;
236
+ 'pisell2.appointment.deposit': string;
237
+ 'pisell2.appointment.deposit.agreed': string;
238
+ 'pisell2.appointment.deposit.agree.policy': string;
239
+ 'pisell2.appointment.deposit.and': string;
240
+ 'pisell2.appointment.deposit.amount.tip1': string;
241
+ 'pisell2.appointment.deposit.amount.tip2': string;
242
+ 'pisell2.appointment.deposit.close': string;
243
+ 'pisell2.appointment.booking.empty.data': string;
244
+ };
245
+ };
246
+ export default _default;
@@ -0,0 +1,17 @@
1
+ export declare type CalendarDataItem = {
2
+ date: string;
3
+ color: string[];
4
+ isExcluded: boolean;
5
+ schedule_ids?: number[];
6
+ [key: string]: any;
7
+ };
8
+ export declare type CalendarItemProps = {
9
+ date: string;
10
+ status?: string | null;
11
+ disabled?: boolean;
12
+ select?: boolean;
13
+ onClick?: (date: string) => void;
14
+ showMonth?: boolean;
15
+ dateText: string;
16
+ week?: string;
17
+ };
@@ -0,0 +1,45 @@
1
+ /**
2
+ * @title: 获取背景色
3
+ * @description:
4
+ * @param {string} colors
5
+ * @return {*}
6
+ * @Author: WangHan
7
+ * @Date: 2025-01-11 22:44
8
+ */
9
+ export declare const formatBackgroundColors: (colors: string[]) => string;
10
+ /**
11
+ * @title: 获取可用的 schedule
12
+ * @description:
13
+ * @param {any} schedule
14
+ * @return {*}
15
+ * @Author: zhiwei.Wang
16
+ * @Date: 2024-03-05 18:05
17
+ */
18
+ export declare const getUsableSchedules: (schedule: any) => boolean;
19
+ /**
20
+ * @title: 获取 schedules 的所有颜色
21
+ * @description:
22
+ * @param {any} schedules
23
+ * @return {*}
24
+ * @Author: zhiwei.Wang
25
+ * @Date: 2024-03-05 18:02
26
+ */
27
+ export declare const getScheduleColors: (schedules: any[]) => string;
28
+ /**
29
+ * @title: 格式化日期头部日期显示
30
+ * @description:
31
+ * @param {string} dateString
32
+ * @return {*}
33
+ * @Author: WangHan
34
+ * @Date: 2025-01-12 11:55
35
+ */
36
+ export declare const formatMonthDisplay: (dateString: string) => string;
37
+ /**
38
+ * @title: 资源名称
39
+ * @description:
40
+ * @param {any} data
41
+ * @return {*}
42
+ * @Author: WangHan
43
+ * @Date: 2025-02-11 13:39
44
+ */
45
+ export declare const resourceTitle: (data: any) => any;
@@ -0,0 +1,24 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.text.login': string;
4
+ "pisell2.text.email-placeholder": string;
5
+ "pisell2.text.password-placeholder": string;
6
+ "pisell2.text.password-error": string;
7
+ "pisell2.text.email-error": string;
8
+ };
9
+ 'zh-CN': {
10
+ 'pisell2.text.login': string;
11
+ "pisell2.text.email-placeholder": string;
12
+ "pisell2.text.password-placeholder": string;
13
+ "pisell2.text.password-error": string;
14
+ "pisell2.text.email-error": string;
15
+ };
16
+ 'zh-HK': {
17
+ 'pisell2.text.login': string;
18
+ "pisell2.text.email-placeholder": string;
19
+ "pisell2.text.password-placeholder": string;
20
+ "pisell2.text.password-error": string;
21
+ "pisell2.text.email-error": string;
22
+ };
23
+ };
24
+ export default _default;
@@ -0,0 +1,88 @@
1
+ export declare const mockList: ({
2
+ icon: string;
3
+ name: string;
4
+ service: string;
5
+ surcharge: string;
6
+ surcharge_fee: string;
7
+ params?: undefined;
8
+ } | {
9
+ icon: string;
10
+ name: string;
11
+ service: string;
12
+ surcharge: string;
13
+ surcharge_fee: string;
14
+ params: {
15
+ type_list: string[];
16
+ payment_method?: undefined;
17
+ custom_payment_id?: undefined;
18
+ code?: undefined;
19
+ name?: undefined;
20
+ type?: undefined;
21
+ description?: undefined;
22
+ voucher_tag?: undefined;
23
+ };
24
+ } | {
25
+ icon: string;
26
+ name: string;
27
+ service: string;
28
+ surcharge: string;
29
+ surcharge_fee: string;
30
+ params: {
31
+ payment_method: string;
32
+ type_list?: undefined;
33
+ custom_payment_id?: undefined;
34
+ code?: undefined;
35
+ name?: undefined;
36
+ type?: undefined;
37
+ description?: undefined;
38
+ voucher_tag?: undefined;
39
+ };
40
+ } | {
41
+ icon: string;
42
+ name: string;
43
+ service: string;
44
+ surcharge: string;
45
+ surcharge_fee: string;
46
+ params: {
47
+ custom_payment_id: number;
48
+ code: string;
49
+ name: string;
50
+ type: string;
51
+ description: string;
52
+ type_list?: undefined;
53
+ payment_method?: undefined;
54
+ voucher_tag?: undefined;
55
+ };
56
+ } | {
57
+ icon: string;
58
+ name: string;
59
+ service: string;
60
+ surcharge: string;
61
+ surcharge_fee: string;
62
+ params: {
63
+ custom_payment_id: number;
64
+ code: string;
65
+ name: string;
66
+ type: string;
67
+ description: string;
68
+ voucher_tag: string;
69
+ type_list?: undefined;
70
+ payment_method?: undefined;
71
+ };
72
+ } | {
73
+ icon: string;
74
+ name: string;
75
+ service: string;
76
+ surcharge: string;
77
+ surcharge_fee: string;
78
+ params: {
79
+ custom_payment_id: number;
80
+ code: string;
81
+ name: string;
82
+ type: string;
83
+ description: null;
84
+ type_list?: undefined;
85
+ payment_method?: undefined;
86
+ voucher_tag?: undefined;
87
+ };
88
+ })[];
@@ -0,0 +1,4 @@
1
+ export declare const paymentServices: any;
2
+ export declare const paymentTypes: any[];
3
+ export declare const paymentKeys: string[];
4
+ export declare const isCustomPayment: (service: string) => boolean;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @title: 获取stripe配置
3
+ * @description:
4
+ * @param {string} order_id
5
+ * @return {*}
6
+ * @Author: Wzw
7
+ * @Date: 2022-03-31 16:12
8
+ */
9
+ export declare const getStripeKey: () => Promise<any>;
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
@@ -0,0 +1,7 @@
1
+ declare const StripeSDK: ({ public_key, client_secret, children, lang, }: {
2
+ public_key: string;
3
+ client_secret?: string | undefined;
4
+ children: any;
5
+ lang?: string | undefined;
6
+ }) => JSX.Element;
7
+ export default StripeSDK;
@@ -0,0 +1,7 @@
1
+ declare const StripeSDK: ({ public_key, client_secret, children, lang, }: {
2
+ public_key: string;
3
+ client_secret?: string | undefined;
4
+ children: any;
5
+ lang?: string | undefined;
6
+ }) => JSX.Element;
7
+ export default StripeSDK;
@@ -0,0 +1,19 @@
1
+ export interface UsePaymentRedirectOptions {
2
+ orderId?: string;
3
+ paymentType: string;
4
+ onAfterReturn?: () => void;
5
+ }
6
+ export interface UsePaymentRedirectReturn {
7
+ isReturned: boolean;
8
+ handleRedirect: (url: string) => Promise<void>;
9
+ resetState: () => void;
10
+ }
11
+ /**
12
+ * 支付跳转 Hook
13
+ * 用于处理跳转到外部支付页面的逻辑,包括:
14
+ * 1. 保存跳转标记到 history state
15
+ * 2. 跳转到外部支付页面
16
+ * 3. 监听页面返回事件
17
+ * 4. 返回后更新状态
18
+ */
19
+ export declare const usePaymentRedirect: (options: UsePaymentRedirectOptions) => UsePaymentRedirectReturn;
@@ -0,0 +1,27 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.pin.modal.title': string;
4
+ 'pisell2.pin.modal.label': string;
5
+ 'pisell2.pin.modal.desc': string;
6
+ 'pisell2.pin.modal.time': string;
7
+ 'pisell2.pin.modal.reset.pin': string;
8
+ 'pisell2.pin.modal.cancel': string;
9
+ };
10
+ 'zh-CN': {
11
+ 'pisell2.pin.modal.title': string;
12
+ 'pisell2.pin.modal.label': string;
13
+ 'pisell2.pin.modal.desc': string;
14
+ 'pisell2.pin.modal.time': string;
15
+ 'pisell2.pin.modal.reset.pin': string;
16
+ 'pisell2.pin.modal.cancel': string;
17
+ };
18
+ 'zh-HK': {
19
+ 'pisell2.pin.modal.title': string;
20
+ 'pisell2.pin.modal.label': string;
21
+ 'pisell2.pin.modal.desc': string;
22
+ 'pisell2.pin.modal.time': string;
23
+ 'pisell2.pin.modal.reset.pin': string;
24
+ 'pisell2.pin.modal.cancel': string;
25
+ };
26
+ };
27
+ export default _default;
File without changes
@@ -0,0 +1,24 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.pin.verify.modal.title': string;
4
+ 'pisell2.pin.verify.modal.wallet': string;
5
+ 'pisell2.pin.verify.modal.keyboard.title': string;
6
+ 'pisell2.pin.verify.modal.keyboard.desc': string;
7
+ 'pisell2.pin.verify.modal.keyboard.verify': string;
8
+ };
9
+ 'zh-CN': {
10
+ 'pisell2.pin.verify.modal.title': string;
11
+ 'pisell2.pin.verify.modal.wallet': string;
12
+ 'pisell2.pin.verify.modal.keyboard.title': string;
13
+ 'pisell2.pin.verify.modal.keyboard.desc': string;
14
+ 'pisell2.pin.verify.modal.keyboard.verify': string;
15
+ };
16
+ 'zh-HK': {
17
+ 'pisell2.pin.verify.modal.title': string;
18
+ 'pisell2.pin.verify.modal.wallet': string;
19
+ 'pisell2.pin.verify.modal.keyboard.title': string;
20
+ 'pisell2.pin.verify.modal.keyboard.desc': string;
21
+ 'pisell2.pin.verify.modal.keyboard.verify': string;
22
+ };
23
+ };
24
+ export default _default;
@@ -0,0 +1,33 @@
1
+ export interface PinVerifyModalProps {
2
+ onOpen?: () => void;
3
+ onClose?: () => void;
4
+ onSuccess?: (params?: VerifyPinSuccessParams) => void;
5
+ }
6
+ export interface PinVerifyModalRef {
7
+ open: (params: ModalParams) => void;
8
+ close: () => void;
9
+ }
10
+ export interface ModalParams {
11
+ wallet_code: string;
12
+ wallet_detail_id: string | number;
13
+ failed_count?: number;
14
+ check_max_count?: number;
15
+ customer?: {
16
+ display_name?: string;
17
+ nickname?: string;
18
+ cover?: string;
19
+ };
20
+ }
21
+ export interface VerifyInfo {
22
+ remaining_count?: number;
23
+ failed_count?: number;
24
+ check_max_count?: number;
25
+ }
26
+ export declare type TVerifyPin = (data: {
27
+ wallet_detail_id: string | number;
28
+ pin: string;
29
+ }, onSuccess: (params: VerifyPinSuccessParams) => void) => void;
30
+ export interface VerifyPinSuccessParams {
31
+ customer_id: string | number;
32
+ customer_pin_key: string;
33
+ }
@@ -0,0 +1,47 @@
1
+ declare const _default: {
2
+ status: boolean;
3
+ code: number;
4
+ message: string;
5
+ data: {
6
+ list: ({
7
+ phone: string;
8
+ email: string;
9
+ country_calling_code: string;
10
+ channel: string;
11
+ shop_id: number;
12
+ display_name: string;
13
+ updated_at: string;
14
+ created_at: string;
15
+ id: number;
16
+ nickname?: undefined;
17
+ is_deleted?: undefined;
18
+ } | {
19
+ id: number;
20
+ shop_id: number;
21
+ country_calling_code: string;
22
+ phone: string;
23
+ display_name: string;
24
+ nickname: string;
25
+ email: string;
26
+ channel: string;
27
+ is_deleted: number;
28
+ created_at: string;
29
+ updated_at: string;
30
+ } | {
31
+ shop_id: string;
32
+ nickname: string;
33
+ channel: string;
34
+ updated_at: string;
35
+ created_at: string;
36
+ id: number;
37
+ phone?: undefined;
38
+ email?: undefined;
39
+ country_calling_code?: undefined;
40
+ display_name?: undefined;
41
+ is_deleted?: undefined;
42
+ })[];
43
+ count: number;
44
+ skip: number;
45
+ };
46
+ };
47
+ export default _default;