persagy-vant 0.0.38 → 0.0.39

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 (292) 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 +238 -19
  25. package/es/cell/index.css +1 -1
  26. package/es/cell/index.d.ts +165 -1
  27. package/es/cell/index.less +77 -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 +230 -0
  57. package/es/field/index.d.ts +160 -0
  58. package/es/field/style/index.mjs +1 -0
  59. package/es/field/style/less.mjs +1 -0
  60. package/es/floor-select/style/index.mjs +3 -0
  61. package/es/floor-select/style/less.mjs +3 -0
  62. package/es/form-panel/index.css +1 -1
  63. package/es/form-panel/index.less +2 -0
  64. package/es/image-preview/ImagePreview.d.ts +2 -2
  65. package/es/image-preview/function-call.d.ts +2 -2
  66. package/es/index.d.ts +1 -1
  67. package/es/index.mjs +1 -1
  68. package/es/info-card/InfoCard.d.ts +1 -1
  69. package/es/info-card/index.d.ts +1 -1
  70. package/es/label/index.css +1 -1
  71. package/es/label/index.less +4 -0
  72. package/es/label/var.less +1 -0
  73. package/es/location-select/index.css +1 -1
  74. package/es/location-select/index.less +1 -1
  75. package/es/location-select/style/index.mjs +1 -0
  76. package/es/location-select/style/less.mjs +1 -0
  77. package/es/material-action-bar/MaterialActionBar.d.ts +9 -0
  78. package/es/material-action-bar/MaterialActionBar.mjs +5 -2
  79. package/es/material-action-bar/index.d.ts +18 -0
  80. package/es/material-add/index.css +1 -1
  81. package/es/material-add/index.less +1 -1
  82. package/es/material-add/style/index.mjs +1 -1
  83. package/es/material-add/style/less.mjs +1 -1
  84. package/es/material-display-bar/MaterialDisplayBar.d.ts +3 -3
  85. package/es/material-display-bar/index.d.ts +9 -9
  86. package/es/multi-person-select/index.css +1 -1
  87. package/es/multi-person-select/index.less +1 -1
  88. package/es/multi-person-select/style/index.mjs +1 -0
  89. package/es/multi-person-select/style/less.mjs +1 -0
  90. package/es/notify/Notify.d.ts +1 -1
  91. package/es/notify/function-call.d.ts +1 -1
  92. package/es/number-keyboard/NumberKeyboard.d.ts +2 -2
  93. package/es/number-keyboard/index.d.ts +2 -2
  94. package/es/object-select/index.css +1 -1
  95. package/es/object-select/index.less +2 -0
  96. package/es/object-select/style/index.mjs +1 -0
  97. package/es/object-select/style/less.mjs +1 -0
  98. package/es/popover/Popover.d.ts +3 -3
  99. package/es/popover/index.d.ts +3 -3
  100. package/es/popup/Popup.d.ts +4 -4
  101. package/es/popup/index.d.ts +4 -4
  102. package/es/quantity-input/style/index.mjs +1 -0
  103. package/es/quantity-input/style/less.mjs +1 -0
  104. package/es/radio-panel/RadioPanel.d.ts +1 -1
  105. package/es/radio-panel/index.css +1 -1
  106. package/es/radio-panel/index.d.ts +1 -1
  107. package/es/radio-panel/index.less +1 -1
  108. package/es/radio-panel/style/index.mjs +1 -0
  109. package/es/radio-panel/style/less.mjs +1 -0
  110. package/es/rate/style/index.mjs +1 -0
  111. package/es/rate/style/less.mjs +1 -0
  112. package/es/search/style/index.mjs +1 -0
  113. package/es/search/style/less.mjs +1 -0
  114. package/es/share-sheet/ShareSheet.d.ts +1 -1
  115. package/es/share-sheet/index.d.ts +1 -1
  116. package/es/single-person-select/index.css +1 -1
  117. package/es/single-person-select/index.less +2 -0
  118. package/es/single-person-select/style/index.mjs +1 -0
  119. package/es/single-person-select/style/less.mjs +1 -0
  120. package/es/style/base.css +1 -1
  121. package/es/style/base.less +5 -0
  122. package/es/style/css-variables.css +1 -1
  123. package/es/style/css-variables.less +1 -0
  124. package/es/style/var.less +1 -0
  125. package/es/swipe-cell/SwipeCell.d.ts +2 -2
  126. package/es/swipe-cell/index.d.ts +2 -2
  127. package/es/tab/style/index.mjs +2 -0
  128. package/es/tab/style/less.mjs +2 -0
  129. package/es/tabs/style/index.mjs +2 -0
  130. package/es/tabs/style/less.mjs +2 -0
  131. package/es/title-bar/TitleBar.d.ts +2 -2
  132. package/es/title-bar/index.d.ts +2 -2
  133. package/es/toast/Toast.d.ts +1 -1
  134. package/es/tree-select/style/index.mjs +1 -0
  135. package/es/tree-select/style/less.mjs +1 -0
  136. package/es/video-preview/VideoPreview.d.ts +2 -2
  137. package/es/video-preview/function-call.d.ts +2 -2
  138. package/es/work-order-filter/index.css +1 -1
  139. package/es/work-order-filter/index.less +2 -0
  140. package/es/work-order-filter/style/index.mjs +1 -0
  141. package/es/work-order-filter/style/less.mjs +1 -0
  142. package/lib/action-sheet/ActionSheet.d.ts +3 -15
  143. package/lib/action-sheet/ActionSheet.js +21 -10
  144. package/lib/action-sheet/index.css +1 -1
  145. package/lib/action-sheet/index.d.ts +2 -11
  146. package/lib/action-sheet/index.less +31 -17
  147. package/lib/action-sheet/style/index.js +2 -0
  148. package/lib/action-sheet/style/less.js +2 -0
  149. package/lib/action-sheet/var.less +1 -4
  150. package/lib/address-edit/AddressEditDetail.d.ts +1 -1
  151. package/lib/address-edit/style/index.js +1 -0
  152. package/lib/address-edit/style/less.js +1 -0
  153. package/lib/button/Button.d.ts +4 -1
  154. package/lib/button/Button.js +21 -1
  155. package/lib/button/index.css +1 -1
  156. package/lib/button/index.d.ts +3 -1
  157. package/lib/button/index.less +11 -5
  158. package/lib/calendar/Calendar.d.ts +1 -1
  159. package/lib/calendar/index.d.ts +1 -1
  160. package/lib/cascader/Cascader.d.ts +1 -1
  161. package/lib/cascader/index.d.ts +1 -1
  162. package/lib/cascader/style/index.js +2 -0
  163. package/lib/cascader/style/less.js +2 -0
  164. package/lib/cell/Cell.d.ts +305 -1
  165. package/lib/cell/Cell.js +238 -19
  166. package/lib/cell/index.css +1 -1
  167. package/lib/cell/index.d.ts +165 -1
  168. package/lib/cell/index.less +77 -0
  169. package/lib/cell/style/index.js +1 -0
  170. package/lib/cell/style/less.js +1 -0
  171. package/lib/checkbox-panel/index.css +1 -1
  172. package/lib/checkbox-panel/index.less +1 -1
  173. package/lib/checkbox-panel/style/index.js +1 -0
  174. package/lib/checkbox-panel/style/less.js +1 -0
  175. package/lib/collapse-item/CollapseItem.d.ts +230 -0
  176. package/lib/collapse-item/index.d.ts +160 -0
  177. package/lib/collapse-item/style/index.js +1 -0
  178. package/lib/collapse-item/style/less.js +1 -0
  179. package/lib/contact-card/style/index.js +1 -0
  180. package/lib/contact-card/style/less.js +1 -0
  181. package/lib/contact-edit/style/index.js +1 -0
  182. package/lib/contact-edit/style/less.js +1 -0
  183. package/lib/content-panel/index.css +1 -1
  184. package/lib/content-panel/index.less +2 -0
  185. package/lib/coupon-cell/style/index.js +1 -0
  186. package/lib/coupon-cell/style/less.js +1 -0
  187. package/lib/coupon-list/style/index.js +3 -0
  188. package/lib/coupon-list/style/less.js +3 -0
  189. package/lib/dialog/Dialog.d.ts +1 -1
  190. package/lib/dialog/function-call.d.ts +1 -1
  191. package/lib/dialog/style/index.js +1 -0
  192. package/lib/dialog/style/less.js +1 -0
  193. package/lib/dropdown-item/DropdownItem.d.ts +2 -2
  194. package/lib/dropdown-item/index.d.ts +2 -2
  195. package/lib/dropdown-item/style/index.js +1 -0
  196. package/lib/dropdown-item/style/less.js +1 -0
  197. package/lib/field/Field.d.ts +230 -0
  198. package/lib/field/index.d.ts +160 -0
  199. package/lib/field/style/index.js +1 -0
  200. package/lib/field/style/less.js +1 -0
  201. package/lib/floor-select/style/index.js +3 -0
  202. package/lib/floor-select/style/less.js +3 -0
  203. package/lib/form-panel/index.css +1 -1
  204. package/lib/form-panel/index.less +2 -0
  205. package/lib/image-preview/ImagePreview.d.ts +2 -2
  206. package/lib/image-preview/function-call.d.ts +2 -2
  207. package/lib/index.css +1 -1
  208. package/lib/index.d.ts +1 -1
  209. package/lib/index.js +1 -1
  210. package/lib/index.less +2 -2
  211. package/lib/info-card/InfoCard.d.ts +1 -1
  212. package/lib/info-card/index.d.ts +1 -1
  213. package/lib/label/index.css +1 -1
  214. package/lib/label/index.less +4 -0
  215. package/lib/label/var.less +1 -0
  216. package/lib/location-select/index.css +1 -1
  217. package/lib/location-select/index.less +1 -1
  218. package/lib/location-select/style/index.js +1 -0
  219. package/lib/location-select/style/less.js +1 -0
  220. package/lib/material-action-bar/MaterialActionBar.d.ts +9 -0
  221. package/lib/material-action-bar/MaterialActionBar.js +4 -1
  222. package/lib/material-action-bar/index.d.ts +18 -0
  223. package/lib/material-add/index.css +1 -1
  224. package/lib/material-add/index.less +1 -1
  225. package/lib/material-add/style/index.js +1 -1
  226. package/lib/material-add/style/less.js +1 -1
  227. package/lib/material-display-bar/MaterialDisplayBar.d.ts +3 -3
  228. package/lib/material-display-bar/index.d.ts +9 -9
  229. package/lib/multi-person-select/index.css +1 -1
  230. package/lib/multi-person-select/index.less +1 -1
  231. package/lib/multi-person-select/style/index.js +1 -0
  232. package/lib/multi-person-select/style/less.js +1 -0
  233. package/lib/notify/Notify.d.ts +1 -1
  234. package/lib/notify/function-call.d.ts +1 -1
  235. package/lib/number-keyboard/NumberKeyboard.d.ts +2 -2
  236. package/lib/number-keyboard/index.d.ts +2 -2
  237. package/lib/object-select/index.css +1 -1
  238. package/lib/object-select/index.less +2 -0
  239. package/lib/object-select/style/index.js +1 -0
  240. package/lib/object-select/style/less.js +1 -0
  241. package/lib/popover/Popover.d.ts +3 -3
  242. package/lib/popover/index.d.ts +3 -3
  243. package/lib/popup/Popup.d.ts +4 -4
  244. package/lib/popup/index.d.ts +4 -4
  245. package/lib/quantity-input/style/index.js +1 -0
  246. package/lib/quantity-input/style/less.js +1 -0
  247. package/lib/radio-panel/RadioPanel.d.ts +1 -1
  248. package/lib/radio-panel/index.css +1 -1
  249. package/lib/radio-panel/index.d.ts +1 -1
  250. package/lib/radio-panel/index.less +1 -1
  251. package/lib/radio-panel/style/index.js +1 -0
  252. package/lib/radio-panel/style/less.js +1 -0
  253. package/lib/rate/style/index.js +1 -0
  254. package/lib/rate/style/less.js +1 -0
  255. package/lib/search/style/index.js +1 -0
  256. package/lib/search/style/less.js +1 -0
  257. package/lib/share-sheet/ShareSheet.d.ts +1 -1
  258. package/lib/share-sheet/index.d.ts +1 -1
  259. package/lib/single-person-select/index.css +1 -1
  260. package/lib/single-person-select/index.less +2 -0
  261. package/lib/single-person-select/style/index.js +1 -0
  262. package/lib/single-person-select/style/less.js +1 -0
  263. package/lib/style/base.css +1 -1
  264. package/lib/style/base.less +5 -0
  265. package/lib/style/css-variables.css +1 -1
  266. package/lib/style/css-variables.less +1 -0
  267. package/lib/style/var.less +1 -0
  268. package/lib/swipe-cell/SwipeCell.d.ts +2 -2
  269. package/lib/swipe-cell/index.d.ts +2 -2
  270. package/lib/tab/style/index.js +2 -0
  271. package/lib/tab/style/less.js +2 -0
  272. package/lib/tabs/style/index.js +2 -0
  273. package/lib/tabs/style/less.js +2 -0
  274. package/lib/title-bar/TitleBar.d.ts +2 -2
  275. package/lib/title-bar/index.d.ts +2 -2
  276. package/lib/toast/Toast.d.ts +1 -1
  277. package/lib/tree-select/style/index.js +1 -0
  278. package/lib/tree-select/style/less.js +1 -0
  279. package/lib/vant.cjs.js +1226 -975
  280. package/lib/vant.es.js +1227 -976
  281. package/lib/vant.js +5157 -4906
  282. package/lib/vant.min.js +1 -1
  283. package/lib/video-preview/VideoPreview.d.ts +2 -2
  284. package/lib/video-preview/function-call.d.ts +2 -2
  285. package/lib/web-types.json +1 -1
  286. package/lib/work-order-filter/index.css +1 -1
  287. package/lib/work-order-filter/index.less +2 -0
  288. package/lib/work-order-filter/style/index.js +1 -0
  289. package/lib/work-order-filter/style/less.js +1 -0
  290. package/package.json +1 -1
  291. package/skills/use-persagy-vant/SKILL.md +1 -1
  292. 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,93 @@ 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)(import_icon.Icon, {
290
+ "name": "trangle-down",
291
+ "class": bem("title-collapse-icon", {
292
+ collapsed: multiLineNotesCollapsed.value
293
+ })
294
+ }, 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
295
  }
157
296
  };
158
297
  const renderValue = () => {
@@ -168,6 +307,9 @@ var stdin_default = (0, import_vue.defineComponent)({
168
307
  }
169
308
  };
170
309
  const renderLeftIcon = () => {
310
+ if (!isVisible(props.showIcon, !!slots.icon || !!props.icon)) {
311
+ return;
312
+ }
171
313
  if (slots.icon) {
172
314
  return slots.icon();
173
315
  }
@@ -183,6 +325,9 @@ var stdin_default = (0, import_vue.defineComponent)({
183
325
  var _a2, _b2;
184
326
  const slot = slots[`${position}-select`];
185
327
  const selected = getSelectState(position);
328
+ if (!isSelectVisible(position)) {
329
+ return;
330
+ }
186
331
  if (slot) {
187
332
  return (0, import_vue.createVNode)("div", {
188
333
  "class": bem(`${position}-select`)
@@ -210,6 +355,10 @@ var stdin_default = (0, import_vue.defineComponent)({
210
355
  const renderAvatar = (position) => {
211
356
  const slot = slots[`${position}-avatar`];
212
357
  const avatar = position === "left" ? props.avatar : props.rightAvatar;
358
+ const show = position === "left" ? props.showAvatar : props.showRightAvatar;
359
+ if (!isVisible(show, !!slot || !!avatar)) {
360
+ return;
361
+ }
213
362
  if (slot) {
214
363
  return (0, import_vue.createVNode)("div", {
215
364
  "class": bem(`${position}-avatar`)
@@ -224,6 +373,9 @@ var stdin_default = (0, import_vue.defineComponent)({
224
373
  }
225
374
  };
226
375
  const renderBlueMark = () => {
376
+ if (!isVisible(props.showBlueMark, !!slots["blue-mark"] || props.blueMark)) {
377
+ return;
378
+ }
227
379
  if (slots["blue-mark"]) {
228
380
  return (0, import_vue.createVNode)("div", {
229
381
  "class": bem("blue-mark")
@@ -236,13 +388,16 @@ var stdin_default = (0, import_vue.defineComponent)({
236
388
  }
237
389
  };
238
390
  const renderTags = () => {
239
- var _a2;
391
+ var _a2, _b2;
392
+ if (!isVisible(props.showTags, !!slots.tags || !!((_a2 = props.tags) == null ? void 0 : _a2.length))) {
393
+ return;
394
+ }
240
395
  if (slots.tags) {
241
396
  return (0, import_vue.createVNode)("div", {
242
397
  "class": bem("tags")
243
398
  }, [slots.tags()]);
244
399
  }
245
- if ((_a2 = props.tags) == null ? void 0 : _a2.length) {
400
+ if ((_b2 = props.tags) == null ? void 0 : _b2.length) {
246
401
  return (0, import_vue.createVNode)("div", {
247
402
  "class": bem("tags")
248
403
  }, [props.tags.map((tag, index) => (0, import_vue.createVNode)("span", {
@@ -251,19 +406,71 @@ var stdin_default = (0, import_vue.defineComponent)({
251
406
  }, [tag]))]);
252
407
  }
253
408
  };
254
- const renderTitleIcon = () => {
255
- if (slots["title-icon"]) {
409
+ const renderTitleTag = () => {
410
+ if (!isVisible(props.showTitleTag, !!slots["title-tag"] || (0, import_utils.isDef)(props.titleTag))) {
411
+ return;
412
+ }
413
+ if (slots["title-tag"]) {
256
414
  return (0, import_vue.createVNode)("div", {
257
- "class": bem("title-icon")
258
- }, [slots["title-icon"]()]);
415
+ "class": bem("title-tag")
416
+ }, [slots["title-tag"]()]);
259
417
  }
260
- if (props.titleIcon) {
261
- return (0, import_vue.createVNode)(import_icon.Icon, {
262
- "name": props.titleIcon,
263
- "class": bem("title-icon")
264
- }, null);
418
+ if ((0, import_utils.isDef)(props.titleTag)) {
419
+ return (0, import_vue.createVNode)("div", {
420
+ "class": bem("title-tag")
421
+ }, [(0, import_vue.createVNode)(import_tag.Tag, {
422
+ "size": "small"
423
+ }, {
424
+ default: () => [props.titleTag]
425
+ })]);
265
426
  }
266
427
  };
428
+ const renderWrapTags = () => {
429
+ var _a2, _b2;
430
+ if (!isVisible(props.showWrapTags, !!slots["wrap-tags"] || !!((_a2 = props.wrapTags) == null ? void 0 : _a2.length))) {
431
+ return;
432
+ }
433
+ if (slots["wrap-tags"]) {
434
+ return (0, import_vue.createVNode)("div", {
435
+ "class": bem("wrap-tags")
436
+ }, [slots["wrap-tags"]()]);
437
+ }
438
+ if ((_b2 = props.wrapTags) == null ? void 0 : _b2.length) {
439
+ return (0, import_vue.createVNode)("div", {
440
+ "class": bem("wrap-tags")
441
+ }, [props.wrapTags.map((tag, index) => (0, import_vue.createVNode)(import_tag.Tag, {
442
+ "key": `${tag}-${index}`
443
+ }, {
444
+ default: () => [tag]
445
+ }))]);
446
+ }
447
+ };
448
+ const renderTitleIcon = () => {
449
+ if (!isVisible(props.showTitleIcon, !!slots["title-icon"] || !!props.titleIcon)) {
450
+ return;
451
+ }
452
+ const icon = slots["title-icon"] ? slots["title-icon"]() : props.titleIcon ? (0, import_vue.createVNode)(import_icon.Icon, {
453
+ "name": props.titleIcon
454
+ }, null) : void 0;
455
+ if (!icon)
456
+ return;
457
+ if (props.titleIconClickable) {
458
+ return (0, import_vue.createVNode)("button", {
459
+ "type": "button",
460
+ "class": bem("title-icon", {
461
+ clickable: true
462
+ }),
463
+ "aria-label": `\u64CD\u4F5C${props.title || ""}`,
464
+ "onClick": (event) => {
465
+ event.stopPropagation();
466
+ emit("click-title-icon", event);
467
+ }
468
+ }, [icon]);
469
+ }
470
+ return (0, import_vue.createVNode)("div", {
471
+ "class": bem("title-icon")
472
+ }, [icon]);
473
+ };
267
474
  const renderNoteContent = (content) => {
268
475
  const clickable = props.noteClickable || props.noteTo || props.noteUrl;
269
476
  const classes = bem("note", {
@@ -291,6 +498,9 @@ var stdin_default = (0, import_vue.defineComponent)({
291
498
  }, [content]);
292
499
  };
293
500
  const renderNote = () => {
501
+ if (!isVisible(props.showNote, !!slots.note || (0, import_utils.isDef)(props.note))) {
502
+ return;
503
+ }
294
504
  if (slots.note) {
295
505
  return renderNoteContent(slots.note());
296
506
  }
@@ -299,6 +509,9 @@ var stdin_default = (0, import_vue.defineComponent)({
299
509
  }
300
510
  };
301
511
  const renderBadge = () => {
512
+ if (!isVisible(props.showBadge, !!slots.badge || (0, import_utils.isDef)(props.badge))) {
513
+ return;
514
+ }
302
515
  if (slots.badge) {
303
516
  return (0, import_vue.createVNode)("div", {
304
517
  "class": bem("badge")
@@ -314,6 +527,9 @@ var stdin_default = (0, import_vue.defineComponent)({
314
527
  }
315
528
  };
316
529
  const renderRightIcon = () => {
530
+ if (!isVisible(props.showRightIcon, !!slots["right-icon"] || !!props.rightIcon || props.isLink)) {
531
+ return;
532
+ }
317
533
  if (slots["right-icon"]) {
318
534
  return slots["right-icon"]();
319
535
  }
@@ -344,7 +560,7 @@ var stdin_default = (0, import_vue.defineComponent)({
344
560
  threeLine
345
561
  } = props;
346
562
  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);
563
+ const hasBadge = isVisible(props.showBadge, !!slots.badge || (0, import_utils.isDef)(props.badge));
348
564
  const cellSize = (_b2 = size != null ? size : config == null ? void 0 : config.cellSize) != null ? _b2 : "normal";
349
565
  const classes = {
350
566
  center: center || hasBadge,
@@ -365,6 +581,9 @@ var stdin_default = (0, import_vue.defineComponent)({
365
581
  };
366
582
  return (0, import_vue.createVNode)("div", {
367
583
  "class": [bem(classes), props.errorBorder ? "van-cell-error-border" : ""],
584
+ "style": props.background ? {
585
+ background: props.background
586
+ } : void 0,
368
587
  "role": clickable ? "button" : void 0,
369
588
  "tabindex": clickable ? 0 : void 0,
370
589
  "onClick": onClick
@@ -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-icon{flex:none;width:var(--van-cell-icon-size);height:var(--van-cell-line-height);margin-right:var(--van-padding-base);color:var(--van-text-color-2);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{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__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)}