@king-one/antdv 1.2.16 → 1.2.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/es/components/dept-selector/index.mjs +3 -2
  3. package/dist/es/components/dept-selector/src/dept.mjs +165 -159
  4. package/dist/es/components/dept-selector/src/types.mjs +31 -2
  5. package/dist/es/components/pro-selector/index.mjs +10 -7
  6. package/dist/es/components/pro-selector/src/components/org-tree.mjs +132 -129
  7. package/dist/es/components/pro-selector/src/pro-user.mjs +58 -77
  8. package/dist/es/components/pro-selector/src/types.mjs +42 -1
  9. package/dist/es/components/pro-sign/src/components/signature.vue.mjs +39 -36
  10. package/dist/es/components/pro-table/src/pro-table.vue2.mjs +91 -84
  11. package/dist/es/components/pro-table/utils.mjs +11 -10
  12. package/dist/es/components/role-selector/index.mjs +3 -2
  13. package/dist/es/components/role-selector/src/role.mjs +93 -80
  14. package/dist/es/components/role-selector/src/types.mjs +24 -3
  15. package/dist/es/index.mjs +80 -74
  16. package/dist/lib/components/dept-selector/index.js +1 -1
  17. package/dist/lib/components/dept-selector/src/dept.js +1 -1
  18. package/dist/lib/components/dept-selector/src/types.js +1 -1
  19. package/dist/lib/components/pro-selector/index.js +1 -1
  20. package/dist/lib/components/pro-selector/src/components/org-tree.js +1 -1
  21. package/dist/lib/components/pro-selector/src/pro-user.js +1 -1
  22. package/dist/lib/components/pro-selector/src/types.js +1 -1
  23. package/dist/lib/components/pro-sign/src/components/signature.vue.js +1 -1
  24. package/dist/lib/components/pro-table/src/pro-table.vue2.js +1 -1
  25. package/dist/lib/components/pro-table/utils.js +1 -1
  26. package/dist/lib/components/role-selector/index.js +1 -1
  27. package/dist/lib/components/role-selector/src/role.js +1 -1
  28. package/dist/lib/components/role-selector/src/types.js +1 -1
  29. package/dist/lib/index.js +1 -1
  30. package/dist/theme-chalk/icon.css +1 -1
  31. package/dist/theme-chalk/index.css +1 -1
  32. package/dist/types/components/dept-selector/index.d.ts +55 -6
  33. package/dist/types/components/dept-selector/src/dept.d.ts +54 -6
  34. package/dist/types/components/dept-selector/src/types.d.ts +34 -2
  35. package/dist/types/components/pro-selector/index.d.ts +62 -42
  36. package/dist/types/components/pro-selector/src/components/org-tree.d.ts +1 -19
  37. package/dist/types/components/pro-selector/src/pro-user.d.ts +62 -44
  38. package/dist/types/components/pro-selector/src/types.d.ts +46 -0
  39. package/dist/types/components/role-selector/index.d.ts +40 -0
  40. package/dist/types/components/role-selector/src/role.d.ts +20 -0
  41. package/dist/types/components/role-selector/src/types.d.ts +20 -0
  42. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @king-one/antdv
2
2
 
3
+ ## 1.2.17
4
+
5
+ ### Patch Changes
6
+
7
+ - 优化部门,用户,角色选择器,增加内部求情配置
8
+
3
9
  ## 1.2.16
4
10
 
5
11
  ### Patch Changes
@@ -1,11 +1,12 @@
1
1
  import { withInstall as t } from "../utils/install.mjs";
2
2
  import e from "./src/dept.mjs";
3
3
  import "./src/style/index.mjs";
4
- import { deptSelectorEmits as s, deptSelectorProps as c } from "./src/types.mjs";
4
+ import { GET_DEPT_TREE_URL as s, deptSelectorEmits as E, deptSelectorProps as c } from "./src/types.mjs";
5
5
  const m = t(e);
6
6
  export {
7
+ s as GET_DEPT_TREE_URL,
7
8
  m as KDeptSelector,
8
9
  m as default,
9
- s as deptSelectorEmits,
10
+ E as deptSelectorEmits,
10
11
  c as deptSelectorProps
11
12
  };
@@ -1,238 +1,244 @@
1
- import { defineComponent as H, ref as r, watch as y, createVNode as a, Fragment as J } from "vue";
1
+ import { defineComponent as H, ref as o, watch as k, createVNode as n, Fragment as J } from "vue";
2
2
  import { useNamespace as Q } from "../../../hooks/use-namespace/index.mjs";
3
3
  import "../../index.mjs";
4
- import { InputSearch as W, Tree as X, Empty as K, Input as Y } from "ant-design-vue";
5
- import { deptSelectorEmits as Z, deptSelectorProps as $ } from "./types.mjs";
6
- import { KProModal as ee } from "../../pro-modal/index.mjs";
7
- import { KIcon as I } from "../../icon/index.mjs";
8
- const v = Q("dept-selector"), de = /* @__PURE__ */ H({
4
+ import { InputSearch as W, Tree as X, Empty as C, Input as Y } from "ant-design-vue";
5
+ import { GET_DEPT_TREE_URL as Z, deptSelectorEmits as ee, deptSelectorProps as te } from "./types.mjs";
6
+ import { KProModal as le } from "../../pro-modal/index.mjs";
7
+ import { KIcon as P } from "../../icon/index.mjs";
8
+ const f = Q("dept-selector"), oe = /* @__PURE__ */ H({
9
9
  name: "KDeptSelector",
10
- props: $,
11
- emits: Z,
12
- setup(u, {
13
- emit: f,
14
- attrs: A,
15
- slots: k
10
+ props: te,
11
+ emits: ee,
12
+ setup(l, {
13
+ emit: m,
14
+ attrs: V,
15
+ slots: g
16
16
  }) {
17
- const g = r(!0), C = r(!0), m = r([]), h = r([]), c = r([]), U = r(!1), O = r({
18
- title: "label",
19
- key: "id",
20
- children: "children"
21
- }), E = r(""), o = r([]), s = r(u.treeData), b = r(!1), p = r(""), N = () => {
22
- if (u.type === "checkbox") {
23
- if (!Array.isArray(u.modelValue)) return;
24
- const e = u.modelValue.map((l) => l.value);
25
- g.value ? c.value = {
17
+ const x = o(!0), N = o(!0), p = o([]), h = o([]), c = o([]), A = o(!1), d = o(l.isBuiltInRequest ? {
18
+ children: "children",
19
+ title: "deptName",
20
+ key: "id"
21
+ } : l.fieldNames), S = o(""), s = o([]), v = o(l.treeData), E = o(!1), y = o("");
22
+ if (l.isBuiltInRequest) {
23
+ if (!l.http)
24
+ throw new Error("请传入http实例");
25
+ l.http.get(`${l.prefix}${Z}`).then((e) => {
26
+ e.status === 0 && (v.value = e.data);
27
+ });
28
+ }
29
+ const I = () => {
30
+ if (l.type === "checkbox") {
31
+ if (!Array.isArray(l.modelValue)) return;
32
+ const e = l.modelValue.map((t) => t.value);
33
+ x.value ? c.value = {
26
34
  checked: e,
27
35
  halfChecked: []
28
- } : c.value = e, m.value = e;
36
+ } : c.value = e, p.value = e;
29
37
  } else {
30
- if (Array.isArray(u.modelValue)) return;
31
- const e = u.modelValue.value;
32
- h.value = [e], m.value = [e];
38
+ if (Array.isArray(l.modelValue)) return;
39
+ const e = l.modelValue.value;
40
+ h.value = [e], p.value = [e];
33
41
  }
34
42
  }, w = () => {
35
- if (b.value) {
36
- b.value = !1;
37
- return;
38
- }
39
- u.type === "radio" ? E.value = o.value[0].label : E.value = o.value.map((e) => e.label).join(",");
43
+ if (E.value)
44
+ return E.value = !1;
45
+ l.type === "radio" ? s.value.length > 0 && (S.value = s.value[0][d.value.title] || "") : S.value = s.value.map((e) => e[d.value.title]).join(",");
40
46
  };
41
- y(() => u.visible, () => {
42
- u.visible && N();
47
+ k(() => l.visible, () => {
48
+ l.visible && I();
43
49
  }, {
44
50
  immediate: !0
45
- }), y(() => u.modelValue, () => {
46
- s.value.length > 0 && N();
51
+ }), k(() => l.modelValue, () => {
52
+ v.value.length > 0 && I();
47
53
  }, {
48
54
  immediate: !0,
49
55
  deep: !0
50
- }), y(s, () => {
51
- s.value.length > 0 && N();
56
+ }), k(v, () => {
57
+ v.value.length > 0 && I();
52
58
  }, {
53
59
  immediate: !0,
54
60
  deep: !0
55
- }), y(c, () => {
56
- u.type === "checkbox" && (g.value ? o.value = D(c.value.checked) : o.value = D(c.value), w());
61
+ }), k(c, () => {
62
+ l.type === "checkbox" && (x.value ? s.value = D(c.value.checked) : s.value = D(c.value), w());
57
63
  }, {
58
64
  immediate: !0,
59
65
  deep: !0
60
- }), y(h, () => {
61
- u.type === "radio" && (o.value = D(h.value), w());
66
+ }), k(h, () => {
67
+ l.type === "radio" && (s.value = D(h.value), w());
62
68
  }, {
63
69
  immediate: !0,
64
70
  deep: !0
65
- }), y(() => u.treeData, () => {
66
- s.value = u.treeData;
71
+ }), k(() => l.treeData, () => {
72
+ l.isBuiltInRequest || (v.value = l.treeData);
67
73
  });
68
- function M(e) {
69
- const l = (n, d) => {
70
- for (const t of n) {
71
- if (t.id === d)
72
- return t;
73
- if (t.children && t.children.length) {
74
- const i = l(t.children, d);
74
+ function _(e) {
75
+ const t = (u, r) => {
76
+ for (const a of u) {
77
+ if (a.id === r)
78
+ return a;
79
+ if (a.children && a.children.length) {
80
+ const i = t(a.children, r);
75
81
  if (i) return i;
76
82
  }
77
83
  }
78
84
  return null;
79
85
  };
80
- return l(s.value, e);
86
+ return t(v.value, e);
81
87
  }
82
88
  function D(e) {
83
- return e.map((l) => M(l)).filter(Boolean);
89
+ return e ? e.map((t) => _(t)).filter(Boolean) : [];
84
90
  }
85
- const T = () => {
86
- b.value = !0;
87
- }, _ = () => {
88
- b.value = !0;
89
- }, F = () => {
90
- f("update:visible", !1);
91
- }, L = () => {
92
- u.type === "radio" ? f("update:modelValue", {
93
- value: h.value[0],
94
- label: o.value[0].label
95
- }) : f("update:modelValue", o.value.map((e) => ({
96
- value: e.id,
97
- label: e.label
98
- }))), f("update:visible", !1), w();
99
- }, z = (e) => {
100
- if (b.value = !0, u.type === "radio")
101
- return o.value = [], h.value = [], !1;
102
- if (g.value)
103
- c.value.checked = c.value.checked.filter((l) => l !== e.id);
91
+ const R = () => {
92
+ E.value = !0;
93
+ }, O = () => {
94
+ E.value = !0;
95
+ }, B = () => {
96
+ m("update:visible", !1);
97
+ }, M = () => {
98
+ l.type === "radio" ? m("update:modelValue", {
99
+ [d.value.key]: h.value[0],
100
+ [d.value.title]: s.value[0][d.value.title]
101
+ }) : m("update:modelValue", s.value.map((e) => ({
102
+ [d.value.key]: e[d.value.key],
103
+ [d.value.title]: e[d.value.title]
104
+ }))), m("update:visible", !1), w();
105
+ }, L = (e) => {
106
+ if (E.value = !0, l.type === "radio")
107
+ return s.value = [], h.value = [], !1;
108
+ if (x.value)
109
+ c.value.checked = c.value.checked.filter((t) => t !== e.id);
104
110
  else {
105
- const l = e.parentId, n = c.value.indexOf(l);
106
- n !== -1 && c.value.splice(n, 1), c.value = c.value.filter((t) => t !== e.id), B(e.children).forEach((t) => {
107
- const i = c.value.indexOf(t);
111
+ const t = e.parentId, u = c.value.indexOf(t);
112
+ u !== -1 && c.value.splice(u, 1), c.value = c.value.filter((a) => a !== e.id), q(e.children).forEach((a) => {
113
+ const i = c.value.indexOf(a);
108
114
  i !== -1 && c.value.splice(i, 1);
109
115
  });
110
116
  }
111
- }, B = (e) => {
112
- const l = [], n = (d) => {
113
- for (const t of d)
114
- l.push(t.id), t.children && t.children.length && n(t.children);
117
+ }, q = (e) => {
118
+ const t = [], u = (r) => {
119
+ for (const a of r)
120
+ t.push(a.id), a.children && a.children.length && u(a.children);
115
121
  };
116
- return n(e), l;
117
- }, R = () => a(J, null, [a(ee, {
118
- modelValue: u.visible,
122
+ return u(e), t;
123
+ }, F = () => n(J, null, [n(le, {
124
+ modelValue: l.visible,
119
125
  modalProps: {
120
126
  cancelText: "取消",
121
127
  okText: "确定",
122
128
  width: "700px",
123
- ...A
129
+ ...V
124
130
  },
125
131
  title: "选择部门",
126
- onOnCancel: F,
127
- onOnConfirm: L
132
+ onOnCancel: B,
133
+ onOnConfirm: M
128
134
  }, {
129
- default: () => [a("div", {
130
- class: v.e("modal-content")
131
- }, [j(), q()], 2)]
132
- }, 8, ["modelValue", "modalProps", "onOnCancel", "onOnConfirm"])]), x = (e, l) => {
133
- let n;
134
- for (let d = 0; d < l.length; d++) {
135
- const t = l[d];
136
- t.children && (t.children.some((i) => i.id === e) ? n = t.id : x(e, t.children) && (n = x(e, t.children)));
135
+ default: () => [n("div", {
136
+ class: f.e("modal-content")
137
+ }, [$(), j()], 2)]
138
+ }, 8, ["modelValue", "modalProps", "onOnCancel", "onOnConfirm"])]), b = (e, t) => {
139
+ let u;
140
+ for (let r = 0; r < t.length; r++) {
141
+ const a = t[r];
142
+ a.children && (a.children.some((i) => i.id === e) ? u = a.id : b(e, a.children) && (u = b(e, a.children)));
137
143
  }
138
- return n;
139
- }, G = (e) => {
144
+ return u;
145
+ }, z = (e) => {
140
146
  if (!e.trim()) {
141
- m.value = [], p.value = "", C.value = !0;
147
+ p.value = [], y.value = "", N.value = !0;
142
148
  return;
143
149
  }
144
- const l = /* @__PURE__ */ new Set(), n = (d, t) => {
145
- d.forEach((i) => {
146
- var V;
147
- if ((V = i.label) != null && V.includes(t)) {
148
- let S = x(i.id, s.value);
149
- for (; S; )
150
- l.add(S), S = x(S, s.value);
151
- l.add(i.id);
150
+ const t = /* @__PURE__ */ new Set(), u = (r, a) => {
151
+ r.forEach((i) => {
152
+ var U;
153
+ if ((U = i[d.value.title]) != null && U.includes(a)) {
154
+ let K = b(i.id, v.value);
155
+ for (; K; )
156
+ t.add(K), K = b(K, v.value);
157
+ t.add(i.id);
152
158
  }
153
- i.children && i.children.length > 0 && n(i.children, t);
159
+ i.children && i.children.length > 0 && u(i.children, a);
154
160
  });
155
161
  };
156
- n(s.value, e), m.value = Array.from(l), p.value = e, C.value = !0;
157
- }, j = () => a("div", {
158
- class: v.e("modal-content-left")
159
- }, [a(W, {
162
+ u(v.value, e), p.value = Array.from(t), y.value = e, N.value = !0;
163
+ }, G = (e) => {
164
+ const t = e[d.value.title] || "";
165
+ if (!y.value)
166
+ return n("span", null, [t]);
167
+ const u = t.indexOf(y.value);
168
+ if (u === -1)
169
+ return n("span", null, [t]);
170
+ const r = t.substring(0, u), a = t.substring(u, u + y.value.length), i = t.substring(u + y.value.length);
171
+ return n("span", null, [r, n("span", {
172
+ style: "color: #f50; font-weight: bold"
173
+ }, [a]), i]);
174
+ }, $ = () => n("div", {
175
+ class: f.e("modal-content-left")
176
+ }, [n(W, {
160
177
  placeholder: "请输入部门名称",
161
- onSearch: G,
178
+ onSearch: z,
162
179
  style: {
163
180
  marginBottom: "10px"
164
181
  },
165
182
  allowClear: !0
166
- }, null, 8, ["onSearch", "allowClear"]), s.value.length > 0 ? a(X, {
167
- expandedKeys: m.value,
168
- "onUpdate:expandedKeys": (e) => m.value = e,
183
+ }, null, 8, ["onSearch", "allowClear"]), v.value.length > 0 ? n(X, {
184
+ expandedKeys: p.value,
185
+ "onUpdate:expandedKeys": (e) => p.value = e,
169
186
  selectedKeys: h.value,
170
187
  "onUpdate:selectedKeys": (e) => h.value = e,
171
188
  checkedKeys: c.value,
172
189
  "onUpdate:checkedKeys": (e) => c.value = e,
173
- checkable: u.type === "checkbox",
174
- checkStrictly: g.value,
190
+ checkable: l.type === "checkbox",
191
+ checkStrictly: x.value,
175
192
  "show-icon": !0,
176
- autoExpandParent: C.value,
193
+ autoExpandParent: N.value,
177
194
  blockNode: !0,
178
195
  defaultExpandAll: !0,
179
- fieldNames: O.value,
180
- "show-line": U.value,
181
- "tree-data": s.value,
182
- onCheck: T,
183
- onSelect: _,
184
- class: v.e("modal-content-left-tree")
196
+ fieldNames: d.value,
197
+ "show-line": A.value,
198
+ "tree-data": v.value,
199
+ onCheck: R,
200
+ onSelect: O,
201
+ class: f.e("modal-content-left-tree")
185
202
  }, {
186
- icon: (e) => P(e),
187
- title: (e) => {
188
- const l = e.label || "";
189
- if (!p.value)
190
- return a("span", null, [l]);
191
- const n = l.indexOf(p.value);
192
- if (n === -1)
193
- return a("span", null, [l]);
194
- const d = l.substring(0, n), t = l.substring(n, n + p.value.length), i = l.substring(n + p.value.length);
195
- return a("span", null, [d, a("span", {
196
- style: "color: #f50; font-weight: bold"
197
- }, [t]), i]);
198
- },
203
+ icon: (e) => T(e),
204
+ title: G,
199
205
  _: 1
200
- }, 8, ["expandedKeys", "onUpdate:expandedKeys", "selectedKeys", "onUpdate:selectedKeys", "checkedKeys", "onUpdate:checkedKeys", "checkable", "checkStrictly", "show-icon", "autoExpandParent", "blockNode", "defaultExpandAll", "fieldNames", "show-line", "tree-data", "onCheck", "onSelect", "class"]) : a(K, {
206
+ }, 8, ["expandedKeys", "onUpdate:expandedKeys", "selectedKeys", "onUpdate:selectedKeys", "checkedKeys", "onUpdate:checkedKeys", "checkable", "checkStrictly", "show-icon", "autoExpandParent", "blockNode", "defaultExpandAll", "fieldNames", "show-line", "tree-data", "onCheck", "onSelect", "class"]) : n(C, {
201
207
  description: "暂无数据",
202
- image: K.PRESENTED_IMAGE_SIMPLE
203
- }, null, 8, ["image"])], 2), P = (e) => a(I, {
208
+ image: C.PRESENTED_IMAGE_SIMPLE
209
+ }, null, 8, ["image"])], 2), T = (e) => n(P, {
204
210
  name: e.parentId === "0" ? "qiye" : "bumen",
205
211
  size: 16
206
- }, null, 8, ["name"]), q = () => a("div", {
207
- class: v.e("modal-content-right")
208
- }, [o.value.length > 0 ? o.value.map((e) => a("div", {
209
- class: v.e("modal-content-right-item")
210
- }, [a("div", {
211
- class: v.e("modal-content-right-item-label")
212
- }, [P(e), a("span", null, [e.label])], 2), a("div", {
213
- class: v.e("modal-content-right-item-del"),
214
- onClick: () => z(e)
215
- }, [a(I, {
212
+ }, null, 8, ["name"]), j = () => n("div", {
213
+ class: f.e("modal-content-right")
214
+ }, [s.value.length > 0 ? s.value.map((e) => n("div", {
215
+ class: f.e("modal-content-right-item")
216
+ }, [n("div", {
217
+ class: f.e("modal-content-right-item-label")
218
+ }, [T(e), n("span", null, [e[d.value.title]])], 2), n("div", {
219
+ class: f.e("modal-content-right-item-del"),
220
+ onClick: () => L(e)
221
+ }, [n(P, {
216
222
  name: "shanchu",
217
223
  size: 16
218
- }, null)], 10, ["onClick"])], 2)) : a(K, {
224
+ }, null)], 10, ["onClick"])], 2)) : n(C, {
219
225
  description: "暂无数据",
220
- image: K.PRESENTED_IMAGE_SIMPLE
226
+ image: C.PRESENTED_IMAGE_SIMPLE
221
227
  }, null, 8, ["image"])], 2);
222
228
  return () => {
223
229
  var e;
224
- return a("div", {
225
- class: v.b()
226
- }, [(e = k.default) != null && e.call(k) ? k.default() : a("div", null, [a(Y, {
230
+ return n("div", {
231
+ class: f.b()
232
+ }, [(e = g.default) != null && e.call(g) ? g.default() : n("div", null, [n(Y, {
227
233
  style: "width: 100%;",
228
234
  readonly: !0,
229
- value: E.value,
230
- "onUpdate:value": (l) => E.value = l,
231
- onClick: () => f("update:visible", !0)
235
+ value: S.value,
236
+ "onUpdate:value": (t) => S.value = t,
237
+ onClick: () => m("update:visible", !0)
232
238
  }, {
233
- suffix: () => a("div", {
234
- onClick: () => f("update:visible", !0)
235
- }, [a(I, {
239
+ suffix: () => n("div", {
240
+ onClick: () => m("update:visible", !0)
241
+ }, [n(P, {
236
242
  style: {
237
243
  cursor: "pointer"
238
244
  },
@@ -241,10 +247,10 @@ const v = Q("dept-selector"), de = /* @__PURE__ */ H({
241
247
  color: "#606266"
242
248
  }, null)], 8, ["onClick"]),
243
249
  _: 1
244
- }, 8, ["readonly", "value", "onUpdate:value", "onClick"])]), R()], 2);
250
+ }, 8, ["readonly", "value", "onUpdate:value", "onClick"])]), F()], 2);
245
251
  };
246
252
  }
247
253
  });
248
254
  export {
249
- de as default
255
+ oe as default
250
256
  };
@@ -11,12 +11,41 @@ const t = {
11
11
  treeData: {
12
12
  type: Array,
13
13
  default: () => []
14
- }
15
- }, a = {
14
+ },
15
+ fieldNames: {
16
+ type: Object,
17
+ default: () => ({
18
+ title: "label",
19
+ key: "id",
20
+ children: "children"
21
+ })
22
+ },
23
+ /**
24
+ * 是否使用内置请求,内置请求会走用户中心即
25
+ * ${prefix}security/company/role/page?pageNum=1&pageSize=1000
26
+ */
27
+ isBuiltInRequest: {
28
+ type: Boolean,
29
+ default: !1
30
+ },
31
+ /**
32
+ * axios 实例
33
+ */
34
+ http: {
35
+ type: [Object, Function],
36
+ default: () => {
37
+ }
38
+ },
39
+ /**
40
+ * 请求前缀,如 qy-user-service
41
+ */
42
+ prefix: String
43
+ }, l = "/security/dept/company/tree", a = {
16
44
  "update:visible": (e) => !0,
17
45
  "update:modelValue": (e) => !0
18
46
  };
19
47
  export {
48
+ l as GET_DEPT_TREE_URL,
20
49
  a as deptSelectorEmits,
21
50
  t as deptSelectorProps
22
51
  };
@@ -1,11 +1,14 @@
1
- import { withInstall as t } from "../utils/install.mjs";
2
- import r from "./src/pro-user.mjs";
1
+ import { withInstall as r } from "../utils/install.mjs";
2
+ import e from "./src/pro-user.mjs";
3
3
  import "./style/index.mjs";
4
- import "./src/types.mjs";
4
+ import { GTE_ORGTREE_URL as l, UserSelectorProps as E, selectUserContextKey as R } from "./src/types.mjs";
5
5
  import "./src/hooks/index.mjs";
6
- r.GTE_ORGTREE_URL = "/security/dept/user/tree";
7
- const s = t(r);
6
+ e.GTE_ORGTREE_URL = "/security/dept/user/tree";
7
+ const m = r(e);
8
8
  export {
9
- s as KUserSelector,
10
- r as ProUserSelector
9
+ l as GTE_ORGTREE_URL,
10
+ m as KUserSelector,
11
+ e as ProUserSelector,
12
+ E as UserSelectorProps,
13
+ R as selectUserContextKey
11
14
  };