@pisell/private-materials 6.8.93 → 6.8.94

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 (317) 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 +7 -7
  6. package/build/lowcode/view.js +1 -1
  7. package/es/components/Sales/Summary/utils.d.ts +1 -1
  8. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
  9. package/es/components/appointmentBooking/components/Content/index.d.ts +1 -0
  10. package/es/components/appointmentBooking/components/Header/index.d.ts +1 -0
  11. package/es/components/appointmentBooking/index.d.ts +1 -0
  12. package/es/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  13. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
  14. package/es/components/booking/components/collapsibleList/utils.d.ts +1 -0
  15. package/es/components/booking/components/emptyBooking/index.d.ts +1 -0
  16. package/es/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  17. package/es/components/booking/components/reloadResourceModal/index.d.ts +1 -0
  18. package/es/components/booking/dashboard/index.js +71 -93
  19. package/es/components/booking/dashboard/serve.d.ts +1 -0
  20. package/es/components/booking/dashboard/serve.js +22 -0
  21. package/es/components/booking/deposit/index.d.ts +1 -0
  22. package/es/components/booking/forms/single/index.d.ts +1 -0
  23. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  24. package/es/components/booking/info/header/index.d.ts +1 -0
  25. package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  26. package/es/components/booking/info/service/Lists.d.ts +1 -0
  27. package/es/components/booking/info/service/actions/index.d.ts +1 -0
  28. package/es/components/booking/info/service/addService/index.d.ts +1 -0
  29. package/es/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  30. package/es/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  31. package/es/components/booking/info/service/serviceList/index.d.ts +1 -0
  32. package/es/components/booking/info/service2/utils.js +41 -39
  33. package/es/components/booking/info2/service/actions/index.d.ts +1 -0
  34. package/es/components/booking/info2/service/addService/index.d.ts +1 -0
  35. package/es/components/booking/materiels/contacts/index.d.ts +1 -0
  36. package/es/components/booking/materiels/duration/index.d.ts +1 -0
  37. package/es/components/booking/materiels/startTime/index.d.ts +1 -0
  38. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  39. package/es/components/booking/notes/NoteBlock/index.d.ts +1 -0
  40. package/es/components/booking/notes/addNote/index.d.ts +1 -0
  41. package/es/components/checkout/components/ScrollableList/index.d.ts +5 -0
  42. package/es/components/checkout/utils/PaymentResultToastUtils.d.ts +32 -0
  43. package/es/components/eftpos/index.d.ts +1 -0
  44. package/es/components/eftpos/pos.d.ts +1 -0
  45. package/es/components/eftposPay/aggregatePayment/service.d.ts +24 -0
  46. package/es/components/eftposPay/aggregatePayment/utils/logs.d.ts +110 -0
  47. package/es/components/eftposPay/amount.d.ts +2 -1
  48. package/es/components/eftposPay/app.d.ts +1 -0
  49. package/es/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  50. package/es/components/eftposPay/component/fail/index.d.ts +1 -0
  51. package/es/components/eftposPay/component/fail/network.d.ts +1 -0
  52. package/es/components/eftposPay/component/fail/unknow.d.ts +1 -0
  53. package/es/components/eftposPay/component/manual/index.d.ts +1 -0
  54. package/es/components/eftposPay/component/signature/index.d.ts +1 -0
  55. package/es/components/eftposPay/component/step/index.d.ts +1 -0
  56. package/es/components/eftposPay/device.d.ts +1 -1
  57. package/es/components/eftposPay/hooks.d.ts +1 -1
  58. package/es/components/eftposPay/index.d.ts +1 -0
  59. package/es/components/eftposPay/linkly/index.d.ts +1 -0
  60. package/es/components/eftposPay/pay.d.ts +1 -0
  61. package/es/components/eftposPay/payo/config.d.ts +1 -0
  62. package/es/components/eftposPay/store/index.d.ts +5 -5
  63. package/es/components/eftposPay/tip.d.ts +1 -0
  64. package/es/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  65. package/es/components/eftposPay/windcave/windcave.d.ts +1 -0
  66. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  67. package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  68. package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  69. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  70. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  71. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  72. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
  73. package/es/components/eventBooking/index.d.ts +1 -0
  74. package/es/components/kioskSkuDetail/locales.d.ts +27 -0
  75. package/es/components/list/hooks/useListState.d.ts +45 -0
  76. package/es/components/list/types.d.ts +178 -0
  77. package/es/components/list/utils/index.d.ts +19 -0
  78. package/es/components/login/index.d.ts +1 -0
  79. package/es/components/pay/toB/components/Cache/index.d.ts +0 -1
  80. package/es/components/pay/toB/components/CardGroup/index.d.ts +1 -0
  81. package/es/components/pay/toB/components/Content/Header.d.ts +1 -0
  82. package/es/components/pay/toC/PaymentList/index.d.ts +19 -0
  83. package/es/components/pay/toC/PaymentList/serve.d.ts +28 -0
  84. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
  85. package/es/components/pay/toC/locales.d.ts +307 -0
  86. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  87. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  88. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  89. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  90. package/es/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
  91. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  92. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  93. package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  94. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  95. package/es/components/productExtension/index.d.ts +1 -0
  96. package/es/components/productSelect/components/productGroup/index.d.ts +1 -0
  97. package/es/components/ruleSetting/index.d.ts +1 -0
  98. package/es/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  99. package/es/components/schedules/calendar/index.d.ts +1 -0
  100. package/es/components/schedules/components/CurrentDay/index.d.ts +1 -0
  101. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  102. package/es/components/schedules/components/ScheduleList/index.d.ts +1 -0
  103. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  104. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  105. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
  106. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
  107. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  108. package/es/components/schedules/products/index.d.ts +1 -0
  109. package/es/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  110. package/es/components/schedules/products/list/index.d.ts +1 -0
  111. package/es/components/schedules/resources/index.d.ts +1 -0
  112. package/es/components/schedules/resources/list/index.d.ts +1 -0
  113. package/es/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  114. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  115. package/es/components/schedules/schedules/index.d.ts +1 -0
  116. package/es/components/shoppingCart/index.d.ts +1 -0
  117. package/es/components/systemSettings/registry/components/SectionList.d.ts +4 -0
  118. package/es/components/taxSelect/index.d.ts +1 -0
  119. package/es/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +115 -0
  120. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
  121. package/es/components/ticketBooking/components/bookingDataPanel/index.js +2 -1
  122. package/es/components/ticketBooking/components/timeBar/index.d.ts +14 -0
  123. package/es/components/ticketBooking/index.d.ts +1 -0
  124. package/es/components/ticketBooking/locales.d.ts +201 -0
  125. package/es/components/ticketBooking/utils/index.d.ts +1 -1
  126. package/es/hooks/printer.d.ts +4 -0
  127. package/es/hooks/useEngineContext.d.ts +4 -0
  128. package/es/hooks/usePaymentLogger.d.ts +1 -0
  129. package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +1 -0
  130. package/es/plus/clinetSearch/Add/GenderField/index.d.ts +1 -0
  131. package/es/plus/clinetSearch/index.d.ts +18 -0
  132. package/es/plus/clinetSearch/locales.d.ts +108 -0
  133. package/es/plus/clinetSearch/types.d.ts +70 -0
  134. package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
  135. package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +1 -0
  136. package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +1 -1
  137. package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
  138. package/es/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +1 -0
  139. package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +1 -1
  140. package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
  141. package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +1 -0
  142. package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +1 -1
  143. package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
  144. package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +1 -1
  145. package/es/plus/saasCreateOrganization/components/Header.d.ts +1 -0
  146. package/es/plus/saasCreateOrganization/index.d.ts +1 -0
  147. package/es/plus/saasRegister/components/EntryEmail.d.ts +1 -0
  148. package/es/plus/saasRegister/components/EntryInfo.d.ts +1 -0
  149. package/es/plus/saasRegister/components/GoLogin.d.ts +1 -0
  150. package/es/plus/saasRegister/components/Header.d.ts +1 -0
  151. package/es/plus/saasRegister/components/VerifyError.d.ts +1 -0
  152. package/es/plus/saasRegister/components/VerifyingLink.d.ts +1 -0
  153. package/es/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +1 -0
  154. package/es/plus/skuOptionsSelection/components/VariantCard/index.d.ts +4 -0
  155. package/es/plus/skuOptionsSelection/locales.d.ts +33 -0
  156. package/es/plus/walletEditor/components/relationProduct/index.d.ts +1 -0
  157. package/es/pro/Login2.0/components/LoginCodeInput.d.ts +27 -0
  158. package/es/pro/Login2.0/steps/CodeInput.d.ts +24 -0
  159. package/es/pro/comprehensiveSearch/components/searchSection/locales.d.ts +15 -0
  160. package/es/pro/pisellPaymentList/example.d.ts +1 -0
  161. package/es/pro/priceKeyboard/components/cashKeyboard/index.d.ts +1 -0
  162. package/lib/components/Sales/Summary/utils.d.ts +1 -1
  163. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
  164. package/lib/components/appointmentBooking/components/Content/index.d.ts +1 -0
  165. package/lib/components/appointmentBooking/components/Header/index.d.ts +1 -0
  166. package/lib/components/appointmentBooking/index.d.ts +1 -0
  167. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  168. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
  169. package/lib/components/booking/components/collapsibleList/utils.d.ts +1 -0
  170. package/lib/components/booking/components/emptyBooking/index.d.ts +1 -0
  171. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  172. package/lib/components/booking/components/reloadResourceModal/index.d.ts +1 -0
  173. package/lib/components/booking/dashboard/index.js +38 -60
  174. package/lib/components/booking/dashboard/serve.d.ts +1 -0
  175. package/lib/components/booking/dashboard/serve.js +8 -2
  176. package/lib/components/booking/deposit/index.d.ts +1 -0
  177. package/lib/components/booking/forms/single/index.d.ts +1 -0
  178. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  179. package/lib/components/booking/info/header/index.d.ts +1 -0
  180. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  181. package/lib/components/booking/info/service/Lists.d.ts +1 -0
  182. package/lib/components/booking/info/service/actions/index.d.ts +1 -0
  183. package/lib/components/booking/info/service/addService/index.d.ts +1 -0
  184. package/lib/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  185. package/lib/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  186. package/lib/components/booking/info/service/serviceList/index.d.ts +1 -0
  187. package/lib/components/booking/info/service2/utils.js +3 -1
  188. package/lib/components/booking/info2/service/actions/index.d.ts +1 -0
  189. package/lib/components/booking/info2/service/addService/index.d.ts +1 -0
  190. package/lib/components/booking/materiels/contacts/index.d.ts +1 -0
  191. package/lib/components/booking/materiels/duration/index.d.ts +1 -0
  192. package/lib/components/booking/materiels/startTime/index.d.ts +1 -0
  193. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  194. package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -0
  195. package/lib/components/booking/notes/addNote/index.d.ts +1 -0
  196. package/lib/components/checkout/components/ScrollableList/index.d.ts +5 -0
  197. package/lib/components/checkout/utils/PaymentResultToastUtils.d.ts +32 -0
  198. package/lib/components/eftpos/index.d.ts +1 -0
  199. package/lib/components/eftpos/pos.d.ts +1 -0
  200. package/lib/components/eftposPay/aggregatePayment/service.d.ts +24 -0
  201. package/lib/components/eftposPay/aggregatePayment/utils/logs.d.ts +110 -0
  202. package/lib/components/eftposPay/amount.d.ts +2 -1
  203. package/lib/components/eftposPay/app.d.ts +1 -0
  204. package/lib/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  205. package/lib/components/eftposPay/component/fail/index.d.ts +1 -0
  206. package/lib/components/eftposPay/component/fail/network.d.ts +1 -0
  207. package/lib/components/eftposPay/component/fail/unknow.d.ts +1 -0
  208. package/lib/components/eftposPay/component/manual/index.d.ts +1 -0
  209. package/lib/components/eftposPay/component/signature/index.d.ts +1 -0
  210. package/lib/components/eftposPay/component/step/index.d.ts +1 -0
  211. package/lib/components/eftposPay/device.d.ts +1 -1
  212. package/lib/components/eftposPay/hooks.d.ts +1 -1
  213. package/lib/components/eftposPay/index.d.ts +1 -0
  214. package/lib/components/eftposPay/linkly/index.d.ts +1 -0
  215. package/lib/components/eftposPay/pay.d.ts +1 -0
  216. package/lib/components/eftposPay/payo/config.d.ts +1 -0
  217. package/lib/components/eftposPay/store/index.d.ts +5 -5
  218. package/lib/components/eftposPay/tip.d.ts +1 -0
  219. package/lib/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  220. package/lib/components/eftposPay/windcave/windcave.d.ts +1 -0
  221. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  222. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  223. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  224. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  225. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  226. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  227. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
  228. package/lib/components/eventBooking/index.d.ts +1 -0
  229. package/lib/components/kioskSkuDetail/locales.d.ts +27 -0
  230. package/lib/components/list/hooks/useListState.d.ts +45 -0
  231. package/lib/components/list/types.d.ts +178 -0
  232. package/lib/components/list/utils/index.d.ts +19 -0
  233. package/lib/components/login/index.d.ts +1 -0
  234. package/lib/components/pay/toB/components/Cache/index.d.ts +0 -1
  235. package/lib/components/pay/toB/components/CardGroup/index.d.ts +1 -0
  236. package/lib/components/pay/toB/components/Content/Header.d.ts +1 -0
  237. package/lib/components/pay/toC/PaymentList/index.d.ts +19 -0
  238. package/lib/components/pay/toC/PaymentList/serve.d.ts +28 -0
  239. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
  240. package/lib/components/pay/toC/locales.d.ts +307 -0
  241. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  242. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  243. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  244. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  245. package/lib/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
  246. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  247. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  248. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  249. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  250. package/lib/components/productExtension/index.d.ts +1 -0
  251. package/lib/components/productSelect/components/productGroup/index.d.ts +1 -0
  252. package/lib/components/ruleSetting/index.d.ts +1 -0
  253. package/lib/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  254. package/lib/components/schedules/calendar/index.d.ts +1 -0
  255. package/lib/components/schedules/components/CurrentDay/index.d.ts +1 -0
  256. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  257. package/lib/components/schedules/components/ScheduleList/index.d.ts +1 -0
  258. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  259. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  260. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
  261. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
  262. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  263. package/lib/components/schedules/products/index.d.ts +1 -0
  264. package/lib/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  265. package/lib/components/schedules/products/list/index.d.ts +1 -0
  266. package/lib/components/schedules/resources/index.d.ts +1 -0
  267. package/lib/components/schedules/resources/list/index.d.ts +1 -0
  268. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  269. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  270. package/lib/components/schedules/schedules/index.d.ts +1 -0
  271. package/lib/components/shoppingCart/index.d.ts +1 -0
  272. package/lib/components/systemSettings/registry/components/SectionList.d.ts +4 -0
  273. package/lib/components/taxSelect/index.d.ts +1 -0
  274. package/lib/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +115 -0
  275. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
  276. package/lib/components/ticketBooking/components/bookingDataPanel/index.js +3 -2
  277. package/lib/components/ticketBooking/components/timeBar/index.d.ts +14 -0
  278. package/lib/components/ticketBooking/index.d.ts +1 -0
  279. package/lib/components/ticketBooking/locales.d.ts +201 -0
  280. package/lib/components/ticketBooking/utils/index.d.ts +1 -1
  281. package/lib/hooks/printer.d.ts +4 -0
  282. package/lib/hooks/useEngineContext.d.ts +4 -0
  283. package/lib/hooks/usePaymentLogger.d.ts +1 -0
  284. package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +1 -0
  285. package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +1 -0
  286. package/lib/plus/clinetSearch/index.d.ts +18 -0
  287. package/lib/plus/clinetSearch/locales.d.ts +108 -0
  288. package/lib/plus/clinetSearch/types.d.ts +70 -0
  289. package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
  290. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +1 -0
  291. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +1 -1
  292. package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
  293. package/lib/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +1 -0
  294. package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +1 -1
  295. package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
  296. package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +1 -0
  297. package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +1 -1
  298. package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
  299. package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +1 -1
  300. package/lib/plus/saasCreateOrganization/components/Header.d.ts +1 -0
  301. package/lib/plus/saasCreateOrganization/index.d.ts +1 -0
  302. package/lib/plus/saasRegister/components/EntryEmail.d.ts +1 -0
  303. package/lib/plus/saasRegister/components/EntryInfo.d.ts +1 -0
  304. package/lib/plus/saasRegister/components/GoLogin.d.ts +1 -0
  305. package/lib/plus/saasRegister/components/Header.d.ts +1 -0
  306. package/lib/plus/saasRegister/components/VerifyError.d.ts +1 -0
  307. package/lib/plus/saasRegister/components/VerifyingLink.d.ts +1 -0
  308. package/lib/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +1 -0
  309. package/lib/plus/skuOptionsSelection/components/VariantCard/index.d.ts +4 -0
  310. package/lib/plus/skuOptionsSelection/locales.d.ts +33 -0
  311. package/lib/plus/walletEditor/components/relationProduct/index.d.ts +1 -0
  312. package/lib/pro/Login2.0/components/LoginCodeInput.d.ts +27 -0
  313. package/lib/pro/Login2.0/steps/CodeInput.d.ts +24 -0
  314. package/lib/pro/comprehensiveSearch/components/searchSection/locales.d.ts +15 -0
  315. package/lib/pro/pisellPaymentList/example.d.ts +1 -0
  316. package/lib/pro/priceKeyboard/components/cashKeyboard/index.d.ts +1 -0
  317. package/package.json +1 -1
@@ -0,0 +1,115 @@
1
+ /**
2
+ * 产品展示配置类型定义
3
+ */
4
+ import type { ProductCardConfig } from '../../../../plus/productSelect/ProductCard/SkuCard/type';
5
+ /** 预设配置的字符串键 */
6
+ export declare type ProductDisplayPresetKey = 'product-select' | 'sku-list-a1' | 'sku-list-a2' | 'sku-list-a5' | 'default';
7
+ /** ProductSelect 布局配置 */
8
+ export interface ProductSelectLayout {
9
+ grid: boolean;
10
+ config: string;
11
+ }
12
+ export declare type NumberBoolean = 0 | 1;
13
+ /** ProductSelect 列表设置 */
14
+ export interface ProductListSetting {
15
+ /** 是否显示产品封面 */
16
+ isProductCover?: NumberBoolean;
17
+ /** 是否显示标题 */
18
+ isTitle?: NumberBoolean;
19
+ /** 是否显示副标题 */
20
+ isSubtitle?: NumberBoolean;
21
+ /** 是否显示价格 */
22
+ isPrice?: NumberBoolean;
23
+ /** 是否显示原价 */
24
+ isOriginPrice?: NumberBoolean;
25
+ /** 是否显示库存 */
26
+ isStock?: NumberBoolean;
27
+ }
28
+ /** ProductSelect 模式配置 */
29
+ export interface ProductSelectConfig {
30
+ /** 是否显示搜索框 */
31
+ showSearch?: boolean;
32
+ /** 是否显示分类Tab */
33
+ showTab?: boolean;
34
+ /** 布局配置 */
35
+ layout?: ProductSelectLayout;
36
+ /** 产品列表设置 */
37
+ productListSetting?: ProductListSetting;
38
+ }
39
+ /** SkuCard 显示模式 */
40
+ export declare type SkuCardDisplayMode = 'display_a1' | 'display_a2' | 'display_a5' | 'display_a9' | 'display_custom';
41
+ /**
42
+ * SkuCard 配置
43
+ * 直接使用 ProductCardConfig 类型,保持类型同步
44
+ *
45
+ * @see packages/private-materials/src/plus/productSelect/ProductCard/SkuCard/type.ts ProductCardConfig
46
+ */
47
+ export declare type SkuCardAllConfig = ProductCardConfig;
48
+ /** List 布局类型 */
49
+ export declare type ListLayoutType = 'grid' | 'list';
50
+ /** Tab 样式类型 */
51
+ export declare type TabStyleType = 'switch' | 'anchor' | 'none';
52
+ /** List 组件配置 */
53
+ export interface ListConfig {
54
+ /** 布局类型 */
55
+ layout?: ListLayoutType;
56
+ /** 列数 */
57
+ columns?: number;
58
+ /** 是否显示分页 */
59
+ showPagination?: boolean;
60
+ /** 是否显示Tab */
61
+ showTab?: boolean;
62
+ /** Tab 样式类型:switch-切换模式,anchor-锚点模式,none-不显示 */
63
+ tabStyle?: TabStyleType;
64
+ /** Tab 是否吸顶 */
65
+ stickyTop?: boolean;
66
+ /** Tab配置 */
67
+ tabConfig?: any;
68
+ /** 分页配置 */
69
+ paginationConfig?: any;
70
+ [key: string]: any;
71
+ }
72
+ /** SkuList 模式配置 */
73
+ export interface SkuListConfig {
74
+ /** List 组件配置 */
75
+ listConfig?: ListConfig;
76
+ /** SkuCard 配置 */
77
+ skuCardAllConfig?: SkuCardAllConfig;
78
+ }
79
+ /** 展示模式类型 */
80
+ export declare type DisplayMode = 'product-select' | 'sku-list';
81
+ /**
82
+ * 产品展示配置
83
+ * 用于配置化控制产品展示的方式
84
+ */
85
+ export interface ProductDisplayConfig {
86
+ /** 展示模式 */
87
+ displayMode: DisplayMode;
88
+ /** ProductSelect 模式配置 */
89
+ productSelectConfig?: ProductSelectConfig;
90
+ /** SkuList 模式配置 */
91
+ skuListConfig?: SkuListConfig;
92
+ }
93
+ /**
94
+ * 产品展示配置预设
95
+ * 支持通过字符串键或直接使用配置对象
96
+ */
97
+ export declare const ProductDisplayPresets: Record<ProductDisplayPresetKey, ProductDisplayConfig>;
98
+ /**
99
+ * 兼容性:保持原有的导出方式
100
+ * @deprecated 建议使用 ProductDisplayPresets['product-select'] 或字符串键访问
101
+ */
102
+ export declare const LegacyProductDisplayPresets: {
103
+ /** @deprecated 使用 ProductDisplayPresets['product-select'] */
104
+ DEFAULT_PRODUCT_SELECT: ProductDisplayConfig;
105
+ /** @deprecated 使用 ProductDisplayPresets['sku-list-a1'] */
106
+ DEFAULT_SKU_LIST_A1: ProductDisplayConfig;
107
+ /** @deprecated 使用 ProductDisplayPresets['sku-list-a2'] */
108
+ DEFAULT_SKU_LIST_A2: ProductDisplayConfig;
109
+ /** @deprecated 使用 ProductDisplayPresets['sku-list-a5'] */
110
+ DEFAULT_SKU_LIST_A5: ProductDisplayConfig;
111
+ };
112
+ /**
113
+ * 工具函数:将字符串键或配置对象解析为配置对象
114
+ */
115
+ export declare function resolveProductDisplayConfig(config?: ProductDisplayPresetKey | ProductDisplayConfig): ProductDisplayConfig;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ProductDisplayConfig, ProductDisplayPresetKey } from '../ProductDisplayAdapter/types';
2
3
  interface AddServiceVariantProps {
3
4
  globalState: any;
@@ -96,9 +96,10 @@ var BookingDataPanel = (0, import_react.forwardRef)((props, ref) => {
96
96
  {
97
97
  className: "pisell-ticket-booking-data-panel-tab-extra",
98
98
  onClick: () => {
99
- var _a, _b;
99
+ var _a, _b, _c;
100
100
  (_a = bookingListRef.current) == null ? void 0 : _a.refresh();
101
- (_b = Toast == null ? void 0 : Toast.success) == null ? void 0 : _b.call(Toast, import_utils.locales.getText("pisell2.ticket-booking.refresh-success"));
101
+ (_b = bookingDashboardRef.current) == null ? void 0 : _b.refresh();
102
+ (_c = Toast == null ? void 0 : Toast.success) == null ? void 0 : _c.call(Toast, import_utils.locales.getText("pisell2.ticket-booking.refresh-success"));
102
103
  }
103
104
  },
104
105
  /* @__PURE__ */ import_react.default.createElement(import_icons.SyncOutlined, null)
@@ -0,0 +1,14 @@
1
+ import type { Dayjs } from 'dayjs';
2
+ import './index.less';
3
+ interface ITimeBarProps {
4
+ globalState: any;
5
+ setGlobalState: any;
6
+ onDateChange: (date: Dayjs, dateString?: string) => void;
7
+ onDateTimeChange: (date: Dayjs, timeString: string) => void;
8
+ setIntervalTime: (value: boolean) => void;
9
+ locale: string;
10
+ onCreateClick: () => void;
11
+ setNowTime?: (time: Dayjs) => void;
12
+ }
13
+ declare const TimeBar: (props: ITimeBarProps) => JSX.Element;
14
+ export default TimeBar;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ProductDisplayConfig, ProductDisplayPresetKey } from './components/ProductDisplayAdapter/types';
2
3
  import './index.less';
3
4
  interface TicketBookingProps {
@@ -0,0 +1,201 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.ticket-booking.info': string;
4
+ 'pisell2.ticket-booking.notes': string;
5
+ 'pisell2.ticket-booking.note': string;
6
+ 'pisell2.ticket-booking.forms': string;
7
+ 'pisell2.ticket-booking.sales': string;
8
+ 'pisell2.ticket-booking.payment': string;
9
+ 'pisell2.ticket-booking.unsaved-changes': string;
10
+ 'pisell2.ticket-booking.exit-confirm': string;
11
+ 'pisell2.ticket-booking.go-back': string;
12
+ 'pisell2.ticket-booking.exit': string;
13
+ 'pisell2.ticket-booking.deposit': string;
14
+ 'pisell2.ticket-booking.copy-success': string;
15
+ 'pisell2.ticket-booking.no-data': string;
16
+ 'pisell2.ticket-booking.authorized': string;
17
+ 'pisell2.ticket-booking.paid': string;
18
+ 'pisell2.ticket-booking.partially-paid': string;
19
+ 'pisell2.ticket-booking.partially-refunded': string;
20
+ 'pisell2.ticket-booking.payment-pending': string;
21
+ 'pisell2.ticket-booking.refunded': string;
22
+ 'pisell2.ticket-booking.unpaid': string;
23
+ 'pisell2.ticket-booking.voided': string;
24
+ 'pisell2.ticket-booking.pending': string;
25
+ 'pisell2.ticket-booking.all': string;
26
+ 'pisell2.ticket-booking.not-started': string;
27
+ 'pisell2.ticket-booking.started': string;
28
+ 'pisell2.ticket-booking.finished': string;
29
+ 'pisell2.ticket-booking.canceled': string;
30
+ 'pisell2.ticket-booking.inform': string;
31
+ 'pisell2.ticket-booking.check-management': string;
32
+ 'pisell2.ticket-booking.confirm': string;
33
+ 'pisell2.ticket-booking.dashboard': string;
34
+ 'pisell2.ticket-booking.booking-list': string;
35
+ 'pisell2.ticket-booking.full-data': string;
36
+ 'pisell2.ticket-booking.today': string;
37
+ 'pisell2.ticket-booking.now': string;
38
+ 'pisell2.ticket-booking.start-time': string;
39
+ 'pisell2.ticket-booking.create-time': string;
40
+ 'pisell2.ticket-booking.customer': string;
41
+ 'pisell2.ticket-booking.total': string;
42
+ 'pisell2.ticket-booking.search': string;
43
+ 'pisell2.ticket-booking.refresh-success': string;
44
+ 'pisell2.ticket-booking.loading': string;
45
+ 'pisell2.ticket-booking.appointment-not-found': string;
46
+ 'pisell2.ticket-booking.scan': string;
47
+ 'pisell2.ticket-booking.create-new': string;
48
+ 'pisell2.ticket-booking.add-to-cart': string;
49
+ 'pisell2.ticket-booking.not-available-title': string;
50
+ 'pisell2.ticket-booking.not-available-ok': string;
51
+ 'pisell2.ticket-booking.in-cart': (number: number) => string;
52
+ 'pisell2.product.card.cart-items': (number: number) => string;
53
+ 'pisell2.product.card.subtotal': string;
54
+ 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
55
+ 'pisell2.product.card.day': (val: number) => string;
56
+ 'pisell2.product.card.day.event': (val: number) => string;
57
+ 'pisell2.product.card.minute': (val: number) => string;
58
+ 'pisell2.ticket-booking.reload': string;
59
+ 'pisell2.text.scan-global-failed': string;
60
+ 'pisell2.ticket-booking.terminal-upgrade-title': string;
61
+ 'pisell2.ticket-booking.terminal-upgrade-description': string;
62
+ 'pisell2.ticket-booking.terminal-upgrade-ok': string;
63
+ 'pisell2.ticket-booking.terminal-upgrade-cancel': string;
64
+ 'pisell2.ticket-booking.collapse': string;
65
+ 'pisell2.ticket-booking.expand': string;
66
+ 'pisell2.product-select.search': string;
67
+ };
68
+ 'zh-CN': {
69
+ 'pisell2.ticket-booking.info': string;
70
+ 'pisell2.ticket-booking.notes': string;
71
+ 'pisell2.ticket-booking.note': string;
72
+ 'pisell2.ticket-booking.forms': string;
73
+ 'pisell2.ticket-booking.sales': string;
74
+ 'pisell2.ticket-booking.payment': string;
75
+ 'pisell2.ticket-booking.unsaved-changes': string;
76
+ 'pisell2.ticket-booking.exit-confirm': string;
77
+ 'pisell2.ticket-booking.go-back': string;
78
+ 'pisell2.ticket-booking.exit': string;
79
+ 'pisell2.ticket-booking.deposit': string;
80
+ 'pisell2.ticket-booking.copy-success': string;
81
+ 'pisell2.ticket-booking.no-data': string;
82
+ 'pisell2.ticket-booking.authorized': string;
83
+ 'pisell2.ticket-booking.paid': string;
84
+ 'pisell2.ticket-booking.partially-paid': string;
85
+ 'pisell2.ticket-booking.partially-refunded': string;
86
+ 'pisell2.ticket-booking.payment-pending': string;
87
+ 'pisell2.ticket-booking.refunded': string;
88
+ 'pisell2.ticket-booking.unpaid': string;
89
+ 'pisell2.ticket-booking.voided': string;
90
+ 'pisell2.ticket-booking.pending': string;
91
+ 'pisell2.ticket-booking.all': string;
92
+ 'pisell2.ticket-booking.not-started': string;
93
+ 'pisell2.ticket-booking.started': string;
94
+ 'pisell2.ticket-booking.finished': string;
95
+ 'pisell2.ticket-booking.canceled': string;
96
+ 'pisell2.ticket-booking.inform': string;
97
+ 'pisell2.ticket-booking.check-management': string;
98
+ 'pisell2.ticket-booking.confirm': string;
99
+ 'pisell2.ticket-booking.dashboard': string;
100
+ 'pisell2.ticket-booking.booking-list': string;
101
+ 'pisell2.ticket-booking.full-data': string;
102
+ 'pisell2.ticket-booking.today': string;
103
+ 'pisell2.ticket-booking.now': string;
104
+ 'pisell2.ticket-booking.start-time': string;
105
+ 'pisell2.ticket-booking.create-time': string;
106
+ 'pisell2.ticket-booking.customer': string;
107
+ 'pisell2.ticket-booking.total': string;
108
+ 'pisell2.ticket-booking.search': string;
109
+ 'pisell2.ticket-booking.refresh-success': string;
110
+ 'pisell2.ticket-booking.loading': string;
111
+ 'pisell2.ticket-booking.appointment-not-found': string;
112
+ 'pisell2.ticket-booking.scan': string;
113
+ 'pisell2.ticket-booking.create-new': string;
114
+ 'pisell2.ticket-booking.add-to-cart': string;
115
+ 'pisell2.ticket-booking.not-available-title': string;
116
+ 'pisell2.ticket-booking.not-available-ok': string;
117
+ 'pisell2.product.card.cart-items': (number: number) => string;
118
+ 'pisell2.product.card.subtotal': string;
119
+ 'pisell2.ticket-booking.in-cart': (number: number) => string;
120
+ 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
121
+ 'pisell2.product.card.day': (val: number) => string;
122
+ 'pisell2.product.card.day.event': (val: number) => string;
123
+ 'pisell2.product.card.minute': (val: number) => string;
124
+ 'pisell2.ticket-booking.reload': string;
125
+ 'pisell2.text.scan-global-failed': string;
126
+ 'pisell2.ticket-booking.terminal-upgrade-title': string;
127
+ 'pisell2.ticket-booking.terminal-upgrade-description': string;
128
+ 'pisell2.ticket-booking.terminal-upgrade-ok': string;
129
+ 'pisell2.ticket-booking.terminal-upgrade-cancel': string;
130
+ 'pisell2.ticket-booking.collapse': string;
131
+ 'pisell2.ticket-booking.expand': string;
132
+ 'pisell2.product-select.search': string;
133
+ };
134
+ 'zh-HK': {
135
+ 'pisell2.ticket-booking.info': string;
136
+ 'pisell2.ticket-booking.notes': string;
137
+ 'pisell2.ticket-booking.note': string;
138
+ 'pisell2.ticket-booking.forms': string;
139
+ 'pisell2.ticket-booking.sales': string;
140
+ 'pisell2.ticket-booking.payment': string;
141
+ 'pisell2.ticket-booking.unsaved-changes': string;
142
+ 'pisell2.ticket-booking.exit-confirm': string;
143
+ 'pisell2.ticket-booking.go-back': string;
144
+ 'pisell2.ticket-booking.exit': string;
145
+ 'pisell2.ticket-booking.deposit': string;
146
+ 'pisell2.ticket-booking.copy-success': string;
147
+ 'pisell2.ticket-booking.no-data': string;
148
+ 'pisell2.ticket-booking.authorized': string;
149
+ 'pisell2.ticket-booking.paid': string;
150
+ 'pisell2.ticket-booking.partially-paid': string;
151
+ 'pisell2.ticket-booking.partially-refunded': string;
152
+ 'pisell2.ticket-booking.payment-pending': string;
153
+ 'pisell2.ticket-booking.refunded': string;
154
+ 'pisell2.ticket-booking.unpaid': string;
155
+ 'pisell2.ticket-booking.voided': string;
156
+ 'pisell2.ticket-booking.pending': string;
157
+ 'pisell2.ticket-booking.all': string;
158
+ 'pisell2.ticket-booking.not-started': string;
159
+ 'pisell2.ticket-booking.started': string;
160
+ 'pisell2.ticket-booking.finished': string;
161
+ 'pisell2.ticket-booking.canceled': string;
162
+ 'pisell2.ticket-booking.inform': string;
163
+ 'pisell2.ticket-booking.check-management': string;
164
+ 'pisell2.ticket-booking.confirm': string;
165
+ 'pisell2.ticket-booking.dashboard': string;
166
+ 'pisell2.ticket-booking.booking-list': string;
167
+ 'pisell2.ticket-booking.full-data': string;
168
+ 'pisell2.ticket-booking.today': string;
169
+ 'pisell2.ticket-booking.now': string;
170
+ 'pisell2.ticket-booking.start-time': string;
171
+ 'pisell2.ticket-booking.create-time': string;
172
+ 'pisell2.ticket-booking.customer': string;
173
+ 'pisell2.ticket-booking.total': string;
174
+ 'pisell2.ticket-booking.search': string;
175
+ 'pisell2.ticket-booking.refresh-success': string;
176
+ 'pisell2.ticket-booking.loading': string;
177
+ 'pisell2.ticket-booking.appointment-not-found': string;
178
+ 'pisell2.ticket-booking.scan': string;
179
+ 'pisell2.ticket-booking.create-new': string;
180
+ 'pisell2.ticket-booking.add-to-cart': string;
181
+ 'pisell2.ticket-booking.not-available-title': string;
182
+ 'pisell2.ticket-booking.not-available-ok': string;
183
+ 'pisell2.ticket-booking.in-cart': (number: number) => string;
184
+ 'pisell2.product.card.cart-items': (number: number) => string;
185
+ 'pisell2.product.card.subtotal': string;
186
+ 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
187
+ 'pisell2.product.card.day': (val: number) => string;
188
+ 'pisell2.product.card.day.event': (val: number) => string;
189
+ 'pisell2.product.card.minute': (val: number) => string;
190
+ 'pisell2.ticket-booking.reload': string;
191
+ 'pisell2.text.scan-global-failed': string;
192
+ 'pisell2.ticket-booking.terminal-upgrade-title': string;
193
+ 'pisell2.ticket-booking.terminal-upgrade-description': string;
194
+ 'pisell2.ticket-booking.terminal-upgrade-ok': string;
195
+ 'pisell2.ticket-booking.terminal-upgrade-cancel': string;
196
+ 'pisell2.ticket-booking.collapse': string;
197
+ 'pisell2.ticket-booking.expand': string;
198
+ 'pisell2.product-select.search': string;
199
+ };
200
+ };
201
+ export default _default;
@@ -47,7 +47,7 @@ declare type ScanData = {
47
47
  };
48
48
  };
49
49
  export declare const formatScanCustomer: (data: ScanData) => {
50
- searchType: "customer" | "product" | "wallet" | "walletPass" | "local_product";
50
+ searchType: "product" | "customer" | "wallet" | "walletPass" | "local_product";
51
51
  data: any;
52
52
  scanCode: string;
53
53
  } | null;
@@ -0,0 +1,4 @@
1
+ declare const usePrinter: () => {
2
+ nativePrint: (data: any, callback: (res: any) => void) => void;
3
+ };
4
+ export default usePrinter;
@@ -0,0 +1,4 @@
1
+ declare const useEngineContext: () => any;
2
+ export declare const usePisellOS: () => any;
3
+ export declare const usePlatform: () => any;
4
+ export default useEngineContext;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface LogData {
2
3
  key: string;
3
4
  value: any;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const DateSectionCom: ({ value, onChange, showTime, className, style, useSpace, format, itemStyle, }: any) => JSX.Element;
2
3
  export default DateSectionCom;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const GenderField: (props: any) => JSX.Element;
2
3
  export default GenderField;
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import { TableProps } from 'antd';
3
+ import type { ComprehensiveSearchProps } from '../../pro/comprehensiveSearch/types';
4
+ import type { ClientData } from './types';
5
+ import './index.less';
6
+ interface ClientSearchProps extends Omit<ComprehensiveSearchProps, 'resultDisplay' | 'onRowClick'> {
7
+ onRowClick?: (record: ClientData, index: number) => void;
8
+ onAddClient?: (record: ClientData, isChecked: boolean) => void;
9
+ resultProps?: TableProps<ClientData>;
10
+ hasMore?: boolean;
11
+ onLoadMore?: () => void;
12
+ state?: any;
13
+ }
14
+ export declare type ClientSearchRef = {
15
+ resetScrollPosition: () => void;
16
+ };
17
+ declare const ClientSearch: React.ForwardRefExoticComponent<ClientSearchProps & React.RefAttributes<ClientSearchRef>>;
18
+ export default ClientSearch;
@@ -0,0 +1,108 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.text.leave-empty-for-walk-in': string;
4
+ 'pisell2.text.date-year-text': string;
5
+ 'pisell2.text.date-month-text': string;
6
+ 'pisell2.text.date-day-text': string;
7
+ 'pisell2.text.gender': string;
8
+ 'pisell2.text.gender.male': string;
9
+ 'pisell2.text.gender.female': string;
10
+ 'pisell2.text.birthday': string;
11
+ 'pisell2.text.phone': string;
12
+ 'pisell2.text.email': string;
13
+ 'pisell2.text.lastname': string;
14
+ 'pisell2.text.firstname': string;
15
+ 'pisell2.text.email-error-message': string;
16
+ 'pisell2.text.notes': string;
17
+ 'pisell2.text.save': string;
18
+ 'pisell2.text.save-and-select': string;
19
+ 'pisell2.text.no-results-found': string;
20
+ 'pisell2.text.create-new-client': string;
21
+ 'pisell2.text.result-found': string;
22
+ 'pisell2.text.personnel-list': string;
23
+ 'pisell2.text.load-more': string;
24
+ 'pisell2.text.add-client.confirm': string;
25
+ 'pisell2.text.search-customer-by-phone-number': string;
26
+ 'pisell2.text.create': string;
27
+ 'pisell2.text.loading': string;
28
+ 'pisell2.text.no-more-data': string;
29
+ 'pisell2.text.client-search.name': string;
30
+ 'pisell2.text.client-search.register-time': string;
31
+ 'pisell2.text.client-search.phone': string;
32
+ 'pisell2.text.client-search.email': string;
33
+ 'pisell2.text.client-search.membership': string;
34
+ 'pisell2.text.client-search.contact-info': string;
35
+ 'pisell2.text.client-search.holder': string;
36
+ };
37
+ 'zh-CN': {
38
+ 'pisell2.text.leave-empty-for-walk-in': string;
39
+ 'pisell2.text.date-year-text': string;
40
+ 'pisell2.text.date-month-text': string;
41
+ 'pisell2.text.date-day-text': string;
42
+ 'pisell2.text.gender': string;
43
+ 'pisell2.text.gender.male': string;
44
+ 'pisell2.text.gender.female': string;
45
+ 'pisell2.text.birthday': string;
46
+ 'pisell2.text.phone': string;
47
+ 'pisell2.text.email': string;
48
+ 'pisell2.text.lastname': string;
49
+ 'pisell2.text.firstname': string;
50
+ 'pisell2.text.email-error-message': string;
51
+ 'pisell2.text.notes': string;
52
+ 'pisell2.text.save': string;
53
+ 'pisell2.text.save-and-select': string;
54
+ 'pisell2.text.no-results-found': string;
55
+ 'pisell2.text.create-new-client': string;
56
+ 'pisell2.text.result-found': string;
57
+ 'pisell2.text.personnel-list': string;
58
+ 'pisell2.text.add-client.confirm': string;
59
+ 'pisell2.text.load-more': string;
60
+ 'pisell2.text.search-customer-by-phone-number': string;
61
+ 'pisell2.text.create': string;
62
+ 'pisell2.text.loading': string;
63
+ 'pisell2.text.no-more-data': string;
64
+ 'pisell2.text.client-search.name': string;
65
+ 'pisell2.text.client-search.register-time': string;
66
+ 'pisell2.text.client-search.phone': string;
67
+ 'pisell2.text.client-search.email': string;
68
+ 'pisell2.text.client-search.membership': string;
69
+ 'pisell2.text.client-search.contact-info': string;
70
+ 'pisell2.text.client-search.holder': string;
71
+ };
72
+ 'zh-HK': {
73
+ 'pisell2.text.leave-empty-for-walk-in': string;
74
+ 'pisell2.text.date-year-text': string;
75
+ 'pisell2.text.date-month-text': string;
76
+ 'pisell2.text.date-day-text': string;
77
+ 'pisell2.text.gender': string;
78
+ 'pisell2.text.gender.male': string;
79
+ 'pisell2.text.gender.female': string;
80
+ 'pisell2.text.birthday': string;
81
+ 'pisell2.text.phone': string;
82
+ 'pisell2.text.email': string;
83
+ 'pisell2.text.lastname': string;
84
+ 'pisell2.text.firstname': string;
85
+ 'pisell2.text.email-error-message': string;
86
+ 'pisell2.text.notes': string;
87
+ 'pisell2.text.save': string;
88
+ 'pisell2.text.save-and-select': string;
89
+ 'pisell2.text.no-results-found': string;
90
+ 'pisell2.text.create-new-client': string;
91
+ 'pisell2.text.result-found': string;
92
+ 'pisell2.text.personnel-list': string;
93
+ 'pisell2.text.add-client.confirm': string;
94
+ 'pisell2.text.load-more': string;
95
+ 'pisell2.text.search-customer-by-phone-number': string;
96
+ 'pisell2.text.create': string;
97
+ 'pisell2.text.loading': string;
98
+ 'pisell2.text.no-more-data': string;
99
+ 'pisell2.text.client-search.name': string;
100
+ 'pisell2.text.client-search.register-time': string;
101
+ 'pisell2.text.client-search.phone': string;
102
+ 'pisell2.text.client-search.email': string;
103
+ 'pisell2.text.client-search.membership': string;
104
+ 'pisell2.text.client-search.contact-info': string;
105
+ 'pisell2.text.client-search.holder': string;
106
+ };
107
+ };
108
+ export default _default;
@@ -0,0 +1,70 @@
1
+ /// <reference types="react" />
2
+ export interface FormRecord {
3
+ form_id: number;
4
+ id: number;
5
+ main_field: string;
6
+ data?: {
7
+ [key: string]: any;
8
+ };
9
+ }
10
+ export interface ClientData {
11
+ id: number;
12
+ display_name: string;
13
+ created_at: string;
14
+ phone: string;
15
+ email: string;
16
+ channel: string;
17
+ country_calling_code: string;
18
+ nickname: string;
19
+ shop_id: number;
20
+ updated_at: string;
21
+ contacts_info: {
22
+ value: {
23
+ first_name?: string;
24
+ last_name?: string;
25
+ phone?: {
26
+ phone?: string;
27
+ country_calling_code?: string;
28
+ country_code?: string;
29
+ };
30
+ email?: string;
31
+ };
32
+ };
33
+ form_record: FormRecord[];
34
+ }
35
+ export interface ClientSearchProps {
36
+ dataSource?: any;
37
+ isShowScanner?: boolean;
38
+ isShowCamera?: boolean;
39
+ isShowNFC?: boolean;
40
+ isShowNewButton?: boolean;
41
+ newButtonAlign?: 'left' | 'center' | 'right';
42
+ newButtonText?: string;
43
+ renderType?: 'modal' | 'drawer' | 'portal' | '';
44
+ containerProps?: Record<string, any>;
45
+ isShowSearch?: boolean;
46
+ isShowSearchCamera?: boolean;
47
+ searchIcon?: string;
48
+ placeholder?: string;
49
+ isShowSearchButton?: boolean;
50
+ resultSort?: 'asc' | 'desc' | 'custom';
51
+ sortBy?: string;
52
+ style?: React.CSSProperties;
53
+ onChange?: (value: string) => void;
54
+ onSearch?: (value: string) => void;
55
+ onAdd?: () => void;
56
+ onDataChange?: (data: any) => void;
57
+ onRowClick?: (record: ClientData, index: number) => void;
58
+ }
59
+ export interface ClientFormData {
60
+ display_name: string;
61
+ phone?: string;
62
+ email?: string;
63
+ nickname?: string;
64
+ }
65
+ export interface ClientSearchState {
66
+ modalVisible: boolean;
67
+ loading: boolean;
68
+ searchResults: ClientData[];
69
+ searchValue: string;
70
+ }
@@ -2,5 +2,5 @@ import React from 'react';
2
2
  import { ProductCardConfig } from '../../type';
3
3
  declare const Capacity: ({ props }: {
4
4
  props: ProductCardConfig;
5
- }) => string | number | true | React.ReactFragment | JSX.Element | null;
5
+ }) => string | number | true | JSX.Element | React.ReactFragment | null;
6
6
  export default Capacity;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ProductCardConfig } from '../../type';
2
3
  import './index.less';
3
4
  declare const CardCom: ({ props, className }: {
@@ -3,5 +3,5 @@ import { SkuStatusOverlayConfig } from '../../type';
3
3
  import './index.less';
4
4
  declare const CardMask: ({ props }: {
5
5
  props: SkuStatusOverlayConfig;
6
- }) => string | number | true | React.ReactFragment | JSX.Element | null;
6
+ }) => string | number | true | JSX.Element | React.ReactFragment | null;
7
7
  export default CardMask;
@@ -3,5 +3,5 @@ import { ProductCardConfig } from '../../type';
3
3
  import './index.less';
4
4
  declare const Countdown: ({ props }: {
5
5
  props: ProductCardConfig;
6
- }) => string | number | true | React.ReactFragment | JSX.Element | null;
6
+ }) => string | number | true | JSX.Element | React.ReactFragment | null;
7
7
  export default Countdown;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ProductCardConfig } from '../../type';
2
3
  import './index.less';
3
4
  declare const Cover: ({ props }: {
@@ -2,5 +2,5 @@ import React from 'react';
2
2
  import { ProductCardConfig } from '../../type';
3
3
  declare const Duration: ({ props }: {
4
4
  props: ProductCardConfig;
5
- }) => string | number | true | React.ReactFragment | JSX.Element | null;
5
+ }) => string | number | true | JSX.Element | React.ReactFragment | null;
6
6
  export default Duration;
@@ -3,5 +3,5 @@ import { ProductCardConfig } from '../../type';
3
3
  import './index.less';
4
4
  declare const MemberPrice: ({ props }: {
5
5
  props: ProductCardConfig;
6
- }) => string | number | true | React.ReactFragment | JSX.Element | null;
6
+ }) => string | number | true | JSX.Element | React.ReactFragment | null;
7
7
  export default MemberPrice;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ProductCardConfig } from '../../type';
2
3
  import './index.less';
3
4
  declare const Price: ({ props }: {