@baishuyun/ui-business 2.0.3 → 2.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/DeptsMember/{DeptsMember-BSh1OsSC.js → DeptsMember-pFjdAocd.js} +181 -171
- package/dist/DeptsMember/{TabGroup-LsBzSRvu.js → TabGroup-CznMwTOD.js} +35 -35
- package/dist/DeptsMember/index.js +2 -2
- package/dist/DeptsMember/subcomponents/Entity/Department/index.js +3 -3
- package/dist/DeptsMember/subcomponents/Entity/Member/index.js +3 -3
- package/dist/components/DeptsMember/subcomponents/TagIcon/TagIcon.d.ts +1 -0
- package/dist/index.css +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
1
|
+
import { jsx as e, jsxs as f, Fragment as K } from "react/jsx-runtime";
|
|
2
2
|
import { c as w } from "../vendors/clsx.js";
|
|
3
|
-
import { u as D, a as C, b as ne, E as
|
|
3
|
+
import { u as D, a as C, b as ne, E as p, M as ce, T as de, P as pe, G as $, c as me, D as ue } from "./TabGroup-CznMwTOD.js";
|
|
4
4
|
import { Avatar as G, Button as V, Spin as ae } from "antd";
|
|
5
|
-
import { forwardRef as he, useRef as T, useImperativeHandle as fe, useState as
|
|
6
|
-
import { Icon as
|
|
5
|
+
import { forwardRef as he, useRef as T, useImperativeHandle as fe, useState as k, useEffect as A, useMemo as z, useCallback as be } from "react";
|
|
6
|
+
import { Icon as S, Tree as se } from "bsy-react-ui";
|
|
7
7
|
import { createPortal as xe } from "react-dom";
|
|
8
8
|
import { AnimatePresence as X, motion as Y } from "motion/react";
|
|
9
|
-
import { useToggle as ye, useControllableValue as
|
|
9
|
+
import { useToggle as ye, useControllableValue as re, useRequest as H } from "ahooks";
|
|
10
10
|
import { S as F } from "../vendors/simplebar-react.js";
|
|
11
11
|
import { CloseOutlined as ve } from "@ant-design/icons";
|
|
12
12
|
import { getColorByName as W, findNodeInTree as J } from "./utils/index.js";
|
|
13
13
|
import { n as ge, d as _e } from "../vendors/lodash-es.js";
|
|
14
14
|
import { useMemberTabItems as Ne } from "./subcomponents/Entity/Member/index.js";
|
|
15
15
|
import { useDepartmentTabItems as we } from "./subcomponents/Entity/Department/index.js";
|
|
16
|
-
import { g as Ee, a as
|
|
17
|
-
import { g as
|
|
16
|
+
import { g as Ee, a as ke } from "../vendors/services/data/outsider.service.js";
|
|
17
|
+
import { g as Se } from "../vendors/services/data/member_limit.service.js";
|
|
18
18
|
import { g as Re } from "../vendors/services/data/member.service.js";
|
|
19
19
|
import { produce as Te } from "immer";
|
|
20
20
|
const Q = he(
|
|
@@ -22,10 +22,13 @@ const Q = he(
|
|
|
22
22
|
const {
|
|
23
23
|
isMeasure: n = !1,
|
|
24
24
|
showEllipsisButton: l = !1,
|
|
25
|
-
onToggle:
|
|
25
|
+
onToggle: u,
|
|
26
26
|
hiddenCount: t = 0,
|
|
27
|
-
previewCount:
|
|
28
|
-
} = a, { t:
|
|
27
|
+
previewCount: d = 0
|
|
28
|
+
} = a, { t: m } = D(), { value: h = [], setValue: v, type: o } = C(), b = [p.DEPARMENT_GROUP, p.DEPARMENT].includes(o), x = T(null), y = T(null), _ = {
|
|
29
|
+
dockcorp: m("department.externalContactGroup"),
|
|
30
|
+
dockcorpdept: m("department.contact")
|
|
31
|
+
}, N = (c) => v?.(h.filter((E) => E._id !== c));
|
|
29
32
|
return fe(i, () => ({
|
|
30
33
|
measureRef: x.current,
|
|
31
34
|
ellipsisButtonRef: y.current
|
|
@@ -35,58 +38,65 @@ const Q = he(
|
|
|
35
38
|
className: w({
|
|
36
39
|
"measure-list": n
|
|
37
40
|
}),
|
|
38
|
-
children: /* @__PURE__ */
|
|
39
|
-
|
|
40
|
-
const
|
|
41
|
-
return /* @__PURE__ */
|
|
41
|
+
children: /* @__PURE__ */ f("ul", { className: "entity-list", ref: n ? x : void 0, "data-role": "measure-list", children: [
|
|
42
|
+
h.slice(0, d)?.map((c, E) => {
|
|
43
|
+
const r = c.name || c.nickname, s = c.type ? c.type : Object.prototype.hasOwnProperty.call(c, "departmentId") ? null : "group";
|
|
44
|
+
return /* @__PURE__ */ f(
|
|
42
45
|
"li",
|
|
43
46
|
{
|
|
44
47
|
className: w("entity-item", {
|
|
45
|
-
"entity-item--user": [
|
|
46
|
-
"entity-item--department": [
|
|
48
|
+
"entity-item--user": [p.USER, p.USER_GROUP].includes(o),
|
|
49
|
+
"entity-item--department": [p.DEPARMENT, p.DEPARMENT_GROUP].includes(
|
|
47
50
|
o
|
|
48
51
|
)
|
|
49
52
|
}),
|
|
50
53
|
children: [
|
|
51
|
-
/* @__PURE__ */ e("div", { className: "entity-item__content", children:
|
|
54
|
+
/* @__PURE__ */ e("div", { className: "entity-item__content", children: b ? /* @__PURE__ */ e(ne, { type: s }) : c.avatarurl ? /* @__PURE__ */ e(G, { src: c.avatarurl, size: 20 }) : /* @__PURE__ */ e(
|
|
52
55
|
G,
|
|
53
56
|
{
|
|
54
57
|
style: {
|
|
55
|
-
backgroundColor: W(
|
|
58
|
+
backgroundColor: W(r),
|
|
56
59
|
fontSize: "12px",
|
|
57
60
|
lineHeight: "13px",
|
|
58
61
|
width: "20px",
|
|
59
62
|
height: "20px"
|
|
60
63
|
},
|
|
61
|
-
children:
|
|
64
|
+
children: r?.charAt(0) || "?"
|
|
62
65
|
}
|
|
63
66
|
) }),
|
|
64
|
-
/* @__PURE__ */
|
|
67
|
+
/* @__PURE__ */ f("div", { className: "entity-item__text", "data-type": c.type, children: [
|
|
68
|
+
/* @__PURE__ */ e("span", { className: "entity-item__name", children: r }),
|
|
69
|
+
c.type === "dockcorpdept" || c.type === "dockcorp" ? /* @__PURE__ */ f("span", { className: "entity-item__badge", children: [
|
|
70
|
+
"(",
|
|
71
|
+
_[c.type],
|
|
72
|
+
")"
|
|
73
|
+
] }) : null
|
|
74
|
+
] }),
|
|
65
75
|
/* @__PURE__ */ e(
|
|
66
76
|
"div",
|
|
67
77
|
{
|
|
68
78
|
role: "button",
|
|
69
79
|
className: "entity-item__close",
|
|
70
|
-
onClick: n ? ge : () => N(
|
|
80
|
+
onClick: n ? ge : () => N(c._id),
|
|
71
81
|
children: /* @__PURE__ */ e(ve, {})
|
|
72
82
|
}
|
|
73
83
|
)
|
|
74
84
|
]
|
|
75
85
|
},
|
|
76
|
-
|
|
86
|
+
E
|
|
77
87
|
);
|
|
78
88
|
}),
|
|
79
|
-
l && !n && /* @__PURE__ */ e("li", { ref: y, className: "entity-list__more", "data-button": "ellipsis-button", children: /* @__PURE__ */
|
|
89
|
+
l && !n && /* @__PURE__ */ e("li", { ref: y, className: "entity-list__more", "data-button": "ellipsis-button", children: /* @__PURE__ */ f(
|
|
80
90
|
"div",
|
|
81
91
|
{
|
|
82
92
|
role: "button",
|
|
83
93
|
className: "entity-list__more-button",
|
|
84
94
|
onClick: () => {
|
|
85
|
-
|
|
95
|
+
u?.();
|
|
86
96
|
},
|
|
87
97
|
children: [
|
|
88
|
-
/* @__PURE__ */ e("span", { children:
|
|
89
|
-
/* @__PURE__ */ e(
|
|
98
|
+
/* @__PURE__ */ e("span", { children: m("common.viewAll", { count: t }) }),
|
|
99
|
+
/* @__PURE__ */ e(S, { name: "arrow-down" })
|
|
90
100
|
]
|
|
91
101
|
}
|
|
92
102
|
) })
|
|
@@ -95,27 +105,27 @@ const Q = he(
|
|
|
95
105
|
);
|
|
96
106
|
}
|
|
97
107
|
), De = () => {
|
|
98
|
-
const { value: a = [], type: i } = C(), { t: n } = D(), [l,
|
|
108
|
+
const { value: a = [], type: i } = C(), { t: n } = D(), [l, u] = k(0), [t, { toggle: d }] = ye(!1), [m, h] = k(!1), [v, o] = k(null), b = T(null), x = T(null), y = [p.DEPARMENT, p.USER].includes(i) ? ce : de;
|
|
99
109
|
A(() => {
|
|
100
|
-
t &&
|
|
110
|
+
t && h(!0);
|
|
101
111
|
}, [t]);
|
|
102
|
-
const
|
|
103
|
-
t ||
|
|
104
|
-
}, [
|
|
112
|
+
const _ = () => {
|
|
113
|
+
t || h(!1);
|
|
114
|
+
}, [N, c] = k(!1);
|
|
105
115
|
A(() => {
|
|
106
|
-
if (!
|
|
107
|
-
const
|
|
116
|
+
if (!b.current || !x.current) return;
|
|
117
|
+
const g = () => {
|
|
108
118
|
requestAnimationFrame(() => {
|
|
109
|
-
if (
|
|
110
|
-
const O =
|
|
119
|
+
if (c(!1), !b.current || !x.current) return;
|
|
120
|
+
const O = b.current.clientWidth, R = x.current.querySelectorAll(".measure-list li"), ie = x.current.querySelector(
|
|
111
121
|
'[data-button="ellipsis-button"]'
|
|
112
122
|
);
|
|
113
123
|
if (R.length === 0) {
|
|
114
|
-
|
|
124
|
+
u(a.length);
|
|
115
125
|
return;
|
|
116
126
|
}
|
|
117
127
|
if (R.length !== a.length) {
|
|
118
|
-
console.warn("DOM not fully updated, retrying..."), requestAnimationFrame(() =>
|
|
128
|
+
console.warn("DOM not fully updated, retrying..."), requestAnimationFrame(() => g());
|
|
119
129
|
return;
|
|
120
130
|
}
|
|
121
131
|
let U = 0, j = 0, I = 0, P = 0;
|
|
@@ -127,38 +137,38 @@ const Q = he(
|
|
|
127
137
|
break;
|
|
128
138
|
}
|
|
129
139
|
j = P, I = 0;
|
|
130
|
-
const
|
|
140
|
+
const le = ie?.offsetWidth || me;
|
|
131
141
|
for (let M = j; M < R.length; M++) {
|
|
132
|
-
const q = R[M].clientWidth + $, oe =
|
|
142
|
+
const q = R[M].clientWidth + $, oe = le;
|
|
133
143
|
if (I + q + oe < O)
|
|
134
144
|
I += q, U = M + 1;
|
|
135
145
|
else {
|
|
136
|
-
|
|
146
|
+
c(!0);
|
|
137
147
|
break;
|
|
138
148
|
}
|
|
139
149
|
}
|
|
140
|
-
l !== U &&
|
|
150
|
+
l !== U && u(U);
|
|
141
151
|
});
|
|
142
152
|
};
|
|
143
|
-
|
|
153
|
+
g();
|
|
144
154
|
}, [a]);
|
|
145
|
-
const E = a.length - l, r =
|
|
155
|
+
const E = a.length - l, r = N && !t, s = z(() => t && x?.current?.querySelector('[data-role="measure-list"]')?.clientHeight || y, [y, t]);
|
|
146
156
|
return /* @__PURE__ */ e(
|
|
147
157
|
"div",
|
|
148
158
|
{
|
|
149
159
|
className: "depts-member-selection-preview",
|
|
150
160
|
style: {
|
|
151
|
-
height:
|
|
161
|
+
height: m ? `${pe}px` : "auto"
|
|
152
162
|
},
|
|
153
|
-
children: /* @__PURE__ */
|
|
163
|
+
children: /* @__PURE__ */ f(
|
|
154
164
|
"div",
|
|
155
165
|
{
|
|
156
166
|
className: w("depts-member-selection-preview-container", {
|
|
157
167
|
expand: t,
|
|
158
|
-
"enable-animation":
|
|
168
|
+
"enable-animation": m
|
|
159
169
|
}),
|
|
160
170
|
children: [
|
|
161
|
-
/* @__PURE__ */
|
|
171
|
+
/* @__PURE__ */ f(
|
|
162
172
|
"div",
|
|
163
173
|
{
|
|
164
174
|
className: w("preview-container__body", {
|
|
@@ -171,7 +181,7 @@ const Q = he(
|
|
|
171
181
|
"div",
|
|
172
182
|
{
|
|
173
183
|
className: "preview-container__scroll",
|
|
174
|
-
ref:
|
|
184
|
+
ref: b,
|
|
175
185
|
style: {
|
|
176
186
|
height: s + "px"
|
|
177
187
|
},
|
|
@@ -182,8 +192,8 @@ const Q = he(
|
|
|
182
192
|
showEllipsisButton: r,
|
|
183
193
|
hiddenCount: E,
|
|
184
194
|
onToggle: () => {
|
|
185
|
-
const
|
|
186
|
-
o(
|
|
195
|
+
const g = document.querySelector('[data-teleport="DeptsMember"]');
|
|
196
|
+
o(g), d();
|
|
187
197
|
}
|
|
188
198
|
}
|
|
189
199
|
)
|
|
@@ -201,7 +211,7 @@ const Q = he(
|
|
|
201
211
|
animate: { opacity: 1, backdropFilter: "blur(.5px)" },
|
|
202
212
|
exit: { opacity: 0, backdropFilter: "blur(0px)" },
|
|
203
213
|
transition: { duration: 0.3, ease: "easeIn" },
|
|
204
|
-
onAnimationComplete:
|
|
214
|
+
onAnimationComplete: _
|
|
205
215
|
}
|
|
206
216
|
) }),
|
|
207
217
|
v
|
|
@@ -213,10 +223,10 @@ const Q = he(
|
|
|
213
223
|
initial: { opacity: 1 },
|
|
214
224
|
exit: { opacity: 0 },
|
|
215
225
|
transition: { duration: 0.3 },
|
|
216
|
-
onAnimationComplete:
|
|
217
|
-
children: /* @__PURE__ */
|
|
226
|
+
onAnimationComplete: _,
|
|
227
|
+
children: /* @__PURE__ */ f(V, { type: "link", onClick: () => d(), children: [
|
|
218
228
|
n("common.collapseAll"),
|
|
219
|
-
/* @__PURE__ */ e(
|
|
229
|
+
/* @__PURE__ */ e(S, { name: "arrow-up" })
|
|
220
230
|
] })
|
|
221
231
|
}
|
|
222
232
|
) })
|
|
@@ -226,22 +236,22 @@ const Q = he(
|
|
|
226
236
|
}
|
|
227
237
|
);
|
|
228
238
|
}, Ce = (a) => {
|
|
229
|
-
const [i, n] =
|
|
239
|
+
const [i, n] = re(a, {
|
|
230
240
|
defaultValue: a.tabs.length ? a.tabs[0].value : void 0
|
|
231
|
-
}), [l,
|
|
241
|
+
}), [l, u] = k(""), t = T(/* @__PURE__ */ new Map()), [d, m] = k({
|
|
232
242
|
width: 0,
|
|
233
243
|
transform: "translateX(0)"
|
|
234
|
-
}),
|
|
244
|
+
}), h = T(_e((o) => a.onSearch?.(o), 250)).current;
|
|
235
245
|
A(() => () => {
|
|
236
|
-
|
|
237
|
-
}, [
|
|
246
|
+
h.cancel();
|
|
247
|
+
}, [h]);
|
|
238
248
|
const v = (o) => {
|
|
239
|
-
const
|
|
240
|
-
if (
|
|
241
|
-
const { width: x, left: y } =
|
|
242
|
-
|
|
249
|
+
const b = t.current.get(o);
|
|
250
|
+
if (b) {
|
|
251
|
+
const { width: x, left: y } = b.getBoundingClientRect(), _ = b.parentElement?.getBoundingClientRect().left || 0;
|
|
252
|
+
m({
|
|
243
253
|
width: x,
|
|
244
|
-
transform: `translateX(${y -
|
|
254
|
+
transform: `translateX(${y - _}px)`
|
|
245
255
|
});
|
|
246
256
|
}
|
|
247
257
|
};
|
|
@@ -250,23 +260,23 @@ const Q = he(
|
|
|
250
260
|
}, [i]), A(() => {
|
|
251
261
|
const o = a.tabs.length ? a.tabs[0].value : void 0;
|
|
252
262
|
o && v(o);
|
|
253
|
-
}, [a.tabs]), /* @__PURE__ */
|
|
254
|
-
/* @__PURE__ */ e("div", { className: "tab-bar__list", children: /* @__PURE__ */
|
|
263
|
+
}, [a.tabs]), /* @__PURE__ */ f("div", { className: "tab-bar flex justify-between px-[10px] border-b border-[#e0e0e0] relative", children: [
|
|
264
|
+
/* @__PURE__ */ e("div", { className: "tab-bar__list", children: /* @__PURE__ */ f("ul", { className: "tab-bar__list-container flex gap-10 relative py-[5px]", children: [
|
|
255
265
|
/* @__PURE__ */ e(
|
|
256
266
|
"div",
|
|
257
267
|
{
|
|
258
268
|
className: "absolute bottom-[-1px] h-[2px] bg-[#0265ff] transition-all duration-300 ease-in-out",
|
|
259
269
|
style: {
|
|
260
|
-
width: `${
|
|
261
|
-
transform:
|
|
270
|
+
width: `${d.width}px`,
|
|
271
|
+
transform: d.transform
|
|
262
272
|
}
|
|
263
273
|
}
|
|
264
274
|
),
|
|
265
275
|
a.tabs.map((o) => /* @__PURE__ */ e(
|
|
266
276
|
"li",
|
|
267
277
|
{
|
|
268
|
-
ref: (
|
|
269
|
-
|
|
278
|
+
ref: (b) => {
|
|
279
|
+
b && t.current.set(o.value, b);
|
|
270
280
|
},
|
|
271
281
|
onClick: () => n(o.value),
|
|
272
282
|
className: w("tab-bar__list-item cursor-pointer relative py-1", {
|
|
@@ -278,14 +288,14 @@ const Q = he(
|
|
|
278
288
|
o.value
|
|
279
289
|
))
|
|
280
290
|
] }) }),
|
|
281
|
-
/* @__PURE__ */ e("div", { className: "tab-bar__search flex items-center", children: /* @__PURE__ */
|
|
291
|
+
/* @__PURE__ */ e("div", { className: "tab-bar__search flex items-center", children: /* @__PURE__ */ f("div", { className: "relative", children: [
|
|
282
292
|
/* @__PURE__ */ e(
|
|
283
293
|
"input",
|
|
284
294
|
{
|
|
285
295
|
type: "text",
|
|
286
296
|
value: l,
|
|
287
297
|
onChange: (o) => {
|
|
288
|
-
|
|
298
|
+
u(o.target.value), h(o.target.value);
|
|
289
299
|
},
|
|
290
300
|
placeholder: a.searchPlaceholder,
|
|
291
301
|
className: w(
|
|
@@ -295,7 +305,7 @@ const Q = he(
|
|
|
295
305
|
}
|
|
296
306
|
),
|
|
297
307
|
/* @__PURE__ */ e(
|
|
298
|
-
|
|
308
|
+
S,
|
|
299
309
|
{
|
|
300
310
|
name: "search",
|
|
301
311
|
className: "absolute left-2.5 top-1/2 -translate-y-1/2 w-5 h-5 text-[#666]"
|
|
@@ -317,7 +327,7 @@ const Q = he(
|
|
|
317
327
|
);
|
|
318
328
|
}, Pe = {
|
|
319
329
|
"selection-tabs": "_selection-tabs_88491_1"
|
|
320
|
-
}, Z = ({ avatarurl: a, randomColor: i, name: n, extra: l }) => /* @__PURE__ */
|
|
330
|
+
}, Z = ({ avatarurl: a, randomColor: i, name: n, extra: l }) => /* @__PURE__ */ f("div", { className: "flex flex-1 gap-[6px] items-center overflow-hidden ml-[-16px]", children: [
|
|
321
331
|
a ? /* @__PURE__ */ e(G, { src: a, size: 20, style: { flexShrink: 0 } }) : /* @__PURE__ */ e(
|
|
322
332
|
G,
|
|
323
333
|
{
|
|
@@ -335,7 +345,7 @@ const Q = he(
|
|
|
335
345
|
/* @__PURE__ */ e("span", { className: "text-sm select-none text-ellipsis whitespace-nowrap overflow-hidden", children: n }),
|
|
336
346
|
l
|
|
337
347
|
] }), ee = (a) => {
|
|
338
|
-
const { type: i, dispatch: n, value: l, containerHeight:
|
|
348
|
+
const { type: i, dispatch: n, value: l, containerHeight: u } = C(), { t } = D(), { data: d, loading: m } = H(
|
|
339
349
|
() => Ee({
|
|
340
350
|
groupLimit: [],
|
|
341
351
|
memberLimit: [],
|
|
@@ -346,8 +356,8 @@ const Q = he(
|
|
|
346
356
|
{
|
|
347
357
|
refreshDeps: [a.wd]
|
|
348
358
|
}
|
|
349
|
-
), { data:
|
|
350
|
-
() =>
|
|
359
|
+
), { data: h, loading: v } = H(
|
|
360
|
+
() => Se({
|
|
351
361
|
key: a.wd,
|
|
352
362
|
limit: 100,
|
|
353
363
|
skip: 0,
|
|
@@ -356,21 +366,21 @@ const Q = he(
|
|
|
356
366
|
{
|
|
357
367
|
refreshDeps: [a.wd]
|
|
358
368
|
}
|
|
359
|
-
), o =
|
|
369
|
+
), o = d?.list || [], b = h?.dock_user_list || [], x = h?.users || [], y = [
|
|
360
370
|
{
|
|
361
371
|
title: t("externalContact.title"),
|
|
362
372
|
value: "waibulianxiren",
|
|
363
373
|
children: o.map((r) => {
|
|
364
|
-
const s = r.nickname || r.name,
|
|
374
|
+
const s = r.nickname || r.name, g = W(s);
|
|
365
375
|
return {
|
|
366
376
|
...r,
|
|
367
377
|
title: /* @__PURE__ */ e(
|
|
368
378
|
Z,
|
|
369
379
|
{
|
|
370
380
|
avatarurl: r.avatarurl,
|
|
371
|
-
randomColor:
|
|
381
|
+
randomColor: g,
|
|
372
382
|
name: s,
|
|
373
|
-
extra: /* @__PURE__ */
|
|
383
|
+
extra: /* @__PURE__ */ f("span", { className: "text-xs text-[#4d609f] shrink-0 truncate", children: [
|
|
374
384
|
"(",
|
|
375
385
|
t("externalContact.title"),
|
|
376
386
|
":",
|
|
@@ -386,15 +396,15 @@ const Q = he(
|
|
|
386
396
|
{
|
|
387
397
|
title: t("member.title"),
|
|
388
398
|
value: "chengyuan",
|
|
389
|
-
children: [...x, ...
|
|
390
|
-
const s = r.nickname || r.name,
|
|
399
|
+
children: [...x, ...b].map((r) => {
|
|
400
|
+
const s = r.nickname || r.name, g = W(s);
|
|
391
401
|
return {
|
|
392
402
|
...r,
|
|
393
403
|
title: /* @__PURE__ */ e(
|
|
394
404
|
Z,
|
|
395
405
|
{
|
|
396
406
|
avatarurl: r.avatarurl,
|
|
397
|
-
randomColor:
|
|
407
|
+
randomColor: g,
|
|
398
408
|
name: s,
|
|
399
409
|
extra: /* @__PURE__ */ e("span", { className: "text-xs text-[#4d609f] shrink-0 truncate", children: r.user_type === "dock_user" ? `(${t("department.external")}:${r.dock_corpname})` : r.deptnames })
|
|
400
410
|
}
|
|
@@ -403,8 +413,8 @@ const Q = he(
|
|
|
403
413
|
};
|
|
404
414
|
})
|
|
405
415
|
}
|
|
406
|
-
].filter((r) => r.children.length),
|
|
407
|
-
if (
|
|
416
|
+
].filter((r) => r.children.length), _ = y.map((r) => r.value), N = v || m, c = (r) => {
|
|
417
|
+
if (p.USER === i) {
|
|
408
418
|
const s = J(r, y);
|
|
409
419
|
s && n({
|
|
410
420
|
type: "insertOnly",
|
|
@@ -413,7 +423,7 @@ const Q = he(
|
|
|
413
423
|
}
|
|
414
424
|
});
|
|
415
425
|
}
|
|
416
|
-
if (
|
|
426
|
+
if (p.USER_GROUP === i) {
|
|
417
427
|
const s = J(r, y);
|
|
418
428
|
n({
|
|
419
429
|
type: "addOne",
|
|
@@ -423,21 +433,21 @@ const Q = he(
|
|
|
423
433
|
});
|
|
424
434
|
}
|
|
425
435
|
}, E = (r) => {
|
|
426
|
-
|
|
436
|
+
p.USER !== i && n({
|
|
427
437
|
type: "deleteOne",
|
|
428
438
|
payload: r
|
|
429
439
|
});
|
|
430
440
|
};
|
|
431
|
-
return /* @__PURE__ */
|
|
432
|
-
/* @__PURE__ */ e(ae, { spinning:
|
|
441
|
+
return /* @__PURE__ */ f("div", { className: "h-full relative overflow-hidden", children: [
|
|
442
|
+
/* @__PURE__ */ e(ae, { spinning: N, children: /* @__PURE__ */ e(F, { style: { height: u - 8, padding: "4px" }, children: y.length && !N ? /* @__PURE__ */ e("div", { className: "p-1", children: /* @__PURE__ */ e(
|
|
433
443
|
se,
|
|
434
444
|
{
|
|
435
445
|
data: y,
|
|
436
|
-
checkType: i ===
|
|
446
|
+
checkType: i === p.USER ? "radio" : "checkbox",
|
|
437
447
|
defaultSelectedKeys: l?.map((r) => r._id),
|
|
438
|
-
defaultExpandedKeys:
|
|
448
|
+
defaultExpandedKeys: _,
|
|
439
449
|
switcherIcon: (r) => /* @__PURE__ */ e(
|
|
440
|
-
|
|
450
|
+
S,
|
|
441
451
|
{
|
|
442
452
|
name: "xiangxiazhankai-11",
|
|
443
453
|
className: w(
|
|
@@ -448,14 +458,14 @@ const Q = he(
|
|
|
448
458
|
)
|
|
449
459
|
}
|
|
450
460
|
),
|
|
451
|
-
onSelect:
|
|
461
|
+
onSelect: c,
|
|
452
462
|
onDeSelect: E
|
|
453
463
|
}
|
|
454
464
|
) }) : null }) }),
|
|
455
|
-
!y.length && !
|
|
465
|
+
!y.length && !N && /* @__PURE__ */ e("div", { className: "absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ e("span", { className: "text-[#999]", children: t("member.noAvailable") }) })
|
|
456
466
|
] });
|
|
457
467
|
}, te = (a) => {
|
|
458
|
-
const { type: i, value: n, dispatch: l, containerHeight:
|
|
468
|
+
const { type: i, value: n, dispatch: l, containerHeight: u } = C(), { t } = D(), { data: d, loading: m } = H(
|
|
459
469
|
() => Re({
|
|
460
470
|
departmentLimit: [],
|
|
461
471
|
key: a.wd
|
|
@@ -463,16 +473,16 @@ const Q = he(
|
|
|
463
473
|
{
|
|
464
474
|
refreshDeps: [a.wd]
|
|
465
475
|
}
|
|
466
|
-
), { data:
|
|
467
|
-
() =>
|
|
468
|
-
), o =
|
|
476
|
+
), { data: h, loading: v } = H(
|
|
477
|
+
() => ke()
|
|
478
|
+
), o = h?.list || [], b = d?.departments || [], x = (d?.label_corp_list || []).filter((s) => s.type !== "dockcorpdept"), y = [...b, ...x].filter((s) => s.type !== "label"), _ = [
|
|
469
479
|
{
|
|
470
480
|
title: t("externalContact.group"),
|
|
471
481
|
_id: "waibulianxiren",
|
|
472
482
|
children: o.filter((s) => s.status === 1 && s.name?.includes(a.wd)).map((s) => ({
|
|
473
483
|
...s,
|
|
474
|
-
title: /* @__PURE__ */
|
|
475
|
-
/* @__PURE__ */ e(ne, { type: "group" }),
|
|
484
|
+
title: /* @__PURE__ */ f(K, { children: [
|
|
485
|
+
/* @__PURE__ */ e(ne, { type: "group", size: 16 }),
|
|
476
486
|
/* @__PURE__ */ e("span", { className: "text-sm select-none text-ellipsis whitespace-nowrap overflow-hidden", children: s.name })
|
|
477
487
|
] })
|
|
478
488
|
}))
|
|
@@ -482,10 +492,10 @@ const Q = he(
|
|
|
482
492
|
_id: "bumen",
|
|
483
493
|
children: y.map((s) => ({
|
|
484
494
|
...s,
|
|
485
|
-
title: /* @__PURE__ */
|
|
486
|
-
/* @__PURE__ */ e(
|
|
495
|
+
title: /* @__PURE__ */ f(K, { children: [
|
|
496
|
+
/* @__PURE__ */ e(S, { name: "dept-one", className: "text-[#0265ff]", size: 16 }),
|
|
487
497
|
/* @__PURE__ */ e("span", { className: "text-sm select-none text-ellipsis whitespace-nowrap overflow-hidden", children: s.name }),
|
|
488
|
-
["dockdept", "dockcorp", "dockcorpdept"].includes(s.type) && /* @__PURE__ */
|
|
498
|
+
["dockdept", "dockcorp", "dockcorpdept"].includes(s.type) && /* @__PURE__ */ f("span", { className: "text-xs text-[#4d609f] shrink-0 truncate", children: [
|
|
489
499
|
"(",
|
|
490
500
|
t("department.external"),
|
|
491
501
|
")"
|
|
@@ -493,25 +503,25 @@ const Q = he(
|
|
|
493
503
|
] })
|
|
494
504
|
}))
|
|
495
505
|
}
|
|
496
|
-
].filter((s) => s.children.length),
|
|
497
|
-
if (!
|
|
506
|
+
].filter((s) => s.children.length), N = _.map((s) => s._id), c = (s, g) => {
|
|
507
|
+
if (!g)
|
|
498
508
|
return;
|
|
499
|
-
if (i ===
|
|
509
|
+
if (i === p.DEPARMENT) {
|
|
500
510
|
l({
|
|
501
511
|
type: "insertOnly",
|
|
502
512
|
payload: {
|
|
503
|
-
...
|
|
504
|
-
type:
|
|
513
|
+
...g,
|
|
514
|
+
type: g.departmentId ? "dockdept" : "group"
|
|
505
515
|
}
|
|
506
516
|
});
|
|
507
517
|
return;
|
|
508
518
|
}
|
|
509
|
-
const L = o.some((O) => O._id ===
|
|
519
|
+
const L = o.some((O) => O._id === g._id);
|
|
510
520
|
l({
|
|
511
521
|
type: "addOne",
|
|
512
522
|
payload: {
|
|
513
|
-
...
|
|
514
|
-
_id:
|
|
523
|
+
...g,
|
|
524
|
+
_id: g._id,
|
|
515
525
|
type: L ? "group" : "dockdept"
|
|
516
526
|
}
|
|
517
527
|
});
|
|
@@ -520,22 +530,22 @@ const Q = he(
|
|
|
520
530
|
type: "deleteOne",
|
|
521
531
|
payload: s
|
|
522
532
|
});
|
|
523
|
-
}, r =
|
|
524
|
-
return /* @__PURE__ */
|
|
525
|
-
/* @__PURE__ */ e(ae, { spinning: r, children: /* @__PURE__ */ e(F, { style: { height:
|
|
533
|
+
}, r = m || v;
|
|
534
|
+
return /* @__PURE__ */ f("div", { className: "relative overflow-hidden", children: [
|
|
535
|
+
/* @__PURE__ */ e(ae, { spinning: r, children: /* @__PURE__ */ e(F, { style: { height: u - 8 }, children: _.length && !r ? /* @__PURE__ */ e("div", { className: "p-1", children: /* @__PURE__ */ e(
|
|
526
536
|
se,
|
|
527
537
|
{
|
|
528
|
-
data:
|
|
529
|
-
checkType: i ===
|
|
538
|
+
data: _,
|
|
539
|
+
checkType: i === p.DEPARMENT ? "radio" : "checkbox",
|
|
530
540
|
selectedKeys: n?.map((s) => s._id),
|
|
531
541
|
fieldNames: {
|
|
532
542
|
title: "title",
|
|
533
543
|
children: "children",
|
|
534
544
|
value: "_id"
|
|
535
545
|
},
|
|
536
|
-
defaultExpandedKeys:
|
|
546
|
+
defaultExpandedKeys: N,
|
|
537
547
|
switcherIcon: (s) => /* @__PURE__ */ e(
|
|
538
|
-
|
|
548
|
+
S,
|
|
539
549
|
{
|
|
540
550
|
name: "xiangxiazhankai-11",
|
|
541
551
|
className: w(
|
|
@@ -546,56 +556,56 @@ const Q = he(
|
|
|
546
556
|
)
|
|
547
557
|
}
|
|
548
558
|
),
|
|
549
|
-
onSelect:
|
|
559
|
+
onSelect: c,
|
|
550
560
|
onDeSelect: E
|
|
551
561
|
}
|
|
552
562
|
) }) : null }) }),
|
|
553
|
-
!
|
|
563
|
+
!_.length && !r && /* @__PURE__ */ e("div", { className: "absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ e("span", { className: "text-[#999]", children: t("department.noAvailable") }) })
|
|
554
564
|
] });
|
|
555
565
|
}, Me = () => {
|
|
556
|
-
const { type: a } = C(), { t: i } = D(), [n, l] =
|
|
557
|
-
[
|
|
566
|
+
const { type: a } = C(), { t: i } = D(), [n, l] = k(), u = Ne(), t = we(), d = {
|
|
567
|
+
[p.USER]: {
|
|
558
568
|
raw: /* @__PURE__ */ e(ee, { wd: n }),
|
|
559
569
|
placeholder: i("tabs.searchMember")
|
|
560
570
|
},
|
|
561
|
-
[
|
|
571
|
+
[p.USER_GROUP]: {
|
|
562
572
|
raw: /* @__PURE__ */ e(ee, { wd: n }),
|
|
563
573
|
placeholder: i("tabs.searchMember")
|
|
564
574
|
},
|
|
565
|
-
[
|
|
575
|
+
[p.DEPARMENT]: {
|
|
566
576
|
raw: /* @__PURE__ */ e(te, { wd: n }),
|
|
567
577
|
placeholder: i("tabs.searchDepartment")
|
|
568
578
|
},
|
|
569
|
-
[
|
|
579
|
+
[p.DEPARMENT_GROUP]: {
|
|
570
580
|
raw: /* @__PURE__ */ e(te, { wd: n }),
|
|
571
581
|
placeholder: i("tabs.searchDepartment")
|
|
572
582
|
}
|
|
573
|
-
},
|
|
574
|
-
[
|
|
575
|
-
[
|
|
576
|
-
[
|
|
577
|
-
[
|
|
578
|
-
}), [
|
|
579
|
-
o(
|
|
580
|
-
}, x =
|
|
581
|
-
if (!
|
|
583
|
+
}, h = z(() => ({
|
|
584
|
+
[p.USER]: u,
|
|
585
|
+
[p.USER_GROUP]: u,
|
|
586
|
+
[p.DEPARMENT]: t,
|
|
587
|
+
[p.DEPARMENT_GROUP]: t
|
|
588
|
+
}), [u, t])[a], [v, o] = k(h[0].value), b = (c) => {
|
|
589
|
+
o(c), l(void 0);
|
|
590
|
+
}, x = h.find((c) => c.value === v)?.view, y = (c) => {
|
|
591
|
+
if (!c.trim().length) {
|
|
582
592
|
l(void 0);
|
|
583
593
|
return;
|
|
584
594
|
}
|
|
585
|
-
l(
|
|
586
|
-
},
|
|
587
|
-
return /* @__PURE__ */
|
|
595
|
+
l(c);
|
|
596
|
+
}, _ = n ? d[a]?.raw : x, N = d[a]?.placeholder;
|
|
597
|
+
return /* @__PURE__ */ f("div", { className: w(Pe["selection-tabs"]), children: [
|
|
588
598
|
/* @__PURE__ */ e(
|
|
589
599
|
Ce,
|
|
590
600
|
{
|
|
591
601
|
value: v,
|
|
592
|
-
onChange:
|
|
602
|
+
onChange: b,
|
|
593
603
|
onSearch: y,
|
|
594
|
-
tabs:
|
|
595
|
-
searchPlaceholder:
|
|
604
|
+
tabs: h,
|
|
605
|
+
searchPlaceholder: N
|
|
596
606
|
}
|
|
597
607
|
),
|
|
598
|
-
/* @__PURE__ */ e(Ie, { children:
|
|
608
|
+
/* @__PURE__ */ e(Ie, { children: _ })
|
|
599
609
|
] });
|
|
600
610
|
}, Ae = (a, i) => Te(a, (n) => {
|
|
601
611
|
switch (i.type) {
|
|
@@ -613,8 +623,8 @@ const Q = he(
|
|
|
613
623
|
case "removeMany": {
|
|
614
624
|
const l = i.payload;
|
|
615
625
|
n.filter((t) => l.includes(t._id)).forEach((t) => {
|
|
616
|
-
const
|
|
617
|
-
~
|
|
626
|
+
const d = n.findIndex((m) => m._id === t._id);
|
|
627
|
+
~d && n.splice(d, 1);
|
|
618
628
|
});
|
|
619
629
|
break;
|
|
620
630
|
}
|
|
@@ -628,61 +638,61 @@ const Q = he(
|
|
|
628
638
|
break;
|
|
629
639
|
}
|
|
630
640
|
case "deleteOne": {
|
|
631
|
-
const l = i.payload,
|
|
632
|
-
~
|
|
641
|
+
const l = i.payload, u = n.findIndex((t) => t._id === l);
|
|
642
|
+
~u && n.splice(u, 1);
|
|
633
643
|
break;
|
|
634
644
|
}
|
|
635
645
|
// 插入新元素 & 删除旧元素
|
|
636
646
|
case "deleteAndInsert": {
|
|
637
|
-
const { newItems: l, oldIds:
|
|
638
|
-
|
|
639
|
-
const
|
|
640
|
-
~
|
|
647
|
+
const { newItems: l, oldIds: u } = i.payload;
|
|
648
|
+
u.forEach((t) => {
|
|
649
|
+
const d = n.findIndex((m) => m._id === t);
|
|
650
|
+
~d && n.splice(d, 1);
|
|
641
651
|
}), l.forEach((t) => {
|
|
642
|
-
~n.findIndex((
|
|
652
|
+
~n.findIndex((m) => m._id === t._id) || n.push(t);
|
|
643
653
|
});
|
|
644
654
|
}
|
|
645
655
|
}
|
|
646
656
|
}), Oe = {
|
|
647
657
|
"depts-member-selector": "_depts-member-selector_d4xq4_1"
|
|
648
658
|
}, tt = (a) => {
|
|
649
|
-
const { onCancel: i, onConfirm: n, onChange: l, defaultValue:
|
|
650
|
-
defaultValue:
|
|
659
|
+
const { onCancel: i, onConfirm: n, onChange: l, defaultValue: u, type: t = "user" } = a, { t: d } = D(), [m, h] = re(a, {
|
|
660
|
+
defaultValue: u || []
|
|
651
661
|
}), v = be(
|
|
652
|
-
(
|
|
653
|
-
const x = Ae(
|
|
654
|
-
|
|
662
|
+
(b) => {
|
|
663
|
+
const x = Ae(m, b);
|
|
664
|
+
h(x), l?.(x);
|
|
655
665
|
},
|
|
656
|
-
[
|
|
666
|
+
[h, m, l]
|
|
657
667
|
), o = z(() => ({
|
|
658
668
|
type: t,
|
|
659
|
-
value:
|
|
660
|
-
setValue:
|
|
669
|
+
value: m,
|
|
670
|
+
setValue: h,
|
|
661
671
|
dispatch: v,
|
|
662
|
-
containerHeight: [
|
|
663
|
-
}), [t,
|
|
664
|
-
return /* @__PURE__ */
|
|
665
|
-
/* @__PURE__ */ e("div", { className: "px-5 pt-5", children: /* @__PURE__ */ e("div", { className: Oe["depts-member-selector"], "data-teleport": "DeptsMember", children: /* @__PURE__ */
|
|
672
|
+
containerHeight: [p.USER_GROUP, p.DEPARMENT_GROUP].includes(t) ? 355 : 395
|
|
673
|
+
}), [t, m, h, v]);
|
|
674
|
+
return /* @__PURE__ */ f("div", { className: "depts-member-selector", children: [
|
|
675
|
+
/* @__PURE__ */ e("div", { className: "px-5 pt-5", children: /* @__PURE__ */ e("div", { className: Oe["depts-member-selector"], "data-teleport": "DeptsMember", children: /* @__PURE__ */ f(ue.Provider, { value: o, children: [
|
|
666
676
|
/* @__PURE__ */ e(De, {}),
|
|
667
677
|
/* @__PURE__ */ e(Me, {})
|
|
668
678
|
] }) }) }),
|
|
669
|
-
/* @__PURE__ */
|
|
670
|
-
[
|
|
679
|
+
/* @__PURE__ */ f("div", { className: "flex py-[14px] px-5", children: [
|
|
680
|
+
[p.DEPARMENT_GROUP, p.USER_GROUP].includes(t) && /* @__PURE__ */ e("div", { className: "flex-auto", children: /* @__PURE__ */ f(
|
|
671
681
|
"div",
|
|
672
682
|
{
|
|
673
683
|
className: "inline-flex hover:text-[#0265ff] gap-[10px] cursor-pointer items-center h-full",
|
|
674
684
|
onClick: () => {
|
|
675
|
-
|
|
685
|
+
h([]);
|
|
676
686
|
},
|
|
677
687
|
children: [
|
|
678
|
-
/* @__PURE__ */ e(
|
|
679
|
-
/* @__PURE__ */ e("span", { children:
|
|
688
|
+
/* @__PURE__ */ e(S, { name: "clearTree", size: 20, style: { verticalAlign: "sub" } }),
|
|
689
|
+
/* @__PURE__ */ e("span", { children: d("common.clearAll") })
|
|
680
690
|
]
|
|
681
691
|
}
|
|
682
692
|
) }),
|
|
683
|
-
/* @__PURE__ */
|
|
684
|
-
/* @__PURE__ */ e(V, { onClick: i, className: "btn-cancel", children:
|
|
685
|
-
/* @__PURE__ */ e(V, { type: "primary", className: "ml-3", onClick: () => n?.(
|
|
693
|
+
/* @__PURE__ */ f("div", { className: "flex-1 flex justify-end", children: [
|
|
694
|
+
/* @__PURE__ */ e(V, { onClick: i, className: "btn-cancel", children: d("common.cancel") }),
|
|
695
|
+
/* @__PURE__ */ e(V, { type: "primary", className: "ml-3", onClick: () => n?.(m), children: d("common.confirm") })
|
|
686
696
|
] })
|
|
687
697
|
] })
|
|
688
698
|
] });
|
|
@@ -2,7 +2,7 @@ import { createContext as v, useContext as f, useMemo as p, useCallback as E, us
|
|
|
2
2
|
import { n as d } from "../vendors/lodash-es.js";
|
|
3
3
|
import { C as G } from "../ConfigProvider/configContext-lDqg07Z3.js";
|
|
4
4
|
import { jsx as o, jsxs as N } from "react/jsx-runtime";
|
|
5
|
-
import { Icon as
|
|
5
|
+
import { Icon as l } from "bsy-react-ui";
|
|
6
6
|
import { c as S } from "../vendors/clsx.js";
|
|
7
7
|
const I = v({
|
|
8
8
|
type: "user",
|
|
@@ -26,7 +26,7 @@ const I = v({
|
|
|
26
26
|
* @description 表示多个部门组
|
|
27
27
|
*/
|
|
28
28
|
DEPARMENT_GROUP: "deptgroup"
|
|
29
|
-
}, nt = 110, at = 68, rt = 30, ot = 8,
|
|
29
|
+
}, nt = 110, at = 68, rt = 30, ot = 8, ct = 90, M = { loading: "加载中...", cancel: "取消", confirm: "确认", clearAll: "清空所选项", viewAll: "查看全部{count}个", selected: "已选 {selected}/{total}", collapseAll: "收起全部", noAvailable: "没有可选成员" }, y = { title: "部门", search: "搜索部门", noAvailable: "没有可选部门", contact: "对接部门", organizationalStructure: "组织架构", currentUserDepartment: "当前用户所处部门", internal: "内部组织", external: "外部组织", externalContactGroup: "对接人小组", externalContactDepartment: "对接部门" }, R = { title: "成员", search: "搜索成员", contact: "对接人", all: "全部成员", allContact: "全部对接人", internal: "内部成员", external: "外部成员", noAvailable: "没有可选成员" }, U = { title: "角色", internal: "内部角色", external: "互联角色" }, T = { title: "职位" }, P = { title: "当前用户" }, $ = { title: "外部联系人", defaultGroup: "默认分组", customGroup: "自定义分组", group: "外部联系人分组", noAvailableGroup: "没有可选分组" }, H = { searchMember: "搜索成员", searchDepartment: "搜索部门" }, b = {
|
|
30
30
|
common: M,
|
|
31
31
|
department: y,
|
|
32
32
|
member: R,
|
|
@@ -44,61 +44,61 @@ const I = v({
|
|
|
44
44
|
currentUser: B,
|
|
45
45
|
externalContact: W,
|
|
46
46
|
tabs: j
|
|
47
|
-
}, X = (
|
|
48
|
-
const s =
|
|
49
|
-
let
|
|
47
|
+
}, X = (a, t, e) => {
|
|
48
|
+
const s = t.split(".");
|
|
49
|
+
let n = a;
|
|
50
50
|
try {
|
|
51
51
|
for (const r of s)
|
|
52
|
-
|
|
53
|
-
return typeof
|
|
52
|
+
n = n[r];
|
|
53
|
+
return typeof n == "string" ? e ? n.replace(/\{(\w+)\}/g, (r, i) => e[i] !== void 0 ? String(e[i]) : r) : n : t;
|
|
54
54
|
} catch {
|
|
55
|
-
return
|
|
55
|
+
return t;
|
|
56
56
|
}
|
|
57
|
-
},
|
|
58
|
-
const
|
|
57
|
+
}, lt = () => {
|
|
58
|
+
const a = f(G), t = p(() => ({ "zh-CN": b, "en-US": V }), []), e = p(() => t[a.locale] || b, [a.locale, t]);
|
|
59
59
|
return {
|
|
60
60
|
t: E(
|
|
61
|
-
(
|
|
62
|
-
[
|
|
61
|
+
(n, r) => X(e, n, r),
|
|
62
|
+
[e]
|
|
63
63
|
)
|
|
64
64
|
};
|
|
65
|
-
}, st = ({ type:
|
|
66
|
-
switch (
|
|
65
|
+
}, st = ({ type: a, size: t }) => {
|
|
66
|
+
switch (a) {
|
|
67
67
|
case "label":
|
|
68
|
-
return /* @__PURE__ */ o(
|
|
68
|
+
return /* @__PURE__ */ o(l, { name: "Enterpriselabel", className: "text-[#0265ff]", size: t });
|
|
69
69
|
case "dockcorp":
|
|
70
70
|
case "dockcorpdept":
|
|
71
|
-
return /* @__PURE__ */ o(
|
|
71
|
+
return /* @__PURE__ */ o(l, { name: "company", className: "text-[#0265ff]", size: t });
|
|
72
72
|
case "dockdept":
|
|
73
73
|
case "member":
|
|
74
|
-
return /* @__PURE__ */ o(
|
|
74
|
+
return /* @__PURE__ */ o(l, { name: "dept-one", className: "text-[#0265ff]", size: t });
|
|
75
75
|
case "group":
|
|
76
|
-
return /* @__PURE__ */ o(
|
|
76
|
+
return /* @__PURE__ */ o(l, { name: "Outreach", className: "text-[#70c911]", size: t });
|
|
77
77
|
default:
|
|
78
|
-
return /* @__PURE__ */ o(
|
|
78
|
+
return /* @__PURE__ */ o(l, { name: "dept-one", className: "text-[#0265ff]", size: t });
|
|
79
79
|
}
|
|
80
80
|
}, q = "_active_1vd3c_15", u = {
|
|
81
81
|
"tabgroup-container": "_tabgroup-container_1vd3c_1",
|
|
82
82
|
"tabgroup-container__tab-item": "_tabgroup-container__tab-item_1vd3c_7",
|
|
83
83
|
active: q,
|
|
84
84
|
"tabgroup-container__indicator": "_tabgroup-container__indicator_1vd3c_18"
|
|
85
|
-
}, it = (
|
|
86
|
-
const { tabs:
|
|
85
|
+
}, it = (a) => {
|
|
86
|
+
const { tabs: t, value: e, onChange: s } = a, n = h(null), [r, i] = A({
|
|
87
87
|
width: 0,
|
|
88
88
|
transform: "translateX(0)"
|
|
89
|
-
}),
|
|
90
|
-
const m =
|
|
89
|
+
}), C = (c) => {
|
|
90
|
+
const m = n.current?.querySelector(`[data-key="${c}"]`);
|
|
91
91
|
if (m) {
|
|
92
|
-
const { width:
|
|
92
|
+
const { width: g, left: x } = m.getBoundingClientRect(), _ = m.parentElement?.parentElement?.getBoundingClientRect().left || 0;
|
|
93
93
|
i({
|
|
94
|
-
width:
|
|
95
|
-
transform: `translateX(${
|
|
94
|
+
width: g,
|
|
95
|
+
transform: `translateX(${x - _}px)`
|
|
96
96
|
});
|
|
97
97
|
}
|
|
98
98
|
};
|
|
99
99
|
return D(() => {
|
|
100
|
-
|
|
101
|
-
}, [
|
|
100
|
+
C(e);
|
|
101
|
+
}, [e]), /* @__PURE__ */ N("div", { className: u["tabgroup-container"], ref: n, children: [
|
|
102
102
|
/* @__PURE__ */ o(
|
|
103
103
|
"div",
|
|
104
104
|
{
|
|
@@ -109,16 +109,16 @@ const I = v({
|
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
),
|
|
112
|
-
|
|
112
|
+
t.map((c) => /* @__PURE__ */ o(
|
|
113
113
|
"div",
|
|
114
114
|
{
|
|
115
115
|
className: S(u["tabgroup-container__tab-item"], {
|
|
116
|
-
[u.active]:
|
|
116
|
+
[u.active]: e === c.value
|
|
117
117
|
}),
|
|
118
|
-
onClick: () => s(
|
|
119
|
-
children: /* @__PURE__ */ o("span", { "data-key":
|
|
118
|
+
onClick: () => s(c.value),
|
|
119
|
+
children: /* @__PURE__ */ o("span", { "data-key": c.value, children: c.label })
|
|
120
120
|
},
|
|
121
|
-
|
|
121
|
+
c.value
|
|
122
122
|
))
|
|
123
123
|
] });
|
|
124
124
|
};
|
|
@@ -127,11 +127,11 @@ export {
|
|
|
127
127
|
et as E,
|
|
128
128
|
ot as G,
|
|
129
129
|
rt as M,
|
|
130
|
-
|
|
130
|
+
ct as P,
|
|
131
131
|
at as T,
|
|
132
132
|
tt as a,
|
|
133
133
|
st as b,
|
|
134
134
|
nt as c,
|
|
135
135
|
it as d,
|
|
136
|
-
|
|
136
|
+
lt as u
|
|
137
137
|
};
|
|
@@ -4,7 +4,7 @@ import { useRequest as T } from "ahooks";
|
|
|
4
4
|
import { Spin as A, Radio as R } from "antd";
|
|
5
5
|
import { c as v } from "../../../../vendors/clsx.js";
|
|
6
6
|
import { useState as D, useMemo as G, useCallback as M } from "react";
|
|
7
|
-
import { a as N, u as k, E, d as L, b as H } from "../../../TabGroup-
|
|
7
|
+
import { a as N, u as k, E, d as L, b as H } from "../../../TabGroup-CznMwTOD.js";
|
|
8
8
|
import { buildDeptTree as B, buildTree as U, findNodeInTree as q } from "../../../utils/index.js";
|
|
9
9
|
import { S } from "../../../../vendors/simplebar-react.js";
|
|
10
10
|
import { Tree as w, Icon as C, Checkbox as O } from "bsy-react-ui";
|
|
@@ -150,7 +150,7 @@ const Q = (t) => {
|
|
|
150
150
|
const y = l.filter((h) => h.type === "dockcorp" || h.type === "dockdept" ? !0 : h.parentId === 0 ? !1 : l.some((z) => z.parentId === h.departmentId)), I = y.map((h) => ({
|
|
151
151
|
...h,
|
|
152
152
|
checkable: h.type !== "dockcorpdept" && h.type !== "label",
|
|
153
|
-
icon: /* @__PURE__ */ e(H, { type: h.type })
|
|
153
|
+
icon: /* @__PURE__ */ e(H, { type: h.type, size: 16 })
|
|
154
154
|
}));
|
|
155
155
|
return y.length > 0 ? U(I, {
|
|
156
156
|
parentId: "parentId",
|
|
@@ -290,7 +290,7 @@ const Q = (t) => {
|
|
|
290
290
|
className: v("rounded-[4px] cursor-pointer font-0 px-[10px]", {
|
|
291
291
|
"hover:bg-[#f3f3f3]": !0
|
|
292
292
|
}),
|
|
293
|
-
children: /* @__PURE__ */ e(O, { labelPosition: "left", value: n._id, children: /* @__PURE__ */ e("div", { className: "flex flex-1 gap-[6px] items-center py-[
|
|
293
|
+
children: /* @__PURE__ */ e(O, { labelPosition: "left", value: n._id, children: /* @__PURE__ */ e("div", { className: "flex flex-1 gap-[6px] items-center py-[7px]", children: /* @__PURE__ */ e("span", { className: "text-sm select-none", children: n.name }) }) })
|
|
294
294
|
},
|
|
295
295
|
n._id
|
|
296
296
|
)) }) })
|
|
@@ -6,7 +6,7 @@ import { g as Z, a as $, b as Q, c as W } from "../../../../vendors/services/dat
|
|
|
6
6
|
import { produce as O } from "immer";
|
|
7
7
|
import { getColorByName as j, buildDeptTree as q, findNodeInTree as X, buildTree as Y } from "../../../utils/index.js";
|
|
8
8
|
import { Radio as H, Avatar as A, Spin as E } from "antd";
|
|
9
|
-
import { u as I, a as M, E as T, d as ee, b as te } from "../../../TabGroup-
|
|
9
|
+
import { u as I, a as M, E as T, d as ee, b as te } from "../../../TabGroup-CznMwTOD.js";
|
|
10
10
|
import { Checkbox as R, Icon as S, Tree as U } from "bsy-react-ui";
|
|
11
11
|
import { S as w } from "../../../../vendors/simplebar-react.js";
|
|
12
12
|
import { g as le, a as ne } from "../../../../vendors/services/data/department.service.js";
|
|
@@ -127,7 +127,7 @@ const D = (t) => {
|
|
|
127
127
|
className: _("rounded-[4px] cursor-pointer font-0 px-[10px]", {
|
|
128
128
|
"hover:bg-[#f3f3f3]": !0
|
|
129
129
|
}),
|
|
130
|
-
children: /* @__PURE__ */ e(R, { labelPosition: "left", value: r._id, children: /* @__PURE__ */ C("div", { className: "flex flex-1 gap-[6px] items-center py-[
|
|
130
|
+
children: /* @__PURE__ */ e(R, { labelPosition: "left", value: r._id, children: /* @__PURE__ */ C("div", { className: "flex flex-1 gap-[6px] items-center py-[7px] overflow-hidden", children: [
|
|
131
131
|
r.avatarurl ? /* @__PURE__ */ e(A, { src: r.avatarurl, size: 20, style: { flexShrink: 0 } }) : /* @__PURE__ */ e(
|
|
132
132
|
A,
|
|
133
133
|
{
|
|
@@ -335,7 +335,7 @@ const D = (t) => {
|
|
|
335
335
|
const i = (k) => k.filter((x) => (x.children && (x.children = i(x.children)), !((x.type === "label" || x.type === "dockcorpdept") && (!x.children || x.children.length === 0)))).map((x) => ({
|
|
336
336
|
...x,
|
|
337
337
|
checkable: x.type !== "label" && x.type !== "dockcorpdept",
|
|
338
|
-
icon: /* @__PURE__ */ e(te, { type: x.type })
|
|
338
|
+
icon: /* @__PURE__ */ e(te, { type: x.type, size: 16 })
|
|
339
339
|
})), u = m.label_corp_list.length ? q(m.label_corp_list)[0].children : [];
|
|
340
340
|
return i(u);
|
|
341
341
|
}
|
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
._tabgroup-container_1vd3c_1{position:relative;display:flex;height:34px;border-bottom:1px solid #e0e0e0}._tabgroup-container__tab-item_1vd3c_7{flex:1;text-align:center;color:#121111;cursor:pointer;font-size:14px;line-height:34px}._tabgroup-container__tab-item_1vd3c_7._active_1vd3c_15,._tabgroup-container__tab-item_1vd3c_7:hover{color:#0265ff}._tabgroup-container__indicator_1vd3c_18{position:absolute;bottom:0;height:2px;background-color:#0265ff;transition:all .3s ease-in-out;width:70px}.memeber-list .ant-radio-wrapper{display:flex;justify-content:space-between;align-items:center}.memeber-list .ant-radio{order:101;flex-shrink:0}.memeber-list .ant-radio-label{padding-inline-start:0!important;order:100;flex:1;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._bsy-external-member__all-option_10zdq_1{cursor:pointer;display:flex;gap:6px;border-radius:4px;padding:4px;transition:background-color .2s ease}._bsy-external-member__all-option_10zdq_1:hover{background-color:#f3f3f3}._bsy-external-member__all-option--selected_10zdq_13{background-color:#f0f6ff;color:#0265ff}._bsy-external-member__all-option--selected_10zdq_13:hover{background-color:#f0f6ff}._bsy-external-member__icon_10zdq_20{color:#0265ff;font-size:18px}._bsy-external-member__switcher-icon_10zdq_24{transition:transform .3s ease-in-out;font-size:16px;color:#666}._bsy-external-member__switcher-icon--expanded_10zdq_29{transform:rotate(90deg)}._bsy-all-member__all-option_tutqe_1{cursor:pointer;display:flex;gap:6px;border-radius:4px;height:34px;padding:6px 10px;transition:background-color .2s ease;--icon-color: #6f829e}._bsy-all-member__all-option_tutqe_1:hover{background-color:#f3f3f3}._bsy-all-member__all-option--selected_tutqe_15{--icon-color: #0265ff;background-color:#f0f6ff}._bsy-all-member__all-option--selected_tutqe_15:hover{background-color:#f0f6ff}._bsy-all-member__all-option-icon_tutqe_22{color:var(--icon-color)}.internal-container__icon{font-size:20px;color:#0265ff}.internal-container__arrow-icon{transition:transform .3s ease-in-out;color:#666;font-size:16px}.internal-container__arrow-icon.rotate-90{transform:rotate(90deg)}.internal-container__empty{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#999}.external-container__tabs{position:relative;display:flex;height:34px;border-bottom:1px solid #e0e0e0}.external-container__tab-item{flex:1;text-align:center;color:#121111;cursor:pointer;font-size:14px;line-height:34px}.external-container__tab-item.active{color:#0265ff}.external-container__indicator{position:absolute;bottom:0;height:2px;background-color:#0265ff;transition:all .3s ease-in-out;width:70px}.entity-group-list .ant-radio-wrapper{display:flex;justify-content:space-between;align-items:center}.entity-group-list .ant-radio{order:101;flex-shrink:0}.entity-group-list .ant-radio-label{padding-inline-start:0!important;order:100;flex:1;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.depts-member-selection-preview{position:relative}.depts-member-selection-preview .depts-member-selection-preview-container{position:relative;background-color:#fff;z-index:11;transition:padding-bottom .35s ease-out;color:#121211}.depts-member-selection-preview .depts-member-selection-preview-container.expand{padding-bottom:50px}.depts-member-selection-preview .depts-member-selection-preview-container.enable-animation{position:absolute;left:0;right:0}.depts-member-selection-preview .depts-member-selection-preview-container .preview-container__body{position:relative;min-height:52px;border-radius:4px;border:1px dashed #e0e0e0;transition:all ease-out .35s}.depts-member-selection-preview .depts-member-selection-preview-container .preview-container__body.expand{border-color:#0265ff;max-height:400px;overflow:hidden}.depts-member-selection-preview .depts-member-selection-preview-container .preview-container__body:not(.expand):hover{border-color:#0265ff}.depts-member-selection-preview .depts-member-selection-preview-container .preview-container__scroll-gutter{padding:10px}.depts-member-selection-preview .depts-member-selection-preview-container .preview-container__scroll{overflow:hidden;transition:all .3s ease}.depts-member-selection-preview .depts-member-selection-preview-container .preview-container__button{position:absolute;left:0;right:0;bottom:0;height:50px;color:#0265ff;display:flex;align-items:center;justify-content:center;background-color:#fff}.depts-member-selection-preview .depts-member-selection-preview-container .measure-list{position:absolute;top:0;left:0;opacity:0;pointer-events:none;z-index:-1}.depts-member-selection-preview .depts-member-selection-preview-container .entity-list{font-size:0;display:flex;gap:8px;flex-wrap:wrap;transition:height .35s ease-out}.depts-member-selection-preview .depts-member-selection-preview-container .entity-list .entity-item{display:inline-flex;height:30px;padding-left:6px;padding-right:8px;background-color:#e6f8ff;border-radius:100px;gap:6px;align-items:center;line-height:normal}.depts-member-selection-preview .depts-member-selection-preview-container .entity-list .entity-item .entity-item__content{height:20px;flex-shrink:0;display:inline-flex;align-items:center}.depts-member-selection-preview .depts-member-selection-preview-container .entity-list .entity-item .entity-item__text{font-size:14px;display:inline-flex;align-items:center}.depts-member-selection-preview .depts-member-selection-preview-container .entity-list .entity-item .entity-item__text .entity-item__name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:120px;display:inline-block}.depts-member-selection-preview .depts-member-selection-preview-container .entity-list .entity-item .entity-item__text .entity-item__badge{font-size:12px;color:#4d609f;display:inline-block}.depts-member-selection-preview .depts-member-selection-preview-container .entity-list .entity-item .entity-item__close{cursor:pointer;width:14px;height:14px;display:flex;align-items:center}.depts-member-selection-preview .depts-member-selection-preview-container .entity-list .entity-item .entity-item__close .anticon{color:#666;font-size:14px}.depts-member-selection-preview .depts-member-selection-preview-container .entity-list .entity-item .entity-item__close .anticon:hover{color:#0265ff}.depts-member-selection-preview .depts-member-selection-preview-container .entity-list .entity-item.entity-item--user{background-color:#eceff3}.depts-member-selection-preview .depts-member-selection-preview-container .entity-list .entity-item.entity-item--department{background-color:#ebf0ff}.depts-member-selection-preview .depts-member-selection-preview-container .entity-list .entity-list__more{color:#0265ff;display:inline-flex;font-size:14px;align-items:center}.depts-member-selection-preview .depts-member-selection-preview-container .entity-list .entity-list__more .entity-list__more-button{font-size:14px;display:inline-flex;gap:6px}.depts-member-selection-preview .depts-member-selection-preview-container .entity-list .entity-list__more .entity-list__more-button:hover{opacity:.8}.depts-member-selection-preview .measure-list{padding:10px}.depts-member-preview-container__mask{position:absolute;inset:0;background-color:#0000004d;z-index:10}._selection-tabs_88491_1{border-radius:6px;border:1px solid #e0e0e0}._depts-member-selector_d4xq4_1{display:flex;flex-direction:column;gap:10px;position:relative}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.bottom-\[-1px\]{bottom:-1px}.left-2\.5{left:.625rem}.top-1\/2{top:50%}.ml-3{margin-left:.75rem}.ml-\[-16px\]{margin-left:-16px}.flex{display:flex}.inline-flex{display:inline-flex}.h-5{height:1.25rem}.h-\[2px\]{height:2px}.h-\[30px\]{height:30px}.h-full{height:100%}.w-5{width:1.25rem}.w-\[280px\]{width:280px}.w-full{width:100%}.flex-1{flex:1 1 0%}.flex-\[0\]{flex:0}.flex-auto{flex:1 1 auto}.shrink-0{flex-shrink:0}.basis-\[192px\]{flex-basis:192px}.basis-\[200px\]{flex-basis:200px}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.select-none{user-select:none}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-10{gap:2.5rem}.gap-\[10px\]{gap:10px}.gap-\[6px\]{gap:6px}.overflow-hidden{overflow:hidden}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-\[100px\]{border-radius:100px}.rounded-\[4px\]{border-radius:4px}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-\[\#E0E0E0\],.border-\[\#e0e0e0\]{--tw-border-opacity: 1;border-color:rgb(224 224 224 / var(--tw-border-opacity, 1))}.bg-\[\#0265ff\]{--tw-bg-opacity: 1;background-color:rgb(2 101 255 / var(--tw-bg-opacity, 1))}.bg-\[\#F0F6FF\]{--tw-bg-opacity: 1;background-color:rgb(240 246 255 / var(--tw-bg-opacity, 1))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.p-0{padding:0}.p-1{padding:.25rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-\[10px\]{padding-left:10px;padding-right:10px}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-\[14px\]{padding-top:14px;padding-bottom:14px}.py-\[5px\]{padding-top:5px;padding-bottom:5px}.py-\[6px\]{padding-top:6px;padding-bottom:6px}.py-\[7px\]{padding-top:7px;padding-bottom:7px}.pl-8{padding-left:2rem}.pr-3{padding-right:.75rem}.pt-5{padding-top:1.25rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.text-\[\#0265ff\]{--tw-text-opacity: 1;color:rgb(2 101 255 / var(--tw-text-opacity, 1))}.text-\[\#121211\]{--tw-text-opacity: 1;color:rgb(18 18 17 / var(--tw-text-opacity, 1))}.text-\[\#4d609f\]{--tw-text-opacity: 1;color:rgb(77 96 159 / var(--tw-text-opacity, 1))}.text-\[\#666\]{--tw-text-opacity: 1;color:rgb(102 102 102 / var(--tw-text-opacity, 1))}.text-\[\#70c911\]{--tw-text-opacity: 1;color:rgb(112 201 17 / var(--tw-text-opacity, 1))}.text-\[\#999\]{--tw-text-opacity: 1;color:rgb(153 153 153 / var(--tw-text-opacity, 1))}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.outline-none{outline:2px solid transparent;outline-offset:2px}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.placeholder\:text-\[\#999\]::placeholder{--tw-text-opacity: 1;color:rgb(153 153 153 / var(--tw-text-opacity, 1))}.hover\:border-\[\#0265ff\]:hover{--tw-border-opacity: 1;border-color:rgb(2 101 255 / var(--tw-border-opacity, 1))}.hover\:bg-\[\#f3f3f3\]:hover{--tw-bg-opacity: 1;background-color:rgb(243 243 243 / var(--tw-bg-opacity, 1))}.hover\:text-\[\#0265ff\]:hover{--tw-text-opacity: 1;color:rgb(2 101 255 / var(--tw-text-opacity, 1))}
|
|
1
|
+
._tabgroup-container_1vd3c_1{position:relative;display:flex;height:34px;border-bottom:1px solid #e0e0e0}._tabgroup-container__tab-item_1vd3c_7{flex:1;text-align:center;color:#121111;cursor:pointer;font-size:14px;line-height:34px}._tabgroup-container__tab-item_1vd3c_7._active_1vd3c_15,._tabgroup-container__tab-item_1vd3c_7:hover{color:#0265ff}._tabgroup-container__indicator_1vd3c_18{position:absolute;bottom:0;height:2px;background-color:#0265ff;transition:all .3s ease-in-out;width:70px}.memeber-list .ant-radio-wrapper{display:flex;justify-content:space-between;align-items:center}.memeber-list .ant-radio{order:101;flex-shrink:0}.memeber-list .ant-radio-label{padding-inline-start:0!important;order:100;flex:1;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._bsy-external-member__all-option_10zdq_1{cursor:pointer;display:flex;gap:6px;border-radius:4px;padding:4px;transition:background-color .2s ease}._bsy-external-member__all-option_10zdq_1:hover{background-color:#f3f3f3}._bsy-external-member__all-option--selected_10zdq_13{background-color:#f0f6ff;color:#0265ff}._bsy-external-member__all-option--selected_10zdq_13:hover{background-color:#f0f6ff}._bsy-external-member__icon_10zdq_20{color:#0265ff;font-size:18px}._bsy-external-member__switcher-icon_10zdq_24{transition:transform .3s ease-in-out;font-size:16px;color:#666}._bsy-external-member__switcher-icon--expanded_10zdq_29{transform:rotate(90deg)}._bsy-all-member__all-option_tutqe_1{cursor:pointer;display:flex;gap:6px;border-radius:4px;height:34px;padding:6px 10px;transition:background-color .2s ease;--icon-color: #6f829e}._bsy-all-member__all-option_tutqe_1:hover{background-color:#f3f3f3}._bsy-all-member__all-option--selected_tutqe_15{--icon-color: #0265ff;background-color:#f0f6ff}._bsy-all-member__all-option--selected_tutqe_15:hover{background-color:#f0f6ff}._bsy-all-member__all-option-icon_tutqe_22{color:var(--icon-color)}.internal-container__icon{font-size:20px;color:#0265ff}.internal-container__arrow-icon{transition:transform .3s ease-in-out;color:#666;font-size:16px}.internal-container__arrow-icon.rotate-90{transform:rotate(90deg)}.internal-container__empty{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#999}.external-container__tabs{position:relative;display:flex;height:34px;border-bottom:1px solid #e0e0e0}.external-container__tab-item{flex:1;text-align:center;color:#121111;cursor:pointer;font-size:14px;line-height:34px}.external-container__tab-item.active{color:#0265ff}.external-container__indicator{position:absolute;bottom:0;height:2px;background-color:#0265ff;transition:all .3s ease-in-out;width:70px}.entity-group-list .ant-radio-wrapper{display:flex;justify-content:space-between;align-items:center}.entity-group-list .ant-radio{order:101;flex-shrink:0}.entity-group-list .ant-radio-label{padding-inline-start:0!important;order:100;flex:1;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.depts-member-selection-preview{position:relative}.depts-member-selection-preview .depts-member-selection-preview-container{position:relative;background-color:#fff;z-index:11;transition:padding-bottom .35s ease-out;color:#121211}.depts-member-selection-preview .depts-member-selection-preview-container.expand{padding-bottom:50px}.depts-member-selection-preview .depts-member-selection-preview-container.enable-animation{position:absolute;left:0;right:0}.depts-member-selection-preview .depts-member-selection-preview-container .preview-container__body{position:relative;min-height:52px;border-radius:4px;border:1px dashed #e0e0e0;transition:all ease-out .35s}.depts-member-selection-preview .depts-member-selection-preview-container .preview-container__body.expand{border-color:#0265ff;max-height:400px;overflow:hidden}.depts-member-selection-preview .depts-member-selection-preview-container .preview-container__body:not(.expand):hover{border-color:#0265ff}.depts-member-selection-preview .depts-member-selection-preview-container .preview-container__scroll-gutter{padding:10px}.depts-member-selection-preview .depts-member-selection-preview-container .preview-container__scroll{overflow:hidden;transition:all .3s ease}.depts-member-selection-preview .depts-member-selection-preview-container .preview-container__button{position:absolute;left:0;right:0;bottom:0;height:50px;color:#0265ff;display:flex;align-items:center;justify-content:center;background-color:#fff}.depts-member-selection-preview .depts-member-selection-preview-container .measure-list{position:absolute;top:0;left:0;opacity:0;pointer-events:none;z-index:-1}.depts-member-selection-preview .depts-member-selection-preview-container .entity-list{font-size:0;display:flex;gap:8px;flex-wrap:wrap;transition:height .35s ease-out}.depts-member-selection-preview .depts-member-selection-preview-container .entity-list .entity-item{display:inline-flex;height:30px;padding-left:6px;padding-right:8px;background-color:#e6f8ff;border-radius:100px;gap:6px;align-items:center;line-height:normal}.depts-member-selection-preview .depts-member-selection-preview-container .entity-list .entity-item .entity-item__content{height:20px;flex-shrink:0;display:inline-flex;align-items:center}.depts-member-selection-preview .depts-member-selection-preview-container .entity-list .entity-item .entity-item__text{font-size:14px;display:inline-flex;align-items:center}.depts-member-selection-preview .depts-member-selection-preview-container .entity-list .entity-item .entity-item__text .entity-item__name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:120px;display:inline-block}.depts-member-selection-preview .depts-member-selection-preview-container .entity-list .entity-item .entity-item__text .entity-item__badge{font-size:12px;color:#4d609f;display:inline-block}.depts-member-selection-preview .depts-member-selection-preview-container .entity-list .entity-item .entity-item__close{cursor:pointer;width:14px;height:14px;display:flex;align-items:center}.depts-member-selection-preview .depts-member-selection-preview-container .entity-list .entity-item .entity-item__close .anticon{color:#666;font-size:14px}.depts-member-selection-preview .depts-member-selection-preview-container .entity-list .entity-item .entity-item__close .anticon:hover{color:#0265ff}.depts-member-selection-preview .depts-member-selection-preview-container .entity-list .entity-item.entity-item--user{background-color:#eceff3}.depts-member-selection-preview .depts-member-selection-preview-container .entity-list .entity-item.entity-item--department{background-color:#ebf0ff}.depts-member-selection-preview .depts-member-selection-preview-container .entity-list .entity-list__more{color:#0265ff;display:inline-flex;font-size:14px;align-items:center}.depts-member-selection-preview .depts-member-selection-preview-container .entity-list .entity-list__more .entity-list__more-button{font-size:14px;display:inline-flex;gap:6px}.depts-member-selection-preview .depts-member-selection-preview-container .entity-list .entity-list__more .entity-list__more-button:hover{opacity:.8}.depts-member-selection-preview .measure-list{padding:10px}.depts-member-preview-container__mask{position:absolute;inset:0;background-color:#0000004d;z-index:10}._selection-tabs_88491_1{border-radius:6px;border:1px solid #e0e0e0}._depts-member-selector_d4xq4_1{display:flex;flex-direction:column;gap:10px;position:relative}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.bottom-\[-1px\]{bottom:-1px}.left-2\.5{left:.625rem}.top-1\/2{top:50%}.ml-3{margin-left:.75rem}.ml-\[-16px\]{margin-left:-16px}.flex{display:flex}.inline-flex{display:inline-flex}.h-5{height:1.25rem}.h-\[2px\]{height:2px}.h-\[30px\]{height:30px}.h-full{height:100%}.w-5{width:1.25rem}.w-\[280px\]{width:280px}.w-full{width:100%}.flex-1{flex:1 1 0%}.flex-\[0\]{flex:0}.flex-auto{flex:1 1 auto}.shrink-0{flex-shrink:0}.basis-\[192px\]{flex-basis:192px}.basis-\[200px\]{flex-basis:200px}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.select-none{user-select:none}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-10{gap:2.5rem}.gap-\[10px\]{gap:10px}.gap-\[6px\]{gap:6px}.overflow-hidden{overflow:hidden}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-\[100px\]{border-radius:100px}.rounded-\[4px\]{border-radius:4px}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-\[\#E0E0E0\],.border-\[\#e0e0e0\]{--tw-border-opacity: 1;border-color:rgb(224 224 224 / var(--tw-border-opacity, 1))}.bg-\[\#0265ff\]{--tw-bg-opacity: 1;background-color:rgb(2 101 255 / var(--tw-bg-opacity, 1))}.bg-\[\#F0F6FF\]{--tw-bg-opacity: 1;background-color:rgb(240 246 255 / var(--tw-bg-opacity, 1))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.p-0{padding:0}.p-1{padding:.25rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-\[10px\]{padding-left:10px;padding-right:10px}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-\[14px\]{padding-top:14px;padding-bottom:14px}.py-\[5px\]{padding-top:5px;padding-bottom:5px}.py-\[6px\]{padding-top:6px;padding-bottom:6px}.py-\[7px\]{padding-top:7px;padding-bottom:7px}.pl-8{padding-left:2rem}.pr-3{padding-right:.75rem}.pt-5{padding-top:1.25rem}.text-base{font-size:1rem;line-height:1.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.text-\[\#0265ff\]{--tw-text-opacity: 1;color:rgb(2 101 255 / var(--tw-text-opacity, 1))}.text-\[\#121211\]{--tw-text-opacity: 1;color:rgb(18 18 17 / var(--tw-text-opacity, 1))}.text-\[\#4d609f\]{--tw-text-opacity: 1;color:rgb(77 96 159 / var(--tw-text-opacity, 1))}.text-\[\#666\]{--tw-text-opacity: 1;color:rgb(102 102 102 / var(--tw-text-opacity, 1))}.text-\[\#70c911\]{--tw-text-opacity: 1;color:rgb(112 201 17 / var(--tw-text-opacity, 1))}.text-\[\#999\]{--tw-text-opacity: 1;color:rgb(153 153 153 / var(--tw-text-opacity, 1))}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.outline-none{outline:2px solid transparent;outline-offset:2px}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.placeholder\:text-\[\#999\]::placeholder{--tw-text-opacity: 1;color:rgb(153 153 153 / var(--tw-text-opacity, 1))}.hover\:border-\[\#0265ff\]:hover{--tw-border-opacity: 1;border-color:rgb(2 101 255 / var(--tw-border-opacity, 1))}.hover\:bg-\[\#f3f3f3\]:hover{--tw-bg-opacity: 1;background-color:rgb(243 243 243 / var(--tw-bg-opacity, 1))}.hover\:text-\[\#0265ff\]:hover{--tw-text-opacity: 1;color:rgb(2 101 255 / var(--tw-text-opacity, 1))}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as r } from "./DeptsMember/DeptsMember-
|
|
1
|
+
import { D as r } from "./DeptsMember/DeptsMember-pFjdAocd.js";
|
|
2
2
|
import { C as i } from "./ConfigProvider/ConfigProvider-CE-neQMa.js";
|
|
3
3
|
import { c as t, g } from "./vendors/services/apiService.js";
|
|
4
4
|
export {
|