var Q = (e, t, a) => new Promise((l, i) => { var S = (p) => { try { o(a.next(p)); } catch (m) { i(m); } }, h = (p) => { try { o(a.throw(p)); } catch (m) { i(m); } }, o = (p) => p.done ? l(p.value) : Promise.resolve(p.value).then(S, h); o((a = a.apply(e, t)).next()); }); import { defineComponent as de, createVNode as d, inject as je, ref as R, provide as He, toRef as fe, computed as _, watch as Te, resolveComponent as ye, openBlock as $, createBlock as j, withCtx as P, createElementBlock as V, Fragment as se, renderList as re, normalizeStyle as Fe, unref as Z, resolveDynamicComponent as we, createTextVNode as te, toDisplayString as O, onMounted as Ve, onUnmounted as We, createElementVNode as D, createCommentVNode as oe, normalizeClass as Ie } from "vue"; import { useRouter as Ue } from "vue-router"; import { u as ue, P as ne, bO as Pe, _ as U, c as he, F as Ge, d_ as Je, dY as Ye, g as ke, m as Xe, d as B, r as Qe, cA as qe, d$ as Ze, bt as xe, cZ as Ke, aA as ze, i as Oe, e as ce, dZ as ie, bn as Ae, bm as et, bp as pe, l as tt, b as nt, bq as at, L as lt, b3 as ot, b5 as it, o as st, a3 as rt, e0 as ct, bF as dt, be as ut, d4 as $e, B as Re, bG as mt, f as q, bo as gt, K as vt, ad as pt, d0 as J, e1 as ft, n as yt, e2 as ht, C as Ct, e3 as bt, e4 as St, e5 as It, e6 as xt, e7 as At, e8 as $t } from "./index2.js"; import { T as Et, _ as Tt } from "./index12.js"; import { C as Be, _ as wt } from "./index18.js"; import { _ as Pt } from "./index6.js"; import { A as kt } from "./ActionButton.js"; import { C as zt, A as Ot } from "./Col.js"; import { T as Rt } from "./index13.js"; const Bt = () => ({ avatar: ne.any, description: ne.any, prefixCls: String, title: ne.any }), Mt = de({ compatConfig: { MODE: 3 }, name: "AListItemMeta", props: Bt(), displayName: "AListItemMeta", __ANT_LIST_ITEM_META: !0, slots: Object, setup(e, t) { let { slots: a } = t; const { prefixCls: l } = ue("list", e); return () => { var i, S, h, o, p, m; const y = `${l.value}-item-meta`, I = (i = e.title) !== null && i !== void 0 ? i : (S = a.title) === null || S === void 0 ? void 0 : S.call(a), v = (h = e.description) !== null && h !== void 0 ? h : (o = a.description) === null || o === void 0 ? void 0 : o.call(a), T = (p = e.avatar) !== null && p !== void 0 ? p : (m = a.avatar) === null || m === void 0 ? void 0 : m.call(a), w = d("div", { class: `${l.value}-item-meta-content` }, [I && d("h4", { class: `${l.value}-item-meta-title` }, [I]), v && d("div", { class: `${l.value}-item-meta-description` }, [v])]); return d("div", { class: y }, [T && d("div", { class: `${l.value}-item-meta-avatar` }, [T]), (I || v) && w]); }; } }), Me = Symbol("ListContextKey"); var Dt = function(e, t) { var a = {}; for (var l in e) Object.prototype.hasOwnProperty.call(e, l) && t.indexOf(l) < 0 && (a[l] = e[l]); if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var i = 0, l = Object.getOwnPropertySymbols(e); i < l.length; i++) t.indexOf(l[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, l[i]) && (a[l[i]] = e[l[i]]); return a; }; const Nt = () => ({ prefixCls: String, extra: ne.any, actions: ne.array, grid: Object, colStyle: { type: Object, default: void 0 } }), De = de({ compatConfig: { MODE: 3 }, name: "AListItem", inheritAttrs: !1, Meta: Mt, props: Nt(), slots: Object, setup(e, t) { let { slots: a, attrs: l } = t; const { itemLayout: i, grid: S } = je(Me, { grid: R(), itemLayout: R() }), { prefixCls: h } = ue("list", e), o = () => { var m; const y = ((m = a.default) === null || m === void 0 ? void 0 : m.call(a)) || []; let I; return y.forEach((v) => { Je(v) && !Ye(v) && (I = !0); }), I && y.length > 1; }, p = () => { var m, y; const I = (m = e.extra) !== null && m !== void 0 ? m : (y = a.extra) === null || y === void 0 ? void 0 : y.call(a); return i.value === "vertical" ? !!I : !o(); }; return () => { var m, y, I, v, T; const { class: w } = l, x = Dt(l, ["class"]), k = h.value, L = (m = e.extra) !== null && m !== void 0 ? m : (y = a.extra) === null || y === void 0 ? void 0 : y.call(a), H = (I = a.default) === null || I === void 0 ? void 0 : I.call(a); let g = (v = e.actions) !== null && v !== void 0 ? v : Pe((T = a.actions) === null || T === void 0 ? void 0 : T.call(a)); g = g && !Array.isArray(g) ? [g] : g; const u = g && g.length > 0 && d("ul", { class: `${k}-item-action`, key: "actions" }, [g.map((n, s) => d("li", { key: `${k}-item-action-${s}` }, [n, s !== g.length - 1 && d("em", { class: `${k}-item-action-split` }, null)]))]), z = S.value ? "div" : "li", r = d(z, U(U({}, x), {}, { class: he(`${k}-item`, { [`${k}-item-no-flex`]: !p() }, w) }), { default: () => [i.value === "vertical" && L ? [d("div", { class: `${k}-item-main`, key: "content" }, [H, u]), d("div", { class: `${k}-item-extra`, key: "extra" }, [L])] : [H, u, Ge(L, { key: "extra" })]] }); return S.value ? d(zt, { flex: 1, style: e.colStyle }, { default: () => [r] }) : r; }; } }), Lt = (e) => { const { listBorderedCls: t, componentCls: a, paddingLG: l, margin: i, padding: S, listItemPaddingSM: h, marginLG: o, borderRadiusLG: p } = e; return { [`${t}`]: { border: `${e.lineWidth}px ${e.lineType} ${e.colorBorder}`, borderRadius: p, [`${a}-header,${a}-footer,${a}-item`]: { paddingInline: l }, [`${a}-pagination`]: { margin: `${i}px ${o}px` } }, [`${t}${a}-sm`]: { [`${a}-item,${a}-header,${a}-footer`]: { padding: h } }, [`${t}${a}-lg`]: { [`${a}-item,${a}-header,${a}-footer`]: { padding: `${S}px ${l}px` } } }; }, _t = (e) => { const { componentCls: t, screenSM: a, screenMD: l, marginLG: i, marginSM: S, margin: h } = e; return { [`@media screen and (max-width:${l})`]: { [`${t}`]: { [`${t}-item`]: { [`${t}-item-action`]: { marginInlineStart: i } } }, [`${t}-vertical`]: { [`${t}-item`]: { [`${t}-item-extra`]: { marginInlineStart: i } } } }, [`@media screen and (max-width: ${a})`]: { [`${t}`]: { [`${t}-item`]: { flexWrap: "wrap", [`${t}-action`]: { marginInlineStart: S } } }, [`${t}-vertical`]: { [`${t}-item`]: { flexWrap: "wrap-reverse", [`${t}-item-main`]: { minWidth: e.contentWidth }, [`${t}-item-extra`]: { margin: `auto auto ${h}px` } } } } }; }, jt = (e) => { const { componentCls: t, antCls: a, controlHeight: l, minHeight: i, paddingSM: S, marginLG: h, padding: o, listItemPadding: p, colorPrimary: m, listItemPaddingSM: y, listItemPaddingLG: I, paddingXS: v, margin: T, colorText: w, colorTextDescription: x, motionDurationSlow: k, lineWidth: L } = e; return { [`${t}`]: B(B({}, Qe(e)), { position: "relative", "*": { outline: "none" }, [`${t}-header, ${t}-footer`]: { background: "transparent", paddingBlock: S }, [`${t}-pagination`]: { marginBlockStart: h, textAlign: "end", // https://github.com/ant-design/ant-design/issues/20037 [`${a}-pagination-options`]: { textAlign: "start" } }, [`${t}-spin`]: { minHeight: i, textAlign: "center" }, [`${t}-items`]: { margin: 0, padding: 0, listStyle: "none" }, [`${t}-item`]: { display: "flex", alignItems: "center", justifyContent: "space-between", padding: p, color: w, [`${t}-item-meta`]: { display: "flex", flex: 1, alignItems: "flex-start", maxWidth: "100%", [`${t}-item-meta-avatar`]: { marginInlineEnd: o }, [`${t}-item-meta-content`]: { flex: "1 0", width: 0, color: w }, [`${t}-item-meta-title`]: { marginBottom: e.marginXXS, color: w, fontSize: e.fontSize, lineHeight: e.lineHeight, "> a": { color: w, transition: `all ${k}`, "&:hover": { color: m } } }, [`${t}-item-meta-description`]: { color: x, fontSize: e.fontSize, lineHeight: e.lineHeight } }, [`${t}-item-action`]: { flex: "0 0 auto", marginInlineStart: e.marginXXL, padding: 0, fontSize: 0, listStyle: "none", "& > li": { position: "relative", display: "inline-block", padding: `0 ${v}px`, color: x, fontSize: e.fontSize, lineHeight: e.lineHeight, textAlign: "center", "&:first-child": { paddingInlineStart: 0 } }, [`${t}-item-action-split`]: { position: "absolute", insetBlockStart: "50%", insetInlineEnd: 0, width: L, height: Math.ceil(e.fontSize * e.lineHeight) - e.marginXXS * 2, transform: "translateY(-50%)", backgroundColor: e.colorSplit } } }, [`${t}-empty`]: { padding: `${o}px 0`, color: x, fontSize: e.fontSizeSM, textAlign: "center" }, [`${t}-empty-text`]: { padding: o, color: e.colorTextDisabled, fontSize: e.fontSize, textAlign: "center" }, // ============================ without flex ============================ [`${t}-item-no-flex`]: { display: "block" } }), [`${t}-grid ${a}-col > ${t}-item`]: { display: "block", maxWidth: "100%", marginBlockEnd: T, paddingBlock: 0, borderBlockEnd: "none" }, [`${t}-vertical ${t}-item`]: { alignItems: "initial", [`${t}-item-main`]: { display: "block", flex: 1 }, [`${t}-item-extra`]: { marginInlineStart: h }, [`${t}-item-meta`]: { marginBlockEnd: o, [`${t}-item-meta-title`]: { marginBlockEnd: S, color: w, fontSize: e.fontSizeLG, lineHeight: e.lineHeightLG } }, [`${t}-item-action`]: { marginBlockStart: o, marginInlineStart: "auto", "> li": { padding: `0 ${o}px`, "&:first-child": { paddingInlineStart: 0 } } } }, [`${t}-split ${t}-item`]: { borderBlockEnd: `${e.lineWidth}px ${e.lineType} ${e.colorSplit}`, "&:last-child": { borderBlockEnd: "none" } }, [`${t}-split ${t}-header`]: { borderBlockEnd: `${e.lineWidth}px ${e.lineType} ${e.colorSplit}` }, [`${t}-split${t}-empty ${t}-footer`]: { borderTop: `${e.lineWidth}px ${e.lineType} ${e.colorSplit}` }, [`${t}-loading ${t}-spin-nested-loading`]: { minHeight: l }, [`${t}-split${t}-something-after-last-item ${a}-spin-container > ${t}-items > ${t}-item:last-child`]: { borderBlockEnd: `${e.lineWidth}px ${e.lineType} ${e.colorSplit}` }, [`${t}-lg ${t}-item`]: { padding: I }, [`${t}-sm ${t}-item`]: { padding: y }, // Horizontal [`${t}:not(${t}-vertical)`]: { [`${t}-item-no-flex`]: { [`${t}-item-action`]: { float: "right" } } } }; }, Ht = ke("List", (e) => { const t = Xe(e, { listBorderedCls: `${e.componentCls}-bordered`, minHeight: e.controlHeightLG, listItemPadding: `${e.paddingContentVertical}px ${e.paddingContentHorizontalLG}px`, listItemPaddingSM: `${e.paddingContentVerticalSM}px ${e.paddingContentHorizontal}px`, listItemPaddingLG: `${e.paddingContentVerticalLG}px ${e.paddingContentHorizontalLG}px` }); return [jt(t), Lt(t), _t(t)]; }, { contentWidth: 220 }), Ft = () => ({ bordered: Ae(), dataSource: tt(), extra: ie(), grid: ce(), itemLayout: String, loading: pe([Boolean, Object]), loadMore: ie(), pagination: pe([Boolean, Object]), prefixCls: String, rowKey: pe([String, Number, Function]), renderItem: et(), size: String, split: Ae(), header: ie(), footer: ie(), locale: ce() }), G = de({ compatConfig: { MODE: 3 }, name: "AList", inheritAttrs: !1, Item: De, props: Oe(Ft(), { dataSource: [], bordered: !1, split: !0, loading: !1, pagination: !1 }), slots: Object, setup(e, t) { let { slots: a, attrs: l } = t; var i, S; He(Me, { grid: fe(e, "grid"), itemLayout: fe(e, "itemLayout") }); const h = { current: 1, total: 0 }, { prefixCls: o, direction: p, renderEmpty: m } = ue("list", e), [y, I] = Ht(o), v = _(() => e.pagination && typeof e.pagination == "object" ? e.pagination : {}), T = R((i = v.value.defaultCurrent) !== null && i !== void 0 ? i : 1), w = R((S = v.value.defaultPageSize) !== null && S !== void 0 ? S : 10); Te(v, () => { "current" in v.value && (T.value = v.value.current), "pageSize" in v.value && (w.value = v.value.pageSize); }); const x = [], k = (c) => (C, b) => { T.value = C, w.value = b, v.value[c] && v.value[c](C, b); }, L = k("onChange"), H = k("onShowSizeChange"), g = _(() => typeof e.loading == "boolean" ? { spinning: e.loading } : e.loading), u = _(() => g.value && g.value.spinning), z = _(() => { let c = ""; switch (e.size) { case "large": c = "lg"; break; case "small": c = "sm"; break; } return c; }), r = _(() => ({ [`${o.value}`]: !0, [`${o.value}-vertical`]: e.itemLayout === "vertical", [`${o.value}-${z.value}`]: z.value, [`${o.value}-split`]: e.split, [`${o.value}-bordered`]: e.bordered, [`${o.value}-loading`]: u.value, [`${o.value}-grid`]: !!e.grid, [`${o.value}-rtl`]: p.value === "rtl" })), n = _(() => { const c = B(B(B({}, h), { total: e.dataSource.length, current: T.value, pageSize: w.value }), e.pagination || {}), C = Math.ceil(c.total / c.pageSize); return c.current > C && (c.current = C), c; }), s = _(() => { let c = [...e.dataSource]; return e.pagination && e.dataSource.length > (n.value.current - 1) * n.value.pageSize && (c = [...e.dataSource].splice((n.value.current - 1) * n.value.pageSize, n.value.pageSize)), c; }), E = qe(), A = Ze(() => { for (let c = 0; c < xe.length; c += 1) { const C = xe[c]; if (E.value[C]) return C; } }), f = _(() => { if (!e.grid) return; const c = A.value && e.grid[A.value] ? e.grid[A.value] : e.grid.column; if (c) return { width: `${100 / c}%`, maxWidth: `${100 / c}%` }; }), N = (c, C) => { var b; const F = (b = e.renderItem) !== null && b !== void 0 ? b : a.renderItem; if (!F) return null; let M; const W = typeof e.rowKey; return W === "function" ? M = e.rowKey(c) : W === "string" || W === "number" ? M = c[e.rowKey] : M = c.key, M || (M = `list-item-${C}`), x[C] = M, F({ item: c, index: C }); }; return () => { var c, C, b, F, M, W, K, Y; const ee = (c = e.loadMore) !== null && c !== void 0 ? c : (C = a.loadMore) === null || C === void 0 ? void 0 : C.call(a), X = (b = e.footer) !== null && b !== void 0 ? b : (F = a.footer) === null || F === void 0 ? void 0 : F.call(a), ae = (M = e.header) !== null && M !== void 0 ? M : (W = a.header) === null || W === void 0 ? void 0 : W.call(a), Ce = Pe((K = a.default) === null || K === void 0 ? void 0 : K.call(a)), Ne = !!(ee || e.pagination || X), Le = he(B(B({}, r.value), { [`${o.value}-something-after-last-item`]: Ne }), l.class, I.value), be = e.pagination ? d("div", { class: `${o.value}-pagination` }, [d(Ke, U(U({}, n.value), {}, { onChange: L, onShowSizeChange: H }), null)]) : null; let me = u.value && d("div", { style: { minHeight: "53px" } }, null); if (s.value.length > 0) { x.length = 0; const Se = s.value.map((ge, ve) => N(ge, ve)), _e = Se.map((ge, ve) => d("div", { key: x[ve], style: f.value }, [ge])); me = e.grid ? d(Ot, { gutter: e.grid.gutter }, { default: () => [_e] }) : d("ul", { class: `${o.value}-items` }, [Se]); } else !Ce.length && !u.value && (me = d("div", { class: `${o.value}-empty-text` }, [((Y = e.locale) === null || Y === void 0 ? void 0 : Y.emptyText) || m("List")])); const le = n.value.position || "bottom"; return y(d("div", U(U({}, l), {}, { class: Le }), [(le === "top" || le === "both") && be, ae && d("div", { class: `${o.value}-header` }, [ae]), d(ze, g.value, { default: () => [me, Ce] }), X && d("div", { class: `${o.value}-footer` }, [X]), ee || (le === "bottom" || le === "both") && be])); }; } }); G.install = function(e) { return e.component(G.name, G), e.component(G.Item.name, G.Item), e.component(G.Item.Meta.name, G.Item.Meta), e; }; const Vt = (e) => { const { componentCls: t, iconCls: a, zIndexPopup: l, colorText: i, colorWarning: S, marginXS: h, fontSize: o, fontWeightStrong: p, lineHeight: m } = e; return { [t]: { zIndex: l, [`${t}-inner-content`]: { color: i }, [`${t}-message`]: { position: "relative", marginBottom: h, color: i, fontSize: o, display: "flex", flexWrap: "nowrap", alignItems: "start", [`> ${t}-message-icon ${a}`]: { color: S, fontSize: o, flex: "none", lineHeight: 1, paddingTop: (Math.round(o * m) - o) / 2 }, "&-title": { flex: "auto", marginInlineStart: h }, "&-title-only": { fontWeight: p } }, [`${t}-description`]: { position: "relative", marginInlineStart: o + h, marginBottom: h, color: i, fontSize: o }, [`${t}-buttons`]: { textAlign: "end", button: { marginInlineStart: h } } } }; }, Wt = ke("Popconfirm", (e) => Vt(e), (e) => { const { zIndexPopupBase: t } = e; return { zIndexPopup: t + 60 }; }); var Ut = function(e, t) { var a = {}; for (var l in e) Object.prototype.hasOwnProperty.call(e, l) && t.indexOf(l) < 0 && (a[l] = e[l]); if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var i = 0, l = Object.getOwnPropertySymbols(e); i < l.length; i++) t.indexOf(l[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, l[i]) && (a[l[i]] = e[l[i]]); return a; }; const Gt = () => B(B({}, mt()), { prefixCls: String, content: q(), title: q(), description: q(), okType: gt("primary"), disabled: { type: Boolean, default: !1 }, okText: q(), cancelText: q(), icon: q(), okButtonProps: ce(), cancelButtonProps: ce(), showCancel: { type: Boolean, default: !0 }, onConfirm: Function, onCancel: Function }), Jt = de({ compatConfig: { MODE: 3 }, name: "APopconfirm", inheritAttrs: !1, props: Oe(Gt(), B(B({}, dt()), { trigger: "click", placement: "top", mouseEnterDelay: 0.1, mouseLeaveDelay: 0.1, arrowPointAtCenter: !1, autoAdjustOverflow: !0, okType: "primary", disabled: !1 })), slots: Object, // emits: ['update:open', 'visibleChange'], setup(e, t) { let { slots: a, emit: l, expose: i, attrs: S } = t; const h = R(); at(e.visible === void 0, "Popconfirm", "`visible` will be removed in next major version, please use `open` instead."), i({ getPopupDomNode: () => { var r, n; return (n = (r = h.value) === null || r === void 0 ? void 0 : r.getPopupDomNode) === null || n === void 0 ? void 0 : n.call(r); } }); const [o, p] = lt(!1, { value: fe(e, "open") }), m = (r, n) => { e.open === void 0 && p(r), l("update:open", r), l("openChange", r, n); }, y = (r) => { m(!1, r); }, I = (r) => { var n; return (n = e.onConfirm) === null || n === void 0 ? void 0 : n.call(e, r); }, v = (r) => { var n; m(!1, r), (n = e.onCancel) === null || n === void 0 || n.call(e, r); }, T = (r) => { r.keyCode === vt.ESC && o && m(!1, r); }, w = (r) => { const { disabled: n } = e; n || m(r); }, { prefixCls: x, getPrefixCls: k } = ue("popconfirm", e), L = _(() => k()), H = _(() => k("btn")), [g] = Wt(x), [u] = ot("Popconfirm", it.Popconfirm), z = () => { var r, n, s, E, A; const { okButtonProps: f, cancelButtonProps: N, title: c = (r = a.title) === null || r === void 0 ? void 0 : r.call(a), description: C = (n = a.description) === null || n === void 0 ? void 0 : n.call(a), cancelText: b = (s = a.cancel) === null || s === void 0 ? void 0 : s.call(a), okText: F = (E = a.okText) === null || E === void 0 ? void 0 : E.call(a), okType: M, icon: W = ((A = a.icon) === null || A === void 0 ? void 0 : A.call(a)) || d(ut, null, null), showCancel: K = !0 } = e, { cancelButton: Y, okButton: ee } = a, X = B({ onClick: v, size: "small" }, N), ae = B(B(B({ onClick: I }, $e(M)), { size: "small" }), f); return d("div", { class: `${x.value}-inner-content` }, [d("div", { class: `${x.value}-message` }, [W && d("span", { class: `${x.value}-message-icon` }, [W]), d("div", { class: [`${x.value}-message-title`, { [`${x.value}-message-title-only`]: !!C }] }, [c])]), C && d("div", { class: `${x.value}-description` }, [C]), d("div", { class: `${x.value}-buttons` }, [K ? Y ? Y(X) : d(Re, X, { default: () => [b || u.value.cancelText] }) : null, ee ? ee(ae) : d(kt, { buttonProps: B(B({ size: "small" }, $e(M)), f), actionFn: I, close: y, prefixCls: H.value, quitOnNullishReturnValue: !0, emitEvent: !0 }, { default: () => [F || u.value.okText] })])]); }; return () => { var r; const { placement: n, overlayClassName: s, trigger: E = "click" } = e, A = Ut(e, ["placement", "overlayClassName", "trigger"]), f = st(A, ["title", "content", "cancelText", "okText", "onUpdate:open", "onConfirm", "onCancel", "prefixCls"]), N = he(x.value, s); return g(d(Pt, U(U(U({}, f), S), {}, { trigger: E, placement: n, onOpenChange: w, open: o.value, overlayClassName: N, transitionName: rt(L.value, "zoom-big", e.transitionName), ref: h, "data-popover-inject": !0 }), { default: () => [ct(((r = a.default) === null || r === void 0 ? void 0 : r.call(a)) || [], { onKeydown: (c) => { T(c); } }, !1)], content: z })); }; } }), Yt = nt(Jt), Xt = { __name: "workplace-selector", props: { value: { type: Boolean, default: !1 }, selectedList: { type: Array, default: () => [] } }, emits: ["update:value", "done"], setup(e, { emit: t }) { const a = e, l = t, i = pt(), S = /(Outlined|Filled|TwoTone)$/, h = (g) => { if (!g) return J; const u = String(g).split(/[-_\s]+/).filter(Boolean).map((n) => n.charAt(0).toUpperCase() + n.slice(1)).join(""); if (!u) return J; const z = S.test(u) ? u : u + "Outlined", r = ye(z); return typeof r == "string" ? J : r; }, o = _({ get: () => a.value, set: (g) => l("update:value", g) }), p = R("mm0001"), m = R([]), y = R([]), I = _(() => i.menus), v = _(() => i.clients), T = () => { v.value && v.value.length && (m.value = v.value.map((g) => ({ id: g.id, clientId: g.clientId, clientName: g.clientName }))); }, w = () => { o.value = !1; }, x = (g) => { g.forEach((u) => { u.children && u.children.length > 0 ? x(u.children) : u.href && u.isShow && y.value.push({ id: u.id, name: u.name, icon: u.icon, href: u.href, hoverable: L(u, a.selectedList) }); }); }, k = (g) => { l("done", g); }, L = (g = {}, u = []) => !u || u.length < 1 ? !0 : !u.some((z) => z.menu.id === g.id), H = (g) => Q(this, null, function* () { var r; y.value = []; const u = window.$utils.ls.get("USER-TOKEN"), z = yield ft({ baseURL: window.$utils.env.VITE_APP_API_BASE_URL, url: `/${window.$utils.env.VITE_APP_PORTAL_SERVER_NAME}/v1/users/menus`, timeout: 60 * 1e3, headers: { "Content-Type": "application/json;charset=UTF-8", "user-token": u, "client-id": g }, method: "get", data: {} }); x((r = z == null ? void 0 : z.data) == null ? void 0 : r.data); }); return Te( () => a.selectedList, () => { y.value = [], x(I.value); } ), T(), (g, u) => { const z = Tt, r = Et, n = wt, s = Be, E = Re, A = ye("s-modal"); return $(), j(A, { value: o.value, "onUpdate:value": u[1] || (u[1] = (f) => o.value = f), title: g.$l("添加快捷导航菜单"), width: "80%", maskClosable: !1 }, { footer: P(() => [ d(E, { key: "back", onClick: w }, { default: P(() => [ te(O(g.$l("关闭")), 1) ]), _: 1 }) ]), default: P(() => [ d(r, { activeKey: p.value, "onUpdate:activeKey": u[0] || (u[0] = (f) => p.value = f), onChange: H }, { default: P(() => [ ($(!0), V(se, null, re(m.value, (f) => ($(), j(z, { key: f.clientId, tab: f.clientName }, null, 8, ["tab"]))), 128)) ]), _: 1 }, 8, ["activeKey"]), d(s, { style: { "margin-bottom": "6px" }, bordered: !1 }, { default: P(() => [ ($(!0), V(se, null, re(y.value, (f, N) => ($(), j(n, { style: Fe({ width: "20%", textAlign: "center", cursor: f.hoverable ? "pointer" : "" }), key: f.id + N, hoverable: f.hoverable, onClick: (c) => f.hoverable ? k(f) : "" }, { default: P(() => [ f.icon ? ($(), j(we(h(f.icon)), { key: 1 })) : ($(), j(Z(J), { key: 0 })), te(" " + O(f.name), 1) ]), _: 2 }, 1032, ["style", "hoverable", "onCl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VxyVQJYTHj1Ps9VIxlxlHSkh13AzxkzBbMkv+Sa3opykl3Ew8PDEGzQFIMTTCFE/n6/X5dvu7VqSQk3Md8+Cp6aIh5Raekm/VaqaWhHHE2I9P78wTUxa+fetRo06n02q16DmBqiDJr3N4JDMzeeRJJNInJ7EPTYCUr/rXju/uNkmn4Bk5mlRK8OjKMzOzOYDkeRW04/LyKt7Pb9eO1+yCZD3ORucpZhyo0oNHMjs7l3CJdfyykDa8Bx5NGM956tG/doAIVJVK2CptkmRW8Awv6iQUPasxt9pd6dfp8+DUdaLOBCq7IbdSqQBVGEYUD6QM4BFCTo6iSjpZJ0/l5FAf+gLeUau0UUHKBh6Rhfl5N2cguplRPT//SXRxFCHKtkqrd5aWlhYWngzKoMODlBk83Ih8w+FRe86mvQlOZ2dnyUOUhQpHenzctv9dXV29czTDgJQZPHJxOAC3VUrHaxO0NdzV9D6Dqyqt7T/cPbCrYjhIWcIzPT2FAaVxApP7x2rrUNeLi3NX+3u5oKq0tynanP8My0EgZQ7PXKWS1gnJKT77nGFlgFxxClul1Tt6kCuN7wdJBMQ+PyjV2EO+yGXTfhZU6g+o10Pjrq4ukzN1IpPd4lm6XeYh7i6QsDruQnbsP7AlDXj0bFU8WzYzZOXM0ns91vf6mn+dhFC128cnJ6eB99fW1trtdnrwoA3T0x5ZNm4t49nLcvaTBXpgOW6q07lOYl79j4tPAx6MxvP413sOcV4H0ZbzndFRUDFo9SQS12DEbJXWITxcRDtzwYY/RTghuFyoaTc9f96gZWXEVD2DKEJhN1lG8pxTRqBn/BE8BTy3uVz8aWw9rN7+DcjtV359V52Snd2++J9MTQma3t9xee5t+eY+b1cYE5l6GILiy38CDADXoxCrjDZe8wAAAABJRU5ErkJggg==", Qt = { class: "board-layout" }, qt = { key: 0, class: "flex-grid-5" }, Zt = ["onClick"], Kt = { key: 1, class: "empty project-content" }, en = ["src"], tn = { class: "tabs-wrap" }, nn = { class: "list-content" }, an = { class: "list-content-item" }, ln = ["onClick"], on = { style: { float: "right" } }, sn = { key: 1, class: "empty project-content" }, rn = ["src"], cn = /* @__PURE__ */ Object.assign({ name: "WorkPlaceIndex" }, { __name: "workplace", setup(e) { const t = Ue(), a = /(Outlined|Filled|TwoTone)$/, l = (n) => { if (!n) return J; const s = String(n).split(/[-_\s]+/).filter(Boolean).map((f) => f.charAt(0).toUpperCase() + f.slice(1)).join(""); if (!s) return J; const E = a.test(s) ? s : s + "Outlined", A = ye(E); return typeof A == "string" ? J : A; }, i = R(1), S = { padding: 0 }, h = R(0), o = R(0), p = R(!1), m = R(!1), y = R([]), I = R(!1), v = R(!1), T = R([]), w = () => Q(this, null, function* () { try { p.value = !0; const n = yield bt(); y.value = n || [], y.value.length < 1 && (v.value = !1), p.value = !1; } catch (n) { p.value = !1; } }), x = (n, s) => { try { const E = new URL(n); E.search = "", E.hash = ""; let A = E.toString(); return A.endsWith("/") || (A += "/"), A + s; } catch (E) { return n + s; } }, k = (n) => { if (n.menu.clientId && n.menu.clientId !== `${window.$utils.env.VITE_APP_CLIENT_ID}`) { const s = n.menu.hrefs ? n.menu.hrefs.substring(1, n.menu.hrefs.length) : ""; window.open(x(n.clientRedirectUri, s)); } else t.push({ path: n.menu.hrefs }); }, L = (n) => { i.value = n, H(); }, H = () => Q(this, null, function* () { m.value = !0; try { const n = yield St(); i.value === 1 ? T.value = n.toDealList || [] : T.value = n.toReadList || [], h.value = n.toDealCount || 0, o.value = n.toReadCount || 0; } catch (n) { T.value = [], console.warn("[workplace] 待办消息获取失败:", n); } finally { m.value = !1; } }), g = (n) => Q(this, null, function* () { I.value = !1, p.value = !0, yield $t(n).then(() => { p.value = !1; }), w(); }), u = (n) => Q(this, null, function* () { p.value = !0, yield It({ id: n.id }).then(() => { p.value = !1; }), w(); }), z = (n = {}) => { if (n.messageTypeCode === "toRead" && xt([n.id]), n.clientId === "flow") { const s = { client_id: `${window.$utils.env.VITE_APP_CLIENT_ID}`, scope: "snsapi_base" }; At(s).then((E) => { const A = E && typeof E == "object" ? E.data : E; if (!A) { location.reload(); return; } const f = `code=${A}`, N = s.state ? `&state=${s.state}` : ""; let c = ""; if (n.messageTypeCode === "toDeal" ? c = n.toDealUrl : n.messageTypeCode === "toRead" && (c = n.toReadUrl), c && c.includes("?")) { let C = `${f}${N}`; C && (C = `&${f}${N}`), window.open(c + C); } else { let C = `${f}${N}`; C && (C = `?${f}${N}`), window.open(c + C); } }); } else { let s = ""; n.messageTypeCode === "toDeal" ? s = n.toDealUrl : n.messageTypeCode === "toRead" && (s = n.toReadUrl), window.open(s); } }; let r = null; return Ve(() => { w(), H(), r = ht(() => H()); }), We(() => { r && r(), r = null; }), (n, s) => { const E = Yt, A = Be, f = ze, N = Rt, c = De, C = G; return $(), V("div", Qt, [ d(f, { spinning: p.value }, { default: P(() => [ d(A, { class: "project-list" }, { title: P(() => [ te(O(n.$l("快捷导航")), 1) ]), extra: P(() => [ !v.value && y.value.length > 0 ? ($(), V("a", { key: 0, onClick: s[0] || (s[0] = (b) => v.value = !0) }, O(n.$l("修改")), 1)) : oe("", !0), v.value ? ($(), V("a", { key: 1, onClick: s[1] || (s[1] = (b) => v.value = !1) }, O(n.$l("返回")), 1)) : oe("", !0), !v.value && y.value.length < 10 ? ($(), V("a", { key: 2, style: { "margin-left": "24px" }, onClick: s[2] || (s[2] = (b) => I.value = !0) }, O(n.$l("添加")), 1)) : oe("", !0) ]), default: P(() => [ y.value.length > 0 ? ($(), V("div", qt, [ ($(!0), V(se, null, re(y.value, (b, F) => ($(), j(A, { bordered: !1, "body-style": { padding: 0, position: "relative" }, key: F }, { default: P(() => [ D("div", { class: "card-item", onClick: (M) => k(b) }, [ b.menu.icon ? ($(), j(we(l(b.menu.icon)), { key: 1 })) : ($(), j(Z(J), { key: 0 })), D("a", null, O(b.menu.name), 1) ], 8, Zt), d(E, { title: n.$l("确认要移除此快捷导航吗?"), onConfirm: (M) => u(b), okText: n.$l("删除"), cancelText: n.$l("取消") }, { icon: P(() => [...s[7] || (s[7] = [ D("span", null, null, -1) ])]), default: P(() => [ v.value ? ($(), j(Z(Ct), { key: 0, class: "delete-menu" })) : oe("", !0) ]), _: 1 }, 8, ["title", "onConfirm", "okText", "cancelText"]) ]), _: 2 }, 1024))), 128)) ])) : ($(), V("div", Kt, [ D("img", { src: Z(Ee) }, null, 8, en), D("h4", null, O(n.$l("您没有设置快捷导航")), 1) ])) ]), _: 1 }) ]), _: 1 }, 8, ["spinning"]), d(f, { spinning: m.value }, { default: P(() => [ d(A, { class: "project-list margin-top-20", "body-style": S }, { title: P(() => [ D("div", tn, [ D("div", { class: Ie(["item", { "s-theme-color": i.value === 1 }]), onClick: s[3] || (s[3] = (b) => L(1)) }, O(n.$l("待处理")) + "(" + O(h.value) + ") ", 3), D("div", { class: Ie(["item", { "s-theme-color": i.value === 2 }]), onClick: s[4] || (s[4] = (b) => L(2)) }, O(n.$l("待阅读")) + "(" + O(o.value) + ") ", 3) ]) ]), extra: P(() => [ D("a", { onClick: s[5] || (s[5] = (b) => Z(t).push({ path: "/message/index" })) }, O(n.$l("更多")), 1) ]), default: P(() => [ T.value.length > 0 ? ($(), j(C, { key: 0, style: { "overflow-y": "scroll" }, size: "large", class: "project-content" }, { default: P(() => [ ($(!0), V(se, null, re(T.value, (b, F) => ($(), j(c, { key: F }, { default: P(() => [ D("div", nn, [ D("div", an, [ D("span", null, [ i.value === 1 ? ($(), j(N, { key: 0, color: "var(--s-color)" }, { default: P(() => [ te(O(n.$l("待处理")), 1) ]), _: 1 })) : ($(), j(N, { key: 1, color: "var(--s-color)" }, { default: P(() => [ te(O(n.$l("待阅读")), 1) ]), _: 1 })), D("a", { onClick: (M) => z(b), class: "pull-right" }, O(b.contentTitle), 9, ln) ]), D("span", on, O(b.createDate), 1) ]) ]) ]), _: 2 }, 1024))), 128)) ]), _: 1 })) : ($(), V("div", sn, [ D("img", { src: Z(Ee) }, null, 8, rn), D("h4", null, O(n.$l("没有消息")), 1) ])) ]), _: 1 }) ]), _: 1 }, 8, ["spinning"]), d(Xt, { value: I.value, "onUpdate:value": s[6] || (s[6] = (b) => I.value = b), selectedList: y.value, onDone: g }, null, 8, ["value", "selectedList"]) ]); }; } }), bn = /* @__PURE__ */ yt(cn, [["__scopeId", "data-v-a8e737d5"]]); export { bn as default };