@pisell/private-materials 3.4.68 → 3.4.70

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 (424) 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 +8 -8
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +10 -10
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +10 -10
  11. package/es/components/Sales/Cart/utils.d.ts +68 -0
  12. package/es/components/Sales/Checkout/utils.d.ts +41 -0
  13. package/es/components/Sales/Summary/utils.d.ts +51 -0
  14. package/es/components/appointmentBooking/components/Header/index.d.ts +3 -0
  15. package/es/components/appointmentBooking/components/Services/index.d.ts +4 -0
  16. package/es/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +2 -0
  17. package/es/components/appointmentBooking/hooks.d.ts +107 -0
  18. package/es/components/appointmentBooking/locales.d.ts +366 -0
  19. package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
  20. package/es/components/booking/components/TabProduct/index.d.ts +0 -1
  21. package/es/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
  22. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  23. package/es/components/booking/components/collapsibleList/utils.d.ts +0 -1
  24. package/es/components/booking/components/emptyBooking/index.d.ts +0 -1
  25. package/es/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  26. package/es/components/booking/components/footer/amount.d.ts +25 -0
  27. package/es/components/booking/components/footer/index.d.ts +0 -1
  28. package/es/components/booking/components/tabPane/index.d.ts +4 -0
  29. package/es/components/booking/dashboard/serve.d.ts +1 -0
  30. package/es/components/booking/deposit/ClientItem/index.d.ts +18 -0
  31. package/es/components/booking/deposit/DepositItem/index.d.ts +25 -0
  32. package/es/components/booking/deposit/index.d.ts +2 -0
  33. package/es/components/booking/forms/forms.d.ts +30 -0
  34. package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  35. package/es/components/booking/forms/serve.d.ts +18 -0
  36. package/es/components/booking/forms/table/index.d.ts +0 -1
  37. package/es/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  38. package/es/components/booking/info/addServiceVariant/index.d.ts +6 -0
  39. package/es/components/booking/info/client/index.d.ts +4 -0
  40. package/es/components/booking/info/client/serve.d.ts +2 -0
  41. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
  42. package/es/components/booking/info/clientVariant/utils.d.ts +1 -0
  43. package/es/components/booking/info/date/index.d.ts +4 -0
  44. package/es/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
  45. package/es/components/booking/info/hooks/useInfoHolder.d.ts +9 -0
  46. package/es/components/booking/info/index.d.ts +0 -1
  47. package/es/components/booking/info/model.d.ts +14 -0
  48. package/es/components/booking/info/notes/index.d.ts +0 -1
  49. package/es/components/booking/info/pet/serve.d.ts +1 -0
  50. package/es/components/booking/info/service/actions/index.d.ts +0 -1
  51. package/es/components/booking/info/service/addTimeModal/index.d.ts +0 -1
  52. package/es/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
  53. package/es/components/booking/info/service/addTimeModal/utils.d.ts +31 -0
  54. package/es/components/booking/info/service/serve.d.ts +20 -0
  55. package/es/components/booking/info/service/serviceList/index.d.ts +5 -0
  56. package/es/components/booking/info/service/serviceManager/index.d.ts +20 -0
  57. package/es/components/booking/info/service2/Group/utils.d.ts +14 -0
  58. package/es/components/booking/info/service2/utils.d.ts +248 -0
  59. package/es/components/booking/info/utils.d.ts +50 -0
  60. package/es/components/booking/info2/serve.d.ts +6 -0
  61. package/es/components/booking/info2/service/actions/index.d.ts +0 -1
  62. package/es/components/booking/info2/service/addService/index.d.ts +11 -0
  63. package/es/components/booking/info2/service/addService/utils.d.ts +98 -0
  64. package/es/components/booking/info2/service/addTimeModal/index.d.ts +0 -1
  65. package/es/components/booking/info2/service/contactInfoMode/index.d.ts +0 -1
  66. package/es/components/booking/info2/service/editService/utils.d.ts +13 -0
  67. package/es/components/booking/info2/service/serviceList/index.d.ts +5 -0
  68. package/es/components/booking/info2/utilsByBooking.d.ts +35 -0
  69. package/es/components/booking/locales.d.ts +837 -0
  70. package/es/components/booking/materiels/duration/index.d.ts +0 -1
  71. package/es/components/booking/materiels/holder/index.d.ts +0 -1
  72. package/es/components/booking/materiels/startTime/index.d.ts +0 -1
  73. package/es/components/booking/model.d.ts +119 -0
  74. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  75. package/es/components/booking/notes/NoteBlock/index.d.ts +0 -1
  76. package/es/components/booking/notes/addNote/index.d.ts +3 -0
  77. package/es/components/booking/utils.d.ts +175 -0
  78. package/es/components/eftposPay/amount.d.ts +0 -1
  79. package/es/components/eftposPay/app.d.ts +10 -0
  80. package/es/components/eftposPay/component/fail/failCustom.d.ts +3 -0
  81. package/es/components/eftposPay/component/fail/index.d.ts +3 -0
  82. package/es/components/eftposPay/const.d.ts +184 -0
  83. package/es/components/eftposPay/device.d.ts +23 -0
  84. package/es/components/eftposPay/hooks.d.ts +35 -0
  85. package/es/components/eftposPay/index.d.ts +4 -0
  86. package/es/components/eftposPay/locales.d.ts +330 -0
  87. package/es/components/eftposPay/manufacturer.d.ts +7 -0
  88. package/es/components/eftposPay/pay.d.ts +20 -0
  89. package/es/components/eftposPay/payo/config.d.ts +0 -1
  90. package/es/components/eftposPay/store/index.d.ts +355 -0
  91. package/es/components/eftposPay/tip.d.ts +0 -1
  92. package/es/components/eftposPay/tyro/index.d.ts +9 -0
  93. package/es/components/eftposPay/windcave/receiptAction.d.ts +0 -1
  94. package/es/components/eftposPay/windcave/windcave.d.ts +0 -1
  95. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +2 -0
  96. package/es/components/eventBooking/components/Voucher/components/locales.d.ts +39 -0
  97. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  98. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  99. package/es/components/login/index.d.ts +0 -1
  100. package/es/components/pay/toC/PaymentList/utils.d.ts +36 -0
  101. package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +1 -1
  102. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
  103. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +2 -0
  104. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +2 -0
  105. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +2 -0
  106. package/es/components/pay/toC/PaymentMethods/StripePay/index.d.ts +10 -0
  107. package/es/components/pay/toC/model.d.ts +40 -0
  108. package/es/components/pay/toC/utils.d.ts +57 -0
  109. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  110. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  111. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
  112. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  113. package/es/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  114. package/es/components/schedules/calendar/calendarItem.d.ts +0 -1
  115. package/es/components/schedules/calendar/index.d.ts +0 -1
  116. package/es/components/schedules/components/CurrentDay/index.d.ts +0 -1
  117. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  118. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  119. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  120. package/es/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  121. package/es/components/schedules/products/list/index.d.ts +0 -1
  122. package/es/components/schedules/resources/list/index.d.ts +0 -1
  123. package/es/components/shoppingCart/locales.d.ts +33 -0
  124. package/es/components/shoppingCart/type.d.ts +48 -0
  125. package/es/components/subTotal/locales.d.ts +42 -0
  126. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +6 -0
  127. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +0 -1
  128. package/es/components/ticketBooking/locales.d.ts +174 -0
  129. package/es/components/ticketBooking/utils/index.d.ts +25 -0
  130. package/es/hooks/useEngineContext.d.ts +10 -0
  131. package/es/hooks/usePaymentLogger.d.ts +0 -1
  132. package/es/hooks/useWindowSize.d.ts +5 -0
  133. package/es/index.d.ts +2 -1
  134. package/es/index.js +2 -1
  135. package/es/plus/orderList/components/BatchActionBar.d.ts +9 -0
  136. package/es/plus/orderList/components/BatchActionBar.js +861 -0
  137. package/es/plus/orderList/components/FilterList.d.ts +8 -0
  138. package/es/plus/orderList/components/FilterList.js +78 -0
  139. package/es/plus/orderList/components/HandleActions.d.ts +4 -0
  140. package/es/plus/orderList/components/HandleActions.js +24 -0
  141. package/es/plus/orderList/components/QuickFilter.d.ts +4 -0
  142. package/es/plus/orderList/components/QuickFilter.js +14 -0
  143. package/es/plus/orderList/components/Reset.d.ts +6 -0
  144. package/es/plus/orderList/components/Reset.js +23 -0
  145. package/es/plus/orderList/components/Toolbar.d.ts +5 -0
  146. package/es/plus/orderList/components/Toolbar.js +57 -0
  147. package/es/plus/orderList/config.d.ts +154 -0
  148. package/es/plus/orderList/config.js +786 -0
  149. package/es/plus/orderList/index.d.ts +9 -0
  150. package/es/plus/orderList/index.js +128 -0
  151. package/es/plus/orderList/index.less +125 -0
  152. package/es/plus/orderList/locales.d.ts +372 -0
  153. package/es/plus/orderList/locales.js +459 -0
  154. package/es/plus/orderList/serve.d.ts +42 -0
  155. package/es/plus/orderList/serve.js +351 -0
  156. package/es/plus/productSelect/CategoryTabs/index.d.ts +21 -0
  157. package/es/plus/productSelect/ProductCard/index.d.ts +47 -0
  158. package/es/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
  159. package/es/plus/saasCreateOrganization/components/Header.d.ts +0 -1
  160. package/es/plus/saasRegister/components/EntryEmail.d.ts +0 -1
  161. package/es/plus/saasRegister/components/EntryInfo.d.ts +0 -1
  162. package/es/plus/saasRegister/components/GoLogin.d.ts +0 -1
  163. package/es/plus/saasRegister/components/Header.d.ts +0 -1
  164. package/es/plus/saasRegister/components/VerifyError.d.ts +0 -1
  165. package/es/plus/saasRegister/components/VerifyingLink.d.ts +0 -1
  166. package/es/plus/selectHolder/locales.d.ts +21 -0
  167. package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +5 -0
  168. package/es/plus/skuOptionsSelection/components/VariantCard/index.d.ts +0 -1
  169. package/es/plus/skuOptionsSelection/index.d.ts +5 -0
  170. package/es/plus/skuOptionsSelection/types.d.ts +429 -0
  171. package/es/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
  172. package/es/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
  173. package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
  174. package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
  175. package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
  176. package/es/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
  177. package/es/pro/NumericStepper/index.d.ts +68 -0
  178. package/es/pro/NumericStepper/index.js +175 -107
  179. package/es/pro/NumericStepper/index.less +295 -143
  180. package/es/pro/Selector/Selector.d.ts +14 -0
  181. package/es/pro/Selector/Selector.js +33 -26
  182. package/es/pro/Selector/components/Card/index.d.ts +57 -0
  183. package/es/pro/Selector/components/Card/index.js +2 -3
  184. package/es/pro/Selector/components/Card/index.less +11 -4
  185. package/es/pro/Selector/components/Indicator/index.d.ts +20 -0
  186. package/es/pro/Selector/components/Indicator/index.js +2 -1
  187. package/es/pro/Selector/components/Indicator/index.less +4 -1
  188. package/es/pro/Selector/components/LayoutContainer/index.d.ts +18 -0
  189. package/es/pro/Selector/components/LayoutContainer/index.js +226 -9
  190. package/es/pro/Selector/components/LayoutContainer/index.less +19 -0
  191. package/es/pro/Selector/demo.d.ts +2 -0
  192. package/es/pro/Selector/demo.js +1 -1
  193. package/es/pro/Selector/hooks/usePresetItemProps.js +2 -0
  194. package/es/pro/Selector/hooks/usePresetProps.d.ts +24 -0
  195. package/es/pro/Selector/hooks/usePresetProps.js +60 -6
  196. package/es/pro/Selector/selector.less +0 -64
  197. package/es/pro/Selector/types.d.ts +213 -0
  198. package/es/pro/keyboards/index.d.ts +2 -0
  199. package/es/pro/keyboards/index.js +1 -0
  200. package/es/pro/keyboards/locales.d.ts +24 -0
  201. package/es/pro/keyboards/locales.js +35 -0
  202. package/es/pro/keyboards/numberKeyboard/index.d.ts +16 -0
  203. package/es/pro/keyboards/numberKeyboard/index.js +523 -0
  204. package/es/pro/keyboards/numberKeyboard/index.less +59 -0
  205. package/es/pro/keyboards/numberKeyboard/types.d.ts +63 -0
  206. package/es/pro/keyboards/numberKeyboard/types.js +1 -0
  207. package/es/pro/pisellNumberSelector/example.d.ts +3 -0
  208. package/lib/components/Sales/Cart/utils.d.ts +68 -0
  209. package/lib/components/Sales/Checkout/utils.d.ts +41 -0
  210. package/lib/components/Sales/Summary/utils.d.ts +51 -0
  211. package/lib/components/appointmentBooking/components/Header/index.d.ts +3 -0
  212. package/lib/components/appointmentBooking/components/Services/index.d.ts +4 -0
  213. package/lib/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +2 -0
  214. package/lib/components/appointmentBooking/hooks.d.ts +107 -0
  215. package/lib/components/appointmentBooking/locales.d.ts +366 -0
  216. package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
  217. package/lib/components/booking/components/TabProduct/index.d.ts +0 -1
  218. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
  219. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  220. package/lib/components/booking/components/collapsibleList/utils.d.ts +0 -1
  221. package/lib/components/booking/components/emptyBooking/index.d.ts +0 -1
  222. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  223. package/lib/components/booking/components/footer/amount.d.ts +25 -0
  224. package/lib/components/booking/components/footer/index.d.ts +0 -1
  225. package/lib/components/booking/components/tabPane/index.d.ts +4 -0
  226. package/lib/components/booking/dashboard/serve.d.ts +1 -0
  227. package/lib/components/booking/deposit/ClientItem/index.d.ts +18 -0
  228. package/lib/components/booking/deposit/DepositItem/index.d.ts +25 -0
  229. package/lib/components/booking/deposit/index.d.ts +2 -0
  230. package/lib/components/booking/forms/forms.d.ts +30 -0
  231. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  232. package/lib/components/booking/forms/serve.d.ts +18 -0
  233. package/lib/components/booking/forms/table/index.d.ts +0 -1
  234. package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  235. package/lib/components/booking/info/addServiceVariant/index.d.ts +6 -0
  236. package/lib/components/booking/info/client/index.d.ts +4 -0
  237. package/lib/components/booking/info/client/serve.d.ts +2 -0
  238. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
  239. package/lib/components/booking/info/clientVariant/utils.d.ts +1 -0
  240. package/lib/components/booking/info/date/index.d.ts +4 -0
  241. package/lib/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
  242. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +9 -0
  243. package/lib/components/booking/info/index.d.ts +0 -1
  244. package/lib/components/booking/info/model.d.ts +14 -0
  245. package/lib/components/booking/info/notes/index.d.ts +0 -1
  246. package/lib/components/booking/info/pet/serve.d.ts +1 -0
  247. package/lib/components/booking/info/service/actions/index.d.ts +0 -1
  248. package/lib/components/booking/info/service/addTimeModal/index.d.ts +0 -1
  249. package/lib/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
  250. package/lib/components/booking/info/service/addTimeModal/utils.d.ts +31 -0
  251. package/lib/components/booking/info/service/serve.d.ts +20 -0
  252. package/lib/components/booking/info/service/serviceList/index.d.ts +5 -0
  253. package/lib/components/booking/info/service/serviceManager/index.d.ts +20 -0
  254. package/lib/components/booking/info/service2/Group/utils.d.ts +14 -0
  255. package/lib/components/booking/info/service2/utils.d.ts +248 -0
  256. package/lib/components/booking/info/utils.d.ts +50 -0
  257. package/lib/components/booking/info2/serve.d.ts +6 -0
  258. package/lib/components/booking/info2/service/actions/index.d.ts +0 -1
  259. package/lib/components/booking/info2/service/addService/index.d.ts +11 -0
  260. package/lib/components/booking/info2/service/addService/utils.d.ts +98 -0
  261. package/lib/components/booking/info2/service/addTimeModal/index.d.ts +0 -1
  262. package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +0 -1
  263. package/lib/components/booking/info2/service/editService/utils.d.ts +13 -0
  264. package/lib/components/booking/info2/service/serviceList/index.d.ts +5 -0
  265. package/lib/components/booking/info2/utilsByBooking.d.ts +35 -0
  266. package/lib/components/booking/locales.d.ts +837 -0
  267. package/lib/components/booking/materiels/duration/index.d.ts +0 -1
  268. package/lib/components/booking/materiels/holder/index.d.ts +0 -1
  269. package/lib/components/booking/materiels/startTime/index.d.ts +0 -1
  270. package/lib/components/booking/model.d.ts +119 -0
  271. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  272. package/lib/components/booking/notes/NoteBlock/index.d.ts +0 -1
  273. package/lib/components/booking/notes/addNote/index.d.ts +3 -0
  274. package/lib/components/booking/utils.d.ts +175 -0
  275. package/lib/components/eftposPay/amount.d.ts +0 -1
  276. package/lib/components/eftposPay/app.d.ts +10 -0
  277. package/lib/components/eftposPay/component/fail/failCustom.d.ts +3 -0
  278. package/lib/components/eftposPay/component/fail/index.d.ts +3 -0
  279. package/lib/components/eftposPay/const.d.ts +184 -0
  280. package/lib/components/eftposPay/device.d.ts +23 -0
  281. package/lib/components/eftposPay/hooks.d.ts +35 -0
  282. package/lib/components/eftposPay/index.d.ts +4 -0
  283. package/lib/components/eftposPay/locales.d.ts +330 -0
  284. package/lib/components/eftposPay/manufacturer.d.ts +7 -0
  285. package/lib/components/eftposPay/pay.d.ts +20 -0
  286. package/lib/components/eftposPay/payo/config.d.ts +0 -1
  287. package/lib/components/eftposPay/store/index.d.ts +355 -0
  288. package/lib/components/eftposPay/tip.d.ts +0 -1
  289. package/lib/components/eftposPay/tyro/index.d.ts +9 -0
  290. package/lib/components/eftposPay/windcave/receiptAction.d.ts +0 -1
  291. package/lib/components/eftposPay/windcave/windcave.d.ts +0 -1
  292. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +2 -0
  293. package/lib/components/eventBooking/components/Voucher/components/locales.d.ts +39 -0
  294. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  295. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  296. package/lib/components/login/index.d.ts +0 -1
  297. package/lib/components/pay/toC/PaymentList/utils.d.ts +36 -0
  298. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +1 -1
  299. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
  300. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +2 -0
  301. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +2 -0
  302. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +2 -0
  303. package/lib/components/pay/toC/PaymentMethods/StripePay/index.d.ts +10 -0
  304. package/lib/components/pay/toC/model.d.ts +40 -0
  305. package/lib/components/pay/toC/utils.d.ts +57 -0
  306. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  307. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  308. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
  309. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  310. package/lib/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  311. package/lib/components/schedules/calendar/calendarItem.d.ts +0 -1
  312. package/lib/components/schedules/calendar/index.d.ts +0 -1
  313. package/lib/components/schedules/components/CurrentDay/index.d.ts +0 -1
  314. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  315. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  316. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  317. package/lib/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  318. package/lib/components/schedules/products/list/index.d.ts +0 -1
  319. package/lib/components/schedules/resources/list/index.d.ts +0 -1
  320. package/lib/components/shoppingCart/locales.d.ts +33 -0
  321. package/lib/components/shoppingCart/type.d.ts +48 -0
  322. package/lib/components/subTotal/locales.d.ts +42 -0
  323. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +6 -0
  324. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +0 -1
  325. package/lib/components/ticketBooking/locales.d.ts +174 -0
  326. package/lib/components/ticketBooking/utils/index.d.ts +25 -0
  327. package/lib/hooks/useEngineContext.d.ts +10 -0
  328. package/lib/hooks/usePaymentLogger.d.ts +0 -1
  329. package/lib/hooks/useWindowSize.d.ts +5 -0
  330. package/lib/index.d.ts +2 -1
  331. package/lib/index.js +4 -1
  332. package/lib/plus/orderList/components/BatchActionBar.d.ts +9 -0
  333. package/lib/plus/orderList/components/BatchActionBar.js +584 -0
  334. package/lib/plus/orderList/components/FilterList.d.ts +8 -0
  335. package/lib/plus/orderList/components/FilterList.js +121 -0
  336. package/lib/plus/orderList/components/HandleActions.d.ts +4 -0
  337. package/lib/plus/orderList/components/HandleActions.js +52 -0
  338. package/lib/plus/orderList/components/QuickFilter.d.ts +4 -0
  339. package/lib/plus/orderList/components/QuickFilter.js +43 -0
  340. package/lib/plus/orderList/components/Reset.d.ts +6 -0
  341. package/lib/plus/orderList/components/Reset.js +58 -0
  342. package/lib/plus/orderList/components/Toolbar.d.ts +5 -0
  343. package/lib/plus/orderList/components/Toolbar.js +68 -0
  344. package/lib/plus/orderList/config.d.ts +154 -0
  345. package/lib/plus/orderList/config.js +764 -0
  346. package/lib/plus/orderList/index.d.ts +9 -0
  347. package/lib/plus/orderList/index.js +132 -0
  348. package/lib/plus/orderList/index.less +125 -0
  349. package/lib/plus/orderList/locales.d.ts +372 -0
  350. package/lib/plus/orderList/locales.js +471 -0
  351. package/lib/plus/orderList/serve.d.ts +42 -0
  352. package/lib/plus/orderList/serve.js +177 -0
  353. package/lib/plus/productSelect/CategoryTabs/index.d.ts +21 -0
  354. package/lib/plus/productSelect/ProductCard/index.d.ts +47 -0
  355. package/lib/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
  356. package/lib/plus/saasCreateOrganization/components/Header.d.ts +0 -1
  357. package/lib/plus/saasRegister/components/EntryEmail.d.ts +0 -1
  358. package/lib/plus/saasRegister/components/EntryInfo.d.ts +0 -1
  359. package/lib/plus/saasRegister/components/GoLogin.d.ts +0 -1
  360. package/lib/plus/saasRegister/components/Header.d.ts +0 -1
  361. package/lib/plus/saasRegister/components/VerifyError.d.ts +0 -1
  362. package/lib/plus/saasRegister/components/VerifyingLink.d.ts +0 -1
  363. package/lib/plus/selectHolder/locales.d.ts +21 -0
  364. package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +5 -0
  365. package/lib/plus/skuOptionsSelection/components/VariantCard/index.d.ts +0 -1
  366. package/lib/plus/skuOptionsSelection/index.d.ts +5 -0
  367. package/lib/plus/skuOptionsSelection/types.d.ts +429 -0
  368. package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
  369. package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
  370. package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
  371. package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
  372. package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
  373. package/lib/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
  374. package/lib/pro/NumericStepper/index.d.ts +68 -0
  375. package/lib/pro/NumericStepper/index.js +176 -88
  376. package/lib/pro/NumericStepper/index.less +295 -143
  377. package/lib/pro/Selector/Selector.d.ts +14 -0
  378. package/lib/pro/Selector/Selector.js +27 -16
  379. package/lib/pro/Selector/components/Card/index.d.ts +57 -0
  380. package/lib/pro/Selector/components/Card/index.js +9 -1
  381. package/lib/pro/Selector/components/Card/index.less +11 -4
  382. package/lib/pro/Selector/components/Indicator/index.d.ts +20 -0
  383. package/lib/pro/Selector/components/Indicator/index.js +1 -1
  384. package/lib/pro/Selector/components/Indicator/index.less +4 -1
  385. package/lib/pro/Selector/components/LayoutContainer/index.d.ts +18 -0
  386. package/lib/pro/Selector/components/LayoutContainer/index.js +130 -2
  387. package/lib/pro/Selector/components/LayoutContainer/index.less +19 -0
  388. package/lib/pro/Selector/demo.d.ts +2 -0
  389. package/lib/pro/Selector/demo.js +1 -1
  390. package/lib/pro/Selector/hooks/usePresetItemProps.js +2 -0
  391. package/lib/pro/Selector/hooks/usePresetProps.d.ts +24 -0
  392. package/lib/pro/Selector/hooks/usePresetProps.js +28 -6
  393. package/lib/pro/Selector/selector.less +0 -64
  394. package/lib/pro/Selector/types.d.ts +213 -0
  395. package/lib/pro/keyboards/index.d.ts +2 -0
  396. package/lib/pro/keyboards/index.js +39 -0
  397. package/lib/pro/keyboards/locales.d.ts +24 -0
  398. package/lib/pro/keyboards/locales.js +47 -0
  399. package/lib/pro/keyboards/numberKeyboard/index.d.ts +16 -0
  400. package/lib/pro/keyboards/numberKeyboard/index.js +400 -0
  401. package/lib/pro/keyboards/numberKeyboard/index.less +59 -0
  402. package/lib/pro/keyboards/numberKeyboard/types.d.ts +63 -0
  403. package/lib/pro/keyboards/numberKeyboard/types.js +17 -0
  404. package/lib/pro/pisellNumberSelector/example.d.ts +3 -0
  405. package/lowcode/order-list/meta.ts +87 -0
  406. package/package.json +6 -6
  407. package/es/components/systemSettings/registry/components/docs/images/image-1.png +0 -0
  408. package/es/components/systemSettings/registry/components/docs/images/image-2.png +0 -0
  409. package/es/components/systemSettings/registry/components/docs/images/image-3.png +0 -0
  410. package/es/components/systemSettings/registry/components/docs/images/image-4.png +0 -0
  411. package/es/components/systemSettings/registry/components/docs/images/image-5.png +0 -0
  412. package/es/components/systemSettings/registry/components/docs/images/image-6.png +0 -0
  413. package/es/components/systemSettings/registry/components/docs/images/image-7.png +0 -0
  414. package/es/components/systemSettings/registry/components/docs/images/image-8.png +0 -0
  415. package/es/components/systemSettings/registry/components/docs/images/image.png +0 -0
  416. package/lib/components/systemSettings/registry/components/docs/images/image-1.png +0 -0
  417. package/lib/components/systemSettings/registry/components/docs/images/image-2.png +0 -0
  418. package/lib/components/systemSettings/registry/components/docs/images/image-3.png +0 -0
  419. package/lib/components/systemSettings/registry/components/docs/images/image-4.png +0 -0
  420. package/lib/components/systemSettings/registry/components/docs/images/image-5.png +0 -0
  421. package/lib/components/systemSettings/registry/components/docs/images/image-6.png +0 -0
  422. package/lib/components/systemSettings/registry/components/docs/images/image-7.png +0 -0
  423. package/lib/components/systemSettings/registry/components/docs/images/image-8.png +0 -0
  424. package/lib/components/systemSettings/registry/components/docs/images/image.png +0 -0
@@ -0,0 +1,121 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+
29
+ // src/plus/orderList/components/FilterList.tsx
30
+ var FilterList_exports = {};
31
+ __export(FilterList_exports, {
32
+ default: () => FilterList_default
33
+ });
34
+ module.exports = __toCommonJS(FilterList_exports);
35
+ var import_react = __toESM(require("react"));
36
+ var import_materials = require("@pisell/materials");
37
+ var import_antd = require("antd");
38
+ var import_dayjs = __toESM(require("dayjs"));
39
+ var { useContainerContext } = import_materials.PisellDataSourceContainer;
40
+ var FilterList = ({ locales, valueType, setValueType }) => {
41
+ const form = import_antd.Form.useFormInstance();
42
+ const { serverActions } = useContainerContext();
43
+ const { list } = serverActions;
44
+ const handleTodayClick = () => {
45
+ const today = (0, import_dayjs.default)();
46
+ const params = {
47
+ orderDate: [today.startOf("day"), today.endOf("day")],
48
+ payment_status: void 0
49
+ };
50
+ form.setFieldsValue(params);
51
+ list.onSearch(params);
52
+ setValueType(1);
53
+ };
54
+ const handleTodayToPayClick = () => {
55
+ const today = (0, import_dayjs.default)();
56
+ const params = {
57
+ orderDate: [today.startOf("day"), today.endOf("day")],
58
+ payment_status: ["payment_processing", "partially_paid"]
59
+ // 默认设置为未付款,也可以设置为其他待支付状态
60
+ };
61
+ form.setFieldsValue(params);
62
+ list.onSearch(params);
63
+ setValueType(2);
64
+ };
65
+ const handleTodayRefundsClick = () => {
66
+ const today = (0, import_dayjs.default)();
67
+ const params = {
68
+ orderDate: [today.startOf("day"), today.endOf("day")],
69
+ payment_status: ["refunded", "partially_refunded"]
70
+ // 默认设置为已退款
71
+ };
72
+ form.setFieldsValue(params);
73
+ list.onSearch(params);
74
+ setValueType(3);
75
+ };
76
+ const handleLast7DaysClick = () => {
77
+ const today = (0, import_dayjs.default)();
78
+ const sevenDaysAgo = today.subtract(6, "day");
79
+ const params = {
80
+ orderDate: [sevenDaysAgo.startOf("day"), today.endOf("day")],
81
+ payment_status: void 0
82
+ };
83
+ form.setFieldsValue(params);
84
+ list.onSearch(params);
85
+ setValueType(4);
86
+ };
87
+ return /* @__PURE__ */ import_react.default.createElement("div", { style: { display: "flex", gap: "8px" } }, /* @__PURE__ */ import_react.default.createElement(
88
+ import_antd.Button,
89
+ {
90
+ type: "primary",
91
+ ghost: valueType !== 1,
92
+ onClick: handleTodayClick
93
+ },
94
+ locales.getText("pisell2.orderList.filterButton.todayOrders")
95
+ ), /* @__PURE__ */ import_react.default.createElement(
96
+ import_antd.Button,
97
+ {
98
+ type: "primary",
99
+ ghost: valueType !== 2,
100
+ onClick: handleTodayToPayClick
101
+ },
102
+ locales.getText("pisell2.orderList.filterButton.todayPending")
103
+ ), /* @__PURE__ */ import_react.default.createElement(
104
+ import_antd.Button,
105
+ {
106
+ type: "primary",
107
+ ghost: valueType !== 3,
108
+ onClick: handleTodayRefundsClick
109
+ },
110
+ locales.getText("pisell2.orderList.filterButton.todayRefunds")
111
+ ), /* @__PURE__ */ import_react.default.createElement(
112
+ import_antd.Button,
113
+ {
114
+ type: "primary",
115
+ ghost: valueType !== 4,
116
+ onClick: handleLast7DaysClick
117
+ },
118
+ locales.getText("pisell2.orderList.filterButton.last7Days")
119
+ ));
120
+ };
121
+ var FilterList_default = FilterList;
@@ -0,0 +1,4 @@
1
+ declare const HandleActions: (props: {
2
+ locales: any;
3
+ }) => JSX.Element;
4
+ export default HandleActions;
@@ -0,0 +1,52 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+
29
+ // src/plus/orderList/components/HandleActions.tsx
30
+ var HandleActions_exports = {};
31
+ __export(HandleActions_exports, {
32
+ default: () => HandleActions_default
33
+ });
34
+ module.exports = __toCommonJS(HandleActions_exports);
35
+ var import_react = __toESM(require("react"));
36
+ var import_materials = require("@pisell/materials");
37
+ var import_config = require("../config");
38
+ var { ColumnsSetting } = import_materials.PisellDataSourceContainer;
39
+ var HandleActions = (props) => {
40
+ const { locales } = props;
41
+ const filterButtonListValue = (0, import_react.useMemo)(
42
+ () => {
43
+ return {
44
+ otherFilter: (0, import_config.getFilterButtonList)(locales)
45
+ };
46
+ },
47
+ [locales]
48
+ );
49
+ const sortList = (0, import_react.useMemo)(() => (0, import_config.getSortList)(locales), [locales]);
50
+ return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(ColumnsSetting, null), /* @__PURE__ */ import_react.default.createElement(import_materials.PisellSort, { hasForm: false, list: sortList }), /* @__PURE__ */ import_react.default.createElement(import_materials.PisellFilter, { placement: "bottomLeft", hasForm: false, value: filterButtonListValue }));
51
+ };
52
+ var HandleActions_default = HandleActions;
@@ -0,0 +1,4 @@
1
+ declare const QuickFilter: (props: {
2
+ locales: any;
3
+ }) => JSX.Element;
4
+ export default QuickFilter;
@@ -0,0 +1,43 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+
29
+ // src/plus/orderList/components/QuickFilter.tsx
30
+ var QuickFilter_exports = {};
31
+ __export(QuickFilter_exports, {
32
+ default: () => QuickFilter_default
33
+ });
34
+ module.exports = __toCommonJS(QuickFilter_exports);
35
+ var import_react = __toESM(require("react"));
36
+ var import_materials = require("@pisell/materials");
37
+ var import_config = require("../config");
38
+ var QuickFilter = (props) => {
39
+ const { locales } = props;
40
+ const quickFilterList = (0, import_react.useMemo)(() => (0, import_config.getQuickFilterList)(locales), [locales]);
41
+ return /* @__PURE__ */ import_react.default.createElement(import_materials.PisellQuickFilter, { hasForm: false, filterList: quickFilterList });
42
+ };
43
+ var QuickFilter_default = QuickFilter;
@@ -0,0 +1,6 @@
1
+ declare const Reset: (props: {
2
+ locales: any;
3
+ setValueType: (value: any) => void;
4
+ clearSelectedData: () => void;
5
+ }) => JSX.Element;
6
+ export default Reset;
@@ -0,0 +1,58 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+
29
+ // src/plus/orderList/components/Reset.tsx
30
+ var Reset_exports = {};
31
+ __export(Reset_exports, {
32
+ default: () => Reset_default
33
+ });
34
+ module.exports = __toCommonJS(Reset_exports);
35
+ var import_react = __toESM(require("react"));
36
+ var import_antd = require("antd");
37
+ var import_icons = require("@ant-design/icons");
38
+ var import_materials = require("@pisell/materials");
39
+ var { useContainerContext } = import_materials.PisellDataSourceContainer;
40
+ var Reset = (props) => {
41
+ const { locales, setValueType, clearSelectedData } = props;
42
+ const { serverActions: { list } } = useContainerContext();
43
+ const form = import_antd.Form.useFormInstance();
44
+ return /* @__PURE__ */ import_react.default.createElement(
45
+ import_antd.Button,
46
+ {
47
+ icon: /* @__PURE__ */ import_react.default.createElement(import_icons.ReloadOutlined, null),
48
+ onClick: () => {
49
+ form.resetFields();
50
+ list.onReset();
51
+ setValueType(void 0);
52
+ clearSelectedData();
53
+ }
54
+ },
55
+ locales.getText("pisell2.orderList.common.reset")
56
+ );
57
+ };
58
+ var Reset_default = Reset;
@@ -0,0 +1,5 @@
1
+ declare const Toolbar: (props: {
2
+ locales: any;
3
+ clearSelectedData: () => void;
4
+ }) => JSX.Element;
5
+ export default Toolbar;
@@ -0,0 +1,68 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+
29
+ // src/plus/orderList/components/Toolbar.tsx
30
+ var Toolbar_exports = {};
31
+ __export(Toolbar_exports, {
32
+ default: () => Toolbar_default
33
+ });
34
+ module.exports = __toCommonJS(Toolbar_exports);
35
+ var import_react = __toESM(require("react"));
36
+ var import_materials = require("@pisell/materials");
37
+ var import_antd = require("antd");
38
+ var import_Reset = __toESM(require("./Reset"));
39
+ var import_FilterList = __toESM(require("./FilterList"));
40
+ var import_HandleActions = __toESM(require("./HandleActions"));
41
+ var import_QuickFilter = __toESM(require("./QuickFilter"));
42
+ var import_materials2 = require("@pisell/materials");
43
+ var import_dayjs = __toESM(require("dayjs"));
44
+ var { useContainerContext } = import_materials2.PisellDataSourceContainer;
45
+ var Toolbar = (props) => {
46
+ const { locales, clearSelectedData } = props;
47
+ const { serverActions, refManager, ...otherProps } = useContainerContext();
48
+ const [valueType, setValueType] = (0, import_react.useState)(void 0);
49
+ return /* @__PURE__ */ import_react.default.createElement(
50
+ import_antd.Form,
51
+ {
52
+ size: "large",
53
+ layout: "vertical",
54
+ initialValues: { orderDate: [(0, import_dayjs.default)().startOf("day"), (0, import_dayjs.default)().endOf("day")] },
55
+ ...otherProps
56
+ },
57
+ /* @__PURE__ */ import_react.default.createElement(
58
+ import_materials.PisellToolBar,
59
+ {
60
+ topLeft: /* @__PURE__ */ import_react.default.createElement(import_QuickFilter.default, { locales }),
61
+ topRight: /* @__PURE__ */ import_react.default.createElement(import_Reset.default, { locales, setValueType, clearSelectedData }),
62
+ bottomLeft: /* @__PURE__ */ import_react.default.createElement(import_FilterList.default, { valueType, setValueType, locales }),
63
+ bottomRight: /* @__PURE__ */ import_react.default.createElement(import_HandleActions.default, { locales })
64
+ }
65
+ )
66
+ );
67
+ };
68
+ var Toolbar_default = Toolbar;
@@ -0,0 +1,154 @@
1
+ /**
2
+ * 获取表格列配置(支持多语言)
3
+ * @param locales - 多语言对象
4
+ * @returns 表格列配置数组
5
+ */
6
+ export declare const getTableColumns: (locales: any) => ({
7
+ title: any;
8
+ dataIndex: string;
9
+ key: string;
10
+ width: number;
11
+ render: (value: any, record: any) => JSX.Element | "-";
12
+ isShow?: undefined;
13
+ } | {
14
+ title: any;
15
+ dataIndex: string;
16
+ key: string;
17
+ width: number;
18
+ render: (value: any) => string;
19
+ isShow?: undefined;
20
+ } | {
21
+ title: any;
22
+ dataIndex: string;
23
+ key: string;
24
+ width: number;
25
+ isShow: boolean;
26
+ render: (value: any) => string;
27
+ } | {
28
+ title: any;
29
+ dataIndex: string;
30
+ key: string;
31
+ isShow: boolean;
32
+ width: number;
33
+ render: (value: any, record: any) => JSX.Element;
34
+ } | {
35
+ title: any;
36
+ dataIndex: string;
37
+ key: string;
38
+ isShow: boolean;
39
+ width: number;
40
+ render: (value: any) => JSX.Element | "-";
41
+ })[];
42
+ export declare const getQuickFilterList: (locales: any) => ({
43
+ name: string;
44
+ type: string;
45
+ key: string;
46
+ label: any;
47
+ other: {
48
+ placeholder: any;
49
+ allowClear?: undefined;
50
+ trigger?: undefined;
51
+ style?: undefined;
52
+ };
53
+ } | {
54
+ name: string;
55
+ type: string;
56
+ key: string;
57
+ other: {
58
+ allowClear: boolean;
59
+ placeholder: any;
60
+ trigger: string[];
61
+ style: {
62
+ width: string;
63
+ };
64
+ };
65
+ label?: undefined;
66
+ })[];
67
+ export declare const getFilterButtonList: (locales: any) => ({
68
+ name: string;
69
+ type: string;
70
+ key: string;
71
+ label: any;
72
+ other: {
73
+ allowClear: boolean;
74
+ mode: string;
75
+ placeholder: any;
76
+ options: {
77
+ label: string;
78
+ value: string;
79
+ }[];
80
+ isSearchServer?: undefined;
81
+ showSearch?: undefined;
82
+ };
83
+ } | {
84
+ name: string;
85
+ type: string;
86
+ key: string;
87
+ label: any;
88
+ other: {
89
+ allowClear: boolean;
90
+ isSearchServer: boolean;
91
+ showSearch: boolean;
92
+ placeholder: any;
93
+ options: (params?: string) => Promise<any>;
94
+ mode?: undefined;
95
+ };
96
+ } | {
97
+ name: string;
98
+ type: string;
99
+ key: string;
100
+ label: any;
101
+ other: {
102
+ allowClear: boolean;
103
+ mode: string;
104
+ placeholder: any;
105
+ options: () => Promise<any>;
106
+ isSearchServer?: undefined;
107
+ showSearch?: undefined;
108
+ };
109
+ } | {
110
+ name: string;
111
+ type: string;
112
+ key: string;
113
+ label: any;
114
+ other: {
115
+ placeholder: any;
116
+ allowClear?: undefined;
117
+ mode?: undefined;
118
+ options?: undefined;
119
+ isSearchServer?: undefined;
120
+ showSearch?: undefined;
121
+ };
122
+ } | {
123
+ name: string;
124
+ type: string;
125
+ key: string;
126
+ label: any;
127
+ other: {
128
+ allowClear: boolean;
129
+ mode: string;
130
+ isSearchServer: boolean;
131
+ showSearch: boolean;
132
+ placeholder: any;
133
+ options: (params?: string) => Promise<any>;
134
+ };
135
+ } | {
136
+ name: string;
137
+ type: string;
138
+ key: string;
139
+ label: any;
140
+ other: {
141
+ allowClear: boolean;
142
+ placeholder: any;
143
+ options: () => Promise<any>;
144
+ mode?: undefined;
145
+ isSearchServer?: undefined;
146
+ showSearch?: undefined;
147
+ };
148
+ })[];
149
+ export declare const getSortList: (locales: any) => {
150
+ type: string;
151
+ isCustom: boolean;
152
+ name: string;
153
+ label: any;
154
+ }[];