@pisell/private-materials 6.5.26 → 6.6.1

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 (336) 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 +2 -2
  6. package/build/lowcode/preview.js +146 -165
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +9 -9
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +9 -9
  11. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -1
  12. package/es/components/appointmentBooking/components/Cart/Item/index.js +4 -2
  13. package/es/components/appointmentBooking/components/ConfirmInformation/index.js +273 -76
  14. package/es/components/appointmentBooking/components/ConfirmInformation/index.less +15 -0
  15. package/es/components/appointmentBooking/hooks.d.ts +1 -0
  16. package/es/components/appointmentBooking/hooks.js +30 -30
  17. package/es/components/appointmentBooking/locales.d.ts +3 -0
  18. package/es/components/appointmentBooking/locales.js +9 -6
  19. package/es/components/booking/components/actionButtons/index.js +34 -20
  20. package/es/components/booking/components/customSelect/index.js +1 -1
  21. package/es/components/booking/components/footer/amount.js +25 -8
  22. package/es/components/booking/components/footer/index.js +66 -33
  23. package/es/components/booking/components/footer/utils.d.ts +7 -0
  24. package/es/components/booking/components/footer/utils.js +126 -99
  25. package/es/components/booking/components/voucher/index.js +25 -9
  26. package/es/components/booking/dashboard/serve.js +1 -6
  27. package/es/components/booking/forms/footer.js +24 -10
  28. package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  29. package/es/components/booking/forms/serve.js +2 -12
  30. package/es/components/booking/hooks/useQuotation.js +69 -21
  31. package/es/components/booking/info/client/index.js +28 -13
  32. package/es/components/booking/info/client/serve.js +2 -11
  33. package/es/components/booking/info/clientVariant/hooks/useClientFn.js +16 -10
  34. package/es/components/booking/info/clientVariant/vertical/SelectDrawer.js +10 -2
  35. package/es/components/booking/info/clientVariant/vertical/index.js +1 -1
  36. package/es/components/booking/info/hooks/useHolderConfig.d.ts +1 -0
  37. package/es/components/booking/info/hooks/useHolderConfig.js +9 -2
  38. package/es/components/booking/info/main.js +3 -2
  39. package/es/components/booking/info/model.js +5 -0
  40. package/es/components/booking/info/pet/serve.js +1 -6
  41. package/es/components/booking/info/service/Lists.d.ts +1 -1
  42. package/es/components/booking/info/service/Lists.js +10 -4
  43. package/es/components/booking/info/service/addTimeModal/serve.js +1 -11
  44. package/es/components/booking/info/service/serve.d.ts +14 -0
  45. package/es/components/booking/info/service/serve.js +25 -18
  46. package/es/components/booking/info/service2/Group/utils.js +2 -0
  47. package/es/components/booking/info/service2/utils.d.ts +1 -33
  48. package/es/components/booking/info/service2/utils.js +92 -56
  49. package/es/components/booking/info/utils.js +5 -0
  50. package/es/components/booking/info2/cartClientCard/index.js +49 -9
  51. package/es/components/booking/info2/index.js +3 -2
  52. package/es/components/booking/info2/serve.js +1 -6
  53. package/es/components/booking/info2/service/addService/index.js +146 -89
  54. package/es/components/booking/info2/service/addService/utils.d.ts +8 -0
  55. package/es/components/booking/info2/service/addService/utils.js +83 -14
  56. package/es/components/booking/info2/service/contactInfoMode/index.d.ts +2 -0
  57. package/es/components/booking/info2/service/contactInfoMode/index.js +94 -0
  58. package/es/components/booking/info2/service/editService/Holder/index.d.ts +12 -0
  59. package/es/components/booking/info2/service/editService/Holder/index.js +193 -0
  60. package/es/components/booking/info2/service/editService/Holder/index.less +63 -0
  61. package/es/components/booking/info2/service/editService/index.js +313 -57
  62. package/es/components/booking/info2/utilsByBooking.js +19 -14
  63. package/es/components/booking/locales.d.ts +36 -0
  64. package/es/components/booking/locales.js +48 -3
  65. package/es/components/booking/model.d.ts +4 -0
  66. package/es/components/booking/model.js +3 -0
  67. package/es/components/booking/utils/confirmHolderModal.d.ts +13 -0
  68. package/es/components/booking/utils/confirmHolderModal.js +318 -0
  69. package/es/components/booking/utils/confirmHolderModal.less +40 -0
  70. package/es/components/booking/utils/selectHolderModal.d.ts +24 -0
  71. package/es/components/booking/utils/selectHolderModal.js +407 -0
  72. package/es/components/booking/utils.d.ts +16 -7
  73. package/es/components/booking/utils.js +26 -37
  74. package/es/components/checkout/PaymentModal.js +61 -30
  75. package/es/components/checkout/components/CashPaymentModule/index.js +1 -7
  76. package/es/components/checkout/components/ScrollableList/index.js +0 -1
  77. package/es/components/checkout/locales.d.ts +3 -0
  78. package/es/components/checkout/locales.js +3 -0
  79. package/es/components/eftposPay/linkly/index.js +64 -2
  80. package/es/components/eftposPay/tyro/index.js +12 -0
  81. package/es/components/list/List.js +3 -0
  82. package/es/components/pay/toB/components/MX51/index.js +14 -44
  83. package/es/components/pay/toB/types/index.d.ts +0 -12
  84. package/es/components/pay/toB/types/index.js +0 -4
  85. package/es/components/shoppingCart/components/Cart/Product.js +6 -3
  86. package/es/components/shoppingCart/type.d.ts +1 -0
  87. package/es/components/ticketBooking/components/ProductDisplayAdapter/index.less +0 -12
  88. package/es/components/ticketBooking/components/addServiceVariant/MultiDayTimeSelectModal.d.ts +18 -0
  89. package/es/components/ticketBooking/components/addServiceVariant/MultiDayTimeSelectModal.js +119 -0
  90. package/es/components/ticketBooking/components/addServiceVariant/MultiDayTimeSelectModal.less +0 -0
  91. package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -2
  92. package/es/components/ticketBooking/components/addServiceVariant/addService.js +419 -794
  93. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -2
  94. package/es/components/ticketBooking/components/addServiceVariant/index.js +4 -4
  95. package/es/components/ticketBooking/components/addServiceVariant/utils.js +1 -2
  96. package/es/components/ticketBooking/components/menuBar/index.js +109 -12
  97. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +2 -4
  98. package/es/components/ticketBooking/components/ticketBooking/index.js +32 -61
  99. package/es/components/ticketBooking/components/ticketBooking/index.less +2 -1
  100. package/es/components/ticketBooking/components/timeBar/index.d.ts +0 -1
  101. package/es/components/ticketBooking/components/timeBar/index.js +1 -4
  102. package/es/components/ticketBooking/hooks/pisellos/useProducts.d.ts +0 -4
  103. package/es/components/ticketBooking/hooks/pisellos/useProducts.js +122 -170
  104. package/es/components/ticketBooking/index.d.ts +0 -1
  105. package/es/components/ticketBooking/index.js +0 -2
  106. package/es/components/ticketBooking/serve.js +17 -119
  107. package/es/components/ticketBooking/utils/index.d.ts +7 -1
  108. package/es/components/ticketBooking/utils/index.js +44 -28
  109. package/es/hooks/useEngineContext.d.ts +0 -1
  110. package/es/hooks/useEngineContext.js +0 -7
  111. package/es/index.d.ts +4 -0
  112. package/es/index.js +5 -1
  113. package/es/plus/clientCard/locales.js +3 -3
  114. package/es/plus/clinetSearch/index.js +28 -30
  115. package/es/plus/clinetSearch/locales.d.ts +3 -0
  116. package/es/plus/clinetSearch/locales.js +7 -4
  117. package/es/plus/clinetSearch/types.d.ts +12 -0
  118. package/es/plus/contactInfo/components/Avatar/index.d.ts +10 -0
  119. package/es/plus/contactInfo/components/Avatar/index.js +30 -0
  120. package/es/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
  121. package/es/plus/contactInfo/components/SwipeAction/index.js +360 -0
  122. package/es/plus/contactInfo/components/SwipeAction/index.less +74 -0
  123. package/es/plus/contactInfo/index.d.ts +6 -0
  124. package/es/plus/contactInfo/index.js +198 -0
  125. package/es/plus/contactInfo/index.less +621 -0
  126. package/es/plus/contactInfo/locales.d.ts +15 -0
  127. package/es/plus/contactInfo/locales.js +14 -0
  128. package/es/plus/contactInfo/types.d.ts +91 -0
  129. package/es/plus/contactInfo/types.js +1 -0
  130. package/es/plus/contactInfo/utils.d.ts +7 -0
  131. package/es/plus/contactInfo/utils.js +50 -0
  132. package/es/plus/contactInfoModal/ContactInfoContent.d.ts +3 -0
  133. package/es/plus/contactInfoModal/ContactInfoContent.js +74 -0
  134. package/es/plus/contactInfoModal/index.d.ts +41 -0
  135. package/es/plus/contactInfoModal/index.js +155 -0
  136. package/es/plus/contactInfoModal/index.less +19 -0
  137. package/es/plus/contactInfoModal/locales.d.ts +66 -0
  138. package/es/plus/contactInfoModal/locales.js +65 -0
  139. package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.js +1 -1
  140. package/es/plus/productSelect/ProductCard/index.js +1 -1
  141. package/es/plus/selectHolder/components/ErrorTip/index.d.ts +3 -0
  142. package/es/plus/selectHolder/components/ErrorTip/index.js +14 -0
  143. package/es/plus/selectHolder/components/ErrorTip/index.less +51 -0
  144. package/es/plus/selectHolder/components/HolderItem/index.d.ts +6 -0
  145. package/es/plus/selectHolder/components/HolderItem/index.js +77 -0
  146. package/es/plus/selectHolder/components/HolderItem/index.less +105 -0
  147. package/es/plus/selectHolder/components/HolderList/index.d.ts +30 -0
  148. package/es/plus/selectHolder/components/HolderList/index.js +43 -0
  149. package/es/plus/selectHolder/index.d.ts +7 -0
  150. package/es/plus/selectHolder/index.js +273 -0
  151. package/es/plus/selectHolder/index.less +137 -0
  152. package/es/plus/selectHolder/locales.d.ts +24 -0
  153. package/es/plus/selectHolder/locales.js +29 -0
  154. package/es/plus/selectHolder/types.d.ts +104 -0
  155. package/es/plus/selectHolder/types.js +1 -0
  156. package/es/plus/selectHolder/utils.d.ts +9 -0
  157. package/es/plus/selectHolder/utils.js +16 -0
  158. package/es/pro/comprehensiveSearch/components/searchSection/locales.js +3 -3
  159. package/es/pro/comprehensiveSearch/locales.js +1 -1
  160. package/es/pro/multiDayTimeSelect/MultiDayTimeSelect.d.ts +9 -0
  161. package/es/pro/multiDayTimeSelect/MultiDayTimeSelect.js +357 -0
  162. package/es/pro/multiDayTimeSelect/MultiDayTimeSelect.less +8 -0
  163. package/es/pro/multiDayTimeSelect/index.d.ts +3 -0
  164. package/es/pro/multiDayTimeSelect/index.js +1 -0
  165. package/es/pro/multiDayTimeSelect/types.d.ts +28 -0
  166. package/es/pro/multiDayTimeSelect/types.js +1 -0
  167. package/es/pro/skuDetailModal/types.d.ts +1 -0
  168. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -1
  169. package/lib/components/appointmentBooking/components/Cart/Item/index.js +6 -3
  170. package/lib/components/appointmentBooking/components/ConfirmInformation/index.js +156 -13
  171. package/lib/components/appointmentBooking/components/ConfirmInformation/index.less +15 -0
  172. package/lib/components/appointmentBooking/hooks.d.ts +1 -0
  173. package/lib/components/appointmentBooking/hooks.js +73 -35
  174. package/lib/components/appointmentBooking/locales.d.ts +3 -0
  175. package/lib/components/appointmentBooking/locales.js +6 -3
  176. package/lib/components/booking/components/actionButtons/index.js +11 -2
  177. package/lib/components/booking/components/customSelect/index.js +1 -1
  178. package/lib/components/booking/components/footer/amount.js +23 -6
  179. package/lib/components/booking/components/footer/index.js +26 -5
  180. package/lib/components/booking/components/footer/utils.d.ts +7 -0
  181. package/lib/components/booking/components/footer/utils.js +120 -82
  182. package/lib/components/booking/components/voucher/index.js +10 -1
  183. package/lib/components/booking/dashboard/serve.js +1 -6
  184. package/lib/components/booking/forms/footer.js +29 -11
  185. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  186. package/lib/components/booking/forms/serve.js +2 -12
  187. package/lib/components/booking/hooks/useQuotation.js +45 -13
  188. package/lib/components/booking/info/client/index.js +14 -1
  189. package/lib/components/booking/info/client/serve.js +2 -13
  190. package/lib/components/booking/info/clientVariant/hooks/useClientFn.js +7 -2
  191. package/lib/components/booking/info/clientVariant/vertical/SelectDrawer.js +11 -4
  192. package/lib/components/booking/info/clientVariant/vertical/index.js +34 -17
  193. package/lib/components/booking/info/hooks/useHolderConfig.d.ts +1 -0
  194. package/lib/components/booking/info/hooks/useHolderConfig.js +8 -3
  195. package/lib/components/booking/info/main.js +5 -4
  196. package/lib/components/booking/info/model.js +5 -0
  197. package/lib/components/booking/info/pet/serve.js +1 -6
  198. package/lib/components/booking/info/service/Lists.d.ts +1 -1
  199. package/lib/components/booking/info/service/Lists.js +5 -3
  200. package/lib/components/booking/info/service/addTimeModal/serve.js +1 -7
  201. package/lib/components/booking/info/service/serve.d.ts +14 -0
  202. package/lib/components/booking/info/service/serve.js +8 -17
  203. package/lib/components/booking/info/service2/Group/utils.js +2 -0
  204. package/lib/components/booking/info/service2/utils.d.ts +1 -33
  205. package/lib/components/booking/info/service2/utils.js +38 -29
  206. package/lib/components/booking/info/utils.js +4 -0
  207. package/lib/components/booking/info2/cartClientCard/index.js +34 -5
  208. package/lib/components/booking/info2/index.js +11 -5
  209. package/lib/components/booking/info2/serve.js +1 -6
  210. package/lib/components/booking/info2/service/addService/index.js +22 -3
  211. package/lib/components/booking/info2/service/addService/utils.d.ts +8 -0
  212. package/lib/components/booking/info2/service/addService/utils.js +48 -11
  213. package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +2 -0
  214. package/lib/components/booking/info2/service/contactInfoMode/index.js +111 -0
  215. package/lib/components/booking/info2/service/editService/Holder/index.d.ts +12 -0
  216. package/lib/components/booking/info2/service/editService/Holder/index.js +199 -0
  217. package/lib/components/booking/info2/service/editService/Holder/index.less +63 -0
  218. package/lib/components/booking/info2/service/editService/index.js +254 -32
  219. package/lib/components/booking/info2/utilsByBooking.js +26 -19
  220. package/lib/components/booking/locales.d.ts +36 -0
  221. package/lib/components/booking/locales.js +42 -3
  222. package/lib/components/booking/model.d.ts +4 -0
  223. package/lib/components/booking/model.js +3 -0
  224. package/lib/components/booking/utils/confirmHolderModal.d.ts +13 -0
  225. package/lib/components/booking/utils/confirmHolderModal.js +253 -0
  226. package/lib/components/booking/utils/confirmHolderModal.less +40 -0
  227. package/lib/components/booking/utils/selectHolderModal.d.ts +24 -0
  228. package/lib/components/booking/utils/selectHolderModal.js +319 -0
  229. package/lib/components/booking/utils.d.ts +16 -7
  230. package/lib/components/booking/utils.js +18 -21
  231. package/lib/components/checkout/PaymentModal.js +41 -18
  232. package/lib/components/checkout/components/CashPaymentModule/index.js +1 -7
  233. package/lib/components/checkout/components/ScrollableList/index.js +0 -1
  234. package/lib/components/checkout/locales.d.ts +3 -0
  235. package/lib/components/checkout/locales.js +3 -0
  236. package/lib/components/eftposPay/linkly/index.js +31 -1
  237. package/lib/components/eftposPay/tyro/index.js +12 -0
  238. package/lib/components/list/List.js +3 -0
  239. package/lib/components/pay/toB/components/MX51/index.js +12 -37
  240. package/lib/components/pay/toB/types/index.d.ts +0 -12
  241. package/lib/components/shoppingCart/components/Cart/Product.js +7 -3
  242. package/lib/components/shoppingCart/type.d.ts +1 -0
  243. package/lib/components/ticketBooking/components/ProductDisplayAdapter/index.less +0 -12
  244. package/lib/components/ticketBooking/components/addServiceVariant/MultiDayTimeSelectModal.d.ts +18 -0
  245. package/lib/components/ticketBooking/components/addServiceVariant/MultiDayTimeSelectModal.js +118 -0
  246. package/lib/components/ticketBooking/components/addServiceVariant/MultiDayTimeSelectModal.less +0 -0
  247. package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -2
  248. package/lib/components/ticketBooking/components/addServiceVariant/addService.js +279 -313
  249. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -2
  250. package/lib/components/ticketBooking/components/addServiceVariant/index.js +5 -3
  251. package/lib/components/ticketBooking/components/addServiceVariant/utils.js +1 -2
  252. package/lib/components/ticketBooking/components/menuBar/index.js +42 -6
  253. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +2 -4
  254. package/lib/components/ticketBooking/components/ticketBooking/index.js +12 -49
  255. package/lib/components/ticketBooking/components/ticketBooking/index.less +2 -1
  256. package/lib/components/ticketBooking/components/timeBar/index.d.ts +0 -1
  257. package/lib/components/ticketBooking/components/timeBar/index.js +1 -3
  258. package/lib/components/ticketBooking/hooks/pisellos/useProducts.d.ts +0 -4
  259. package/lib/components/ticketBooking/hooks/pisellos/useProducts.js +69 -98
  260. package/lib/components/ticketBooking/index.d.ts +0 -1
  261. package/lib/components/ticketBooking/index.js +0 -2
  262. package/lib/components/ticketBooking/serve.js +15 -117
  263. package/lib/components/ticketBooking/utils/index.d.ts +7 -1
  264. package/lib/components/ticketBooking/utils/index.js +29 -23
  265. package/lib/hooks/useEngineContext.d.ts +0 -1
  266. package/lib/hooks/useEngineContext.js +2 -10
  267. package/lib/index.d.ts +4 -0
  268. package/lib/index.js +12 -0
  269. package/lib/plus/clientCard/locales.js +3 -3
  270. package/lib/plus/clinetSearch/index.js +17 -8
  271. package/lib/plus/clinetSearch/locales.d.ts +3 -0
  272. package/lib/plus/clinetSearch/locales.js +7 -4
  273. package/lib/plus/clinetSearch/types.d.ts +12 -0
  274. package/lib/plus/contactInfo/components/Avatar/index.d.ts +10 -0
  275. package/lib/plus/contactInfo/components/Avatar/index.js +56 -0
  276. package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
  277. package/lib/plus/contactInfo/components/SwipeAction/index.js +373 -0
  278. package/lib/plus/contactInfo/components/SwipeAction/index.less +74 -0
  279. package/lib/plus/contactInfo/index.d.ts +6 -0
  280. package/lib/plus/contactInfo/index.js +226 -0
  281. package/lib/plus/contactInfo/index.less +621 -0
  282. package/lib/plus/contactInfo/locales.d.ts +15 -0
  283. package/lib/plus/contactInfo/locales.js +38 -0
  284. package/lib/plus/contactInfo/types.d.ts +91 -0
  285. package/lib/plus/contactInfo/types.js +17 -0
  286. package/lib/plus/contactInfo/utils.d.ts +7 -0
  287. package/lib/plus/contactInfo/utils.js +64 -0
  288. package/lib/plus/contactInfoModal/ContactInfoContent.d.ts +3 -0
  289. package/lib/plus/contactInfoModal/ContactInfoContent.js +129 -0
  290. package/lib/plus/contactInfoModal/index.d.ts +41 -0
  291. package/lib/plus/contactInfoModal/index.js +139 -0
  292. package/lib/plus/contactInfoModal/index.less +19 -0
  293. package/lib/plus/contactInfoModal/locales.d.ts +66 -0
  294. package/lib/plus/contactInfoModal/locales.js +89 -0
  295. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.js +1 -1
  296. package/lib/plus/productSelect/ProductCard/index.js +1 -1
  297. package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +3 -0
  298. package/lib/plus/selectHolder/components/ErrorTip/index.js +30 -0
  299. package/lib/plus/selectHolder/components/ErrorTip/index.less +51 -0
  300. package/lib/plus/selectHolder/components/HolderItem/index.d.ts +6 -0
  301. package/lib/plus/selectHolder/components/HolderItem/index.js +101 -0
  302. package/lib/plus/selectHolder/components/HolderItem/index.less +105 -0
  303. package/lib/plus/selectHolder/components/HolderList/index.d.ts +30 -0
  304. package/lib/plus/selectHolder/components/HolderList/index.js +63 -0
  305. package/lib/plus/selectHolder/index.d.ts +7 -0
  306. package/lib/plus/selectHolder/index.js +223 -0
  307. package/lib/plus/selectHolder/index.less +137 -0
  308. package/lib/plus/selectHolder/locales.d.ts +24 -0
  309. package/lib/plus/selectHolder/locales.js +47 -0
  310. package/lib/plus/selectHolder/types.d.ts +104 -0
  311. package/lib/plus/selectHolder/types.js +17 -0
  312. package/lib/plus/selectHolder/utils.d.ts +9 -0
  313. package/lib/plus/selectHolder/utils.js +34 -0
  314. package/lib/pro/comprehensiveSearch/components/searchSection/locales.js +3 -3
  315. package/lib/pro/comprehensiveSearch/locales.js +1 -1
  316. package/lib/pro/multiDayTimeSelect/MultiDayTimeSelect.d.ts +9 -0
  317. package/lib/pro/multiDayTimeSelect/MultiDayTimeSelect.js +304 -0
  318. package/lib/pro/multiDayTimeSelect/MultiDayTimeSelect.less +8 -0
  319. package/lib/pro/multiDayTimeSelect/index.d.ts +3 -0
  320. package/lib/{hooks/printer.js → pro/multiDayTimeSelect/index.js} +6 -31
  321. package/lib/pro/multiDayTimeSelect/types.d.ts +28 -0
  322. package/lib/pro/multiDayTimeSelect/types.js +17 -0
  323. package/lib/pro/skuDetailModal/types.d.ts +1 -0
  324. package/lowcode/contact-info/fragments/cardStyle.ts +68 -0
  325. package/lowcode/contact-info/fragments/nameStyle.ts +33 -0
  326. package/lowcode/contact-info/fragments/pisellAvatar.ts +103 -0
  327. package/lowcode/contact-info/fragments/textStyle.ts +33 -0
  328. package/lowcode/contact-info/meta.ts +199 -0
  329. package/lowcode/contact-info-modal/meta.ts +98 -0
  330. package/lowcode/event-select-holder/meta.ts +2 -2
  331. package/lowcode/select-holder/meta.ts +220 -0
  332. package/lowcode/select-holder/snippets.ts +41 -0
  333. package/package.json +13 -11
  334. package/es/hooks/printer.d.ts +0 -4
  335. package/es/hooks/printer.js +0 -35
  336. package/lib/hooks/printer.d.ts +0 -4
@@ -0,0 +1,621 @@
1
+ .pisell-plus-contact-info {
2
+ padding: 8px;
3
+ background: var(--Base-white, #fff);
4
+ position: relative;
5
+ border-radius: 8px;
6
+ border-style: solid;
7
+ border-width: 1px;
8
+ border-color: #d5d7da;
9
+ cursor: pointer;
10
+
11
+ &__horizontal {
12
+ display: flex;
13
+ flex-direction: row;
14
+ justify-content: space-between;
15
+ gap: 8px;
16
+
17
+ &-left {
18
+ min-width: 0;
19
+ flex: 1;
20
+ display: flex;
21
+ flex-direction: row;
22
+ gap: 8px;
23
+
24
+ &-content {
25
+ min-width: 0;
26
+ display: flex;
27
+ flex-direction: column;
28
+ gap: 4px;
29
+ }
30
+ }
31
+
32
+ &-right {
33
+ padding: 0 14px;
34
+ display: flex;
35
+ align-items: center;
36
+ justify-content: center;
37
+
38
+ &-icon {
39
+ font-size: 24px;
40
+ color: #475467;
41
+ cursor: pointer;
42
+ }
43
+ }
44
+ }
45
+
46
+ &__vertical {
47
+ min-width: 0;
48
+ display: flex;
49
+ flex-direction: column;
50
+ align-items: center;
51
+ justify-content: center;
52
+ gap: 8px;
53
+ overflow: hidden;
54
+ }
55
+
56
+ &__name-horizontal-container {
57
+ text-overflow: -o-ellipsis-lastline;
58
+ overflow: hidden;
59
+ text-overflow: ellipsis;
60
+ display: -webkit-box;
61
+ -webkit-line-clamp: 5;
62
+ line-clamp: 5;
63
+ -webkit-box-orient: vertical;
64
+ }
65
+
66
+ &__name-horizontal {
67
+ color: var(--Gray-900, #101828);
68
+ font-size: 14px;
69
+ font-weight: 600;
70
+ white-space: wrap;
71
+ overflow: hidden;
72
+ text-overflow: ellipsis;
73
+ }
74
+
75
+ &__phone-horizontal {
76
+ padding-left: 4px;
77
+ color: var(--Gray-500, #667085);
78
+ font-size: 14px;
79
+ font-weight: 400;
80
+ white-space: nowrap;
81
+ overflow: hidden;
82
+ text-overflow: ellipsis;
83
+ }
84
+
85
+ &__name {
86
+ // display: flex;
87
+ color: var(--Gray-900, #101828);
88
+ font-size: 14px;
89
+ font-weight: 600;
90
+ }
91
+
92
+ &__text {
93
+ color: var(--Gray-500, #667085);
94
+ font-size: 14px;
95
+ font-weight: 400;
96
+ // 一行展示,超出部分使用...展示,不要换行
97
+ white-space: nowrap;
98
+ overflow: hidden;
99
+ text-overflow: ellipsis;
100
+ }
101
+
102
+ &__empty-description {
103
+ height: 100%;
104
+ display: flex;
105
+ align-items: center;
106
+ color: #101828;
107
+ font-size: 14px;
108
+ font-weight: 600;
109
+ }
110
+ }
111
+ // .pisell-client-card {
112
+ // background: var(--Base-white, #fff);
113
+ // transition: all 0.3s ease;
114
+ // position: relative;
115
+ // padding: 8px;
116
+ // border-radius: 8px;
117
+
118
+ // &:hover {
119
+ // box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
120
+ // }
121
+
122
+ // // 内容容器
123
+ // &__content {
124
+ // display: flex;
125
+ // align-items: center;
126
+ // width: 100%;
127
+ // gap: 8px;
128
+ // }
129
+
130
+ // // 基础信息区域
131
+ // &__info {
132
+ // display: flex;
133
+ // gap: 8px;
134
+ // flex: 1;
135
+ // align-items: center;
136
+ // overflow: hidden;
137
+ // }
138
+
139
+ // // 详细信息容器
140
+ // &__details {
141
+ // flex: 1;
142
+ // min-width: 0;
143
+ // display: flex;
144
+ // flex-direction: column;
145
+ // gap: 4px;
146
+ // overflow: hidden;
147
+ // }
148
+
149
+ // // 姓名和标签行
150
+ // &__name-tags {
151
+ // display: flex;
152
+ // align-items: center;
153
+ // gap: 8px;
154
+ // flex-wrap: wrap;
155
+
156
+ // // 当标签为 inline 模式时的特殊处理
157
+ // &--inline {
158
+ // flex-wrap: nowrap;
159
+ // overflow: hidden;
160
+
161
+ // .pisell-client-card__name {
162
+ // flex-grow: 1;
163
+ // min-width: 0;
164
+ // }
165
+
166
+ // .pisell-client-card__tags {
167
+ // flex: 1 0 42px;
168
+ // overflow: hidden;
169
+
170
+ // &--nowrap {
171
+ // &::after {
172
+ // background: linear-gradient(
173
+ // to right,
174
+ // rgba(255, 255, 255, 0),
175
+ // rgba(255, 255, 255, 1)
176
+ // );
177
+ // }
178
+ // }
179
+ // }
180
+ // }
181
+ // }
182
+
183
+ // // 字段容器
184
+ // &__fields {
185
+ // display: flex;
186
+ // flex-direction: column;
187
+ // gap: 4px;
188
+ // }
189
+
190
+ // // 插槽容器
191
+ // &__slot-left {
192
+ // display: flex;
193
+ // align-items: center;
194
+ // flex-shrink: 0;
195
+ // }
196
+
197
+ // &__slot-right {
198
+ // display: flex;
199
+ // align-items: center;
200
+ // flex-shrink: 0;
201
+ // }
202
+
203
+ // &__actions {
204
+ // display: flex;
205
+ // align-items: center;
206
+ // flex-shrink: 0;
207
+ // }
208
+
209
+ // &__menu-button {
210
+ // border: none;
211
+ // box-shadow: none;
212
+ // padding: 4px;
213
+ // display: flex;
214
+ // align-items: center;
215
+ // justify-content: center;
216
+
217
+ // &:hover {
218
+ // background-color: rgba(0, 0, 0, 0.04);
219
+ // }
220
+
221
+ // &:focus {
222
+ // background-color: rgba(0, 0, 0, 0.04);
223
+ // }
224
+ // }
225
+
226
+ // &__menu-button-icon {
227
+ // font-size: 28px;
228
+ // }
229
+
230
+ // // 头像样式
231
+ // &__avatar-wrapper {
232
+ // display: flex;
233
+ // align-items: center;
234
+ // justify-content: center;
235
+ // position: relative;
236
+ // }
237
+
238
+ // &__avatar {
239
+ // border: 1px solid #e5e7eb;
240
+
241
+ // .ant-avatar-string {
242
+ // font-weight: 600;
243
+ // }
244
+ // }
245
+
246
+ // // 状态指示器样式
247
+ // &__status-indicator {
248
+ // position: absolute;
249
+ // width: 12px;
250
+ // height: 12px;
251
+ // border-radius: 50%;
252
+ // border: 2px solid #fff;
253
+ // box-sizing: border-box;
254
+ // z-index: 1;
255
+
256
+ // // 默认位置(适用于圆形头像)
257
+ // bottom: 0;
258
+ // right: 0;
259
+ // }
260
+
261
+ // // 针对不同头像形状和尺寸的状态指示器位置调整
262
+ // &__avatar-wrapper {
263
+ // // 方形头像的状态指示器位置
264
+ // .ant-avatar-square ~ .pisell-client-card__status-indicator {
265
+ // bottom: -2px;
266
+ // right: -2px;
267
+ // }
268
+
269
+ // // 大尺寸头像的状态指示器位置
270
+ // .ant-avatar-lg ~ .pisell-client-card__status-indicator,
271
+ // .ant-avatar-xl ~ .pisell-client-card__status-indicator,
272
+ // .ant-avatar-xxl ~ .pisell-client-card__status-indicator {
273
+ // bottom: 2px;
274
+ // right: 2px;
275
+ // }
276
+
277
+ // // 小尺寸头像的状态指示器位置
278
+ // .ant-avatar-sm ~ .pisell-client-card__status-indicator,
279
+ // .ant-avatar-xs ~ .pisell-client-card__status-indicator {
280
+ // bottom: -1px;
281
+ // right: -1px;
282
+ // }
283
+
284
+ // // 方形小尺寸头像的特殊处理
285
+ // .ant-avatar-square.ant-avatar-sm ~ .pisell-client-card__status-indicator,
286
+ // .ant-avatar-square.ant-avatar-xs ~ .pisell-client-card__status-indicator {
287
+ // bottom: -3px;
288
+ // right: -3px;
289
+ // }
290
+
291
+ // // 方形大尺寸头像的特殊处理
292
+ // .ant-avatar-square.ant-avatar-lg ~ .pisell-client-card__status-indicator,
293
+ // .ant-avatar-square.ant-avatar-xl ~ .pisell-client-card__status-indicator,
294
+ // .ant-avatar-square.ant-avatar-xxl ~ .pisell-client-card__status-indicator {
295
+ // bottom: 0;
296
+ // right: 0;
297
+ // }
298
+ // }
299
+
300
+ // &__avatar-default {
301
+ // width: 100%;
302
+ // height: 100%;
303
+ // background: #f3f4f6;
304
+ // display: flex;
305
+ // align-items: center;
306
+ // justify-content: center;
307
+ // color: #9ca3af;
308
+ // }
309
+
310
+ // &__avatar-img {
311
+ // width: 100%;
312
+ // height: 100%;
313
+ // object-fit: cover;
314
+ // }
315
+
316
+ // &__avatar-text {
317
+ // background: #e5e7eb;
318
+ // color: #374151;
319
+ // font-weight: 600;
320
+ // font-size: 14px;
321
+ // width: 100%;
322
+ // height: 100%;
323
+ // display: flex;
324
+ // align-items: center;
325
+ // justify-content: center;
326
+ // }
327
+
328
+ // &__contact {
329
+ // font-size: 14px;
330
+ // color: #6b7280;
331
+ // white-space: nowrap;
332
+ // overflow: hidden;
333
+ // text-overflow: ellipsis;
334
+
335
+ // // 地址字段允许显示两行
336
+ // &--address {
337
+ // white-space: normal;
338
+ // display: -webkit-box;
339
+ // -webkit-line-clamp: 2;
340
+ // -webkit-box-orient: vertical;
341
+ // overflow: hidden;
342
+ // text-overflow: ellipsis;
343
+ // line-height: 1.4;
344
+ // }
345
+ // }
346
+
347
+ // // 标签样式
348
+ // &__tags {
349
+ // display: flex;
350
+ // gap: 8px;
351
+ // flex-wrap: wrap;
352
+
353
+ // > span {
354
+ // border-radius: 16px;
355
+ // margin: 0;
356
+ // }
357
+
358
+ // &:last-child {
359
+ // margin-bottom: 0;
360
+ // }
361
+
362
+ // &--nowrap {
363
+ // flex-wrap: nowrap;
364
+ // overflow: hidden;
365
+ // max-width: 100%;
366
+
367
+ // // 不换行时,超出的标签隐藏
368
+ // .pisell-client-card__tag {
369
+ // flex-shrink: 0;
370
+
371
+ // &:last-child {
372
+ // flex-shrink: 1;
373
+ // min-width: 0;
374
+ // overflow: hidden;
375
+ // }
376
+ // }
377
+ // }
378
+
379
+ // &--separate {
380
+ // margin-top: 4px;
381
+ // }
382
+ // }
383
+
384
+ // // 单个标签样式
385
+ // &__tag {
386
+ // &--nowrap {
387
+ // // 不换行模式下的标签样式
388
+ // white-space: nowrap;
389
+ // overflow: hidden;
390
+ // text-overflow: ellipsis;
391
+ // }
392
+
393
+ // &--wrap {
394
+ // // 换行模式下的标签样式
395
+ // word-break: break-all;
396
+ // white-space: nowrap;
397
+ // overflow: hidden;
398
+ // text-overflow: ellipsis;
399
+ // }
400
+ // }
401
+
402
+ // &__add-icon {
403
+ // width: 32px;
404
+ // height: 32px;
405
+ // border-radius: 50%;
406
+ // border: 2px solid currentColor;
407
+ // display: flex;
408
+ // align-items: center;
409
+ // justify-content: center;
410
+ // transition: all 0.2s ease;
411
+ // }
412
+
413
+ // // 操作菜单样式
414
+ // &__menu-button {
415
+ // &.ant-btn {
416
+ // border-color: #e5e7eb;
417
+ // color: #6b7280;
418
+ // }
419
+ // }
420
+
421
+ // &__menu {
422
+ // width: 32px;
423
+ // height: 32px;
424
+ // border-radius: 6px;
425
+ // display: flex;
426
+ // align-items: center;
427
+ // justify-content: center;
428
+ // color: #6b7280;
429
+ // opacity: 0;
430
+ // transition: all 0.2s ease;
431
+ // position: relative;
432
+ // cursor: pointer;
433
+ // }
434
+
435
+ // &__dropdown {
436
+ // position: absolute;
437
+ // top: 100%;
438
+ // right: 0;
439
+ // margin-top: 4px;
440
+ // background: #ffffff;
441
+ // border: 1px solid #e5e7eb;
442
+ // border-radius: 8px;
443
+ // box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
444
+ // 0 4px 6px -2px rgba(0, 0, 0, 0.05);
445
+ // z-index: 10;
446
+ // min-width: 160px;
447
+ // }
448
+
449
+ // &__dropdown-item {
450
+ // display: block;
451
+ // width: 100%;
452
+ // padding: 8px 12px;
453
+ // font-size: 14px;
454
+ // color: #374151;
455
+ // background: none;
456
+ // border: none;
457
+ // text-align: left;
458
+ // cursor: pointer;
459
+ // transition: background-color 0.2s ease;
460
+
461
+ // &:first-child {
462
+ // border-radius: 8px 8px 0 0;
463
+ // }
464
+
465
+ // &:last-child {
466
+ // border-radius: 0 0 8px 8px;
467
+ // }
468
+
469
+ // &--danger {
470
+ // color: #dc2626;
471
+
472
+ // &:hover {
473
+ // background: #fef2f2;
474
+ // }
475
+ // }
476
+ // }
477
+
478
+ // // 垂直布局
479
+ // &--vertical {
480
+ // .pisell-client-card__content {
481
+ // flex-direction: column;
482
+ // align-items: center;
483
+ // text-align: center;
484
+ // }
485
+
486
+ // .pisell-client-card__info {
487
+ // flex-direction: column;
488
+ // align-items: center;
489
+ // gap: 8px;
490
+ // width: 100%;
491
+ // }
492
+
493
+ // .pisell-client-card__details {
494
+ // width: 100%;
495
+ // align-items: center;
496
+ // text-align: center;
497
+ // }
498
+
499
+ // .pisell-client-card__fields {
500
+ // align-items: center;
501
+ // }
502
+
503
+ // .pisell-client-card__extra-fields {
504
+ // align-items: center;
505
+ // }
506
+
507
+ // .pisell-client-card__actions {
508
+ // display: none;
509
+ // }
510
+ // }
511
+
512
+ // // 水平布局
513
+ // &--horizontal {
514
+ // .pisell-client-card__info {
515
+ // flex-direction: row;
516
+ // align-items: center;
517
+ // }
518
+
519
+ // .pisell-client-card__avatar-wrapper {
520
+ // align-self: flex-start;
521
+ // }
522
+ // }
523
+
524
+ // // 空状态样式
525
+ // &--empty {
526
+ // display: flex;
527
+ // flex-direction: column;
528
+ // align-items: center;
529
+ // justify-content: center;
530
+ // transition: all 0.3s;
531
+
532
+ // &:hover {
533
+ // background-color: #f6f6f6;
534
+ // }
535
+
536
+ // .pisell-client-card__empty-title {
537
+ // font-size: 16px;
538
+ // font-weight: 500;
539
+ // color: #262626;
540
+ // margin-bottom: 4px;
541
+ // }
542
+
543
+ // .pisell-client-card__empty-subtitle {
544
+ // font-size: 14px;
545
+ // color: #8c8c8c;
546
+ // }
547
+
548
+ // .pisell-client-card__empty-description {
549
+ // font-size: 12px;
550
+ // color: #8c8c8c;
551
+ // margin-top: 2px;
552
+ // overflow: hidden;
553
+ // text-overflow: ellipsis;
554
+ // white-space: nowrap;
555
+ // }
556
+
557
+ // .pisell-client-card__plugin-icon {
558
+ // font-size: 16px;
559
+ // color: #1890ff;
560
+ // display: flex;
561
+ // align-items: center;
562
+ // justify-content: center;
563
+ // }
564
+ // }
565
+
566
+ // // 联系信息样式
567
+ // &__contact {
568
+ // &-item {
569
+ // font-size: 12px;
570
+ // color: #8c8c8c;
571
+ // display: flex;
572
+ // align-items: center;
573
+ // gap: 4px;
574
+ // }
575
+ // }
576
+
577
+ // // 额外字段样式
578
+ // &__extra-fields {
579
+ // display: flex;
580
+ // flex-direction: column;
581
+ // gap: 2px;
582
+ // }
583
+
584
+ // &__extra-field {
585
+ // font-size: 12px;
586
+ // color: #595959;
587
+ // display: flex;
588
+ // align-items: center;
589
+ // gap: 4px;
590
+
591
+ // &-label {
592
+ // white-space: nowrap;
593
+ // overflow: hidden;
594
+ // text-overflow: ellipsis;
595
+ // flex-shrink: 0;
596
+ // }
597
+
598
+ // &-value {
599
+ // white-space: nowrap;
600
+ // overflow: hidden;
601
+ // text-overflow: ellipsis;
602
+ // flex: 1;
603
+ // min-width: 0;
604
+
605
+ // // 地址类型的额外字段允许显示两行
606
+ // &--address {
607
+ // white-space: normal;
608
+ // display: -webkit-box;
609
+ // -webkit-line-clamp: 2;
610
+ // -webkit-box-orient: vertical;
611
+ // overflow: hidden;
612
+ // text-overflow: ellipsis;
613
+ // line-height: 1.4;
614
+ // }
615
+ // }
616
+
617
+ // &-icon {
618
+ // flex-shrink: 0;
619
+ // }
620
+ // }
621
+ // }
@@ -0,0 +1,15 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.text.contact-info.placeholder': string;
4
+ 'pisell2.text.contact-info.actions.delete': string;
5
+ };
6
+ 'zh-CN': {
7
+ 'pisell2.text.contact-info.placeholder': string;
8
+ 'pisell2.text.contact-info.actions.delete': string;
9
+ };
10
+ 'zh-HK': {
11
+ 'pisell2.text.contact-info.placeholder': string;
12
+ 'pisell2.text.contact-info.actions.delete': string;
13
+ };
14
+ };
15
+ export default _default;
@@ -0,0 +1,14 @@
1
+ export default {
2
+ en: {
3
+ 'pisell2.text.contact-info.placeholder': 'Add Contact',
4
+ 'pisell2.text.contact-info.actions.delete': 'Delete'
5
+ },
6
+ 'zh-CN': {
7
+ 'pisell2.text.contact-info.placeholder': '添加联系人',
8
+ 'pisell2.text.contact-info.actions.delete': '删除'
9
+ },
10
+ 'zh-HK': {
11
+ 'pisell2.text.contact-info.placeholder': '添加聯繫人',
12
+ 'pisell2.text.contact-info.actions.delete': '刪除'
13
+ }
14
+ };