color-star-custom-components 0.0.11 → 0.0.13

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.
package/es/IconSelect.mjs CHANGED
@@ -1,19 +1,19 @@
1
1
  import { w as M } from "./chunks/index.bCzIhWFw.js";
2
- import { ref as r, shallowRef as $, computed as F, watch as _, onMounted as P, createBlock as c, openBlock as l, unref as u, withCtx as i, createElementVNode as C, createVNode as I, createElementBlock as d, createSlots as R, resolveDynamicComponent as h, Fragment as V, renderList as U, normalizeClass as j, createCommentVNode as D, createTextVNode as T, markRaw as z } from "vue";
3
- import { ElPopover as q, ElInput as G, ElIcon as w } from "element-plus";
4
- import { _ as H } from "./chunks/layout.CJWd6Qr3.js";
5
- import { i as N, g as J, a as K } from "./chunks/config.DuuYqasP.js";
6
- import { _ as Q } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
7
- import './assets/IconSelect.css';const W = { class: "icon-select-content flex flex-col overflow-hidden" }, X = {
2
+ import { useCssVars as $, ref as r, shallowRef as F, computed as P, watch as x, onMounted as R, createBlock as i, openBlock as l, unref as u, withCtx as s, createElementVNode as k, createVNode as I, createElementBlock as d, createSlots as U, resolveDynamicComponent as h, Fragment as V, renderList as D, normalizeClass as j, createCommentVNode as T, createTextVNode as q, markRaw as z } from "vue";
3
+ import { ElPopover as G, ElInput as H, ElIcon as w } from "element-plus";
4
+ import { _ as J } from "./chunks/layout.CJWd6Qr3.js";
5
+ import { i as N, g as K, a as Q } from "./chunks/config.DuuYqasP.js";
6
+ import { _ as W } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
7
+ import './assets/IconSelect.css';const X = { class: "icon-select-content flex flex-col overflow-hidden" }, Y = {
8
8
  key: 0,
9
9
  class: "no-data flex items-center justify-center w-full"
10
- }, Y = {
10
+ }, Z = {
11
11
  key: 1,
12
12
  class: "icon-select-grid overflow-y-auto display-grid"
13
- }, Z = {
13
+ }, ee = {
14
14
  key: 0,
15
15
  class: "loading-text flex items-center justify-center w-full"
16
- }, ee = ["title", "onClick"], te = /* @__PURE__ */ Object.assign({
16
+ }, te = ["title", "onClick"], oe = /* @__PURE__ */ Object.assign({
17
17
  name: "IconSelect"
18
18
  }, {
19
19
  __name: "layout",
@@ -40,7 +40,7 @@ import './assets/IconSelect.css';const W = { class: "icon-select-content flex fl
40
40
  library: {
41
41
  type: String,
42
42
  default: N.lingyun,
43
- validator: (s) => Object.values(N).includes(s)
43
+ validator: (n) => Object.values(N).includes(n)
44
44
  },
45
45
  // 自定义搜索图标组件
46
46
  iconSearch: {
@@ -56,12 +56,19 @@ import './assets/IconSelect.css';const W = { class: "icon-select-content flex fl
56
56
  iconEmpty: {
57
57
  type: Object,
58
58
  default: null
59
+ },
60
+ iconColor: {
61
+ type: String,
62
+ default: ""
59
63
  }
60
64
  },
61
65
  emits: ["update:modelValue"],
62
- setup(s, { emit: A }) {
63
- const n = s, E = A, b = r(!1), v = r(""), a = r(n.modelValue), m = r(null), p = r([]), g = r(!1), f = $({ IconSearch: null, IconAdd: null }), x = async (e) => {
64
- const t = e === "search" ? n.iconSearch : n.iconAdd;
66
+ setup(n, { emit: A }) {
67
+ $((e) => ({
68
+ v051e54a2: n.iconColor
69
+ }));
70
+ const a = n, E = A, b = r(!1), v = r(""), c = r(a.modelValue), m = r(null), p = r([]), g = r(!1), f = F({ IconSearch: null, IconAdd: null }), S = async (e) => {
71
+ const t = e === "search" ? a.iconSearch : a.iconAdd;
65
72
  if (t)
66
73
  return t;
67
74
  try {
@@ -71,17 +78,17 @@ import './assets/IconSelect.css';const W = { class: "icon-select-content flex fl
71
78
  }
72
79
  }, L = async () => {
73
80
  const [e, t] = await Promise.all([
74
- x("search"),
75
- x("add")
81
+ S("search"),
82
+ S("add")
76
83
  ]);
77
84
  return {
78
85
  IconSearch: e,
79
86
  IconAdd: t
80
87
  };
81
- }, S = async () => {
88
+ }, _ = async () => {
82
89
  g.value = !0;
83
90
  try {
84
- const e = await K(n.library);
91
+ const e = await Q(a.library);
85
92
  p.value = Object.entries(e).filter(([t]) => t.toLowerCase() && !["default", "icons"].includes(t)).map(([t, o]) => ({
86
93
  name: t,
87
94
  component: z(o)
@@ -91,86 +98,86 @@ import './assets/IconSelect.css';const W = { class: "icon-select-content flex fl
91
98
  } finally {
92
99
  g.value = !1;
93
100
  }
94
- }, k = F(() => v.value ? p.value.filter(
101
+ }, C = P(() => v.value ? p.value.filter(
95
102
  (e) => e.name.toLowerCase().includes(v.value.toLowerCase())
96
103
  ) : p.value), y = async () => {
97
- if (!a.value) {
104
+ if (!c.value) {
98
105
  m.value = null;
99
106
  return;
100
107
  }
101
- const e = await J(n.library, a.value);
108
+ const e = await K(a.library, c.value);
102
109
  m.value = e ? z(e) : null;
103
110
  }, O = (e) => {
104
- a.value = e.name, E("update:modelValue", e.name), b.value = !1;
111
+ c.value = e.name, E("update:modelValue", e.name), b.value = !1;
105
112
  };
106
- return _(
107
- () => n.modelValue,
113
+ return x(
114
+ () => a.modelValue,
108
115
  (e) => {
109
- a.value = e, y();
116
+ c.value = e, y();
110
117
  }
111
- ), _(
112
- () => n.library,
118
+ ), x(
119
+ () => a.library,
113
120
  () => {
114
- S(), y();
121
+ _(), y();
115
122
  }
116
- ), _(
117
- () => a.value,
123
+ ), x(
124
+ () => c.value,
118
125
  () => {
119
126
  y();
120
127
  }
121
- ), P(async () => {
122
- f.value = await L(), S(), y();
123
- }), (e, t) => (l(), c(u(q), {
128
+ ), R(async () => {
129
+ f.value = await L(), _(), y();
130
+ }), (e, t) => (l(), i(u(G), {
124
131
  visible: b.value,
125
132
  "onUpdate:visible": t[1] || (t[1] = (o) => b.value = o),
126
133
  placement: "bottom-start",
127
- width: s.width,
134
+ width: n.width,
128
135
  trigger: "click"
129
136
  }, {
130
- reference: i(() => [
131
- C("div", {
137
+ reference: s(() => [
138
+ k("div", {
132
139
  class: j(["flex items-center pointer radius-16 justify-center w-icon-item", {
133
140
  "select-icon-box bg-fcfdff text-202434 fz-14 flex-col": !m.value,
134
- "icon-item": a.value
141
+ "icon-item": c.value
135
142
  }])
136
143
  }, [
137
- m.value ? (l(), c(u(w), {
144
+ m.value ? (l(), i(u(w), {
138
145
  key: 0,
139
- size: s.iconSize
146
+ size: n.iconSize
140
147
  }, {
141
- default: i(() => [
142
- (l(), c(h(m.value)))
148
+ default: s(() => [
149
+ (l(), i(h(m.value)))
143
150
  ]),
144
151
  _: 1
145
152
  }, 8, ["size"])) : (l(), d(V, { key: 1 }, [
146
- f.value.IconAdd ? (l(), c(u(w), {
153
+ f.value.IconAdd ? (l(), i(u(w), {
147
154
  key: 0,
148
155
  size: 16
149
156
  }, {
150
- default: i(() => [
151
- (l(), c(h(f.value.IconAdd)))
157
+ default: s(() => [
158
+ (l(), i(h(f.value.IconAdd)))
152
159
  ]),
153
160
  _: 1
154
- })) : D("", !0),
155
- t[2] || (t[2] = T(" 上传 ", -1))
161
+ })) : T("", !0),
162
+ t[2] || (t[2] = q(" 上传 ", -1))
156
163
  ], 64))
157
164
  ], 2)
158
165
  ]),
159
- default: i(() => [
160
- C("div", W, [
161
- I(u(G), {
166
+ default: s(() => [
167
+ k("div", X, [
168
+ I(u(H), {
162
169
  class: "mg-b-12",
163
170
  modelValue: v.value,
164
171
  "onUpdate:modelValue": t[0] || (t[0] = (o) => v.value = o),
165
172
  placeholder: "搜索图标",
166
173
  clearable: ""
167
- }, R({ _: 2 }, [
174
+ }, U({ _: 2 }, [
168
175
  f.value.IconSearch ? {
169
176
  name: "prefix",
170
- fn: i(() => [
177
+ fn: s(() => [
171
178
  I(u(w), { size: 16 }, {
172
- default: i(() => [
173
- (l(), c(h(f.value.IconSearch)))
179
+ default: s(() => [
180
+ (l(), i(h(f.value.IconSearch)))
174
181
  ]),
175
182
  _: 1
176
183
  })
@@ -178,33 +185,33 @@ import './assets/IconSelect.css';const W = { class: "icon-select-content flex fl
178
185
  key: "0"
179
186
  } : void 0
180
187
  ]), 1032, ["modelValue"]),
181
- k.value.length === 0 ? (l(), d("div", X, [
182
- I(H, {
183
- icon: s.iconEmpty,
188
+ C.value.length === 0 ? (l(), d("div", Y, [
189
+ I(J, {
190
+ icon: n.iconEmpty,
184
191
  text: "未找到相关图标"
185
192
  }, null, 8, ["icon"])
186
- ])) : (l(), d("div", Y, [
187
- g.value ? (l(), d("div", Z, " 加载中... ")) : (l(!0), d(V, { key: 1 }, U(k.value, (o) => (l(), d("div", {
193
+ ])) : (l(), d("div", Z, [
194
+ g.value ? (l(), d("div", ee, " 加载中... ")) : (l(!0), d(V, { key: 1 }, D(C.value, (o) => (l(), d("div", {
188
195
  key: o.name,
189
- class: j(["icon-item radius-8 justify-center items-center pointer flex w-icon-item", { active: a.value === o.name }]),
196
+ class: j(["icon-item radius-8 justify-center items-center pointer flex w-icon-item", { active: c.value === o.name }]),
190
197
  title: o.name,
191
198
  onClick: (B) => O(o)
192
199
  }, [
193
200
  I(u(w), { size: 50 }, {
194
- default: i(() => [
195
- (l(), c(h(o.component)))
201
+ default: s(() => [
202
+ (l(), i(h(o.component)))
196
203
  ]),
197
204
  _: 2
198
205
  }, 1024)
199
- ], 10, ee))), 128))
206
+ ], 10, te))), 128))
200
207
  ]))
201
208
  ])
202
209
  ]),
203
210
  _: 1
204
211
  }, 8, ["visible", "width"]));
205
212
  }
206
- }), oe = /* @__PURE__ */ Q(te, [["__scopeId", "data-v-4cc24f78"]]), re = M(oe);
213
+ }), le = /* @__PURE__ */ W(oe, [["__scopeId", "data-v-4106dcd4"]]), ue = M(le);
207
214
  export {
208
- re as IconSelect,
209
- re as default
215
+ ue as IconSelect,
216
+ ue as default
210
217
  };
package/es/TreeSelect.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { w as e } from "./chunks/index.bCzIhWFw.js";
2
- import { T as t } from "./chunks/layout.DQ1xjWEm.js";
2
+ import { T as t } from "./chunks/layout.doc0wm3z.js";
3
3
  const a = e(t);
4
4
  export {
5
5
  a as TreeSelect,
@@ -1,9 +1,9 @@
1
- import { w as V } from "./chunks/index.bCzIhWFw.js";
2
- import { useAttrs as g, ref as u, computed as k, watch as y, createBlock as P, openBlock as C, unref as n, withCtx as T, createElementVNode as o, normalizeStyle as z, toDisplayString as p, createVNode as m, mergeProps as D } from "vue";
3
- import { ElAutoResizer as L } from "element-plus";
4
- import { T as f } from "./chunks/layout.DQ1xjWEm.js";
5
- import { _ as R } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
6
- import './assets/TreeShowSelect.css';const j = { class: "left-box w-50-percent flex flex-col overflow-hidden" }, A = { class: "head-box fz-14 pd-t-8 pd-b-8 pd-l-12 pd-r-12 mg-b-8 text-202434" }, B = { class: "pd-r-12 pd-l-12 flex-1 overflow-hidden" }, E = { class: "right-box w-50-percent flex flex-col overflow-hidden" }, H = { class: "head-box fz-14 pd-t-8 pd-b-8 pd-l-12 pd-r-12 mg-b-8 text-202434" }, I = { class: "pd-r-12 pd-l-12 flex-1 selected-list overflow-hidden pd-t-8" }, O = /* @__PURE__ */ Object.assign({
1
+ import { w as P } from "./chunks/index.bCzIhWFw.js";
2
+ import { useAttrs as L, ref as m, computed as v, watch as C, createBlock as D, openBlock as z, unref as p, withCtx as h, createElementVNode as d, normalizeStyle as A, toDisplayString as _, createVNode as x, mergeProps as R, renderSlot as g } from "vue";
3
+ import { ElAutoResizer as j } from "element-plus";
4
+ import { T as N } from "./chunks/layout.doc0wm3z.js";
5
+ import { _ as B } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
6
+ import './assets/TreeShowSelect.css';const E = { class: "left-box w-50-percent flex flex-col overflow-hidden" }, H = { class: "head-box fz-14 pd-t-8 pd-b-8 pd-l-12 pd-r-12 mg-b-8 text-202434" }, I = { class: "pd-r-12 pd-l-12 flex-1 overflow-hidden" }, M = { class: "right-box w-50-percent flex flex-col overflow-hidden" }, O = { class: "head-box fz-14 pd-t-8 pd-b-8 pd-l-12 pd-r-12 mg-b-8 text-202434" }, U = { class: "pd-r-12 pd-l-12 flex-1 selected-list overflow-hidden pd-t-8" }, $ = /* @__PURE__ */ Object.assign({
7
7
  name: "TreeShowSelect"
8
8
  }, {
9
9
  __name: "layout",
@@ -12,71 +12,95 @@ import './assets/TreeShowSelect.css';const j = { class: "left-box w-50-percent f
12
12
  modelValue: {
13
13
  type: Object,
14
14
  default: () => []
15
+ },
16
+ // 右侧显示的数据,如果不传则使用选中的节点
17
+ rightTreeList: {
18
+ type: Array,
19
+ default: () => []
15
20
  }
16
21
  },
17
22
  emits: ["getCheckedNode"],
18
- setup(h, { emit: v }) {
19
- const _ = h, x = v, s = g(), d = u(), b = k(() => s.treeProps ? s.treeProps : { value: "id", label: "label", children: "children" }), i = (e) => String(e).includes("%") ? e : e + "px", t = u([]), w = (e) => {
20
- const { selectedNode: l, selectedValue: r, selectedParentNodes: a } = e;
21
- t.value = l, x("getCheckedNode", {
22
- selectedValue: r,
23
+ setup(b, { emit: w }) {
24
+ const s = b, S = w, r = L(), a = m(), y = v(() => r.treeProps ? r.treeProps : { value: "id", label: "label", children: "children" }), f = (e) => String(e).includes("%") ? e : e + "px", t = m([]), n = v(() => s.rightTreeList && s.rightTreeList.length > 0 ? s.rightTreeList : t.value), V = (e) => {
25
+ const { selectedNode: l, selectedValue: i, selectedParentNodes: c } = e;
26
+ t.value = l, S("getCheckedNode", {
27
+ selectedValue: i,
23
28
  // 选中节点的值的集合
24
29
  selectedNode: l,
25
30
  // // 选中节点的集合
26
- selectedParentNodes: a
31
+ selectedParentNodes: c
27
32
  });
28
- }, N = (e) => {
29
- d.value?.setNodeCheckStatus(e[b.value.value], !1);
30
- }, S = (e) => {
33
+ }, k = (e) => {
34
+ a.value?.setNodeCheckStatus(e[y.value.value], !1);
35
+ }, T = (e) => {
31
36
  t.value = e || [];
32
37
  };
33
- return y(
34
- () => _.modelValue,
38
+ return C(
39
+ () => s.modelValue,
35
40
  (e) => {
36
- S(e);
41
+ T(e);
37
42
  },
38
43
  { immediate: !0, deep: !0 }
39
- ), (e, l) => (C(), P(n(L), null, {
40
- default: T(({ width: r, height: a }) => [
41
- o("div", {
44
+ ), (e, l) => (z(), D(p(j), null, {
45
+ default: h(({ width: i, height: c }) => [
46
+ d("div", {
42
47
  class: "out-box flex radius-8 text-202434 overflow-hidden",
43
- style: z({
44
- width: i(r),
45
- height: i(a)
48
+ style: A({
49
+ width: f(i),
50
+ height: f(c)
46
51
  })
47
52
  }, [
48
- o("div", j, [
49
- o("div", A, p(d.value && d.value.allNodeNumbers || 0) + "项 ", 1),
50
- o("div", B, [
51
- m(f, D({
53
+ d("div", E, [
54
+ d("div", H, _(a.value && a.value.allNodeNumbers || 0) + "项 ", 1),
55
+ d("div", I, [
56
+ x(N, R({
52
57
  modelValue: t.value,
53
- "onUpdate:modelValue": l[0] || (l[0] = (c) => t.value = c),
58
+ "onUpdate:modelValue": l[0] || (l[0] = (o) => t.value = o),
54
59
  ref_key: "treeRef",
55
- ref: d
56
- }, n(s), { onHandleCheck: w }), null, 16, ["modelValue"])
60
+ ref: a
61
+ }, p(r), { onHandleCheck: V }), {
62
+ node: h(({ node: o, data: u }) => [
63
+ g(e.$slots, "node", {
64
+ node: o,
65
+ data: u,
66
+ checkedNodes: t.value
67
+ }, void 0, !0)
68
+ ]),
69
+ _: 3
70
+ }, 16, ["modelValue"])
57
71
  ])
58
72
  ]),
59
- o("div", E, [
60
- o("div", H, p(t.value.length) + "项 ", 1),
61
- o("div", I, [
62
- m(f, {
73
+ d("div", M, [
74
+ d("div", O, _(n.value.length) + "项 ", 1),
75
+ d("div", U, [
76
+ x(N, {
63
77
  modelValue: t.value,
64
- "onUpdate:modelValue": l[1] || (l[1] = (c) => t.value = c),
78
+ "onUpdate:modelValue": l[1] || (l[1] = (o) => t.value = o),
65
79
  class: "tree-select-list",
66
- treeProps: n(s).treeProps,
67
- treeList: t.value,
80
+ treeProps: p(r).treeProps,
81
+ treeList: n.value,
68
82
  isListMode: !0,
69
- onHandleDeleteNode: N
70
- }, null, 8, ["modelValue", "treeProps", "treeList"])
83
+ isMultiple: !1,
84
+ onHandleDeleteNode: k
85
+ }, {
86
+ node: h(({ node: o, data: u }) => [
87
+ g(e.$slots, "node", {
88
+ node: o,
89
+ data: u,
90
+ checkedNodes: n.value
91
+ }, void 0, !0)
92
+ ]),
93
+ _: 3
94
+ }, 8, ["modelValue", "treeProps", "treeList"])
71
95
  ])
72
96
  ])
73
97
  ], 4)
74
98
  ]),
75
- _: 1
99
+ _: 3
76
100
  }));
77
101
  }
78
- }), U = /* @__PURE__ */ R(O, [["__scopeId", "data-v-95352dab"]]), J = V(U);
102
+ }), K = /* @__PURE__ */ B($, [["__scopeId", "data-v-729a868d"]]), W = P(K);
79
103
  export {
80
- J as TreeShowSelect,
81
- J as default
104
+ W as TreeShowSelect,
105
+ W as default
82
106
  };
@@ -1 +1 @@
1
- .icon-select-content[data-v-4cc24f78]{max-height:290px}.icon-select-grid[data-v-4cc24f78]{grid-template-columns:repeat(auto-fill,minmax(70px,1fr));gap:12px}.w-icon-item[data-v-4cc24f78]{width:70px;height:70px}.icon-item[data-v-4cc24f78]{background:#e6e9f2}.icon-item.active[data-v-4cc24f78]{background:#dbdee9}.select-icon-box[data-v-4cc24f78]{border:1px dashed var(--border-color)}.bg-fcfdff[data-v-4cc24f78]{background:#fcfdff}
1
+ .icon-select-content[data-v-4106dcd4]{max-height:290px}.icon-select-grid[data-v-4106dcd4]{grid-template-columns:repeat(auto-fill,minmax(70px,1fr));gap:12px}.w-icon-item[data-v-4106dcd4]{width:70px;height:70px}.icon-item[data-v-4106dcd4]{background:#e6e9f2}.icon-item.active[data-v-4106dcd4]{background:#dbdee9}.select-icon-box[data-v-4106dcd4]{border:1px dashed var(--border-color)}.bg-fcfdff[data-v-4106dcd4]{background:#fcfdff}svg[data-v-4106dcd4]{fill:var(--v051e54a2)}
@@ -1 +1 @@
1
- .w-50-percent[data-v-95352dab]{width:50%}.out-box[data-v-95352dab]{border:1px solid var(--parting-line)}.out-box .head-box[data-v-95352dab]{border-bottom:1px solid var(--parting-line)}.out-box .left-box[data-v-95352dab]{border-right:1px solid var(--parting-line)}.out-box .selected-list .selected-item[data-v-95352dab]{height:32px}.out-box .selected-list .selected-item[data-v-95352dab]:hover{background:var(--primary-color-5)}.out-box .selected-list .virtual-scroller[data-v-95352dab]{height:100%}.tree-select-list[data-v-95352dab] .el-tree-node__content{margin-bottom:8px;padding:4px 0;height:32px;border-radius:8px}
1
+ .w-50-percent[data-v-729a868d]{width:50%}.out-box[data-v-729a868d]{border:1px solid var(--parting-line)}.out-box .head-box[data-v-729a868d]{border-bottom:1px solid var(--parting-line)}.out-box .left-box[data-v-729a868d]{border-right:1px solid var(--parting-line)}.out-box .selected-list .selected-item[data-v-729a868d]{height:32px}.out-box .selected-list .selected-item[data-v-729a868d]:hover{background:var(--primary-color-5)}.out-box .selected-list .virtual-scroller[data-v-729a868d]{height:100%}.tree-select-list[data-v-729a868d] .el-tree-node__content{margin-bottom:8px;padding:4px 0;height:32px;border-radius:8px}
@@ -1 +1 @@
1
- .el-tree .el-tree-node__content{position:relative}.element-tree-node-label-wrapper{flex:1;display:flex;align-items:center}.element-tree-node-label{font-size:12px}.element-tree-node-line-ver{display:block;position:absolute;top:0;left:0;height:100%;border-left:1px dashed #dcdfe6}.element-tree-node-line-ver.last-node-isLeaf-line{height:50%}.element-tree-node-line-hor{display:block;position:absolute;top:50%;left:0;height:0;border-bottom:1px dashed #dcdfe6}.element-tree-node-label-line{flex:1;border-top:1px dashed #dcdfe6;align-self:center;margin:0 10px}[data-v-b82736b8] .el-tree-node__label{line-height:22px}[data-v-b82736b8] .el-tree-node:focus>.el-tree-node__content{background-color:transparent}[data-v-b82736b8] .el-tree-node__content{border-radius:8px}[data-v-b82736b8] .el-tree-node__content:hover{background-color:var(--primary-color-5)}[data-v-b82736b8] .element-tree-node-label{font-size:14px}.list-item[data-v-b82736b8]{height:32px}.list-item[data-v-b82736b8]:hover{background:var(--primary-color-5)}[data-v-b82736b8] .element-tree-node-line-ver,[data-v-b82736b8] .element-tree-node-line-hor{border-color:var(--neutral-color-19)}
1
+ .el-tree .el-tree-node__content{position:relative}.element-tree-node-label-wrapper{flex:1;display:flex;align-items:center}.element-tree-node-label{font-size:12px}.element-tree-node-line-ver{display:block;position:absolute;top:0;left:0;height:100%;border-left:1px dashed #dcdfe6}.element-tree-node-line-ver.last-node-isLeaf-line{height:50%}.element-tree-node-line-hor{display:block;position:absolute;top:50%;left:0;height:0;border-bottom:1px dashed #dcdfe6}.element-tree-node-label-line{flex:1;border-top:1px dashed #dcdfe6;align-self:center;margin:0 10px}[data-v-1466e8fd] .el-tree-node__label{line-height:22px}[data-v-1466e8fd] .el-tree-node:focus>.el-tree-node__content{background-color:transparent}[data-v-1466e8fd] .el-tree-node__content{border-radius:8px}[data-v-1466e8fd] .el-tree-node__content:hover{background-color:var(--primary-color-5)}[data-v-1466e8fd] .element-tree-node-label{font-size:14px}.list-item[data-v-1466e8fd]{height:32px}.list-item[data-v-1466e8fd]:hover{background:var(--primary-color-5)}[data-v-1466e8fd] .element-tree-node-line-ver,[data-v-1466e8fd] .element-tree-node-line-hor{border-color:var(--neutral-color-19)}