物管理前端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
2.4 KiB

  1. import{c as t,b as r,a as o,u as a}from"./light-Cua7cqmF.js";import{u as d}from"./use-style-qLHIyj3D.js";import{d as s,G as p}from"./index-bVOhw2NF.js";const n=t("input-group",`
  2. display: inline-flex;
  3. width: 100%;
  4. flex-wrap: nowrap;
  5. vertical-align: bottom;
  6. `,[r(">",[t("input",[r("&:not(:last-child)",`
  7. border-top-right-radius: 0!important;
  8. border-bottom-right-radius: 0!important;
  9. `),r("&:not(:first-child)",`
  10. border-top-left-radius: 0!important;
  11. border-bottom-left-radius: 0!important;
  12. margin-left: -1px!important;
  13. `)]),t("button",[r("&:not(:last-child)",`
  14. border-top-right-radius: 0!important;
  15. border-bottom-right-radius: 0!important;
  16. `,[o("state-border, border",`
  17. border-top-right-radius: 0!important;
  18. border-bottom-right-radius: 0!important;
  19. `)]),r("&:not(:first-child)",`
  20. border-top-left-radius: 0!important;
  21. border-bottom-left-radius: 0!important;
  22. `,[o("state-border, border",`
  23. border-top-left-radius: 0!important;
  24. border-bottom-left-radius: 0!important;
  25. `)])]),r("*",[r("&:not(:last-child)",`
  26. border-top-right-radius: 0!important;
  27. border-bottom-right-radius: 0!important;
  28. `,[r(">",[t("input",`
  29. border-top-right-radius: 0!important;
  30. border-bottom-right-radius: 0!important;
  31. `),t("base-selection",[t("base-selection-label",`
  32. border-top-right-radius: 0!important;
  33. border-bottom-right-radius: 0!important;
  34. `),t("base-selection-tags",`
  35. border-top-right-radius: 0!important;
  36. border-bottom-right-radius: 0!important;
  37. `),o("box-shadow, border, state-border",`
  38. border-top-right-radius: 0!important;
  39. border-bottom-right-radius: 0!important;
  40. `)])])]),r("&:not(:first-child)",`
  41. margin-left: -1px!important;
  42. border-top-left-radius: 0!important;
  43. border-bottom-left-radius: 0!important;
  44. `,[r(">",[t("input",`
  45. border-top-left-radius: 0!important;
  46. border-bottom-left-radius: 0!important;
  47. `),t("base-selection",[t("base-selection-label",`
  48. border-top-left-radius: 0!important;
  49. border-bottom-left-radius: 0!important;
  50. `),t("base-selection-tags",`
  51. border-top-left-radius: 0!important;
  52. border-bottom-left-radius: 0!important;
  53. `),o("box-shadow, border, state-border",`
  54. border-top-left-radius: 0!important;
  55. border-bottom-left-radius: 0!important;
  56. `)])])])])])]),b={},f=s({name:"InputGroup",props:b,setup(i){const{mergedClsPrefixRef:e}=a(i);return d("-input-group",n,e),{mergedClsPrefix:e}},render(){const{mergedClsPrefix:i}=this;return p("div",{class:`${i}-input-group`},this.$slots)}});export{f as _};