@pisell/private-materials 6.3.30 → 6.3.32

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 (287) 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 +9 -1
  6. package/build/lowcode/preview.js +146 -146
  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 +3 -2
  13. package/es/components/appointmentBooking/components/ConfirmInformation/index.js +267 -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/addons/model.d.ts +10 -1
  20. package/es/components/booking/components/footer/index.js +4 -1
  21. package/es/components/booking/components/footer/utils.js +62 -46
  22. package/es/components/booking/forms/model.d.ts +10 -1
  23. package/es/components/booking/info/clientVariant/hooks/useClientFn.js +2 -2
  24. package/es/components/booking/info/clientVariant/vertical/index.js +1 -1
  25. package/es/components/booking/info/main.js +3 -2
  26. package/es/components/booking/info/model.d.ts +10 -1
  27. package/es/components/booking/info/model.js +5 -0
  28. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  29. package/es/components/booking/info2/index.js +3 -2
  30. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  31. package/es/components/booking/info2/service/contactInfoMode/index.d.ts +2 -0
  32. package/es/components/booking/info2/service/contactInfoMode/index.js +94 -0
  33. package/es/components/booking/locales.d.ts +3 -0
  34. package/es/components/booking/locales.js +9 -3
  35. package/es/components/booking/model.d.ts +13 -1
  36. package/es/components/booking/model.js +3 -0
  37. package/es/components/booking/notes/model.d.ts +10 -1
  38. package/es/components/booking/payments/model.d.ts +10 -1
  39. package/es/components/eftposPay/amount.d.ts +1 -1
  40. package/es/components/eftposPay/device.d.ts +1 -1
  41. package/es/components/eftposPay/store/index.d.ts +2 -2
  42. package/es/components/pay/toC/model.d.ts +9 -1
  43. package/es/components/schedules/model.d.ts +9 -1
  44. package/es/components/ticketBooking/components/ticketBooking/index.less +2 -1
  45. package/es/components/wallet/Detail/model.d.ts +13 -1
  46. package/es/components/wallet/DiscountCard/model.d.ts +14 -1
  47. package/es/components/wallet/PointCard/model.d.ts +13 -1
  48. package/es/components/wallet/RechargeableCard/model.d.ts +29 -1
  49. package/es/components/wallet/Voucher/model.d.ts +13 -1
  50. package/es/components/wallet/model.d.ts +9 -1
  51. package/es/index.d.ts +3 -0
  52. package/es/index.js +4 -1
  53. package/es/plus/clientName/index.d.ts +4 -0
  54. package/es/plus/clientName/index.js +18 -0
  55. package/es/plus/clientName/index.less +10 -0
  56. package/es/plus/clientName/type.d.ts +13 -0
  57. package/es/plus/clientName/type.js +1 -0
  58. package/es/plus/clientName/utils.d.ts +2 -0
  59. package/es/plus/clientName/utils.js +18 -0
  60. package/es/plus/contactInfo/components/Avatar/index.d.ts +10 -0
  61. package/es/plus/contactInfo/components/Avatar/index.js +30 -0
  62. package/es/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
  63. package/es/plus/contactInfo/components/SwipeAction/index.js +360 -0
  64. package/es/plus/contactInfo/components/SwipeAction/index.less +74 -0
  65. package/es/plus/contactInfo/index.d.ts +6 -0
  66. package/es/plus/contactInfo/index.js +198 -0
  67. package/es/plus/contactInfo/index.less +621 -0
  68. package/es/plus/contactInfo/locales.d.ts +15 -0
  69. package/es/plus/contactInfo/locales.js +14 -0
  70. package/es/plus/contactInfo/types.d.ts +91 -0
  71. package/es/plus/contactInfo/types.js +1 -0
  72. package/es/plus/contactInfo/utils.d.ts +7 -0
  73. package/es/plus/contactInfo/utils.js +50 -0
  74. package/es/plus/contactInfoModal/ContactInfoContent.d.ts +3 -0
  75. package/es/plus/contactInfoModal/ContactInfoContent.js +74 -0
  76. package/es/plus/contactInfoModal/index.d.ts +40 -0
  77. package/es/plus/contactInfoModal/index.js +154 -0
  78. package/es/plus/contactInfoModal/index.less +19 -0
  79. package/es/plus/contactInfoModal/locales.d.ts +66 -0
  80. package/es/plus/contactInfoModal/locales.js +65 -0
  81. package/es/pro/Login2.0/AuthModal.d.ts +143 -0
  82. package/es/pro/Login2.0/AuthModal.js +624 -0
  83. package/es/pro/Login2.0/Login2.d.ts +61 -0
  84. package/es/pro/Login2.0/Login2.js +2157 -0
  85. package/es/pro/Login2.0/Register2.d.ts +65 -0
  86. package/es/pro/Login2.0/Register2.js +1501 -0
  87. package/es/pro/Login2.0/components/ForgotPasswordFlow.d.ts +31 -0
  88. package/es/pro/Login2.0/components/ForgotPasswordFlow.js +330 -0
  89. package/es/pro/Login2.0/components/LegalTerms.d.ts +8 -0
  90. package/es/pro/Login2.0/components/LegalTerms.js +51 -0
  91. package/es/pro/Login2.0/components/LegalTerms.less +74 -0
  92. package/es/pro/Login2.0/components/LoginCodeInput.d.ts +27 -0
  93. package/es/pro/Login2.0/components/LoginCodeInput.js +207 -0
  94. package/es/pro/Login2.0/components/OAuthButtonGroup.d.ts +22 -0
  95. package/es/pro/Login2.0/components/OAuthButtonGroup.js +55 -0
  96. package/es/pro/Login2.0/components/PhoneInput.d.ts +53 -0
  97. package/es/pro/Login2.0/components/PhoneInput.js +414 -0
  98. package/es/pro/Login2.0/components/PhoneInput.less +148 -0
  99. package/es/pro/Login2.0/components/phoneValidation.d.ts +17 -0
  100. package/es/pro/Login2.0/components/phoneValidation.js +228 -0
  101. package/es/pro/Login2.0/hooks/index.d.ts +2 -0
  102. package/es/pro/Login2.0/hooks/index.js +1 -0
  103. package/es/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +24 -0
  104. package/es/pro/Login2.0/hooks/usePasswordValidationRules.js +87 -0
  105. package/es/pro/Login2.0/hooks/useRegisterFlow.d.ts +39 -0
  106. package/es/pro/Login2.0/hooks/useRegisterFlow.js +158 -0
  107. package/es/pro/Login2.0/hooks/useRegistrationMethods.d.ts +9 -0
  108. package/es/pro/Login2.0/hooks/useRegistrationMethods.js +31 -0
  109. package/es/pro/Login2.0/index.js +8 -0
  110. package/es/pro/Login2.0/index.less +993 -0
  111. package/es/pro/Login2.0/locales.d.ts +543 -0
  112. package/es/pro/Login2.0/locales.js +622 -0
  113. package/es/pro/Login2.0/shared/Header.d.ts +11 -0
  114. package/es/pro/Login2.0/shared/Header.js +42 -0
  115. package/es/pro/Login2.0/shared/OAuthButtons.d.ts +11 -0
  116. package/es/pro/Login2.0/shared/OAuthButtons.js +59 -0
  117. package/es/pro/Login2.0/shared/registerFlow.d.ts +116 -0
  118. package/es/pro/Login2.0/shared/registerFlow.js +171 -0
  119. package/es/pro/Login2.0/shared/types.d.ts +232 -0
  120. package/es/pro/Login2.0/shared/types.js +1 -0
  121. package/es/pro/Login2.0/steps/CodeInput.d.ts +24 -0
  122. package/es/pro/Login2.0/steps/CodeInput.js +209 -0
  123. package/es/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +12 -0
  124. package/es/pro/Login2.0/steps/EmailAlreadyRegistered.js +35 -0
  125. package/es/pro/Login2.0/steps/EmailLinkAlreadyUsed.d.ts +7 -0
  126. package/es/pro/Login2.0/steps/EmailLinkAlreadyUsed.js +25 -0
  127. package/es/pro/Login2.0/steps/EmailLinkExpired.d.ts +9 -0
  128. package/es/pro/Login2.0/steps/EmailLinkExpired.js +33 -0
  129. package/es/pro/Login2.0/steps/SetPassword.d.ts +19 -0
  130. package/es/pro/Login2.0/steps/SetPassword.js +148 -0
  131. package/es/pro/Login2.0/steps/VerificationSuccess.d.ts +8 -0
  132. package/es/pro/Login2.0/steps/VerificationSuccess.js +35 -0
  133. package/es/pro/Login2.0/steps/VerifyingEmailLink.d.ts +7 -0
  134. package/es/pro/Login2.0/steps/VerifyingEmailLink.js +17 -0
  135. package/es/pro/Login2.0/steps/WaitEmailLink.d.ts +18 -0
  136. package/es/pro/Login2.0/steps/WaitEmailLink.js +54 -0
  137. package/es/pro/Login2.0/steps/index.d.ts +19 -0
  138. package/es/pro/Login2.0/steps/index.js +11 -0
  139. package/es/pro/Login2.0/steps/steps.less +423 -0
  140. package/es/pro/Login2.0/types.d.ts +167 -0
  141. package/es/pro/Login2.0/types.js +1 -0
  142. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -1
  143. package/lib/components/appointmentBooking/components/Cart/Item/index.js +5 -3
  144. package/lib/components/appointmentBooking/components/ConfirmInformation/index.js +151 -13
  145. package/lib/components/appointmentBooking/components/ConfirmInformation/index.less +15 -0
  146. package/lib/components/appointmentBooking/hooks.d.ts +1 -0
  147. package/lib/components/appointmentBooking/hooks.js +73 -35
  148. package/lib/components/appointmentBooking/locales.d.ts +3 -0
  149. package/lib/components/appointmentBooking/locales.js +6 -3
  150. package/lib/components/booking/addons/model.d.ts +10 -1
  151. package/lib/components/booking/components/footer/index.js +4 -1
  152. package/lib/components/booking/components/footer/utils.js +70 -38
  153. package/lib/components/booking/forms/model.d.ts +10 -1
  154. package/lib/components/booking/info/clientVariant/hooks/useClientFn.js +1 -1
  155. package/lib/components/booking/info/clientVariant/vertical/index.js +34 -17
  156. package/lib/components/booking/info/main.js +5 -4
  157. package/lib/components/booking/info/model.d.ts +10 -1
  158. package/lib/components/booking/info/model.js +5 -0
  159. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  160. package/lib/components/booking/info2/index.js +5 -4
  161. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  162. package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +2 -0
  163. package/lib/components/booking/info2/service/contactInfoMode/index.js +111 -0
  164. package/lib/components/booking/locales.d.ts +3 -0
  165. package/lib/components/booking/locales.js +9 -3
  166. package/lib/components/booking/model.d.ts +13 -1
  167. package/lib/components/booking/model.js +3 -0
  168. package/lib/components/booking/notes/model.d.ts +10 -1
  169. package/lib/components/booking/payments/model.d.ts +10 -1
  170. package/lib/components/eftposPay/amount.d.ts +1 -1
  171. package/lib/components/eftposPay/device.d.ts +1 -1
  172. package/lib/components/eftposPay/store/index.d.ts +2 -2
  173. package/lib/components/pay/toC/model.d.ts +9 -1
  174. package/lib/components/schedules/model.d.ts +9 -1
  175. package/lib/components/ticketBooking/components/ticketBooking/index.less +2 -1
  176. package/lib/components/wallet/Detail/model.d.ts +13 -1
  177. package/lib/components/wallet/DiscountCard/model.d.ts +14 -1
  178. package/lib/components/wallet/PointCard/model.d.ts +13 -1
  179. package/lib/components/wallet/RechargeableCard/model.d.ts +29 -1
  180. package/lib/components/wallet/Voucher/model.d.ts +13 -1
  181. package/lib/components/wallet/model.d.ts +9 -1
  182. package/lib/index.d.ts +3 -0
  183. package/lib/index.js +13 -0
  184. package/lib/plus/clientName/index.d.ts +4 -0
  185. package/lib/plus/clientName/index.js +53 -0
  186. package/lib/plus/clientName/index.less +10 -0
  187. package/lib/plus/clientName/type.d.ts +13 -0
  188. package/lib/plus/clientName/type.js +17 -0
  189. package/lib/plus/clientName/utils.d.ts +2 -0
  190. package/lib/plus/clientName/utils.js +43 -0
  191. package/lib/plus/contactInfo/components/Avatar/index.d.ts +10 -0
  192. package/lib/plus/contactInfo/components/Avatar/index.js +56 -0
  193. package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
  194. package/lib/plus/contactInfo/components/SwipeAction/index.js +373 -0
  195. package/lib/plus/contactInfo/components/SwipeAction/index.less +74 -0
  196. package/lib/plus/contactInfo/index.d.ts +6 -0
  197. package/lib/plus/contactInfo/index.js +226 -0
  198. package/lib/plus/contactInfo/index.less +621 -0
  199. package/lib/plus/contactInfo/locales.d.ts +15 -0
  200. package/lib/plus/contactInfo/locales.js +38 -0
  201. package/lib/plus/contactInfo/types.d.ts +91 -0
  202. package/lib/plus/contactInfo/types.js +17 -0
  203. package/lib/plus/contactInfo/utils.d.ts +7 -0
  204. package/lib/plus/contactInfo/utils.js +64 -0
  205. package/lib/plus/contactInfoModal/ContactInfoContent.d.ts +3 -0
  206. package/lib/plus/contactInfoModal/ContactInfoContent.js +129 -0
  207. package/lib/plus/contactInfoModal/index.d.ts +40 -0
  208. package/lib/plus/contactInfoModal/index.js +138 -0
  209. package/lib/plus/contactInfoModal/index.less +19 -0
  210. package/lib/plus/contactInfoModal/locales.d.ts +66 -0
  211. package/lib/plus/contactInfoModal/locales.js +89 -0
  212. package/lib/pro/Login2.0/AuthModal.d.ts +143 -0
  213. package/lib/pro/Login2.0/AuthModal.js +498 -0
  214. package/lib/pro/Login2.0/Login2.d.ts +61 -0
  215. package/lib/pro/Login2.0/Login2.js +1468 -0
  216. package/lib/pro/Login2.0/Register2.d.ts +65 -0
  217. package/lib/pro/Login2.0/Register2.js +1062 -0
  218. package/lib/pro/Login2.0/components/ForgotPasswordFlow.d.ts +31 -0
  219. package/lib/pro/Login2.0/components/ForgotPasswordFlow.js +213 -0
  220. package/lib/pro/Login2.0/components/LegalTerms.d.ts +8 -0
  221. package/lib/pro/Login2.0/components/LegalTerms.js +76 -0
  222. package/lib/pro/Login2.0/components/LegalTerms.less +74 -0
  223. package/lib/pro/Login2.0/components/LoginCodeInput.d.ts +27 -0
  224. package/lib/pro/Login2.0/components/LoginCodeInput.js +161 -0
  225. package/lib/pro/Login2.0/components/OAuthButtonGroup.d.ts +22 -0
  226. package/lib/pro/Login2.0/components/OAuthButtonGroup.js +87 -0
  227. package/lib/pro/Login2.0/components/PhoneInput.d.ts +53 -0
  228. package/lib/pro/Login2.0/components/PhoneInput.js +263 -0
  229. package/lib/pro/Login2.0/components/PhoneInput.less +148 -0
  230. package/lib/pro/Login2.0/components/phoneValidation.d.ts +17 -0
  231. package/lib/pro/Login2.0/components/phoneValidation.js +153 -0
  232. package/lib/pro/Login2.0/hooks/index.d.ts +2 -0
  233. package/lib/pro/Login2.0/hooks/index.js +29 -0
  234. package/lib/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +24 -0
  235. package/lib/pro/Login2.0/hooks/usePasswordValidationRules.js +140 -0
  236. package/lib/pro/Login2.0/hooks/useRegisterFlow.d.ts +39 -0
  237. package/lib/pro/Login2.0/hooks/useRegisterFlow.js +149 -0
  238. package/lib/pro/Login2.0/hooks/useRegistrationMethods.d.ts +9 -0
  239. package/lib/pro/Login2.0/hooks/useRegistrationMethods.js +51 -0
  240. package/lib/pro/Login2.0/index.js +45 -0
  241. package/lib/pro/Login2.0/index.less +993 -0
  242. package/lib/pro/Login2.0/locales.d.ts +543 -0
  243. package/lib/pro/Login2.0/locales.js +646 -0
  244. package/lib/pro/Login2.0/shared/Header.d.ts +11 -0
  245. package/lib/pro/Login2.0/shared/Header.js +81 -0
  246. package/lib/pro/Login2.0/shared/OAuthButtons.d.ts +11 -0
  247. package/lib/pro/Login2.0/shared/OAuthButtons.js +78 -0
  248. package/lib/pro/Login2.0/shared/registerFlow.d.ts +116 -0
  249. package/lib/pro/Login2.0/shared/registerFlow.js +235 -0
  250. package/lib/pro/Login2.0/shared/types.d.ts +232 -0
  251. package/lib/pro/Login2.0/shared/types.js +17 -0
  252. package/lib/pro/Login2.0/steps/CodeInput.d.ts +24 -0
  253. package/lib/pro/Login2.0/steps/CodeInput.js +160 -0
  254. package/lib/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +12 -0
  255. package/lib/pro/Login2.0/steps/EmailAlreadyRegistered.js +46 -0
  256. package/lib/pro/Login2.0/steps/EmailLinkAlreadyUsed.d.ts +7 -0
  257. package/lib/pro/Login2.0/steps/EmailLinkAlreadyUsed.js +51 -0
  258. package/lib/pro/Login2.0/steps/EmailLinkExpired.d.ts +9 -0
  259. package/lib/pro/Login2.0/steps/EmailLinkExpired.js +51 -0
  260. package/lib/pro/Login2.0/steps/SetPassword.d.ts +19 -0
  261. package/lib/pro/Login2.0/steps/SetPassword.js +131 -0
  262. package/lib/pro/Login2.0/steps/VerificationSuccess.d.ts +8 -0
  263. package/lib/pro/Login2.0/steps/VerificationSuccess.js +49 -0
  264. package/lib/pro/Login2.0/steps/VerifyingEmailLink.d.ts +7 -0
  265. package/lib/pro/Login2.0/steps/VerifyingEmailLink.js +41 -0
  266. package/lib/pro/Login2.0/steps/WaitEmailLink.d.ts +18 -0
  267. package/lib/pro/Login2.0/steps/WaitEmailLink.js +67 -0
  268. package/lib/pro/Login2.0/steps/index.d.ts +19 -0
  269. package/lib/pro/Login2.0/steps/index.js +60 -0
  270. package/lib/pro/Login2.0/steps/steps.less +423 -0
  271. package/lib/pro/Login2.0/types.d.ts +167 -0
  272. package/lib/pro/Login2.0/types.js +17 -0
  273. package/lowcode/authmodal/meta.ts +395 -0
  274. package/lowcode/contact-info/fragments/cardStyle.ts +68 -0
  275. package/lowcode/contact-info/fragments/nameStyle.ts +33 -0
  276. package/lowcode/contact-info/fragments/pisellAvatar.ts +103 -0
  277. package/lowcode/contact-info/fragments/textStyle.ts +33 -0
  278. package/lowcode/contact-info/meta.ts +199 -0
  279. package/lowcode/contact-info-modal/meta.ts +98 -0
  280. package/lowcode/login2/CONFIG.md +447 -0
  281. package/lowcode/login2/TEST_CONFIG.md +324 -0
  282. package/lowcode/login2/VERIFICATION_METHODS.md +364 -0
  283. package/lowcode/login2/meta.ts +560 -0
  284. package/lowcode/login2/snippets.ts +124 -0
  285. package/lowcode/register2/meta.ts +562 -0
  286. package/lowcode/register2/snippets.ts +257 -0
  287. package/package.json +7 -5
@@ -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,38 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+
19
+ // src/plus/contactInfo/locales.ts
20
+ var locales_exports = {};
21
+ __export(locales_exports, {
22
+ default: () => locales_default
23
+ });
24
+ module.exports = __toCommonJS(locales_exports);
25
+ var locales_default = {
26
+ en: {
27
+ "pisell2.text.contact-info.placeholder": "Add Contact",
28
+ "pisell2.text.contact-info.actions.delete": "Delete"
29
+ },
30
+ "zh-CN": {
31
+ "pisell2.text.contact-info.placeholder": "添加联系人",
32
+ "pisell2.text.contact-info.actions.delete": "删除"
33
+ },
34
+ "zh-HK": {
35
+ "pisell2.text.contact-info.placeholder": "添加聯繫人",
36
+ "pisell2.text.contact-info.actions.delete": "刪除"
37
+ }
38
+ };