@guodun/antdv 1.2.3 → 1.2.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.
@@ -4,67 +4,73 @@ function n(e) {
4
4
  return { ...e };
5
5
  }
6
6
  function r(r) {
7
- let i = t([]), a = t(/* @__PURE__ */ new Map()), o = t([]), s = t([]), c = e(() => new Set(s.value)), l = (e) => String(e[r().fieldNames.key] ?? ""), u = (e) => String(e[r().fieldNames.title] ?? ""), d = (e) => !!e && e[r().nodeTypeField] === r().buttonType, f = (e) => e?.[r().fieldNames.children] ?? [];
8
- function p(e = []) {
9
- let t = m(e);
10
- return i.value = t.nodes, o.value = t.expandableKeys, s.value = t.checkableKeys, a.value = t.nodeMap, t.nodes;
7
+ let i = t([]), a = t(/* @__PURE__ */ new Map()), o = t([]), s = t([]), c = t([]), l = e(() => new Set(s.value)), u = (e) => String(e[r().fieldNames.key] ?? ""), d = (e) => String(e[r().fieldNames.title] ?? ""), f = (e) => !!e && e[r().nodeTypeField] === r().buttonType, p = (e) => e?.[r().fieldNames.children] ?? [];
8
+ function m(e = []) {
9
+ let t = h(e);
10
+ return i.value = t.nodes, o.value = t.expandableKeys, s.value = t.checkableKeys, c.value = t.selectableKeys, a.value = t.nodeMap, t.nodes;
11
11
  }
12
- function m(e) {
13
- let t = /* @__PURE__ */ new Map(), n = [], r = [];
12
+ function h(e) {
13
+ let t = /* @__PURE__ */ new Map(), n = [], r = [], i = [];
14
14
  return {
15
- nodes: h(e, void 0, 0, t, n, r),
15
+ nodes: g(e, void 0, 0, t, n, r, i),
16
16
  expandableKeys: n,
17
17
  checkableKeys: r,
18
+ selectableKeys: i,
18
19
  nodeMap: t
19
20
  };
20
21
  }
21
- function h(e, t, i, a, o, s) {
22
- return e.map((e, c) => {
23
- let u = n(e), p = l(u), m = d(u), g = f(e), _ = g.length > 0 ? h(g, p, i + 1, a, o, s) : [];
24
- _.length > 0 && (u[r().fieldNames.children] = _, o.push(p)), m && (u.class = `pro-menu-tree-button pro-menu-tree-button-${c + 1}`, u.style = {
22
+ function g(e, t, i, a, o, s, c) {
23
+ return e.map((e, l) => {
24
+ let d = n(e), m = u(d), h = f(d);
25
+ m && c.push(m);
26
+ let _ = p(e), v = _.length > 0 ? g(_, m, i + 1, a, o, s, c) : [];
27
+ v.length > 0 && (d[r().fieldNames.children] = v, o.push(m)), h && (d.class = `pro-menu-tree-button pro-menu-tree-button-${l + 1}`, d.style = {
25
28
  display: "flex",
26
29
  flexDirection: "row",
27
30
  alignItems: "center"
28
- }, u.isLeaf = !0, u.checkable = !0), m || s.push(p);
29
- let v = _.map((e) => l(e)).filter(Boolean), y = _.flatMap((e) => {
30
- let t = l(e), n = a.get(t);
31
+ }, d.isLeaf = !0, d.checkable = !0), h || s.push(m);
32
+ let y = v.map((e) => u(e)).filter(Boolean), b = v.flatMap((e) => {
33
+ let t = u(e), n = a.get(t);
31
34
  return n ? [t, ...n.descendantIds] : [t];
32
- }), b = y.filter((e) => !a.get(e)?.isButton), x = v.filter((e) => !a.get(e)?.isButton);
33
- return a.set(p, {
34
- id: p,
35
+ }), x = b.filter((e) => !a.get(e)?.isButton), S = y.filter((e) => !a.get(e)?.isButton);
36
+ return a.set(m, {
37
+ id: m,
35
38
  parentId: t,
36
- node: u,
37
- childrenIds: v,
38
- directCheckableChildIds: x,
39
- descendantIds: y,
40
- checkableDescendantIds: b,
41
- isButton: m,
39
+ node: d,
40
+ childrenIds: y,
41
+ directCheckableChildIds: S,
42
+ descendantIds: b,
43
+ checkableDescendantIds: x,
44
+ isButton: h,
42
45
  level: i
43
- }), u;
46
+ }), d;
44
47
  });
45
48
  }
46
- function g(e) {
49
+ function _(e) {
47
50
  let t = [], n = a.value.get(e);
48
51
  for (; n?.parentId;) t.push(n.parentId), n = a.value.get(n.parentId);
49
52
  return t;
50
53
  }
51
- function _(e) {
54
+ function v(e) {
52
55
  return a.value.get(e)?.node;
53
56
  }
54
- function v(e, t = {}) {
57
+ function y(e, t = {}) {
55
58
  let n = a.value.get(e);
56
59
  return n ? t.checkableOnly ? n.checkableDescendantIds : n.descendantIds : [];
57
60
  }
58
- function y() {
61
+ function b() {
59
62
  return s.value;
60
63
  }
61
- function b() {
64
+ function x() {
65
+ return c.value;
66
+ }
67
+ function S() {
62
68
  return o.value;
63
69
  }
64
- function x(e) {
65
- return e ? b() : [];
70
+ function C(e) {
71
+ return e ? S() : [];
66
72
  }
67
- function S(e) {
73
+ function w(e) {
68
74
  let t = (e ?? "").trim();
69
75
  if (!t) return {
70
76
  keyword: "",
@@ -73,41 +79,41 @@ function r(r) {
73
79
  };
74
80
  let n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set();
75
81
  return a.value.forEach((e, i) => {
76
- u(e.node).includes(t) && (r.add(i), n.add(i), g(i).forEach((e) => n.add(e)));
82
+ d(e.node).includes(t) && (r.add(i), n.add(i), _(i).forEach((e) => n.add(e)));
77
83
  }), {
78
84
  keyword: t,
79
85
  expandedKeys: Array.from(n),
80
86
  matchedKeys: Array.from(r)
81
87
  };
82
88
  }
83
- function C(e) {
89
+ function T(e) {
84
90
  let t = (e ?? "").trim();
85
- return t ? w(i.value, t) : i.value;
91
+ return t ? E(i.value, t) : i.value;
86
92
  }
87
- function w(e, t) {
93
+ function E(e, t) {
88
94
  let { children: i } = r().fieldNames;
89
95
  return e.flatMap((e) => {
90
- let r = f(e), a = u(e).includes(t), o = a ? r : w(r, t);
96
+ let r = p(e), a = d(e).includes(t), o = a ? r : E(r, t);
91
97
  if (!a && o.length === 0) return [];
92
98
  let s = n(e);
93
99
  return s[i] = a ? r : o, [s];
94
100
  });
95
101
  }
96
- function T(e) {
102
+ function D(e) {
97
103
  let t = new Set(e.checked), n = new Set(e.halfChecked);
98
104
  return t.forEach((e) => n.delete(e)), {
99
105
  checked: Array.from(t),
100
106
  halfChecked: Array.from(n)
101
107
  };
102
108
  }
103
- function E(e) {
109
+ function O(e) {
104
110
  let t = new Set(e.filter((e) => a.value.has(e))), n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set();
105
111
  return Array.from(a.value.values()).sort((e, t) => t.level - e.level).forEach((e) => {
106
112
  if (e.isButton) {
107
113
  t.has(e.id) && n.add(e.id);
108
114
  return;
109
115
  }
110
- let i = k(e, n, r, t);
116
+ let i = j(e, n, r, t);
111
117
  if (t.has(e.id) && i !== "partial") {
112
118
  n.add(e.id), r.delete(e.id);
113
119
  return;
@@ -117,71 +123,73 @@ function r(r) {
117
123
  return;
118
124
  }
119
125
  i === "partial" && (n.delete(e.id), r.add(e.id));
120
- }), T({
126
+ }), D({
121
127
  checked: Array.from(n),
122
128
  halfChecked: Array.from(r)
123
129
  });
124
130
  }
125
- function D(e) {
131
+ function k(e) {
126
132
  return e.childrenIds.some((e) => a.value.get(e)?.isButton);
127
133
  }
128
- function O(e, t, n) {
134
+ function A(e, t, n) {
129
135
  if (!a.value.has(t)) return e;
130
136
  let r = new Set(e.checked), i = new Set(e.halfChecked), o = a.value.get(t);
131
- return (o?.isButton ? [t] : [t, ...v(t)]).forEach((e) => {
137
+ return (o?.isButton ? [t] : [t, ...y(t)]).forEach((e) => {
132
138
  n ? (r.add(e), i.delete(e)) : (r.delete(e), i.delete(e));
133
- }), j([t, ...o?.descendantIds ?? []], r, i), M(t, r, i, !n), T({
139
+ }), N([t, ...o?.descendantIds ?? []], r, i), P(t, r, i, !n), D({
134
140
  checked: Array.from(r),
135
141
  halfChecked: Array.from(i)
136
142
  });
137
143
  }
138
- function k(e, t, n, r) {
144
+ function j(e, t, n, r) {
139
145
  let i = e.childrenIds;
140
146
  if (i.length === 0) return "none";
141
147
  let a = (e) => t.has(e) || r.has(e) || n.has(e), o = i.some((e) => n.has(e));
142
148
  return i.every((e) => t.has(e) || r.has(e)) && !o ? "all" : i.some(a) ? "partial" : "none";
143
149
  }
144
- function A(e, t, n) {
150
+ function M(e, t, n) {
145
151
  let r = a.value.get(e);
146
152
  if (!r || r.isButton || r.childrenIds.length === 0) return;
147
153
  let i = t.has(e) && r.directCheckableChildIds.length === 0;
148
154
  t.delete(e), n.delete(e);
149
- let o = k(r, t, n, t);
155
+ let o = j(r, t, n, t);
150
156
  o === "all" || o === "none" && i ? t.add(e) : o === "partial" && n.add(e);
151
157
  }
152
- function j(e, t, n) {
153
- Array.from(new Set(e)).sort((e, t) => (a.value.get(t)?.level ?? 0) - (a.value.get(e)?.level ?? 0)).forEach((e) => A(e, t, n));
158
+ function N(e, t, n) {
159
+ Array.from(new Set(e)).sort((e, t) => (a.value.get(t)?.level ?? 0) - (a.value.get(e)?.level ?? 0)).forEach((e) => M(e, t, n));
154
160
  }
155
- function M(e, t, n, r = !1) {
156
- g(e).forEach((e) => {
161
+ function P(e, t, n, r = !1) {
162
+ _(e).forEach((e) => {
157
163
  let i = a.value.get(e);
158
164
  if (!i || i.isButton) return;
159
165
  t.delete(e), n.delete(e);
160
- let o = k(i, t, n, t), s = i.childrenIds.some((e) => t.has(e) || n.has(e)), c = r && D(i);
166
+ let o = j(i, t, n, t), s = i.childrenIds.some((e) => t.has(e) || n.has(e)), c = r && k(i);
161
167
  o === "all" ? t.add(e) : (o === "partial" || s || c) && n.add(e);
162
168
  });
163
169
  }
164
- function N(e) {
165
- return c.value.has(e);
170
+ function F(e) {
171
+ return l.value.has(e);
166
172
  }
167
173
  return {
168
174
  treeData: i,
169
175
  nodeMap: a,
170
176
  expandableKeys: o,
171
177
  checkableKeys: s,
172
- normalizeTree: p,
173
- getAllParentIds: g,
174
- findNodeById: _,
175
- getAllChildrenIds: v,
176
- getAllCheckableNodeIds: y,
177
- getAllExpandableKeys: b,
178
- getDefaultExpandedKeys: x,
179
- searchTree: S,
180
- getFilteredTree: C,
181
- buildCheckedStateFromIds: E,
182
- buildCheckedStateAfterToggle: O,
183
- isButton: d,
184
- isCheckableNode: N
178
+ selectableKeys: c,
179
+ normalizeTree: m,
180
+ getAllParentIds: _,
181
+ findNodeById: v,
182
+ getAllChildrenIds: y,
183
+ getAllCheckableNodeIds: b,
184
+ getAllSelectableNodeIds: x,
185
+ getAllExpandableKeys: S,
186
+ getDefaultExpandedKeys: C,
187
+ searchTree: w,
188
+ getFilteredTree: T,
189
+ buildCheckedStateFromIds: O,
190
+ buildCheckedStateAfterToggle: A,
191
+ isButton: f,
192
+ isCheckableNode: F
185
193
  };
186
194
  }
187
195
  //#endregion
@@ -9,7 +9,7 @@ var v = /* @__PURE__ */ l({
9
9
  props: i,
10
10
  emits: r,
11
11
  setup(r, { emit: i, slots: l, expose: v }) {
12
- let y = e("pro-menu-tree"), { treeData: ne, nodeMap: b, normalizeTree: re, getAllCheckableNodeIds: x, getAllExpandableKeys: ie, getDefaultExpandedKeys: S, searchTree: ae, getFilteredTree: C, buildCheckedStateFromIds: w, buildCheckedStateAfterToggle: T, isButton: E } = t(() => ({
12
+ let y = e("pro-menu-tree"), { treeData: ne, nodeMap: b, normalizeTree: re, getAllSelectableNodeIds: x, getAllExpandableKeys: ie, getDefaultExpandedKeys: S, searchTree: ae, getFilteredTree: C, buildCheckedStateFromIds: w, buildCheckedStateAfterToggle: T, isButton: E } = t(() => ({
13
13
  fieldNames: r.fieldNames,
14
14
  nodeTypeField: r.nodeTypeField,
15
15
  buttonType: r.buttonType
@@ -30,10 +30,7 @@ var v = /* @__PURE__ */ l({
30
30
  j.checked = e.checked, j.halfChecked = e.halfChecked;
31
31
  }
32
32
  function H() {
33
- I.value || (V({
34
- checked: x(),
35
- halfChecked: []
36
- }), J());
33
+ I.value || (q(x()), J());
37
34
  }
38
35
  function U() {
39
36
  if (I.value) return;
@@ -1 +1 @@
1
- let e=require(`vue`);function t(e){return{...e}}function n(n){let r=(0,e.ref)([]),i=(0,e.ref)(new Map),a=(0,e.ref)([]),o=(0,e.ref)([]),s=(0,e.computed)(()=>new Set(o.value)),c=e=>String(e[n().fieldNames.key]??``),l=e=>String(e[n().fieldNames.title]??``),u=e=>!!e&&e[n().nodeTypeField]===n().buttonType,d=e=>e?.[n().fieldNames.children]??[];function f(e=[]){let t=p(e);return r.value=t.nodes,a.value=t.expandableKeys,o.value=t.checkableKeys,i.value=t.nodeMap,t.nodes}function p(e){let t=new Map,n=[],r=[];return{nodes:m(e,void 0,0,t,n,r),expandableKeys:n,checkableKeys:r,nodeMap:t}}function m(e,r,i,a,o,s){return e.map((e,l)=>{let f=t(e),p=c(f),h=u(f),g=d(e),_=g.length>0?m(g,p,i+1,a,o,s):[];_.length>0&&(f[n().fieldNames.children]=_,o.push(p)),h&&(f.class=`pro-menu-tree-button pro-menu-tree-button-${l+1}`,f.style={display:`flex`,flexDirection:`row`,alignItems:`center`},f.isLeaf=!0,f.checkable=!0),h||s.push(p);let v=_.map(e=>c(e)).filter(Boolean),y=_.flatMap(e=>{let t=c(e),n=a.get(t);return n?[t,...n.descendantIds]:[t]}),b=y.filter(e=>!a.get(e)?.isButton),x=v.filter(e=>!a.get(e)?.isButton);return a.set(p,{id:p,parentId:r,node:f,childrenIds:v,directCheckableChildIds:x,descendantIds:y,checkableDescendantIds:b,isButton:h,level:i}),f})}function h(e){let t=[],n=i.value.get(e);for(;n?.parentId;)t.push(n.parentId),n=i.value.get(n.parentId);return t}function g(e){return i.value.get(e)?.node}function _(e,t={}){let n=i.value.get(e);return n?t.checkableOnly?n.checkableDescendantIds:n.descendantIds:[]}function v(){return o.value}function y(){return a.value}function b(e){return e?y():[]}function x(e){let t=(e??``).trim();if(!t)return{keyword:``,expandedKeys:[],matchedKeys:[]};let n=new Set,r=new Set;return i.value.forEach((e,i)=>{l(e.node).includes(t)&&(r.add(i),n.add(i),h(i).forEach(e=>n.add(e)))}),{keyword:t,expandedKeys:Array.from(n),matchedKeys:Array.from(r)}}function S(e){let t=(e??``).trim();return t?C(r.value,t):r.value}function C(e,r){let{children:i}=n().fieldNames;return e.flatMap(e=>{let n=d(e),a=l(e).includes(r),o=a?n:C(n,r);if(!a&&o.length===0)return[];let s=t(e);return s[i]=a?n:o,[s]})}function w(e){let t=new Set(e.checked),n=new Set(e.halfChecked);return t.forEach(e=>n.delete(e)),{checked:Array.from(t),halfChecked:Array.from(n)}}function T(e){let t=new Set(e.filter(e=>i.value.has(e))),n=new Set,r=new Set;return Array.from(i.value.values()).sort((e,t)=>t.level-e.level).forEach(e=>{if(e.isButton){t.has(e.id)&&n.add(e.id);return}let i=O(e,n,r,t);if(t.has(e.id)&&i!==`partial`){n.add(e.id),r.delete(e.id);return}if(i===`all`){n.add(e.id),r.delete(e.id);return}i===`partial`&&(n.delete(e.id),r.add(e.id))}),w({checked:Array.from(n),halfChecked:Array.from(r)})}function E(e){return e.childrenIds.some(e=>i.value.get(e)?.isButton)}function D(e,t,n){if(!i.value.has(t))return e;let r=new Set(e.checked),a=new Set(e.halfChecked),o=i.value.get(t);return(o?.isButton?[t]:[t,..._(t)]).forEach(e=>{n?(r.add(e),a.delete(e)):(r.delete(e),a.delete(e))}),A([t,...o?.descendantIds??[]],r,a),j(t,r,a,!n),w({checked:Array.from(r),halfChecked:Array.from(a)})}function O(e,t,n,r){let i=e.childrenIds;if(i.length===0)return`none`;let a=e=>t.has(e)||r.has(e)||n.has(e),o=i.some(e=>n.has(e));return i.every(e=>t.has(e)||r.has(e))&&!o?`all`:i.some(a)?`partial`:`none`}function k(e,t,n){let r=i.value.get(e);if(!r||r.isButton||r.childrenIds.length===0)return;let a=t.has(e)&&r.directCheckableChildIds.length===0;t.delete(e),n.delete(e);let o=O(r,t,n,t);o===`all`||o===`none`&&a?t.add(e):o===`partial`&&n.add(e)}function A(e,t,n){Array.from(new Set(e)).sort((e,t)=>(i.value.get(t)?.level??0)-(i.value.get(e)?.level??0)).forEach(e=>k(e,t,n))}function j(e,t,n,r=!1){h(e).forEach(e=>{let a=i.value.get(e);if(!a||a.isButton)return;t.delete(e),n.delete(e);let o=O(a,t,n,t),s=a.childrenIds.some(e=>t.has(e)||n.has(e)),c=r&&E(a);o===`all`?t.add(e):(o===`partial`||s||c)&&n.add(e)})}function M(e){return s.value.has(e)}return{treeData:r,nodeMap:i,expandableKeys:a,checkableKeys:o,normalizeTree:f,getAllParentIds:h,findNodeById:g,getAllChildrenIds:_,getAllCheckableNodeIds:v,getAllExpandableKeys:y,getDefaultExpandedKeys:b,searchTree:x,getFilteredTree:S,buildCheckedStateFromIds:T,buildCheckedStateAfterToggle:D,isButton:u,isCheckableNode:M}}exports.useProMenuTree=n;
1
+ let e=require(`vue`);function t(e){return{...e}}function n(n){let r=(0,e.ref)([]),i=(0,e.ref)(new Map),a=(0,e.ref)([]),o=(0,e.ref)([]),s=(0,e.ref)([]),c=(0,e.computed)(()=>new Set(o.value)),l=e=>String(e[n().fieldNames.key]??``),u=e=>String(e[n().fieldNames.title]??``),d=e=>!!e&&e[n().nodeTypeField]===n().buttonType,f=e=>e?.[n().fieldNames.children]??[];function p(e=[]){let t=m(e);return r.value=t.nodes,a.value=t.expandableKeys,o.value=t.checkableKeys,s.value=t.selectableKeys,i.value=t.nodeMap,t.nodes}function m(e){let t=new Map,n=[],r=[],i=[];return{nodes:h(e,void 0,0,t,n,r,i),expandableKeys:n,checkableKeys:r,selectableKeys:i,nodeMap:t}}function h(e,r,i,a,o,s,c){return e.map((e,u)=>{let p=t(e),m=l(p),g=d(p);m&&c.push(m);let _=f(e),v=_.length>0?h(_,m,i+1,a,o,s,c):[];v.length>0&&(p[n().fieldNames.children]=v,o.push(m)),g&&(p.class=`pro-menu-tree-button pro-menu-tree-button-${u+1}`,p.style={display:`flex`,flexDirection:`row`,alignItems:`center`},p.isLeaf=!0,p.checkable=!0),g||s.push(m);let y=v.map(e=>l(e)).filter(Boolean),b=v.flatMap(e=>{let t=l(e),n=a.get(t);return n?[t,...n.descendantIds]:[t]}),x=b.filter(e=>!a.get(e)?.isButton),S=y.filter(e=>!a.get(e)?.isButton);return a.set(m,{id:m,parentId:r,node:p,childrenIds:y,directCheckableChildIds:S,descendantIds:b,checkableDescendantIds:x,isButton:g,level:i}),p})}function g(e){let t=[],n=i.value.get(e);for(;n?.parentId;)t.push(n.parentId),n=i.value.get(n.parentId);return t}function _(e){return i.value.get(e)?.node}function v(e,t={}){let n=i.value.get(e);return n?t.checkableOnly?n.checkableDescendantIds:n.descendantIds:[]}function y(){return o.value}function b(){return s.value}function x(){return a.value}function S(e){return e?x():[]}function C(e){let t=(e??``).trim();if(!t)return{keyword:``,expandedKeys:[],matchedKeys:[]};let n=new Set,r=new Set;return i.value.forEach((e,i)=>{u(e.node).includes(t)&&(r.add(i),n.add(i),g(i).forEach(e=>n.add(e)))}),{keyword:t,expandedKeys:Array.from(n),matchedKeys:Array.from(r)}}function w(e){let t=(e??``).trim();return t?T(r.value,t):r.value}function T(e,r){let{children:i}=n().fieldNames;return e.flatMap(e=>{let n=f(e),a=u(e).includes(r),o=a?n:T(n,r);if(!a&&o.length===0)return[];let s=t(e);return s[i]=a?n:o,[s]})}function E(e){let t=new Set(e.checked),n=new Set(e.halfChecked);return t.forEach(e=>n.delete(e)),{checked:Array.from(t),halfChecked:Array.from(n)}}function D(e){let t=new Set(e.filter(e=>i.value.has(e))),n=new Set,r=new Set;return Array.from(i.value.values()).sort((e,t)=>t.level-e.level).forEach(e=>{if(e.isButton){t.has(e.id)&&n.add(e.id);return}let i=A(e,n,r,t);if(t.has(e.id)&&i!==`partial`){n.add(e.id),r.delete(e.id);return}if(i===`all`){n.add(e.id),r.delete(e.id);return}i===`partial`&&(n.delete(e.id),r.add(e.id))}),E({checked:Array.from(n),halfChecked:Array.from(r)})}function O(e){return e.childrenIds.some(e=>i.value.get(e)?.isButton)}function k(e,t,n){if(!i.value.has(t))return e;let r=new Set(e.checked),a=new Set(e.halfChecked),o=i.value.get(t);return(o?.isButton?[t]:[t,...v(t)]).forEach(e=>{n?(r.add(e),a.delete(e)):(r.delete(e),a.delete(e))}),M([t,...o?.descendantIds??[]],r,a),N(t,r,a,!n),E({checked:Array.from(r),halfChecked:Array.from(a)})}function A(e,t,n,r){let i=e.childrenIds;if(i.length===0)return`none`;let a=e=>t.has(e)||r.has(e)||n.has(e),o=i.some(e=>n.has(e));return i.every(e=>t.has(e)||r.has(e))&&!o?`all`:i.some(a)?`partial`:`none`}function j(e,t,n){let r=i.value.get(e);if(!r||r.isButton||r.childrenIds.length===0)return;let a=t.has(e)&&r.directCheckableChildIds.length===0;t.delete(e),n.delete(e);let o=A(r,t,n,t);o===`all`||o===`none`&&a?t.add(e):o===`partial`&&n.add(e)}function M(e,t,n){Array.from(new Set(e)).sort((e,t)=>(i.value.get(t)?.level??0)-(i.value.get(e)?.level??0)).forEach(e=>j(e,t,n))}function N(e,t,n,r=!1){g(e).forEach(e=>{let a=i.value.get(e);if(!a||a.isButton)return;t.delete(e),n.delete(e);let o=A(a,t,n,t),s=a.childrenIds.some(e=>t.has(e)||n.has(e)),c=r&&O(a);o===`all`?t.add(e):(o===`partial`||s||c)&&n.add(e)})}function P(e){return c.value.has(e)}return{treeData:r,nodeMap:i,expandableKeys:a,checkableKeys:o,selectableKeys:s,normalizeTree:p,getAllParentIds:g,findNodeById:_,getAllChildrenIds:v,getAllCheckableNodeIds:y,getAllSelectableNodeIds:b,getAllExpandableKeys:x,getDefaultExpandedKeys:S,searchTree:C,getFilteredTree:w,buildCheckedStateFromIds:D,buildCheckedStateAfterToggle:k,isButton:d,isCheckableNode:P}}exports.useProMenuTree=n;
@@ -1 +1 @@
1
- const e=require(`../../../hooks/use-namespace/index.cjs`),t=require(`./hooks.cjs`),n=require(`./types.cjs`);let r=require(`vue`),i=require(`ant-design-vue`);var a=(0,r.defineComponent)({name:`KProMenuTree`,props:n.proMenuTreeProps,emits:n.proMenuTreeEmits,setup(a,{emit:o,slots:s,expose:c}){let l=e.useNamespace(`pro-menu-tree`),{treeData:ee,nodeMap:u,normalizeTree:d,getAllCheckableNodeIds:f,getAllExpandableKeys:p,getDefaultExpandedKeys:m,searchTree:h,getFilteredTree:g,buildCheckedStateFromIds:_,buildCheckedStateAfterToggle:v,isButton:y}=t.useProMenuTree(()=>({fieldNames:a.fieldNames,nodeTypeField:a.nodeTypeField,buttonType:a.buttonType})),b=(0,r.ref)(!1),x=(0,r.ref)(``),S=(0,r.ref)([]),C=(0,r.ref)(!0),w=(0,r.reactive)({checked:[],halfChecked:[]}),T=!1,E=(0,r.computed)(()=>a.fieldNames.key),D=(0,r.computed)(()=>a.fieldNames.title),O=(0,r.computed)(()=>a.showExpandActions??a.showToolbar),k=(0,r.computed)(()=>a.showClearAction??a.showToolbar),A=(0,r.computed)(()=>a.isBuiltInRequest&&a.showRefreshAction),j=(0,r.computed)(()=>a.disabled),M=(0,r.computed)(()=>a.searchable||a.showToolbar||a.showStats||O.value||k.value||A.value),N=(0,r.computed)(()=>({checked:w.checked.length,halfChecked:w.halfChecked.length})),P=(0,r.computed)(()=>g(x.value));function F(){return[...w.checked,...w.halfChecked].map(e=>({id:e,selected:!0}))}function I(e){w.checked=e.checked,w.halfChecked=e.halfChecked}function L(){j.value||(I({checked:f(),halfChecked:[]}),W())}function R(){if(j.value)return;let e=new Set([...w.checked,...w.halfChecked]);H(f().filter(t=>!e.has(t))),W()}function z(){j.value||(I({checked:[],halfChecked:[]}),W())}function B(){j.value||(S.value=p(),C.value=!0)}function V(){j.value||(S.value=[],C.value=!1)}function H(e){I(_(e??[]))}function U(e,t){a.disabled||(I(v(w,String(t.node[E.value]??t.node.key??t.node.eventKey??``),t.checked)),W())}function W(){T=!0,o(`update:modelValue`,[...w.checked,...w.halfChecked]),o(`change`,F())}function G(){u.value.size!==0&&H(a.modelValue??[])}function K(e){d(e),S.value=m(a.defaultExpandAll),x.value=``,C.value=!0,H(a.modelValue??[])}async function q(){j.value||!a.isBuiltInRequest||await J()}async function J(){if(!a.http?.get){i.message.error(`请传入 http 实例`);return}b.value=!0;try{let e=await a.http.get(`${a.prefix??``}${n.MENU_TREE_URL}`);e.status===0?(K(Array.isArray(e.data)?e.data:[]),o(`ready`)):i.message.error(e.message??e.msg??`获取菜单树失败`)}catch(e){i.message.error(e instanceof Error?e.message:`获取菜单树失败`)}finally{b.value=!1}}(0,r.onMounted)(()=>{a.isBuiltInRequest?J():(K(a.treeData??[]),o(`ready`))}),(0,r.watch)(()=>a.treeData,e=>{a.isBuiltInRequest||K(e??[])}),(0,r.watch)(()=>a.modelValue,()=>{if(T){T=!1;return}G()},{deep:!0});function Y(e){if(j.value)return;let t=h(e);x.value=t.keyword,C.value=!0,S.value=t.keyword?t.expandedKeys:m(a.defaultExpandAll)}function X(e){S.value=e,C.value=!1}c({getSelectedStatusArray:F,setCheckedKeysFromIds:H,selectAll:L,selectInverse:R,clearChecked:z,expandAll:B,collapseAll:V,reload:q});let Z=e=>{if(!x.value)return(0,r.createVNode)(`span`,{class:l.e(`title`)},[e],2);let t=e.indexOf(x.value);return t===-1?(0,r.createVNode)(`span`,{class:l.e(`title`)},[e],2):(0,r.createVNode)(`span`,{class:l.e(`title`)},[e.substring(0,t),(0,r.createVNode)(`span`,{class:l.e(`keyword`)},[e.substring(t,t+x.value.length)],2),e.substring(t+x.value.length)],2)},Q=e=>{let t=y(e),n=String(e[D.value]??``),i=e[a.iconField];return(0,r.createVNode)(`div`,{class:[l.e(`node`),t?`pro-menu-tree-button`:``]},[(0,r.createVNode)(`div`,{class:l.e(`node-inner`)},[!t&&s.icon?s.icon({node:e,icon:i}):null,Z(n)],2)],2)},$=()=>(0,r.createVNode)(i.Tree,{treeData:P.value,fieldNames:a.fieldNames,checkedKeys:{checked:w.checked,halfChecked:w.halfChecked},expandedKeys:S.value,autoExpandParent:C.value,checkable:!0,checkStrictly:!0,disabled:a.disabled,selectable:!1,onCheck:U,onExpand:X},{title:e=>Q(e),_:1},8,[`treeData`,`fieldNames`,`checkedKeys`,`expandedKeys`,`autoExpandParent`,`checkable`,`checkStrictly`,`disabled`,`onCheck`,`onExpand`]),te=()=>a.showToolbar||k.value||O.value||A.value?(0,r.createVNode)(`div`,{class:l.e(`actions`)},[a.showToolbar&&(0,r.createVNode)(r.Fragment,null,[(0,r.createVNode)(i.Button,{size:`small`,disabled:a.disabled,onClick:L},{default:()=>[(0,r.createTextVNode)(`全选`)]},8,[`disabled`,`onClick`]),(0,r.createVNode)(i.Button,{size:`small`,disabled:a.disabled,onClick:R},{default:()=>[(0,r.createTextVNode)(`反选`)]},8,[`disabled`,`onClick`])]),k.value&&(0,r.createVNode)(i.Button,{size:`small`,disabled:a.disabled,onClick:z},{default:()=>[(0,r.createTextVNode)(`清空`)]},8,[`disabled`,`onClick`]),O.value&&(0,r.createVNode)(r.Fragment,null,[(0,r.createVNode)(i.Button,{size:`small`,disabled:j.value,onClick:B},{default:()=>[(0,r.createTextVNode)(`展开全部`)]},8,[`disabled`,`onClick`]),(0,r.createVNode)(i.Button,{size:`small`,disabled:j.value,onClick:V},{default:()=>[(0,r.createTextVNode)(`收起全部`)]},8,[`disabled`,`onClick`])]),A.value&&(0,r.createVNode)(i.Button,{size:`small`,disabled:j.value,loading:b.value,onClick:q},{default:()=>[(0,r.createTextVNode)(`刷新`)]},8,[`disabled`,`loading`,`onClick`])],2):null;return()=>(0,r.createVNode)(`div`,{class:l.b()},[M.value&&(0,r.createVNode)(`div`,{class:l.e(`toolbar`)},[(0,r.createVNode)(`div`,{class:l.e(`tools`)},[a.searchable&&(0,r.createVNode)(i.InputSearch,{class:l.e(`search`),value:x.value,placeholder:`请输入菜单名称`,allowClear:!0,disabled:j.value,onSearch:Y,onChange:e=>Y(e.target?.value??``)},null,8,[`class`,`value`,`allowClear`,`disabled`,`onSearch`,`onChange`]),a.showStats&&(0,r.createVNode)(`span`,{class:l.e(`stats`)},[(0,r.createTextVNode)(`已选 `),N.value.checked,(0,r.createTextVNode)(` 项 / 半选 `),N.value.halfChecked,(0,r.createTextVNode)(` 项`)],2)],2),te()],2),(0,r.createVNode)(i.Spin,{spinning:b.value},{default:()=>[(0,r.createVNode)(`div`,{class:l.e(`body`)},[P.value.length>0?$():(0,r.createVNode)(i.Empty,{image:i.Empty.PRESENTED_IMAGE_SIMPLE,description:`暂无数据`},null,8,[`image`])],2)]},8,[`spinning`])],2)}});exports.default=a;
1
+ const e=require(`../../../hooks/use-namespace/index.cjs`),t=require(`./hooks.cjs`),n=require(`./types.cjs`);let r=require(`vue`),i=require(`ant-design-vue`);var a=(0,r.defineComponent)({name:`KProMenuTree`,props:n.proMenuTreeProps,emits:n.proMenuTreeEmits,setup(a,{emit:o,slots:s,expose:c}){let l=e.useNamespace(`pro-menu-tree`),{treeData:ee,nodeMap:u,normalizeTree:d,getAllSelectableNodeIds:f,getAllExpandableKeys:p,getDefaultExpandedKeys:m,searchTree:h,getFilteredTree:g,buildCheckedStateFromIds:_,buildCheckedStateAfterToggle:v,isButton:y}=t.useProMenuTree(()=>({fieldNames:a.fieldNames,nodeTypeField:a.nodeTypeField,buttonType:a.buttonType})),b=(0,r.ref)(!1),x=(0,r.ref)(``),S=(0,r.ref)([]),C=(0,r.ref)(!0),w=(0,r.reactive)({checked:[],halfChecked:[]}),T=!1,E=(0,r.computed)(()=>a.fieldNames.key),D=(0,r.computed)(()=>a.fieldNames.title),O=(0,r.computed)(()=>a.showExpandActions??a.showToolbar),k=(0,r.computed)(()=>a.showClearAction??a.showToolbar),A=(0,r.computed)(()=>a.isBuiltInRequest&&a.showRefreshAction),j=(0,r.computed)(()=>a.disabled),M=(0,r.computed)(()=>a.searchable||a.showToolbar||a.showStats||O.value||k.value||A.value),N=(0,r.computed)(()=>({checked:w.checked.length,halfChecked:w.halfChecked.length})),P=(0,r.computed)(()=>g(x.value));function F(){return[...w.checked,...w.halfChecked].map(e=>({id:e,selected:!0}))}function I(e){w.checked=e.checked,w.halfChecked=e.halfChecked}function L(){j.value||(H(f()),W())}function R(){if(j.value)return;let e=new Set([...w.checked,...w.halfChecked]);H(f().filter(t=>!e.has(t))),W()}function z(){j.value||(I({checked:[],halfChecked:[]}),W())}function B(){j.value||(S.value=p(),C.value=!0)}function V(){j.value||(S.value=[],C.value=!1)}function H(e){I(_(e??[]))}function U(e,t){a.disabled||(I(v(w,String(t.node[E.value]??t.node.key??t.node.eventKey??``),t.checked)),W())}function W(){T=!0,o(`update:modelValue`,[...w.checked,...w.halfChecked]),o(`change`,F())}function G(){u.value.size!==0&&H(a.modelValue??[])}function K(e){d(e),S.value=m(a.defaultExpandAll),x.value=``,C.value=!0,H(a.modelValue??[])}async function q(){j.value||!a.isBuiltInRequest||await J()}async function J(){if(!a.http?.get){i.message.error(`请传入 http 实例`);return}b.value=!0;try{let e=await a.http.get(`${a.prefix??``}${n.MENU_TREE_URL}`);e.status===0?(K(Array.isArray(e.data)?e.data:[]),o(`ready`)):i.message.error(e.message??e.msg??`获取菜单树失败`)}catch(e){i.message.error(e instanceof Error?e.message:`获取菜单树失败`)}finally{b.value=!1}}(0,r.onMounted)(()=>{a.isBuiltInRequest?J():(K(a.treeData??[]),o(`ready`))}),(0,r.watch)(()=>a.treeData,e=>{a.isBuiltInRequest||K(e??[])}),(0,r.watch)(()=>a.modelValue,()=>{if(T){T=!1;return}G()},{deep:!0});function Y(e){if(j.value)return;let t=h(e);x.value=t.keyword,C.value=!0,S.value=t.keyword?t.expandedKeys:m(a.defaultExpandAll)}function X(e){S.value=e,C.value=!1}c({getSelectedStatusArray:F,setCheckedKeysFromIds:H,selectAll:L,selectInverse:R,clearChecked:z,expandAll:B,collapseAll:V,reload:q});let Z=e=>{if(!x.value)return(0,r.createVNode)(`span`,{class:l.e(`title`)},[e],2);let t=e.indexOf(x.value);return t===-1?(0,r.createVNode)(`span`,{class:l.e(`title`)},[e],2):(0,r.createVNode)(`span`,{class:l.e(`title`)},[e.substring(0,t),(0,r.createVNode)(`span`,{class:l.e(`keyword`)},[e.substring(t,t+x.value.length)],2),e.substring(t+x.value.length)],2)},Q=e=>{let t=y(e),n=String(e[D.value]??``),i=e[a.iconField];return(0,r.createVNode)(`div`,{class:[l.e(`node`),t?`pro-menu-tree-button`:``]},[(0,r.createVNode)(`div`,{class:l.e(`node-inner`)},[!t&&s.icon?s.icon({node:e,icon:i}):null,Z(n)],2)],2)},$=()=>(0,r.createVNode)(i.Tree,{treeData:P.value,fieldNames:a.fieldNames,checkedKeys:{checked:w.checked,halfChecked:w.halfChecked},expandedKeys:S.value,autoExpandParent:C.value,checkable:!0,checkStrictly:!0,disabled:a.disabled,selectable:!1,onCheck:U,onExpand:X},{title:e=>Q(e),_:1},8,[`treeData`,`fieldNames`,`checkedKeys`,`expandedKeys`,`autoExpandParent`,`checkable`,`checkStrictly`,`disabled`,`onCheck`,`onExpand`]),te=()=>a.showToolbar||k.value||O.value||A.value?(0,r.createVNode)(`div`,{class:l.e(`actions`)},[a.showToolbar&&(0,r.createVNode)(r.Fragment,null,[(0,r.createVNode)(i.Button,{size:`small`,disabled:a.disabled,onClick:L},{default:()=>[(0,r.createTextVNode)(`全选`)]},8,[`disabled`,`onClick`]),(0,r.createVNode)(i.Button,{size:`small`,disabled:a.disabled,onClick:R},{default:()=>[(0,r.createTextVNode)(`反选`)]},8,[`disabled`,`onClick`])]),k.value&&(0,r.createVNode)(i.Button,{size:`small`,disabled:a.disabled,onClick:z},{default:()=>[(0,r.createTextVNode)(`清空`)]},8,[`disabled`,`onClick`]),O.value&&(0,r.createVNode)(r.Fragment,null,[(0,r.createVNode)(i.Button,{size:`small`,disabled:j.value,onClick:B},{default:()=>[(0,r.createTextVNode)(`展开全部`)]},8,[`disabled`,`onClick`]),(0,r.createVNode)(i.Button,{size:`small`,disabled:j.value,onClick:V},{default:()=>[(0,r.createTextVNode)(`收起全部`)]},8,[`disabled`,`onClick`])]),A.value&&(0,r.createVNode)(i.Button,{size:`small`,disabled:j.value,loading:b.value,onClick:q},{default:()=>[(0,r.createTextVNode)(`刷新`)]},8,[`disabled`,`loading`,`onClick`])],2):null;return()=>(0,r.createVNode)(`div`,{class:l.b()},[M.value&&(0,r.createVNode)(`div`,{class:l.e(`toolbar`)},[(0,r.createVNode)(`div`,{class:l.e(`tools`)},[a.searchable&&(0,r.createVNode)(i.InputSearch,{class:l.e(`search`),value:x.value,placeholder:`请输入菜单名称`,allowClear:!0,disabled:j.value,onSearch:Y,onChange:e=>Y(e.target?.value??``)},null,8,[`class`,`value`,`allowClear`,`disabled`,`onSearch`,`onChange`]),a.showStats&&(0,r.createVNode)(`span`,{class:l.e(`stats`)},[(0,r.createTextVNode)(`已选 `),N.value.checked,(0,r.createTextVNode)(` 项 / 半选 `),N.value.halfChecked,(0,r.createTextVNode)(` 项`)],2)],2),te()],2),(0,r.createVNode)(i.Spin,{spinning:b.value},{default:()=>[(0,r.createVNode)(`div`,{class:l.e(`body`)},[P.value.length>0?$():(0,r.createVNode)(i.Empty,{image:i.Empty.PRESENTED_IMAGE_SIMPLE,description:`暂无数据`},null,8,[`image`])],2)]},8,[`spinning`])],2)}});exports.default=a;
@@ -1 +1 @@
1
- @font-face{font-family:gd-ant-iconfont;src:url(./fonts/iconfont.woff2?t=82622)format("woff2"),url(./fonts/iconfont.woff?t=52996)format("woff"),url(./fonts/iconfont.ttf?t=53115)format("truetype")}.gd-ant-icon{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:16px;font-style:normal;font-family:gd-ant-iconfont!important}.icon-gd-ant-xinzeng:before{content:""}.icon-gd-ant-guanbi:before{content:"𐈔"}.icon-gd-ant-sync:before{content:""}.icon-gd-ant-tupianjiazaishibai:before{content:""}.icon-gd-ant-double-left:before{content:""}.icon-gd-ant-double-right:before{content:""}.icon-gd-ant-question-circle:before{content:""}.icon-gd-ant-sound:before{content:""}.icon-gd-ant-code:before{content:""}.icon-gd-ant-desktop:before{content:""}.icon-gd-ant-delete1:before{content:""}.icon-gd-ant-mobile:before{content:""}.icon-gd-ant-qiye:before{content:""}.icon-gd-ant-bumen:before{content:""}.icon-gd-ant-a-jiaoseguanli2:before{content:""}.icon-gd-ant-shanchu:before{content:""}.icon-gd-ant-zuzhijiagou:before{content:""}.icon-gd-ant-search:before{content:""}.icon-gd-ant-calendar:before{content:""}.icon-gd-ant-carry-out:before{content:""}.icon-gd-ant-file-add:before{content:""}.icon-gd-ant-form:before{content:""}.icon-gd-ant-close-circle:before{content:""}.icon-gd-ant-close-circle-o:before{content:""}.icon-gd-ant-vertical-align-bottom:before{content:""}.icon-gd-ant-merge-cells:before{content:""}.icon-gd-ant-split-cells:before{content:""}.icon-gd-ant-down:before{content:""}.icon-gd-ant-left:before{content:""}.icon-gd-ant-right:before{content:""}.icon-gd-ant-up:before{content:""}.icon-gd-ant-plus:before{content:""}.icon-gd-ant-xsl:before{content:""}.icon-gd-ant-word:before{content:""}.icon-gd-ant-eye:before{content:""}.icon-gd-ant-PDF:before{content:""}.icon-gd-ant-delete:before{content:""}.icon-gd-ant-upload-icon:before{content:""}.icon-gd-ant-title-icon:before{content:""}
1
+ @font-face{font-family:gd-ant-iconfont;src:url(./fonts/iconfont.woff2?t=32637)format("woff2"),url(./fonts/iconfont.woff?t=71834)format("woff"),url(./fonts/iconfont.ttf?t=54593)format("truetype")}.gd-ant-icon{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:16px;font-style:normal;font-family:gd-ant-iconfont!important}.icon-gd-ant-xinzeng:before{content:""}.icon-gd-ant-guanbi:before{content:"𐈔"}.icon-gd-ant-sync:before{content:""}.icon-gd-ant-tupianjiazaishibai:before{content:""}.icon-gd-ant-double-left:before{content:""}.icon-gd-ant-double-right:before{content:""}.icon-gd-ant-question-circle:before{content:""}.icon-gd-ant-sound:before{content:""}.icon-gd-ant-code:before{content:""}.icon-gd-ant-desktop:before{content:""}.icon-gd-ant-delete1:before{content:""}.icon-gd-ant-mobile:before{content:""}.icon-gd-ant-qiye:before{content:""}.icon-gd-ant-bumen:before{content:""}.icon-gd-ant-a-jiaoseguanli2:before{content:""}.icon-gd-ant-shanchu:before{content:""}.icon-gd-ant-zuzhijiagou:before{content:""}.icon-gd-ant-search:before{content:""}.icon-gd-ant-calendar:before{content:""}.icon-gd-ant-carry-out:before{content:""}.icon-gd-ant-file-add:before{content:""}.icon-gd-ant-form:before{content:""}.icon-gd-ant-close-circle:before{content:""}.icon-gd-ant-close-circle-o:before{content:""}.icon-gd-ant-vertical-align-bottom:before{content:""}.icon-gd-ant-merge-cells:before{content:""}.icon-gd-ant-split-cells:before{content:""}.icon-gd-ant-down:before{content:""}.icon-gd-ant-left:before{content:""}.icon-gd-ant-right:before{content:""}.icon-gd-ant-up:before{content:""}.icon-gd-ant-plus:before{content:""}.icon-gd-ant-xsl:before{content:""}.icon-gd-ant-word:before{content:""}.icon-gd-ant-eye:before{content:""}.icon-gd-ant-PDF:before{content:""}.icon-gd-ant-delete:before{content:""}.icon-gd-ant-upload-icon:before{content:""}.icon-gd-ant-title-icon:before{content:""}
@@ -1 +1 @@
1
- :root{--gd-color-white:#fff;--gd-color-primary:#1161ff;--gd-color-primary-light-3:#5890ff;--gd-color-primary-light-5:#88b0ff;--gd-color-primary-light-7:#b8d0ff;--gd-color-primary-light-8:#cfdfff;--gd-color-primary-light-9:#e7efff;--gd-color-success:#67c23a;--gd-color-success-light-3:#95d475;--gd-color-success-light-5:#b3e19d;--gd-color-success-light-7:#d1edc4;--gd-color-success-light-8:#e1f3d8;--gd-color-success-light-9:#f0f9eb;--gd-color-warning:#e6a23c;--gd-color-warning-light-3:#eebe77;--gd-color-warning-light-5:#f3d19e;--gd-color-warning-light-7:#f8e3c5;--gd-color-warning-light-8:#faecd8;--gd-color-warning-light-9:#fdf6ec;--gd-color-danger:#f56c6c;--gd-color-danger-light-3:#f89898;--gd-color-danger-light-5:#fab6b6;--gd-color-danger-light-7:#fcd3d3;--gd-color-danger-light-8:#fde2e2;--gd-color-danger-light-9:#fef0f0;--gd-color-error:#f56c6c;--gd-color-error-light-3:#f89898;--gd-color-error-light-5:#fab6b6;--gd-color-error-light-7:#fcd3d3;--gd-color-error-light-8:#fde2e2;--gd-color-error-light-9:#fef0f0;--gd-color-info:#909399;--gd-color-info-light-3:#b1b3b8;--gd-color-info-light-5:#c8c9cc;--gd-color-info-light-7:#dedfe0;--gd-color-info-light-8:#e9e9eb;--gd-color-info-light-9:#f4f4f5;--king-transition-duration:.3s}.gd-ant-scrollbar{z-index:auto;width:100%;height:100%;position:relative;overflow:hidden}.gd-ant-scrollbar .gd-ant-scrollbar-container{width:100%;height:100%;min-height:inherit;max-height:inherit;scrollbar-width:none;overflow:scroll}.gd-ant-scrollbar .gd-ant-scrollbar-content{width:fit-content}.gd-ant-scrollbar .gd-ant-scrollbar-rail{position:absolute}.gd-ant-scrollbar .gd-ant-scrollbar-rail--vertical{width:5px;top:2px;bottom:2px;right:4px}.gd-ant-scrollbar .gd-ant-scrollbar-rail--horizontal{height:5px;bottom:2px;left:2px;right:2px}.gd-ant-scrollbar .gd-ant-scrollbar-rail__scrollbar--vertical{cursor:pointer;background:#00000040;border-radius:5px;width:100%;position:absolute}.gd-ant-scrollbar .gd-ant-scrollbar-rail__scrollbar--horizontal{cursor:pointer;background:#00000040;border-radius:5px;height:100%;position:absolute}.v-vl-items{width:fit-content}.gd-ant-scale-virtual-list{width:100%;height:100%}.gd-ant-scale-virtual-list .gd-ant-scale-virtual-list-container{margin:0 auto;position:relative}.gd-ant-scale-virtual-list .gd-ant-scale-vittual-wrapper{width:fit-content;margin:0 auto;position:absolute;left:50%}.gd-ant-pro-title{border-bottom:1px solid #ccc;align-items:center;font-weight:500;display:flex}.gd-ant-pro-title .icon{margin-right:10px}.gd-ant-pro-title--unborder{border:none}.gd-ant-pro-modal .ant-modal-content{padding:0}.gd-ant-pro-modal .ant-modal-header{background:#f1f7ff;border-bottom:1px solid #e6e8ea;justify-content:space-between;align-items:center;height:56px;padding-left:32px;padding-right:24px;display:flex}.gd-ant-pro-modal .ant-modal-body{max-height:80vh;padding:10px 20px;overflow:auto}.gd-ant-pro-modal .ant-modal-footer{border-top:1px solid #e6e8ea;justify-content:flex-end;align-items:center;height:56px;padding:0 16px;display:flex}.gd-ant-pro-modal .ant-modal-title{flex:1}.gd-ant-pro-modal .pro-modal-title{cursor:move;width:100%}.gd-ant-pro-area-select{width:100%}@font-face{font-family:gd-ant-iconfont;src:url(./fonts/iconfont.woff2?t=62276)format("woff2"),url(./fonts/iconfont.woff?t=84868)format("woff"),url(./fonts/iconfont.ttf?t=79524)format("truetype")}.gd-ant-icon{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:16px;font-style:normal;font-family:gd-ant-iconfont!important}.icon-gd-ant-xinzeng:before{content:""}.icon-gd-ant-guanbi:before{content:"𐈔"}.icon-gd-ant-sync:before{content:""}.icon-gd-ant-tupianjiazaishibai:before{content:""}.icon-gd-ant-double-left:before{content:""}.icon-gd-ant-double-right:before{content:""}.icon-gd-ant-question-circle:before{content:""}.icon-gd-ant-sound:before{content:""}.icon-gd-ant-code:before{content:""}.icon-gd-ant-desktop:before{content:""}.icon-gd-ant-delete1:before{content:""}.icon-gd-ant-mobile:before{content:""}.icon-gd-ant-qiye:before{content:""}.icon-gd-ant-bumen:before{content:""}.icon-gd-ant-a-jiaoseguanli2:before{content:""}.icon-gd-ant-shanchu:before{content:""}.icon-gd-ant-zuzhijiagou:before{content:""}.icon-gd-ant-search:before{content:""}.icon-gd-ant-calendar:before{content:""}.icon-gd-ant-carry-out:before{content:""}.icon-gd-ant-file-add:before{content:""}.icon-gd-ant-form:before{content:""}.icon-gd-ant-close-circle:before{content:""}.icon-gd-ant-close-circle-o:before{content:""}.icon-gd-ant-vertical-align-bottom:before{content:""}.icon-gd-ant-merge-cells:before{content:""}.icon-gd-ant-split-cells:before{content:""}.icon-gd-ant-down:before{content:""}.icon-gd-ant-left:before{content:""}.icon-gd-ant-right:before{content:""}.icon-gd-ant-up:before{content:""}.icon-gd-ant-plus:before{content:""}.icon-gd-ant-xsl:before{content:""}.icon-gd-ant-word:before{content:""}.icon-gd-ant-eye:before{content:""}.icon-gd-ant-PDF:before{content:""}.icon-gd-ant-delete:before{content:""}.icon-gd-ant-upload-icon:before{content:""}.icon-gd-ant-title-icon:before{content:""}.gd-ant-cover-scrollbar{width:100%;height:100%;position:relative;overflow:hidden}.gd-ant-cover-scrollbar .gd-ant-cover-scrollbar-container{scrollbar-width:none;width:100%;height:100%;overflow:scroll}.gd-ant-cover-scrollbar .gd-ant-cover-scrollbar-rail{width:5px;position:absolute;top:2px;bottom:2px}.gd-ant-cover-scrollbar .gd-ant-cover-scrollbar-rail__scrollbar--vertical{cursor:pointer;border-radius:5px;width:100%;position:absolute}.gd-ant-pro-overlay{cursor:pointer;display:inline-block;position:relative}.gd-ant-pro-overlay .gd-ant-pro-overlay__content{opacity:0;justify-content:center;align-items:center;transition:all .2s linear;display:flex;position:absolute;inset:0}.gd-ant-pro-overlay:hover .gd-ant-pro-overlay__content{opacity:1;background:#00000080}.gd-ant-plus-upload .gd-ant-plus-upload__icon-plus{font-size:32px!important}.gd-ant-plus-upload .gd-ant-plus-upload__icon-eye,.gd-ant-plus-upload .gd-ant-plus-upload__icon-delete{margin-right:5px;color:#fff!important;font-size:16px!important}.gd-ant-plus-upload .gd-ant-plus-upload__file-item{border:1px solid #cbcdd3;border-radius:3px;justify-content:center;align-items:center;width:102px;height:102px;display:flex}.gd-ant-pro-tag-group{color:#3b3b3b;border:1px solid #d9d9d9;border-radius:3px;align-items:center;width:100%;height:30px;padding:5px;display:flex}.gd-ant-pro-tag-group .gd-ant-pro-tag-group__tags{scrollbar-width:none;flex:1;align-items:center;gap:5px;height:100%;display:flex;overflow-x:hidden}.gd-ant-pro-tag-group .gd-ant-pro-tag-group__count{text-align:center;white-space:nowrap;text-overflow:ellipsis;background:#d9d9d9;height:100%;margin-left:5px;padding:0 5px;line-height:normal;overflow:hidden}.gd-ant-pro-tag-group .gd-ant-pro-tag-group__item{visibility:hidden;background:#d9d9d9;flex-shrink:0;padding:0 5px;line-height:normal}.gd-ant-pro-tag-group .gd-ant-pro-tag-group__item:hover .gd-ant-pro-tag-group__remove-icon{background:#a3a3a3;border-radius:50%;color:#fff!important}.gd-ant-pro-tag-group .gd-ant-pro-tag-group__remove-icon{cursor:pointer;margin-left:2px;padding:1px}.gd-ant-pro-tag-group .gd-ant-pro-tag-group__visible{visibility:inherit}.gd-ant-role-selector-modal{border:1px solid #e5e5e5;border-radius:4px;width:100%;height:300px;display:flex;overflow:hidden}.gd-ant-role-selector-modal .gd-ant-role-selector__role-item{cursor:pointer;justify-content:space-between;align-items:center;width:100%;height:40px;display:flex}.gd-ant-role-selector-modal .gd-ant-role-selector__role-item.is-active{padding:0 10px}.gd-ant-role-selector-modal .gd-ant-role-selector__role-item:hover.is-active{background-color:#f5f7fa;border-radius:4px}.gd-ant-role-selector-modal .gd-ant-role-selector__role-item .gd-ant-role-selector-role-item-label{display:flex}.gd-ant-role-selector-modal .gd-ant-role-selector__role-item .gd-ant-role-selector__label{color:#606266;padding-left:5px;font-size:14px}.gd-ant-role-selector-modal .gd-ant-role-selector__role-item .gd-ant-role-selector__role-item-del:hover .icon-gd-ant-shanchu{color:var(--gd-color-primary)!important}.gd-ant-role-selector-modal .gd-ant-role-selector-left{box-sizing:border-box;width:50%;height:300px;padding:15px}.gd-ant-role-selector-modal .gd-ant-role-selector-left .gd-ant-role-selector__role-list{width:100%;height:230px;margin-top:15px;overflow-y:auto}.gd-ant-role-selector-modal .gd-ant-role-selector-left .gd-ant-role-selector__role-list::-webkit-scrollbar{width:6px;height:6px}.gd-ant-role-selector-modal .gd-ant-role-selector-left .gd-ant-role-selector__role-list::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.gd-ant-role-selector-modal .gd-ant-role-selector-left .gd-ant-role-selector__role-list::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.gd-ant-role-selector-modal .gd-ant-role-selector-left .gd-ant-role-selector__role-list::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.gd-ant-role-selector-modal .gd-ant-role-selector-right{box-sizing:border-box;border-left:1px solid #e5e5e5;flex:1;height:300px;padding:15px;overflow-y:auto}.gd-ant-role-selector-modal .gd-ant-role-selector-right::-webkit-scrollbar{width:6px;height:6px}.gd-ant-role-selector-modal .gd-ant-role-selector-right::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.gd-ant-role-selector-modal .gd-ant-role-selector-right::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.gd-ant-role-selector-modal .gd-ant-role-selector-right::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.gd-ant-user-avatar{box-sizing:border-box;cursor:pointer;margin:5px;position:relative}.gd-ant-user-avatar .gd-ant-user-avatar__img{box-sizing:border-box;width:100%;height:100%;display:block}.gd-ant-user-avatar .gd-ant-user-avatar__name{color:#fff;box-sizing:border-box;border-radius:50%;justify-content:center;align-items:center;width:100%;min-width:24px;height:100%;min-height:24px;display:flex}.gd-ant-user-avatar-default{width:32px;height:32px}.gd-ant-user-avatar-default .gd-ant-user-avatar__name{font-size:12px}.gd-ant-user-avatar-small{width:24px;height:24px}.gd-ant-user-avatar-small .gd-ant-user-avatar__name{font-size:8px}.gd-ant-user-avatar-large{width:40px;height:40px}.gd-ant-user-avatar-large .gd-ant-user-avatar__name{font-size:14px}.gd-ant-dept-selector__modal-content{box-sizing:border-box;border:1px solid #e5e5e5;border-radius:4px;height:400px;display:flex}.gd-ant-dept-selector__modal-content-left{box-sizing:border-box;border-right:1px solid #e5e5e5;width:50%;height:100%;padding:12px}.gd-ant-dept-selector__modal-content-left .gd-ant-dept-selector__modal-content-left-tree{height:320px;overflow-y:auto}.gd-ant-dept-selector__modal-content-left .gd-ant-dept-selector__modal-content-left-tree::-webkit-scrollbar{width:6px;height:6px}.gd-ant-dept-selector__modal-content-left .gd-ant-dept-selector__modal-content-left-tree::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.gd-ant-dept-selector__modal-content-left .gd-ant-dept-selector__modal-content-left-tree::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.gd-ant-dept-selector__modal-content-left .gd-ant-dept-selector__modal-content-left-tree::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.gd-ant-dept-selector__modal-content-right{box-sizing:border-box;flex:1;height:100%;padding:12px;overflow-y:auto}.gd-ant-dept-selector__modal-content-right::-webkit-scrollbar{width:6px;height:6px}.gd-ant-dept-selector__modal-content-right::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.gd-ant-dept-selector__modal-content-right::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.gd-ant-dept-selector__modal-content-right::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.gd-ant-dept-selector__modal-content-right .gd-ant-dept-selector__modal-content-right-item{cursor:pointer;border-radius:4px;justify-content:space-between;align-items:center;height:40px;padding:0 12px;display:flex}.gd-ant-dept-selector__modal-content-right .gd-ant-dept-selector__modal-content-right-item:hover{background-color:#f5f7fa}.gd-ant-dept-selector__modal-content-right .gd-ant-dept-selector__modal-content-right-item .gd-ant-dept-selector__modal-content-right-item-label{align-items:center;display:flex}.gd-ant-dept-selector__modal-content-right .gd-ant-dept-selector__modal-content-right-item span{padding:0 4px}.gd-ant-dept-selector__modal-content-right .gd-ant-dept-selector__modal-content-right-item .gd-ant-dept-selector__modal-content-right-item-del:hover .icon-gd-ant-shanchu{color:var(--gd-color-primary)!important}.gd-ant-pro-user-selector{border:1px solid #e5e5e5;border-radius:4px;justify-content:center;height:300px;display:flex;overflow:hidden}.gd-ant-pro-user-selector .gd-ant-pro-user-selector-org-tree{height:200px;margin-top:16px;overflow:hidden auto}.gd-ant-pro-user-selector .gd-ant-pro-user-selector-org-tree::-webkit-scrollbar{width:6px;height:6px}.gd-ant-pro-user-selector .gd-ant-pro-user-selector-org-tree::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.gd-ant-pro-user-selector .gd-ant-pro-user-selector-org-tree::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.gd-ant-pro-user-selector .gd-ant-pro-user-selector-org-tree::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.gd-ant-pro-user-selector .gd-ant-pro-user-selector-org-tree .gd-ant-pro-user-selector-org-tree-item{box-sizing:border-box;justify-content:space-between;align-items:center;height:48px;margin:0 10px;display:flex}.gd-ant-pro-user-selector .gd-ant-pro-user-selector-org-tree .gd-ant-pro-user-selector-org-tree-item:hover{cursor:pointer;background-color:#1f232914;border-radius:6px}.gd-ant-pro-user-selector .gd-ant-pro-user-selector-org-tree .gd-ant-pro-user-selector-org-tree-item .gd-ant-pro-user-selector-org-tree-item-title{align-items:center;width:100%;height:100%;padding:0 6px;display:flex}.gd-ant-pro-user-selector .gd-ant-pro-user-selector-org-tree .gd-ant-pro-user-selector-org-tree-item .gd-ant-pro-user-selector-org-tree-item-title .gd-ant-pro-user-selector-org-tree-dept-icon{background-color:#4954e6;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.gd-ant-pro-user-selector .gd-ant-pro-user-selector-org-tree .gd-ant-pro-user-selector-org-tree-item .gd-ant-pro-user-selector-org-tree-item-title .gd-ant-pro-user-selector-org-tree-item-title-text{color:#1f2329;margin-left:10px;font-size:14px}.gd-ant-pro-user-selector .select-user-list{height:240px;margin-top:16px;overflow:hidden auto}.gd-ant-pro-user-selector .select-user-list::-webkit-scrollbar{width:6px;height:6px}.gd-ant-pro-user-selector .select-user-list::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.gd-ant-pro-user-selector .select-user-list::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.gd-ant-pro-user-selector .select-user-list::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.gd-ant-pro-user-selector .gd-ant-pro-user-selector-user-list{margin-top:10px;overflow:hidden auto}.gd-ant-pro-user-selector .gd-ant-pro-user-selector-user-item{box-sizing:border-box;align-items:center;width:calc(100% - 20px);height:48px;margin:0 10px;display:flex}.gd-ant-pro-user-selector .gd-ant-pro-user-selector-user-item:hover{cursor:pointer;background-color:#1f232914;border-radius:6px}.gd-ant-pro-user-selector .gd-ant-pro-user-selector-user-item .gd-ant-pro-user-selector-user-item-content{flex:1;align-items:center;display:flex}.gd-ant-pro-user-selector .gd-ant-pro-user-selector-user-item .gd-ant-pro-user-selector-user-item-content .gd-ant-pro-user-selector-user-item-content-tag{color:#245bdb;background-color:#3370ff33;border-radius:4px;margin-left:10px;padding-left:4px;padding-right:4px;font-size:10px}.gd-ant-pro-user-selector .gd-ant-pro-user-selector-user-item .gd-ant-pro-user-selector-user-item-content .select-user-item-icon{cursor:pointer;justify-content:center;align-items:center;width:20px;height:20px;margin-right:4px;display:flex}.gd-ant-pro-user-selector .gd-ant-pro-user-selector-user-item .gd-ant-pro-user-selector-user-item-content .select-user-item-icon:hover{background-color:#1f23291a;border-radius:6px}.gd-ant-pro-user-selector .gd-ant-pro-user-selector-user-item .gd-ant-pro-user-selector-avator{border-radius:50%;width:32px;height:32px;margin-left:10px;margin-right:10px}.gd-ant-pro-user-selector .gd-ant-pro-user-selector-content-left{box-sizing:border-box;width:50%}.gd-ant-pro-user-selector .gd-ant-pro-user-selector-content-left .gd-ant-pro-user-selector-breadcrumb{margin-top:10px}.gd-ant-pro-user-selector .gd-ant-pro-user-selector-content-right{box-sizing:border-box;border-left:1px solid #e5e5e5;width:50%;padding:16px}.gd-ant-pro-user-selector .gd-ant-pro-user-selector-content-right .gd-ant-pro-user-selector-content-right-title{color:#333;margin-bottom:10px;font-size:14px}.gd-ant-pro-user-selector .gd-ant-pro-user-selector-content-right .gd-ant-pro-user-selector-select-user-item{cursor:pointer;justify-content:space-between;align-items:center;width:100%;height:48px;padding:0 10px;display:flex}.gd-ant-pro-user-selector .gd-ant-pro-user-selector-content-right .gd-ant-pro-user-selector-select-user-item:hover{background-color:#1f232914;border-radius:6px}.gd-ant-user-selector-extermal{flex-wrap:wrap;width:100%;display:flex}.gd-ant-user-selector-extermal .gd-ant-user-selector-extermal-icon{border:1px solid var(--gd-color-primary);cursor:pointer;border-radius:100px;justify-content:center;align-items:center;width:56px;height:32px;margin-top:8px;margin-right:8px;display:flex}.gd-ant-user-selector-extermal .gd-ant-user-selector-extermal-icon:hover{transition:all .2s;box-shadow:0 0 10px #3370ff80}.gd-ant-user-selector-extermal .gd-ant-user-selector-extermal-list{flex-wrap:wrap;flex:1;display:flex}.gd-ant-user-selector-extermal .gd-ant-user-selector-extermal-list .gd-ant-user-selector-extermal-item{box-sizing:border-box;color:#1f2329;cursor:pointer;background-color:#eff0f1;border-radius:16px;align-items:center;min-width:70px;height:32px;margin-top:8px;margin-right:8px;padding:0 10px 0 4px;font-size:14px;display:flex}.gd-ant-user-selector-extermal .gd-ant-user-selector-extermal-list .gd-ant-user-selector-extermal-item__name{padding:0 4px}.gd-ant-user-selector-extermal .gd-ant-user-selector-extermal-list .icon-gd-ant-shanchu:hover{color:var(--gd-color-primary)!important}.gd-ant-pro-cell{line-height:24px;display:flex}.gd-ant-pro-cell .gd-ant-pro-cell-label{align-items:center;display:flex}.gd-ant-pro-cell .gd-ant-pro-cell-value{word-break:break-word;flex:1}.gd-ant-pro-cell.is_border{border-bottom:1px solid #e5e5e5}.gd-ant-pro-cell.is_vertical{flex-direction:column}.gd-ant-pro-cell.is_horizontal{flex-direction:row}.f-s-c{align-items:center;display:flex}.f-b-c,.aio-list-input .aio-list-input-item{justify-content:space-between;align-items:center;display:flex}.aio-list-input .aio-list-input-item .aio-list-input-icon{margin-left:12px;display:flex}.text-ellipsis,.gd-ant-pro-selector-group-content .gd-ant-pro-selector-group-right .gd-ant-select-box .gd-ant-select-box_content .gd-ant-select-box_content-item .gd-ant-select-box_content-item_name,.gd-ant-pro-selector-group-content .gd-ant-pro-selector-group-right .gd-ant-select-box .gd-ant-select-box_title .gd-ant-select-box_title_count{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.text-ellipsis-multiline{-webkit-line-clamp:2;text-overflow:ellipsis;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.gd-ant-pro-selector-group-content{box-sizing:border-box;border:1px solid #e4e5e7;border-radius:4px;width:900px;height:500px;margin:0 auto;display:flex}.gd-ant-pro-selector-group-content .gd-ant-pro-selector-group-left{box-sizing:border-box;padding:0 15px}.gd-ant-pro-selector-group-content .gd-ant-pro-selector-group-left .selector-tree{height:375px;margin-top:16px;overflow:auto}.gd-ant-pro-selector-group-content .gd-ant-pro-selector-group-left .selector-tree .tree-title{align-items:center;display:flex}.gd-ant-pro-selector-group-content .gd-ant-pro-selector-group-left .selector-tree .tree-title .tree-title_name{margin-left:4px}.gd-ant-pro-selector-group-content .gd-ant-pro-selector-group-left .type-selector-box{justify-content:space-between;width:100%;height:430px;display:flex}.gd-ant-pro-selector-group-content .gd-ant-pro-selector-group-right{box-sizing:border-box;border-left:1px solid #e4e5e7;flex:1;height:100%;padding:15px}.gd-ant-pro-selector-group-content .gd-ant-pro-selector-group-right .gd-ant-select-box{width:100%;height:100%}.gd-ant-pro-selector-group-content .gd-ant-pro-selector-group-right .gd-ant-select-box .gd-ant-select-box_title{justify-content:space-between;align-items:center;height:40px;display:flex}.gd-ant-pro-selector-group-content .gd-ant-pro-selector-group-right .gd-ant-select-box .gd-ant-select-box_content{height:calc(100% - 44px);margin-top:12px;overflow:auto}.gd-ant-pro-selector-group-content .gd-ant-pro-selector-group-right .gd-ant-select-box .gd-ant-select-box_content .gd-ant-select-box_content-item{border-radius:4px;justify-content:space-between;align-items:center;width:100%;padding:8px;transition:background-color .2s;display:flex}.gd-ant-pro-selector-group-content .gd-ant-pro-selector-group-right .gd-ant-select-box .gd-ant-select-box_content .gd-ant-select-box_content-item:hover{background-color:#f5f5f5;border-radius:4px}.gd-ant-pro-selector-group-content .gd-ant-pro-selector-group-right .gd-ant-select-box .gd-ant-select-box_content .gd-ant-select-box_content-item .gd-ant-select-box_content-item_name{color:#1f2329;font-size:14px}.gd-ant-pro-selector-group-content .gd-ant-pro-selector-group-right .gd-ant-select-box .gd-ant-select-box_content .gd-ant-select-box_content-item .gd-ant-select-box_content-item_close{cursor:pointer}.k-pro-drawer__footer{justify-content:flex-end;display:flex}.k-pro-drawer__footer .ant-btn:not(:last-child){margin-right:15px}
1
+ :root{--gd-color-white:#fff;--gd-color-primary:#1161ff;--gd-color-primary-light-3:#5890ff;--gd-color-primary-light-5:#88b0ff;--gd-color-primary-light-7:#b8d0ff;--gd-color-primary-light-8:#cfdfff;--gd-color-primary-light-9:#e7efff;--gd-color-success:#67c23a;--gd-color-success-light-3:#95d475;--gd-color-success-light-5:#b3e19d;--gd-color-success-light-7:#d1edc4;--gd-color-success-light-8:#e1f3d8;--gd-color-success-light-9:#f0f9eb;--gd-color-warning:#e6a23c;--gd-color-warning-light-3:#eebe77;--gd-color-warning-light-5:#f3d19e;--gd-color-warning-light-7:#f8e3c5;--gd-color-warning-light-8:#faecd8;--gd-color-warning-light-9:#fdf6ec;--gd-color-danger:#f56c6c;--gd-color-danger-light-3:#f89898;--gd-color-danger-light-5:#fab6b6;--gd-color-danger-light-7:#fcd3d3;--gd-color-danger-light-8:#fde2e2;--gd-color-danger-light-9:#fef0f0;--gd-color-error:#f56c6c;--gd-color-error-light-3:#f89898;--gd-color-error-light-5:#fab6b6;--gd-color-error-light-7:#fcd3d3;--gd-color-error-light-8:#fde2e2;--gd-color-error-light-9:#fef0f0;--gd-color-info:#909399;--gd-color-info-light-3:#b1b3b8;--gd-color-info-light-5:#c8c9cc;--gd-color-info-light-7:#dedfe0;--gd-color-info-light-8:#e9e9eb;--gd-color-info-light-9:#f4f4f5;--king-transition-duration:.3s}.gd-ant-scrollbar{z-index:auto;width:100%;height:100%;position:relative;overflow:hidden}.gd-ant-scrollbar .gd-ant-scrollbar-container{width:100%;height:100%;min-height:inherit;max-height:inherit;scrollbar-width:none;overflow:scroll}.gd-ant-scrollbar .gd-ant-scrollbar-content{width:fit-content}.gd-ant-scrollbar .gd-ant-scrollbar-rail{position:absolute}.gd-ant-scrollbar .gd-ant-scrollbar-rail--vertical{width:5px;top:2px;bottom:2px;right:4px}.gd-ant-scrollbar .gd-ant-scrollbar-rail--horizontal{height:5px;bottom:2px;left:2px;right:2px}.gd-ant-scrollbar .gd-ant-scrollbar-rail__scrollbar--vertical{cursor:pointer;background:#00000040;border-radius:5px;width:100%;position:absolute}.gd-ant-scrollbar .gd-ant-scrollbar-rail__scrollbar--horizontal{cursor:pointer;background:#00000040;border-radius:5px;height:100%;position:absolute}.v-vl-items{width:fit-content}.gd-ant-scale-virtual-list{width:100%;height:100%}.gd-ant-scale-virtual-list .gd-ant-scale-virtual-list-container{margin:0 auto;position:relative}.gd-ant-scale-virtual-list .gd-ant-scale-vittual-wrapper{width:fit-content;margin:0 auto;position:absolute;left:50%}.gd-ant-pro-title{border-bottom:1px solid #ccc;align-items:center;font-weight:500;display:flex}.gd-ant-pro-title .icon{margin-right:10px}.gd-ant-pro-title--unborder{border:none}.gd-ant-pro-modal .ant-modal-content{padding:0}.gd-ant-pro-modal .ant-modal-header{background:#f1f7ff;border-bottom:1px solid #e6e8ea;justify-content:space-between;align-items:center;height:56px;padding-left:32px;padding-right:24px;display:flex}.gd-ant-pro-modal .ant-modal-body{max-height:80vh;padding:10px 20px;overflow:auto}.gd-ant-pro-modal .ant-modal-footer{border-top:1px solid #e6e8ea;justify-content:flex-end;align-items:center;height:56px;padding:0 16px;display:flex}.gd-ant-pro-modal .ant-modal-title{flex:1}.gd-ant-pro-modal .pro-modal-title{cursor:move;width:100%}.gd-ant-pro-area-select{width:100%}@font-face{font-family:gd-ant-iconfont;src:url(./fonts/iconfont.woff2?t=40303)format("woff2"),url(./fonts/iconfont.woff?t=19295)format("woff"),url(./fonts/iconfont.ttf?t=86877)format("truetype")}.gd-ant-icon{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:16px;font-style:normal;font-family:gd-ant-iconfont!important}.icon-gd-ant-xinzeng:before{content:""}.icon-gd-ant-guanbi:before{content:"𐈔"}.icon-gd-ant-sync:before{content:""}.icon-gd-ant-tupianjiazaishibai:before{content:""}.icon-gd-ant-double-left:before{content:""}.icon-gd-ant-double-right:before{content:""}.icon-gd-ant-question-circle:before{content:""}.icon-gd-ant-sound:before{content:""}.icon-gd-ant-code:before{content:""}.icon-gd-ant-desktop:before{content:""}.icon-gd-ant-delete1:before{content:""}.icon-gd-ant-mobile:before{content:""}.icon-gd-ant-qiye:before{content:""}.icon-gd-ant-bumen:before{content:""}.icon-gd-ant-a-jiaoseguanli2:before{content:""}.icon-gd-ant-shanchu:before{content:""}.icon-gd-ant-zuzhijiagou:before{content:""}.icon-gd-ant-search:before{content:""}.icon-gd-ant-calendar:before{content:""}.icon-gd-ant-carry-out:before{content:""}.icon-gd-ant-file-add:before{content:""}.icon-gd-ant-form:before{content:""}.icon-gd-ant-close-circle:before{content:""}.icon-gd-ant-close-circle-o:before{content:""}.icon-gd-ant-vertical-align-bottom:before{content:""}.icon-gd-ant-merge-cells:before{content:""}.icon-gd-ant-split-cells:before{content:""}.icon-gd-ant-down:before{content:""}.icon-gd-ant-left:before{content:""}.icon-gd-ant-right:before{content:""}.icon-gd-ant-up:before{content:""}.icon-gd-ant-plus:before{content:""}.icon-gd-ant-xsl:before{content:""}.icon-gd-ant-word:before{content:""}.icon-gd-ant-eye:before{content:""}.icon-gd-ant-PDF:before{content:""}.icon-gd-ant-delete:before{content:""}.icon-gd-ant-upload-icon:before{content:""}.icon-gd-ant-title-icon:before{content:""}.gd-ant-cover-scrollbar{width:100%;height:100%;position:relative;overflow:hidden}.gd-ant-cover-scrollbar .gd-ant-cover-scrollbar-container{scrollbar-width:none;width:100%;height:100%;overflow:scroll}.gd-ant-cover-scrollbar .gd-ant-cover-scrollbar-rail{width:5px;position:absolute;top:2px;bottom:2px}.gd-ant-cover-scrollbar .gd-ant-cover-scrollbar-rail__scrollbar--vertical{cursor:pointer;border-radius:5px;width:100%;position:absolute}.gd-ant-pro-overlay{cursor:pointer;display:inline-block;position:relative}.gd-ant-pro-overlay .gd-ant-pro-overlay__content{opacity:0;justify-content:center;align-items:center;transition:all .2s linear;display:flex;position:absolute;inset:0}.gd-ant-pro-overlay:hover .gd-ant-pro-overlay__content{opacity:1;background:#00000080}.gd-ant-plus-upload .gd-ant-plus-upload__icon-plus{font-size:32px!important}.gd-ant-plus-upload .gd-ant-plus-upload__icon-eye,.gd-ant-plus-upload .gd-ant-plus-upload__icon-delete{margin-right:5px;color:#fff!important;font-size:16px!important}.gd-ant-plus-upload .gd-ant-plus-upload__file-item{border:1px solid #cbcdd3;border-radius:3px;justify-content:center;align-items:center;width:102px;height:102px;display:flex}.gd-ant-pro-tag-group{color:#3b3b3b;border:1px solid #d9d9d9;border-radius:3px;align-items:center;width:100%;height:30px;padding:5px;display:flex}.gd-ant-pro-tag-group .gd-ant-pro-tag-group__tags{scrollbar-width:none;flex:1;align-items:center;gap:5px;height:100%;display:flex;overflow-x:hidden}.gd-ant-pro-tag-group .gd-ant-pro-tag-group__count{text-align:center;white-space:nowrap;text-overflow:ellipsis;background:#d9d9d9;height:100%;margin-left:5px;padding:0 5px;line-height:normal;overflow:hidden}.gd-ant-pro-tag-group .gd-ant-pro-tag-group__item{visibility:hidden;background:#d9d9d9;flex-shrink:0;padding:0 5px;line-height:normal}.gd-ant-pro-tag-group .gd-ant-pro-tag-group__item:hover .gd-ant-pro-tag-group__remove-icon{background:#a3a3a3;border-radius:50%;color:#fff!important}.gd-ant-pro-tag-group .gd-ant-pro-tag-group__remove-icon{cursor:pointer;margin-left:2px;padding:1px}.gd-ant-pro-tag-group .gd-ant-pro-tag-group__visible{visibility:inherit}.gd-ant-role-selector-modal{border:1px solid #e5e5e5;border-radius:4px;width:100%;height:300px;display:flex;overflow:hidden}.gd-ant-role-selector-modal .gd-ant-role-selector__role-item{cursor:pointer;justify-content:space-between;align-items:center;width:100%;height:40px;display:flex}.gd-ant-role-selector-modal .gd-ant-role-selector__role-item.is-active{padding:0 10px}.gd-ant-role-selector-modal .gd-ant-role-selector__role-item:hover.is-active{background-color:#f5f7fa;border-radius:4px}.gd-ant-role-selector-modal .gd-ant-role-selector__role-item .gd-ant-role-selector-role-item-label{display:flex}.gd-ant-role-selector-modal .gd-ant-role-selector__role-item .gd-ant-role-selector__label{color:#606266;padding-left:5px;font-size:14px}.gd-ant-role-selector-modal .gd-ant-role-selector__role-item .gd-ant-role-selector__role-item-del:hover .icon-gd-ant-shanchu{color:var(--gd-color-primary)!important}.gd-ant-role-selector-modal .gd-ant-role-selector-left{box-sizing:border-box;width:50%;height:300px;padding:15px}.gd-ant-role-selector-modal .gd-ant-role-selector-left .gd-ant-role-selector__role-list{width:100%;height:230px;margin-top:15px;overflow-y:auto}.gd-ant-role-selector-modal .gd-ant-role-selector-left .gd-ant-role-selector__role-list::-webkit-scrollbar{width:6px;height:6px}.gd-ant-role-selector-modal .gd-ant-role-selector-left .gd-ant-role-selector__role-list::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.gd-ant-role-selector-modal .gd-ant-role-selector-left .gd-ant-role-selector__role-list::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.gd-ant-role-selector-modal .gd-ant-role-selector-left .gd-ant-role-selector__role-list::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.gd-ant-role-selector-modal .gd-ant-role-selector-right{box-sizing:border-box;border-left:1px solid #e5e5e5;flex:1;height:300px;padding:15px;overflow-y:auto}.gd-ant-role-selector-modal .gd-ant-role-selector-right::-webkit-scrollbar{width:6px;height:6px}.gd-ant-role-selector-modal .gd-ant-role-selector-right::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.gd-ant-role-selector-modal .gd-ant-role-selector-right::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.gd-ant-role-selector-modal .gd-ant-role-selector-right::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.gd-ant-user-avatar{box-sizing:border-box;cursor:pointer;margin:5px;position:relative}.gd-ant-user-avatar .gd-ant-user-avatar__img{box-sizing:border-box;width:100%;height:100%;display:block}.gd-ant-user-avatar .gd-ant-user-avatar__name{color:#fff;box-sizing:border-box;border-radius:50%;justify-content:center;align-items:center;width:100%;min-width:24px;height:100%;min-height:24px;display:flex}.gd-ant-user-avatar-default{width:32px;height:32px}.gd-ant-user-avatar-default .gd-ant-user-avatar__name{font-size:12px}.gd-ant-user-avatar-small{width:24px;height:24px}.gd-ant-user-avatar-small .gd-ant-user-avatar__name{font-size:8px}.gd-ant-user-avatar-large{width:40px;height:40px}.gd-ant-user-avatar-large .gd-ant-user-avatar__name{font-size:14px}.gd-ant-dept-selector__modal-content{box-sizing:border-box;border:1px solid #e5e5e5;border-radius:4px;height:400px;display:flex}.gd-ant-dept-selector__modal-content-left{box-sizing:border-box;border-right:1px solid #e5e5e5;width:50%;height:100%;padding:12px}.gd-ant-dept-selector__modal-content-left .gd-ant-dept-selector__modal-content-left-tree{height:320px;overflow-y:auto}.gd-ant-dept-selector__modal-content-left .gd-ant-dept-selector__modal-content-left-tree::-webkit-scrollbar{width:6px;height:6px}.gd-ant-dept-selector__modal-content-left .gd-ant-dept-selector__modal-content-left-tree::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.gd-ant-dept-selector__modal-content-left .gd-ant-dept-selector__modal-content-left-tree::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.gd-ant-dept-selector__modal-content-left .gd-ant-dept-selector__modal-content-left-tree::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.gd-ant-dept-selector__modal-content-right{box-sizing:border-box;flex:1;height:100%;padding:12px;overflow-y:auto}.gd-ant-dept-selector__modal-content-right::-webkit-scrollbar{width:6px;height:6px}.gd-ant-dept-selector__modal-content-right::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.gd-ant-dept-selector__modal-content-right::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.gd-ant-dept-selector__modal-content-right::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.gd-ant-dept-selector__modal-content-right .gd-ant-dept-selector__modal-content-right-item{cursor:pointer;border-radius:4px;justify-content:space-between;align-items:center;height:40px;padding:0 12px;display:flex}.gd-ant-dept-selector__modal-content-right .gd-ant-dept-selector__modal-content-right-item:hover{background-color:#f5f7fa}.gd-ant-dept-selector__modal-content-right .gd-ant-dept-selector__modal-content-right-item .gd-ant-dept-selector__modal-content-right-item-label{align-items:center;display:flex}.gd-ant-dept-selector__modal-content-right .gd-ant-dept-selector__modal-content-right-item span{padding:0 4px}.gd-ant-dept-selector__modal-content-right .gd-ant-dept-selector__modal-content-right-item .gd-ant-dept-selector__modal-content-right-item-del:hover .icon-gd-ant-shanchu{color:var(--gd-color-primary)!important}.gd-ant-pro-user-selector{border:1px solid #e5e5e5;border-radius:4px;justify-content:center;height:300px;display:flex;overflow:hidden}.gd-ant-pro-user-selector .gd-ant-pro-user-selector-org-tree{height:200px;margin-top:16px;overflow:hidden auto}.gd-ant-pro-user-selector .gd-ant-pro-user-selector-org-tree::-webkit-scrollbar{width:6px;height:6px}.gd-ant-pro-user-selector .gd-ant-pro-user-selector-org-tree::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.gd-ant-pro-user-selector .gd-ant-pro-user-selector-org-tree::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.gd-ant-pro-user-selector .gd-ant-pro-user-selector-org-tree::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.gd-ant-pro-user-selector .gd-ant-pro-user-selector-org-tree .gd-ant-pro-user-selector-org-tree-item{box-sizing:border-box;justify-content:space-between;align-items:center;height:48px;margin:0 10px;display:flex}.gd-ant-pro-user-selector .gd-ant-pro-user-selector-org-tree .gd-ant-pro-user-selector-org-tree-item:hover{cursor:pointer;background-color:#1f232914;border-radius:6px}.gd-ant-pro-user-selector .gd-ant-pro-user-selector-org-tree .gd-ant-pro-user-selector-org-tree-item .gd-ant-pro-user-selector-org-tree-item-title{align-items:center;width:100%;height:100%;padding:0 6px;display:flex}.gd-ant-pro-user-selector .gd-ant-pro-user-selector-org-tree .gd-ant-pro-user-selector-org-tree-item .gd-ant-pro-user-selector-org-tree-item-title .gd-ant-pro-user-selector-org-tree-dept-icon{background-color:#4954e6;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.gd-ant-pro-user-selector .gd-ant-pro-user-selector-org-tree .gd-ant-pro-user-selector-org-tree-item .gd-ant-pro-user-selector-org-tree-item-title .gd-ant-pro-user-selector-org-tree-item-title-text{color:#1f2329;margin-left:10px;font-size:14px}.gd-ant-pro-user-selector .select-user-list{height:240px;margin-top:16px;overflow:hidden auto}.gd-ant-pro-user-selector .select-user-list::-webkit-scrollbar{width:6px;height:6px}.gd-ant-pro-user-selector .select-user-list::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.gd-ant-pro-user-selector .select-user-list::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.gd-ant-pro-user-selector .select-user-list::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.gd-ant-pro-user-selector .gd-ant-pro-user-selector-user-list{margin-top:10px;overflow:hidden auto}.gd-ant-pro-user-selector .gd-ant-pro-user-selector-user-item{box-sizing:border-box;align-items:center;width:calc(100% - 20px);height:48px;margin:0 10px;display:flex}.gd-ant-pro-user-selector .gd-ant-pro-user-selector-user-item:hover{cursor:pointer;background-color:#1f232914;border-radius:6px}.gd-ant-pro-user-selector .gd-ant-pro-user-selector-user-item .gd-ant-pro-user-selector-user-item-content{flex:1;align-items:center;display:flex}.gd-ant-pro-user-selector .gd-ant-pro-user-selector-user-item .gd-ant-pro-user-selector-user-item-content .gd-ant-pro-user-selector-user-item-content-tag{color:#245bdb;background-color:#3370ff33;border-radius:4px;margin-left:10px;padding-left:4px;padding-right:4px;font-size:10px}.gd-ant-pro-user-selector .gd-ant-pro-user-selector-user-item .gd-ant-pro-user-selector-user-item-content .select-user-item-icon{cursor:pointer;justify-content:center;align-items:center;width:20px;height:20px;margin-right:4px;display:flex}.gd-ant-pro-user-selector .gd-ant-pro-user-selector-user-item .gd-ant-pro-user-selector-user-item-content .select-user-item-icon:hover{background-color:#1f23291a;border-radius:6px}.gd-ant-pro-user-selector .gd-ant-pro-user-selector-user-item .gd-ant-pro-user-selector-avator{border-radius:50%;width:32px;height:32px;margin-left:10px;margin-right:10px}.gd-ant-pro-user-selector .gd-ant-pro-user-selector-content-left{box-sizing:border-box;width:50%}.gd-ant-pro-user-selector .gd-ant-pro-user-selector-content-left .gd-ant-pro-user-selector-breadcrumb{margin-top:10px}.gd-ant-pro-user-selector .gd-ant-pro-user-selector-content-right{box-sizing:border-box;border-left:1px solid #e5e5e5;width:50%;padding:16px}.gd-ant-pro-user-selector .gd-ant-pro-user-selector-content-right .gd-ant-pro-user-selector-content-right-title{color:#333;margin-bottom:10px;font-size:14px}.gd-ant-pro-user-selector .gd-ant-pro-user-selector-content-right .gd-ant-pro-user-selector-select-user-item{cursor:pointer;justify-content:space-between;align-items:center;width:100%;height:48px;padding:0 10px;display:flex}.gd-ant-pro-user-selector .gd-ant-pro-user-selector-content-right .gd-ant-pro-user-selector-select-user-item:hover{background-color:#1f232914;border-radius:6px}.gd-ant-user-selector-extermal{flex-wrap:wrap;width:100%;display:flex}.gd-ant-user-selector-extermal .gd-ant-user-selector-extermal-icon{border:1px solid var(--gd-color-primary);cursor:pointer;border-radius:100px;justify-content:center;align-items:center;width:56px;height:32px;margin-top:8px;margin-right:8px;display:flex}.gd-ant-user-selector-extermal .gd-ant-user-selector-extermal-icon:hover{transition:all .2s;box-shadow:0 0 10px #3370ff80}.gd-ant-user-selector-extermal .gd-ant-user-selector-extermal-list{flex-wrap:wrap;flex:1;display:flex}.gd-ant-user-selector-extermal .gd-ant-user-selector-extermal-list .gd-ant-user-selector-extermal-item{box-sizing:border-box;color:#1f2329;cursor:pointer;background-color:#eff0f1;border-radius:16px;align-items:center;min-width:70px;height:32px;margin-top:8px;margin-right:8px;padding:0 10px 0 4px;font-size:14px;display:flex}.gd-ant-user-selector-extermal .gd-ant-user-selector-extermal-list .gd-ant-user-selector-extermal-item__name{padding:0 4px}.gd-ant-user-selector-extermal .gd-ant-user-selector-extermal-list .icon-gd-ant-shanchu:hover{color:var(--gd-color-primary)!important}.gd-ant-pro-cell{line-height:24px;display:flex}.gd-ant-pro-cell .gd-ant-pro-cell-label{align-items:center;display:flex}.gd-ant-pro-cell .gd-ant-pro-cell-value{word-break:break-word;flex:1}.gd-ant-pro-cell.is_border{border-bottom:1px solid #e5e5e5}.gd-ant-pro-cell.is_vertical{flex-direction:column}.gd-ant-pro-cell.is_horizontal{flex-direction:row}.f-s-c{align-items:center;display:flex}.f-b-c,.aio-list-input .aio-list-input-item{justify-content:space-between;align-items:center;display:flex}.aio-list-input .aio-list-input-item .aio-list-input-icon{margin-left:12px;display:flex}.text-ellipsis,.gd-ant-pro-selector-group-content .gd-ant-pro-selector-group-right .gd-ant-select-box .gd-ant-select-box_content .gd-ant-select-box_content-item .gd-ant-select-box_content-item_name,.gd-ant-pro-selector-group-content .gd-ant-pro-selector-group-right .gd-ant-select-box .gd-ant-select-box_title .gd-ant-select-box_title_count{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.text-ellipsis-multiline{-webkit-line-clamp:2;text-overflow:ellipsis;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.gd-ant-pro-selector-group-content{box-sizing:border-box;border:1px solid #e4e5e7;border-radius:4px;width:900px;height:500px;margin:0 auto;display:flex}.gd-ant-pro-selector-group-content .gd-ant-pro-selector-group-left{box-sizing:border-box;padding:0 15px}.gd-ant-pro-selector-group-content .gd-ant-pro-selector-group-left .selector-tree{height:375px;margin-top:16px;overflow:auto}.gd-ant-pro-selector-group-content .gd-ant-pro-selector-group-left .selector-tree .tree-title{align-items:center;display:flex}.gd-ant-pro-selector-group-content .gd-ant-pro-selector-group-left .selector-tree .tree-title .tree-title_name{margin-left:4px}.gd-ant-pro-selector-group-content .gd-ant-pro-selector-group-left .type-selector-box{justify-content:space-between;width:100%;height:430px;display:flex}.gd-ant-pro-selector-group-content .gd-ant-pro-selector-group-right{box-sizing:border-box;border-left:1px solid #e4e5e7;flex:1;height:100%;padding:15px}.gd-ant-pro-selector-group-content .gd-ant-pro-selector-group-right .gd-ant-select-box{width:100%;height:100%}.gd-ant-pro-selector-group-content .gd-ant-pro-selector-group-right .gd-ant-select-box .gd-ant-select-box_title{justify-content:space-between;align-items:center;height:40px;display:flex}.gd-ant-pro-selector-group-content .gd-ant-pro-selector-group-right .gd-ant-select-box .gd-ant-select-box_content{height:calc(100% - 44px);margin-top:12px;overflow:auto}.gd-ant-pro-selector-group-content .gd-ant-pro-selector-group-right .gd-ant-select-box .gd-ant-select-box_content .gd-ant-select-box_content-item{border-radius:4px;justify-content:space-between;align-items:center;width:100%;padding:8px;transition:background-color .2s;display:flex}.gd-ant-pro-selector-group-content .gd-ant-pro-selector-group-right .gd-ant-select-box .gd-ant-select-box_content .gd-ant-select-box_content-item:hover{background-color:#f5f5f5;border-radius:4px}.gd-ant-pro-selector-group-content .gd-ant-pro-selector-group-right .gd-ant-select-box .gd-ant-select-box_content .gd-ant-select-box_content-item .gd-ant-select-box_content-item_name{color:#1f2329;font-size:14px}.gd-ant-pro-selector-group-content .gd-ant-pro-selector-group-right .gd-ant-select-box .gd-ant-select-box_content .gd-ant-select-box_content-item .gd-ant-select-box_content-item_close{cursor:pointer}.k-pro-drawer__footer{justify-content:flex-end;display:flex}.k-pro-drawer__footer .ant-btn:not(:last-child){margin-right:15px}
@@ -6680,6 +6680,7 @@ export declare function useProMenuTree(getOptions: () => ProMenuTreeHookOptions)
6680
6680
  }> & Omit<Map<string, IndexedMenuTreeNode>, keyof Map<any, any>>)>;
6681
6681
  expandableKeys: import('vue').Ref<string[], string[]>;
6682
6682
  checkableKeys: import('vue').Ref<string[], string[]>;
6683
+ selectableKeys: import('vue').Ref<string[], string[]>;
6683
6684
  normalizeTree: (source?: MenuTreeNode[]) => MenuTreeNode[];
6684
6685
  getAllParentIds: (nodeId: string) => string[];
6685
6686
  findNodeById: (nodeId: string) => MenuTreeNode | undefined;
@@ -6687,6 +6688,7 @@ export declare function useProMenuTree(getOptions: () => ProMenuTreeHookOptions)
6687
6688
  checkableOnly?: boolean;
6688
6689
  }) => string[];
6689
6690
  getAllCheckableNodeIds: () => string[];
6691
+ getAllSelectableNodeIds: () => string[];
6690
6692
  getAllExpandableKeys: () => string[];
6691
6693
  getDefaultExpandedKeys: (defaultExpandAll: boolean) => string[];
6692
6694
  searchTree: (value: string) => MenuTreeSearchResult;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@guodun/antdv",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "CHANGELOG.md",