@wot-ui/ui 1.0.0 → 2.0.0-alpha.4

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 (386) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +134 -0
  3. package/attributes.json +1 -0
  4. package/changelog.md +63 -0
  5. package/common/AbortablePromise.ts +28 -0
  6. package/common/canvasHelper.ts +49 -0
  7. package/common/clickoutside.ts +25 -0
  8. package/common/event.ts +8 -0
  9. package/common/formatDate.ts +68 -0
  10. package/common/interceptor.ts +43 -0
  11. package/common/props.ts +53 -0
  12. package/common/util.ts +836 -0
  13. package/components/wd-action-sheet/index.scss +232 -0
  14. package/components/wd-action-sheet/types.ts +155 -0
  15. package/components/wd-action-sheet/wd-action-sheet.vue +176 -0
  16. package/components/wd-avatar/index.scss +150 -0
  17. package/components/wd-avatar/types.ts +98 -0
  18. package/components/wd-avatar/wd-avatar.vue +184 -0
  19. package/components/wd-avatar-group/index.scss +11 -0
  20. package/components/wd-avatar-group/types.ts +61 -0
  21. package/components/wd-avatar-group/wd-avatar-group.vue +115 -0
  22. package/components/wd-backtop/index.scss +67 -0
  23. package/components/wd-backtop/types.ts +66 -0
  24. package/components/wd-backtop/wd-backtop.vue +57 -0
  25. package/components/wd-badge/index.scss +116 -0
  26. package/components/wd-badge/types.ts +94 -0
  27. package/components/wd-badge/wd-badge.vue +78 -0
  28. package/components/wd-button/index.scss +436 -0
  29. package/components/wd-button/types.ts +204 -0
  30. package/components/wd-button/wd-button.vue +210 -0
  31. package/components/wd-calendar/index.scss +97 -0
  32. package/components/wd-calendar/types.ts +221 -0
  33. package/components/wd-calendar/wd-calendar.vue +339 -0
  34. package/components/wd-calendar-view/index.scss +41 -0
  35. package/components/wd-calendar-view/month/index.scss +144 -0
  36. package/components/wd-calendar-view/month/month.vue +389 -0
  37. package/components/wd-calendar-view/month/types.ts +70 -0
  38. package/components/wd-calendar-view/monthPanel/index.scss +84 -0
  39. package/components/wd-calendar-view/monthPanel/month-panel.vue +541 -0
  40. package/components/wd-calendar-view/monthPanel/types.ts +151 -0
  41. package/components/wd-calendar-view/types.ts +166 -0
  42. package/components/wd-calendar-view/utils.ts +318 -0
  43. package/components/wd-calendar-view/wd-calendar-view.vue +117 -0
  44. package/components/wd-calendar-view/year/index.scss +148 -0
  45. package/components/wd-calendar-view/year/types.ts +74 -0
  46. package/components/wd-calendar-view/year/year.vue +206 -0
  47. package/components/wd-calendar-view/yearPanel/index.scss +42 -0
  48. package/components/wd-calendar-view/yearPanel/types.ts +96 -0
  49. package/components/wd-calendar-view/yearPanel/year-panel.vue +249 -0
  50. package/components/wd-card/index.scss +104 -0
  51. package/components/wd-card/types.ts +47 -0
  52. package/components/wd-card/wd-card.vue +38 -0
  53. package/components/wd-cascader/index.scss +154 -0
  54. package/components/wd-cascader/types.ts +191 -0
  55. package/components/wd-cascader/wd-cascader.vue +589 -0
  56. package/components/wd-cell/index.scss +244 -0
  57. package/components/wd-cell/types.ts +205 -0
  58. package/components/wd-cell/wd-cell.vue +172 -0
  59. package/components/wd-cell-group/index.scss +53 -0
  60. package/components/wd-cell-group/types.ts +97 -0
  61. package/components/wd-cell-group/wd-cell-group.vue +48 -0
  62. package/components/wd-checkbox/index.scss +166 -0
  63. package/components/wd-checkbox/types.ts +118 -0
  64. package/components/wd-checkbox/wd-checkbox.vue +216 -0
  65. package/components/wd-checkbox-group/index.scss +5 -0
  66. package/components/wd-checkbox-group/types.ts +93 -0
  67. package/components/wd-checkbox-group/wd-checkbox-group.vue +148 -0
  68. package/components/wd-circle/index.scss +28 -0
  69. package/components/wd-circle/types.ts +54 -0
  70. package/components/wd-circle/wd-circle.vue +306 -0
  71. package/components/wd-col/index.scss +5 -0
  72. package/components/wd-col/types.ts +16 -0
  73. package/components/wd-col/wd-col.vue +83 -0
  74. package/components/wd-collapse/index.scss +71 -0
  75. package/components/wd-collapse/types.ts +68 -0
  76. package/components/wd-collapse/wd-collapse.vue +165 -0
  77. package/components/wd-collapse-item/index.scss +86 -0
  78. package/components/wd-collapse-item/types.ts +62 -0
  79. package/components/wd-collapse-item/wd-collapse-item.vue +184 -0
  80. package/components/wd-config-provider/index.scss +10 -0
  81. package/components/wd-config-provider/types.ts +2061 -0
  82. package/components/wd-config-provider/wd-config-provider.vue +61 -0
  83. package/components/wd-count-down/index.scss +16 -0
  84. package/components/wd-count-down/types.ts +58 -0
  85. package/components/wd-count-down/utils.ts +52 -0
  86. package/components/wd-count-down/wd-count-down.vue +62 -0
  87. package/components/wd-count-to/index.scss +25 -0
  88. package/components/wd-count-to/types.ts +121 -0
  89. package/components/wd-count-to/wd-count-to.vue +126 -0
  90. package/components/wd-curtain/index.scss +96 -0
  91. package/components/wd-curtain/types.ts +82 -0
  92. package/components/wd-curtain/wd-curtain.vue +172 -0
  93. package/components/wd-datetime-picker/index.scss +133 -0
  94. package/components/wd-datetime-picker/types.ts +198 -0
  95. package/components/wd-datetime-picker/wd-datetime-picker.vue +526 -0
  96. package/components/wd-datetime-picker-view/types.ts +171 -0
  97. package/components/wd-datetime-picker-view/util.ts +30 -0
  98. package/components/wd-datetime-picker-view/wd-datetime-picker-view.vue +402 -0
  99. package/components/wd-dialog/index.scss +281 -0
  100. package/components/wd-dialog/index.ts +168 -0
  101. package/components/wd-dialog/types.ts +452 -0
  102. package/components/wd-dialog/wd-dialog.vue +586 -0
  103. package/components/wd-divider/index.scss +122 -0
  104. package/components/wd-divider/types.ts +50 -0
  105. package/components/wd-divider/wd-divider.vue +54 -0
  106. package/components/wd-drop-menu/index.scss +90 -0
  107. package/components/wd-drop-menu/types.ts +38 -0
  108. package/components/wd-drop-menu/wd-drop-menu.vue +168 -0
  109. package/components/wd-drop-menu-item/index.scss +96 -0
  110. package/components/wd-drop-menu-item/types.ts +93 -0
  111. package/components/wd-drop-menu-item/wd-drop-menu-item.vue +205 -0
  112. package/components/wd-empty/index.scss +46 -0
  113. package/components/wd-empty/types.ts +37 -0
  114. package/components/wd-empty/wd-empty.vue +47 -0
  115. package/components/wd-fab/index.scss +124 -0
  116. package/components/wd-fab/types.ts +119 -0
  117. package/components/wd-fab/wd-fab.vue +322 -0
  118. package/components/wd-floating-panel/index.scss +73 -0
  119. package/components/wd-floating-panel/type.ts +32 -0
  120. package/components/wd-floating-panel/wd-floating-panel.vue +142 -0
  121. package/components/wd-form/adapters/zod.ts +56 -0
  122. package/components/wd-form/index.ts +2 -0
  123. package/components/wd-form/types.ts +133 -0
  124. package/components/wd-form/wd-form.vue +121 -0
  125. package/components/wd-form-item/index.scss +26 -0
  126. package/components/wd-form-item/types.ts +134 -0
  127. package/components/wd-form-item/wd-form-item.vue +182 -0
  128. package/components/wd-gap/index.scss +9 -0
  129. package/components/wd-gap/types.ts +26 -0
  130. package/components/wd-gap/wd-gap.vue +38 -0
  131. package/components/wd-grid/index.scss +11 -0
  132. package/components/wd-grid/types.ts +97 -0
  133. package/components/wd-grid/wd-grid.vue +48 -0
  134. package/components/wd-grid-item/index.scss +187 -0
  135. package/components/wd-grid-item/types.ts +98 -0
  136. package/components/wd-grid-item/wd-grid-item.vue +295 -0
  137. package/components/wd-icon/index.scss +46 -0
  138. package/components/wd-icon/types.ts +44 -0
  139. package/components/wd-icon/wd-icon.vue +66 -0
  140. package/components/wd-image-preview/index.scss +94 -0
  141. package/components/wd-image-preview/index.ts +95 -0
  142. package/components/wd-image-preview/types.ts +165 -0
  143. package/components/wd-image-preview/wd-image-preview.vue +233 -0
  144. package/components/wd-img/index.scss +82 -0
  145. package/components/wd-img/types.ts +96 -0
  146. package/components/wd-img/wd-img.vue +91 -0
  147. package/components/wd-img-cropper/index.scss +259 -0
  148. package/components/wd-img-cropper/types.ts +101 -0
  149. package/components/wd-img-cropper/wd-img-cropper.vue +653 -0
  150. package/components/wd-index-anchor/index.scss +34 -0
  151. package/components/wd-index-anchor/type.ts +9 -0
  152. package/components/wd-index-anchor/wd-index-anchor.vue +55 -0
  153. package/components/wd-index-bar/index.scss +68 -0
  154. package/components/wd-index-bar/type.ts +23 -0
  155. package/components/wd-index-bar/wd-index-bar.vue +157 -0
  156. package/components/wd-input/index.scss +129 -0
  157. package/components/wd-input/types.ts +165 -0
  158. package/components/wd-input/wd-input.vue +237 -0
  159. package/components/wd-input-number/index.scss +233 -0
  160. package/components/wd-input-number/types.ts +131 -0
  161. package/components/wd-input-number/wd-input-number.vue +473 -0
  162. package/components/wd-keyboard/constants.ts +81 -0
  163. package/components/wd-keyboard/index.scss +104 -0
  164. package/components/wd-keyboard/key/index.scss +103 -0
  165. package/components/wd-keyboard/key/index.vue +84 -0
  166. package/components/wd-keyboard/key/types.ts +44 -0
  167. package/components/wd-keyboard/types.ts +138 -0
  168. package/components/wd-keyboard/wd-keyboard.vue +236 -0
  169. package/components/wd-loading/index.scss +205 -0
  170. package/components/wd-loading/types.ts +61 -0
  171. package/components/wd-loading/wd-loading.vue +70 -0
  172. package/components/wd-loadmore/index.scss +62 -0
  173. package/components/wd-loadmore/types.ts +42 -0
  174. package/components/wd-loadmore/wd-loadmore.vue +68 -0
  175. package/components/wd-navbar/index.scss +96 -0
  176. package/components/wd-navbar/types.ts +74 -0
  177. package/components/wd-navbar/wd-navbar.vue +136 -0
  178. package/components/wd-navbar-capsule/index.scss +70 -0
  179. package/components/wd-navbar-capsule/types.ts +11 -0
  180. package/components/wd-navbar-capsule/wd-navbar-capsule.vue +48 -0
  181. package/components/wd-notice-bar/index.scss +94 -0
  182. package/components/wd-notice-bar/types.ts +97 -0
  183. package/components/wd-notice-bar/wd-notice-bar.vue +270 -0
  184. package/components/wd-notify/index.scss +114 -0
  185. package/components/wd-notify/index.ts +63 -0
  186. package/components/wd-notify/types.ts +130 -0
  187. package/components/wd-notify/wd-notify.vue +162 -0
  188. package/components/wd-overlay/index.scss +14 -0
  189. package/components/wd-overlay/types.ts +42 -0
  190. package/components/wd-overlay/wd-overlay.vue +55 -0
  191. package/components/wd-pagination/index.scss +71 -0
  192. package/components/wd-pagination/types.ts +69 -0
  193. package/components/wd-pagination/wd-pagination.vue +118 -0
  194. package/components/wd-password-input/index.scss +134 -0
  195. package/components/wd-password-input/types.ts +42 -0
  196. package/components/wd-password-input/wd-password-input.vue +51 -0
  197. package/components/wd-picker/index.scss +72 -0
  198. package/components/wd-picker/types.ts +141 -0
  199. package/components/wd-picker/wd-picker.vue +220 -0
  200. package/components/wd-picker-view/index.scss +93 -0
  201. package/components/wd-picker-view/types.ts +145 -0
  202. package/components/wd-picker-view/useSelection.ts +385 -0
  203. package/components/wd-picker-view/wd-picker-view.vue +227 -0
  204. package/components/wd-popover/index.scss +117 -0
  205. package/components/wd-popover/types.ts +106 -0
  206. package/components/wd-popover/wd-popover.vue +212 -0
  207. package/components/wd-popup/index.scss +89 -0
  208. package/components/wd-popup/types.ts +110 -0
  209. package/components/wd-popup/wd-popup.vue +174 -0
  210. package/components/wd-progress/index.scss +155 -0
  211. package/components/wd-progress/types.ts +94 -0
  212. package/components/wd-progress/wd-progress.vue +249 -0
  213. package/components/wd-radio/index.scss +189 -0
  214. package/components/wd-radio/types.ts +64 -0
  215. package/components/wd-radio/wd-radio.vue +164 -0
  216. package/components/wd-radio-group/index.scss +5 -0
  217. package/components/wd-radio-group/types.ts +70 -0
  218. package/components/wd-radio-group/wd-radio-group.vue +53 -0
  219. package/components/wd-rate/index.scss +57 -0
  220. package/components/wd-rate/types.ts +86 -0
  221. package/components/wd-rate/wd-rate.vue +168 -0
  222. package/components/wd-resize/index.scss +31 -0
  223. package/components/wd-resize/types.ts +14 -0
  224. package/components/wd-resize/wd-resize.vue +157 -0
  225. package/components/wd-root-portal/wd-root-portal.vue +77 -0
  226. package/components/wd-row/index.scss +6 -0
  227. package/components/wd-row/types.ts +36 -0
  228. package/components/wd-row/wd-row.vue +88 -0
  229. package/components/wd-search/index.scss +171 -0
  230. package/components/wd-search/types.ts +107 -0
  231. package/components/wd-search/wd-search.vue +198 -0
  232. package/components/wd-segmented/index.scss +155 -0
  233. package/components/wd-segmented/types.ts +81 -0
  234. package/components/wd-segmented/wd-segmented.vue +169 -0
  235. package/components/wd-select-picker/index.scss +72 -0
  236. package/components/wd-select-picker/types.ts +72 -0
  237. package/components/wd-select-picker/wd-select-picker.vue +371 -0
  238. package/components/wd-sidebar/index.scss +25 -0
  239. package/components/wd-sidebar/types.ts +34 -0
  240. package/components/wd-sidebar/wd-sidebar.vue +57 -0
  241. package/components/wd-sidebar-item/index.scss +91 -0
  242. package/components/wd-sidebar-item/types.ts +28 -0
  243. package/components/wd-sidebar-item/wd-sidebar-item.vue +118 -0
  244. package/components/wd-signature/index.scss +42 -0
  245. package/components/wd-signature/types.ts +295 -0
  246. package/components/wd-signature/wd-signature.vue +664 -0
  247. package/components/wd-skeleton/index.scss +112 -0
  248. package/components/wd-skeleton/types.ts +124 -0
  249. package/components/wd-skeleton/wd-skeleton.vue +110 -0
  250. package/components/wd-slide-verify/index.scss +112 -0
  251. package/components/wd-slide-verify/types.ts +98 -0
  252. package/components/wd-slide-verify/wd-slide-verify.vue +222 -0
  253. package/components/wd-slider/index.scss +485 -0
  254. package/components/wd-slider/types.ts +166 -0
  255. package/components/wd-slider/wd-slider.vue +529 -0
  256. package/components/wd-sort-button/index.scss +126 -0
  257. package/components/wd-sort-button/types.ts +68 -0
  258. package/components/wd-sort-button/wd-sort-button.vue +67 -0
  259. package/components/wd-step/index.scss +366 -0
  260. package/components/wd-step/types.ts +43 -0
  261. package/components/wd-step/wd-step.vue +181 -0
  262. package/components/wd-steps/index.scss +7 -0
  263. package/components/wd-steps/types.ts +50 -0
  264. package/components/wd-steps/wd-steps.vue +39 -0
  265. package/components/wd-sticky/index.scss +9 -0
  266. package/components/wd-sticky/types.ts +13 -0
  267. package/components/wd-sticky/wd-sticky.vue +192 -0
  268. package/components/wd-sticky-box/index.scss +6 -0
  269. package/components/wd-sticky-box/types.ts +20 -0
  270. package/components/wd-sticky-box/wd-sticky-box.vue +157 -0
  271. package/components/wd-swipe-action/index.scss +22 -0
  272. package/components/wd-swipe-action/types.ts +87 -0
  273. package/components/wd-swipe-action/wd-swipe-action.vue +320 -0
  274. package/components/wd-swiper/index.scss +69 -0
  275. package/components/wd-swiper/types.ts +275 -0
  276. package/components/wd-swiper/wd-swiper.vue +332 -0
  277. package/components/wd-swiper-nav/index.scss +179 -0
  278. package/components/wd-swiper-nav/types.ts +42 -0
  279. package/components/wd-swiper-nav/wd-swiper-nav.vue +42 -0
  280. package/components/wd-switch/index.scss +177 -0
  281. package/components/wd-switch/types.ts +93 -0
  282. package/components/wd-switch/wd-switch.vue +107 -0
  283. package/components/wd-tab/index.scss +16 -0
  284. package/components/wd-tab/types.ts +45 -0
  285. package/components/wd-tab/wd-tab.vue +99 -0
  286. package/components/wd-tabbar/index.scss +71 -0
  287. package/components/wd-tabbar/types.ts +79 -0
  288. package/components/wd-tabbar/wd-tabbar.vue +109 -0
  289. package/components/wd-tabbar-item/index.scss +50 -0
  290. package/components/wd-tabbar-item/types.ts +45 -0
  291. package/components/wd-tabbar-item/wd-tabbar-item.vue +101 -0
  292. package/components/wd-table/index.scss +128 -0
  293. package/components/wd-table/types.ts +160 -0
  294. package/components/wd-table/wd-table.vue +331 -0
  295. package/components/wd-table-column/index.scss +15 -0
  296. package/components/wd-table-column/types.ts +81 -0
  297. package/components/wd-table-column/wd-table-column.vue +198 -0
  298. package/components/wd-tabs/index.scss +332 -0
  299. package/components/wd-tabs/types.ts +155 -0
  300. package/components/wd-tabs/wd-tabs.vue +508 -0
  301. package/components/wd-tag/index.scss +325 -0
  302. package/components/wd-tag/types.ts +90 -0
  303. package/components/wd-tag/wd-tag.vue +158 -0
  304. package/components/wd-text/index.scss +52 -0
  305. package/components/wd-text/types.ts +107 -0
  306. package/components/wd-text/wd-text.vue +141 -0
  307. package/components/wd-textarea/index.scss +112 -0
  308. package/components/wd-textarea/types.ts +151 -0
  309. package/components/wd-textarea/wd-textarea.vue +212 -0
  310. package/components/wd-toast/index.scss +92 -0
  311. package/components/wd-toast/index.ts +97 -0
  312. package/components/wd-toast/types.ts +190 -0
  313. package/components/wd-toast/wd-toast.vue +158 -0
  314. package/components/wd-tooltip/index.scss +77 -0
  315. package/components/wd-tooltip/types.ts +105 -0
  316. package/components/wd-tooltip/wd-tooltip.vue +169 -0
  317. package/components/wd-tour/index.scss +106 -0
  318. package/components/wd-tour/types.ts +268 -0
  319. package/components/wd-tour/wd-tour.vue +518 -0
  320. package/components/wd-transition/index.scss +67 -0
  321. package/components/wd-transition/types.ts +106 -0
  322. package/components/wd-transition/wd-transition.vue +238 -0
  323. package/components/wd-upload/index.scss +204 -0
  324. package/components/wd-upload/types.ts +390 -0
  325. package/components/wd-upload/wd-upload.vue +565 -0
  326. package/components/wd-video-preview/index.scss +54 -0
  327. package/components/wd-video-preview/index.ts +64 -0
  328. package/components/wd-video-preview/types.ts +66 -0
  329. package/components/wd-video-preview/wd-video-preview.vue +141 -0
  330. package/components/wd-watermark/index.scss +21 -0
  331. package/components/wd-watermark/types.ts +130 -0
  332. package/components/wd-watermark/wd-watermark.vue +718 -0
  333. package/components/wot-ui/wot-ui.vue +5 -0
  334. package/composables/index.ts +16 -0
  335. package/composables/useCell.ts +34 -0
  336. package/composables/useChildren.ts +120 -0
  337. package/composables/useConfigProvider.ts +45 -0
  338. package/composables/useCountDown.ts +138 -0
  339. package/composables/useDeviceInfo.ts +136 -0
  340. package/composables/useLockScroll.ts +37 -0
  341. package/composables/useParent.ts +51 -0
  342. package/composables/usePopover.ts +212 -0
  343. package/composables/useQueue.ts +52 -0
  344. package/composables/useRaf.ts +37 -0
  345. package/composables/useTouch.ts +43 -0
  346. package/composables/useTranslate.ts +12 -0
  347. package/composables/useUpload.ts +366 -0
  348. package/global.d.ts +106 -0
  349. package/index.ts +6 -0
  350. package/locale/index.ts +32 -0
  351. package/locale/lang/ar-SA.ts +150 -0
  352. package/locale/lang/de-DE.ts +150 -0
  353. package/locale/lang/en-US.ts +150 -0
  354. package/locale/lang/es-ES.ts +150 -0
  355. package/locale/lang/fr-FR.ts +150 -0
  356. package/locale/lang/ja-JP.ts +150 -0
  357. package/locale/lang/ko-KR.ts +150 -0
  358. package/locale/lang/pt-PT.ts +150 -0
  359. package/locale/lang/ru-RU.ts +150 -0
  360. package/locale/lang/th-TH.ts +150 -0
  361. package/locale/lang/tr-TR.ts +155 -0
  362. package/locale/lang/ug-CN.ts +154 -0
  363. package/locale/lang/vi-VN.ts +89 -0
  364. package/locale/lang/zh-CN.ts +154 -0
  365. package/locale/lang/zh-HK.ts +78 -0
  366. package/locale/lang/zh-TW.ts +78 -0
  367. package/package.json +1 -11
  368. package/styles/iconfont/iconfont.scss +1243 -0
  369. package/styles/mixin/_config.scss +7 -0
  370. package/styles/mixin/_function.scss +44 -0
  371. package/styles/mixin/_mixin.scss +473 -0
  372. package/styles/theme/base/color.scss +210 -0
  373. package/styles/theme/base/font.scss +13 -0
  374. package/styles/theme/base/index.scss +8 -0
  375. package/styles/theme/base/insets.scss +32 -0
  376. package/styles/theme/base/number.scss +36 -0
  377. package/styles/theme/base/opacity.scss +9 -0
  378. package/styles/theme/base/radius.scss +13 -0
  379. package/styles/theme/base/stroke.scss +9 -0
  380. package/styles/theme/base/typography.scss +44 -0
  381. package/styles/theme/dark.scss +101 -0
  382. package/styles/theme/index.scss +16 -0
  383. package/styles/theme/light.scss +101 -0
  384. package/styles/variable.scss +472 -0
  385. package/tags.json +1 -0
  386. package/web-types.json +1 -0
@@ -0,0 +1,244 @@
1
+ @use '../../styles/variable.scss' as *;
2
+ @use '../../styles/mixin/mixin.scss' as *;
3
+
4
+ // 单元格背景色
5
+ $cell-bg: var(--wot-cell-bg, $filled-oppo) !default;
6
+ // 单元格激活态背景色
7
+ $cell-bg-active: var(--wot-cell-bg-active, $filled-bottom) !default;
8
+ // 标题文字颜色
9
+ $cell-title-color: var(--wot-cell-title-color, $text-main) !default;
10
+ // 标签文字颜色
11
+ $cell-label-color: var(--wot-cell-label-color, $text-auxiliary) !default;
12
+ // 值文字颜色
13
+ $cell-value-color: var(--wot-cell-value-color, $text-secondary) !default;
14
+ // 图标颜色
15
+ $cell-icon-color: var(--wot-cell-icon-color, $icon-secondary) !default;
16
+ // 主题色
17
+ $cell-theme-color: var(--wot-cell-theme-color, $primary-6) !default;
18
+ // 箭头颜色
19
+ $cell-arrow-color: var(--wot-cell-arrow-color, $icon-auxiliary) !default;
20
+ // 边框颜色
21
+ $cell-border-color: var(--wot-cell-border-color, $border-main) !default;
22
+ // 清除图标颜色
23
+ $cell-clear-color: var(--wot-cell-clear-color, $icon-disabled) !default;
24
+ // 点击态背景色
25
+ $cell-tap-bg: var(--wot-cell-tap-bg, $primary-1) !default;
26
+ // 必填标记颜色
27
+ $cell-required-color: var(--wot-cell-required-color, $danger-main) !default;
28
+ // 占位符颜色
29
+ $cell-placeholder-color: var(--wot-cell-placeholder-color, $text-placeholder) !default;
30
+ // 箭头图标尺寸
31
+ $cell-arrow-size: var(--wot-cell-arrow-size, $n-20) !default;
32
+ // 图标尺寸
33
+ $cell-icon-size: var(--wot-cell-icon-size, $n-20) !default;
34
+ // 标题字号
35
+ $cell-title-font-size: var(--wot-cell-title-font-size, $typography-body-size-main) !default;
36
+ // 标题行高
37
+ $cell-title-line-height: var(--wot-cell-title-line-height, $typography-body-line--height-size-main) !default;
38
+ // 标签字号
39
+ $cell-label-font-size: var(--wot-cell-label-font-size, $typography-body-size-main) !default;
40
+ // 标签行高
41
+ $cell-label-line-height: var(--wot-cell-label-line-height, $typography-body-line--height-size-main) !default;
42
+ // 值字号
43
+ $cell-value-font-size: var(--wot-cell-value-font-size, $typography-body-size-main) !default;
44
+ // 值行高
45
+ $cell-value-line-height: var(--wot-cell-value-line-height, $typography-body-line--height-size-main) !default;
46
+ // 大尺寸值字号
47
+ $cell-value-font-size-large: var(--wot-cell-value-font-size-large, $typography-body-size-extra-large) !default;
48
+ // 大尺寸值行高
49
+ $cell-value-line-height-large: var(--wot-cell-value-line-height-large, $typography-body-line--height-size-extra-large) !default;
50
+ // 大尺寸标题字号
51
+ $cell-title-font-size-large: var(--wot-cell-title-font-size-large, $typography-body-size-extra-large) !default;
52
+ // 大尺寸标题行高
53
+ $cell-title-line-height-large: var(--wot-cell-title-line-height-large, $typography-body-line--height-size-extra-large) !default;
54
+ // 大尺寸标签字号
55
+ $cell-label-font-size-large: var(--wot-cell-label-font-size-large, $typography-body-size-extra-large) !default;
56
+ // 大尺寸标签行高
57
+ $cell-label-line-height-large: var(--wot-cell-label-line-height-large, $typography-body-line--height-size-extra-large) !default;
58
+ // 必填标记字号
59
+ $cell-required-font-size: var(--wot-cell-required-font-size, $typography-body-size-main) !default;
60
+ // 必填标记行高
61
+ $cell-required-line-height: var(--wot-cell-required-line-height, $typography-body-line--height-size-main) !default;
62
+ // 占位符字号
63
+ $cell-placeholder-font-size: var(--wot-cell-placeholder-font-size, $typography-body-size-main) !default;
64
+ // 占位符行高
65
+ $cell-placeholder-line-height: var(--wot-cell-placeholder-line-height, $typography-body-line--height-size-main) !default;
66
+ // 单元格内边距
67
+ $cell-padding: var(--wot-cell-padding, $padding-loose) !default;
68
+ // 大尺寸单元格内边距
69
+ $cell-padding-large: var(--wot-cell-padding-large, $padding-extra-loose) !default;
70
+ // 纵向布局右侧顶部内边距
71
+ $cell-vertical-padding-top: var(--wot-cell-vertical-padding-top, $padding-extra-loose) !default;
72
+ // 必填标记外边距
73
+ $cell-required-margin: var(--wot-cell-required-margin, $padding-super-tight) !default;
74
+ // 前缀图标右侧间距
75
+ $cell-icon-spacing-right: var(--wot-cell-icon-spacing-right, $spacing-super-tight) !default;
76
+ // 水平布局左右区域间距
77
+ $cell-margin-horizontal: var(--wot-cell-margin-horizontal, $spacing-loose) !default;
78
+ // 箭头左侧间距
79
+ $cell-arrow-margin-left: var(--wot-cell-arrow-margin-left, $spacing-tight) !default;
80
+ // 标签顶部间距
81
+ $cell-label-margin-top: var(--wot-cell-label-margin-top, $spacing-super-tight) !default;
82
+
83
+ @include b(cell) {
84
+ position: relative;
85
+ padding: $cell-padding;
86
+ background: $cell-bg;
87
+ text-decoration: none;
88
+ -webkit-tap-highlight-color: transparent;
89
+ box-sizing: border-box;
90
+ width: 100%;
91
+
92
+ @include when(border) {
93
+ @include halfPixelBorder('top',$cell-padding,$cell-border-color);
94
+ }
95
+
96
+ @include e(wrapper) {
97
+ position: relative;
98
+ display: flex;
99
+ justify-content: space-between;
100
+ align-items: flex-start;
101
+
102
+ @include m(vertical) {
103
+ display: block;
104
+
105
+ .wd-cell__right {
106
+ margin-top: $cell-vertical-padding-top;
107
+ }
108
+
109
+ .wd-cell__value {
110
+ text-align: left;
111
+ }
112
+
113
+ .wd-cell__left {
114
+ margin-right: 0;
115
+ }
116
+ }
117
+ }
118
+
119
+ @include e(left) {
120
+ position: relative;
121
+ flex: 1;
122
+ display: flex;
123
+ text-align: left;
124
+ font-size: $cell-title-font-size;
125
+ line-height: $cell-title-line-height;
126
+ box-sizing: border-box;
127
+ }
128
+
129
+ @include e(right) {
130
+ position: relative;
131
+ flex: 1;
132
+ min-width: 0;
133
+ }
134
+
135
+ @include e(title) {
136
+ font-size: $cell-title-font-size;
137
+ line-height: $cell-title-line-height;
138
+ color: $cell-title-color;
139
+ }
140
+
141
+ @include e(required) {
142
+ font-size: $cell-required-font-size;
143
+ line-height: $cell-required-line-height;
144
+ color: $cell-required-color;
145
+ margin-left: $cell-required-margin;
146
+
147
+ @include m(left) {
148
+ margin-left: 0;
149
+ margin-right: $cell-required-margin;
150
+ }
151
+ }
152
+
153
+ @include e(label) {
154
+ margin-top: $cell-label-margin-top;
155
+ font-size: $cell-label-font-size;
156
+ line-height: $cell-label-line-height;
157
+ color: $cell-label-color;
158
+ }
159
+
160
+ @include edeep(prefix) {
161
+ display: block;
162
+ position: relative;
163
+ margin-right: $cell-icon-spacing-right;
164
+ font-size: $cell-icon-size;
165
+ color: $cell-icon-color;
166
+ }
167
+
168
+ @include e(body){
169
+ display: flex;
170
+ min-width: 0;
171
+ }
172
+
173
+ @include e(value) {
174
+ position: relative;
175
+ flex: 1;
176
+ font-size: $cell-value-font-size;
177
+ line-height: $cell-value-line-height;
178
+ color: $cell-value-color;
179
+ vertical-align: middle;
180
+ word-break: break-all;
181
+
182
+ @include m(left) {
183
+ text-align: left;
184
+ }
185
+
186
+ @include m(right) {
187
+ text-align: right;
188
+ }
189
+
190
+ @include m(center) {
191
+ text-align: center;
192
+ }
193
+
194
+ @include m(ellipsis) {
195
+ @include lineEllipsis;
196
+ min-width: 0;
197
+ }
198
+ }
199
+
200
+ @include e(placeholder) {
201
+ color: $cell-placeholder-color;
202
+ font-size: $cell-placeholder-font-size;
203
+ line-height: $cell-placeholder-line-height;
204
+ }
205
+
206
+ @include edeep(arrow-right) {
207
+ display: block;
208
+ margin-left: $cell-arrow-margin-left;
209
+ font-size: $cell-arrow-size;
210
+ color: $cell-arrow-color;
211
+ }
212
+
213
+ @include edeep(suffix) {
214
+ display: block;
215
+ margin-left: $cell-arrow-margin-left;
216
+ font-size: $cell-icon-size;
217
+ color: $cell-icon-color;
218
+ }
219
+
220
+
221
+ @include when(link) {
222
+ -webkit-tap-highlight-color: $cell-bg-active;
223
+ }
224
+
225
+ @include when(hover) {
226
+ background: $cell-bg-active;
227
+ }
228
+
229
+ @include when(large) {
230
+ --wot-cell-padding: #{$cell-padding-large};
231
+ --wot-cell-title-font-size: #{$cell-title-font-size-large};
232
+ --wot-cell-title-line-height: #{$cell-title-line-height-large};
233
+ --wot-cell-label-font-size: #{$cell-label-font-size-large};
234
+ --wot-cell-label-line-height: #{$cell-label-line-height-large};
235
+ --wot-cell-value-font-size: #{$cell-value-font-size-large};
236
+ --wot-cell-value-line-height: #{$cell-value-line-height-large};
237
+ }
238
+
239
+ @include when(center) {
240
+ .wd-cell__wrapper {
241
+ align-items: center;
242
+ }
243
+ }
244
+ }
@@ -0,0 +1,205 @@
1
+ import type { ExtractPropTypes, PropType } from 'vue'
2
+ import { baseProps, makeBooleanProp, makeStringProp, makeNumericProp, numericProp } from '../../common/props'
3
+
4
+ /**
5
+ * 必填星号位置
6
+ * 可选值: 'start' | 'end'
7
+ */
8
+ export type CellAsteriskPosition = 'start' | 'end'
9
+
10
+ /**
11
+ * 单元格布局方式
12
+ * 可选值: 'horizontal' | 'vertical'
13
+ */
14
+ export type CellLayout = 'horizontal' | 'vertical'
15
+
16
+ /**
17
+ * 右侧内容对齐方式
18
+ * 可选值: 'left' | 'right' | 'center'
19
+ */
20
+ export type CellValueAlign = 'left' | 'right' | 'center'
21
+
22
+ /**
23
+ * 箭头方向
24
+ * 可选值: 'left' | 'up' | 'down' | 'right'
25
+ */
26
+ export type CellArrowDirection = 'left' | 'up' | 'down' | 'right'
27
+
28
+ /**
29
+ * 单元格大小
30
+ * 可选值: 'large'
31
+ */
32
+ export type CellSize = 'large'
33
+
34
+ export const cellProps = {
35
+ ...baseProps,
36
+ /**
37
+ * 左侧标题
38
+ * 类型: string
39
+ */
40
+ title: String,
41
+ /**
42
+ * 右侧内容
43
+ * 类型: string | number
44
+ * 默认值: ''
45
+ */
46
+ value: makeNumericProp(''),
47
+ /**
48
+ * 占位符,仅在 value 为空时显示
49
+ * 类型: string
50
+ */
51
+ placeholder: String,
52
+ /**
53
+ * 前置图标类名
54
+ * 类型: string
55
+ */
56
+ prefixIcon: String,
57
+ /**
58
+ * 后置图标类名
59
+ * 类型: string
60
+ */
61
+ suffixIcon: String,
62
+ /**
63
+ * 图标大小
64
+ * 类型: string | number
65
+ */
66
+ iconSize: numericProp,
67
+ /**
68
+ * 图标类名前缀,用于使用自定义图标
69
+ * 类型: string
70
+ */
71
+ iconPrefix: String,
72
+ /**
73
+ * 标题下方的描述信息
74
+ * 类型: string
75
+ */
76
+ label: String,
77
+ /**
78
+ * 点击后跳转的链接地址
79
+ * 类型: string
80
+ */
81
+ to: String,
82
+ /**
83
+ * 跳转时是否替换当前页面历史
84
+ * 类型: boolean
85
+ * 默认值: false
86
+ */
87
+ replace: makeBooleanProp(false),
88
+ /**
89
+ * 是否开启点击反馈
90
+ * 类型: boolean
91
+ * 默认值: false
92
+ */
93
+ clickable: makeBooleanProp(false),
94
+ /**
95
+ * 是否展示右侧箭头并开启点击反馈
96
+ * 类型: boolean
97
+ * 默认值: false
98
+ */
99
+ isLink: makeBooleanProp(false),
100
+ /**
101
+ * 单元格大小
102
+ * 类型: CellSize
103
+ * 可选值: 'large'
104
+ */
105
+ size: String as PropType<CellSize>,
106
+ /**
107
+ * 是否显示内边框
108
+ * 类型: boolean
109
+ * 默认值: 继承自 CellGroup
110
+ */
111
+ border: makeBooleanProp(void 0),
112
+ /**
113
+ * 左侧标题宽度
114
+ * 类型: string | number
115
+ */
116
+ titleWidth: numericProp,
117
+ /**
118
+ * 是否垂直居中
119
+ * 类型: boolean
120
+ * 默认值: 继承自 CellGroup
121
+ */
122
+ center: makeBooleanProp(void 0),
123
+ /**
124
+ * 是否显示表单必填星号
125
+ * 类型: boolean
126
+ * 默认值: false
127
+ */
128
+ required: makeBooleanProp(false),
129
+ /**
130
+ * 单元格布局方式
131
+ * 类型: CellLayout
132
+ * 可选值: 'horizontal' | 'vertical'
133
+ */
134
+ layout: String as PropType<CellLayout>,
135
+ /**
136
+ * 右侧内容对齐方式
137
+ * 类型: CellValueAlign
138
+ * 可选值: 'left' | 'right' | 'center'
139
+ */
140
+ valueAlign: String as PropType<CellValueAlign>,
141
+ /**
142
+ * 是否超出隐藏显示省略号
143
+ * 类型: boolean
144
+ * 默认值: false
145
+ */
146
+ ellipsis: makeBooleanProp(false),
147
+ /**
148
+ * 是否启用 title 插槽
149
+ * 类型: boolean
150
+ * 默认值: true
151
+ */
152
+ useTitleSlot: makeBooleanProp(true),
153
+ /**
154
+ * 必填星号位置
155
+ * 类型: CellAsteriskPosition
156
+ * 可选值: 'start' | 'end'
157
+ * 默认值: 'start'
158
+ */
159
+ asteriskPosition: makeStringProp<CellAsteriskPosition>('start'),
160
+ /**
161
+ * 是否隐藏必填星号
162
+ * 类型: boolean
163
+ * 默认值: false
164
+ */
165
+ hideAsterisk: makeBooleanProp(false),
166
+ /**
167
+ * 箭头方向,仅在 isLink 为 true 时生效
168
+ * 类型: CellArrowDirection
169
+ * 可选值: 'left' | 'up' | 'down' | 'right'
170
+ * 默认值: 'right'
171
+ */
172
+ arrowDirection: makeStringProp<CellArrowDirection>('right'),
173
+ /**
174
+ * 前置图标自定义样式类
175
+ * 类型: string
176
+ * 默认值: ''
177
+ */
178
+ customPrefixClass: makeStringProp(''),
179
+ /**
180
+ * 后置图标自定义样式类
181
+ * 类型: string
182
+ * 默认值: ''
183
+ */
184
+ customSuffixClass: makeStringProp(''),
185
+ /**
186
+ * label 插槽的自定义样式类
187
+ * 类型: string
188
+ * 默认值: ''
189
+ */
190
+ customLabelClass: makeStringProp(''),
191
+ /**
192
+ * value 插槽的自定义样式类
193
+ * 类型: string
194
+ * 默认值: ''
195
+ */
196
+ customValueClass: makeStringProp(''),
197
+ /**
198
+ * title 插槽的自定义样式类
199
+ * 类型: string
200
+ * 默认值: ''
201
+ */
202
+ customTitleClass: makeStringProp('')
203
+ }
204
+
205
+ export type CellProps = ExtractPropTypes<typeof cellProps>
@@ -0,0 +1,172 @@
1
+ <template>
2
+ <view
3
+ :class="['wd-cell', isBorder ? 'is-border' : '', cellSize ? 'is-' + cellSize : '', isCenter ? 'is-center' : '', customClass]"
4
+ :style="customStyle"
5
+ :hover-class="isLink || clickable ? 'is-hover' : 'none'"
6
+ :hover-stay-time="70"
7
+ @click="onClick"
8
+ >
9
+ <view :class="`wd-cell__wrapper wd-cell__wrapper--${cellLayout}`">
10
+ <view
11
+ v-if="showLeft"
12
+ class="wd-cell__left"
13
+ :style="cellTitleWidth ? 'min-width:' + addUnit(cellTitleWidth) + ';max-width:' + addUnit(cellTitleWidth) + ';' : ''"
14
+ >
15
+ <text v-if="required && !hideAsterisk && asteriskPosition === 'start'" class="wd-cell__required wd-cell__required--left">*</text>
16
+ <!--前置图标-->
17
+ <slot name="prefix">
18
+ <wd-icon
19
+ v-if="prefixIcon"
20
+ :name="prefixIcon"
21
+ :size="iconSize"
22
+ :class-prefix="iconPrefix"
23
+ :custom-class="`wd-cell__prefix ${customPrefixClass}`"
24
+ ></wd-icon>
25
+ </slot>
26
+
27
+ <view class="wd-cell__title">
28
+ <!--title BEGIN-->
29
+ <slot v-if="useTitleSlot && $slots.title" name="title"></slot>
30
+ <text v-else-if="title" :class="customTitleClass">{{ title }}</text>
31
+
32
+ <!--title END-->
33
+
34
+ <!--label BEGIN-->
35
+ <slot name="label">
36
+ <view v-if="label" :class="`wd-cell__label ${customLabelClass}`">{{ label }}</view>
37
+ </slot>
38
+ <!--label END-->
39
+ </view>
40
+ <text v-if="required && !hideAsterisk && asteriskPosition === 'end'" class="wd-cell__required">*</text>
41
+ </view>
42
+ <!--right content BEGIN-->
43
+ <view class="wd-cell__right">
44
+ <view class="wd-cell__body">
45
+ <!--文案内容-->
46
+ <view
47
+ :class="`wd-cell__value ${customValueClass} wd-cell__value--${cellValueAlign} ${ellipsis ? 'wd-cell__value--ellipsis' : ''} ${
48
+ showPlaceholder ? 'wd-cell__placeholder' : ''
49
+ }`"
50
+ >
51
+ <slot>
52
+ {{ showPlaceholder ? placeholder : value }}
53
+ </slot>
54
+ </view>
55
+ <!--后置图标/箭头-->
56
+ <wd-icon v-if="isLink" custom-class="wd-cell__arrow-right" :name="arrowDirection" :class-prefix="iconPrefix" />
57
+ <slot v-else name="suffix">
58
+ <wd-icon
59
+ v-if="suffixIcon"
60
+ :name="suffixIcon"
61
+ :size="iconSize"
62
+ :class-prefix="iconPrefix"
63
+ :custom-class="`wd-cell__suffix ${customSuffixClass}`"
64
+ ></wd-icon>
65
+ </slot>
66
+ </view>
67
+ </view>
68
+ <!--right content END-->
69
+ </view>
70
+ </view>
71
+ </template>
72
+
73
+ <script lang="ts">
74
+ export default {
75
+ name: 'wd-cell',
76
+ options: {
77
+ addGlobalClass: true,
78
+ // #ifndef MP-TOUTIAO
79
+ virtualHost: true,
80
+ // #endif
81
+ styleIsolation: 'shared'
82
+ }
83
+ }
84
+ </script>
85
+
86
+ <script lang="ts" setup>
87
+ import wdIcon from '../wd-icon/wd-icon.vue'
88
+ import { computed, useSlots } from 'vue'
89
+ import { useCell } from '../../composables/useCell'
90
+
91
+ import { cellProps } from './types'
92
+ import { addUnit, isDef } from '../../common/util'
93
+
94
+ const props = defineProps(cellProps)
95
+ const emit = defineEmits<{
96
+ (e: 'click'): void
97
+ }>()
98
+
99
+ // 获取插槽
100
+ const slots = useSlots()
101
+
102
+ const cell = useCell()
103
+
104
+ const isBorder = computed(() => {
105
+ return Boolean(isDef(props.border) ? props.border : cell.border.value)
106
+ })
107
+
108
+ // 支持 cell-group 公共配置,子组件属性优先
109
+ const isCenter = computed(() => {
110
+ return isDef(props.center) ? props.center : cell.center?.value
111
+ })
112
+
113
+ // 支持 cell-group 公共配置,子组件属性优先
114
+ const cellSize = computed(() => {
115
+ return isDef(props.size) ? props.size : cell.size?.value
116
+ })
117
+
118
+ // 支持 cell-group 公共配置,子组件属性优先
119
+ const cellTitleWidth = computed(() => {
120
+ return isDef(props.titleWidth) ? props.titleWidth : cell.titleWidth?.value
121
+ })
122
+
123
+ // 支持 cell-group 公共配置,子组件属性优先
124
+ const cellLayout = computed(() => {
125
+ return isDef(props.layout) ? props.layout : cell.layout?.value || 'horizontal'
126
+ })
127
+
128
+ // 支持 cell-group 公共配置,子组件属性优先
129
+ const cellValueAlign = computed(() => {
130
+ return isDef(props.valueAlign) ? props.valueAlign : cell.valueAlign?.value || 'right'
131
+ })
132
+
133
+ // 是否展示左侧部分
134
+ const showLeft = computed(() => {
135
+ // 插槽优先级高于props
136
+ // 有prefix插槽或prefixIcon属性
137
+ const hasPrefix = slots.prefix || props.prefixIcon
138
+ // 有title插槽或title属性
139
+ const hasTitle = (slots.title && props.useTitleSlot) || props.title
140
+ // 有label插槽或label属性
141
+ const hasLabel = slots.label || props.label
142
+
143
+ return hasPrefix || hasTitle || hasLabel
144
+ })
145
+
146
+ const showPlaceholder = computed(() => {
147
+ return Boolean(props.placeholder && (props.value === '' || props.value === undefined || props.value === null) && !slots.default)
148
+ })
149
+
150
+ /**
151
+ * 点击单元格时触发
152
+ * 处理点击事件和页面跳转
153
+ */
154
+ function onClick() {
155
+ const url = props.to
156
+
157
+ if (props.clickable || props.isLink) {
158
+ emit('click')
159
+ }
160
+ if (url && props.isLink) {
161
+ if (props.replace) {
162
+ uni.redirectTo({ url })
163
+ } else {
164
+ uni.navigateTo({ url })
165
+ }
166
+ }
167
+ }
168
+ </script>
169
+
170
+ <style lang="scss">
171
+ @use './index.scss';
172
+ </style>
@@ -0,0 +1,53 @@
1
+ @use '../../styles/variable.scss' as *;
2
+ @use '../../styles/mixin/mixin.scss' as *;
3
+
4
+ // 单元格组背景色
5
+ $cell-group-bg: var(--wot-cell-group-bg, $filled-oppo) !default;
6
+ // 标题区域内边距
7
+ $cell-group-padding: var(--wot-cell-group-padding, $padding-loose) !default;
8
+ // 标题文字字重
9
+ $cell-group-font-weight: var(--wot-cell-group-font-weight, $font-weight-medium) !default;
10
+ // 标题文字颜色
11
+ $cell-group-title-color: var(--wot-cell-group-title-color, $text-main) !default;
12
+ // 右侧辅助文字颜色
13
+ $cell-group-value-color: var(--wot-cell-group-value-color, $text-secondary) !default;
14
+ // 右侧辅助文字字号
15
+ $cell-group-value-font-size: var(--wot-cell-group-value-font-size, $typography-body-size-main) !default;
16
+ // 标题文字字号
17
+ $cell-group-title-font-size: var(--wot-cell-group-title-font-size, $typography-body-size-main) !default;
18
+ // 插入模式圆角
19
+ $cell-group-insert-radius: var(--wot-cell-group-insert-radius, $radius-large) !default;
20
+ // 插入模式外边距
21
+ $cell-group-insert-margin: var(--wot-cell-group-insert-margin, $spacing-zero $spacing-extra-loose) !default;
22
+
23
+ @include b(cell-group) {
24
+ background: $cell-group-bg;
25
+
26
+ @include when(border) {
27
+ .wd-cell-group__title {
28
+ @include halfPixelBorder;
29
+ }
30
+ }
31
+ @include e(title) {
32
+ position: relative;
33
+ display: flex;
34
+ justify-content: space-between;
35
+ padding: $cell-group-padding;
36
+ background: $cell-group-bg;
37
+ font-size: $cell-group-title-font-size;
38
+ color: $cell-group-title-color;
39
+ font-weight: $cell-group-font-weight;
40
+ }
41
+ @include e(right) {
42
+ color: $cell-group-value-color;
43
+ font-size: $cell-group-value-font-size;
44
+ }
45
+ @include e(body) {
46
+ background: $cell-group-bg;
47
+ }
48
+ @include m(insert) {
49
+ border-radius: $cell-group-insert-radius;
50
+ overflow: hidden;
51
+ margin: $cell-group-insert-margin;
52
+ }
53
+ }