persagy-vant 0.0.38 → 0.0.40

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 (307) hide show
  1. package/es/action-sheet/ActionSheet.d.ts +3 -15
  2. package/es/action-sheet/ActionSheet.mjs +22 -11
  3. package/es/action-sheet/index.css +1 -1
  4. package/es/action-sheet/index.d.ts +2 -11
  5. package/es/action-sheet/index.less +31 -17
  6. package/es/action-sheet/style/index.mjs +2 -0
  7. package/es/action-sheet/style/less.mjs +2 -0
  8. package/es/action-sheet/var.less +1 -4
  9. package/es/address-edit/AddressEditDetail.d.ts +1 -1
  10. package/es/address-edit/style/index.mjs +1 -0
  11. package/es/address-edit/style/less.mjs +1 -0
  12. package/es/button/Button.d.ts +4 -1
  13. package/es/button/Button.mjs +21 -1
  14. package/es/button/index.css +1 -1
  15. package/es/button/index.d.ts +3 -1
  16. package/es/button/index.less +11 -5
  17. package/es/calendar/Calendar.d.ts +1 -1
  18. package/es/calendar/index.d.ts +1 -1
  19. package/es/cascader/Cascader.d.ts +1 -1
  20. package/es/cascader/index.d.ts +1 -1
  21. package/es/cascader/style/index.mjs +2 -0
  22. package/es/cascader/style/less.mjs +2 -0
  23. package/es/cell/Cell.d.ts +305 -1
  24. package/es/cell/Cell.mjs +257 -28
  25. package/es/cell/index.css +1 -1
  26. package/es/cell/index.d.ts +165 -1
  27. package/es/cell/index.less +101 -0
  28. package/es/cell/style/index.mjs +1 -0
  29. package/es/cell/style/less.mjs +1 -0
  30. package/es/checkbox-panel/index.css +1 -1
  31. package/es/checkbox-panel/index.less +1 -1
  32. package/es/checkbox-panel/style/index.mjs +1 -0
  33. package/es/checkbox-panel/style/less.mjs +1 -0
  34. package/es/collapse-item/CollapseItem.d.ts +230 -0
  35. package/es/collapse-item/index.d.ts +160 -0
  36. package/es/collapse-item/style/index.mjs +1 -0
  37. package/es/collapse-item/style/less.mjs +1 -0
  38. package/es/contact-card/style/index.mjs +1 -0
  39. package/es/contact-card/style/less.mjs +1 -0
  40. package/es/contact-edit/style/index.mjs +1 -0
  41. package/es/contact-edit/style/less.mjs +1 -0
  42. package/es/content-panel/index.css +1 -1
  43. package/es/content-panel/index.less +2 -0
  44. package/es/coupon-cell/style/index.mjs +1 -0
  45. package/es/coupon-cell/style/less.mjs +1 -0
  46. package/es/coupon-list/style/index.mjs +3 -0
  47. package/es/coupon-list/style/less.mjs +3 -0
  48. package/es/dialog/Dialog.d.ts +1 -1
  49. package/es/dialog/function-call.d.ts +1 -1
  50. package/es/dialog/style/index.mjs +1 -0
  51. package/es/dialog/style/less.mjs +1 -0
  52. package/es/dropdown-item/DropdownItem.d.ts +2 -2
  53. package/es/dropdown-item/index.d.ts +2 -2
  54. package/es/dropdown-item/style/index.mjs +1 -0
  55. package/es/dropdown-item/style/less.mjs +1 -0
  56. package/es/field/Field.d.ts +248 -1
  57. package/es/field/Field.mjs +21 -2
  58. package/es/field/index.css +1 -1
  59. package/es/field/index.d.ts +173 -1
  60. package/es/field/index.less +15 -0
  61. package/es/field/style/index.mjs +1 -0
  62. package/es/field/style/less.mjs +1 -0
  63. package/es/floor-select/style/index.mjs +3 -0
  64. package/es/floor-select/style/less.mjs +3 -0
  65. package/es/form-panel/index.css +1 -1
  66. package/es/form-panel/index.less +2 -0
  67. package/es/image-preview/ImagePreview.d.ts +2 -2
  68. package/es/image-preview/function-call.d.ts +2 -2
  69. package/es/index.d.ts +1 -1
  70. package/es/index.mjs +1 -1
  71. package/es/info-card/InfoCard.d.ts +1 -1
  72. package/es/info-card/index.d.ts +1 -1
  73. package/es/label/index.css +1 -1
  74. package/es/label/index.less +4 -0
  75. package/es/label/var.less +1 -0
  76. package/es/location-select/index.css +1 -1
  77. package/es/location-select/index.less +1 -1
  78. package/es/location-select/style/index.mjs +1 -0
  79. package/es/location-select/style/less.mjs +1 -0
  80. package/es/material-action-bar/MaterialActionBar.d.ts +9 -0
  81. package/es/material-action-bar/MaterialActionBar.mjs +5 -2
  82. package/es/material-action-bar/index.d.ts +18 -0
  83. package/es/material-add/index.css +1 -1
  84. package/es/material-add/index.less +1 -1
  85. package/es/material-add/style/index.mjs +1 -1
  86. package/es/material-add/style/less.mjs +1 -1
  87. package/es/material-display-bar/MaterialDisplayBar.d.ts +4 -4
  88. package/es/material-display-bar/index.d.ts +12 -12
  89. package/es/multi-person-select/index.css +1 -1
  90. package/es/multi-person-select/index.less +1 -1
  91. package/es/multi-person-select/style/index.mjs +1 -0
  92. package/es/multi-person-select/style/less.mjs +1 -0
  93. package/es/notify/Notify.d.ts +1 -1
  94. package/es/notify/function-call.d.ts +1 -1
  95. package/es/number-keyboard/NumberKeyboard.d.ts +2 -2
  96. package/es/number-keyboard/index.d.ts +2 -2
  97. package/es/object-select/index.css +1 -1
  98. package/es/object-select/index.less +2 -0
  99. package/es/object-select/style/index.mjs +1 -0
  100. package/es/object-select/style/less.mjs +1 -0
  101. package/es/popover/Popover.d.ts +3 -3
  102. package/es/popover/index.d.ts +3 -3
  103. package/es/popup/Popup.d.ts +4 -4
  104. package/es/popup/index.d.ts +4 -4
  105. package/es/quantity-input/style/index.mjs +1 -0
  106. package/es/quantity-input/style/less.mjs +1 -0
  107. package/es/radio-panel/RadioPanel.d.ts +1 -1
  108. package/es/radio-panel/index.css +1 -1
  109. package/es/radio-panel/index.d.ts +1 -1
  110. package/es/radio-panel/index.less +1 -1
  111. package/es/radio-panel/style/index.mjs +1 -0
  112. package/es/radio-panel/style/less.mjs +1 -0
  113. package/es/rate/style/index.mjs +1 -0
  114. package/es/rate/style/less.mjs +1 -0
  115. package/es/search/style/index.mjs +1 -0
  116. package/es/search/style/less.mjs +1 -0
  117. package/es/share-sheet/ShareSheet.d.ts +1 -1
  118. package/es/share-sheet/index.d.ts +1 -1
  119. package/es/single-person-select/index.css +1 -1
  120. package/es/single-person-select/index.less +2 -0
  121. package/es/single-person-select/style/index.mjs +1 -0
  122. package/es/single-person-select/style/less.mjs +1 -0
  123. package/es/style/base.css +1 -1
  124. package/es/style/base.less +5 -0
  125. package/es/style/css-variables.css +1 -1
  126. package/es/style/css-variables.less +1 -0
  127. package/es/style/var.less +1 -0
  128. package/es/swipe-cell/SwipeCell.d.ts +2 -2
  129. package/es/swipe-cell/index.d.ts +2 -2
  130. package/es/tab/style/index.mjs +2 -0
  131. package/es/tab/style/less.mjs +2 -0
  132. package/es/tabs/style/index.mjs +2 -0
  133. package/es/tabs/style/less.mjs +2 -0
  134. package/es/title-bar/TitleBar.d.ts +2 -2
  135. package/es/title-bar/index.d.ts +2 -2
  136. package/es/toast/Toast.d.ts +1 -1
  137. package/es/tree-select/style/index.mjs +1 -0
  138. package/es/tree-select/style/less.mjs +1 -0
  139. package/es/uploader/Uploader.d.ts +4 -0
  140. package/es/uploader/Uploader.mjs +3 -2
  141. package/es/uploader/index.d.ts +3 -0
  142. package/es/video-preview/VideoPreview.d.ts +2 -2
  143. package/es/video-preview/function-call.d.ts +2 -2
  144. package/es/work-order-filter/index.css +1 -1
  145. package/es/work-order-filter/index.less +2 -0
  146. package/es/work-order-filter/style/index.mjs +1 -0
  147. package/es/work-order-filter/style/less.mjs +1 -0
  148. package/lib/action-sheet/ActionSheet.d.ts +3 -15
  149. package/lib/action-sheet/ActionSheet.js +21 -10
  150. package/lib/action-sheet/index.css +1 -1
  151. package/lib/action-sheet/index.d.ts +2 -11
  152. package/lib/action-sheet/index.less +31 -17
  153. package/lib/action-sheet/style/index.js +2 -0
  154. package/lib/action-sheet/style/less.js +2 -0
  155. package/lib/action-sheet/var.less +1 -4
  156. package/lib/address-edit/AddressEditDetail.d.ts +1 -1
  157. package/lib/address-edit/style/index.js +1 -0
  158. package/lib/address-edit/style/less.js +1 -0
  159. package/lib/button/Button.d.ts +4 -1
  160. package/lib/button/Button.js +21 -1
  161. package/lib/button/index.css +1 -1
  162. package/lib/button/index.d.ts +3 -1
  163. package/lib/button/index.less +11 -5
  164. package/lib/calendar/Calendar.d.ts +1 -1
  165. package/lib/calendar/index.d.ts +1 -1
  166. package/lib/cascader/Cascader.d.ts +1 -1
  167. package/lib/cascader/index.d.ts +1 -1
  168. package/lib/cascader/style/index.js +2 -0
  169. package/lib/cascader/style/less.js +2 -0
  170. package/lib/cell/Cell.d.ts +305 -1
  171. package/lib/cell/Cell.js +257 -28
  172. package/lib/cell/index.css +1 -1
  173. package/lib/cell/index.d.ts +165 -1
  174. package/lib/cell/index.less +101 -0
  175. package/lib/cell/style/index.js +1 -0
  176. package/lib/cell/style/less.js +1 -0
  177. package/lib/checkbox-panel/index.css +1 -1
  178. package/lib/checkbox-panel/index.less +1 -1
  179. package/lib/checkbox-panel/style/index.js +1 -0
  180. package/lib/checkbox-panel/style/less.js +1 -0
  181. package/lib/collapse-item/CollapseItem.d.ts +230 -0
  182. package/lib/collapse-item/index.d.ts +160 -0
  183. package/lib/collapse-item/style/index.js +1 -0
  184. package/lib/collapse-item/style/less.js +1 -0
  185. package/lib/contact-card/style/index.js +1 -0
  186. package/lib/contact-card/style/less.js +1 -0
  187. package/lib/contact-edit/style/index.js +1 -0
  188. package/lib/contact-edit/style/less.js +1 -0
  189. package/lib/content-panel/index.css +1 -1
  190. package/lib/content-panel/index.less +2 -0
  191. package/lib/coupon-cell/style/index.js +1 -0
  192. package/lib/coupon-cell/style/less.js +1 -0
  193. package/lib/coupon-list/style/index.js +3 -0
  194. package/lib/coupon-list/style/less.js +3 -0
  195. package/lib/dialog/Dialog.d.ts +1 -1
  196. package/lib/dialog/function-call.d.ts +1 -1
  197. package/lib/dialog/style/index.js +1 -0
  198. package/lib/dialog/style/less.js +1 -0
  199. package/lib/dropdown-item/DropdownItem.d.ts +2 -2
  200. package/lib/dropdown-item/index.d.ts +2 -2
  201. package/lib/dropdown-item/style/index.js +1 -0
  202. package/lib/dropdown-item/style/less.js +1 -0
  203. package/lib/field/Field.d.ts +248 -1
  204. package/lib/field/Field.js +21 -2
  205. package/lib/field/index.css +1 -1
  206. package/lib/field/index.d.ts +173 -1
  207. package/lib/field/index.less +15 -0
  208. package/lib/field/style/index.js +1 -0
  209. package/lib/field/style/less.js +1 -0
  210. package/lib/floor-select/style/index.js +3 -0
  211. package/lib/floor-select/style/less.js +3 -0
  212. package/lib/form-panel/index.css +1 -1
  213. package/lib/form-panel/index.less +2 -0
  214. package/lib/image-preview/ImagePreview.d.ts +2 -2
  215. package/lib/image-preview/function-call.d.ts +2 -2
  216. package/lib/index.css +1 -1
  217. package/lib/index.d.ts +1 -1
  218. package/lib/index.js +1 -1
  219. package/lib/index.less +2 -2
  220. package/lib/info-card/InfoCard.d.ts +1 -1
  221. package/lib/info-card/index.d.ts +1 -1
  222. package/lib/label/index.css +1 -1
  223. package/lib/label/index.less +4 -0
  224. package/lib/label/var.less +1 -0
  225. package/lib/location-select/index.css +1 -1
  226. package/lib/location-select/index.less +1 -1
  227. package/lib/location-select/style/index.js +1 -0
  228. package/lib/location-select/style/less.js +1 -0
  229. package/lib/material-action-bar/MaterialActionBar.d.ts +9 -0
  230. package/lib/material-action-bar/MaterialActionBar.js +4 -1
  231. package/lib/material-action-bar/index.d.ts +18 -0
  232. package/lib/material-add/index.css +1 -1
  233. package/lib/material-add/index.less +1 -1
  234. package/lib/material-add/style/index.js +1 -1
  235. package/lib/material-add/style/less.js +1 -1
  236. package/lib/material-display-bar/MaterialDisplayBar.d.ts +4 -4
  237. package/lib/material-display-bar/index.d.ts +12 -12
  238. package/lib/multi-person-select/index.css +1 -1
  239. package/lib/multi-person-select/index.less +1 -1
  240. package/lib/multi-person-select/style/index.js +1 -0
  241. package/lib/multi-person-select/style/less.js +1 -0
  242. package/lib/notify/Notify.d.ts +1 -1
  243. package/lib/notify/function-call.d.ts +1 -1
  244. package/lib/number-keyboard/NumberKeyboard.d.ts +2 -2
  245. package/lib/number-keyboard/index.d.ts +2 -2
  246. package/lib/object-select/index.css +1 -1
  247. package/lib/object-select/index.less +2 -0
  248. package/lib/object-select/style/index.js +1 -0
  249. package/lib/object-select/style/less.js +1 -0
  250. package/lib/popover/Popover.d.ts +3 -3
  251. package/lib/popover/index.d.ts +3 -3
  252. package/lib/popup/Popup.d.ts +4 -4
  253. package/lib/popup/index.d.ts +4 -4
  254. package/lib/quantity-input/style/index.js +1 -0
  255. package/lib/quantity-input/style/less.js +1 -0
  256. package/lib/radio-panel/RadioPanel.d.ts +1 -1
  257. package/lib/radio-panel/index.css +1 -1
  258. package/lib/radio-panel/index.d.ts +1 -1
  259. package/lib/radio-panel/index.less +1 -1
  260. package/lib/radio-panel/style/index.js +1 -0
  261. package/lib/radio-panel/style/less.js +1 -0
  262. package/lib/rate/style/index.js +1 -0
  263. package/lib/rate/style/less.js +1 -0
  264. package/lib/search/style/index.js +1 -0
  265. package/lib/search/style/less.js +1 -0
  266. package/lib/share-sheet/ShareSheet.d.ts +1 -1
  267. package/lib/share-sheet/index.d.ts +1 -1
  268. package/lib/single-person-select/index.css +1 -1
  269. package/lib/single-person-select/index.less +2 -0
  270. package/lib/single-person-select/style/index.js +1 -0
  271. package/lib/single-person-select/style/less.js +1 -0
  272. package/lib/style/base.css +1 -1
  273. package/lib/style/base.less +5 -0
  274. package/lib/style/css-variables.css +1 -1
  275. package/lib/style/css-variables.less +1 -0
  276. package/lib/style/var.less +1 -0
  277. package/lib/swipe-cell/SwipeCell.d.ts +2 -2
  278. package/lib/swipe-cell/index.d.ts +2 -2
  279. package/lib/tab/style/index.js +2 -0
  280. package/lib/tab/style/less.js +2 -0
  281. package/lib/tabs/style/index.js +2 -0
  282. package/lib/tabs/style/less.js +2 -0
  283. package/lib/title-bar/TitleBar.d.ts +2 -2
  284. package/lib/title-bar/index.d.ts +2 -2
  285. package/lib/toast/Toast.d.ts +1 -1
  286. package/lib/tree-select/style/index.js +1 -0
  287. package/lib/tree-select/style/less.js +1 -0
  288. package/lib/uploader/Uploader.d.ts +4 -0
  289. package/lib/uploader/Uploader.js +2 -1
  290. package/lib/uploader/index.d.ts +3 -0
  291. package/lib/vant.cjs.js +1268 -987
  292. package/lib/vant.es.js +1269 -988
  293. package/lib/vant.js +5214 -4933
  294. package/lib/vant.min.js +1 -1
  295. package/lib/video-preview/VideoPreview.d.ts +2 -2
  296. package/lib/video-preview/function-call.d.ts +2 -2
  297. package/lib/web-types.json +1 -1
  298. package/lib/work-order-filter/index.css +1 -1
  299. package/lib/work-order-filter/index.less +2 -0
  300. package/lib/work-order-filter/style/index.js +1 -0
  301. package/lib/work-order-filter/style/less.js +1 -0
  302. package/package.json +1 -1
  303. package/skills/use-persagy-vant/SKILL.md +8 -7
  304. package/skills/use-persagy-vant/references/component-catalog.md +3 -3
  305. package/skills/use-persagy-vant/references/component-variant-selection.md +39 -0
  306. package/skills/use-persagy-vant/references/element-component-matching.md +88 -0
  307. package/skills/use-persagy-vant/references/public-style-system.md +105 -0
package/lib/cell/Cell.js CHANGED
@@ -28,42 +28,113 @@ var import_icon = require("../icon");
28
28
  var import_checkbox = require("../checkbox");
29
29
  var import_radio = require("../radio");
30
30
  var import_badge = require("../badge");
31
+ var import_tag = require("../tag");
31
32
  var import_ConfigProvider = require("../config-provider/ConfigProvider");
32
33
  const [name, bem] = (0, import_utils.createNamespace)("cell");
33
34
  const cellSharedProps = {
34
35
  icon: String,
35
36
  size: String,
37
+ background: String,
36
38
  title: import_utils.numericProp,
37
39
  value: import_utils.numericProp,
38
40
  label: import_utils.numericProp,
41
+ labelClickable: Boolean,
42
+ labelIcon: String,
43
+ showLabelIcon: {
44
+ type: Boolean,
45
+ default: void 0
46
+ },
39
47
  description: import_utils.numericProp,
48
+ descriptionClickable: Boolean,
49
+ multiLineNotes: Array,
50
+ showMultiLineNotes: {
51
+ type: Boolean,
52
+ default: void 0
53
+ },
54
+ showTitleCollapseIcon: Boolean,
55
+ defaultMultiLineNotesCollapsed: Boolean,
40
56
  threeLine: Boolean,
41
57
  labelSize: import_utils.numericProp,
42
58
  avatar: String,
59
+ showAvatar: {
60
+ type: Boolean,
61
+ default: void 0
62
+ },
43
63
  rightAvatar: String,
64
+ showRightAvatar: {
65
+ type: Boolean,
66
+ default: void 0
67
+ },
44
68
  tags: Array,
69
+ showTags: {
70
+ type: Boolean,
71
+ default: void 0
72
+ },
73
+ titleTag: import_utils.numericProp,
74
+ showTitleTag: {
75
+ type: Boolean,
76
+ default: void 0
77
+ },
78
+ wrapTags: Array,
79
+ showWrapTags: {
80
+ type: Boolean,
81
+ default: void 0
82
+ },
45
83
  titleIcon: String,
84
+ titleIconClickable: Boolean,
85
+ showTitleIcon: {
86
+ type: Boolean,
87
+ default: void 0
88
+ },
46
89
  rightIcon: String,
90
+ showIcon: {
91
+ type: Boolean,
92
+ default: void 0
93
+ },
94
+ showRightIcon: {
95
+ type: Boolean,
96
+ default: void 0
97
+ },
47
98
  note: import_utils.numericProp,
99
+ showNote: {
100
+ type: Boolean,
101
+ default: void 0
102
+ },
48
103
  noteBold: Boolean,
49
104
  noteClickable: Boolean,
50
105
  noteTo: import_use_route.routeProps.to,
51
106
  noteUrl: String,
52
107
  noteReplace: Boolean,
53
108
  badge: import_utils.numericProp,
109
+ showBadge: {
110
+ type: Boolean,
111
+ default: void 0
112
+ },
54
113
  leftSelect: {
55
114
  type: Boolean,
56
115
  default: void 0
57
116
  },
117
+ showLeftSelect: {
118
+ type: Boolean,
119
+ default: void 0
120
+ },
58
121
  rightSelect: {
59
122
  type: Boolean,
60
123
  default: void 0
61
124
  },
125
+ showRightSelect: {
126
+ type: Boolean,
127
+ default: void 0
128
+ },
62
129
  selectType: {
63
130
  type: String,
64
131
  default: "checkbox"
65
132
  },
66
133
  blueMark: Boolean,
134
+ showBlueMark: {
135
+ type: Boolean,
136
+ default: void 0
137
+ },
67
138
  titleBold: Boolean,
68
139
  center: Boolean,
69
140
  isLink: Boolean,
@@ -85,7 +156,7 @@ const cellProps = (0, import_utils.extend)({}, cellSharedProps, import_use_route
85
156
  var stdin_default = (0, import_vue.defineComponent)({
86
157
  name,
87
158
  props: cellProps,
88
- emits: ["click", "click-note", "update:leftSelect", "update:rightSelect"],
159
+ emits: ["click", "click-label", "click-description", "click-note", "click-title-icon", "update:leftSelect", "update:rightSelect", "update:multiLineNotesCollapsed"],
89
160
  setup(props, {
90
161
  slots,
91
162
  emit
@@ -96,6 +167,8 @@ var stdin_default = (0, import_vue.defineComponent)({
96
167
  const vm = (0, import_vue.getCurrentInstance)().proxy;
97
168
  const leftSelectState = (0, import_vue.ref)((_a = props.leftSelect) != null ? _a : false);
98
169
  const rightSelectState = (0, import_vue.ref)((_b = props.rightSelect) != null ? _b : false);
170
+ const multiLineNotesCollapsed = (0, import_vue.ref)(props.defaultMultiLineNotesCollapsed);
171
+ const isVisible = (show, hasContent) => show != null ? show : hasContent;
99
172
  (0, import_vue.watch)(() => props.leftSelect, (value) => {
100
173
  if ((0, import_utils.isDef)(value)) {
101
174
  leftSelectState.value = value;
@@ -106,7 +179,12 @@ var stdin_default = (0, import_vue.defineComponent)({
106
179
  rightSelectState.value = value;
107
180
  }
108
181
  });
109
- const hasSelect = (position) => (0, import_utils.isDef)(position === "left" ? props.leftSelect : props.rightSelect);
182
+ const isSelectVisible = (position) => {
183
+ const show = position === "left" ? props.showLeftSelect : props.showRightSelect;
184
+ const select = position === "left" ? props.leftSelect : props.rightSelect;
185
+ return isVisible(show, !!slots[`${position}-select`] || (0, import_utils.isDef)(select));
186
+ };
187
+ const hasSelect = (position) => isSelectVisible(position) && (0, import_utils.isDef)(position === "left" ? props.leftSelect : props.rightSelect);
110
188
  const getSelectState = (position) => position === "left" ? leftSelectState.value : rightSelectState.value;
111
189
  const updateSelectState = (position, value) => {
112
190
  if (position === "left") {
@@ -127,32 +205,95 @@ var stdin_default = (0, import_vue.defineComponent)({
127
205
  return false;
128
206
  };
129
207
  const renderLabel = () => {
208
+ var _a2;
130
209
  const showLabel = slots.label || (0, import_utils.isDef)(props.label);
210
+ const showLabelIcon = (_a2 = props.showLabelIcon) != null ? _a2 : !!(slots["label-icon"] || props.labelIcon);
131
211
  if (showLabel) {
132
212
  return (0, import_vue.createVNode)("div", {
133
- "class": [bem("label"), props.labelClass],
213
+ "class": [bem("label", {
214
+ clickable: props.labelClickable
215
+ }), props.labelClass],
134
216
  "style": {
135
217
  fontSize: (0, import_utils.addUnit)(props.labelSize)
218
+ },
219
+ "role": props.labelClickable ? "button" : void 0,
220
+ "tabindex": props.labelClickable ? 0 : void 0,
221
+ "onClick": (event) => {
222
+ if (!props.labelClickable)
223
+ return;
224
+ event.stopPropagation();
225
+ emit("click-label", event);
136
226
  }
137
- }, [slots.label ? slots.label() : props.label]);
227
+ }, [showLabelIcon && slots["label-icon"] ? (0, import_vue.createVNode)("span", {
228
+ "class": bem("label-icon")
229
+ }, [slots["label-icon"]()]) : showLabelIcon ? (0, import_vue.createVNode)(import_icon.Icon, {
230
+ "name": props.labelIcon || "location-o",
231
+ "class": bem("label-icon"),
232
+ "classPrefix": props.iconPrefix
233
+ }, null) : null, (0, import_vue.createVNode)("span", null, [slots.label ? slots.label() : props.label])]);
138
234
  }
139
235
  };
140
236
  const renderDescription = () => {
141
237
  const showDescription = slots.description || (0, import_utils.isDef)(props.description);
142
238
  if (showDescription) {
143
239
  return (0, import_vue.createVNode)("div", {
144
- "class": bem("description")
240
+ "class": bem("description", {
241
+ clickable: props.descriptionClickable
242
+ }),
243
+ "role": props.descriptionClickable ? "button" : void 0,
244
+ "tabindex": props.descriptionClickable ? 0 : void 0,
245
+ "onClick": (event) => {
246
+ if (!props.descriptionClickable)
247
+ return;
248
+ event.stopPropagation();
249
+ emit("click-description", event);
250
+ }
145
251
  }, [slots.description ? slots.description() : props.description]);
146
252
  }
147
253
  };
254
+ const renderMultiLineNotes = () => {
255
+ var _a2, _b2;
256
+ if (!isVisible(props.showMultiLineNotes, !!slots["multi-line-notes"] || !!((_a2 = props.multiLineNotes) == null ? void 0 : _a2.length))) {
257
+ return;
258
+ }
259
+ if (slots["multi-line-notes"]) {
260
+ return (0, import_vue.createVNode)("div", {
261
+ "class": bem("multi-line-notes")
262
+ }, [slots["multi-line-notes"]()]);
263
+ }
264
+ if ((_b2 = props.multiLineNotes) == null ? void 0 : _b2.length) {
265
+ return (0, import_vue.createVNode)("div", {
266
+ "class": bem("multi-line-notes")
267
+ }, [props.multiLineNotes.map((note, index) => (0, import_vue.createVNode)("div", {
268
+ "key": `${note}-${index}`,
269
+ "class": bem("multi-line-note")
270
+ }, [note]))]);
271
+ }
272
+ };
148
273
  const renderTitle = () => {
149
274
  if (slots.title || (0, import_utils.isDef)(props.title)) {
150
275
  return (0, import_vue.createVNode)("div", {
151
276
  "class": [bem("title"), props.titleClass],
152
277
  "style": props.titleStyle
153
278
  }, [(0, import_vue.createVNode)("div", {
154
- "class": bem("title-row")
155
- }, [slots.title ? slots.title() : (0, import_vue.createVNode)("span", null, [props.title]), renderTags(), renderTitleIcon()]), renderLabel(), props.threeLine && renderDescription()]);
279
+ "class": bem("title-row", {
280
+ collapsible: props.showTitleCollapseIcon
281
+ }),
282
+ "onClick": (event) => {
283
+ if (props.showTitleCollapseIcon) {
284
+ event.stopPropagation();
285
+ multiLineNotesCollapsed.value = !multiLineNotesCollapsed.value;
286
+ emit("update:multiLineNotesCollapsed", multiLineNotesCollapsed.value);
287
+ }
288
+ }
289
+ }, [props.showTitleCollapseIcon && (0, import_vue.createVNode)("div", {
290
+ "class": bem("title-collapse-action")
291
+ }, [(0, import_vue.createVNode)(import_icon.Icon, {
292
+ "name": "trangle-down",
293
+ "class": bem("title-collapse-icon", {
294
+ collapsed: multiLineNotesCollapsed.value
295
+ })
296
+ }, null)]), slots.title ? slots.title() : (0, import_vue.createVNode)("span", null, [props.title]), renderTitleTag(), renderTags(), renderTitleIcon()]), renderWrapTags(), renderLabel(), props.threeLine && renderDescription(), !multiLineNotesCollapsed.value && renderMultiLineNotes()]);
156
297
  }
157
298
  };
158
299
  const renderValue = () => {
@@ -168,6 +309,9 @@ var stdin_default = (0, import_vue.defineComponent)({
168
309
  }
169
310
  };
170
311
  const renderLeftIcon = () => {
312
+ if (!isVisible(props.showIcon, !!slots.icon || !!props.icon)) {
313
+ return;
314
+ }
171
315
  if (slots.icon) {
172
316
  return slots.icon();
173
317
  }
@@ -183,6 +327,9 @@ var stdin_default = (0, import_vue.defineComponent)({
183
327
  var _a2, _b2;
184
328
  const slot = slots[`${position}-select`];
185
329
  const selected = getSelectState(position);
330
+ if (!isSelectVisible(position)) {
331
+ return;
332
+ }
186
333
  if (slot) {
187
334
  return (0, import_vue.createVNode)("div", {
188
335
  "class": bem(`${position}-select`)
@@ -210,6 +357,10 @@ var stdin_default = (0, import_vue.defineComponent)({
210
357
  const renderAvatar = (position) => {
211
358
  const slot = slots[`${position}-avatar`];
212
359
  const avatar = position === "left" ? props.avatar : props.rightAvatar;
360
+ const show = position === "left" ? props.showAvatar : props.showRightAvatar;
361
+ if (!isVisible(show, !!slot || !!avatar)) {
362
+ return;
363
+ }
213
364
  if (slot) {
214
365
  return (0, import_vue.createVNode)("div", {
215
366
  "class": bem(`${position}-avatar`)
@@ -224,6 +375,9 @@ var stdin_default = (0, import_vue.defineComponent)({
224
375
  }
225
376
  };
226
377
  const renderBlueMark = () => {
378
+ if (!isVisible(props.showBlueMark, !!slots["blue-mark"] || props.blueMark)) {
379
+ return;
380
+ }
227
381
  if (slots["blue-mark"]) {
228
382
  return (0, import_vue.createVNode)("div", {
229
383
  "class": bem("blue-mark")
@@ -236,13 +390,16 @@ var stdin_default = (0, import_vue.defineComponent)({
236
390
  }
237
391
  };
238
392
  const renderTags = () => {
239
- var _a2;
393
+ var _a2, _b2;
394
+ if (!isVisible(props.showTags, !!slots.tags || !!((_a2 = props.tags) == null ? void 0 : _a2.length))) {
395
+ return;
396
+ }
240
397
  if (slots.tags) {
241
398
  return (0, import_vue.createVNode)("div", {
242
399
  "class": bem("tags")
243
400
  }, [slots.tags()]);
244
401
  }
245
- if ((_a2 = props.tags) == null ? void 0 : _a2.length) {
402
+ if ((_b2 = props.tags) == null ? void 0 : _b2.length) {
246
403
  return (0, import_vue.createVNode)("div", {
247
404
  "class": bem("tags")
248
405
  }, [props.tags.map((tag, index) => (0, import_vue.createVNode)("span", {
@@ -251,19 +408,71 @@ var stdin_default = (0, import_vue.defineComponent)({
251
408
  }, [tag]))]);
252
409
  }
253
410
  };
254
- const renderTitleIcon = () => {
255
- if (slots["title-icon"]) {
411
+ const renderTitleTag = () => {
412
+ if (!isVisible(props.showTitleTag, !!slots["title-tag"] || (0, import_utils.isDef)(props.titleTag))) {
413
+ return;
414
+ }
415
+ if (slots["title-tag"]) {
256
416
  return (0, import_vue.createVNode)("div", {
257
- "class": bem("title-icon")
258
- }, [slots["title-icon"]()]);
417
+ "class": bem("title-tag")
418
+ }, [slots["title-tag"]()]);
259
419
  }
260
- if (props.titleIcon) {
261
- return (0, import_vue.createVNode)(import_icon.Icon, {
262
- "name": props.titleIcon,
263
- "class": bem("title-icon")
264
- }, null);
420
+ if ((0, import_utils.isDef)(props.titleTag)) {
421
+ return (0, import_vue.createVNode)("div", {
422
+ "class": bem("title-tag")
423
+ }, [(0, import_vue.createVNode)(import_tag.Tag, {
424
+ "size": "small"
425
+ }, {
426
+ default: () => [props.titleTag]
427
+ })]);
265
428
  }
266
429
  };
430
+ const renderWrapTags = () => {
431
+ var _a2, _b2;
432
+ if (!isVisible(props.showWrapTags, !!slots["wrap-tags"] || !!((_a2 = props.wrapTags) == null ? void 0 : _a2.length))) {
433
+ return;
434
+ }
435
+ if (slots["wrap-tags"]) {
436
+ return (0, import_vue.createVNode)("div", {
437
+ "class": bem("wrap-tags")
438
+ }, [slots["wrap-tags"]()]);
439
+ }
440
+ if ((_b2 = props.wrapTags) == null ? void 0 : _b2.length) {
441
+ return (0, import_vue.createVNode)("div", {
442
+ "class": bem("wrap-tags")
443
+ }, [props.wrapTags.map((tag, index) => (0, import_vue.createVNode)(import_tag.Tag, {
444
+ "key": `${tag}-${index}`
445
+ }, {
446
+ default: () => [tag]
447
+ }))]);
448
+ }
449
+ };
450
+ const renderTitleIcon = () => {
451
+ if (!isVisible(props.showTitleIcon, !!slots["title-icon"] || !!props.titleIcon)) {
452
+ return;
453
+ }
454
+ const icon = slots["title-icon"] ? slots["title-icon"]() : props.titleIcon ? (0, import_vue.createVNode)(import_icon.Icon, {
455
+ "name": props.titleIcon
456
+ }, null) : void 0;
457
+ if (!icon)
458
+ return;
459
+ if (props.titleIconClickable) {
460
+ return (0, import_vue.createVNode)("button", {
461
+ "type": "button",
462
+ "class": bem("title-icon", {
463
+ clickable: true
464
+ }),
465
+ "aria-label": `\u64CD\u4F5C${props.title || ""}`,
466
+ "onClick": (event) => {
467
+ event.stopPropagation();
468
+ emit("click-title-icon", event);
469
+ }
470
+ }, [icon]);
471
+ }
472
+ return (0, import_vue.createVNode)("div", {
473
+ "class": bem("title-icon")
474
+ }, [icon]);
475
+ };
267
476
  const renderNoteContent = (content) => {
268
477
  const clickable = props.noteClickable || props.noteTo || props.noteUrl;
269
478
  const classes = bem("note", {
@@ -291,6 +500,9 @@ var stdin_default = (0, import_vue.defineComponent)({
291
500
  }, [content]);
292
501
  };
293
502
  const renderNote = () => {
503
+ if (!isVisible(props.showNote, !!slots.note || (0, import_utils.isDef)(props.note))) {
504
+ return;
505
+ }
294
506
  if (slots.note) {
295
507
  return renderNoteContent(slots.note());
296
508
  }
@@ -299,6 +511,9 @@ var stdin_default = (0, import_vue.defineComponent)({
299
511
  }
300
512
  };
301
513
  const renderBadge = () => {
514
+ if (!isVisible(props.showBadge, !!slots.badge || (0, import_utils.isDef)(props.badge))) {
515
+ return;
516
+ }
302
517
  if (slots.badge) {
303
518
  return (0, import_vue.createVNode)("div", {
304
519
  "class": bem("badge")
@@ -314,25 +529,34 @@ var stdin_default = (0, import_vue.defineComponent)({
314
529
  }
315
530
  };
316
531
  const renderRightIcon = () => {
532
+ if (!isVisible(props.showRightIcon, !!slots["right-icon"] || !!props.rightIcon || props.isLink)) {
533
+ return;
534
+ }
317
535
  if (slots["right-icon"]) {
318
- return slots["right-icon"]();
536
+ return (0, import_vue.createVNode)("div", {
537
+ "class": bem("right-icon-action")
538
+ }, [slots["right-icon"]()]);
319
539
  }
320
540
  if (props.rightIcon) {
321
- return (0, import_vue.createVNode)(import_icon.Icon, {
541
+ return (0, import_vue.createVNode)("div", {
542
+ "class": bem("right-icon-action")
543
+ }, [(0, import_vue.createVNode)(import_icon.Icon, {
322
544
  "name": props.rightIcon,
323
545
  "class": bem("right-icon")
324
- }, null);
546
+ }, null)]);
325
547
  }
326
548
  if (props.isLink) {
327
549
  const name2 = props.arrowDirection && props.arrowDirection !== "right" ? `arrow-${props.arrowDirection}` : "arrow";
328
- return (0, import_vue.createVNode)(import_icon.Icon, {
550
+ return (0, import_vue.createVNode)("div", {
551
+ "class": bem("right-icon-action")
552
+ }, [(0, import_vue.createVNode)(import_icon.Icon, {
329
553
  "name": name2,
330
554
  "class": bem("right-icon")
331
- }, null);
555
+ }, null)]);
332
556
  }
333
557
  };
334
558
  return () => {
335
- var _a2, _b2, _c;
559
+ var _a2, _b2, _c, _d;
336
560
  const {
337
561
  size,
338
562
  center,
@@ -344,15 +568,17 @@ var stdin_default = (0, import_vue.defineComponent)({
344
568
  threeLine
345
569
  } = props;
346
570
  const clickable = (_a2 = props.clickable) != null ? _a2 : isLink || rightIcon === "arrow" || hasSelect("left") || hasSelect("right");
347
- const hasBadge = !!slots.badge || (0, import_utils.isDef)(props.badge);
348
- const cellSize = (_b2 = size != null ? size : config == null ? void 0 : config.cellSize) != null ? _b2 : "normal";
571
+ const hasBadge = isVisible(props.showBadge, !!slots.badge || (0, import_utils.isDef)(props.badge));
572
+ const hasMultiLineNotes = isVisible(props.showMultiLineNotes, !!slots["multi-line-notes"] || !!((_b2 = props.multiLineNotes) == null ? void 0 : _b2.length));
573
+ const cellSize = (_c = size != null ? size : config == null ? void 0 : config.cellSize) != null ? _c : "normal";
349
574
  const classes = {
350
575
  center: center || hasBadge,
351
576
  required,
352
577
  "title-bold": titleBold,
353
578
  clickable,
354
579
  borderless: !border,
355
- "three-line": threeLine
580
+ "three-line": threeLine,
581
+ "multi-line-notes": hasMultiLineNotes
356
582
  };
357
583
  if (cellSize) {
358
584
  classes[cellSize] = !!cellSize;
@@ -365,10 +591,13 @@ var stdin_default = (0, import_vue.defineComponent)({
365
591
  };
366
592
  return (0, import_vue.createVNode)("div", {
367
593
  "class": [bem(classes), props.errorBorder ? "van-cell-error-border" : ""],
594
+ "style": props.background ? {
595
+ background: props.background
596
+ } : void 0,
368
597
  "role": clickable ? "button" : void 0,
369
598
  "tabindex": clickable ? 0 : void 0,
370
599
  "onClick": onClick
371
- }, [renderSelect("left"), renderAvatar("left"), renderLeftIcon(), renderBlueMark(), renderTitle(), renderValue(), renderNote(), renderAvatar("right"), renderBadge(), renderSelect("right"), renderRightIcon(), (_c = slots.extra) == null ? void 0 : _c.call(slots)]);
600
+ }, [renderSelect("left"), renderAvatar("left"), renderLeftIcon(), renderBlueMark(), renderTitle(), renderValue(), renderNote(), renderAvatar("right"), renderBadge(), renderSelect("right"), renderRightIcon(), (_d = slots.extra) == null ? void 0 : _d.call(slots)]);
372
601
  };
373
602
  }
374
603
  });
@@ -1 +1 @@
1
- :root{--van-cell-font-size: var(--van-font-size-md);--van-cell-line-height: 24px;--van-cell-vertical-padding: 10px;--van-cell-horizontal-padding: var(--van-padding-md);--van-cell-text-color: var(--van-text-color);--van-cell-background-color: var(--van-background-color-light);--van-cell-border-color: var(--van-border-color);--van-cell-active-color: var(--van-active-color);--van-cell-required-color: var(--van-danger-color);--van-cell-label-color: var(--van-text-color-2);--van-cell-label-font-size: var(--van-font-size-sm);--van-cell-label-line-height: var(--van-line-height-sm);--van-cell-label-margin-top: 2px;--van-cell-title-value-gap: var(--van-padding-xs);--van-cell-description-color: var(--van-text-color-2);--van-cell-description-font-size: var(--van-font-size-sm);--van-cell-description-line-height: var(--van-line-height-sm);--van-cell-description-margin-top: 2px;--van-cell-value-color: var(--van-text-color-2);--van-cell-icon-size: 16px;--van-cell-right-icon-color: var(--van-gray-6);--van-cell-large-vertical-padding: var(--van-padding-sm);--van-cell-large-title-font-size: var(--van-font-size-lg);--van-cell-large-label-font-size: var(--van-font-size-md);--van-cell-large-description-font-size: var(--van-font-size-md);--van-cell-large-value-font-size: 16px;--van-cell-blue-mark-width: 2px}.van-cell{position:relative;display:flex;box-sizing:border-box;width:100%;padding:var(--van-cell-vertical-padding) var(--van-cell-horizontal-padding);overflow:hidden;color:var(--van-cell-text-color);font-size:var(--van-cell-font-size);line-height:var(--van-cell-line-height);background:var(--van-cell-background-color)}.van-cell:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:var(--van-padding-md);bottom:0;left:var(--van-padding-md);border-bottom:1px solid var(--van-cell-border-color);transform:scaleY(.5)}.van-cell:last-child:after,.van-cell--borderless:after{display:none}.van-cell-error-border:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:var(--van-padding-md);bottom:0;left:var(--van-padding-md);border-bottom:1px solid var(--van-field-input-error-text-color);transform:scaleY(.5)}.van-cell-error-border:last-child:after{display:inline-block}.van-cell__label{margin-top:var(--van-cell-label-margin-top);color:var(--van-cell-label-color);font-size:var(--van-cell-label-font-size);line-height:var(--van-cell-label-line-height)}.van-cell__description{margin-top:var(--van-cell-description-margin-top);color:var(--van-cell-description-color);font-size:var(--van-cell-description-font-size);line-height:var(--van-cell-description-line-height)}.van-cell__title{flex:1;min-width:0}.van-cell__title-row{display:flex;align-items:center;min-width:0}.van-cell__value{flex:none;min-width:0;margin-left:var(--van-cell-title-value-gap);position:relative;overflow:hidden;color:var(--van-cell-value-color);text-align:right;vertical-align:middle;word-wrap:break-word}.van-cell__value--alone{margin-left:0;color:var(--van-text-color);text-align:left}.van-cell__left-icon,.van-cell__right-icon,.van-cell__left-select,.van-cell__right-select,.van-cell__title-icon{flex:none;height:var(--van-cell-line-height);font-size:var(--van-cell-icon-size);line-height:var(--van-cell-line-height);display:flex!important;align-items:center;justify-content:center}.van-cell__left-icon{margin-right:var(--van-padding-base)}.van-cell__right-icon{margin-left:var(--van-padding-base);color:var(--van-cell-right-icon-color)}.van-cell__left-select{display:flex;flex:none;align-items:center;align-self:center;margin-right:var(--van-padding-base)}.van-cell__right-select{display:flex;flex:none;align-items:center;align-self:center;margin-left:var(--van-padding-base)}.van-cell__left-avatar,.van-cell__right-avatar{flex:none;width:var(--van-cell-line-height);height:var(--van-cell-line-height);-o-object-fit:cover;object-fit:cover;border:var(--van-border-width-base) solid var(--van-gray-1);border-radius:var(--van-border-radius-md)}.van-cell__left-avatar{margin-right:var(--van-padding-base)}.van-cell__right-avatar{margin-left:var(--van-padding-base)}.van-cell__blue-mark{flex:none;align-self:center;width:var(--van-cell-blue-mark-width);height:var(--van-font-size-sm);margin-right:var(--van-padding-base);background:var(--van-primary-color)}.van-cell__tags{display:flex;flex:none;gap:var(--van-padding-base);margin-left:var(--van-padding-base)}.van-cell__tag{padding:0 var(--van-padding-base);color:var(--van-text-color);font-size:var(--van-font-size-sm);line-height:var(--van-line-height-sm);background:var(--van-gray-2);border-radius:var(--van-border-radius-sm)}.van-cell__title-icon{margin-left:var(--van-padding-base);color:var(--van-text-color-2)}.van-cell__note{align-self:flex-start;flex:none;margin-left:var(--van-padding-base);color:var(--van-text-color-2);font-size:var(--van-font-size-md);line-height:var(--van-cell-line-height);white-space:nowrap}.van-cell__note--bold{font-weight:var(--van-font-weight-bold)}.van-cell__note--clickable{padding:0;color:var(--van-primary-color);font-family:inherit;font-size:inherit;line-height:inherit;background:transparent;border:0;cursor:pointer}.van-cell__badge{display:flex;flex:none;align-items:center;align-self:center;margin-left:var(--van-padding-base)}.van-cell__badge>.van-badge{position:static;transform:none}.van-cell--clickable{cursor:pointer}.van-cell--clickable:active{background-color:var(--van-cell-active-color)}.van-cell--required{overflow:visible}.van-cell--required:before{position:absolute;left:var(--van-padding-xs);color:var(--van-cell-required-color);font-size:var(--van-cell-font-size);content:"*"}.van-cell--center{align-items:center}.van-cell--large{padding-top:var(--van-cell-large-vertical-padding);padding-bottom:var(--van-cell-large-vertical-padding)}.van-cell--large .van-cell__title{font-size:var(--van-cell-large-title-font-size)}.van-cell--large .van-cell__label{font-size:var(--van-cell-large-label-font-size);margin-top:var(--van-padding-base)}.van-cell--large .van-cell__description{font-size:var(--van-cell-large-description-font-size);margin-top:var(--van-padding-base)}.van-cell--large .van-cell__value{font-size:var(--van-cell-large-value-font-size)}.van-cell--title-bold .van-cell__title{font-weight:var(--van-font-weight-bold)}
1
+ :root{--van-cell-font-size: var(--van-font-size-md);--van-cell-line-height: 24px;--van-cell-vertical-padding: 10px;--van-cell-horizontal-padding: var(--van-padding-md);--van-cell-text-color: var(--van-text-color);--van-cell-background-color: var(--van-background-color-light);--van-cell-border-color: var(--van-border-color);--van-cell-active-color: var(--van-active-color);--van-cell-required-color: var(--van-danger-color);--van-cell-label-color: var(--van-text-color-2);--van-cell-label-font-size: var(--van-font-size-sm);--van-cell-label-line-height: var(--van-line-height-sm);--van-cell-label-margin-top: 2px;--van-cell-title-value-gap: var(--van-padding-xs);--van-cell-description-color: var(--van-text-color-2);--van-cell-description-font-size: var(--van-font-size-sm);--van-cell-description-line-height: var(--van-line-height-sm);--van-cell-description-margin-top: 2px;--van-cell-value-color: var(--van-text-color-2);--van-cell-icon-size: 16px;--van-cell-right-icon-color: var(--van-gray-6);--van-cell-large-vertical-padding: var(--van-padding-sm);--van-cell-large-title-font-size: var(--van-font-size-lg);--van-cell-large-label-font-size: var(--van-font-size-md);--van-cell-large-description-font-size: var(--van-font-size-md);--van-cell-large-value-font-size: 16px;--van-cell-blue-mark-width: 2px}.van-cell{position:relative;display:flex;box-sizing:border-box;width:100%;padding:var(--van-cell-vertical-padding) var(--van-cell-horizontal-padding);overflow:hidden;color:var(--van-cell-text-color);font-size:var(--van-cell-font-size);line-height:var(--van-cell-line-height);background:var(--van-cell-background-color)}.van-cell:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:var(--van-padding-md);bottom:0;left:var(--van-padding-md);border-bottom:1px solid var(--van-cell-border-color);transform:scaleY(.5)}.van-cell:last-child:after,.van-cell--borderless:after{display:none}.van-cell-error-border:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:var(--van-padding-md);bottom:0;left:var(--van-padding-md);border-bottom:1px solid var(--van-field-input-error-text-color);transform:scaleY(.5)}.van-cell-error-border:last-child:after{display:inline-block}.van-cell__label{display:flex;align-items:center;margin-top:var(--van-cell-label-margin-top);color:var(--van-cell-label-color);font-size:var(--van-cell-label-font-size);line-height:var(--van-cell-label-line-height)}.van-cell__label--clickable{color:var(--van-primary-color);font-weight:var(--van-font-weight-bold);cursor:pointer}.van-cell__label-icon{flex:none;width:12px;height:12px;margin-right:2px;color:inherit;font-size:12px;line-height:12px}.van-cell__description{margin-top:var(--van-cell-description-margin-top);color:var(--van-cell-description-color);font-size:var(--van-cell-description-font-size);line-height:var(--van-cell-description-line-height)}.van-cell__description--clickable{color:var(--van-primary-color);cursor:pointer}.van-cell__multi-line-notes{margin-top:var(--van-padding-base);color:var(--van-cell-label-color);font-size:var(--van-cell-label-font-size);line-height:var(--van-cell-label-line-height)}.van-cell__multi-line-note+.van-cell__multi-line-note{margin-top:2px}.van-cell__title{flex:1;min-width:0}.van-cell__title-row{display:flex;align-items:center;min-width:0}.van-cell__title-row--collapsible{cursor:pointer}.van-cell__title-collapse-action,.van-cell__right-icon-action{align-self:flex-start;display:flex;flex:none;height:var(--van-cell-line-height);align-items:center}.van-cell__title-collapse-action{width:var(--van-cell-icon-size);margin-right:var(--van-padding-base);color:var(--van-text-color-2)}.van-cell__title-collapse-icon{width:var(--van-cell-icon-size);font-size:var(--van-cell-icon-size);line-height:var(--van-cell-line-height);transition:transform var(--van-animation-duration-fast)}.van-cell__title-collapse-icon--collapsed{transform:rotate(-90deg)}.van-cell__value{flex:none;min-width:0;margin-left:var(--van-cell-title-value-gap);position:relative;overflow:hidden;color:var(--van-cell-value-color);text-align:right;vertical-align:middle;word-wrap:break-word}.van-cell__value--alone{margin-left:0;color:var(--van-text-color);text-align:left}.van-cell__left-icon,.van-cell__right-icon,.van-cell__left-select,.van-cell__right-select,.van-cell__title-icon{flex:none;height:var(--van-cell-line-height);font-size:var(--van-cell-icon-size);line-height:var(--van-cell-line-height);display:flex!important;align-items:center;justify-content:center}.van-cell__left-icon{margin-right:var(--van-padding-base)}.van-cell__right-icon{color:var(--van-cell-right-icon-color)}.van-cell__right-icon-action{margin-left:var(--van-padding-base);color:var(--van-cell-right-icon-color)}.van-cell--multi-line-notes{align-items:flex-start}.van-cell--multi-line-notes .van-cell__left-select,.van-cell--multi-line-notes .van-cell__right-select{align-self:flex-start}.van-cell__left-select{display:flex;flex:none;align-items:center;align-self:center;margin-right:var(--van-padding-base)}.van-cell__right-select{display:flex;flex:none;align-items:center;align-self:center;margin-left:var(--van-padding-base)}.van-cell__left-avatar,.van-cell__right-avatar{flex:none;width:var(--van-cell-line-height);height:var(--van-cell-line-height);-o-object-fit:cover;object-fit:cover;border:var(--van-border-width-base) solid var(--van-gray-1);border-radius:var(--van-border-radius-md)}.van-cell__left-avatar{margin-right:var(--van-padding-base)}.van-cell__right-avatar{margin-left:var(--van-padding-base)}.van-cell__blue-mark{flex:none;align-self:center;width:var(--van-cell-blue-mark-width);height:var(--van-font-size-sm);margin-right:var(--van-padding-base);background:var(--van-primary-color)}.van-cell__tags{display:flex;flex:none;gap:var(--van-padding-base);margin-left:var(--van-padding-base)}.van-cell__tag{padding:0 var(--van-padding-base);color:var(--van-text-color);font-size:var(--van-font-size-sm);line-height:var(--van-line-height-sm);background:var(--van-gray-2);border-radius:var(--van-border-radius-sm)}.van-cell__wrap-tags{display:flex;flex-wrap:wrap;gap:var(--van-padding-base);margin-top:var(--van-padding-base)}.van-cell__title-icon{margin-left:var(--van-padding-base);color:var(--van-text-color-2)}.van-cell__title-icon--clickable{display:inline-flex;align-items:center;padding:0;color:inherit;line-height:inherit;background:transparent;border:0;cursor:pointer}.van-cell__title-tag{display:flex;flex:none;margin-left:var(--van-padding-base)}.van-cell__note{align-self:flex-start;flex:none;margin-left:var(--van-padding-base);color:var(--van-text-color-2);font-size:var(--van-font-size-md);line-height:var(--van-cell-line-height);white-space:nowrap}.van-cell__note--bold{font-weight:var(--van-font-weight-bold)}.van-cell__note--clickable{padding:0;color:var(--van-primary-color);font-family:inherit;font-size:inherit;line-height:inherit;background:transparent;border:0;cursor:pointer}.van-cell__badge{display:flex;flex:none;align-items:center;align-self:center;margin-left:var(--van-padding-base)}.van-cell__badge>.van-badge{position:static;transform:none}.van-cell--clickable{cursor:pointer}.van-cell--clickable:active{background-color:var(--van-cell-active-color)}.van-cell--required{overflow:visible}.van-cell--required:before{position:absolute;left:var(--van-padding-xs);color:var(--van-cell-required-color);font-size:var(--van-cell-font-size);content:"*"}.van-cell--center{align-items:center}.van-cell--large{padding-top:var(--van-cell-large-vertical-padding);padding-bottom:var(--van-cell-large-vertical-padding)}.van-cell--large .van-cell__title{font-size:var(--van-cell-large-title-font-size)}.van-cell--large .van-cell__label{font-size:var(--van-cell-large-label-font-size);margin-top:var(--van-padding-base)}.van-cell--large .van-cell__description{font-size:var(--van-cell-large-description-font-size);margin-top:var(--van-padding-base)}.van-cell--large .van-cell__value{font-size:var(--van-cell-large-value-font-size)}.van-cell--title-bold .van-cell__title{font-weight:var(--van-font-weight-bold)}