@berqnet/theme 0.0.0-stage → 2.4.292

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 (346) hide show
  1. package/README.md +111 -2
  2. package/dist/module.cjs +5 -0
  3. package/dist/module.d.mts +12 -0
  4. package/dist/module.d.ts +12 -0
  5. package/dist/module.json +9 -0
  6. package/dist/module.mjs +194 -0
  7. package/dist/runtime/assets/scss/main.css +18832 -0
  8. package/dist/runtime/components/development/example.alert.vue +47 -0
  9. package/dist/runtime/components/development/example.avatar.vue +88 -0
  10. package/dist/runtime/components/development/example.badge.vue +95 -0
  11. package/dist/runtime/components/development/example.breadcrumb.vue +58 -0
  12. package/dist/runtime/components/development/example.button.vue +250 -0
  13. package/dist/runtime/components/development/example.card.vue +68 -0
  14. package/dist/runtime/components/development/example.checkbox.vue +191 -0
  15. package/dist/runtime/components/development/example.checkbox.vue.d.ts +134 -0
  16. package/dist/runtime/components/development/example.collapse.vue +38 -0
  17. package/dist/runtime/components/development/example.datepicker.vue +196 -0
  18. package/dist/runtime/components/development/example.description.vue +144 -0
  19. package/dist/runtime/components/development/example.dialog.vue +76 -0
  20. package/dist/runtime/components/development/example.dropdown.vue +194 -0
  21. package/dist/runtime/components/development/example.form.vue +497 -0
  22. package/dist/runtime/components/development/example.input.vue +275 -0
  23. package/dist/runtime/components/development/example.link.vue +94 -0
  24. package/dist/runtime/components/development/example.menu.vue +237 -0
  25. package/dist/runtime/components/development/example.message.vue +68 -0
  26. package/dist/runtime/components/development/example.notification.vue +77 -0
  27. package/dist/runtime/components/development/example.number.vue +74 -0
  28. package/dist/runtime/components/development/example.pagination.vue +100 -0
  29. package/dist/runtime/components/development/example.popover.vue +146 -0
  30. package/dist/runtime/components/development/example.radio.vue +178 -0
  31. package/dist/runtime/components/development/example.radio.vue.d.ts +26 -0
  32. package/dist/runtime/components/development/example.select.vue +619 -0
  33. package/dist/runtime/components/development/example.select.vue.d.ts +70 -0
  34. package/dist/runtime/components/development/example.sidebar.vue +106 -0
  35. package/dist/runtime/components/development/example.static.vue +51 -0
  36. package/dist/runtime/components/development/example.switch.vue +102 -0
  37. package/dist/runtime/components/development/example.tab.vue +48 -0
  38. package/dist/runtime/components/development/example.table.vue +333 -0
  39. package/dist/runtime/components/development/example.tag.vue +268 -0
  40. package/dist/runtime/components/development/example.timepicker.vue +95 -0
  41. package/dist/runtime/components/development/example.tooltip.vue +104 -0
  42. package/dist/runtime/components/development/example.upload.vue +89 -0
  43. package/dist/runtime/components/production/html-encode.vue +99 -0
  44. package/dist/runtime/layouts/berqnet-modules.vue +34 -0
  45. package/dist/runtime/pages/colors.vue +142 -0
  46. package/dist/runtime/pages/theme.vue +60 -0
  47. package/dist/runtime/plugins/disable-warnings-plugin.d.ts +2 -0
  48. package/dist/runtime/plugins/disable-warnings-plugin.js +37 -0
  49. package/dist/runtime/plugins/disable-warnings-plugin.mjs +37 -0
  50. package/dist/runtime/plugins/sample-plugin.d.ts +20 -0
  51. package/dist/runtime/plugins/sample-plugin.js +5 -0
  52. package/dist/runtime/plugins/sample-plugin.mjs +5 -0
  53. package/dist/runtime/plugins/theme-provider-plugin.d.ts +30 -0
  54. package/dist/runtime/plugins/theme-provider-plugin.js +46 -0
  55. package/dist/runtime/plugins/theme-provider-plugin.mjs +46 -0
  56. package/dist/runtime/public/scss/_buttons.scss +157 -0
  57. package/dist/runtime/public/scss/_colors.scss +163 -0
  58. package/dist/runtime/public/scss/_containers.scss +7 -0
  59. package/dist/runtime/public/scss/_fonts.scss +84 -0
  60. package/dist/runtime/public/scss/_icons.scss +111 -0
  61. package/dist/runtime/public/scss/_inputs.scss +64 -0
  62. package/dist/runtime/public/scss/_layers.scss +9 -0
  63. package/dist/runtime/public/scss/_logo.scss +53 -0
  64. package/dist/runtime/public/scss/_selectbox.scss +4 -0
  65. package/dist/runtime/public/scss/_tag.scss +0 -0
  66. package/dist/runtime/public/scss/_variables.scss +16 -0
  67. package/dist/runtime/public/scss/element-plus/affix.css +305 -0
  68. package/dist/runtime/public/scss/element-plus/affix.scss +7 -0
  69. package/dist/runtime/public/scss/element-plus/alert.css +523 -0
  70. package/dist/runtime/public/scss/element-plus/alert.scss +160 -0
  71. package/dist/runtime/public/scss/element-plus/anchor-link.css +332 -0
  72. package/dist/runtime/public/scss/element-plus/anchor-link.scss +41 -0
  73. package/dist/runtime/public/scss/element-plus/anchor.css +376 -0
  74. package/dist/runtime/public/scss/element-plus/anchor.scss +93 -0
  75. package/dist/runtime/public/scss/element-plus/aside.css +308 -0
  76. package/dist/runtime/public/scss/element-plus/aside.scss +8 -0
  77. package/dist/runtime/public/scss/element-plus/autocomplete.css +411 -0
  78. package/dist/runtime/public/scss/element-plus/autocomplete.scss +85 -0
  79. package/dist/runtime/public/scss/element-plus/avatar.css +374 -0
  80. package/dist/runtime/public/scss/element-plus/avatar.scss +56 -0
  81. package/dist/runtime/public/scss/element-plus/backtop.css +326 -0
  82. package/dist/runtime/public/scss/element-plus/backtop.scss +29 -0
  83. package/dist/runtime/public/scss/element-plus/badge.css +376 -0
  84. package/dist/runtime/public/scss/element-plus/badge.scss +54 -0
  85. package/dist/runtime/public/scss/element-plus/base.css +559 -0
  86. package/dist/runtime/public/scss/element-plus/base.scss +3 -0
  87. package/dist/runtime/public/scss/element-plus/breadcrumb-item.css +0 -0
  88. package/dist/runtime/public/scss/element-plus/breadcrumb-item.scss +0 -0
  89. package/dist/runtime/public/scss/element-plus/breadcrumb.css +370 -0
  90. package/dist/runtime/public/scss/element-plus/breadcrumb.scss +77 -0
  91. package/dist/runtime/public/scss/element-plus/button-group.css +535 -0
  92. package/dist/runtime/public/scss/element-plus/button-group.scss +111 -0
  93. package/dist/runtime/public/scss/element-plus/button.css +1103 -0
  94. package/dist/runtime/public/scss/element-plus/button.scss +374 -0
  95. package/dist/runtime/public/scss/element-plus/calendar.css +370 -0
  96. package/dist/runtime/public/scss/element-plus/calendar.scss +80 -0
  97. package/dist/runtime/public/scss/element-plus/card.css +349 -0
  98. package/dist/runtime/public/scss/element-plus/card.scss +56 -0
  99. package/dist/runtime/public/scss/element-plus/carousel-item.css +350 -0
  100. package/dist/runtime/public/scss/element-plus/carousel-item.scss +58 -0
  101. package/dist/runtime/public/scss/element-plus/carousel.css +475 -0
  102. package/dist/runtime/public/scss/element-plus/carousel.scss +183 -0
  103. package/dist/runtime/public/scss/element-plus/cascader-panel.css +438 -0
  104. package/dist/runtime/public/scss/element-plus/cascader-panel.scss +148 -0
  105. package/dist/runtime/public/scss/element-plus/cascader.css +560 -0
  106. package/dist/runtime/public/scss/element-plus/cascader.scss +218 -0
  107. package/dist/runtime/public/scss/element-plus/check-tag.css +386 -0
  108. package/dist/runtime/public/scss/element-plus/check-tag.scss +38 -0
  109. package/dist/runtime/public/scss/element-plus/checkbox-button.css +446 -0
  110. package/dist/runtime/public/scss/element-plus/checkbox-button.scss +141 -0
  111. package/dist/runtime/public/scss/element-plus/checkbox-group.css +311 -0
  112. package/dist/runtime/public/scss/element-plus/checkbox-group.scss +13 -0
  113. package/dist/runtime/public/scss/element-plus/checkbox.css +587 -0
  114. package/dist/runtime/public/scss/element-plus/checkbox.scss +293 -0
  115. package/dist/runtime/public/scss/element-plus/col.css +3270 -0
  116. package/dist/runtime/public/scss/element-plus/col.scss +48 -0
  117. package/dist/runtime/public/scss/element-plus/collapse-item.css +0 -0
  118. package/dist/runtime/public/scss/element-plus/collapse-item.scss +0 -0
  119. package/dist/runtime/public/scss/element-plus/collapse-transition.css +0 -0
  120. package/dist/runtime/public/scss/element-plus/collapse-transition.scss +0 -0
  121. package/dist/runtime/public/scss/element-plus/collapse.css +499 -0
  122. package/dist/runtime/public/scss/element-plus/collapse.scss +85 -0
  123. package/dist/runtime/public/scss/element-plus/color/index.css +0 -0
  124. package/dist/runtime/public/scss/element-plus/color/index.scss +17 -0
  125. package/dist/runtime/public/scss/element-plus/color-picker.css +650 -0
  126. package/dist/runtime/public/scss/element-plus/color-picker.scss +365 -0
  127. package/dist/runtime/public/scss/element-plus/common/popup.css +338 -0
  128. package/dist/runtime/public/scss/element-plus/common/popup.scss +47 -0
  129. package/dist/runtime/public/scss/element-plus/common/transition.css +420 -0
  130. package/dist/runtime/public/scss/element-plus/common/transition.scss +124 -0
  131. package/dist/runtime/public/scss/element-plus/common/var.css +302 -0
  132. package/dist/runtime/public/scss/element-plus/common/var.scss +1676 -0
  133. package/dist/runtime/public/scss/element-plus/config-provider.css +0 -0
  134. package/dist/runtime/public/scss/element-plus/config-provider.scss +0 -0
  135. package/dist/runtime/public/scss/element-plus/container.css +313 -0
  136. package/dist/runtime/public/scss/element-plus/container.scss +14 -0
  137. package/dist/runtime/public/scss/element-plus/dark/css-vars.css +353 -0
  138. package/dist/runtime/public/scss/element-plus/dark/css-vars.scss +39 -0
  139. package/dist/runtime/public/scss/element-plus/dark/var.css +302 -0
  140. package/dist/runtime/public/scss/element-plus/dark/var.scss +222 -0
  141. package/dist/runtime/public/scss/element-plus/date-picker/date-picker.css +558 -0
  142. package/dist/runtime/public/scss/element-plus/date-picker/date-picker.scss +109 -0
  143. package/dist/runtime/public/scss/element-plus/date-picker/date-range-picker.css +410 -0
  144. package/dist/runtime/public/scss/element-plus/date-picker/date-range-picker.scss +117 -0
  145. package/dist/runtime/public/scss/element-plus/date-picker/date-table.css +426 -0
  146. package/dist/runtime/public/scss/element-plus/date-picker/date-table.scss +158 -0
  147. package/dist/runtime/public/scss/element-plus/date-picker/month-table.css +388 -0
  148. package/dist/runtime/public/scss/element-plus/date-picker/month-table.scss +112 -0
  149. package/dist/runtime/public/scss/element-plus/date-picker/picker-panel.css +454 -0
  150. package/dist/runtime/public/scss/element-plus/date-picker/picker-panel.scss +168 -0
  151. package/dist/runtime/public/scss/element-plus/date-picker/picker.css +668 -0
  152. package/dist/runtime/public/scss/element-plus/date-picker/picker.scss +198 -0
  153. package/dist/runtime/public/scss/element-plus/date-picker/time-picker.css +384 -0
  154. package/dist/runtime/public/scss/element-plus/date-picker/time-picker.scss +98 -0
  155. package/dist/runtime/public/scss/element-plus/date-picker/time-range-picker.css +338 -0
  156. package/dist/runtime/public/scss/element-plus/date-picker/time-range-picker.scss +40 -0
  157. package/dist/runtime/public/scss/element-plus/date-picker/time-spinner.css +389 -0
  158. package/dist/runtime/public/scss/element-plus/date-picker/time-spinner.scss +110 -0
  159. package/dist/runtime/public/scss/element-plus/date-picker/year-table.css +384 -0
  160. package/dist/runtime/public/scss/element-plus/date-picker/year-table.scss +108 -0
  161. package/dist/runtime/public/scss/element-plus/date-picker.css +1537 -0
  162. package/dist/runtime/public/scss/element-plus/date-picker.scss +9 -0
  163. package/dist/runtime/public/scss/element-plus/descriptions-item.css +347 -0
  164. package/dist/runtime/public/scss/element-plus/descriptions-item.scss +69 -0
  165. package/dist/runtime/public/scss/element-plus/descriptions.css +438 -0
  166. package/dist/runtime/public/scss/element-plus/descriptions.scss +212 -0
  167. package/dist/runtime/public/scss/element-plus/dialog.css +546 -0
  168. package/dist/runtime/public/scss/element-plus/dialog.scss +196 -0
  169. package/dist/runtime/public/scss/element-plus/display.css +357 -0
  170. package/dist/runtime/public/scss/element-plus/display.scss +12 -0
  171. package/dist/runtime/public/scss/element-plus/divider.css +345 -0
  172. package/dist/runtime/public/scss/element-plus/divider.scss +48 -0
  173. package/dist/runtime/public/scss/element-plus/drawer.css +419 -0
  174. package/dist/runtime/public/scss/element-plus/drawer.scss +155 -0
  175. package/dist/runtime/public/scss/element-plus/dropdown-item.css +0 -0
  176. package/dist/runtime/public/scss/element-plus/dropdown-item.scss +0 -0
  177. package/dist/runtime/public/scss/element-plus/dropdown-menu.css +0 -0
  178. package/dist/runtime/public/scss/element-plus/dropdown-menu.scss +0 -0
  179. package/dist/runtime/public/scss/element-plus/dropdown.css +499 -0
  180. package/dist/runtime/public/scss/element-plus/dropdown.scss +216 -0
  181. package/dist/runtime/public/scss/element-plus/empty.css +355 -0
  182. package/dist/runtime/public/scss/element-plus/empty.scss +49 -0
  183. package/dist/runtime/public/scss/element-plus/footer.css +310 -0
  184. package/dist/runtime/public/scss/element-plus/footer.scss +12 -0
  185. package/dist/runtime/public/scss/element-plus/form-item.css +0 -0
  186. package/dist/runtime/public/scss/element-plus/form-item.scss +0 -0
  187. package/dist/runtime/public/scss/element-plus/form.css +547 -0
  188. package/dist/runtime/public/scss/element-plus/form.scss +328 -0
  189. package/dist/runtime/public/scss/element-plus/header.css +310 -0
  190. package/dist/runtime/public/scss/element-plus/header.scss +12 -0
  191. package/dist/runtime/public/scss/element-plus/icon.css +343 -0
  192. package/dist/runtime/public/scss/element-plus/icon.scss +45 -0
  193. package/dist/runtime/public/scss/element-plus/image-viewer.css +439 -0
  194. package/dist/runtime/public/scss/element-plus/image-viewer.scss +139 -0
  195. package/dist/runtime/public/scss/element-plus/image.css +343 -0
  196. package/dist/runtime/public/scss/element-plus/image.scss +49 -0
  197. package/dist/runtime/public/scss/element-plus/index.css +17940 -0
  198. package/dist/runtime/public/scss/element-plus/index.scss +110 -0
  199. package/dist/runtime/public/scss/element-plus/infinite-scroll.css +0 -0
  200. package/dist/runtime/public/scss/element-plus/infinite-scroll.scss +0 -0
  201. package/dist/runtime/public/scss/element-plus/input-number.css +506 -0
  202. package/dist/runtime/public/scss/element-plus/input-number.scss +205 -0
  203. package/dist/runtime/public/scss/element-plus/input.css +771 -0
  204. package/dist/runtime/public/scss/element-plus/input.scss +534 -0
  205. package/dist/runtime/public/scss/element-plus/link.css +603 -0
  206. package/dist/runtime/public/scss/element-plus/link.scss +132 -0
  207. package/dist/runtime/public/scss/element-plus/loading.css +392 -0
  208. package/dist/runtime/public/scss/element-plus/loading.scss +103 -0
  209. package/dist/runtime/public/scss/element-plus/main.css +312 -0
  210. package/dist/runtime/public/scss/element-plus/main.scss +15 -0
  211. package/dist/runtime/public/scss/element-plus/mention.css +413 -0
  212. package/dist/runtime/public/scss/element-plus/mention.scss +84 -0
  213. package/dist/runtime/public/scss/element-plus/menu-item-group.css +0 -0
  214. package/dist/runtime/public/scss/element-plus/menu-item-group.scss +0 -0
  215. package/dist/runtime/public/scss/element-plus/menu-item.css +0 -0
  216. package/dist/runtime/public/scss/element-plus/menu-item.scss +0 -0
  217. package/dist/runtime/public/scss/element-plus/menu.css +765 -0
  218. package/dist/runtime/public/scss/element-plus/menu.scss +360 -0
  219. package/dist/runtime/public/scss/element-plus/message-box.css +576 -0
  220. package/dist/runtime/public/scss/element-plus/message-box.scss +238 -0
  221. package/dist/runtime/public/scss/element-plus/message.css +529 -0
  222. package/dist/runtime/public/scss/element-plus/message.scss +165 -0
  223. package/dist/runtime/public/scss/element-plus/mixins/_button.scss +241 -0
  224. package/dist/runtime/public/scss/element-plus/mixins/_col.scss +33 -0
  225. package/dist/runtime/public/scss/element-plus/mixins/_var.scss +59 -0
  226. package/dist/runtime/public/scss/element-plus/mixins/config.css +0 -0
  227. package/dist/runtime/public/scss/element-plus/mixins/config.scss +5 -0
  228. package/dist/runtime/public/scss/element-plus/mixins/function.css +0 -0
  229. package/dist/runtime/public/scss/element-plus/mixins/function.scss +86 -0
  230. package/dist/runtime/public/scss/element-plus/mixins/mixins.css +302 -0
  231. package/dist/runtime/public/scss/element-plus/mixins/mixins.scss +232 -0
  232. package/dist/runtime/public/scss/element-plus/mixins/utils.css +0 -0
  233. package/dist/runtime/public/scss/element-plus/mixins/utils.scss +39 -0
  234. package/dist/runtime/public/scss/element-plus/notification.css +414 -0
  235. package/dist/runtime/public/scss/element-plus/notification.scss +104 -0
  236. package/dist/runtime/public/scss/element-plus/option-group.css +331 -0
  237. package/dist/runtime/public/scss/element-plus/option-group.scss +38 -0
  238. package/dist/runtime/public/scss/element-plus/option.css +363 -0
  239. package/dist/runtime/public/scss/element-plus/option.scss +84 -0
  240. package/dist/runtime/public/scss/element-plus/overlay.css +316 -0
  241. package/dist/runtime/public/scss/element-plus/overlay.scss +20 -0
  242. package/dist/runtime/public/scss/element-plus/page-header.css +351 -0
  243. package/dist/runtime/public/scss/element-plus/page-header.scss +60 -0
  244. package/dist/runtime/public/scss/element-plus/pagination.css +594 -0
  245. package/dist/runtime/public/scss/element-plus/pagination.scss +255 -0
  246. package/dist/runtime/public/scss/element-plus/popconfirm.css +315 -0
  247. package/dist/runtime/public/scss/element-plus/popconfirm.scss +16 -0
  248. package/dist/runtime/public/scss/element-plus/popover.css +411 -0
  249. package/dist/runtime/public/scss/element-plus/popover.scss +85 -0
  250. package/dist/runtime/public/scss/element-plus/popper.css +405 -0
  251. package/dist/runtime/public/scss/element-plus/popper.scss +127 -0
  252. package/dist/runtime/public/scss/element-plus/progress.css +449 -0
  253. package/dist/runtime/public/scss/element-plus/progress.scss +179 -0
  254. package/dist/runtime/public/scss/element-plus/radio-button.css +435 -0
  255. package/dist/runtime/public/scss/element-plus/radio-button.scss +138 -0
  256. package/dist/runtime/public/scss/element-plus/radio-group.css +311 -0
  257. package/dist/runtime/public/scss/element-plus/radio-group.scss +13 -0
  258. package/dist/runtime/public/scss/element-plus/radio.css +565 -0
  259. package/dist/runtime/public/scss/element-plus/radio.scss +246 -0
  260. package/dist/runtime/public/scss/element-plus/rate.css +384 -0
  261. package/dist/runtime/public/scss/element-plus/rate.scss +108 -0
  262. package/dist/runtime/public/scss/element-plus/reset.css +399 -0
  263. package/dist/runtime/public/scss/element-plus/reset.scss +97 -0
  264. package/dist/runtime/public/scss/element-plus/result.css +381 -0
  265. package/dist/runtime/public/scss/element-plus/result.scss +57 -0
  266. package/dist/runtime/public/scss/element-plus/row.css +339 -0
  267. package/dist/runtime/public/scss/element-plus/row.scss +35 -0
  268. package/dist/runtime/public/scss/element-plus/scrollbar.css +373 -0
  269. package/dist/runtime/public/scss/element-plus/scrollbar.scss +85 -0
  270. package/dist/runtime/public/scss/element-plus/segmented.css +460 -0
  271. package/dist/runtime/public/scss/element-plus/segmented.scss +160 -0
  272. package/dist/runtime/public/scss/element-plus/select-dropdown-v2.css +354 -0
  273. package/dist/runtime/public/scss/element-plus/select-dropdown-v2.scss +1 -0
  274. package/dist/runtime/public/scss/element-plus/select-dropdown.css +354 -0
  275. package/dist/runtime/public/scss/element-plus/select-dropdown.scss +60 -0
  276. package/dist/runtime/public/scss/element-plus/select-v2.css +852 -0
  277. package/dist/runtime/public/scss/element-plus/select-v2.scss +4 -0
  278. package/dist/runtime/public/scss/element-plus/select.css +852 -0
  279. package/dist/runtime/public/scss/element-plus/select.scss +354 -0
  280. package/dist/runtime/public/scss/element-plus/skeleton-item.css +372 -0
  281. package/dist/runtime/public/scss/element-plus/skeleton-item.scss +83 -0
  282. package/dist/runtime/public/scss/element-plus/skeleton.css +335 -0
  283. package/dist/runtime/public/scss/element-plus/skeleton.scss +39 -0
  284. package/dist/runtime/public/scss/element-plus/slider.css +480 -0
  285. package/dist/runtime/public/scss/element-plus/slider.scss +212 -0
  286. package/dist/runtime/public/scss/element-plus/space.css +317 -0
  287. package/dist/runtime/public/scss/element-plus/space.scss +20 -0
  288. package/dist/runtime/public/scss/element-plus/spinner.css +342 -0
  289. package/dist/runtime/public/scss/element-plus/spinner.scss +43 -0
  290. package/dist/runtime/public/scss/element-plus/statistic.css +336 -0
  291. package/dist/runtime/public/scss/element-plus/statistic.scss +35 -0
  292. package/dist/runtime/public/scss/element-plus/step.css +586 -0
  293. package/dist/runtime/public/scss/element-plus/step.scss +316 -0
  294. package/dist/runtime/public/scss/element-plus/steps.css +319 -0
  295. package/dist/runtime/public/scss/element-plus/steps.scss +21 -0
  296. package/dist/runtime/public/scss/element-plus/sub-menu.css +0 -0
  297. package/dist/runtime/public/scss/element-plus/sub-menu.scss +0 -0
  298. package/dist/runtime/public/scss/element-plus/switch.css +595 -0
  299. package/dist/runtime/public/scss/element-plus/switch.scss +327 -0
  300. package/dist/runtime/public/scss/element-plus/tab-pane.css +0 -0
  301. package/dist/runtime/public/scss/element-plus/tab-pane.scss +0 -0
  302. package/dist/runtime/public/scss/element-plus/table-column.css +382 -0
  303. package/dist/runtime/public/scss/element-plus/table-column.scss +98 -0
  304. package/dist/runtime/public/scss/element-plus/table-v2.css +521 -0
  305. package/dist/runtime/public/scss/element-plus/table-v2.scss +234 -0
  306. package/dist/runtime/public/scss/element-plus/table.css +980 -0
  307. package/dist/runtime/public/scss/element-plus/table.scss +868 -0
  308. package/dist/runtime/public/scss/element-plus/tabs.css +892 -0
  309. package/dist/runtime/public/scss/element-plus/tabs.scss +654 -0
  310. package/dist/runtime/public/scss/element-plus/tag.css +655 -0
  311. package/dist/runtime/public/scss/element-plus/tag.scss +193 -0
  312. package/dist/runtime/public/scss/element-plus/text.css +378 -0
  313. package/dist/runtime/public/scss/element-plus/text.scss +58 -0
  314. package/dist/runtime/public/scss/element-plus/time-picker.css +1029 -0
  315. package/dist/runtime/public/scss/element-plus/time-picker.scss +5 -0
  316. package/dist/runtime/public/scss/element-plus/time-select.css +952 -0
  317. package/dist/runtime/public/scss/element-plus/time-select.scss +37 -0
  318. package/dist/runtime/public/scss/element-plus/timeline-item.css +415 -0
  319. package/dist/runtime/public/scss/element-plus/timeline-item.scss +84 -0
  320. package/dist/runtime/public/scss/element-plus/timeline.css +334 -0
  321. package/dist/runtime/public/scss/element-plus/timeline.scss +46 -0
  322. package/dist/runtime/public/scss/element-plus/tooltip-v2.css +410 -0
  323. package/dist/runtime/public/scss/element-plus/tooltip-v2.scss +86 -0
  324. package/dist/runtime/public/scss/element-plus/tooltip.css +308 -0
  325. package/dist/runtime/public/scss/element-plus/tooltip.scss +15 -0
  326. package/dist/runtime/public/scss/element-plus/tour.css +461 -0
  327. package/dist/runtime/public/scss/element-plus/tour.scss +170 -0
  328. package/dist/runtime/public/scss/element-plus/transfer.css +497 -0
  329. package/dist/runtime/public/scss/element-plus/transfer.scss +204 -0
  330. package/dist/runtime/public/scss/element-plus/tree-select.css +325 -0
  331. package/dist/runtime/public/scss/element-plus/tree-select.scss +38 -0
  332. package/dist/runtime/public/scss/element-plus/tree.css +538 -0
  333. package/dist/runtime/public/scss/element-plus/tree.scss +132 -0
  334. package/dist/runtime/public/scss/element-plus/upload.css +862 -0
  335. package/dist/runtime/public/scss/element-plus/upload.scss +656 -0
  336. package/dist/runtime/public/scss/element-plus/var.css +398 -0
  337. package/dist/runtime/public/scss/element-plus/var.scss +86 -0
  338. package/dist/runtime/public/scss/element-plus/virtual-list.css +330 -0
  339. package/dist/runtime/public/scss/element-plus/virtual-list.scss +40 -0
  340. package/dist/runtime/public/scss/theme.css +1299 -0
  341. package/dist/runtime/public/scss/theme.scss +68 -0
  342. package/dist/runtime/server/tsconfig.json +6 -0
  343. package/dist/runtime/types.d.ts +61 -0
  344. package/dist/types.d.mts +7 -0
  345. package/dist/types.d.ts +7 -0
  346. package/package.json +73 -4
@@ -0,0 +1,868 @@
1
+ @use 'sass:map';
2
+
3
+ @use 'mixins/mixins' as *;
4
+ @use 'mixins/var' as *;
5
+ @use 'common/var' as *;
6
+
7
+ @include b(table) {
8
+ @include set-component-css-var('table', $table);
9
+ }
10
+
11
+ @include b(table) {
12
+ position: relative;
13
+ overflow: hidden;
14
+ box-sizing: border-box;
15
+ height: fit-content;
16
+ // width: calc(100% - 48px) !important;
17
+ max-width: 100%;
18
+ background-color: getCssVar('table-bg-color');
19
+ font-size: getCssVar('table-font-size');
20
+ font-weight: getCssVar('table-font-weight-body');
21
+ color: getCssVar('table-text-color');
22
+ overflow: initial;
23
+ border-bottom: 1px solid getCssVar('table-border-color');
24
+ // border-top: 1px solid getCssVar('table-border-color');
25
+ // transform: translateX(24px);
26
+ // margin: 8px 0;
27
+
28
+ // &::before {
29
+ // content: '';
30
+ // position: absolute;
31
+ // top: -7px;
32
+ // left: -23px;
33
+ // right: -23px;
34
+ // bottom: -7px;
35
+ // box-shadow: 0 0 0 1px getCssVar('color-neutral-light-3');
36
+ // border-radius: 6px;
37
+ // }
38
+
39
+ @include e(inner-wrapper) {
40
+ position: relative;
41
+ display: flex;
42
+ flex-direction: column;
43
+ height: 100%;
44
+
45
+ // 表格底部伪 border,总是有的
46
+ &::before {
47
+ @include extend-rule(border-pseudo);
48
+ left: 0;
49
+ bottom: 0;
50
+ height: 1px;
51
+ }
52
+ }
53
+
54
+ tbody {
55
+ &:focus-visible {
56
+ outline: none;
57
+ }
58
+ }
59
+
60
+ &.has-footer {
61
+ &.#{$namespace}-table--scrollable-y,
62
+ &.#{$namespace}-table--fluid-height {
63
+ tr:last-child td.#{$namespace}-table__cell {
64
+ border-bottom-color: transparent;
65
+ }
66
+ }
67
+ }
68
+
69
+ // when data is empty
70
+ @include e(empty-block) {
71
+ position: sticky;
72
+ left: 0;
73
+ min-height: 60px;
74
+ text-align: center;
75
+ width: 100%;
76
+ display: flex;
77
+ justify-content: center;
78
+ align-items: center;
79
+ }
80
+
81
+ @include e(empty-text) {
82
+ // min-height doesn't work in IE10 and IE11 https://github.com/philipwalton/flexbugs#3-min-height-on-a-flex-container-wont-apply-to-its-flex-items
83
+ // set empty text line height up to contrainer min-height as workaround.
84
+ line-height: 60px;
85
+ width: 50%;
86
+ color: getCssVar('text-color', 'secondary');
87
+ }
88
+
89
+ // expand the row
90
+ @include e(expand-column) {
91
+ .cell {
92
+ padding: 0;
93
+ text-align: center;
94
+ user-select: none;
95
+ }
96
+ }
97
+
98
+ @include e(expand-icon) {
99
+ position: relative;
100
+ cursor: pointer;
101
+ color: getCssVar('text-color', 'regular');
102
+ font-size: 12px;
103
+ transition: transform getCssVar('transition-duration-fast') ease-in-out;
104
+ height: 20px;
105
+
106
+ @include m(expanded) {
107
+ transform: rotate(90deg);
108
+ }
109
+
110
+ > .#{$namespace}-icon {
111
+ font-size: 12px;
112
+ }
113
+ }
114
+
115
+ @include e(expanded-cell) {
116
+ background-color: getCssVar('table-expanded-cell-bg-color');
117
+
118
+ // increase the weight purely
119
+ &[class*='cell'] {
120
+ padding: 20px 50px;
121
+ }
122
+
123
+ &:hover {
124
+ background-color: transparent !important;
125
+ }
126
+ }
127
+
128
+ @include e(placeholder) {
129
+ display: inline-block;
130
+ width: 20px;
131
+ }
132
+
133
+ @include e(append-wrapper) {
134
+ // avoid overlapping margin https://developer.mozilla.org/zh-CN/docs/Web/CSS/CSS_Box_Model/Mastering_margin_collapsing
135
+ overflow: hidden;
136
+ }
137
+
138
+ @include m(fit) {
139
+ // border-right: 0;
140
+ // border-bottom: 0;
141
+
142
+ .#{$namespace}-table__cell.gutter {
143
+ border-right-width: 1px;
144
+ }
145
+
146
+ @include e(inner-wrapper) {
147
+ &::before {
148
+ width: 100%;
149
+ }
150
+ }
151
+ }
152
+
153
+ thead {
154
+ color: getCssVar('table-header-text-color');
155
+
156
+ th {
157
+ font-weight: getCssVar('table-font-weight-head');
158
+ border-bottom: 1px solid getCssVar('color-neutral-light-3');
159
+
160
+ &.#{$namespace}-table__cell {
161
+ .cell {
162
+ display: flex;
163
+ gap: 3px;
164
+ }
165
+ }
166
+ }
167
+
168
+ &.is-group {
169
+ th.#{$namespace}-table__cell {
170
+ background: getCssVar('fill-color', 'light');
171
+ }
172
+ }
173
+ }
174
+
175
+ .#{$namespace}-table__cell {
176
+ padding: map.get($table-padding, 'default');
177
+ min-width: 0;
178
+ box-sizing: border-box;
179
+ text-overflow: ellipsis;
180
+ vertical-align: middle;
181
+ position: relative;
182
+ text-align: left;
183
+ z-index: getCssVar('table-index');
184
+
185
+ @include when(center) {
186
+ text-align: center;
187
+
188
+ .cell {
189
+ justify-content: center;
190
+ }
191
+ }
192
+
193
+ @include when(right) {
194
+ text-align: right;
195
+
196
+ .cell {
197
+ justify-content: flex-end;
198
+ }
199
+ }
200
+
201
+ &.gutter {
202
+ width: 15px;
203
+ border-right-width: 0;
204
+ border-bottom-width: 0;
205
+ padding: 0;
206
+ }
207
+
208
+ &.is-hidden {
209
+ > * {
210
+ visibility: hidden;
211
+ }
212
+ }
213
+
214
+ &:first-of-type {
215
+ .cell {
216
+ // padding-left: 0;
217
+ margin-left: 0;
218
+ padding-left: 0;
219
+ }
220
+ }
221
+
222
+ &:last-of-type:not(:first-of-type) {
223
+ .cell {
224
+ padding-right: 0;
225
+ // padding-left: 0;
226
+ padding-left: 12px;
227
+ }
228
+ }
229
+ }
230
+
231
+ .cell {
232
+ box-sizing: border-box;
233
+ overflow: hidden;
234
+ text-overflow: ellipsis;
235
+ overflow-wrap: break-word;
236
+ // padding: 0 12px 0 0;
237
+ // margin-left: 12px;
238
+ padding-left: 12px;
239
+ align-items: center;
240
+ // display: flex; // bunu eklersem truncate etmiyor o yüzden aşağıdaki line-height: 1 i ekledim çözüldü
241
+ // line-height: 20px; // 1
242
+ gap: 2px;
243
+ white-space: nowrap;
244
+
245
+ &.#{$namespace}-tooltip {
246
+ white-space: nowrap;
247
+ min-width: 50px;
248
+ }
249
+
250
+ .el-link {
251
+ font-size: getCssVar('table-font-size');
252
+ line-height: 16px;
253
+ display: inline;
254
+ }
255
+
256
+ .more-icon {
257
+ display: flex;
258
+ align-items: center;
259
+ justify-content: center;
260
+ color: var(--el-color-neutral-light-3);
261
+ width: 20px;
262
+ height: 20px;
263
+ // margin-left: 4px;
264
+
265
+ svg {
266
+ width: 20px;
267
+ height: 20px;
268
+ }
269
+ }
270
+ }
271
+
272
+ @each $size in (default, large, medium, small) {
273
+ @include m($size) {
274
+ font-size: map.get($table-font-size, $size);
275
+
276
+ .#{$namespace}-table__cell {
277
+ padding: map.get($table-padding, $size);
278
+ }
279
+
280
+ .cell {
281
+ padding: map.get($table-cell-padding, $size);
282
+ }
283
+ }
284
+ }
285
+
286
+ tr {
287
+ background-color: getCssVar('table-tr-bg-color');
288
+
289
+ .#{$namespace}-checkbox {
290
+ max-height: 20px;
291
+ // margin-top: -1px;
292
+
293
+ input[type='checkbox'] {
294
+ margin: 0;
295
+ }
296
+ }
297
+ }
298
+
299
+ th.#{$namespace}-table__cell.is-leaf,
300
+ td.#{$namespace}-table__cell {
301
+ border-bottom: getCssVar('table-border');
302
+ }
303
+
304
+ tr:last-of-type {
305
+ td.#{$namespace}-table__cell {
306
+ border-bottom: 1px solid transparent;
307
+ }
308
+ }
309
+
310
+ th.#{$namespace}-table__cell.is-sortable {
311
+ cursor: pointer;
312
+ }
313
+
314
+ th.#{$namespace}-table__cell {
315
+ background-color: getCssVar('table-header-bg-color');
316
+ line-height: 20px;
317
+
318
+ > .cell.highlight {
319
+ color: getCssVar('color-primary');
320
+ }
321
+
322
+ &.required > div::before {
323
+ display: inline-block;
324
+ content: '';
325
+ width: 8px;
326
+ height: 8px;
327
+ border-radius: 50%;
328
+ background: #ff4d51;
329
+ margin-right: 5px;
330
+ vertical-align: middle;
331
+ }
332
+ }
333
+
334
+ td.#{$namespace}-table__cell {
335
+ div {
336
+ box-sizing: border-box;
337
+ }
338
+
339
+ &.gutter {
340
+ width: 0;
341
+ }
342
+ }
343
+
344
+ // 拥有多级表头
345
+ @include m((group, border)) {
346
+ @include share-rule(border-pseudo) {
347
+ content: '';
348
+ position: absolute;
349
+ // It is clear table bottom border
350
+ // background-color: getCssVar('table-border-color');
351
+ z-index: calc(getCssVar('table-index') + 2);
352
+ }
353
+ }
354
+
355
+ // table--border
356
+ @include m(border) {
357
+ @include e(inner-wrapper) {
358
+ &::after {
359
+ @include extend-rule(border-pseudo);
360
+ left: 0;
361
+ top: 0;
362
+ width: 100%;
363
+ height: 1px;
364
+ z-index: calc(getCssVar('table-index') + 2);
365
+ }
366
+ }
367
+
368
+ &::before {
369
+ @include extend-rule(border-pseudo);
370
+ top: -1px;
371
+ left: 0;
372
+ width: 1px;
373
+ height: 100%;
374
+ }
375
+
376
+ &::after {
377
+ @include extend-rule(border-pseudo);
378
+ top: -1px;
379
+ right: 0;
380
+ width: 1px;
381
+ height: 100%;
382
+ }
383
+
384
+ @include e(inner-wrapper) {
385
+ border-right: none;
386
+ border-bottom: none;
387
+ }
388
+
389
+ @include e(footer-wrapper) {
390
+ position: relative;
391
+ flex-shrink: 0;
392
+ }
393
+
394
+ .#{$namespace}-table__cell {
395
+ border-right: getCssVar('table-border');
396
+ }
397
+
398
+ th.#{$namespace}-table__cell.gutter:last-of-type {
399
+ border-bottom: getCssVar('table-border');
400
+ border-bottom-width: 1px;
401
+ }
402
+
403
+ & th.#{$namespace}-table__cell {
404
+ border-bottom: getCssVar('table-border');
405
+ }
406
+ }
407
+
408
+ @include m(hidden) {
409
+ visibility: hidden;
410
+ }
411
+
412
+ @include e((header-wrapper, body-wrapper, footer-wrapper)) {
413
+ width: 100%;
414
+
415
+ tr {
416
+ td,
417
+ th {
418
+ &.#{$namespace}-table-fixed-column--left,
419
+ &.#{$namespace}-table-fixed-column--right {
420
+ position: sticky !important;
421
+ background: inherit;
422
+ z-index: calc(getCssVar('table-index') + 1);
423
+
424
+ &.is-last-column,
425
+ &.is-first-column {
426
+ &::before {
427
+ content: '';
428
+ position: absolute;
429
+ top: 0px;
430
+ width: 10px;
431
+ bottom: -1px;
432
+ overflow-x: hidden;
433
+ overflow-y: hidden;
434
+ box-shadow: none;
435
+ touch-action: none;
436
+ pointer-events: none;
437
+ }
438
+ }
439
+
440
+ &.is-first-column {
441
+ &::before {
442
+ left: -10px;
443
+ }
444
+ }
445
+
446
+ &.is-last-column {
447
+ &::before {
448
+ right: -10px;
449
+ box-shadow: none;
450
+ }
451
+ }
452
+ }
453
+
454
+ &.#{$namespace}-table__fixed-right-patch {
455
+ position: sticky !important;
456
+ z-index: calc(getCssVar('table-index') + 1);
457
+ background: #fff;
458
+ right: 0;
459
+ }
460
+ }
461
+ }
462
+ }
463
+
464
+ @include e(header-wrapper) {
465
+ flex-shrink: 0;
466
+
467
+ tr {
468
+ th {
469
+ &.#{$namespace}-table-fixed-column--left,
470
+ &.#{$namespace}-table-fixed-column--right {
471
+ background-color: getCssVar('table-header-bg-color');
472
+ }
473
+ }
474
+ }
475
+ }
476
+
477
+ @include e((header, body, footer)) {
478
+ table-layout: fixed;
479
+ border-collapse: separate;
480
+ }
481
+
482
+ @include e((header-wrapper)) {
483
+ overflow: hidden;
484
+ position: sticky;
485
+ z-index: 12;
486
+ top: 80px;
487
+
488
+ & tbody td.#{$namespace}-table__cell {
489
+ background-color: getCssVar('table-row-hover-bg-color');
490
+ color: getCssVar('table-text-color');
491
+ }
492
+ }
493
+
494
+ @include e((footer-wrapper)) {
495
+ overflow: hidden;
496
+ flex-shrink: 0;
497
+
498
+ tfoot td.#{$namespace}-table__cell {
499
+ background-color: getCssVar('table-row-hover-bg-color');
500
+ color: getCssVar('table-text-color');
501
+ }
502
+ }
503
+
504
+ @include e((header-wrapper, body-wrapper)) {
505
+ .#{$namespace}-table-column--selection {
506
+ > .cell {
507
+ display: flex;
508
+ align-items: center;
509
+ padding: 0;
510
+ overflow: visible;
511
+ margin-left: 0;
512
+ }
513
+
514
+ .#{$namespace}-checkbox {
515
+ height: unset;
516
+
517
+ .#{$namespace}-checkbox__inner {
518
+ width: 12px;
519
+ height: 12px;
520
+
521
+ &::after {
522
+ height: 6px;
523
+ left: 0;
524
+ width: 2px;
525
+ top: -1px;
526
+ }
527
+ }
528
+
529
+ .is-indeterminate {
530
+ .#{$namespace}-checkbox__inner {
531
+ &::before {
532
+ top: 3px;
533
+ }
534
+ }
535
+ }
536
+ }
537
+
538
+ & + td,
539
+ & + th {
540
+ > .cell {
541
+ // padding-left: 4px;
542
+ margin-left: 0;
543
+ padding-left: 0;
544
+ }
545
+ }
546
+ }
547
+ }
548
+
549
+ @include when(scrolling-left) {
550
+ .#{$namespace}-table-fixed-column--right.is-first-column {
551
+ &::before {
552
+ box-shadow: getCssVar('table-fixed-right-column');
553
+ }
554
+ }
555
+
556
+ &.#{$namespace}-table--border {
557
+ .#{$namespace}-table-fixed-column--left {
558
+ &.is-last-column {
559
+ &.#{$namespace}-table__cell {
560
+ border-right: getCssVar('table-border');
561
+ }
562
+ }
563
+ }
564
+ }
565
+
566
+ th.#{$namespace}-table-fixed-column--left {
567
+ background-color: getCssVar('table-header-bg-color');
568
+ }
569
+ }
570
+
571
+ @include when(scrolling-right) {
572
+ .#{$namespace}-table-fixed-column--left.is-last-column {
573
+ &::before {
574
+ box-shadow: getCssVar('table-fixed-left-column');
575
+ }
576
+ }
577
+
578
+ .#{$namespace}-table-fixed-column--left.is-last-column.#{$namespace}-table__cell {
579
+ border-right: none;
580
+ }
581
+
582
+ th.#{$namespace}-table-fixed-column--right {
583
+ background-color: getCssVar('table-header-bg-color');
584
+ }
585
+ }
586
+
587
+ @include when(scrolling-middle) {
588
+ .#{$namespace}-table-fixed-column--left.is-last-column.#{$namespace}-table__cell {
589
+ border-right: none;
590
+ }
591
+
592
+ .#{$namespace}-table-fixed-column--right.is-first-column {
593
+ &::before {
594
+ box-shadow: getCssVar('table-fixed-right-column');
595
+ }
596
+ }
597
+
598
+ .#{$namespace}-table-fixed-column--left.is-last-column {
599
+ &::before {
600
+ box-shadow: getCssVar('table-fixed-left-column');
601
+ }
602
+ }
603
+ }
604
+
605
+ @include when(scrolling-none) {
606
+ .#{$namespace}-table-fixed-column--left,
607
+ .#{$namespace}-table-fixed-column--right {
608
+ &.is-first-column,
609
+ &.is-last-column {
610
+ &::before {
611
+ box-shadow: none;
612
+ }
613
+ }
614
+ }
615
+
616
+ th.#{$namespace}-table-fixed-column--left,
617
+ th.#{$namespace}-table-fixed-column--right {
618
+ background-color: getCssVar('table-header-bg-color');
619
+ }
620
+ }
621
+
622
+ @include e(body-wrapper) {
623
+ overflow: hidden;
624
+ position: relative;
625
+ flex: 1;
626
+
627
+ .#{$namespace}-scrollbar__bar {
628
+ z-index: calc(getCssVar('table-index') + 2);
629
+ }
630
+ }
631
+
632
+ .caret-wrapper {
633
+ display: inline-flex;
634
+ flex-direction: column;
635
+ align-items: center;
636
+ vertical-align: middle;
637
+ cursor: pointer;
638
+ overflow: initial;
639
+ position: relative;
640
+ gap: 2px;
641
+ height: auto;
642
+ width: 14px;
643
+ }
644
+
645
+ .sort-caret {
646
+ width: 0;
647
+ height: 0;
648
+ border: solid 4px transparent;
649
+ left: 0;
650
+ position: relative;
651
+
652
+ &.ascending {
653
+ border-bottom-color: getCssVar('text-color', 'placeholder');
654
+ top: 0;
655
+ }
656
+
657
+ &.descending {
658
+ border-top-color: getCssVar('text-color', 'placeholder');
659
+ bottom: -1px;
660
+ }
661
+ }
662
+
663
+ .ascending .sort-caret.ascending {
664
+ border-bottom-color: getCssVar('color-primary');
665
+ }
666
+
667
+ .descending .sort-caret.descending {
668
+ border-top-color: getCssVar('color-primary');
669
+ }
670
+
671
+ .hidden-columns {
672
+ visibility: hidden;
673
+ position: absolute;
674
+ z-index: -1;
675
+ }
676
+
677
+ @include m(striped) {
678
+ & .#{$namespace}-table__body {
679
+ & tr.#{$namespace}-table__row--striped {
680
+ td.#{$namespace}-table__cell {
681
+ background: getCssVar('fill-color', 'lighter');
682
+ }
683
+
684
+ &.current-row td.#{$namespace}-table__cell {
685
+ background-color: getCssVar('table-current-row-bg-color');
686
+ }
687
+ }
688
+ }
689
+ }
690
+
691
+ @include e(body) {
692
+ tr.hover-row {
693
+ &,
694
+ &.#{$namespace}-table__row--striped {
695
+ &,
696
+ &.current-row {
697
+ > td.#{$namespace}-table__cell {
698
+ // background-color: getCssVar('table-row-hover-bg-color');
699
+ }
700
+ }
701
+ }
702
+ }
703
+
704
+ tr > td.hover-cell {
705
+ background-color: getCssVar('table-row-hover-bg-color');
706
+ }
707
+
708
+ tr.current-row > td.#{$namespace}-table__cell {
709
+ background-color: getCssVar('table-current-row-bg-color');
710
+ }
711
+ }
712
+
713
+ &.#{$namespace}-table--scrollable-y {
714
+ @include e(body-header) {
715
+ position: sticky;
716
+ top: 0;
717
+ z-index: calc(getCssVar('table-index') + 2);
718
+ }
719
+
720
+ @include e(body-footer) {
721
+ position: sticky;
722
+ bottom: 0;
723
+ z-index: calc(getCssVar('table-index') + 2);
724
+ }
725
+ }
726
+
727
+ @include e(column-resize-proxy) {
728
+ position: absolute;
729
+ left: 200px;
730
+ top: 0;
731
+ bottom: 0;
732
+ width: 0;
733
+ border-left: getCssVar('table-border');
734
+ z-index: calc(getCssVar('table-index') + 9);
735
+ }
736
+
737
+ @include e(column-filter-trigger) {
738
+ display: inline-block;
739
+ cursor: pointer;
740
+
741
+ & i {
742
+ color: getCssVar('color-info');
743
+ font-size: 14px;
744
+ vertical-align: middle;
745
+ }
746
+ }
747
+
748
+ @include e(border-left-patch) {
749
+ top: 0;
750
+ left: 0;
751
+ width: 1px;
752
+ height: 100%;
753
+ z-index: calc(getCssVar('table-index') + 2);
754
+ position: absolute;
755
+ background-color: getCssVar('table-border-color');
756
+ }
757
+
758
+ @include e(border-bottom-patch) {
759
+ left: 0;
760
+ height: 1px;
761
+ z-index: calc(getCssVar('table-index') + 2);
762
+ position: absolute;
763
+ background-color: getCssVar('table-border-color');
764
+ }
765
+
766
+ @include e(border-right-patch) {
767
+ top: 0;
768
+ height: 100%;
769
+ width: 1px;
770
+ z-index: calc(getCssVar('table-index') + 2);
771
+ position: absolute;
772
+ background-color: getCssVar('table-border-color');
773
+ }
774
+
775
+ @include m(enable-row-transition) {
776
+ .#{$namespace}-table__body td.#{$namespace}-table__cell {
777
+ transition: background-color 0.25s ease;
778
+ }
779
+ }
780
+
781
+ @include m(enable-row-hover) {
782
+ .#{$namespace}-table__body tr:hover > td.#{$namespace}-table__cell {
783
+ background-color: getCssVar('table-row-hover-bg-color');
784
+ }
785
+ }
786
+
787
+ [class*='#{$namespace}-table__row--level'] {
788
+ .#{$namespace}-table__expand-icon {
789
+ display: inline-block;
790
+ width: 12px;
791
+ line-height: 12px;
792
+ height: 12px;
793
+ text-align: center;
794
+ margin-right: 8px;
795
+ }
796
+ }
797
+
798
+ @include b(table) {
799
+ &.#{$namespace}-table--border {
800
+ .#{$namespace}-table__cell {
801
+ border-right: getCssVar('table-border');
802
+ }
803
+ }
804
+ }
805
+
806
+ &:not(.#{$namespace}-table--border) {
807
+ .#{$namespace}-table__cell {
808
+ border-right: none;
809
+ }
810
+
811
+ > .#{$namespace}-table__inner-wrapper {
812
+ &::after {
813
+ content: none;
814
+ }
815
+ }
816
+ }
817
+
818
+ &.no-border {
819
+ transform: translateX(0px);
820
+ width: 100% !important;
821
+ &::before {
822
+ box-shadow: none;
823
+ }
824
+ }
825
+
826
+ &.with-frame {
827
+ width: calc(100% - 48px) !important;
828
+ transform: translateX(24px);
829
+
830
+ &::before {
831
+ content: '';
832
+ position: absolute;
833
+ top: -7px;
834
+ left: -23px;
835
+ right: -23px;
836
+ bottom: -7px;
837
+ box-shadow: 0 0 0 1px var(--el-color-neutral-light-3);
838
+ border-radius: 6px;
839
+ }
840
+ }
841
+
842
+ &.t-border-none {
843
+ border: none;
844
+ }
845
+
846
+ &.t-border-b {
847
+ border-bottom: 1px solid getCssVar('table-border-color') !important;
848
+ }
849
+
850
+ &.t-border-t {
851
+ border-top: 1px solid getCssVar('table-border-color') !important;
852
+ }
853
+
854
+ &.t-border-y {
855
+ border-bottom: 1px solid getCssVar('table-border-color') !important;
856
+ border-top: 1px solid getCssVar('table-border-color') !important;
857
+ }
858
+ }
859
+
860
+ .el-table {
861
+ &.table-inset {
862
+ .el-table__cell {
863
+ box-shadow:
864
+ inset 0 2px 0 rgba(255, 255, 255, 0.9),
865
+ inset 0 -2px 0 rgba(255, 255, 255, 0.9);
866
+ }
867
+ }
868
+ }