@litianxiang/portal-ui 0.0.11 → 0.0.13
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/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/dist/busi-workflow-process-BVNaIgs8.js +115 -0
- package/dist/file-preview.js +24 -23
- package/dist/http-CUVgBXez.js +25 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +32 -29
- package/dist/portal-ui.css +1 -1
- package/dist/workflow-process.d.ts +1 -0
- package/dist/workflow-process.js +4 -0
- package/package.json +7 -2
- package/dist/http-DePr1rnZ.js +0 -31
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { defineComponent as S, computed as c, resolveComponent as M, openBlock as u, createElementBlock as i, Fragment as v, renderList as w, createElementVNode as a, toDisplayString as E, createBlock as b, withCtx as x, createTextVNode as I } from "vue";
|
|
2
|
+
import { useRoute as R, useRouter as z } from "vue-router";
|
|
3
|
+
import { _ as G } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
|
+
const O = { class: "workflow-process-page" }, V = { class: "flow-module-title" }, W = { class: "flow-page-grid" }, X = /* @__PURE__ */ S({
|
|
5
|
+
__name: "busi-workflow-process",
|
|
6
|
+
props: {
|
|
7
|
+
menuTree: {},
|
|
8
|
+
menuId: { default: "" },
|
|
9
|
+
currentPath: { default: "" }
|
|
10
|
+
},
|
|
11
|
+
setup(N) {
|
|
12
|
+
const l = N, m = R(), P = z(), d = (e) => {
|
|
13
|
+
if (!e) return "";
|
|
14
|
+
const [n] = e.split("?");
|
|
15
|
+
return n ? n.startsWith("/") ? n : `/${n}` : "";
|
|
16
|
+
}, h = (e, n) => {
|
|
17
|
+
var r;
|
|
18
|
+
const o = d(n);
|
|
19
|
+
if (!o) return null;
|
|
20
|
+
for (const s of e || []) {
|
|
21
|
+
if (d(s.path) === o)
|
|
22
|
+
return s;
|
|
23
|
+
if ((r = s.children) != null && r.length) {
|
|
24
|
+
const t = h(s.children, o);
|
|
25
|
+
if (t) return t;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
return null;
|
|
29
|
+
}, f = (e) => e == null ? "" : Array.isArray(e) ? f(e[0]) : String(e), _ = (e, n) => {
|
|
30
|
+
var o;
|
|
31
|
+
if (!n) return null;
|
|
32
|
+
for (const r of e || []) {
|
|
33
|
+
if (f(r.id) === n)
|
|
34
|
+
return r;
|
|
35
|
+
if ((o = r.children) != null && o.length) {
|
|
36
|
+
const s = _(r.children, n);
|
|
37
|
+
if (s) return s;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
return null;
|
|
41
|
+
}, g = (e = []) => [...e].sort((n, o) => {
|
|
42
|
+
const r = Number(n.order_num ?? Number.MAX_SAFE_INTEGER), s = Number(o.order_num ?? Number.MAX_SAFE_INTEGER);
|
|
43
|
+
return r - s;
|
|
44
|
+
}), T = (e = []) => {
|
|
45
|
+
const n = [];
|
|
46
|
+
return g(e).forEach((r) => {
|
|
47
|
+
r.category === "flow-page" && r.path && n.push({
|
|
48
|
+
id: r.id ?? r.path,
|
|
49
|
+
name: r.name || "未命名流程",
|
|
50
|
+
path: d(r.path),
|
|
51
|
+
order_num: r.order_num
|
|
52
|
+
});
|
|
53
|
+
}), n;
|
|
54
|
+
}, A = (e = []) => {
|
|
55
|
+
const n = [], o = (r) => {
|
|
56
|
+
g(r).forEach((t) => {
|
|
57
|
+
var p;
|
|
58
|
+
if (t.category === "flow-module") {
|
|
59
|
+
n.push({
|
|
60
|
+
id: t.id ?? t.name ?? String(n.length),
|
|
61
|
+
name: t.name || "未命名流程模块",
|
|
62
|
+
order_num: t.order_num,
|
|
63
|
+
pages: T(t.children || [])
|
|
64
|
+
});
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
(p = t.children) != null && p.length && o(t.children);
|
|
68
|
+
});
|
|
69
|
+
};
|
|
70
|
+
return o(e), n;
|
|
71
|
+
}, B = c(() => l.currentPath || m.path), C = c(() => f(l.menuId || m.query.mid)), k = c(() => {
|
|
72
|
+
const e = _(l.menuTree || [], C.value);
|
|
73
|
+
return e || h(l.menuTree || [], B.value);
|
|
74
|
+
}), y = c(() => {
|
|
75
|
+
var e, n;
|
|
76
|
+
return (n = (e = k.value) == null ? void 0 : e.children) != null && n.length ? A(k.value.children) : [];
|
|
77
|
+
}), F = (e) => {
|
|
78
|
+
e && P.push(e);
|
|
79
|
+
};
|
|
80
|
+
return (e, n) => {
|
|
81
|
+
const o = M("el-link"), r = M("el-empty");
|
|
82
|
+
return u(), i("div", O, [
|
|
83
|
+
y.value.length ? (u(!0), i(v, { key: 0 }, w(y.value, (s) => (u(), i("section", {
|
|
84
|
+
key: s.id,
|
|
85
|
+
class: "flow-module-section"
|
|
86
|
+
}, [
|
|
87
|
+
a("div", V, [
|
|
88
|
+
n[0] || (n[0] = a("span", { class: "title-arrow" }, "▶", -1)),
|
|
89
|
+
a("span", null, E(s.name), 1)
|
|
90
|
+
]),
|
|
91
|
+
a("div", W, [
|
|
92
|
+
(u(!0), i(v, null, w(s.pages, (t) => (u(), b(o, {
|
|
93
|
+
key: t.id,
|
|
94
|
+
type: "primary",
|
|
95
|
+
underline: "never",
|
|
96
|
+
class: "flow-page-link",
|
|
97
|
+
onClick: (p) => F(t.path)
|
|
98
|
+
}, {
|
|
99
|
+
default: x(() => [
|
|
100
|
+
I(E(t.name), 1)
|
|
101
|
+
]),
|
|
102
|
+
_: 2
|
|
103
|
+
}, 1032, ["onClick"]))), 128))
|
|
104
|
+
])
|
|
105
|
+
]))), 128)) : (u(), b(r, {
|
|
106
|
+
key: 1,
|
|
107
|
+
description: "暂无可发起流程"
|
|
108
|
+
}))
|
|
109
|
+
]);
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
}), L = /* @__PURE__ */ G(X, [["__scopeId", "data-v-98b8e1c9"]]);
|
|
113
|
+
export {
|
|
114
|
+
L as b
|
|
115
|
+
};
|
package/dist/file-preview.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { defineComponent as E, defineAsyncComponent as x, computed as k, resolveComponent as _, openBlock as i, createElementBlock as r, createVNode as c, withCtx as b, unref as v, createElementVNode as y, Fragment as U, renderSlot as j, ref as w, onUnmounted as N, watch as $, onMounted as B } from "vue";
|
|
2
2
|
import { Loading as C } from "@element-plus/icons-vue";
|
|
3
|
-
import { _ as R
|
|
3
|
+
import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
|
+
import { g as P } from "./http-CUVgBXez.js";
|
|
4
5
|
const A = { class: "base-file-preview" }, F = {
|
|
5
6
|
key: 0,
|
|
6
7
|
class: "preview-loading"
|
|
@@ -28,21 +29,21 @@ const A = { class: "base-file-preview" }, F = {
|
|
|
28
29
|
loading: { type: Boolean, default: !1 }
|
|
29
30
|
},
|
|
30
31
|
emits: ["rendered", "error"],
|
|
31
|
-
setup(a, { expose:
|
|
32
|
+
setup(a, { expose: n, emit: u }) {
|
|
32
33
|
const d = x(async () => (await Promise.resolve({ }), (await import("./vue-office-docx-q6qJ2vqb.js")).default)), l = x(async () => (await Promise.resolve({ }), (await import("./vue-office-excel-B3pq0cRz.js")).default)), f = x(async () => (await import("./vue-office-pdf-DOPbwMbO.js")).default), g = a, m = u, s = k(() => {
|
|
33
|
-
const
|
|
34
|
-
return ["png", "jpg", "jpeg", "gif", "bmp", "webp"].includes(
|
|
34
|
+
const o = g.fileExt.toLowerCase();
|
|
35
|
+
return ["png", "jpg", "jpeg", "gif", "bmp", "webp"].includes(o) ? "image" : o === "pdf" ? "pdf" : ["doc", "docx"].includes(o) ? "docx" : ["xls", "xlsx"].includes(o) ? "excel" : "unsupported";
|
|
35
36
|
}), e = k(() => s.value !== "unsupported");
|
|
36
37
|
function t() {
|
|
37
38
|
m("rendered");
|
|
38
39
|
}
|
|
39
|
-
function p(
|
|
40
|
-
m("error",
|
|
40
|
+
function p(o) {
|
|
41
|
+
m("error", o);
|
|
41
42
|
}
|
|
42
|
-
return
|
|
43
|
+
return n({
|
|
43
44
|
previewType: s,
|
|
44
45
|
isSupported: e
|
|
45
|
-
}), (
|
|
46
|
+
}), (o, h) => {
|
|
46
47
|
const L = _("el-icon"), T = _("el-empty");
|
|
47
48
|
return i(), r("div", A, [
|
|
48
49
|
a.loading ? (i(), r("div", F, [
|
|
@@ -80,7 +81,7 @@ const A = { class: "base-file-preview" }, F = {
|
|
|
80
81
|
])) : (i(), r("div", S, [
|
|
81
82
|
c(T, { description: "该文件类型不支持在线预览" }, {
|
|
82
83
|
default: b(() => [
|
|
83
|
-
j(
|
|
84
|
+
j(o.$slots, "unsupported-action", {}, void 0, !0)
|
|
84
85
|
]),
|
|
85
86
|
_: 3
|
|
86
87
|
})
|
|
@@ -104,11 +105,11 @@ const A = { class: "base-file-preview" }, F = {
|
|
|
104
105
|
watermarkText: { default: "" }
|
|
105
106
|
},
|
|
106
107
|
setup(a) {
|
|
107
|
-
const
|
|
108
|
+
const n = a, u = w(!0), d = w(""), l = w(""), f = w();
|
|
108
109
|
function g() {
|
|
109
|
-
if (!f.value || !
|
|
110
|
+
if (!f.value || !n.watermarkText) return;
|
|
110
111
|
const e = document.createElement("canvas"), t = e.getContext("2d");
|
|
111
|
-
t && (e.width = 200, e.height = 150, t.font = "16px Arial", t.fillStyle = "rgba(0, 0, 0, 0.12)", t.textAlign = "center", t.textBaseline = "middle", t.translate(e.width / 2, e.height / 2), t.rotate(-25 * Math.PI / 180), t.fillText(
|
|
112
|
+
t && (e.width = 200, e.height = 150, t.font = "16px Arial", t.fillStyle = "rgba(0, 0, 0, 0.12)", t.textAlign = "center", t.textBaseline = "middle", t.translate(e.width / 2, e.height / 2), t.rotate(-25 * Math.PI / 180), t.fillText(n.watermarkText, 0, 0), f.value.style.backgroundImage = `url(${e.toDataURL("image/png")})`);
|
|
112
113
|
}
|
|
113
114
|
function m(e) {
|
|
114
115
|
return {
|
|
@@ -126,16 +127,16 @@ const A = { class: "base-file-preview" }, F = {
|
|
|
126
127
|
}[e.toLowerCase()] || "application/octet-stream";
|
|
127
128
|
}
|
|
128
129
|
async function s() {
|
|
129
|
-
if (!
|
|
130
|
+
if (!n.fid) {
|
|
130
131
|
d.value = "文件ID不能为空", u.value = !1;
|
|
131
132
|
return;
|
|
132
133
|
}
|
|
133
|
-
|
|
134
|
+
n.fileName && (document.title = `预览 - ${n.fileName}`);
|
|
134
135
|
try {
|
|
135
|
-
const t = await P().get(`/proxy/workflow/attachment/api/preview/${
|
|
136
|
+
const t = await P().get(`/proxy/workflow/attachment/api/preview/${n.fid}`, {
|
|
136
137
|
responseType: "blob"
|
|
137
|
-
}), p = m(
|
|
138
|
-
l.value = window.URL.createObjectURL(
|
|
138
|
+
}), p = m(n.fileExt), o = new Blob([t], { type: p });
|
|
139
|
+
l.value = window.URL.createObjectURL(o);
|
|
139
140
|
} catch (e) {
|
|
140
141
|
console.error("加载文件失败:", e), d.value = "加载文件失败,请稍后重试";
|
|
141
142
|
} finally {
|
|
@@ -144,7 +145,7 @@ const A = { class: "base-file-preview" }, F = {
|
|
|
144
145
|
}
|
|
145
146
|
return N(() => {
|
|
146
147
|
l.value && window.URL.revokeObjectURL(l.value);
|
|
147
|
-
}), $(() =>
|
|
148
|
+
}), $(() => n.fid, (e) => {
|
|
148
149
|
e && (u.value = !0, d.value = "", l.value && (window.URL.revokeObjectURL(l.value), l.value = ""), s());
|
|
149
150
|
}), B(() => {
|
|
150
151
|
g(), s();
|
|
@@ -161,17 +162,17 @@ const A = { class: "base-file-preview" }, F = {
|
|
|
161
162
|
])) : (i(), r("div", G, [
|
|
162
163
|
c(H, {
|
|
163
164
|
src: l.value,
|
|
164
|
-
"file-ext":
|
|
165
|
-
"file-name":
|
|
165
|
+
"file-ext": n.fileExt,
|
|
166
|
+
"file-name": n.fileName,
|
|
166
167
|
loading: u.value
|
|
167
168
|
}, null, 8, ["src", "file-ext", "file-name", "loading"])
|
|
168
169
|
]))
|
|
169
170
|
]);
|
|
170
171
|
};
|
|
171
172
|
}
|
|
172
|
-
}),
|
|
173
|
+
}), Z = /* @__PURE__ */ R(J, [["__scopeId", "data-v-b73ca84d"]]);
|
|
173
174
|
export {
|
|
174
175
|
H as BaseFilePreview,
|
|
175
|
-
|
|
176
|
-
|
|
176
|
+
Z as BusiFilePreview,
|
|
177
|
+
Z as WorkflowFilePreview
|
|
177
178
|
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { createAuthHttpClient as e } from "@litianxiang/portal-core";
|
|
2
|
+
const r = "__portalUiHttp__", n = "__portalUiLogoutToAuth__";
|
|
3
|
+
function w(t, o) {
|
|
4
|
+
window[r] = t, o && (window[n] = o);
|
|
5
|
+
}
|
|
6
|
+
function p(t) {
|
|
7
|
+
const { http: o, logoutToAuth: i } = e({
|
|
8
|
+
baseURL: t.baseURL || "",
|
|
9
|
+
getUserStore: t.getUserStore,
|
|
10
|
+
getLoadingStore: t.getLoadingStore,
|
|
11
|
+
onShowError: t.onShowError
|
|
12
|
+
});
|
|
13
|
+
return window[r] = o, window[n] = i, { http: o, logoutToAuth: i };
|
|
14
|
+
}
|
|
15
|
+
function s() {
|
|
16
|
+
const t = window[r];
|
|
17
|
+
if (!t)
|
|
18
|
+
throw new Error("[portal-ui] http 未初始化,请先在 main.ts 中调用 initPortalUiHttp() 或 setPortalUiHttp()");
|
|
19
|
+
return t;
|
|
20
|
+
}
|
|
21
|
+
export {
|
|
22
|
+
s as g,
|
|
23
|
+
p as i,
|
|
24
|
+
w as s
|
|
25
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export { default as BaseUser } from './components/control/busi/busi-user.vue'
|
|
|
22
22
|
export { default as BusiDept } from './components/control/busi/busi-dept.vue'
|
|
23
23
|
export { default as BusiOutUser } from './components/control/busi/busi-outuser.vue'
|
|
24
24
|
export { default as BusiUserDialog } from './components/control/busi/busi-user-dialog.vue'
|
|
25
|
+
export { default as BusiWorkflowProcess } from './components/control/busi/busi-workflow-process.vue'
|
|
25
26
|
export { baseMessageBox } from './components/control/base/base-messagebox.vue'
|
|
26
27
|
|
|
27
28
|
export type { InitPortalUiHttpOptions } from './utils/http'
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { defineComponent as ee, ref as D, computed as W, openBlock as o, createBlock as U, unref as I, normalizeClass as ue, withCtx as s, createElementBlock as k, createCommentVNode as q, renderSlot as Ce, createTextVNode as L, toDisplayString as H, Fragment as G, renderList as de, watch as xe, createVNode as a, withModifiers as ye, onMounted as Oe, resolveComponent as P, createElementVNode as r, resolveDynamicComponent as Ge, nextTick as Je, resolveDirective as Ke, withDirectives as je, reactive as $e } from "vue";
|
|
2
2
|
import { ElInput as Ye, ElButton as Qe, ElSwitch as Xe, ElSelect as Ze, ElOption as el, ElInputNumber as ll, ElDatePicker as al, ElTimePicker as tl, ElTable as ol, ElTableColumn as Ee, ElLink as nl, ElTag as sl, ElMessageBox as _e, ElMessage as we } from "element-plus";
|
|
3
|
-
import { _ as Fe
|
|
4
|
-
import { i as Qt, s as Xt } from "./http-DePr1rnZ.js";
|
|
3
|
+
import { _ as Fe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
4
|
import { Plus as qe, Download as ul, UploadFilled as dl, Close as ke, FullScreen as il, Aim as rl, ArrowUp as cl, ArrowDown as fl, Search as be, ArrowRight as De, Check as He, Location as ml, DArrowLeft as pl, Promotion as vl, Finished as gl, User as hl, DArrowRight as bl, ArrowLeft as We, Edit as yl } from "@element-plus/icons-vue";
|
|
5
|
+
import { g as he } from "./http-CUVgBXez.js";
|
|
6
|
+
import { i as Xt, s as Zt } from "./http-CUVgBXez.js";
|
|
7
|
+
import { b as lo } from "./busi-workflow-process-BVNaIgs8.js";
|
|
6
8
|
const _l = /* @__PURE__ */ ee({
|
|
7
9
|
__name: "base-input",
|
|
8
10
|
props: {
|
|
@@ -161,7 +163,7 @@ const _l = /* @__PURE__ */ ee({
|
|
|
161
163
|
}, xl = {
|
|
162
164
|
key: 1,
|
|
163
165
|
class: "iconfont icon-collapses"
|
|
164
|
-
},
|
|
166
|
+
}, Pt = /* @__PURE__ */ ee({
|
|
165
167
|
__name: "base-collapse-toggle",
|
|
166
168
|
props: {
|
|
167
169
|
modelValue: { type: Boolean, default: !0 }
|
|
@@ -898,7 +900,7 @@ const _l = /* @__PURE__ */ ee({
|
|
|
898
900
|
u.value ? (o(), k("div", Sl, H(u.value), 1)) : q("", !0)
|
|
899
901
|
]));
|
|
900
902
|
}
|
|
901
|
-
}),
|
|
903
|
+
}), It = /* @__PURE__ */ Fe(Rl, [["__scopeId", "data-v-8ce855eb"]]), Mt = /* @__PURE__ */ ee({
|
|
902
904
|
__name: "base-textarea",
|
|
903
905
|
props: {
|
|
904
906
|
modelValue: {},
|
|
@@ -1032,7 +1034,7 @@ const _l = /* @__PURE__ */ ee({
|
|
|
1032
1034
|
}, Ol = {
|
|
1033
1035
|
key: 3,
|
|
1034
1036
|
class: "status-error"
|
|
1035
|
-
}, Kl = { class: "dropzone-content" }, jl = { class: "dropzone-icon" }, Yl = { class: "dropzone-tips" }, ql = { class: "tips-main" }, Wl = { class: "dialog-footer" },
|
|
1037
|
+
}, Kl = { class: "dropzone-content" }, jl = { class: "dropzone-icon" }, Yl = { class: "dropzone-tips" }, ql = { class: "tips-main" }, Wl = { class: "dialog-footer" }, Lt = /* @__PURE__ */ ee({
|
|
1036
1038
|
__name: "base-upload",
|
|
1037
1039
|
props: {
|
|
1038
1040
|
modelValue: { default: () => [] },
|
|
@@ -1618,7 +1620,7 @@ const _l = /* @__PURE__ */ ee({
|
|
|
1618
1620
|
]);
|
|
1619
1621
|
};
|
|
1620
1622
|
}
|
|
1621
|
-
}),
|
|
1623
|
+
}), Nt = /* @__PURE__ */ ee({
|
|
1622
1624
|
__name: "base-checkbox",
|
|
1623
1625
|
props: {
|
|
1624
1626
|
modelValue: { type: [Array, Boolean, String, Number] },
|
|
@@ -1726,7 +1728,7 @@ const _l = /* @__PURE__ */ ee({
|
|
|
1726
1728
|
}, 8, ["modelValue", "disabled", "size", "min", "max"]));
|
|
1727
1729
|
};
|
|
1728
1730
|
}
|
|
1729
|
-
}),
|
|
1731
|
+
}), Ht = /* @__PURE__ */ ee({
|
|
1730
1732
|
__name: "base-radio",
|
|
1731
1733
|
props: {
|
|
1732
1734
|
modelValue: {},
|
|
@@ -1794,7 +1796,7 @@ const _l = /* @__PURE__ */ ee({
|
|
|
1794
1796
|
}, 8, ["modelValue", "disabled", "size"]);
|
|
1795
1797
|
};
|
|
1796
1798
|
}
|
|
1797
|
-
}),
|
|
1799
|
+
}), Ot = /* @__PURE__ */ ee({
|
|
1798
1800
|
__name: "base-link",
|
|
1799
1801
|
props: {
|
|
1800
1802
|
type: { default: "primary" },
|
|
@@ -2317,7 +2319,7 @@ const _l = /* @__PURE__ */ ee({
|
|
|
2317
2319
|
]);
|
|
2318
2320
|
};
|
|
2319
2321
|
}
|
|
2320
|
-
}),
|
|
2322
|
+
}), Kt = /* @__PURE__ */ Fe(ha, [["__scopeId", "data-v-6b47a337"]]);
|
|
2321
2323
|
var ba = {
|
|
2322
2324
|
name: "zh-cn",
|
|
2323
2325
|
el: {
|
|
@@ -2559,7 +2561,7 @@ const ya = { class: "page-pagination" }, _a = /* @__PURE__ */ ee({
|
|
|
2559
2561
|
}), Va = /* @__PURE__ */ Fe(_a, [["__scopeId", "data-v-7ca8689a"]]), ka = { class: "approval-drawer-header" }, wa = { class: "approval-drawer-title" }, Ca = { class: "base-approval-record" }, xa = { class: "approval-steps" }, Ba = { class: "steps-wrapper" }, Ea = { class: "step-icon" }, Fa = { class: "step-title" }, Da = {
|
|
2560
2562
|
key: 0,
|
|
2561
2563
|
class: "current-step-info"
|
|
2562
|
-
}, $a = { class: "approval-records" },
|
|
2564
|
+
}, $a = { class: "approval-records" }, jt = /* @__PURE__ */ ee({
|
|
2563
2565
|
__name: "busi-approval-record",
|
|
2564
2566
|
props: {
|
|
2565
2567
|
modelValue: { type: Boolean, default: !1 },
|
|
@@ -2804,7 +2806,7 @@ const ya = { class: "page-pagination" }, _a = /* @__PURE__ */ ee({
|
|
|
2804
2806
|
}, Ka = ["onClick"], ja = { class: "user-dialog__item-info" }, Ya = { class: "user-dialog__item-name" }, qa = { class: "user-dialog__item-desc" }, Wa = ["onClick"], Ga = { class: "user-dialog__item-info" }, Ja = { class: "user-dialog__item-name" }, Qa = { class: "user-dialog__item-cardno" }, Xa = { class: "user-dialog__item-desc" }, Za = { class: "user-dialog__item-check" }, et = {
|
|
2805
2807
|
key: 0,
|
|
2806
2808
|
class: "user-dialog__empty"
|
|
2807
|
-
}, lt = { class: "user-dialog__footer" }, at = { class: "user-dialog__selected" },
|
|
2809
|
+
}, lt = { class: "user-dialog__footer" }, at = { class: "user-dialog__selected" }, Yt = /* @__PURE__ */ ee({
|
|
2808
2810
|
__name: "busi-user",
|
|
2809
2811
|
props: {
|
|
2810
2812
|
modelValue: {},
|
|
@@ -3091,7 +3093,7 @@ const ya = { class: "page-pagination" }, _a = /* @__PURE__ */ ee({
|
|
|
3091
3093
|
}, Vt = {
|
|
3092
3094
|
key: 0,
|
|
3093
3095
|
class: "dept-dialog__empty"
|
|
3094
|
-
}, kt = { class: "dept-dialog__footer" }, wt = { class: "dept-dialog__selected" },
|
|
3096
|
+
}, kt = { class: "dept-dialog__footer" }, wt = { class: "dept-dialog__selected" }, qt = /* @__PURE__ */ ee({
|
|
3095
3097
|
__name: "busi-dept",
|
|
3096
3098
|
props: {
|
|
3097
3099
|
modelValue: {},
|
|
@@ -3342,7 +3344,7 @@ const ya = { class: "page-pagination" }, _a = /* @__PURE__ */ ee({
|
|
|
3342
3344
|
}), Ct = { class: "outuser-dialog__header" }, xt = { class: "outuser-dialog__filter" }, Bt = { class: "outuser-dialog__filter-item" }, Et = { class: "outuser-dialog__filter-item" }, Ft = {
|
|
3343
3345
|
class: "outuser-dialog__table-wrapper",
|
|
3344
3346
|
style: { height: "360px" }
|
|
3345
|
-
}, Dt = { class: "outuser-dialog__pagination" }, $t = { class: "outuser-dialog__footer" },
|
|
3347
|
+
}, Dt = { class: "outuser-dialog__pagination" }, $t = { class: "outuser-dialog__footer" }, Wt = /* @__PURE__ */ ee({
|
|
3346
3348
|
__name: "busi-outuser",
|
|
3347
3349
|
props: {
|
|
3348
3350
|
modelValue: {},
|
|
@@ -3760,31 +3762,32 @@ const ya = { class: "page-pagination" }, _a = /* @__PURE__ */ ee({
|
|
|
3760
3762
|
}, 8, ["modelValue", "title", "icon"]);
|
|
3761
3763
|
};
|
|
3762
3764
|
}
|
|
3763
|
-
}),
|
|
3765
|
+
}), Gt = /* @__PURE__ */ Fe(Tt, [["__scopeId", "data-v-95830fbd"]]);
|
|
3764
3766
|
export {
|
|
3765
|
-
|
|
3767
|
+
jt as BaseApprovalRecord,
|
|
3766
3768
|
kl as BaseButton,
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
|
|
3769
|
+
Nt as BaseCheckbox,
|
|
3770
|
+
Kt as BaseChinaArea,
|
|
3771
|
+
Pt as BaseCollapseToggle,
|
|
3770
3772
|
Dl as BaseDate,
|
|
3771
3773
|
la as BaseDialog,
|
|
3772
3774
|
_l as BaseInput,
|
|
3773
|
-
|
|
3775
|
+
Ot as BaseLink,
|
|
3774
3776
|
Fl as BaseNumber,
|
|
3775
3777
|
Va as BasePagination,
|
|
3776
|
-
|
|
3778
|
+
Ht as BaseRadio,
|
|
3777
3779
|
El as BaseSelect,
|
|
3778
3780
|
Bl as BaseSwitch,
|
|
3779
|
-
|
|
3780
|
-
|
|
3781
|
+
It as BaseTable,
|
|
3782
|
+
Mt as BaseTextarea,
|
|
3781
3783
|
$l as BaseTime,
|
|
3782
|
-
|
|
3783
|
-
|
|
3784
|
-
|
|
3785
|
-
|
|
3786
|
-
|
|
3784
|
+
Lt as BaseUpload,
|
|
3785
|
+
Yt as BaseUser,
|
|
3786
|
+
qt as BusiDept,
|
|
3787
|
+
Wt as BusiOutUser,
|
|
3788
|
+
Gt as BusiUserDialog,
|
|
3789
|
+
lo as BusiWorkflowProcess,
|
|
3787
3790
|
Ul as baseMessageBox,
|
|
3788
|
-
|
|
3789
|
-
|
|
3791
|
+
Xt as initPortalUiHttp,
|
|
3792
|
+
Zt as setPortalUiHttp
|
|
3790
3793
|
};
|
package/dist/portal-ui.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.base-table[data-v-8ce855eb]{width:100%}.base-table__toolbar[data-v-8ce855eb]{margin-bottom:12px}.base-table__error[data-v-8ce855eb]{font-size:12px;color:#f56c6c;padding-top:4px}.base-china-area[data-v-6b47a337]{display:inline-block;width:100%}.base-china-area__input[data-v-6b47a337],.base-china-area__input[data-v-6b47a337] .el-input__wrapper,.base-china-area__input[data-v-6b47a337] .el-input__inner{cursor:pointer}.page-pagination[data-v-7ca8689a]{display:flex;justify-content:flex-end;margin-top:10px}.form-dialog-body[data-v-95830fbd]{padding:16px 20px 0}.base-file-preview[data-v-6e771bad]{width:100%;height:100%;display:flex;flex-direction:column;overflow:hidden}.preview-loading[data-v-6e771bad]{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;color:#666;font-size:16px}.preview-loading .loading-icon[data-v-6e771bad]{font-size:48px;animation:rotate-6e771bad 1s linear infinite}@keyframes rotate-6e771bad{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.preview-content[data-v-6e771bad]{flex:1;display:flex;justify-content:center;align-items:center;overflow:auto}.preview-image[data-v-6e771bad]{padding:20px;background-color:#525659}.preview-image img[data-v-6e771bad]{max-width:100%;max-height:100%;object-fit:contain;box-shadow:0 4px 20px #0000004d}.preview-pdf[data-v-6e771bad],.preview-docx[data-v-6e771bad],.preview-excel[data-v-6e771bad]{width:100%;height:100%;background-color:#fff}.preview-pdf>div[data-v-6e771bad],.preview-docx>div[data-v-6e771bad],.preview-excel>div[data-v-6e771bad]{width:100%;height:100%}.preview-excel[data-v-6e771bad] .x-spreadsheet{width:100%!important;height:100%!important}.preview-docx[data-v-6e771bad]{background-color:#e8e8e8;padding:20px;overflow:auto}.preview-docx[data-v-6e771bad] .docx-wrapper{background-color:#fff;box-shadow:0 2px 12px #00000026;max-width:900px;margin:0 auto}.preview-pdf[data-v-6e771bad] .vue-office-pdf{background-color:#525659;width:100%;height:100%}.preview-unsupported[data-v-6e771bad]{background-color:#fff;width:100%}.file-preview-page[data-v-b73ca84d]{width:100%;height:100%;display:flex;flex-direction:column;background-color:#f0f0f0;overflow:hidden;position:relative}.watermark-layer[data-v-b73ca84d]{position:absolute;top:0;left:0;right:0;bottom:0;pointer-events:none;z-index:1000;background-repeat:repeat}.preview-error[data-v-b73ca84d]{flex:1;display:flex;align-items:center;justify-content:center;background-color:#fff}.preview-body[data-v-b73ca84d]{flex:1;overflow:hidden;display:flex}.vue-office-docx{height:100%;overflow-y:auto}.vue-office-docx .docx-wrapper>section.docx{margin-bottom:5px}@media screen and (max-width:800px){.vue-office-docx .docx-wrapper{padding:10px}.vue-office-docx .docx-wrapper>section.docx{padding:10px!important;width:100%!important}}body{margin:0}.x-spreadsheet{font-size:13px;line-height:normal;-webkit-user-select:none;user-select:none;-moz-user-select:none;font-family:Lato,Source Sans Pro,Roboto,Helvetica,Arial,sans-serif;box-sizing:content-box;background:#fff;-webkit-font-smoothing:antialiased}.x-spreadsheet textarea{font:400 13px Arial,Lato,Source Sans Pro,Roboto,Helvetica,sans-serif}.x-spreadsheet-sheet{position:relative;overflow:hidden}.x-spreadsheet-table{vertical-align:bottom}.x-spreadsheet-tooltip{font-family:inherit;position:absolute;padding:5px 10px;color:#fff;border-radius:1px;background:#000;font-size:12px;z-index:201}.x-spreadsheet-tooltip:before{pointer-events:none;position:absolute;left:calc(50% - 4px);top:-4px;content:"";width:8px;height:8px;background:inherit;-webkit-transform:rotate(45deg);transform:rotate(45deg);z-index:1;box-shadow:1px 1px 3px -1px #0000004d}.x-spreadsheet-color-palette{padding:5px}.x-spreadsheet-color-palette table{margin:0;padding:0;border-collapse:separate;border-spacing:2;background:#fff}.x-spreadsheet-color-palette table td{margin:0;cursor:pointer;border:1px solid transparent}.x-spreadsheet-color-palette table td:hover{border-color:#ddd}.x-spreadsheet-color-palette table td .x-spreadsheet-color-palette-cell{width:16px;height:16px}.x-spreadsheet-border-palette{padding:6px}.x-spreadsheet-border-palette table{margin:0;padding:0;border-collapse:separate;border-spacing:0;background:#fff;table-layout:fixed}.x-spreadsheet-border-palette table td{margin:0}.x-spreadsheet-border-palette .x-spreadsheet-border-palette-left{border-right:1px solid #eee;padding-right:6px}.x-spreadsheet-border-palette .x-spreadsheet-border-palette-left .x-spreadsheet-border-palette-cell{width:30px;height:30px;cursor:pointer;text-align:center}.x-spreadsheet-border-palette .x-spreadsheet-border-palette-left .x-spreadsheet-border-palette-cell:hover{background-color:#eee}.x-spreadsheet-border-palette .x-spreadsheet-border-palette-right{padding-left:6px}.x-spreadsheet-border-palette .x-spreadsheet-border-palette-right .x-spreadsheet-line-type{position:relative;left:0;top:-3px}.x-spreadsheet-dropdown{position:relative}.x-spreadsheet-dropdown .x-spreadsheet-dropdown-content{position:absolute;z-index:200;background:#fff;box-shadow:1px 2px 5px 2px #33333326}.x-spreadsheet-dropdown.bottom-left .x-spreadsheet-dropdown-content{top:calc(100% + 5px);left:0}.x-spreadsheet-dropdown.bottom-right .x-spreadsheet-dropdown-content{top:calc(100% + 5px);right:0}.x-spreadsheet-dropdown.top-left .x-spreadsheet-dropdown-content{bottom:calc(100% + 5px);left:0}.x-spreadsheet-dropdown.top-right .x-spreadsheet-dropdown-content{bottom:calc(100% + 5px);right:0}.x-spreadsheet-dropdown .x-spreadsheet-dropdown-title{padding:0 5px;display:inline-block}.x-spreadsheet-resizer{position:absolute;z-index:11}.x-spreadsheet-resizer .x-spreadsheet-resizer-hover{background-color:#4b89ff40}.x-spreadsheet-resizer .x-spreadsheet-resizer-line{position:absolute}.x-spreadsheet-resizer.horizontal{cursor:row-resize}.x-spreadsheet-resizer.horizontal .x-spreadsheet-resizer-line{border-bottom:2px dashed #4b89ff;left:0;bottom:0}.x-spreadsheet-resizer.vertical{cursor:col-resize}.x-spreadsheet-resizer.vertical .x-spreadsheet-resizer-line{border-right:2px dashed #4b89ff;top:0;right:0}.x-spreadsheet-scrollbar{position:absolute;bottom:0;right:0;background-color:#f4f5f8;opacity:.9;z-index:12}.x-spreadsheet-scrollbar.horizontal{right:15px;overflow-x:scroll;overflow-y:hidden}.x-spreadsheet-scrollbar.horizontal>div{height:1px;background:#ddd}.x-spreadsheet-scrollbar.vertical{bottom:15px;overflow-x:hidden;overflow-y:scroll}.x-spreadsheet-scrollbar.vertical>div{width:1px;background:#ddd}.x-spreadsheet-overlayer{position:absolute;left:0;top:0;z-index:10}.x-spreadsheet-overlayer .x-spreadsheet-overlayer-content{position:absolute;overflow:hidden;pointer-events:none;width:100%;height:100%}.x-spreadsheet-editor,.x-spreadsheet-selector{box-sizing:content-box;position:absolute;overflow:hidden;pointer-events:none;top:0;left:0;width:100%;height:100%}.x-spreadsheet-selector .hide-input{position:absolute;z-index:0}.x-spreadsheet-selector .hide-input input{padding:0;width:0;border:none!important}.x-spreadsheet-selector .x-spreadsheet-selector-area{position:absolute;border:2px solid #4b89ff;background:#4b89ff1a;z-index:5}.x-spreadsheet-selector .x-spreadsheet-selector-clipboard,.x-spreadsheet-selector .x-spreadsheet-selector-autofill{position:absolute;background:transparent;z-index:100}.x-spreadsheet-selector .x-spreadsheet-selector-clipboard{border:2px dashed #4b89ff}.x-spreadsheet-selector .x-spreadsheet-selector-autofill{border:1px dashed rgba(0,0,0,.45)}.x-spreadsheet-selector .x-spreadsheet-selector-corner{pointer-events:auto;position:absolute;cursor:crosshair;font-size:0;height:5px;width:5px;right:-5px;bottom:-5px;border:2px solid #ffffff;background:#4b89ff}.x-spreadsheet-editor{z-index:20}.x-spreadsheet-editor .x-spreadsheet-editor-area{position:absolute;text-align:left;border:2px solid #4b89ff;line-height:0;z-index:100;pointer-events:auto}.x-spreadsheet-editor .x-spreadsheet-editor-area textarea{box-sizing:content-box;border:none;padding:0 3px;outline:none;resize:none;text-align:start;overflow-y:hidden;font:400 13px Arial,Lato,Source Sans Pro,Roboto,Helvetica,sans-serif;color:inherit;white-space:normal;word-wrap:break-word;line-height:22px;margin:0}.x-spreadsheet-editor .x-spreadsheet-editor-area .textline{overflow:hidden;visibility:hidden;position:fixed;top:0;left:0}.x-spreadsheet-item{-webkit-user-select:none;user-select:none;background:0;border:1px solid transparent;outline:none;height:26px;color:#000000e6;line-height:26px;list-style:none;padding:2px 10px;cursor:default;text-align:left;overflow:hidden}.x-spreadsheet-item.disabled{pointer-events:none;opacity:.5}.x-spreadsheet-item:hover,.x-spreadsheet-item.active{background:#0000000d}.x-spreadsheet-item.divider{height:0;padding:0;margin:5px 0;border:none;border-bottom:1px solid rgba(0,0,0,.1)}.x-spreadsheet-item .label{float:right;opacity:.65;font-size:1em}.x-spreadsheet-item.state,.x-spreadsheet-header.state{padding-left:35px!important;position:relative}.x-spreadsheet-item.state:before,.x-spreadsheet-header.state:before{content:"";position:absolute;width:10px;height:10px;left:12px;top:calc(50% - 5px);background:#00000014;border-radius:2px}.x-spreadsheet-item.state.checked:before,.x-spreadsheet-header.state.checked:before{background:#4b89ff}.x-spreadsheet-checkbox{position:relative;display:inline-block;backface-visibility:hidden;outline:0;vertical-align:baseline;font-style:normal;font-size:1rem;line-height:1em}.x-spreadsheet-checkbox>input{position:absolute;top:0;left:0;opacity:0!important;outline:0;z-index:-1}.x-spreadsheet-suggest,.x-spreadsheet-contextmenu,.x-spreadsheet-sort-filter{position:absolute;box-shadow:1px 2px 5px 2px #33333326;background:#fff;z-index:100;width:260px;pointer-events:auto;overflow:auto}.x-spreadsheet-suggest{width:200px}.x-spreadsheet-filter{border:1px solid #e9e9e9;font-size:12px;margin:10px}.x-spreadsheet-filter .x-spreadsheet-header{padding:.5em .75em;background:#f8f8f9;border-bottom:1px solid #e9e9e9;border-left:1px solid transparent}.x-spreadsheet-filter .x-spreadsheet-body{height:200px;overflow-y:auto}.x-spreadsheet-filter .x-spreadsheet-body .x-spreadsheet-item{height:20px;line-height:20px}.x-spreadsheet-sort-filter .x-spreadsheet-buttons{margin:10px}.x-spreadsheet-bottombar{height:40px;padding:0 30px;text-align:left;background:#f5f6f7;display:flex}.x-spreadsheet-bottombar{position:relative;border-top:1px solid #e0e2e4}.x-spreadsheet-bottombar .x-spreadsheet-menu>li{line-height:40px;height:40px;padding-top:0;padding-bottom:0;vertical-align:middle;border-right:1px solid #e8eaed}.x-spreadsheet-menu{display:flex;overflow-x:auto;list-style:none;margin:0;padding:0;-webkit-user-select:none;user-select:none}.x-spreadsheet-menu>li{float:left;line-height:1.25em;padding:.785em 1em;margin:0;vertical-align:middle;text-align:left;font-weight:400;color:#80868b;white-space:nowrap;cursor:pointer;transition:all .3s;font-weight:700}.x-spreadsheet-menu>li.active{background-color:#fff;color:#000000a6}.x-spreadsheet-menu>li .x-spreadsheet-dropdown{display:inline-block}.x-spreadsheet-print{position:absolute;left:0;top:0;z-index:100;width:100%;height:100%;display:flex;flex-direction:column}.x-spreadsheet-print-bar{background:#424242;height:60px;line-height:60px;padding:0 30px}.x-spreadsheet-print-bar .-title{color:#fff;font-weight:700;font-size:1.2em;float:left}.x-spreadsheet-print-bar .-right{float:right;margin-top:12px}.x-spreadsheet-print-content{display:flex;flex:auto;flex-direction:row;background:#d0d0d0;height:calc(100% - 60px)}.x-spreadsheet-print-content .-sider{flex:0 0 300px;width:300px;border-left:2px solid #ccc;background:#fff}.x-spreadsheet-print-content .-content{flex:auto;overflow-x:auto;overflow-y:scroll;height:100%}.x-spreadsheet-canvas-card-wraper{margin:40px 20px}.x-spreadsheet-canvas-card{background:#fff;margin:auto;page-break-before:auto;page-break-after:always;box-shadow:0 8px 10px 1px #00000024,0 3px 14px 3px #0000001f,0 4px 5px #0003}.x-spreadsheet-calendar{color:#000000a6;background:#fff;-webkit-user-select:none;user-select:none}.x-spreadsheet-calendar .calendar-header{font-weight:700;line-height:30px;text-align:center;width:100%;float:left;background:#f9fafb}.x-spreadsheet-calendar .calendar-header .calendar-header-left{padding-left:5px;float:left}.x-spreadsheet-calendar .calendar-header .calendar-header-right{float:right}.x-spreadsheet-calendar .calendar-header .calendar-header-right a{padding:3px 0;margin-right:2px;border-radius:2px}.x-spreadsheet-calendar .calendar-header .calendar-header-right a:hover{background:#00000014}.x-spreadsheet-calendar .calendar-body{border-collapse:collapse;border-spacing:0}.x-spreadsheet-calendar .calendar-body th,.x-spreadsheet-calendar .calendar-body td{width:14.28571429%;min-width:32px;text-align:center;font-weight:700;line-height:30px;padding:0}.x-spreadsheet-calendar .calendar-body td>.cell:hover{background:#ecf6fd}.x-spreadsheet-calendar .calendar-body td>.cell.active,.x-spreadsheet-calendar .calendar-body td>.cell.active:hover{background:#ecf6fd;color:#2185d0}.x-spreadsheet-calendar .calendar-body td>.cell.disabled{pointer-events:none;opacity:.5}.x-spreadsheet-datepicker{box-shadow:2px 2px 5px #0003;position:absolute;left:0;top:calc(100% + 5px);z-index:10;width:auto}.x-spreadsheet-buttons{display:flex;justify-content:flex-end}.x-spreadsheet-buttons .x-spreadsheet-button{margin-left:8px}.x-spreadsheet-button{display:inline-block;border-radius:3px;line-height:1em;min-height:1em;white-space:nowrap;text-align:center;cursor:pointer;font-size:1em;font-weight:700;padding:.75em 1em;color:#0009;background:#e0e1e2;text-decoration:none;font-family:Lato,proxima-nova,Helvetica Neue,Arial,sans-serif;outline:none;vertical-align:baseline;zoom:1;-webkit-user-select:none;user-select:none;transition:all .1s linear}.x-spreadsheet-button.active,.x-spreadsheet-button:hover{background-color:#c0c1c2;color:#000c}.x-spreadsheet-button.primary{color:#fff;background-color:#2185d0}.x-spreadsheet-button.primary:hover,.x-spreadsheet-button.primary.active{color:#fff;background-color:#1678c2}.x-spreadsheet-form-input{font-size:1em;position:relative;font-weight:400;display:inline-flex;color:#000000de}.x-spreadsheet-form-input input{z-index:1;margin:0;max-width:100%;flex:1 0 auto;outline:0;-webkit-tap-highlight-color:rgba(255,255,255,0);text-align:left;line-height:30px;height:30px;padding:0 8px;background:#fff;border:1px solid #e9e9e9;border-radius:3px;transition:box-shadow .1s ease,border-color .1s ease;box-shadow:inset 0 1px 2px #0a0a0a0f}.x-spreadsheet-form-input input:focus{border-color:#4b89ff;box-shadow:inset 0 1px 2px #4b89ff33}.x-spreadsheet-form-select{position:relative;display:inline-block;background:#fff;border:1px solid #e9e9e9;border-radius:2px;cursor:pointer;color:#000000de;-webkit-user-select:none;user-select:none;box-shadow:inset 0 1px 2px #0a0a0a0f}.x-spreadsheet-form-select .input-text{text-overflow:ellipsis;white-space:nowrap;min-width:60px;width:auto;height:30px;line-height:30px;padding:0 8px}.x-spreadsheet-form-fields{display:flex;flex-direction:row;flex-wrap:wrap}.x-spreadsheet-form-fields .x-spreadsheet-form-field{flex:0 1 auto}.x-spreadsheet-form-fields .x-spreadsheet-form-field .label{display:inline-block;margin:0 10px 0 0}.x-spreadsheet-form-field{display:block;vertical-align:middle;margin-left:10px;margin-bottom:10px}.x-spreadsheet-form-field:first-child{margin-left:0}.x-spreadsheet-form-field.error .x-spreadsheet-form-select,.x-spreadsheet-form-field.error input{border-color:#f04134}.x-spreadsheet-form-field .tip{color:#f04134;font-size:.9em}.x-spreadsheet-dimmer{display:none;position:absolute;top:0!important;left:0!important;width:100%;height:100%;text-align:center;vertical-align:middle;background-color:#0009;opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:.5s;animation-duration:.5s;transition:background-color .5s linear;-webkit-user-select:none;user-select:none;z-index:1000}.x-spreadsheet-dimmer.active{display:block;opacity:1}form fieldset{border:none}form fieldset label{display:block;margin-bottom:.5em;font-size:1em;color:#666}form fieldset select{font-size:1.1em;width:100%;background-color:#fff;border:none;border-bottom:2px solid #ddd;padding:.5em .85em;border-radius:2px}.x-spreadsheet-modal,.x-spreadsheet-toast{font-size:13px;position:fixed;z-index:1001;text-align:left;line-height:1.25em;min-width:360px;color:#000000de;font-family:Lato,Source Sans Pro,Roboto,Helvetica,Arial,sans-serif;border-radius:4px;border:1px solid rgba(0,0,0,.1);background-color:#fff;background-clip:padding-box;box-shadow:#0003 0 2px 8px}.x-spreadsheet-toast{background-color:#ffffffd9}.x-spreadsheet-modal-header,.x-spreadsheet-toast-header{font-weight:600;background-clip:padding-box;background-color:#ffffffd9;border-bottom:1px solid rgba(0,0,0,.05);border-radius:4px 4px 0 0}.x-spreadsheet-toast-header{color:#f2711c}.x-spreadsheet-modal-header{border-bottom:1px solid #e0e2e4;background:#00000014;font-size:1.0785em}.x-spreadsheet-modal-header,.x-spreadsheet-modal-content,.x-spreadsheet-toast-header,.x-spreadsheet-toast-content{padding:.75em 1em}.x-spreadsheet-menu li:first-child{display:none}.vue-office-excel{height:100%}
|
|
1
|
+
.workflow-process-page[data-v-98b8e1c9]{padding:8px 10px 0}.flow-module-section[data-v-98b8e1c9]{margin-bottom:22px}.flow-module-title[data-v-98b8e1c9]{display:flex;align-items:center;color:#c41230;font-size:28px;font-weight:600;margin-bottom:20px}.title-arrow[data-v-98b8e1c9]{font-size:18px;margin-right:8px}.flow-page-grid[data-v-98b8e1c9]{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));column-gap:220px;row-gap:22px;margin-left:34px}.flow-page-link[data-v-98b8e1c9]{justify-content:flex-start;color:#409eff;font-size:26px}.base-file-preview[data-v-6e771bad]{width:100%;height:100%;display:flex;flex-direction:column;overflow:hidden}.preview-loading[data-v-6e771bad]{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;color:#666;font-size:16px}.preview-loading .loading-icon[data-v-6e771bad]{font-size:48px;animation:rotate-6e771bad 1s linear infinite}@keyframes rotate-6e771bad{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.preview-content[data-v-6e771bad]{flex:1;display:flex;justify-content:center;align-items:center;overflow:auto}.preview-image[data-v-6e771bad]{padding:20px;background-color:#525659}.preview-image img[data-v-6e771bad]{max-width:100%;max-height:100%;object-fit:contain;box-shadow:0 4px 20px #0000004d}.preview-pdf[data-v-6e771bad],.preview-docx[data-v-6e771bad],.preview-excel[data-v-6e771bad]{width:100%;height:100%;background-color:#fff}.preview-pdf>div[data-v-6e771bad],.preview-docx>div[data-v-6e771bad],.preview-excel>div[data-v-6e771bad]{width:100%;height:100%}.preview-excel[data-v-6e771bad] .x-spreadsheet{width:100%!important;height:100%!important}.preview-docx[data-v-6e771bad]{background-color:#e8e8e8;padding:20px;overflow:auto}.preview-docx[data-v-6e771bad] .docx-wrapper{background-color:#fff;box-shadow:0 2px 12px #00000026;max-width:900px;margin:0 auto}.preview-pdf[data-v-6e771bad] .vue-office-pdf{background-color:#525659;width:100%;height:100%}.preview-unsupported[data-v-6e771bad]{background-color:#fff;width:100%}.file-preview-page[data-v-b73ca84d]{width:100%;height:100%;display:flex;flex-direction:column;background-color:#f0f0f0;overflow:hidden;position:relative}.watermark-layer[data-v-b73ca84d]{position:absolute;top:0;left:0;right:0;bottom:0;pointer-events:none;z-index:1000;background-repeat:repeat}.preview-error[data-v-b73ca84d]{flex:1;display:flex;align-items:center;justify-content:center;background-color:#fff}.preview-body[data-v-b73ca84d]{flex:1;overflow:hidden;display:flex}.base-table[data-v-8ce855eb]{width:100%}.base-table__toolbar[data-v-8ce855eb]{margin-bottom:12px}.base-table__error[data-v-8ce855eb]{font-size:12px;color:#f56c6c;padding-top:4px}.base-china-area[data-v-6b47a337]{display:inline-block;width:100%}.base-china-area__input[data-v-6b47a337],.base-china-area__input[data-v-6b47a337] .el-input__wrapper,.base-china-area__input[data-v-6b47a337] .el-input__inner{cursor:pointer}.page-pagination[data-v-7ca8689a]{display:flex;justify-content:flex-end;margin-top:10px}.form-dialog-body[data-v-95830fbd]{padding:16px 20px 0}.vue-office-docx{height:100%;overflow-y:auto}.vue-office-docx .docx-wrapper>section.docx{margin-bottom:5px}@media screen and (max-width:800px){.vue-office-docx .docx-wrapper{padding:10px}.vue-office-docx .docx-wrapper>section.docx{padding:10px!important;width:100%!important}}body{margin:0}.x-spreadsheet{font-size:13px;line-height:normal;-webkit-user-select:none;user-select:none;-moz-user-select:none;font-family:Lato,Source Sans Pro,Roboto,Helvetica,Arial,sans-serif;box-sizing:content-box;background:#fff;-webkit-font-smoothing:antialiased}.x-spreadsheet textarea{font:400 13px Arial,Lato,Source Sans Pro,Roboto,Helvetica,sans-serif}.x-spreadsheet-sheet{position:relative;overflow:hidden}.x-spreadsheet-table{vertical-align:bottom}.x-spreadsheet-tooltip{font-family:inherit;position:absolute;padding:5px 10px;color:#fff;border-radius:1px;background:#000;font-size:12px;z-index:201}.x-spreadsheet-tooltip:before{pointer-events:none;position:absolute;left:calc(50% - 4px);top:-4px;content:"";width:8px;height:8px;background:inherit;-webkit-transform:rotate(45deg);transform:rotate(45deg);z-index:1;box-shadow:1px 1px 3px -1px #0000004d}.x-spreadsheet-color-palette{padding:5px}.x-spreadsheet-color-palette table{margin:0;padding:0;border-collapse:separate;border-spacing:2;background:#fff}.x-spreadsheet-color-palette table td{margin:0;cursor:pointer;border:1px solid transparent}.x-spreadsheet-color-palette table td:hover{border-color:#ddd}.x-spreadsheet-color-palette table td .x-spreadsheet-color-palette-cell{width:16px;height:16px}.x-spreadsheet-border-palette{padding:6px}.x-spreadsheet-border-palette table{margin:0;padding:0;border-collapse:separate;border-spacing:0;background:#fff;table-layout:fixed}.x-spreadsheet-border-palette table td{margin:0}.x-spreadsheet-border-palette .x-spreadsheet-border-palette-left{border-right:1px solid #eee;padding-right:6px}.x-spreadsheet-border-palette .x-spreadsheet-border-palette-left .x-spreadsheet-border-palette-cell{width:30px;height:30px;cursor:pointer;text-align:center}.x-spreadsheet-border-palette .x-spreadsheet-border-palette-left .x-spreadsheet-border-palette-cell:hover{background-color:#eee}.x-spreadsheet-border-palette .x-spreadsheet-border-palette-right{padding-left:6px}.x-spreadsheet-border-palette .x-spreadsheet-border-palette-right .x-spreadsheet-line-type{position:relative;left:0;top:-3px}.x-spreadsheet-dropdown{position:relative}.x-spreadsheet-dropdown .x-spreadsheet-dropdown-content{position:absolute;z-index:200;background:#fff;box-shadow:1px 2px 5px 2px #33333326}.x-spreadsheet-dropdown.bottom-left .x-spreadsheet-dropdown-content{top:calc(100% + 5px);left:0}.x-spreadsheet-dropdown.bottom-right .x-spreadsheet-dropdown-content{top:calc(100% + 5px);right:0}.x-spreadsheet-dropdown.top-left .x-spreadsheet-dropdown-content{bottom:calc(100% + 5px);left:0}.x-spreadsheet-dropdown.top-right .x-spreadsheet-dropdown-content{bottom:calc(100% + 5px);right:0}.x-spreadsheet-dropdown .x-spreadsheet-dropdown-title{padding:0 5px;display:inline-block}.x-spreadsheet-resizer{position:absolute;z-index:11}.x-spreadsheet-resizer .x-spreadsheet-resizer-hover{background-color:#4b89ff40}.x-spreadsheet-resizer .x-spreadsheet-resizer-line{position:absolute}.x-spreadsheet-resizer.horizontal{cursor:row-resize}.x-spreadsheet-resizer.horizontal .x-spreadsheet-resizer-line{border-bottom:2px dashed #4b89ff;left:0;bottom:0}.x-spreadsheet-resizer.vertical{cursor:col-resize}.x-spreadsheet-resizer.vertical .x-spreadsheet-resizer-line{border-right:2px dashed #4b89ff;top:0;right:0}.x-spreadsheet-scrollbar{position:absolute;bottom:0;right:0;background-color:#f4f5f8;opacity:.9;z-index:12}.x-spreadsheet-scrollbar.horizontal{right:15px;overflow-x:scroll;overflow-y:hidden}.x-spreadsheet-scrollbar.horizontal>div{height:1px;background:#ddd}.x-spreadsheet-scrollbar.vertical{bottom:15px;overflow-x:hidden;overflow-y:scroll}.x-spreadsheet-scrollbar.vertical>div{width:1px;background:#ddd}.x-spreadsheet-overlayer{position:absolute;left:0;top:0;z-index:10}.x-spreadsheet-overlayer .x-spreadsheet-overlayer-content{position:absolute;overflow:hidden;pointer-events:none;width:100%;height:100%}.x-spreadsheet-editor,.x-spreadsheet-selector{box-sizing:content-box;position:absolute;overflow:hidden;pointer-events:none;top:0;left:0;width:100%;height:100%}.x-spreadsheet-selector .hide-input{position:absolute;z-index:0}.x-spreadsheet-selector .hide-input input{padding:0;width:0;border:none!important}.x-spreadsheet-selector .x-spreadsheet-selector-area{position:absolute;border:2px solid #4b89ff;background:#4b89ff1a;z-index:5}.x-spreadsheet-selector .x-spreadsheet-selector-clipboard,.x-spreadsheet-selector .x-spreadsheet-selector-autofill{position:absolute;background:transparent;z-index:100}.x-spreadsheet-selector .x-spreadsheet-selector-clipboard{border:2px dashed #4b89ff}.x-spreadsheet-selector .x-spreadsheet-selector-autofill{border:1px dashed rgba(0,0,0,.45)}.x-spreadsheet-selector .x-spreadsheet-selector-corner{pointer-events:auto;position:absolute;cursor:crosshair;font-size:0;height:5px;width:5px;right:-5px;bottom:-5px;border:2px solid #ffffff;background:#4b89ff}.x-spreadsheet-editor{z-index:20}.x-spreadsheet-editor .x-spreadsheet-editor-area{position:absolute;text-align:left;border:2px solid #4b89ff;line-height:0;z-index:100;pointer-events:auto}.x-spreadsheet-editor .x-spreadsheet-editor-area textarea{box-sizing:content-box;border:none;padding:0 3px;outline:none;resize:none;text-align:start;overflow-y:hidden;font:400 13px Arial,Lato,Source Sans Pro,Roboto,Helvetica,sans-serif;color:inherit;white-space:normal;word-wrap:break-word;line-height:22px;margin:0}.x-spreadsheet-editor .x-spreadsheet-editor-area .textline{overflow:hidden;visibility:hidden;position:fixed;top:0;left:0}.x-spreadsheet-item{-webkit-user-select:none;user-select:none;background:0;border:1px solid transparent;outline:none;height:26px;color:#000000e6;line-height:26px;list-style:none;padding:2px 10px;cursor:default;text-align:left;overflow:hidden}.x-spreadsheet-item.disabled{pointer-events:none;opacity:.5}.x-spreadsheet-item:hover,.x-spreadsheet-item.active{background:#0000000d}.x-spreadsheet-item.divider{height:0;padding:0;margin:5px 0;border:none;border-bottom:1px solid rgba(0,0,0,.1)}.x-spreadsheet-item .label{float:right;opacity:.65;font-size:1em}.x-spreadsheet-item.state,.x-spreadsheet-header.state{padding-left:35px!important;position:relative}.x-spreadsheet-item.state:before,.x-spreadsheet-header.state:before{content:"";position:absolute;width:10px;height:10px;left:12px;top:calc(50% - 5px);background:#00000014;border-radius:2px}.x-spreadsheet-item.state.checked:before,.x-spreadsheet-header.state.checked:before{background:#4b89ff}.x-spreadsheet-checkbox{position:relative;display:inline-block;backface-visibility:hidden;outline:0;vertical-align:baseline;font-style:normal;font-size:1rem;line-height:1em}.x-spreadsheet-checkbox>input{position:absolute;top:0;left:0;opacity:0!important;outline:0;z-index:-1}.x-spreadsheet-suggest,.x-spreadsheet-contextmenu,.x-spreadsheet-sort-filter{position:absolute;box-shadow:1px 2px 5px 2px #33333326;background:#fff;z-index:100;width:260px;pointer-events:auto;overflow:auto}.x-spreadsheet-suggest{width:200px}.x-spreadsheet-filter{border:1px solid #e9e9e9;font-size:12px;margin:10px}.x-spreadsheet-filter .x-spreadsheet-header{padding:.5em .75em;background:#f8f8f9;border-bottom:1px solid #e9e9e9;border-left:1px solid transparent}.x-spreadsheet-filter .x-spreadsheet-body{height:200px;overflow-y:auto}.x-spreadsheet-filter .x-spreadsheet-body .x-spreadsheet-item{height:20px;line-height:20px}.x-spreadsheet-sort-filter .x-spreadsheet-buttons{margin:10px}.x-spreadsheet-bottombar{height:40px;padding:0 30px;text-align:left;background:#f5f6f7;display:flex}.x-spreadsheet-bottombar{position:relative;border-top:1px solid #e0e2e4}.x-spreadsheet-bottombar .x-spreadsheet-menu>li{line-height:40px;height:40px;padding-top:0;padding-bottom:0;vertical-align:middle;border-right:1px solid #e8eaed}.x-spreadsheet-menu{display:flex;overflow-x:auto;list-style:none;margin:0;padding:0;-webkit-user-select:none;user-select:none}.x-spreadsheet-menu>li{float:left;line-height:1.25em;padding:.785em 1em;margin:0;vertical-align:middle;text-align:left;font-weight:400;color:#80868b;white-space:nowrap;cursor:pointer;transition:all .3s;font-weight:700}.x-spreadsheet-menu>li.active{background-color:#fff;color:#000000a6}.x-spreadsheet-menu>li .x-spreadsheet-dropdown{display:inline-block}.x-spreadsheet-print{position:absolute;left:0;top:0;z-index:100;width:100%;height:100%;display:flex;flex-direction:column}.x-spreadsheet-print-bar{background:#424242;height:60px;line-height:60px;padding:0 30px}.x-spreadsheet-print-bar .-title{color:#fff;font-weight:700;font-size:1.2em;float:left}.x-spreadsheet-print-bar .-right{float:right;margin-top:12px}.x-spreadsheet-print-content{display:flex;flex:auto;flex-direction:row;background:#d0d0d0;height:calc(100% - 60px)}.x-spreadsheet-print-content .-sider{flex:0 0 300px;width:300px;border-left:2px solid #ccc;background:#fff}.x-spreadsheet-print-content .-content{flex:auto;overflow-x:auto;overflow-y:scroll;height:100%}.x-spreadsheet-canvas-card-wraper{margin:40px 20px}.x-spreadsheet-canvas-card{background:#fff;margin:auto;page-break-before:auto;page-break-after:always;box-shadow:0 8px 10px 1px #00000024,0 3px 14px 3px #0000001f,0 4px 5px #0003}.x-spreadsheet-calendar{color:#000000a6;background:#fff;-webkit-user-select:none;user-select:none}.x-spreadsheet-calendar .calendar-header{font-weight:700;line-height:30px;text-align:center;width:100%;float:left;background:#f9fafb}.x-spreadsheet-calendar .calendar-header .calendar-header-left{padding-left:5px;float:left}.x-spreadsheet-calendar .calendar-header .calendar-header-right{float:right}.x-spreadsheet-calendar .calendar-header .calendar-header-right a{padding:3px 0;margin-right:2px;border-radius:2px}.x-spreadsheet-calendar .calendar-header .calendar-header-right a:hover{background:#00000014}.x-spreadsheet-calendar .calendar-body{border-collapse:collapse;border-spacing:0}.x-spreadsheet-calendar .calendar-body th,.x-spreadsheet-calendar .calendar-body td{width:14.28571429%;min-width:32px;text-align:center;font-weight:700;line-height:30px;padding:0}.x-spreadsheet-calendar .calendar-body td>.cell:hover{background:#ecf6fd}.x-spreadsheet-calendar .calendar-body td>.cell.active,.x-spreadsheet-calendar .calendar-body td>.cell.active:hover{background:#ecf6fd;color:#2185d0}.x-spreadsheet-calendar .calendar-body td>.cell.disabled{pointer-events:none;opacity:.5}.x-spreadsheet-datepicker{box-shadow:2px 2px 5px #0003;position:absolute;left:0;top:calc(100% + 5px);z-index:10;width:auto}.x-spreadsheet-buttons{display:flex;justify-content:flex-end}.x-spreadsheet-buttons .x-spreadsheet-button{margin-left:8px}.x-spreadsheet-button{display:inline-block;border-radius:3px;line-height:1em;min-height:1em;white-space:nowrap;text-align:center;cursor:pointer;font-size:1em;font-weight:700;padding:.75em 1em;color:#0009;background:#e0e1e2;text-decoration:none;font-family:Lato,proxima-nova,Helvetica Neue,Arial,sans-serif;outline:none;vertical-align:baseline;zoom:1;-webkit-user-select:none;user-select:none;transition:all .1s linear}.x-spreadsheet-button.active,.x-spreadsheet-button:hover{background-color:#c0c1c2;color:#000c}.x-spreadsheet-button.primary{color:#fff;background-color:#2185d0}.x-spreadsheet-button.primary:hover,.x-spreadsheet-button.primary.active{color:#fff;background-color:#1678c2}.x-spreadsheet-form-input{font-size:1em;position:relative;font-weight:400;display:inline-flex;color:#000000de}.x-spreadsheet-form-input input{z-index:1;margin:0;max-width:100%;flex:1 0 auto;outline:0;-webkit-tap-highlight-color:rgba(255,255,255,0);text-align:left;line-height:30px;height:30px;padding:0 8px;background:#fff;border:1px solid #e9e9e9;border-radius:3px;transition:box-shadow .1s ease,border-color .1s ease;box-shadow:inset 0 1px 2px #0a0a0a0f}.x-spreadsheet-form-input input:focus{border-color:#4b89ff;box-shadow:inset 0 1px 2px #4b89ff33}.x-spreadsheet-form-select{position:relative;display:inline-block;background:#fff;border:1px solid #e9e9e9;border-radius:2px;cursor:pointer;color:#000000de;-webkit-user-select:none;user-select:none;box-shadow:inset 0 1px 2px #0a0a0a0f}.x-spreadsheet-form-select .input-text{text-overflow:ellipsis;white-space:nowrap;min-width:60px;width:auto;height:30px;line-height:30px;padding:0 8px}.x-spreadsheet-form-fields{display:flex;flex-direction:row;flex-wrap:wrap}.x-spreadsheet-form-fields .x-spreadsheet-form-field{flex:0 1 auto}.x-spreadsheet-form-fields .x-spreadsheet-form-field .label{display:inline-block;margin:0 10px 0 0}.x-spreadsheet-form-field{display:block;vertical-align:middle;margin-left:10px;margin-bottom:10px}.x-spreadsheet-form-field:first-child{margin-left:0}.x-spreadsheet-form-field.error .x-spreadsheet-form-select,.x-spreadsheet-form-field.error input{border-color:#f04134}.x-spreadsheet-form-field .tip{color:#f04134;font-size:.9em}.x-spreadsheet-dimmer{display:none;position:absolute;top:0!important;left:0!important;width:100%;height:100%;text-align:center;vertical-align:middle;background-color:#0009;opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:.5s;animation-duration:.5s;transition:background-color .5s linear;-webkit-user-select:none;user-select:none;z-index:1000}.x-spreadsheet-dimmer.active{display:block;opacity:1}form fieldset{border:none}form fieldset label{display:block;margin-bottom:.5em;font-size:1em;color:#666}form fieldset select{font-size:1.1em;width:100%;background-color:#fff;border:none;border-bottom:2px solid #ddd;padding:.5em .85em;border-radius:2px}.x-spreadsheet-modal,.x-spreadsheet-toast{font-size:13px;position:fixed;z-index:1001;text-align:left;line-height:1.25em;min-width:360px;color:#000000de;font-family:Lato,Source Sans Pro,Roboto,Helvetica,Arial,sans-serif;border-radius:4px;border:1px solid rgba(0,0,0,.1);background-color:#fff;background-clip:padding-box;box-shadow:#0003 0 2px 8px}.x-spreadsheet-toast{background-color:#ffffffd9}.x-spreadsheet-modal-header,.x-spreadsheet-toast-header{font-weight:600;background-clip:padding-box;background-color:#ffffffd9;border-bottom:1px solid rgba(0,0,0,.05);border-radius:4px 4px 0 0}.x-spreadsheet-toast-header{color:#f2711c}.x-spreadsheet-modal-header{border-bottom:1px solid #e0e2e4;background:#00000014;font-size:1.0785em}.x-spreadsheet-modal-header,.x-spreadsheet-modal-content,.x-spreadsheet-toast-header,.x-spreadsheet-toast-content{padding:.75em 1em}.x-spreadsheet-menu li:first-child{display:none}.vue-office-excel{height:100%}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BusiWorkflowProcess } from './components/control/busi/busi-workflow-process.vue'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@litianxiang/portal-ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.13",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -17,6 +17,11 @@
|
|
|
17
17
|
"import": "./dist/file-preview.js",
|
|
18
18
|
"default": "./dist/file-preview.js"
|
|
19
19
|
},
|
|
20
|
+
"./workflow-process": {
|
|
21
|
+
"types": "./dist/workflow-process.d.ts",
|
|
22
|
+
"import": "./dist/workflow-process.js",
|
|
23
|
+
"default": "./dist/workflow-process.js"
|
|
24
|
+
},
|
|
20
25
|
"./styles/portal-ui.css": "./dist/portal-ui.css",
|
|
21
26
|
"./styles/element-ui.scss": "./dist/styles/element-ui.scss",
|
|
22
27
|
"./styles/form.scss": "./dist/styles/form.scss"
|
|
@@ -33,7 +38,7 @@
|
|
|
33
38
|
"access": "public"
|
|
34
39
|
},
|
|
35
40
|
"dependencies": {
|
|
36
|
-
"@litianxiang/portal-core": "^0.2.
|
|
41
|
+
"@litianxiang/portal-core": "^0.2.1",
|
|
37
42
|
"@vue-office/docx": "^1.6.3",
|
|
38
43
|
"@vue-office/excel": "^1.7.14",
|
|
39
44
|
"@vue-office/pdf": "^2.0.10",
|
package/dist/http-DePr1rnZ.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { createAuthHttpClient as s } from "@litianxiang/portal-core";
|
|
2
|
-
const p = (t, o) => {
|
|
3
|
-
const r = t.__vccOpts || t;
|
|
4
|
-
for (const [i, a] of o)
|
|
5
|
-
r[i] = a;
|
|
6
|
-
return r;
|
|
7
|
-
}, n = "__portalUiHttp__", e = "__portalUiLogoutToAuth__";
|
|
8
|
-
function w(t, o) {
|
|
9
|
-
window[n] = t, o && (window[e] = o);
|
|
10
|
-
}
|
|
11
|
-
function c(t) {
|
|
12
|
-
const { http: o, logoutToAuth: r } = s({
|
|
13
|
-
baseURL: t.baseURL || "",
|
|
14
|
-
getUserStore: t.getUserStore,
|
|
15
|
-
getLoadingStore: t.getLoadingStore,
|
|
16
|
-
onShowError: t.onShowError
|
|
17
|
-
});
|
|
18
|
-
return window[n] = o, window[e] = r, { http: o, logoutToAuth: r };
|
|
19
|
-
}
|
|
20
|
-
function U() {
|
|
21
|
-
const t = window[n];
|
|
22
|
-
if (!t)
|
|
23
|
-
throw new Error("[portal-ui] http 未初始化,请先在 main.ts 中调用 initPortalUiHttp() 或 setPortalUiHttp()");
|
|
24
|
-
return t;
|
|
25
|
-
}
|
|
26
|
-
export {
|
|
27
|
-
p as _,
|
|
28
|
-
U as g,
|
|
29
|
-
c as i,
|
|
30
|
-
w as s
|
|
31
|
-
};
|