var Q = (e, t, a) => new Promise((l, i) => { var S = (f) => { try { o(a.next(f)); } catch (m) { i(m); } }, h = (f) => { try { o(a.throw(f)); } catch (m) { i(m); } }, o = (f) => f.done ? l(f.value) : Promise.resolve(f.value).then(S, h); o((a = a.apply(e, t)).next()); }); import { defineComponent as ce, createVNode as d, inject as _e, ref as O, provide as He, toRef as pe, computed as j, watch as Pe, resolveComponent as se, openBlock as E, createBlock as F, withCtx as w, createElementBlock as W, Fragment as fe, renderList as ye, normalizeStyle as Fe, unref as Z, resolveDynamicComponent as we, createTextVNode as te, toDisplayString as R, 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 de, P as ne, bP as Te, _ 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, cC as qe, d$ as Ze, bu as xe, c$ as Ke, aB as ze, i as Re, e as re, dZ as ie, bo as Ae, bn as et, bq as ve, l as tt, b as nt, br as at, L as lt, b4 as ot, b6 as it, o as st, a4 as rt, e0 as ct, bG as dt, bf as ut, d6 as $e, B as Oe, bH as mt, f as q, bp as gt, K as vt, ae as pt, d2 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 { C as Be, _ as Et } from "./index18.js"; import { _ as Pt } from "./index6.js"; import { A as wt } from "./ActionButton.js"; import { C as Tt, A as kt } from "./Col.js"; import { T as zt } from "./index14.js"; const Rt = () => ({ avatar: ne.any, description: ne.any, prefixCls: String, title: ne.any }), Ot = ce({ compatConfig: { MODE: 3 }, name: "AListItemMeta", props: Rt(), displayName: "AListItemMeta", __ANT_LIST_ITEM_META: !0, slots: Object, setup(e, t) { let { slots: a } = t; const { prefixCls: l } = de("list", e); return () => { var i, S, h, o, f, 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), $ = (f = e.avatar) !== null && f !== void 0 ? f : (m = a.avatar) === null || m === void 0 ? void 0 : m.call(a), P = 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 }, [$ && d("div", { class: `${l.value}-item-meta-avatar` }, [$]), (I || v) && P]); }; } }), Me = Symbol("ListContextKey"); var Bt = 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 Mt = () => ({ prefixCls: String, extra: ne.any, actions: ne.array, grid: Object, colStyle: { type: Object, default: void 0 } }), De = ce({ compatConfig: { MODE: 3 }, name: "AListItem", inheritAttrs: !1, Meta: Ot, props: Mt(), slots: Object, setup(e, t) { let { slots: a, attrs: l } = t; const { itemLayout: i, grid: S } = _e(Me, { grid: O(), itemLayout: O() }), { prefixCls: h } = de("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; }, f = () => { 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, $; const { class: P } = l, x = Bt(l, ["class"]), T = h.value, N = (m = e.extra) !== null && m !== void 0 ? m : (y = a.extra) === null || y === void 0 ? void 0 : y.call(a), _ = (I = a.default) === null || I === void 0 ? void 0 : I.call(a); let g = (v = e.actions) !== null && v !== void 0 ? v : Te(($ = a.actions) === null || $ === void 0 ? void 0 : $.call(a)); g = g && !Array.isArray(g) ? [g] : g; const u = g && g.length > 0 && d("ul", { class: `${T}-item-action`, key: "actions" }, [g.map((n, s) => d("li", { key: `${T}-item-action-${s}` }, [n, s !== g.length - 1 && d("em", { class: `${T}-item-action-split` }, null)]))]), z = S.value ? "div" : "li", r = d(z, U(U({}, x), {}, { class: he(`${T}-item`, { [`${T}-item-no-flex`]: !f() }, P) }), { default: () => [i.value === "vertical" && N ? [d("div", { class: `${T}-item-main`, key: "content" }, [_, u]), d("div", { class: `${T}-item-extra`, key: "extra" }, [N])] : [_, u, Ge(N, { key: "extra" })]] }); return S.value ? d(Tt, { flex: 1, style: e.colStyle }, { default: () => [r] }) : r; }; } }), Dt = (e) => { const { listBorderedCls: t, componentCls: a, paddingLG: l, margin: i, padding: S, listItemPaddingSM: h, marginLG: o, borderRadiusLG: f } = e; return { [`${t}`]: { border: `${e.lineWidth}px ${e.lineType} ${e.colorBorder}`, borderRadius: f, [`${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` } } }; }, Nt = (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` } } } } }; }, Lt = (e) => { const { componentCls: t, antCls: a, controlHeight: l, minHeight: i, paddingSM: S, marginLG: h, padding: o, listItemPadding: f, colorPrimary: m, listItemPaddingSM: y, listItemPaddingLG: I, paddingXS: v, margin: $, colorText: P, colorTextDescription: x, motionDurationSlow: T, lineWidth: N } = 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: f, color: P, [`${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: P }, [`${t}-item-meta-title`]: { marginBottom: e.marginXXS, color: P, fontSize: e.fontSize, lineHeight: e.lineHeight, "> a": { color: P, transition: `all ${T}`, "&: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: N, 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: $, 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: P, 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" } } } }; }, jt = 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 [Lt(t), Dt(t), Nt(t)]; }, { contentWidth: 220 }), _t = () => ({ bordered: Ae(), dataSource: tt(), extra: ie(), grid: re(), itemLayout: String, loading: ve([Boolean, Object]), loadMore: ie(), pagination: ve([Boolean, Object]), prefixCls: String, rowKey: ve([String, Number, Function]), renderItem: et(), size: String, split: Ae(), header: ie(), footer: ie(), locale: re() }), G = ce({ compatConfig: { MODE: 3 }, name: "AList", inheritAttrs: !1, Item: De, props: Re(_t(), { 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: pe(e, "grid"), itemLayout: pe(e, "itemLayout") }); const h = { current: 1, total: 0 }, { prefixCls: o, direction: f, renderEmpty: m } = de("list", e), [y, I] = jt(o), v = j(() => e.pagination && typeof e.pagination == "object" ? e.pagination : {}), $ = O((i = v.value.defaultCurrent) !== null && i !== void 0 ? i : 1), P = O((S = v.value.defaultPageSize) !== null && S !== void 0 ? S : 10); Pe(v, () => { "current" in v.value && ($.value = v.value.current), "pageSize" in v.value && (P.value = v.value.pageSize); }); const x = [], T = (c) => (C, b) => { $.value = C, P.value = b, v.value[c] && v.value[c](C, b); }, N = T("onChange"), _ = T("onShowSizeChange"), g = j(() => typeof e.loading == "boolean" ? { spinning: e.loading } : e.loading), u = j(() => g.value && g.value.spinning), z = j(() => { let c = ""; switch (e.size) { case "large": c = "lg"; break; case "small": c = "sm"; break; } return c; }), r = j(() => ({ [`${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`]: f.value === "rtl" })), n = j(() => { const c = B(B(B({}, h), { total: e.dataSource.length, current: $.value, pageSize: P.value }), e.pagination || {}), C = Math.ceil(c.total / c.pageSize); return c.current > C && (c.current = C), c; }), s = j(() => { 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; }), A = qe(), p = Ze(() => { for (let c = 0; c < xe.length; c += 1) { const C = xe[c]; if (A.value[C]) return C; } }), k = j(() => { if (!e.grid) return; const c = p.value && e.grid[p.value] ? e.grid[p.value] : e.grid.column; if (c) return { width: `${100 / c}%`, maxWidth: `${100 / c}%` }; }), L = (c, C) => { var b; const H = (b = e.renderItem) !== null && b !== void 0 ? b : a.renderItem; if (!H) return null; let M; const V = typeof e.rowKey; return V === "function" ? M = e.rowKey(c) : V === "string" || V === "number" ? M = c[e.rowKey] : M = c.key, M || (M = `list-item-${C}`), x[C] = M, H({ item: c, index: C }); }; return () => { var c, C, b, H, M, V, 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 : (H = a.footer) === null || H === void 0 ? void 0 : H.call(a), ae = (M = e.header) !== null && M !== void 0 ? M : (V = a.header) === null || V === void 0 ? void 0 : V.call(a), Ce = Te((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: N, onShowSizeChange: _ }), null)]) : null; let ue = u.value && d("div", { style: { minHeight: "53px" } }, null); if (s.value.length > 0) { x.length = 0; const Se = s.value.map((me, ge) => L(me, ge)), je = Se.map((me, ge) => d("div", { key: x[ge], style: k.value }, [me])); ue = e.grid ? d(kt, { gutter: e.grid.gutter }, { default: () => [je] }) : d("ul", { class: `${o.value}-items` }, [Se]); } else !Ce.length && !u.value && (ue = 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: () => [ue, 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 Ht = (e) => { const { componentCls: t, iconCls: a, zIndexPopup: l, colorText: i, colorWarning: S, marginXS: h, fontSize: o, fontWeightStrong: f, 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: f } }, [`${t}-description`]: { position: "relative", marginInlineStart: o + h, marginBottom: h, color: i, fontSize: o }, [`${t}-buttons`]: { textAlign: "end", button: { marginInlineStart: h } } } }; }, Ft = ke("Popconfirm", (e) => Ht(e), (e) => { const { zIndexPopupBase: t } = e; return { zIndexPopup: t + 60 }; }); var Vt = 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 Wt = () => 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: re(), cancelButtonProps: re(), showCancel: { type: Boolean, default: !0 }, onConfirm: Function, onCancel: Function }), Ut = ce({ compatConfig: { MODE: 3 }, name: "APopconfirm", inheritAttrs: !1, props: Re(Wt(), 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 = O(); 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, f] = lt(!1, { value: pe(e, "open") }), m = (r, n) => { e.open === void 0 && f(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); }, $ = (r) => { r.keyCode === vt.ESC && o && m(!1, r); }, P = (r) => { const { disabled: n } = e; n || m(r); }, { prefixCls: x, getPrefixCls: T } = de("popconfirm", e), N = j(() => T()), _ = j(() => T("btn")), [g] = Ft(x), [u] = ot("Popconfirm", it.Popconfirm), z = () => { var r, n, s, A, p; const { okButtonProps: k, cancelButtonProps: L, 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: H = (A = a.okText) === null || A === void 0 ? void 0 : A.call(a), okType: M, icon: V = ((p = a.icon) === null || p === void 0 ? void 0 : p.call(a)) || d(ut, null, null), showCancel: K = !0 } = e, { cancelButton: Y, okButton: ee } = a, X = B({ onClick: v, size: "small" }, L), ae = B(B(B({ onClick: I }, $e(M)), { size: "small" }), k); return d("div", { class: `${x.value}-inner-content` }, [d("div", { class: `${x.value}-message` }, [V && d("span", { class: `${x.value}-message-icon` }, [V]), 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(Oe, X, { default: () => [b || u.value.cancelText] }) : null, ee ? ee(ae) : d(wt, { buttonProps: B(B({ size: "small" }, $e(M)), k), actionFn: I, close: y, prefixCls: _.value, quitOnNullishReturnValue: !0, emitEvent: !0 }, { default: () => [H || u.value.okText] })])]); }; return () => { var r; const { placement: n, overlayClassName: s, trigger: A = "click" } = e, p = Vt(e, ["placement", "overlayClassName", "trigger"]), k = st(p, ["title", "content", "cancelText", "okText", "onUpdate:open", "onConfirm", "onCancel", "prefixCls"]), L = he(x.value, s); return g(d(Pt, U(U(U({}, k), S), {}, { trigger: A, placement: n, onOpenChange: P, open: o.value, overlayClassName: L, transitionName: rt(N.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) => { $(c); } }, !1)], content: z })); }; } }), Gt = nt(Ut), Jt = { __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 = se(z); return typeof r == "string" ? J : r; }, o = j({ get: () => a.value, set: (g) => l("update:value", g) }), f = O("mm0001"), m = O([]), y = O([]), I = j(() => i.menus), v = j(() => i.clients), $ = () => { v.value && v.value.length && (m.value = v.value.map((g) => ({ id: g.id, clientId: g.clientId, clientName: g.clientName }))); }, P = () => { 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: N(u, a.selectedList) }); }); }, T = (g) => { l("done", g); }, N = (g = {}, u = []) => !u || u.length < 1 ? !0 : !u.some((z) => z.menu.id === g.id), _ = (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_API_PATH}/${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 Pe( () => a.selectedList, () => { y.value = [], x(I.value); } ), $(), (g, u) => { const z = se("s-tab"), r = Et, n = Be, s = Oe, A = se("s-modal"); return E(), F(A, { value: o.value, "onUpdate:value": u[1] || (u[1] = (p) => o.value = p), title: g.$l("添加快捷导航菜单"), width: "100%", boxHeight: 100, maskClosable: !1, "default-full-screen": "" }, { footer: w(() => [ d(s, { key: "back", onClick: P }, { default: w(() => [ te(R(g.$l("关闭")), 1) ]), _: 1 }) ]), default: w(() => [ d(z, { activeKey: f.value, "onUpdate:activeKey": u[0] || (u[0] = (p) => f.value = p), tabs: m.value, "tab-key": { label: "clientName", value: "clientId" }, style: { "margin-bottom": "16px" }, onChange: _ }, null, 8, ["activeKey", "tabs"]), d(n, { style: { "margin-bottom": "6px" }, bordered: !1 }, { default: w(() => [ (E(!0), W(fe, null, ye(y.value, (p, k) => (E(), F(r, { style: Fe({ width: "20%", textAlign: "center", cursor: p.hoverable ? "pointer" : "" }), key: p.id + k, hoverable: p.hoverable, onClick: (L) => p.hoverable ? T(p) : "" }, { default: w(() => [ p.icon ? (E(), F(we(h(p.icon)), { key: 1 })) : (E(), F(Z(J), { key: 0 })), te(" " + R(p.name), 1) ]), _: 2 }, 1032, ["style", "hoverable", "onClick"]))),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JYTHj1Ps9VIxlxlHSkh13AzxkzBbMkv+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==", Yt = { class: "board-layout" }, Xt = { key: 0, class: "flex-grid-5" }, Qt = ["onClick"], qt = { key: 1, class: "empty project-content" }, Zt = ["src"], Kt = { class: "tabs-wrap" }, en = { class: "list-content" }, tn = { class: "list-content-item" }, nn = ["onClick"], an = { style: { float: "right" } }, ln = { key: 1, class: "empty project-content" }, on = ["src"], sn = /* @__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((k) => k.charAt(0).toUpperCase() + k.slice(1)).join(""); if (!s) return J; const A = a.test(s) ? s : s + "Outlined", p = se(A); return typeof p == "string" ? J : p; }, i = O(1), S = { padding: 0 }, h = O(0), o = O(0), f = O(!1), m = O(!1), y = O([]), I = O(!1), v = O(!1), $ = O([]), P = () => Q(this, null, function* () { try { f.value = !0; const n = yield bt(); y.value = n || [], y.value.length < 1 && (v.value = !1), f.value = !1; } catch (n) { f.value = !1; } }), x = (n, s) => { try { const A = new URL(n); A.search = "", A.hash = ""; let p = A.toString(); return p.endsWith("/") || (p += "/"), p + s; } catch (A) { return n + s; } }, T = (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 }); }, N = (n) => { i.value = n, _(); }, _ = () => Q(this, null, function* () { m.value = !0; try { const n = yield St(); i.value === 1 ? $.value = n.toDealList || [] : $.value = n.toReadList || [], h.value = n.toDealCount || 0, o.value = n.toReadCount || 0; } catch (n) { $.value = [], console.warn("[workplace] 待办消息获取失败:", n); } finally { m.value = !1; } }), g = (n) => Q(this, null, function* () { I.value = !1, f.value = !0, yield $t(n).then(() => { f.value = !1; }), P(); }), u = (n) => Q(this, null, function* () { f.value = !0, yield It({ id: n.id }).then(() => { f.value = !1; }), P(); }), 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((A) => { const p = A && typeof A == "object" ? A.data : A; if (!p) { location.reload(); return; } const k = `code=${p}`, L = 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 = `${k}${L}`; C && (C = `&${k}${L}`), window.open(c + C); } else { let C = `${k}${L}`; C && (C = `?${k}${L}`), 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(() => { P(), _(), r = ht(() => _()); }), We(() => { r && r(), r = null; }), (n, s) => { const A = Gt, p = Be, k = ze, L = zt, c = De, C = G; return E(), W("div", Yt, [ d(k, { spinning: f.value }, { default: w(() => [ d(p, { class: "project-list" }, { title: w(() => [ te(R(n.$l("快捷导航")), 1) ]), extra: w(() => [ !v.value && y.value.length > 0 ? (E(), W("a", { key: 0, onClick: s[0] || (s[0] = (b) => v.value = !0) }, R(n.$l("修改")), 1)) : oe("", !0), v.value ? (E(), W("a", { key: 1, onClick: s[1] || (s[1] = (b) => v.value = !1) }, R(n.$l("返回")), 1)) : oe("", !0), !v.value && y.value.length < 10 ? (E(), W("a", { key: 2, style: { "margin-left": "24px" }, onClick: s[2] || (s[2] = (b) => I.value = !0) }, R(n.$l("添加")), 1)) : oe("", !0) ]), default: w(() => [ y.value.length > 0 ? (E(), W("div", Xt, [ (E(!0), W(fe, null, ye(y.value, (b, H) => (E(), F(p, { bordered: !1, "body-style": { padding: 0, position: "relative" }, key: H }, { default: w(() => [ D("div", { class: "card-item", onClick: (M) => T(b) }, [ b.menu.icon ? (E(), F(we(l(b.menu.icon)), { key: 1 })) : (E(), F(Z(J), { key: 0 })), D("a", null, R(b.menu.name), 1) ], 8, Qt), d(A, { title: n.$l("确认要移除此快捷导航吗?"), onConfirm: (M) => u(b), okText: n.$l("删除"), cancelText: n.$l("取消") }, { icon: w(() => [...s[7] || (s[7] = [ D("span", null, null, -1) ])]), default: w(() => [ v.value ? (E(), F(Z(Ct), { key: 0, class: "delete-menu" })) : oe("", !0) ]), _: 1 }, 8, ["title", "onConfirm", "okText", "cancelText"]) ]), _: 2 }, 1024))), 128)) ])) : (E(), W("div", qt, [ D("img", { src: Z(Ee) }, null, 8, Zt), D("h4", null, R(n.$l("您没有设置快捷导航")), 1) ])) ]), _: 1 }) ]), _: 1 }, 8, ["spinning"]), d(k, { spinning: m.value }, { default: w(() => [ d(p, { class: "project-list margin-top-20", "body-style": S }, { title: w(() => [ D("div", Kt, [ D("div", { class: Ie(["item", { "s-theme-color": i.value === 1 }]), onClick: s[3] || (s[3] = (b) => N(1)) }, R(n.$l("待处理")) + "(" + R(h.value) + ") ", 3), D("div", { class: Ie(["item", { "s-theme-color": i.value === 2 }]), onClick: s[4] || (s[4] = (b) => N(2)) }, R(n.$l("待阅读")) + "(" + R(o.value) + ") ", 3) ]) ]), extra: w(() => [ D("a", { onClick: s[5] || (s[5] = (b) => Z(t).push({ path: "/message/index" })) }, R(n.$l("更多")), 1) ]), default: w(() => [ $.value.length > 0 ? (E(), F(C, { key: 0, style: { "overflow-y": "scroll" }, size: "large", class: "project-content" }, { default: w(() => [ (E(!0), W(fe, null, ye($.value, (b, H) => (E(), F(c, { key: H }, { default: w(() => [ D("div", en, [ D("div", tn, [ D("span", null, [ i.value === 1 ? (E(), F(L, { key: 0, color: "var(--s-color)" }, { default: w(() => [ te(R(n.$l("待处理")), 1) ]), _: 1 })) : (E(), F(L, { key: 1, color: "var(--s-color)" }, { default: w(() => [ te(R(n.$l("待阅读")), 1) ]), _: 1 })), D("a", { onClick: (M) => z(b), class: "pull-right" }, R(b.contentTitle), 9, nn) ]), D("span", an, R(b.createDate), 1) ]) ]) ]), _: 2 }, 1024))), 128)) ]), _: 1 })) : (E(), W("div", ln, [ D("img", { src: Z(Ee) }, null, 8, on), D("h4", null, R(n.$l("没有消息")), 1) ])) ]), _: 1 }) ]), _: 1 }, 8, ["spinning"]), d(Jt, { value: I.value, "onUpdate:value": s[6] || (s[6] = (b) => I.value = b), selectedList: y.value, onDone: g }, null, 8, ["value", "selectedList"]) ]); }; } }), yn = /* @__PURE__ */ yt(sn, [["__scopeId", "data-v-ee112890"]]); export { yn as default };