@baishuyun/ui-business 5.2.1 → 5.2.3

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 (31) hide show
  1. package/README.md +12 -1
  2. package/dist/BubbleChart/{AutoGridEChart-nA3DwlqB.js → AutoGridEChart-BQsZw7nv.js} +37 -42
  3. package/dist/BubbleChart/{BubbleChart-Bq-qzSTk.js → BubbleChart-BN3msB5e.js} +3 -2
  4. package/dist/BubbleChart/index.js +2 -2
  5. package/dist/ConfigProvider/{ConfigProvider-C0c1mKeR.js → ConfigProvider-Cwc-Gz9h.js} +10 -6
  6. package/dist/ConfigProvider/index.js +1 -1
  7. package/dist/DeptsMemberSelector/{Department-D7xrfl-D.js → Department-6R-BZNZ4.js} +3 -3
  8. package/dist/DeptsMemberSelector/{DeptsMemberSelector-u-2aq3Yq.js → DeptsMemberSelector-CC32KXc8.js} +5 -5
  9. package/dist/DeptsMemberSelector/{DeptsUser-Du342aN-.js → DeptsUser-9Lf7ytTr.js} +6 -6
  10. package/dist/DeptsMemberSelector/{Member-Bit-zWOE.js → Member-BY8mtQb0.js} +3 -3
  11. package/dist/DeptsMemberSelector/{MemberPanel-BhuVgJdO.js → MemberPanel-Dw1b2J3V.js} +2 -2
  12. package/dist/DeptsMemberSelector/{OrganizationPanel-BPEqHxNb.js → OrganizationPanel-Di4dqUlZ.js} +2 -2
  13. package/dist/DeptsMemberSelector/{RelationShipDepts-kpemRPz1.js → RelationShipDepts-__eb4oDP.js} +1 -1
  14. package/dist/DeptsMemberSelector/{RelationShipList-BhiAdVjm.js → RelationShipList-CS5uhLos.js} +1 -1
  15. package/dist/DeptsMemberSelector/index.js +9 -9
  16. package/dist/DeptsMemberSelector/services/contact/selector.service-BFwBe9fo.js +346 -0
  17. package/dist/DeptsMemberSelector/subcomponents/Entity/Department/index.js +3 -3
  18. package/dist/DeptsMemberSelector/subcomponents/Entity/DeptsUser/index.js +6 -6
  19. package/dist/DeptsMemberSelector/subcomponents/Entity/Member/index.js +3 -3
  20. package/dist/DeptsMemberSelector/subcomponents/Panels/MemberRelationShipPanel/RelationShipDepts/index.js +2 -2
  21. package/dist/DeptsMemberSelector/subcomponents/Panels/MemberRelationShipPanel/RelationShipList/index.js +2 -2
  22. package/dist/DeptsMemberSelector/{useDeptsMemberSelector-t7b8yu-A.js → useDeptsMemberSelector-B2Un1d5r.js} +1 -1
  23. package/dist/Scatterplot/{Scatterplot-COVrzURp.js → Scatterplot-BZC0IKc0.js} +3 -2
  24. package/dist/Scatterplot/index.js +2 -2
  25. package/dist/components/ConfigProvider/ConfigProvider.type.d.ts +2 -1
  26. package/dist/index.css +1 -1
  27. package/dist/index.js +13 -13
  28. package/dist/services/apiService.d.ts +1 -0
  29. package/dist/vendors/lodash-es.js +1 -1
  30. package/package.json +2 -2
  31. package/dist/DeptsMemberSelector/services/contact/selector.service-CY5vQea8.js +0 -342
package/README.md CHANGED
@@ -138,6 +138,17 @@ setApiServiceProvider({
138
138
  });
139
139
  ```
140
140
 
141
+ 如果历史项目传入的仍是完整 Axios 响应,可以额外传入 `responseAdapter`:
142
+
143
+ ```typescript
144
+ setApiServiceProvider({
145
+ axiosInstance: request,
146
+ responseAdapter: response => (response as { data?: unknown }).data,
147
+ });
148
+ ```
149
+
150
+ `responseAdapter` 只负责拆公共响应外壳,不负责读取 `departments`、`users` 等具体业务字段。
151
+
141
152
  ## 高级配置
142
153
 
143
154
  ### 多环境配置
@@ -254,4 +265,4 @@ const switchToTestEnv = () => {
254
265
  Error: API 服务提供者未设置。请先调用 setApiServiceProvider() 设置 Axios 实例。
255
266
  ```
256
267
 
257
- 确保在使用任何组件库功能之前完成配置。
268
+ 确保在使用任何组件库功能之前完成配置。
@@ -4,8 +4,8 @@ import { forwardRef as n, useEffect as r, useImperativeHandle as i, useRef as a,
4
4
  import { jsx as s, jsxs as c } from "react/jsx-runtime";
5
5
  //#region src/utils/getLegendHeight.ts
6
6
  function l(e, t, n, r, i) {
7
- let a = 0, o = 0, s = parseInt(r.fontSize) || 10, c = e.series.map((e) => e.data[0][0].toString()), l = e.series.map((e) => e.data[0][1].toString()), u = e.series.map((e) => e.name);
8
- function d(e) {
7
+ let a = 0, o = 0, s = e.series.map((e) => e.data[0][0].toString()), c = e.series.map((e) => e.data[0][1].toString()), l = e.series.map((e) => e.name);
8
+ function u(e) {
9
9
  let t = "";
10
10
  if (e.fontSize || e.fontFamily || e.fontWeight) {
11
11
  let n = "";
@@ -18,46 +18,46 @@ function l(e, t, n, r, i) {
18
18
  }
19
19
  return t && t.trim() || e.textFont || e.font;
20
20
  }
21
- function f(e, t) {
21
+ function d(e, t) {
22
22
  let n = { ...t };
23
23
  n.fontSize = parseInt(n.fontSize), n.fontFamily = n.fontFamily || "verdana";
24
- let r = d(n), i = document.createElement("canvas").getContext("2d") || {};
24
+ let r = u(n), i = document.createElement("canvas").getContext("2d") || {};
25
25
  return i.font = r, i?.measureText(e)?.width || 0;
26
26
  }
27
- function p(e, t) {
27
+ function f(e, t) {
28
28
  if (Array.isArray(e)) for (let n = 0, r = e.length; n < r && t.apply(e[n], [n, e[n]]) !== !1; n++);
29
29
  else if (e && typeof e == "object") {
30
30
  for (let n in e) if (Object.prototype.hasOwnProperty.call(e, n) && t.apply(e[n], [n, e[n]]) === !1) break;
31
31
  }
32
32
  }
33
- function m() {
33
+ function p() {
34
34
  let t = 0;
35
35
  if (e.xAxis && e.xAxis.axisLabel) {
36
36
  let n = e.xAxis.axisLabel.rotate;
37
37
  if (n && n !== 0) {
38
38
  let r = 0, i = "";
39
- if (c && Array.isArray(c) && c.forEach((e) => {
39
+ if (s && Array.isArray(s) && s.forEach((e) => {
40
40
  let t = e;
41
41
  t.length > r && (r = t.length, i = t);
42
42
  }), r > 0) {
43
- let r = f(i, e.xAxis.axisLabel), a = Math.abs(n) * Math.PI / 180;
43
+ let r = d(i, e.xAxis.axisLabel), a = Math.abs(n) * Math.PI / 180;
44
44
  t = r * Math.sin(a);
45
45
  }
46
46
  }
47
47
  }
48
48
  return t;
49
49
  }
50
- function h() {
50
+ function m() {
51
51
  let t = 0;
52
52
  if (e.yAxis && e.yAxis.axisLabel) {
53
53
  let n = e.yAxis.axisLabel.rotate;
54
54
  if (n && n !== 0) {
55
55
  let r = 0, i = "";
56
- if (l && Array.isArray(l) && l.forEach((e) => {
56
+ if (c && Array.isArray(c) && c.forEach((e) => {
57
57
  let t = e;
58
58
  t.length > r && (r = t.length, i = t);
59
59
  }), r > 0) {
60
- let r = f(i, e.yAxis.axisLabel);
60
+ let r = d(i, e.yAxis.axisLabel);
61
61
  if (n === 0) t = r;
62
62
  else if (n === 90) t = parseInt(e.yAxis.axisLabel.fontSize) || 12;
63
63
  else {
@@ -70,66 +70,61 @@ function l(e, t, n, r, i) {
70
70
  }
71
71
  return t;
72
72
  }
73
- function g() {
74
- let e = 0, n = Array.isArray(t) ? t.length : Object.keys(t || {}).length;
75
- return n > 10 ? e = 20 : n > 5 && (e = 10), e;
76
- }
77
- if (e.legend.type === "scroll") return s + 10 + m() + h() + g();
78
- let _ = e.legend.itemWidth || 25, v = e.legend.itemGap ?? 10;
79
- p(t, (e, t) => {
80
- let i = f(t, r || {
73
+ let h = e.legend.itemWidth || 25, g = e.legend.itemGap ?? 10;
74
+ f(t, (e, t) => {
75
+ let i = d(t, r || {
81
76
  fontFamily: "verdana",
82
77
  fontSize: 10,
83
78
  fontStyle: "normal",
84
79
  fontWeight: "normal"
85
- }) + v + _ + 5;
80
+ }) + g + h + 5;
86
81
  o > 0 && o + i > n ? (a++, o = i) : o += i;
87
82
  });
88
- function y(e, t, n, i) {
89
- let a = i.legend;
90
- if (!a.show) return 0;
91
- let o = n.itemHeight || 25, s = n.itemGap ?? 10, c = a.itemWidth || 25, l = e.map((e) => e.name || e), u = n.textStyle || r || {
83
+ function _(t, n, i, a) {
84
+ let o = a.legend;
85
+ if (!o.show) return 0;
86
+ let s = i.itemHeight || 25, c = i.itemGap ?? 10, l = o.itemWidth || 25, u = t.map((e) => e.name || e), f = i.textStyle || r || {
92
87
  fontSize: 12,
93
88
  fontFamily: "verdana"
94
- }, d = (e) => f(e, u);
95
- if (i.legend.left === "left" || i.legend.right === "right") {
96
- let n = Math.max(0, ...l.map((e) => d(e))), r = c + 5 + n;
97
- return Math.ceil(o * e.length / t) * (r + s) + 20;
89
+ }, p = (e) => d(e, f);
90
+ if (a.legend.left === "left" || a.legend.left === "right") {
91
+ let r = Math.max(0, ...u.map((e) => p(e))), i = l + 5 + r, a = Math.ceil(s * t.length / n), o = i + c;
92
+ return e.legend.type === "scroll" ? o + 20 : a * o + 20;
98
93
  }
99
94
  return 0;
100
95
  }
101
- let b = y(u, i, e.legend, e), x = e.legend.itemHeight || 25, S = e.legend.itemGap ?? 10, C = typeof e.legend.padding == "number" ? e.legend.padding : Array.isArray(e.legend.padding) ? e.legend.padding[0] ?? 5 : 5, w = (a + 1) * x + a * S + C * 2, T = m(), E = h(), D = -5, O = -5, k = -5, A = -5;
96
+ let v = _(l, i, e.legend, e), y = e.legend.itemHeight || 25, b = e.legend.itemGap ?? 10, x = typeof e.legend.padding == "number" ? e.legend.padding : Array.isArray(e.legend.padding) ? e.legend.padding[0] ?? 5 : 5, S = e.legend.type === "scroll" ? 25 : (a + 1) * y + a * b + x * 2, C = p(), w = m(), T = -5, E = -5, D = -5, O = -5;
102
97
  return {
103
98
  grid: {
104
99
  top: (() => {
105
100
  let t = 20;
106
- return e.xAxis.position === "top" && (t += T + 10), e.legend.show && (e.legend.top === "top" || e.legend.top === "") && (O += w, t += w), e.xAxis.title !== "" && e.xAxis.position === "top" && (t += 30), t;
101
+ return e.xAxis.position === "top" && (t += C + 10), e.legend.show && (e.legend.top === "top" || e.legend.top === "") && (E += S, t += S), e.xAxis.title !== "" && e.xAxis.position === "top" && (t += 30), t;
107
102
  })(),
108
103
  bottom: (() => {
109
104
  let t = 20;
110
- return e.xAxis.position === "bottom" && (t += T + 10), e.legend.show && e.legend.top === "bottom" && (D += w, t += w), e.xAxis.title !== "" && e.xAxis.position === "bottom" && (t += 30), t;
105
+ return e.xAxis.position === "bottom" && (t += C + 10), e.legend.show && e.legend.top === "bottom" && (T += S, t += S), e.xAxis.title !== "" && e.xAxis.position === "bottom" && (t += 30), t;
111
106
  })(),
112
107
  left: (() => {
113
108
  let t = 20;
114
- return e.yAxis.position === "left" && (t += E), e.legend.show && e.legend.left === "left" && (k += b, t += b), e.yAxis.title !== "" && e.yAxis.position === "left" && (t += 10), t;
109
+ return e.yAxis.position === "left" && (t += w), e.legend.show && e.legend.left === "left" && (D += v, t += v), e.yAxis.title !== "" && e.yAxis.position === "left" && (t += 10), t;
115
110
  })(),
116
111
  right: (() => {
117
112
  let t = 20;
118
- return e.yAxis.position === "right" && (t += E + 10), e.legend.show && e.legend.left === "right" && (A += b, t += b), e.yAxis.title !== "" && e.yAxis.position === "right" && (t += 30), t;
113
+ return e.yAxis.position === "right" && (t += w + 10), e.legend.show && e.legend.left === "right" && (console.info("legendSideWidth", e, v), O += v, t += v), e.yAxis.title !== "" && e.yAxis.position === "right" && (t += 30), t;
119
114
  })()
120
115
  },
121
- titleBottomHeight: D,
122
- titleTopHeight: O,
123
- titleLeftHeight: k,
124
- titleRightHeight: A
116
+ titleBottomHeight: T,
117
+ titleTopHeight: E,
118
+ titleLeftHeight: D,
119
+ titleRightHeight: O
125
120
  };
126
121
  }
127
122
  //#endregion
128
123
  //#region src/components/BubbleChart/BubbleChart.module.scss
129
124
  var u = {
130
- "auto-grid-echart": "_auto-grid-echart_w04s7_1",
131
- "xAxis-title": "_xAxis-title_w04s7_6",
132
- "yAxis-title": "_yAxis-title_w04s7_11"
125
+ "auto-grid-echart": "_auto-grid-echart_1hyxg_1",
126
+ "xAxis-title": "_xAxis-title_1hyxg_6",
127
+ "yAxis-title": "_yAxis-title_1hyxg_11"
133
128
  }, d = n((n, d) => {
134
129
  let f = a(null), p = a(null), m = a(null), [h, g] = o({}), _ = n.dataList.map((e) => e.name), v = () => f.current ? (g(l(n.option, _, f.current.offsetWidth, n.option.legend.textStyle, f.current.offsetHeight)), {
135
130
  ...n.option,
@@ -141,7 +136,7 @@ var u = {
141
136
  if (!f.current) return;
142
137
  p.current = t(f.current);
143
138
  let e = v();
144
- p.current.setOption(e, !0), p.current.on("click", function(e) {
139
+ console.info(1111, e), p.current.setOption(e, !0), p.current.on("click", function(e) {
145
140
  n.onChartClick && n.onChartClick(e, n.options, n.dataList);
146
141
  });
147
142
  let r = () => {
@@ -159,7 +154,7 @@ var u = {
159
154
  if (!p.current) return;
160
155
  let e = v();
161
156
  p.current.setOption(e, !0);
162
- }, [n.option]), /* @__PURE__ */ c("div", {
157
+ }, [n.option]), console.info(4545, n.option.yAxis?.position, h), /* @__PURE__ */ c("div", {
163
158
  className: e(n.className, u["auto-grid-echart"]),
164
159
  children: [
165
160
  /* @__PURE__ */ s("div", {
@@ -1,5 +1,5 @@
1
1
  import { n as e } from "../vendors/echarts.js";
2
- import { t } from "./AutoGridEChart-nA3DwlqB.js";
2
+ import { t } from "./AutoGridEChart-BQsZw7nv.js";
3
3
  import { forwardRef as n, useImperativeHandle as r, useRef as i } from "react";
4
4
  import { jsx as a } from "react/jsx-runtime";
5
5
  var o = n((n, o) => {
@@ -18,7 +18,7 @@ var o = n((n, o) => {
18
18
  min: n,
19
19
  avg: Number(r)
20
20
  };
21
- }, u = c(n.dataList), d = l(u.index0), f = l(u.index1), p = n.options.xFields[n.options.xFields.length - 1].colors || [], m = {
21
+ }, u = c(n.dataList), d = l(u.index0), f = l(u.index1), p = n.options.xFields[n.options.xFields.length - 1].colors || n.options.xFields[n.options.xFields.length - 1].color || [], m = {
22
22
  xAxis: {
23
23
  axisLabel: {
24
24
  color: "#666666",
@@ -80,6 +80,7 @@ var o = n((n, o) => {
80
80
  padding: 10,
81
81
  itemWidth: 12,
82
82
  itemHeight: 14,
83
+ right: 30,
83
84
  type: n.options.legend.type || "plain",
84
85
  textStyle: { fontStyle: "normal" }
85
86
  },
@@ -1,6 +1,6 @@
1
1
  import "../vendors/echarts.js";
2
- import "./AutoGridEChart-nA3DwlqB.js";
3
- import { t as e } from "./BubbleChart-Bq-qzSTk.js";
2
+ import "./AutoGridEChart-BQsZw7nv.js";
3
+ import { t as e } from "./BubbleChart-BN3msB5e.js";
4
4
  //#region src/components/BubbleChart/index.ts
5
5
  var t = e;
6
6
  //#endregion
@@ -4,16 +4,20 @@ import { useEffect as n } from "react";
4
4
  import { jsx as r } from "react/jsx-runtime";
5
5
  //#region src/components/ConfigProvider/ConfigProvider.tsx
6
6
  var i = (i) => {
7
- let { locale: a, axiosInstance: o, preFetchedNodes: s } = i;
7
+ let { locale: a, axiosInstance: o, responseAdapter: s, preFetchedNodes: c } = i;
8
8
  return n(() => {
9
- o && t({ axiosInstance: o });
10
- }, [o]), n(() => {
11
- s && s.length > 0 && sessionStorage.setItem("preset_bsy_dept_member", JSON.stringify(s));
12
- }, [s]), /* @__PURE__ */ r(e.Provider, {
9
+ o && t({
10
+ axiosInstance: o,
11
+ responseAdapter: s
12
+ });
13
+ }, [o, s]), n(() => {
14
+ c && c.length > 0 && sessionStorage.setItem("preset_bsy_dept_member", JSON.stringify(c));
15
+ }, [c]), /* @__PURE__ */ r(e.Provider, {
13
16
  value: {
14
17
  locale: a,
15
18
  axiosInstance: o,
16
- preFetchedNodes: s
19
+ responseAdapter: s,
20
+ preFetchedNodes: c
17
21
  },
18
22
  children: i.children
19
23
  });
@@ -1,5 +1,5 @@
1
1
  import "./configContext-kYu9qTM2.js";
2
- import { t as e } from "./ConfigProvider-C0c1mKeR.js";
2
+ import { t as e } from "./ConfigProvider-Cwc-Gz9h.js";
3
3
  //#region src/components/ConfigProvider/index.ts
4
4
  var t = e;
5
5
  //#endregion
@@ -1,10 +1,10 @@
1
1
  import { t as e } from "../vendors/simplebar-react.js";
2
2
  import { t } from "../vendors/clsx.js";
3
- import { r as n, t as r } from "./useDeptsMemberSelector-t7b8yu-A.js";
4
- import { h as i } from "./services/contact/selector.service-CY5vQea8.js";
3
+ import { r as n, t as r } from "./useDeptsMemberSelector-B2Un1d5r.js";
4
+ import { h as i } from "./services/contact/selector.service-BFwBe9fo.js";
5
5
  import { a, i as o } from "./TabGroup-Dht9ylk4.js";
6
6
  import { t as s } from "../vendors/useLocale.js";
7
- import { t as c } from "./OrganizationPanel-BPEqHxNb.js";
7
+ import { t as c } from "./OrganizationPanel-Di4dqUlZ.js";
8
8
  import { useMemo as l, useState as u } from "react";
9
9
  import { Radio as d, Spin as f } from "antd";
10
10
  import { Checkbox as p } from "@baishuyun/ui-base";
@@ -1,14 +1,14 @@
1
1
  import { t as e } from "../vendors/simplebar-react.js";
2
2
  import { t } from "../vendors/clsx.js";
3
3
  import { a as n, o as r } from "../vendors/lodash-es.js";
4
- import { a as i, c as a, i as o, l as s, n as c, o as l, r as u, s as d, t as f, u as p } from "./useDeptsMemberSelector-t7b8yu-A.js";
5
- import { b as m, d as h, f as g, h as _, p as v, t as y } from "./services/contact/selector.service-CY5vQea8.js";
4
+ import { a as i, c as a, i as o, l as s, n as c, o as l, r as u, s as d, t as f, u as p } from "./useDeptsMemberSelector-B2Un1d5r.js";
5
+ import { b as m, d as h, f as g, h as _, p as v, t as y } from "./services/contact/selector.service-BFwBe9fo.js";
6
6
  import { a as b, i as x, n as S, r as C } from "./TabGroup-Dht9ylk4.js";
7
7
  import { t as w } from "../vendors/useLocale.js";
8
8
  import { findNodeInTree as T, getColorByName as E, getMemberDisplayName as D } from "./utils/index.js";
9
- import { t as O } from "./DeptsUser-Du342aN-.js";
10
- import { t as k } from "./Member-Bit-zWOE.js";
11
- import { n as A, t as ee } from "./Department-D7xrfl-D.js";
9
+ import { t as O } from "./DeptsUser-9Lf7ytTr.js";
10
+ import { t as k } from "./Member-BY8mtQb0.js";
11
+ import { n as A, t as ee } from "./Department-6R-BZNZ4.js";
12
12
  import { forwardRef as j, useCallback as te, useEffect as M, useImperativeHandle as ne, useMemo as N, useRef as P, useState as F } from "react";
13
13
  import { Avatar as I, Button as L, Spin as R } from "antd";
14
14
  import { Icon as z, Tree as B } from "@baishuyun/ui-base";
@@ -1,14 +1,14 @@
1
1
  import { t as e } from "../vendors/simplebar-react.js";
2
2
  import { t } from "../vendors/clsx.js";
3
- import { t as n } from "./useDeptsMemberSelector-t7b8yu-A.js";
4
- import { a as r, c as i, i as a, n as o, o as s, r as c, s as l } from "./services/contact/selector.service-CY5vQea8.js";
3
+ import { t as n } from "./useDeptsMemberSelector-B2Un1d5r.js";
4
+ import { a as r, c as i, i as a, n as o, o as s, r as c, s as l } from "./services/contact/selector.service-BFwBe9fo.js";
5
5
  import { i as u } from "./TabGroup-Dht9ylk4.js";
6
6
  import { t as d } from "../vendors/useLocale.js";
7
7
  import { buildDeptTree as f, buildTree as p, getColorByName as m } from "./utils/index.js";
8
- import { t as h } from "./OrganizationPanel-BPEqHxNb.js";
9
- import { n as g, t as _ } from "./MemberPanel-BhuVgJdO.js";
10
- import { t as v } from "./RelationShipList-BhiAdVjm.js";
11
- import { t as y } from "./RelationShipDepts-kpemRPz1.js";
8
+ import { t as h } from "./OrganizationPanel-Di4dqUlZ.js";
9
+ import { n as g, t as _ } from "./MemberPanel-Dw1b2J3V.js";
10
+ import { t as v } from "./RelationShipList-CS5uhLos.js";
11
+ import { t as y } from "./RelationShipDepts-__eb4oDP.js";
12
12
  import { useMemo as b, useState as x } from "react";
13
13
  import { Avatar as S, Spin as C } from "antd";
14
14
  import { Checkbox as w, Icon as T, Tree as E } from "@baishuyun/ui-base";
@@ -1,11 +1,11 @@
1
1
  import { t as e } from "../vendors/simplebar-react.js";
2
2
  import { t } from "../vendors/clsx.js";
3
- import { l as n, t as r } from "./useDeptsMemberSelector-t7b8yu-A.js";
4
- import { _ as i, a, g as o, h as s, i as c, l, p as u, t as d, u as f, v as p } from "./services/contact/selector.service-CY5vQea8.js";
3
+ import { l as n, t as r } from "./useDeptsMemberSelector-B2Un1d5r.js";
4
+ import { _ as i, a, g as o, h as s, i as c, l, p as u, t as d, u as f, v as p } from "./services/contact/selector.service-BFwBe9fo.js";
5
5
  import { a as m } from "./TabGroup-Dht9ylk4.js";
6
6
  import { t as h } from "../vendors/useLocale.js";
7
7
  import { buildTree as g } from "./utils/index.js";
8
- import { n as _, t as v } from "./MemberPanel-BhuVgJdO.js";
8
+ import { n as _, t as v } from "./MemberPanel-Dw1b2J3V.js";
9
9
  import { useMemo as y, useRef as b, useState as x } from "react";
10
10
  import { Spin as S } from "antd";
11
11
  import { Icon as C, Tree as w } from "@baishuyun/ui-base";
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "../vendors/simplebar-react.js";
2
2
  import { t } from "../vendors/clsx.js";
3
- import { c as n, o as r, t as i } from "./useDeptsMemberSelector-t7b8yu-A.js";
4
- import { m as a, n as o, p as s, r as c, t as l } from "./services/contact/selector.service-CY5vQea8.js";
3
+ import { c as n, o as r, t as i } from "./useDeptsMemberSelector-B2Un1d5r.js";
4
+ import { m as a, n as o, p as s, r as c, t as l } from "./services/contact/selector.service-BFwBe9fo.js";
5
5
  import { a as u, i as d, n as f, t as p } from "./TabGroup-Dht9ylk4.js";
6
6
  import { t as m } from "../vendors/useLocale.js";
7
7
  import { buildDeptTree as h, buildTree as g, findNodeInTree as _, getColorByName as v, getMemberDisplayName as y } from "./utils/index.js";
@@ -1,8 +1,8 @@
1
1
  import { t as e } from "../vendors/simplebar-react.js";
2
2
  import { t } from "../vendors/clsx.js";
3
3
  import { r as n, t as r } from "../vendors/lodash-es.js";
4
- import { i, t as a } from "./useDeptsMemberSelector-t7b8yu-A.js";
5
- import { n as o, p as s } from "./services/contact/selector.service-CY5vQea8.js";
4
+ import { i, t as a } from "./useDeptsMemberSelector-B2Un1d5r.js";
5
+ import { n as o, p as s } from "./services/contact/selector.service-BFwBe9fo.js";
6
6
  import { a as c, i as l, n as u, r as d, t as f } from "./TabGroup-Dht9ylk4.js";
7
7
  import { t as p } from "../vendors/useLocale.js";
8
8
  import { buildDeptTree as m, buildTree as h, findNodeInTree as g } from "./utils/index.js";
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "../vendors/simplebar-react.js";
2
2
  import { t } from "../vendors/clsx.js";
3
- import { t as n } from "./useDeptsMemberSelector-t7b8yu-A.js";
3
+ import { t as n } from "./useDeptsMemberSelector-B2Un1d5r.js";
4
4
  import { t as r } from "../vendors/useLocale.js";
5
5
  import { Spin as i } from "antd";
6
6
  import { Icon as a, Tree as o } from "@baishuyun/ui-base";
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "../vendors/simplebar-react.js";
2
2
  import { t } from "../vendors/clsx.js";
3
- import { t as n } from "./useDeptsMemberSelector-t7b8yu-A.js";
3
+ import { t as n } from "./useDeptsMemberSelector-B2Un1d5r.js";
4
4
  import { Spin as r } from "antd";
5
5
  import { Checkbox as i } from "@baishuyun/ui-base";
6
6
  import { jsx as a } from "react/jsx-runtime";
@@ -1,17 +1,17 @@
1
1
  import "../vendors/simplebar-react.js";
2
- import "./useDeptsMemberSelector-t7b8yu-A.js";
2
+ import "./useDeptsMemberSelector-B2Un1d5r.js";
3
3
  import { a as e } from "./TabGroup-Dht9ylk4.js";
4
- import { t } from "./DeptsMemberSelector-u-2aq3Yq.js";
4
+ import { t } from "./DeptsMemberSelector-CC32KXc8.js";
5
5
  import "../vendors/useLocale.js";
6
6
  import "../ConfigProvider/configContext-kYu9qTM2.js";
7
7
  import { getColorByName as n } from "./utils/index.js";
8
- import "./DeptsUser-Du342aN-.js";
9
- import "./OrganizationPanel-BPEqHxNb.js";
10
- import "./MemberPanel-BhuVgJdO.js";
11
- import "./RelationShipList-BhiAdVjm.js";
12
- import "./RelationShipDepts-kpemRPz1.js";
13
- import "./Member-Bit-zWOE.js";
14
- import "./Department-D7xrfl-D.js";
8
+ import "./DeptsUser-9Lf7ytTr.js";
9
+ import "./OrganizationPanel-Di4dqUlZ.js";
10
+ import "./MemberPanel-Dw1b2J3V.js";
11
+ import "./RelationShipList-CS5uhLos.js";
12
+ import "./RelationShipDepts-__eb4oDP.js";
13
+ import "./Member-BY8mtQb0.js";
14
+ import "./Department-6R-BZNZ4.js";
15
15
  //#region src/components/DeptsMemberSelector/index.ts
16
16
  var r = t;
17
17
  //#endregion