提交 d8ec10e7 编写于 作者: zhangpingchuan's avatar zhangpingchuan

feat: 更新@ibiz-template-plugin/sy-web插件

上级 a756823a
var ce = Object.defineProperty; var ce = Object.defineProperty;
var de = (e, t, s) => t in e ? ce(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s; var de = (e, t, s) => t in e ? ce(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s;
var P = (e, t, s) => (de(e, typeof t != "symbol" ? t + "" : t, s), s); var N = (e, t, s) => (de(e, typeof t != "symbol" ? t + "" : t, s), s);
import { IndexViewModel as ue, GridModel as he, ViewType as me, ModelUtil as pe } from "@ibiz-template/model"; import { IndexViewModel as ue, GridModel as he, ViewType as me, ModelUtil as pe } from "@ibiz-template/model";
import { GridFieldColumnController as X, GridRowController as J, WFStepTraceViewController as fe, UploadEditorController as Q, GridController as ge, GridNotifyState as be, WFDynaEditView3Controller as ve } from "@ibiz-template/controller"; import { GridFieldColumnController as X, GridRowController as J, WFStepTraceViewController as fe, UploadEditorController as Q, GridController as ge, GridNotifyState as be, WFDynaEditView3Controller as ve } from "@ibiz-template/controller";
import { defineComponent as E, computed as D, h as c, getCurrentInstance as L, ref as f, watch as I, toRefs as B, onUnmounted as we } from "vue"; import { defineComponent as k, computed as T, h as c, getCurrentInstance as R, ref as g, watch as P, toRefs as B, onUnmounted as we } from "vue";
import { useNamespace as x, useViewController as K, usePropsWatch as z, getUploadProps as ye, getEditorEmits as Y, getGridUploadProps as _, getGridEditorEmits as $, useClickOutside as Ce, useEventListener as Fe, getInputProps as Se, getGridInputProps as Ue, useGridCellEditor as Ee, useControlController as ke, useWFStepTraceViewController as xe, useEditView3Controller as Pe } from "@ibiz-template/vue-util"; import { useNamespace as E, useViewController as K, usePropsWatch as z, getUploadProps as ye, getEditorEmits as Y, getGridUploadProps as _, getGridEditorEmits as $, useClickOutside as Ce, useEventListener as Fe, getInputProps as Se, getGridInputProps as Ue, useGridCellEditor as ke, useControlController as xe, useWFStepTraceViewController as Ee, useEditView3Controller as Ne } from "@ibiz-template/vue-util";
import { colorBlend as Ie, HttpError as Z, isImage as Ne, uploadFile as Te, RuntimeError as De } from "@ibiz-template/core"; import { colorBlend as Pe, HttpError as Z, isImage as Ie, uploadFile as Le, RuntimeError as Te } from "@ibiz-template/core";
import { getCookie as Re, createUUID as V } from "qx-util"; import { getCookie as De, createUUID as W } from "qx-util";
import { debounce as Le } from "lodash-es"; import { debounce as Re } from "lodash-es";
import { ViewMode as ee, UIActionHandler as te, PluginStaticResource as Ae } from "@ibiz-template/runtime"; import { ViewMode as ee, UIActionHandler as te, PluginStaticResource as Ae } from "@ibiz-template/runtime";
const Ge = E({ const Ge = k({
name: "CodeListGridColumn", name: "CodeListGridColumn",
props: { props: {
controller: { controller: {
...@@ -22,28 +22,28 @@ const Ge = E({ ...@@ -22,28 +22,28 @@ const Ge = E({
} }
}, },
setup(e) { setup(e) {
const t = x("grid-field-column"), s = D(() => { const t = E("grid-field-column"), s = T(() => {
var r; var r;
if (e.controller.model.source.cLConvertMode !== "FRONT") if (e.controller.model.source.cLConvertMode !== "FRONT")
return []; return [];
const n = e.row.data[e.controller.model.codeName]; const n = e.row.data[e.controller.model.codeName];
return (r = e.controller.codeListItems) != null && r.length && n ? n.split(",").map((h) => { return (r = e.controller.codeListItems) != null && r.length && n ? n.split(",").map((h) => {
const p = e.controller.codeListItems.find((g) => g.value === h); const m = e.controller.codeListItems.find((f) => f.value === h);
if (p) { if (m) {
const g = p.color || "#515a6e"; const f = m.color || "#515a6e";
return { return {
text: p.text, text: m.text,
colorStyle: t.cssVarBlock({ colorStyle: t.cssVarBlock({
color: g, color: f,
"border-color": g, "border-color": f,
"bg-color": Ie(g, "#fff") "bg-color": Pe(f, "#fff")
}) })
}; };
} }
}).filter(Boolean) : []; }).filter(Boolean) : [];
}), o = (n) => { }), o = (n) => {
e.controller.isLinkColumn && e.controller.openLinkView(e.row, n); e.controller.isLinkColumn && e.controller.openLinkView(e.row, n);
}, i = D(() => { }, i = T(() => {
let n = ""; let n = "";
switch (e.controller.model.align) { switch (e.controller.model.align) {
case "LEFT": case "LEFT":
...@@ -92,7 +92,7 @@ class Oe extends fe { ...@@ -92,7 +92,7 @@ class Oe extends fe {
* @type {string} * @type {string}
* @memberof PresetWFChartViewController * @memberof PresetWFChartViewController
*/ */
P(this, "imgSrc"); N(this, "imgSrc");
} }
async getUIData() { async getUIData() {
const s = Object.assign(this.context.clone(), this.params), o = await this.entityService.wf.getWFProcessDiagram(s), i = new Blob([o.data], { const s = Object.assign(this.context.clone(), this.params), o = await this.entityService.wf.getWFProcessDiagram(s), i = new Blob([o.data], {
...@@ -101,7 +101,7 @@ class Oe extends fe { ...@@ -101,7 +101,7 @@ class Oe extends fe {
this.imgSrc = URL.createObjectURL(i); this.imgSrc = URL.createObjectURL(i);
} }
} }
const Me = E({ const Me = k({
name: "PresetWFChartView", name: "PresetWFChartView",
props: { props: {
context: Object, context: Object,
...@@ -121,9 +121,9 @@ const Me = E({ ...@@ -121,9 +121,9 @@ const Me = E({
} }
}, },
setup(e) { setup(e) {
const t = x("preset-wf-chart-view"), { const t = E("preset-wf-chart-view"), {
proxy: s proxy: s
} = L(), o = K(s, (i, n) => new Oe(e.modelPath, i, n)); } = R(), o = K(s, (i, n) => new Oe(e.modelPath, i, n));
return z(s, "deName", o.setDeName.bind(o)), { return z(s, "deName", o.setDeName.bind(o)), {
c: o, c: o,
ns: t ns: t
...@@ -139,7 +139,7 @@ const Me = E({ ...@@ -139,7 +139,7 @@ const Me = E({
})]); })]);
} }
}); });
const Be = E({ const Be = k({
name: "WFToolbar", name: "WFToolbar",
props: { props: {
wfLinks: { wfLinks: {
...@@ -151,7 +151,7 @@ const Be = E({ ...@@ -151,7 +151,7 @@ const Be = E({
emit: t emit: t
}) { }) {
return { return {
ns: x("wf-toolbar"), ns: E("wf-toolbar"),
handleClick: async (i, n) => { handleClick: async (i, n) => {
t("wf-link-click", i, n); t("wf-link-click", i, n);
} }
...@@ -162,28 +162,28 @@ const Be = E({ ...@@ -162,28 +162,28 @@ const Be = E({
return c("div", { return c("div", {
class: `${this.ns.b()}` class: `${this.ns.b()}`
}, [e.length > 0 && e.map((t) => { }, [e.length > 0 && e.map((t) => {
const s = t.sequenceFlowName == "驳回" || t.sequenceFlowName == "取消"; const s = t.sequenceFlowName == "驳回" || t.sequenceFlowName == "取消", o = t.sequenceFlowName.startsWith("保存") || t.sequenceFlowName.startsWith("关闭") || t.sequenceFlowName.startsWith("保存并关闭");
return c("div", { return c("div", {
key: t.sequenceFlowId, key: t.sequenceFlowId,
class: [this.ns.e("item"), s ? this.ns.em("item", "reject") : ""] class: [this.ns.e("item"), o ? this.ns.em("item", "plain") : "", s ? this.ns.em("item", "reject") : ""]
}, [c("i-button", { }, [c("i-button", {
attrs: { attrs: {
title: t.sequenceFlowName title: t.sequenceFlowName
}, },
on: { on: {
click: (o) => this.handleClick(t, o) click: (i) => this.handleClick(t, i)
} }
}, [t.sequenceFlowName || ""])]); }, [t.sequenceFlowName || ""])]);
})]); })]);
} }
}), ze = typeof btoa == "function", j = typeof Buffer == "function"; }), ze = typeof btoa == "function", j = typeof Buffer == "function";
typeof TextDecoder == "function" && new TextDecoder(); typeof TextDecoder == "function" && new TextDecoder();
const W = typeof TextEncoder == "function" ? new TextEncoder() : void 0, _e = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", R = Array.prototype.slice.call(_e); const V = typeof TextEncoder == "function" ? new TextEncoder() : void 0, _e = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", D = Array.prototype.slice.call(_e);
((e) => { ((e) => {
let t = {}; let t = {};
return e.forEach((s, o) => t[s] = o), t; return e.forEach((s, o) => t[s] = o), t;
})(R); })(D);
const N = String.fromCharCode.bind(String); const I = String.fromCharCode.bind(String);
typeof Uint8Array.from == "function" && Uint8Array.from.bind(Uint8Array); typeof Uint8Array.from == "function" && Uint8Array.from.bind(Uint8Array);
const $e = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (t) => t == "+" ? "-" : "_"), je = (e) => { const $e = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (t) => t == "+" ? "-" : "_"), je = (e) => {
let t, s, o, i, n = ""; let t, s, o, i, n = "";
...@@ -191,40 +191,40 @@ const $e = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (t) => t == "+" ? "-" : ...@@ -191,40 +191,40 @@ const $e = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (t) => t == "+" ? "-" :
for (let a = 0; a < e.length; ) { for (let a = 0; a < e.length; ) {
if ((s = e.charCodeAt(a++)) > 255 || (o = e.charCodeAt(a++)) > 255 || (i = e.charCodeAt(a++)) > 255) if ((s = e.charCodeAt(a++)) > 255 || (o = e.charCodeAt(a++)) > 255 || (i = e.charCodeAt(a++)) > 255)
throw new TypeError("invalid character found"); throw new TypeError("invalid character found");
t = s << 16 | o << 8 | i, n += R[t >> 18 & 63] + R[t >> 12 & 63] + R[t >> 6 & 63] + R[t & 63]; t = s << 16 | o << 8 | i, n += D[t >> 18 & 63] + D[t >> 12 & 63] + D[t >> 6 & 63] + D[t & 63];
} }
return r ? n.slice(0, r - 3) + "===".substring(r) : n; return r ? n.slice(0, r - 3) + "===".substring(r) : n;
}, se = ze ? (e) => btoa(e) : j ? (e) => Buffer.from(e, "binary").toString("base64") : je, Ve = j ? (e) => Buffer.from(e).toString("base64") : (e) => { }, se = ze ? (e) => btoa(e) : j ? (e) => Buffer.from(e, "binary").toString("base64") : je, We = j ? (e) => Buffer.from(e).toString("base64") : (e) => {
let s = []; let s = [];
for (let o = 0, i = e.length; o < i; o += 4096) for (let o = 0, i = e.length; o < i; o += 4096)
s.push(N.apply(null, e.subarray(o, o + 4096))); s.push(I.apply(null, e.subarray(o, o + 4096)));
return se(s.join("")); return se(s.join(""));
}, We = (e) => { }, Ve = (e) => {
if (e.length < 2) { if (e.length < 2) {
var t = e.charCodeAt(0); var t = e.charCodeAt(0);
return t < 128 ? e : t < 2048 ? N(192 | t >>> 6) + N(128 | t & 63) : N(224 | t >>> 12 & 15) + N(128 | t >>> 6 & 63) + N(128 | t & 63); return t < 128 ? e : t < 2048 ? I(192 | t >>> 6) + I(128 | t & 63) : I(224 | t >>> 12 & 15) + I(128 | t >>> 6 & 63) + I(128 | t & 63);
} else { } else {
var t = 65536 + (e.charCodeAt(0) - 55296) * 1024 + (e.charCodeAt(1) - 56320); var t = 65536 + (e.charCodeAt(0) - 55296) * 1024 + (e.charCodeAt(1) - 56320);
return N(240 | t >>> 18 & 7) + N(128 | t >>> 12 & 63) + N(128 | t >>> 6 & 63) + N(128 | t & 63); return I(240 | t >>> 18 & 7) + I(128 | t >>> 12 & 63) + I(128 | t >>> 6 & 63) + I(128 | t & 63);
} }
}, qe = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, He = (e) => e.replace(qe, We), q = j ? (e) => Buffer.from(e, "utf8").toString("base64") : W ? (e) => Ve(W.encode(e)) : (e) => se(He(e)), oe = (e, t = !1) => t ? $e(q(e)) : q(e); }, qe = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, He = (e) => e.replace(qe, Ve), q = j ? (e) => Buffer.from(e, "utf8").toString("base64") : V ? (e) => We(V.encode(e)) : (e) => se(He(e)), oe = (e, t = !1) => t ? $e(q(e)) : q(e);
function Xe(e, t, s) { function Xe(e, t, s) {
var S; var U;
const o = f([]), i = f({ const o = g([]), i = g({
Authorization: `Bearer ${Re("access_token")}` Authorization: `Bearer ${De("access_token")}`
}), n = f(""), r = f(""), a = { }), n = g(""), r = g(""), a = {
count: 0, count: 0,
cacheFiles: [] cacheFiles: []
// iview上传过程中不能改default-file-list,所以需要缓存 // iview上传过程中不能改default-file-list,所以需要缓存
}, d = (S = s.editorParams) == null ? void 0 : S.blackList; }, d = (U = s.editorParams) == null ? void 0 : U.blackList;
let h = []; let h = [];
d && typeof d == "string" && (h = d.split(",")), I( d && typeof d == "string" && (h = d.split(",")), P(
() => e.value, () => e.value,
(l) => { (l) => {
o.value = l ? JSON.parse(l) : []; o.value = l ? JSON.parse(l) : [];
}, },
{ immediate: !0 } { immediate: !0 }
), I( ), P(
() => e.data, () => e.data,
(l) => { (l) => {
if (l) { if (l) {
...@@ -233,7 +233,7 @@ function Xe(e, t, s) { ...@@ -233,7 +233,7 @@ function Xe(e, t, s) {
} }
}, },
{ immediate: !0, deep: !0 } { immediate: !0, deep: !0 }
), I( ), P(
o, o,
(l) => { (l) => {
l != null && l.length && r.value && l.forEach((u) => { l != null && l.length && r.value && l.forEach((u) => {
...@@ -241,7 +241,7 @@ function Xe(e, t, s) { ...@@ -241,7 +241,7 @@ function Xe(e, t, s) {
}); });
}, },
{ immediate: !0 } { immediate: !0 }
), I( ), P(
r, r,
(l) => { (l) => {
l && o.value.length && o.value.forEach((u) => { l && o.value.length && o.value.forEach((u) => {
...@@ -250,51 +250,51 @@ function Xe(e, t, s) { ...@@ -250,51 +250,51 @@ function Xe(e, t, s) {
}, },
{ immediate: !0 } { immediate: !0 }
); );
const p = () => { const m = () => {
const l = [...o.value, ...a.cacheFiles], u = l.length > 0 ? JSON.stringify(l.map((v) => ({ name: v.name, id: v.id }))) : null; const l = [...o.value, ...a.cacheFiles], u = l.length > 0 ? JSON.stringify(l.map((v) => ({ name: v.name, id: v.id }))) : null;
a.cacheFiles = [], t(u); a.cacheFiles = [], t(u);
}, g = (l) => { }, f = (l) => {
const u = l.name.trim().toLowerCase(); const u = l.name.trim().toLowerCase();
if (h.some((F) => u.endsWith(`.${F}`))) if (h.some((S) => u.endsWith(`.${S}`)))
return ibiz.message.error(`不可上传 ${h.join("、")}类型的文件!`), !1; return ibiz.message.error(`不可上传 ${h.join("、")}类型的文件!`), !1;
a.count += 1; a.count += 1;
}, U = (l) => { }, C = (l) => {
l && (a.cacheFiles.push({ l && (a.cacheFiles.push({
name: l.filename, name: l.filename,
id: l.fileid id: l.fileid
}), a.count -= 1, a.count === 0 && p()); }), a.count -= 1, a.count === 0 && m());
}, y = (l, u) => { }, w = (l, u) => {
throw a.count -= 1, new Z({ throw a.count -= 1, new Z({
response: { data: u, status: l.status } response: { data: u, status: l.status }
// eslint-disable-next-line @typescript-eslint/no-explicit-any // eslint-disable-next-line @typescript-eslint/no-explicit-any
}); });
}, C = (l) => { }, F = (l) => {
if (e.disabled) if (e.disabled)
return; return;
const u = o.value.findIndex((v) => v.id === l.id); const u = o.value.findIndex((v) => v.id === l.id);
u !== -1 && o.value.splice(u, 1), p(); u !== -1 && o.value.splice(u, 1), m();
}, b = (l) => { }, b = (l) => {
const u = l.url || r.value.replace("%fileId%", l.id); const u = l.url || r.value.replace("%fileId%", l.id);
s.fileDownload({ url: u, name: l.name }); s.fileDownload({ url: u, name: l.name });
}, m = f(!1), w = f(""), T = f(""); }, p = g(!1), y = g(""), L = g("");
return { return {
uploadUrl: n, uploadUrl: n,
downloadUrl: r, downloadUrl: r,
headers: i, headers: i,
files: o, files: o,
onDownload: b, onDownload: b,
onError: y, onError: w,
onRemove: C, onRemove: F,
onSuccess: U, onSuccess: C,
beforeUpload: g, beforeUpload: f,
showModal: m, showModal: p,
modalTitle: w, modalTitle: y,
iframeUrl: T, iframeUrl: L,
onModalCancel: () => { onModalCancel: () => {
m.value = !1, w.value = "", T.value = ""; p.value = !1, y.value = "", L.value = "";
}, },
previewFile: (l) => { previewFile: (l) => {
m.value = !0, w.value = l.name; p.value = !0, y.value = l.name;
const u = window.Environment.previewFileUrl; const u = window.Environment.previewFileUrl;
if (u) { if (u) {
const v = encodeURIComponent( const v = encodeURIComponent(
...@@ -302,34 +302,34 @@ function Xe(e, t, s) { ...@@ -302,34 +302,34 @@ function Xe(e, t, s) {
`${window.location.origin}${l.url}?fullfilename=${l.name}` `${window.location.origin}${l.url}?fullfilename=${l.name}`
) )
); );
T.value = `${u}/onlinePreview?url=${v}`; L.value = `${u}/onlinePreview?url=${v}`;
} }
} }
}; };
} }
const Je = E({ const Je = k({
name: "SyFileUpload", name: "SyFileUpload",
props: ye(), props: ye(),
emits: Y(), emits: Y(),
setup(e, { setup(e, {
emit: t emit: t
}) { }) {
const s = x("sy-file-upload"), o = e.controller, { const s = E("sy-file-upload"), o = e.controller, {
uploadUrl: i, uploadUrl: i,
headers: n, headers: n,
files: r, files: r,
onDownload: a, onDownload: a,
onError: d, onError: d,
onRemove: h, onRemove: h,
onSuccess: p, onSuccess: m,
beforeUpload: g, beforeUpload: f,
showModal: U, showModal: C,
modalTitle: y, modalTitle: w,
iframeUrl: C, iframeUrl: F,
onModalCancel: b, onModalCancel: b,
previewFile: m previewFile: p
} = Xe(e, (w) => { } = Xe(e, (y) => {
t("change", w); t("change", y);
}, o); }, o);
return { return {
ns: s, ns: s,
...@@ -340,13 +340,13 @@ const Je = E({ ...@@ -340,13 +340,13 @@ const Je = E({
onDownload: a, onDownload: a,
onError: d, onError: d,
onRemove: h, onRemove: h,
onSuccess: p, onSuccess: m,
beforeUpload: g, beforeUpload: f,
showModal: U, showModal: C,
modalTitle: y, modalTitle: w,
iframeUrl: C, iframeUrl: F,
onModalCancel: b, onModalCancel: b,
previewFile: m previewFile: p
}; };
}, },
render(e) { render(e) {
...@@ -378,11 +378,20 @@ const Je = E({ ...@@ -378,11 +378,20 @@ const Je = E({
}), e("div", { }), e("div", {
class: this.ns.be("box", "title") class: this.ns.be("box", "title")
}, [e("span", ["将文件拖到此处,或"]), e("span", ["点击上传"])])]) : e("i-button", { }, [e("span", ["将文件拖到此处,或"]), e("span", ["点击上传"])])]) : e("i-button", {
attrs: {
icon: "ios-cloud-upload-outline"
},
class: this.ns.bm("box", "select") class: this.ns.bm("box", "select")
}, ["上传文件"])]), e("div", { }, [e("svg", {
attrs: {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 1024 1024"
}
}, [e("path", {
attrs: {
fill: "currentColor",
d: "M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-578.304V704h-64V247.296L237.248 490.048 192 444.8 508.8 128l316.8 316.8-45.312 45.248z"
}
})]), e("span", ["上传文件"])]), this.c.uploadDescription && e("div", {
class: this.ns.b("accept-description")
}, [this.c.uploadDescription])]), e("div", {
class: this.ns.b("file-list") class: this.ns.b("file-list")
}, [this.files.map((t) => e("div", { }, [this.files.map((t) => e("div", {
class: this.ns.b("file-item"), class: this.ns.b("file-item"),
...@@ -390,6 +399,47 @@ const Je = E({ ...@@ -390,6 +399,47 @@ const Je = E({
}, [e("div", { }, [e("div", {
class: this.ns.b("file-item-right") class: this.ns.b("file-item-right")
}, [e("div", { }, [e("div", {
class: this.ns.b("file-item-right-icon")
}, [e("svg", {
attrs: {
viewBox: "0 0 16 16",
version: "1.1"
}
}, [e("g", {
attrs: {
id: "基础组件",
stroke: "none",
"stroke-width": "1",
fill: "none",
"fill-rule": "evenodd"
}
}, [e("g", {
attrs: {
id: "Upload上传",
transform: "translate(-128.000000, -1899.000000)",
"fill-rule": "nonzero"
}
}, [e("g", {
attrs: {
id: "关联",
transform: "translate(128.000000, 1899.000000)"
}
}, [e("rect", {
attrs: {
id: "矩形备份-20",
x: "0",
y: "0",
width: "16",
height: "16"
}
}), e("path", {
attrs: {
d: "M8,6.25590375 C9.72432306,6.25590375 11.1277921,7.62964308 11.175675,9.34238963 L11.1769379,9.43284162 L11.1769379,12.7456325 C11.1769379,14.5002069 9.75457434,15.9225704 8,15.9225704 C6.27567694,15.9225704 4.8722079,14.5488311 4.824325,12.8360845 L4.82306213,12.7456325 L4.82306213,10.7559037 C4.82306213,10.4797614 5.04691975,10.2559037 5.32306213,10.2559037 C5.58296083,10.2559037 5.79654502,10.4541998 5.82077327,10.7077504 L5.82306213,10.7559037 L5.82306213,12.7456325 C5.82306213,13.9479221 6.79771041,14.9225704 8,14.9225704 C9.17615286,14.9225704 10.1344543,13.9898375 10.1755637,12.8237123 L10.1769379,12.7456325 L10.1769379,9.43284162 C10.1769379,8.23055203 9.20228959,7.25590375 8,7.25590375 C7.72385763,7.25590375 7.5,7.03204612 7.5,6.75590375 C7.5,6.47976137 7.72385763,6.25590375 8,6.25590375 Z M8,0.0774295852 C9.72432306,0.0774295852 11.1277921,1.45116892 11.175675,3.16391546 L11.1769379,3.25436746 L11.1769379,5.24409625 C11.1769379,5.52023863 10.9530802,5.74409625 10.6769379,5.74409625 C10.4170392,5.74409625 10.203455,5.54580022 10.1792267,5.29224959 L10.1769379,5.24409625 L10.1769379,3.25436746 C10.1769379,2.05207787 9.20228959,1.07742959 8,1.07742959 C6.82384714,1.07742959 5.86554572,2.01016247 5.82443628,3.17628769 L5.82306213,3.25436746 L5.82306213,6.56715838 C5.82306213,7.76944797 6.79771041,8.74409625 8,8.74409625 C8.27614237,8.74409625 8.5,8.96795388 8.5,9.24409625 C8.5,9.52023863 8.27614237,9.74409625 8,9.74409625 C6.27567694,9.74409625 4.8722079,8.37035692 4.824325,6.65761037 L4.82306213,6.56715838 L4.82306213,3.25436746 C4.82306213,1.49979312 6.24542566,0.0774295852 8,0.0774295852 Z",
id: "形状结合",
fill: "#000000",
transform: "translate(8.000000, 8.000000) rotate(-315.000000) translate(-8.000000, -8.000000) "
}
})])])])])]), e("div", {
class: this.ns.b("file-item-right-title"), class: this.ns.b("file-item-right-title"),
on: { on: {
click: () => this.previewFile(t) click: () => this.previewFile(t)
...@@ -412,7 +462,7 @@ const Je = E({ ...@@ -412,7 +462,7 @@ const Je = E({
} }
}), this.disabled || this.readonly ? null : e("i-icon", { }), this.disabled || this.readonly ? null : e("i-icon", {
attrs: { attrs: {
type: "md-close" type: "ios-trash"
}, },
on: { on: {
click: () => this.onRemove(t) click: () => this.onRemove(t)
...@@ -440,13 +490,13 @@ const Je = E({ ...@@ -440,13 +490,13 @@ const Je = E({
function O(e, t) { function O(e, t) {
if (e.url = t.replace("%fileId%", e.id), e.status || (e.status = "finished"), !e.fileName) { if (e.url = t.replace("%fileId%", e.id), e.status || (e.status = "finished"), !e.fileName) {
const s = e.name.lastIndexOf("."); const s = e.name.lastIndexOf(".");
e.fileName = e.name.substring(0, s), e.fileExt = e.name.substring(s), e.isImage = Ne(e.name); e.fileName = e.name.substring(0, s), e.fileExt = e.name.substring(s), e.isImage = Ie(e.name);
} }
return e; return e;
} }
function ie(e) { function ie(e) {
const t = f(""), s = f(""), o = f([]); const t = g(""), s = g(""), o = g([]);
return I( return P(
e.data, e.data,
(i) => { (i) => {
if (i) { if (i) {
...@@ -455,7 +505,7 @@ function ie(e) { ...@@ -455,7 +505,7 @@ function ie(e) {
} }
}, },
{ immediate: !0, deep: !0 } { immediate: !0, deep: !0 }
), I( ), P(
e.value, e.value,
(i) => { (i) => {
o.value = i ? JSON.parse(i) : [], o.value.length && s.value && o.value.forEach((n) => { o.value = i ? JSON.parse(i) : [], o.value.length && s.value && o.value.forEach((n) => {
...@@ -463,7 +513,7 @@ function ie(e) { ...@@ -463,7 +513,7 @@ function ie(e) {
}); });
}, },
{ immediate: !0 } { immediate: !0 }
), I( ), P(
s, s,
(i) => { (i) => {
i && o.value.length && o.value.forEach((n) => { i && o.value.length && o.value.forEach((n) => {
...@@ -478,10 +528,10 @@ function ie(e) { ...@@ -478,10 +528,10 @@ function ie(e) {
}; };
} }
function ne(e) { function ne(e) {
var k, S; var x, U;
const t = f("undo"), s = f([]), { downloadUrl: o, value: i, uploadUrl: n, controller: r } = e, a = (S = (k = r == null ? void 0 : r.value) == null ? void 0 : k.editorParams) == null ? void 0 : S.blackList; const t = g("undo"), s = g([]), { downloadUrl: o, value: i, uploadUrl: n, controller: r } = e, a = (U = (x = r == null ? void 0 : r.value) == null ? void 0 : x.editorParams) == null ? void 0 : U.blackList;
let d = []; let d = [];
a && typeof a == "string" && (d = a.split(",")), I( a && typeof a == "string" && (d = a.split(",")), P(
i, i,
(l) => { (l) => {
l.length > 0 && (s.value = [], l.forEach((u) => { l.length > 0 && (s.value = [], l.forEach((u) => {
...@@ -495,67 +545,67 @@ function ne(e) { ...@@ -495,67 +545,67 @@ function ne(e) {
); );
const h = (l, u) => { const h = (l, u) => {
const v = []; const v = [];
return u.forEach((F, A) => { return u.forEach((S, A) => {
const G = F.name.trim().toLowerCase(); const G = S.name.trim().toLowerCase();
if (d.some((le) => G.endsWith(`.${le}`))) { if (d.some((le) => G.endsWith(`.${le}`))) {
v.push(A); v.push(A);
return; return;
} }
s.value.push({ s.value.push({
name: F.name, name: S.name,
status: F.status, status: S.status,
percentage: F.percentage, percentage: S.percentage,
id: F.uid, id: S.uid,
url: "" url: ""
}); });
}), v.length === u.length ? (ibiz.message.error(`不可上传 ${d.join("、")}类型的文件!`), !1) : (v.length && (v.forEach((F) => { }), v.length === u.length ? (ibiz.message.error(`不可上传 ${d.join("、")}类型的文件!`), !1) : (v.length && (v.forEach((S) => {
l.splice(F, 1), u.splice(F, 1); l.splice(S, 1), u.splice(S, 1);
}), ibiz.message.error(`不可上传 ${d.join("、")}类型的文件!`)), !0); }), ibiz.message.error(`不可上传 ${d.join("、")}类型的文件!`)), !0);
}, p = (l) => { }, m = (l) => {
l.forEach((u) => { l.forEach((u) => {
s.value.find((v) => v.id === u.uid ? (v.percentage = u.percentage, !0) : !1); s.value.find((v) => v.id === u.uid ? (v.percentage = u.percentage, !0) : !1);
}); });
}, g = (l, u) => { }, f = (l, u) => {
l.forEach((v) => { l.forEach((v) => {
s.value.find((F) => F.id === v.uid ? (F.status = v.status, F.id = u.data.fileid, F.name = u.data.filename, O(F, o.value), !0) : !1); s.value.find((S) => S.id === v.uid ? (S.status = v.status, S.id = u.data.fileid, S.name = u.data.filename, O(S, o.value), !0) : !1);
}); });
}, U = (l, u) => { }, C = (l, u) => {
var F; var S;
l.forEach((A) => { l.forEach((A) => {
s.value.find((G) => G.id === A.uid ? (G.status = A.status, !0) : !1); s.value.find((G) => G.id === A.uid ? (G.status = A.status, !0) : !1);
}); });
const v = new Z(u); const v = new Z(u);
ibiz.notification.error({ ibiz.notification.error({
title: (F = v.status) == null ? void 0 : F.toString(), title: (S = v.status) == null ? void 0 : S.toString(),
desc: v.message, desc: v.message,
duration: 10 duration: 10
}); });
}, y = (l) => { }, w = (l) => {
s.value = s.value.filter((u) => u.status === "finished"), t.value = "done"; s.value = s.value.filter((u) => u.status === "finished"), t.value = "done";
}, C = () => { }, F = () => {
Te({ Le({
multiple: e.multiple, multiple: e.multiple,
accept: e.accept, accept: e.accept,
uploadUrl: n.value, uploadUrl: n.value,
beforeUpload: h, beforeUpload: h,
progress: p, progress: m,
success: g, success: f,
error: U, error: C,
finish: y finish: w
}); });
}, b = f(!1), m = f(""), w = f(""); }, b = g(!1), p = g(""), y = g("");
return { return {
selectFile: C, selectFile: F,
fileList: s, fileList: s,
uploadState: t, uploadState: t,
showModal: b, showModal: b,
modalTitle: m, modalTitle: p,
iframeUrl: w, iframeUrl: y,
onModalCancel: () => { onModalCancel: () => {
b.value = !1, m.value = "", w.value = ""; b.value = !1, p.value = "", y.value = "";
}, },
previewFile: (l) => { previewFile: (l) => {
b.value = !0, m.value = l.name; b.value = !0, p.value = l.name;
const u = window.Environment.previewFileUrl; const u = window.Environment.previewFileUrl;
if (u) { if (u) {
const v = encodeURIComponent( const v = encodeURIComponent(
...@@ -563,16 +613,16 @@ function ne(e) { ...@@ -563,16 +613,16 @@ function ne(e) {
`${window.location.origin}${l.url}?fullfilename=${l.name}` `${window.location.origin}${l.url}?fullfilename=${l.name}`
) )
); );
w.value = `${u}/onlinePreview?url=${v}`; y.value = `${u}/onlinePreview?url=${v}`;
} }
} }
}; };
} }
const Qe = E({ const Qe = k({
name: "SyGridFileUpload", name: "SyGridFileUpload",
props: _(), props: _(),
setup(e) { setup(e) {
const t = x("sy-grid-file-upload"), { const t = E("sy-grid-file-upload"), {
value: s, value: s,
data: o, data: o,
controller: i controller: i
...@@ -587,10 +637,10 @@ const Qe = E({ ...@@ -587,10 +637,10 @@ const Qe = E({
}), { }), {
fileList: d, fileList: d,
showModal: h, showModal: h,
modalTitle: p, modalTitle: m,
iframeUrl: g, iframeUrl: f,
previewFile: U, previewFile: C,
onModalCancel: y onModalCancel: w
} = ne({ } = ne({
downloadUrl: n, downloadUrl: n,
uploadUrl: r, uploadUrl: r,
...@@ -600,13 +650,13 @@ const Qe = E({ ...@@ -600,13 +650,13 @@ const Qe = E({
ns: t, ns: t,
fileList: d, fileList: d,
showModal: h, showModal: h,
modalTitle: p, modalTitle: m,
iframeUrl: g, iframeUrl: f,
downloadFile: (b) => { downloadFile: (b) => {
e.controller.fileDownload(b); e.controller.fileDownload(b);
}, },
previewFile: U, previewFile: C,
onModalCancel: y onModalCancel: w
}; };
}, },
render() { render() {
...@@ -661,7 +711,7 @@ const Qe = E({ ...@@ -661,7 +711,7 @@ const Qe = E({
} }
})])]); })])]);
} }
}), Ke = E({ }), Ke = k({
name: "SyGridFileUploadContainer", name: "SyGridFileUploadContainer",
props: _(), props: _(),
emits: $(), emits: $(),
...@@ -685,7 +735,7 @@ const Qe = E({ ...@@ -685,7 +735,7 @@ const Qe = E({
}); });
} }
}); });
const Ye = E({ const Ye = k({
name: "SyEditGridFileUploadPopover", name: "SyEditGridFileUploadPopover",
props: { props: {
uploadUrl: { uploadUrl: {
...@@ -711,7 +761,7 @@ const Ye = E({ ...@@ -711,7 +761,7 @@ const Ye = E({
setup(e, { setup(e, {
emit: t emit: t
}) { }) {
const s = x("sy-edit-grid-file-upload-popover"), { const s = E("sy-edit-grid-file-upload-popover"), {
downloadUrl: o, downloadUrl: o,
value: i, value: i,
uploadUrl: n, uploadUrl: n,
...@@ -725,21 +775,21 @@ const Ye = E({ ...@@ -725,21 +775,21 @@ const Ye = E({
value: i, value: i,
uploadUrl: n, uploadUrl: n,
controller: r controller: r
}), p = f(), g = f(!1), U = Ce(p, async (b) => { }), m = g(), f = g(!1), C = Ce(m, async (b) => {
t("close", { t("close", {
isModified: g.value, isModified: f.value,
resultFiles: a.value resultFiles: a.value
}); });
}); });
return I(d, (b) => { return P(d, (b) => {
b === "done" ? (g.value = !0, U.proceed()) : b === "loading" && U.pause(); b === "done" ? (f.value = !0, C.proceed()) : b === "loading" && C.pause();
}), { }), {
ns: s, ns: s,
componentRef: p, componentRef: m,
fileList: a, fileList: a,
deleteFile: (b) => { deleteFile: (b) => {
const m = a.value.findIndex((w) => w.id === b.id); const p = a.value.findIndex((y) => y.id === b.id);
a.value.splice(m, 1), g.value = !0; a.value.splice(p, 1), f.value = !0;
}, },
selectFile: h, selectFile: h,
downloadFile: (b) => { downloadFile: (b) => {
...@@ -783,14 +833,14 @@ const Ye = E({ ...@@ -783,14 +833,14 @@ const Ye = E({
}), "添加文件"])]); }), "添加文件"])]);
} }
}); });
const Ze = E({ const Ze = k({
name: "SyEditGridFileUpload", name: "SyEditGridFileUpload",
props: _(), props: _(),
emits: $(), emits: $(),
setup(e, { setup(e, {
emit: t emit: t
}) { }) {
const s = x("sy-edit-grid-file-upload"), { const s = E("sy-edit-grid-file-upload"), {
value: o, value: o,
data: i, data: i,
controller: n controller: n
...@@ -802,10 +852,10 @@ const Ze = E({ ...@@ -802,10 +852,10 @@ const Ze = E({
value: o, value: o,
data: i, data: i,
controller: n controller: n
}), h = f(), p = async () => { }), h = g(), m = async () => {
if (!h.value) if (!h.value)
throw new De("容器元素不存在"); throw new Te("容器元素不存在");
const g = h.value.$el, U = g.offsetHeight, y = ibiz.overlay.createPopover((m) => m(Ye, { const f = h.value.$el, C = f.offsetHeight, w = ibiz.overlay.createPopover((p) => p(Ye, {
props: { props: {
value: d.value, value: d.value,
uploadUrl: a.value, uploadUrl: a.value,
...@@ -813,33 +863,33 @@ const Ze = E({ ...@@ -813,33 +863,33 @@ const Ze = E({
controller: n.value controller: n.value
}, },
on: { on: {
close: (w) => { close: (y) => {
y.dismiss(w); w.dismiss(y);
} }
} }
}), void 0, { }), void 0, {
noArrow: !0, noArrow: !0,
placement: "bottom-start", placement: "bottom-start",
offsetOpts: { offsetOpts: {
mainAxis: -U, mainAxis: -C,
crossAxis: 0 crossAxis: 0
} }
}); });
await y.present(g); await w.present(f);
const { const {
isModified: C, isModified: F,
resultFiles: b resultFiles: b
} = await y.onWillDismiss(); } = await w.onWillDismiss();
if (C) { if (F) {
const m = b.length > 0 ? JSON.stringify(b.map((w) => ({ const p = b.length > 0 ? JSON.stringify(b.map((y) => ({
name: w.name, name: y.name,
id: w.id id: y.id
}))) : null; }))) : null;
t("change", m), t("rowSave"); t("change", p), t("rowSave");
} }
}; };
return Fe(h, "click", (g) => { return Fe(h, "click", (f) => {
e.disabled || p(); e.disabled || m();
}), { }), {
ns: s, ns: s,
valueList: d, valueList: d,
...@@ -864,16 +914,16 @@ const Ze = E({ ...@@ -864,16 +914,16 @@ const Ze = E({
}, [e.name])]))])]); }, [e.name])]))])]);
} }
}); });
E({ k({
name: "SyInput", name: "SyInput",
props: Se(), props: Se(),
emits: Y(), emits: Y(),
setup(e, { setup(e, {
emit: t emit: t
}) { }) {
const s = x("input"), i = e.controller.model, n = f(), r = f(2); const s = E("input"), i = e.controller.model, n = g(), r = g(2);
i.editorType === "TEXTAREA_10" && (r.value = 10); i.editorType === "TEXTAREA_10" && (r.value = 10);
const a = D(() => { const a = T(() => {
switch (i.editorType) { switch (i.editorType) {
case "TEXTBOX": case "TEXTBOX":
return "text"; return "text";
...@@ -885,35 +935,35 @@ E({ ...@@ -885,35 +935,35 @@ E({
default: default:
return "string"; return "string";
} }
}), d = f(""); }), d = g("");
I(() => e.value, (m, w) => { P(() => e.value, (p, y) => {
m !== w && (m ? d.value = m : d.value = ""); p !== y && (p ? d.value = p : d.value = "");
}, { }, {
immediate: !0 immediate: !0
}); });
let h = !1, p, g; let h = !1, m, f;
const U = Le((m) => { const C = Re((p) => {
g !== m.target.value && t("change", m.target.value), g = void 0, h = !1, p && p(); f !== p.target.value && t("change", p.target.value), f = void 0, h = !1, m && m();
}, 300, { }, 300, {
leading: !0 leading: !0
}), y = (m) => { }), w = (p) => {
h = !0, U(m); h = !0, C(p);
}, C = (m) => { }, F = (p) => {
m && m.code === "Enter" && h && (p = () => { p && p.code === "Enter" && h && (m = () => {
n.value.$el.dispatchEvent(m); n.value.$el.dispatchEvent(p);
}); });
}, b = () => { }, b = () => {
g = n.value.currentValue, t("change", g); f = n.value.currentValue, t("change", f);
}; };
return e.autoFocus && I(n, (m) => { return e.autoFocus && P(n, (p) => {
m && m.$el.getElementsByTagName("input")[0].focus(); p && p.$el.getElementsByTagName("input")[0].focus();
}), { }), {
ns: s, ns: s,
rows: r, rows: r,
type: a, type: a,
currentVal: d, currentVal: d,
handleChange: y, handleChange: w,
handleKeyUp: C, handleKeyUp: F,
handleBlur: b, handleBlur: b,
inputRef: n inputRef: n
}; };
...@@ -945,20 +995,20 @@ E({ ...@@ -945,20 +995,20 @@ E({
}, [this.controller.model.unitName])])]); }, [this.controller.model.unitName])])]);
} }
}); });
E({ k({
name: "SyGridInput", name: "SyGridInput",
props: Ue(), props: Ue(),
emits: $(), emits: $(),
setup(e, { setup(e, {
emit: t emit: t
}) { }) {
const s = x("grid-input"), { const s = E("grid-input"), {
isInfoMode: o, isInfoMode: o,
autoFocus: i, autoFocus: i,
componentRef: n, componentRef: n,
onOperateChange: r, onOperateChange: r,
onChange: a onChange: a
} = Ee(e, { } = ke(e, {
emit: t emit: t
}); });
return { return {
...@@ -1004,7 +1054,7 @@ function H(e, t) { ...@@ -1004,7 +1054,7 @@ function H(e, t) {
class: e.e("logo-caption") class: e.e("logo-caption")
}, [t.caption])]); }, [t.caption])]);
} }
const et = E({ const et = k({
name: "UserAppLayout", name: "UserAppLayout",
props: { props: {
model: { model: {
...@@ -1025,9 +1075,9 @@ const et = E({ ...@@ -1025,9 +1075,9 @@ const et = E({
setup(e, { setup(e, {
emit: t emit: t
}) { }) {
const s = x("layout"), o = f(!1), i = () => { const s = E("layout"), o = g(!1), i = () => {
o.value = !o.value, t("onCollapseChange", o.value); o.value = !o.value, t("onCollapseChange", o.value);
}, n = D(() => e.model.source.blankMode === !0), r = D(() => !!(window.Environment.manualdownloadurl || ibiz.env.manualdownloadurl)); }, n = T(() => e.model.source.blankMode === !0), r = T(() => !!(window.Environment.manualdownloadurl || ibiz.env.manualdownloadurl));
return { return {
ns: s, ns: s,
collapseChange: o, collapseChange: o,
...@@ -1122,10 +1172,10 @@ function tt(e) { ...@@ -1122,10 +1172,10 @@ function tt(e) {
}), e.singleSelect || s.splice(0, 0, { type: "selection", width: 60 }), s; }), e.singleSelect || s.splice(0, 0, { type: "selection", width: 60 }), s;
} }
function st(e) { function st(e) {
const t = f([]); const t = g([]);
return e.nerve.self.evt.on("created", () => { return e.nerve.self.evt.on("created", () => {
t.value = tt(e); t.value = tt(e);
}), [D(() => { }), [T(() => {
const o = [...t.value]; const o = [...t.value];
if (!o.find((r) => !r.width)) { if (!o.find((r) => !r.width)) {
let r = o.length - 1; let r = o.length - 1;
...@@ -1183,7 +1233,7 @@ class nt extends ge { ...@@ -1183,7 +1233,7 @@ class nt extends ge {
* @author: zhujiamin * @author: zhujiamin
* @Date: 2023-10-09 14:00:38 * @Date: 2023-10-09 14:00:38
*/ */
P(this, "groups", []); N(this, "groups", []);
/** /**
* 分组名称属性 * 分组名称属性
* *
...@@ -1191,7 +1241,7 @@ class nt extends ge { ...@@ -1191,7 +1241,7 @@ class nt extends ge {
* @date 2024-12-19 10:12:56 * @date 2024-12-19 10:12:56
* @type {string} * @type {string}
*/ */
P(this, "groupField", ""); N(this, "groupField", "");
/** /**
* 第一列名称 * 第一列名称
* *
...@@ -1199,7 +1249,7 @@ class nt extends ge { ...@@ -1199,7 +1249,7 @@ class nt extends ge {
* @date 2024-12-19 10:12:30 * @date 2024-12-19 10:12:30
* @type {string} * @type {string}
*/ */
P(this, "firstColName", ""); N(this, "firstColName", "");
} }
async onInit() { async onInit() {
const s = this.model.columns.find( const s = this.model.columns.find(
...@@ -1250,12 +1300,12 @@ class nt extends ge { ...@@ -1250,12 +1300,12 @@ class nt extends ge {
} }
} }
function rt(e, t, s, o = {}) { function rt(e, t, s, o = {}) {
return ke(e, () => { return xe(e, () => {
const i = new nt(t, s, o); const i = new nt(t, s, o);
return z(e, "gridRowActiveMode", i.setGridRowActiveMode.bind(i)), i; return z(e, "gridRowActiveMode", i.setGridRowActiveMode.bind(i)), i;
}); });
} }
const at = E({ const at = k({
props: { props: {
modelData: he, modelData: he,
context: { context: {
...@@ -1285,52 +1335,52 @@ const at = E({ ...@@ -1285,52 +1335,52 @@ const at = E({
setup(e) { setup(e) {
const { const {
proxy: t proxy: t
} = L(), s = x("grid"), o = rt(t, e.modelData, e.context, e.params), [i] = st(o), { } = R(), s = E("grid"), o = rt(t, e.modelData, e.context, e.params), [i] = st(o), {
onRowClick: n, onRowClick: n,
onDbRowClick: r, onDbRowClick: r,
onSelectionChange: a, onSelectionChange: a,
onSortChange: d onSortChange: d
} = ot(o), { } = ot(o), {
onPageChange: h, onPageChange: h,
onPageReset: p, onPageReset: m,
onPageSizeChange: g onPageSizeChange: f
} = it(o), U = (k, S) => { } = it(o), C = (x, U) => {
const l = t.$refs.grid; const l = t.$refs.grid;
l && (l.toggleSelect && l.toggleSelect(S), l.highlightCurrentRow && l.highlightCurrentRow(S)), n(k); l && (l.toggleSelect && l.toggleSelect(U), l.highlightCurrentRow && l.highlightCurrentRow(U)), n(x);
}, y = f(0), C = f(null), b = f(null); }, w = g(0), F = g(null), b = g(null);
let m = null, w = 0; let p = null, y = 0;
const T = () => { const L = () => {
var k; var x;
if (C.value && ((k = e.modal) == null ? void 0 : k.mode) !== "EMBED") if (F.value && ((x = e.modal) == null ? void 0 : x.mode) !== "EMBED")
if (o.model.source.enablePagingBar && b.value) { if (o.model.source.enablePagingBar && b.value) {
const S = b.value.$el, l = S.offsetHeight + parseFloat(window.getComputedStyle(S).paddingTop); const U = b.value.$el, l = U.offsetHeight + parseFloat(window.getComputedStyle(U).paddingTop);
y.value = C.value.offsetHeight - l; w.value = F.value.offsetHeight - l;
} else } else
y.value = C.value.offsetHeight; w.value = F.value.offsetHeight;
o.model.source.height > 0 && (y.value = o.model.source.height); o.model.source.height > 0 && (w.value = o.model.source.height);
}; };
I(C, (k, S) => { P(F, (x, U) => {
k && k !== S && (T(), window.ResizeObserver && C.value && (m = new ResizeObserver((l) => { x && x !== U && (L(), window.ResizeObserver && F.value && (p = new ResizeObserver((l) => {
const u = l[0].contentRect.height; const u = l[0].contentRect.height;
u !== w && (T(), w = u); u !== y && (L(), y = u);
}), m.observe(C.value))); }), p.observe(F.value)));
}), we(() => { }), we(() => {
m && m.disconnect(); p && p.disconnect();
}); });
const M = D(() => { const M = T(() => {
const k = []; const x = [];
return o.groups.forEach((S) => { return o.groups.forEach((U) => {
if (!S.children.length) if (!U.children.length)
return; return;
const u = [...S.children].shift(); const u = [...U.children].shift();
k.push({ x.push({
srfkey: S.caption, srfkey: U.caption,
isGroupData: !0, isGroupData: !0,
first: u, first: u,
children: S.children, children: U.children,
_showChildren: !0 _showChildren: !0
}); });
}), k; }), x;
}); });
return { return {
c: o, c: o,
...@@ -1338,14 +1388,14 @@ const at = E({ ...@@ -1338,14 +1388,14 @@ const at = E({
columns: i, columns: i,
tableData: M, tableData: M,
onDbRowClick: r, onDbRowClick: r,
onUIRowClick: U, onUIRowClick: C,
onSelectionChange: a, onSelectionChange: a,
onSortChange: d, onSortChange: d,
onPageChange: h, onPageChange: h,
onPageSizeChange: g, onPageSizeChange: f,
onPageReset: p, onPageReset: m,
tableHeight: y, tableHeight: w,
gridRef: C, gridRef: F,
girdPaginationRef: b girdPaginationRef: b
}; };
}, },
...@@ -1421,12 +1471,12 @@ const at = E({ ...@@ -1421,12 +1471,12 @@ const at = E({
}); });
class lt { class lt {
constructor() { constructor() {
P(this, "component", Me); N(this, "component", Me);
} }
} }
class ct { class ct {
constructor() { constructor() {
P(this, "component", Ge); N(this, "component", Ge);
} }
async createController(t, s) { async createController(t, s) {
const o = new X(t, s); const o = new X(t, s);
...@@ -1435,10 +1485,10 @@ class ct { ...@@ -1435,10 +1485,10 @@ class ct {
} }
class dt { class dt {
constructor() { constructor() {
P(this, "component", "IndexView"); N(this, "component", "IndexView");
} }
} }
const ae = E({ const ae = k({
name: "WFStepTraceGrid", name: "WFStepTraceGrid",
props: { props: {
context: Object, context: Object,
...@@ -1460,17 +1510,19 @@ const ae = E({ ...@@ -1460,17 +1510,19 @@ const ae = E({
setup(e) { setup(e) {
const { const {
proxy: t proxy: t
} = L(), s = xe(t, e.modelPath); } = R(), s = Ee(t, e.modelPath);
z(t, "deName", s.setDeName.bind(s)); z(t, "deName", s.setDeName.bind(s));
const o = x("wf-step-trace-grid"), i = f([]), n = (a, d, h = !1) => { const o = E("wf-step-trace-grid"), i = g([]), n = (a, d, h = !1) => {
a.identitylinks.length > 0 || a.comments.length > 0 && a.comments.forEach((p) => { a.identitylinks.length > 0 || a.comments.length > 0 && a.comments.forEach((m) => {
h && p.type === "启动流程" || d.push({ var f, C, w;
id: V(), h && m.type === "启动流程" || d.push({
id: W(),
nodeName: a.userTaskName, nodeName: a.userTaskName,
personName: p.authorName, personName: (f = m.authorName) == null ? void 0 : f.replace(/\([^)]*\)[^(]*$/, ""),
time: p.time, deptName: ((w = (C = m.authorName) == null ? void 0 : C.match(/.*\(([^)]*)\)[^(]*$/)) == null ? void 0 : w[1]) || "",
content: p.type, time: m.time,
comment: p.fullMessage content: m.type,
comment: m.fullMessage
}); });
}); });
}; };
...@@ -1479,12 +1531,13 @@ const ae = E({ ...@@ -1479,12 +1531,13 @@ const ae = E({
s.data && ((a = s.data.usertasks) == null || a.forEach((d) => { s.data && ((a = s.data.usertasks) == null || a.forEach((d) => {
if (d.usertasks && d.usertasks.length > 0) { if (d.usertasks && d.usertasks.length > 0) {
const h = []; const h = [];
d.usertasks.forEach((p) => { d.usertasks.forEach((m) => {
n(p, h, !0); n(m, h, !0);
}), i.value.push({ }), i.value.push({
id: V(), id: W(),
nodeName: `${d.userTaskName}`, nodeName: `${d.userTaskName}`,
personName: "", personName: "",
deptName: "",
time: "", time: "",
content: "", content: "",
comment: "", comment: "",
...@@ -1493,31 +1546,47 @@ const ae = E({ ...@@ -1493,31 +1546,47 @@ const ae = E({
}); });
} else } else
n(d, i.value); n(d, i.value);
}), i.value.sort((d, h) => Date.parse(d.time) - Date.parse(h.time)), console.log(1, i.value), console.log(2, s.data)); }), i.value.sort((d, h) => Date.parse(d.time) - Date.parse(h.time)));
}); });
const r = f([{ const r = g([{
title: "处理环节", title: "序号",
key: "nodeName", key: "index",
width: 180, width: 100,
resizable: !0, resizable: !0,
tree: !0 render: (a, d) => i.value.findIndex((m) => m.id === d.row.id) === -1 ? null : a("span", {
style: {
textAlign: "center"
}
}, d.index + 1)
}, { }, {
title: "处理人", title: "审批人",
key: "personName", key: "personName",
width: 180, width: 168,
tree: !0,
resizable: !0
}, {
title: "审批部门",
key: "deptName",
width: 200,
resizable: !0 resizable: !0
}, { }, {
title: "处理时间", title: "处理环节",
key: "nodeName",
width: 250,
resizable: !0,
className: "clhj"
}, {
title: "审批(递交时间)",
key: "time", key: "time",
width: 180, width: 180,
resizable: !0 resizable: !0
}, { }, {
title: "处理内容", title: "审批动作",
key: "content", key: "content",
width: 180, width: 150,
resizable: !0 resizable: !0
}, { }, {
title: "处理意见", title: "审批意见",
key: "comment" key: "comment"
}]); }]);
return { return {
...@@ -1554,7 +1623,7 @@ class ut extends ve { ...@@ -1554,7 +1623,7 @@ class ut extends ve {
t.type === "FORM_SAVE" ? await this.save() : super.onLinkClick(t); t.type === "FORM_SAVE" ? await this.save() : super.onLinkClick(t);
} }
} }
E({ k({
props: { props: {
context: Object, context: Object,
params: { params: {
...@@ -1571,7 +1640,7 @@ E({ ...@@ -1571,7 +1640,7 @@ E({
setup(e) { setup(e) {
const { const {
proxy: t proxy: t
} = L(), s = K(t, (r, a) => new ut(e.modelPath, r, a)), o = x(`view-${me.DE_WF_DYNA_EDIT_VIEW3}`.toLowerCase()), i = f(["mainForm"]); } = R(), s = K(t, (r, a) => new ut(e.modelPath, r, a)), o = E(`view-${me.DE_WF_DYNA_EDIT_VIEW3}`.toLowerCase()), i = g(["mainForm"]);
return { return {
c: s, c: s,
ns: o, ns: o,
...@@ -1673,7 +1742,7 @@ E({ ...@@ -1673,7 +1742,7 @@ E({
})])]); })])]);
} }
}); });
E({ k({
name: "SyEditView3", name: "SyEditView3",
props: { props: {
context: Object, context: Object,
...@@ -1691,7 +1760,7 @@ E({ ...@@ -1691,7 +1760,7 @@ E({
setup(e) { setup(e) {
const { const {
proxy: t proxy: t
} = L(), s = Pe(t, e.modelPath), o = x("view-deeditview3"), i = f(["mainForm"]); } = R(), s = Ne(t, e.modelPath), o = E("view-deeditview3"), i = g(["mainForm"]);
return { return {
c: s, c: s,
ns: o, ns: o,
...@@ -1773,8 +1842,8 @@ E({ ...@@ -1773,8 +1842,8 @@ E({
}); });
class ht { class ht {
constructor() { constructor() {
P(this, "formEditor", "SyFileUpload"); N(this, "formEditor", "SyFileUpload");
P(this, "gridEditor", "SyGridFileUploadContainer"); N(this, "gridEditor", "SyGridFileUploadContainer");
} }
async createController(t, s) { async createController(t, s) {
const o = new Q(t, s); const o = new Q(t, s);
...@@ -1786,7 +1855,7 @@ class mt extends te { ...@@ -1786,7 +1855,7 @@ class mt extends te {
if (o && o.length > 0) { if (o && o.length > 0) {
const a = (await ibiz.entityService.getService("XQFBXQPS", s)).local.getList(s); const a = (await ibiz.entityService.getService("XQFBXQPS", s)).local.getList(s);
o.forEach((d) => { o.forEach((d) => {
const h = a.find((p) => p.srfkey === d.srfkey); const h = a.find((m) => m.srfkey === d.srfkey);
h && (h.psjg = "10", d.psjg = "10"); h && (h.psjg = "10", d.psjg = "10");
}); });
} }
...@@ -1798,7 +1867,7 @@ class mt extends te { ...@@ -1798,7 +1867,7 @@ class mt extends te {
} }
class pt { class pt {
constructor() { constructor() {
P(this, "handler"); N(this, "handler");
} }
async getHandler() { async getHandler() {
return this.handler || (this.handler = new mt()), this.handler; return this.handler || (this.handler = new mt()), this.handler;
...@@ -1809,7 +1878,7 @@ class ft extends te { ...@@ -1809,7 +1878,7 @@ class ft extends te {
if (o && o.length > 0) { if (o && o.length > 0) {
const a = (await ibiz.entityService.getService("XQFBXQPS", s)).local.getList(s); const a = (await ibiz.entityService.getService("XQFBXQPS", s)).local.getList(s);
o.forEach((d) => { o.forEach((d) => {
const h = a.find((p) => p.srfkey === d.srfkey); const h = a.find((m) => m.srfkey === d.srfkey);
h && (h.psjg = "20", d.psjg = "20"); h && (h.psjg = "20", d.psjg = "20");
}); });
} }
...@@ -1821,7 +1890,7 @@ class ft extends te { ...@@ -1821,7 +1890,7 @@ class ft extends te {
} }
class gt { class gt {
constructor() { constructor() {
P(this, "handler"); N(this, "handler");
} }
async getHandler() { async getHandler() {
return this.handler || (this.handler = new ft()), this.handler; return this.handler || (this.handler = new ft()), this.handler;
...@@ -1829,10 +1898,10 @@ class gt { ...@@ -1829,10 +1898,10 @@ class gt {
} }
class bt { class bt {
constructor() { constructor() {
P(this, "component", "GroupGrid"); N(this, "component", "GroupGrid");
} }
} }
const vt = new Ae(import.meta.url), It = { const vt = new Ae(import.meta.url), Pt = {
mateUrl: import.meta.url, mateUrl: import.meta.url,
install(e) { install(e) {
pe.getModelService().then((t) => { pe.getModelService().then((t) => {
...@@ -1863,5 +1932,5 @@ const vt = new Ae(import.meta.url), It = { ...@@ -1863,5 +1932,5 @@ const vt = new Ae(import.meta.url), It = {
} }
}; };
export { export {
It as default Pt as default
}; };
@charset "UTF-8";.ibiz-grid-field-column__code-list-item{color:var(--ibiz-grid-field-column-color);border-color:var(--ibiz-grid-field-column-border-color);background-color:var(--ibiz-grid-field-column-bg-color);border:3px solid var(--ibiz-grid-field-column-border-color);border-radius:5px;padding:0 8px;display:inline-block}.ibiz-preset-wf-chart-view{width:100%;height:100%;overflow:auto;text-align:center;background-color:var(--ibiz-bg-color)}.ibiz-wf-toolbar{display:flex}.ibiz-wf-toolbar__item{display:flex;align-items:center;margin:0 4px}.ibiz-wf-toolbar__item .ivu-btn{display:flex;align-items:center;justify-content:center;background-color:#52c41a;border-color:#52c41a;color:#fff}.ibiz-wf-toolbar__item .ivu-btn:hover{background-color:#47cb89;border-color:#47cb89}.ibiz-wf-toolbar__item .ivu-btn>span{display:flex;align-items:center;justify-content:center}.ibiz-wf-toolbar__item--reject .ivu-btn{background-color:#fff;color:#ff434d;border-color:#ff434d}.ibiz-wf-toolbar__item--reject .ivu-btn:hover{color:#f16643;border-color:#f16643;background-color:rgba(254,245,243,.5)}.ibiz-sy-file-upload{display:flex;flex-direction:column;--ibiz-sy-file-upload-font-size: var(--ibiz-font-size-base);--ibiz-sy-file-upload-text-color: var(--ibiz-text-color);--ibiz-sy-file-upload-border-color: var(--ibiz-border-color);--ibiz-sy-file-upload-hover-color: var(--ibiz-color-primary);--ibiz-sy-file-upload-disabled-bg-color: var(--ibiz-disabled-bg-color)}.ibiz-sy-file-upload .ivu-upload-drag{height:180px;max-width:360px}.ibiz-sy-file-upload .ibiz-sy-file-upload-box--drag>.ivu-icon{margin:40px 0 16px;font-size:67px;line-height:50px;color:#c0c4cc}.ibiz-sy-file-upload-box__title{color:var(--ibiz-sy-file-upload-text-color)}.ibiz-sy-file-upload-box__title>span:last-child{color:var(--ibiz-sy-file-upload-hover-color)}.ibiz-sy-file-upload .ibiz-sy-file-upload-box--select span{font-size:var(--ibiz-sy-file-upload-font-size);color:var(--ibiz-sy-file-upload-text-color)}.ibiz-sy-file-upload .ibiz-sy-file-upload-box--select:hover span{color:var(--ibiz-sy-file-upload-hover-color)}.ibiz-sy-file-upload .ibiz-sy-file-upload-file-list{display:flex;flex-direction:column;width:100%;margin-top:8px}.ibiz-sy-file-upload .ibiz-sy-file-upload-file-list .ibiz-sy-file-upload-file-item{display:flex;border-radius:3px;transition:background-color .2s ease-in-out;margin-bottom:5px}.ibiz-sy-file-upload .ibiz-sy-file-upload-file-list .ibiz-sy-file-upload-file-item:nth-child(1){margin-top:5px}.ibiz-sy-file-upload .ibiz-sy-file-upload-file-list .ibiz-sy-file-upload-file-item .ibiz-sy-file-upload-file-item-right{display:flex;overflow:hidden}.ibiz-sy-file-upload .ibiz-sy-file-upload-file-list .ibiz-sy-file-upload-file-item .ibiz-sy-file-upload-file-item-right .ibiz-sy-file-upload-file-item-right-title{line-height:24px;color:var(--ibiz-sy-file-upload-text-color);cursor:pointer}.ibiz-sy-file-upload .ibiz-sy-file-upload-file-list .ibiz-sy-file-upload-file-item .ibiz-sy-file-upload-file-item-right .ibiz-sy-file-upload-file-item-right-action{display:flex;align-items:center;opacity:0;margin-left:10px}.ibiz-sy-file-upload .ibiz-sy-file-upload-file-list .ibiz-sy-file-upload-file-item .ibiz-sy-file-upload-file-item-right .ibiz-sy-file-upload-file-item-right-action>.ivu-icon{margin-right:12px;color:#808695;cursor:pointer}.ibiz-sy-file-upload .ibiz-sy-file-upload-file-list .ibiz-sy-file-upload-file-item .ibiz-sy-file-upload-file-item-right .ibiz-sy-file-upload-file-item-right-action>.ivu-icon:last-child{margin-right:0}.ibiz-sy-file-upload .ibiz-sy-file-upload-file-list .ibiz-sy-file-upload-file-item:hover .ibiz-sy-file-upload-file-item-right .ibiz-sy-file-upload-file-item-right-title{color:var(--ibiz-sy-file-upload-hover-color)}.ibiz-sy-file-upload .ibiz-sy-file-upload-file-list .ibiz-sy-file-upload-file-item:hover .ibiz-sy-file-upload-file-item-right-action{opacity:1}.ibiz-sy-file-upload--disabled .ivu-upload-select,.ibiz-sy-file-upload--disabled .ivu-upload-drag{display:none}.ibiz-sy-file-upload--disabled .ibiz-sy-file-upload-file-list{margin-top:0}.ibiz-sy-file-upload--disabled .ibiz-sy-file-upload-file-list .ibiz-sy-file-upload-file-item .ibiz-sy-file-upload-file-item-right .ibiz-sy-file-upload-file-item-right-title{color:var(--ibiz-text-color-readonly)}.ibiz-sy-file-upload--readonly .ivu-upload-select,.ibiz-sy-file-upload--readonly .ivu-upload-drag{display:none}.ibiz-sy-file-upload--readonly .ibiz-sy-file-upload-file-list{margin-top:0}.ibiz-sy-file-upload--readonly .ibiz-sy-file-upload-file-list .ibiz-sy-file-upload-file-item .ibiz-sy-file-upload-file-item-right .ibiz-sy-file-upload-file-item-right-title{color:var(--ibiz-text-color-readonly)}.ibiz-sy-file-upload .ibiz-sy-file-upload-iframe{width:100%;height:100%;border:none}.ibiz-sy-file-upload .ibiz-sy-file-upload-modal .ivu-modal{top:5vh;height:90vh}.ibiz-sy-file-upload .ibiz-sy-file-upload-modal .ivu-modal .ivu-modal-content{height:100%}.ibiz-sy-file-upload .ibiz-sy-file-upload-modal .ivu-modal .ivu-modal-header{height:40px;padding:20px 20px 10px;text-align:center;border-bottom:none}.ibiz-sy-file-upload .ibiz-sy-file-upload-modal .ivu-modal .ivu-modal-header .ivu-modal-header-inner{height:auto;font-size:18px;line-height:24px;color:#303133}.ibiz-sy-file-upload .ibiz-sy-file-upload-modal .ivu-modal .ivu-modal-body{height:calc(100% - 40px);padding:25px 25px 30px}.ibiz-sy-grid-file-upload{--ibiz-sy-file-upload-font-size: var(--ibiz-font-size-base);--ibiz-sy-file-upload-text-color: var(--ibiz-text-color);--ibiz-sy-file-upload-border-color: var(--ibiz-border-color);--ibiz-sy-file-upload-hover-color: var(--ibiz-color-primary);--ibiz-sy-file-upload-disabled-bg-color: var(--ibiz-disabled-bg-color);--ibiz-sy-grid-file-upload-image-max-height: 36px;--ibiz-sy-grid-file-upload-file-max-width: 100px;--ibiz-sy-grid-file-upload-file-bg-color: var(--ibiz-fill-color-dark)}.ibiz-sy-grid-file-upload .ibiz-sy-grid-file-upload-file-list{display:flex;flex-direction:column;width:100%}.ibiz-sy-grid-file-upload .ibiz-sy-grid-file-upload-file-list .ibiz-sy-grid-file-upload-file-item{display:flex;align-items:center;margin-bottom:5px;background:transparent;border-radius:3px}.ibiz-sy-grid-file-upload .ibiz-sy-grid-file-upload-file-list .ibiz-sy-grid-file-upload-file-item:nth-child(1){margin-top:5px}.ibiz-sy-grid-file-upload .ibiz-sy-grid-file-upload-file-list .ibiz-sy-grid-file-upload-file-item .ibiz-sy-grid-file-upload-file-item-title{overflow:hidden;line-height:24px;color:var(--ibiz-sy-file-upload-text-color);text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.ibiz-sy-grid-file-upload .ibiz-sy-grid-file-upload-file-list .ibiz-sy-grid-file-upload-file-item .ibiz-sy-grid-file-upload-file-item-action{display:none;align-items:center}.ibiz-sy-grid-file-upload .ibiz-sy-grid-file-upload-file-list .ibiz-sy-grid-file-upload-file-item .ibiz-sy-grid-file-upload-file-item-action>.ivu-icon{margin-right:12px;color:#808695;cursor:pointer}.ibiz-sy-grid-file-upload .ibiz-sy-grid-file-upload-file-list .ibiz-sy-grid-file-upload-file-item .ibiz-sy-grid-file-upload-file-item-action>.ivu-icon:last-child{margin-right:0}.ibiz-sy-grid-file-upload .ibiz-sy-grid-file-upload-file-list .ibiz-sy-grid-file-upload-file-item:hover .ibiz-sy-grid-file-upload-file-item-title{color:var(--ibiz-sy-file-upload-hover-color)}.ibiz-sy-grid-file-upload .ibiz-sy-grid-file-upload-file-list .ibiz-sy-grid-file-upload-file-item:hover .ibiz-sy-grid-file-upload-file-item-action{display:flex;margin-left:10px}.ibiz-sy-grid-file-upload--disabled .ibiz-sy-grid-file-upload-file-list .ibiz-sy-grid-file-upload-file-item .ibiz-sy-grid-file-upload-file-item-title{color:var(--ibiz-text-color-disabled)}.ibiz-sy-grid-file-upload--readonly .ibiz-sy-grid-file-upload-file-list .ibiz-sy-grid-file-upload-file-item .ibiz-sy-grid-file-upload-file-item-title{color:var(--ibiz-text-color-readonly)}.ibiz-sy-grid-file-upload .ibiz-sy-grid-file-upload-iframe{width:100%;height:100%;border:none}.ibiz-sy-grid-file-upload .ibiz-sy-grid-file-upload-modal .ivu-modal{top:5vh;height:90vh}.ibiz-sy-grid-file-upload .ibiz-sy-grid-file-upload-modal .ivu-modal .ivu-modal-content{height:100%}.ibiz-sy-grid-file-upload .ibiz-sy-grid-file-upload-modal .ivu-modal .ivu-modal-header{height:40px;padding:20px 20px 10px;text-align:center;border-bottom:none}.ibiz-sy-grid-file-upload .ibiz-sy-grid-file-upload-modal .ivu-modal .ivu-modal-header .ivu-modal-header-inner{height:auto;font-size:18px;line-height:24px;color:#303133}.ibiz-sy-grid-file-upload .ibiz-sy-grid-file-upload-modal .ivu-modal .ivu-modal-body{height:calc(100% - 40px);padding:25px 25px 30px}.ibiz-sy-edit-grid-file-upload-popover{--ibiz-sy-edit-grid-file-upload-popover-font-size: var(--ibiz-font-size-large);--ibiz-sy-edit-grid-file-upload-popover-text-color: var(--ibiz-text-color);--ibiz-sy-edit-grid-file-upload-popover-border-color: var(--ibiz-border-color-darker);--ibiz-sy-edit-grid-file-upload-popover-hover-color: var(--ibiz-color-white);--ibiz-sy-edit-grid-file-upload-popover-hover-bg-color: var(--ibiz-color-primary)}.ibiz-sy-edit-grid-file-upload-popover__button{width:100%;padding:5px;font-size:var(--ibiz-sy-edit-grid-file-upload-popover-font-size);cursor:pointer;border-top:1px solid var(--ibiz-sy-edit-grid-file-upload-popover-border-color)}.ibiz-sy-edit-grid-file-upload-popover__button:hover{color:var(--ibiz-sy-edit-grid-file-upload-popover-hover-color);background-color:var(--ibiz-sy-edit-grid-file-upload-popover-hover-bg-color)}.ibiz-sy-edit-grid-file-upload-popover .ibiz-sy-edit-grid-file-upload-popover-file-list{display:flex;flex-direction:column;width:100%}.ibiz-sy-edit-grid-file-upload-popover .ibiz-sy-edit-grid-file-upload-popover-file-list .ibiz-sy-edit-grid-file-upload-popover-file-item{display:flex;align-items:center;justify-content:space-between;margin:5px 8px}.ibiz-sy-edit-grid-file-upload-popover .ibiz-sy-edit-grid-file-upload-popover-file-list .ibiz-sy-edit-grid-file-upload-popover-file-item .ibiz-sy-edit-grid-file-upload-popover-file-item-title{overflow:hidden;line-height:24px;color:var(--ibiz-sy-edit-grid-file-upload-popover-text-color);text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.ibiz-sy-edit-grid-file-upload-popover .ibiz-sy-edit-grid-file-upload-popover-file-list .ibiz-sy-edit-grid-file-upload-popover-file-item .ibiz-sy-edit-grid-file-upload-popover-file-item-action{display:none;align-items:center}.ibiz-sy-edit-grid-file-upload-popover .ibiz-sy-edit-grid-file-upload-popover-file-list .ibiz-sy-edit-grid-file-upload-popover-file-item .ibiz-sy-edit-grid-file-upload-popover-file-item-action>.ivu-icon{color:#808695;cursor:pointer}.ibiz-sy-edit-grid-file-upload-popover .ibiz-sy-edit-grid-file-upload-popover-file-list .ibiz-sy-edit-grid-file-upload-popover-file-item:hover .ibiz-sy-edit-grid-file-upload-popover-file-item-title{color:var(--ibiz-sy-edit-grid-file-upload-popover-hover-bg-color)}.ibiz-sy-edit-grid-file-upload-popover .ibiz-sy-edit-grid-file-upload-popover-file-list .ibiz-sy-edit-grid-file-upload-popover-file-item:hover .ibiz-sy-edit-grid-file-upload-popover-file-item-action{display:flex;margin-left:6px}.ibiz-sy-edit-grid-file-upload{--ibiz-sy-file-upload-font-size: var(--ibiz-font-size-base);--ibiz-sy-file-upload-text-color: var(--ibiz-text-color);--ibiz-sy-file-upload-border-color: var(--ibiz-border-color);--ibiz-sy-file-upload-hover-color: var(--ibiz-color-primary);--ibiz-sy-file-upload-disabled-bg-color: var(--ibiz-disabled-bg-color);--ibiz-sy-edit-grid-file-upload-image-max-height: 36px;--ibiz-sy-edit-grid-file-upload-file-max-width: 100px;--ibiz-sy-edit-grid-file-upload-file-bg-color: var(--ibiz-fill-color-dark)}.ibiz-sy-edit-grid-file-upload .ibiz-sy-edit-grid-file-upload-file-list{display:flex;flex-direction:column;width:100%}.ibiz-sy-edit-grid-file-upload .ibiz-sy-edit-grid-file-upload-file-list .ibiz-sy-edit-grid-file-upload-file-item{display:flex;align-items:center;margin-bottom:5px;background:transparent;border-radius:3px}.ibiz-sy-edit-grid-file-upload .ibiz-sy-edit-grid-file-upload-file-list .ibiz-sy-edit-grid-file-upload-file-item:nth-child(1){margin-top:5px}.ibiz-sy-edit-grid-file-upload .ibiz-sy-edit-grid-file-upload-file-list .ibiz-sy-edit-grid-file-upload-file-item .ibiz-sy-edit-grid-file-upload-file-item-title{overflow:hidden;line-height:24px;color:var(--ibiz-sy-file-upload-text-color);text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.ibiz-sy-edit-grid-file-upload .ibiz-sy-edit-grid-file-upload-file-list .ibiz-sy-edit-grid-file-upload-file-item:hover .ibiz-sy-edit-grid-file-upload-file-item-title{color:var(--ibiz-sy-file-upload-hover-color)}.ibiz-layout{--ibiz-layout-width: 100vw;--ibiz-layout-height: 100vh;--ibiz-layout-bg-color: var(--ibiz-bg-color-page);--ibiz-layout-caption-font-size: var(--ibiz-font-size-extra-large);--ibiz-layout-nav-bg-color: var(--ibiz-bg-color);--ibiz-layout-nav-width: 200px;--ibiz-layout-nav-collapse-width: 80px;--ibiz-layout-nav-box-shadow: 2px 0 8px 0 rgba(29, 35, 41, .05);--ibiz-layout-header-height: 64px;--ibiz-layout-header-bg-color: #0f1118;--ibiz-layout-header-text-color: var(--ibiz-color-white);--ibiz-layout-header-box-shadow: 0 1px 4px rgba(0, 21, 41, .08);--ibiz-layout-content-bg-color: var(--ibiz-layout-bg-color);--ibiz-layout-content-tab-exp-height: 47px;justify-content:flex-start;width:var(--ibiz-layout-width);height:var(--ibiz-layout-height);overflow:hidden}.ibiz-layout__logo{display:flex;align-items:center;justify-content:center;width:var(--ibiz-layout-nav-width);height:var(--ibiz-layout-header-height)}.ibiz-layout__logo.center{width:unset;padding:16px;color:#515a6e}.ibiz-layout__logo-caption{font-size:var(--ibiz-layout-caption-font-size)}.ibiz-layout__logo-caption.center{font-size:16px}.ibiz-layout.is-collapse .ibiz-layout-content{padding-left:var(--ibiz-layout-nav-collapse-width)}.ibiz-layout--blank.ibiz-layout{--ibiz-layout-header-height: 0}.ibiz-layout--blank .ibiz-layout-nav.ivu-layout-sider{display:none}.ibiz-layout--blank .ibiz-layout-content{padding-left:0}.ibiz-layout--blank .ibiz-layout-header{display:none}.ibiz-layout.is-tab .ibiz-view-layout,.ibiz-layout.is-tab .ibiz-exp-view{height:calc(100% - var(--ibiz-layout-content-tab-exp-height))}.ibiz-layout.center{position:relative;width:100%;height:100%}.ibiz-layout-nav.ivu-layout-sider{flex:0 0 var(--ibiz-layout-nav-width)!important;width:var(--ibiz-layout-nav-width)!important;min-width:var(--ibiz-layout-nav-width)!important;max-width:var(--ibiz-layout-nav-width)!important}.ibiz-layout-nav.ivu-layout-sider.ivu-layout-sider-collapsed{flex:0 0 var(--ibiz-layout-nav-collapse-width)!important;width:var(--ibiz-layout-nav-collapse-width)!important;min-width:var(--ibiz-layout-nav-collapse-width)!important;max-width:var(--ibiz-layout-nav-collapse-width)!important}.ibiz-layout-nav{position:absolute;top:0;left:0;z-index:1;height:100%;background-color:var(--ibiz-layout-nav-bg-color);box-shadow:var(--ibiz-layout-nav-box-shadow)}.ibiz-layout-header{position:absolute;top:0;right:0;z-index:14;display:flex;justify-content:space-between;width:100%;height:var(--ibiz-layout-header-height);padding:0;line-height:var(--ibiz-layout-header-height);color:var(--ibiz-layout-header-text-color);background-color:var(--ibiz-layout-header-bg-color);box-shadow:var(--ibiz-layout-header-box-shadow)}.ibiz-layout-header.center{font-size:16px;font-weight:600;background-color:var(--ibiz-layout-content-bg-color)}.ibiz-layout-header__left{display:flex}.ibiz-layout-header__collapse-icon{display:flex;flex-flow:column nowrap;justify-content:center;font-size:var(--ibiz-font-size-extra-large);cursor:pointer}.ibiz-layout-content{width:100%;padding-left:var(--ibiz-layout-nav-width);overflow:hidden;background-color:var(--ibiz-layout-content-bg-color);transition:all .2s ease-in-out}.ibiz-layout-content__main{height:calc(100% - var(--ibiz-layout-header-height));padding-top:var(--ibiz-layout-header-height)}.user-layout .ibiz-layout-header__right{display:flex}.user-layout .ibiz-layout-header__right .user-download{cursor:pointer}.ibiz-grid-group-grid .grid-group-grid-column>.ivu-table-cell{display:flex;align-items:center}.ibiz-grid-group-grid .grid-group-grid-column>.ivu-table-cell .ibiz-grid-sum{display:flex;align-items:center;width:100%;height:100%;margin-left:8px}.ibiz-grid-group-grid .grid-group-grid-column>.ivu-table-cell .ibiz-grid-sum>span{display:inline-block;width:100%;font-weight:900;white-space:pre-line}.ibiz-wf-step-trace-grid{padding-bottom:1px;margin:0 var(--ibiz-margin) var(--ibiz-margin) var(--ibiz-margin);background-color:var(--ibiz-bg-color-overlay);border-radius:var(--ibiz-border-radius-base)}.ibiz-wf-step-trace-grid__title{padding:10px 16px;font-size:var(--ibiz-font-size-medium);border-bottom:1px solid var(--ibiz-border-color)}.ibiz-wf-step-trace-grid__grid{margin:var(--ibiz-padding)}.app{width:100vw;height:100vh;--ibiz-text-color-readonly: #888;--sy-embed-header-padding: 10px 16px}.app .ibiz-layout{position:relative;margin:auto;--ibiz-layout-width: 1280px}.app .ibiz-layout--blank.ibiz-layout{--ibiz-layout-header-height: 64px}.app .ibiz-layout--blank .ibiz-layout-header{display:flex}.app .ibiz-layout--blank .ibiz-layout-header .ibiz-layout__logo,.app .ibiz-layout--blank .ibiz-layout-header .ibiz-layout-header__collapse-icon{display:none}.app.auto-width .ibiz-layout{--ibiz-layout-width: 100%}.ibiz-form .ibiz-span{color:var(--ibiz-text-color-readonly)}.ibiz-form .ibiz-form-group-header,.ibiz-view-layout--embed .ibiz-view-layout-header{padding:var(--sy-embed-header-padding)} @charset "UTF-8";.ibiz-grid-field-column__code-list-item{color:var(--ibiz-grid-field-column-color);border-color:var(--ibiz-grid-field-column-border-color);background-color:var(--ibiz-grid-field-column-bg-color);border:3px solid var(--ibiz-grid-field-column-border-color);border-radius:5px;padding:0 8px;display:inline-block}.ibiz-preset-wf-chart-view{width:100%;height:100%;overflow:auto;text-align:center;background-color:var(--ibiz-bg-color)}.ibiz-wf-toolbar{display:flex}.ibiz-wf-toolbar__item{display:flex;align-items:center;margin:0 4px}.ibiz-wf-toolbar__item .ivu-btn{display:flex;align-items:center;justify-content:center;color:#fff;background-color:var(--ibiz-color-primary);border-color:var(--ibiz-color-primary);border-radius:2px}.ibiz-wf-toolbar__item .ivu-btn:hover{background-color:#337aff;border-color:#337aff}.ibiz-wf-toolbar__item .ivu-btn>span{display:flex;align-items:center;justify-content:center}.ibiz-wf-toolbar__item--reject .ivu-btn{color:#f04134;background-color:#fff;border-color:#f04134}.ibiz-wf-toolbar__item--plain .ivu-btn{color:#515a6e;background-color:#fff;border-color:#ccc}.ibiz-wf-toolbar__item--plain .ivu-btn:hover{color:var(--ibiz-color-primary);background-color:#fff;border-color:var(--ibiz-border-primary)}.ibiz-sy-file-upload{display:flex;flex-direction:column;--ibiz-sy-file-upload-font-size: var(--ibiz-font-size-base);--ibiz-sy-file-upload-text-color: var(--ibiz-text-color);--ibiz-sy-file-upload-border-color: var(--ibiz-border-color);--ibiz-sy-file-upload-hover-color: #337AFF;--ibiz-sy-file-upload-disabled-bg-color: var(--ibiz-disabled-bg-color);--ibiz-sy-file-upload-default-height: var(--ibiz-common-editor-size)}.ibiz-sy-file-upload .ivu-upload-drag{max-width:360px;height:180px}.ibiz-sy-file-upload .ibiz-sy-file-upload-box--drag>.ivu-icon{margin:40px 0 16px;font-size:67px;line-height:50px;color:#c0c4cc}.ibiz-sy-file-upload-box__title{color:var(--ibiz-sy-file-upload-text-color)}.ibiz-sy-file-upload-box__title>span:last-child{color:var(--ibiz-sy-file-upload-hover-color)}.ibiz-sy-file-upload .ibiz-sy-file-upload-box--select{font-size:var(--ibiz-font-size-base);border-color:var(--ibiz-sy-file-upload-border-color)}.ibiz-sy-file-upload .ibiz-sy-file-upload-box--select svg{width:14px;height:14px;font-size:14px;vertical-align:middle}.ibiz-sy-file-upload .ibiz-sy-file-upload-box--select span{font-size:var(--ibiz-sy-file-upload-font-size);color:var(--ibiz-sy-file-upload-text-color)}.ibiz-sy-file-upload .ibiz-sy-file-upload-box--select:hover{border-color:var(--ibiz-sy-file-upload-hover-color)}.ibiz-sy-file-upload .ibiz-sy-file-upload-box--select:hover span,.ibiz-sy-file-upload .ibiz-sy-file-upload-box--select:hover svg{color:var(--ibiz-sy-file-upload-hover-color)}.ibiz-sy-file-upload .ibiz-sy-file-upload-file-list{display:flex;flex-direction:column;width:100%;margin-top:8px}.ibiz-sy-file-upload .ibiz-sy-file-upload-file-list .ibiz-sy-file-upload-file-item{display:flex;margin-bottom:5px;border-radius:3px;transition:background-color .2s ease-in-out}.ibiz-sy-file-upload .ibiz-sy-file-upload-file-list .ibiz-sy-file-upload-file-item:nth-child(1){margin-top:5px}.ibiz-sy-file-upload .ibiz-sy-file-upload-file-list .ibiz-sy-file-upload-file-item .ibiz-sy-file-upload-file-item-right{display:flex;overflow:hidden}.ibiz-sy-file-upload .ibiz-sy-file-upload-file-list .ibiz-sy-file-upload-file-item .ibiz-sy-file-upload-file-item-right .ibiz-sy-file-upload-file-item-right-icon{width:14px;margin-right:2px;line-height:27px}.ibiz-sy-file-upload .ibiz-sy-file-upload-file-list .ibiz-sy-file-upload-file-item .ibiz-sy-file-upload-file-item-right .ibiz-sy-file-upload-file-item-right-icon svg{vertical-align:text-top}.ibiz-sy-file-upload .ibiz-sy-file-upload-file-list .ibiz-sy-file-upload-file-item .ibiz-sy-file-upload-file-item-right .ibiz-sy-file-upload-file-item-right-title{line-height:24px;color:var(--ibiz-sy-file-upload-text-color);cursor:pointer}.ibiz-sy-file-upload .ibiz-sy-file-upload-file-list .ibiz-sy-file-upload-file-item .ibiz-sy-file-upload-file-item-right .ibiz-sy-file-upload-file-item-right-action{display:flex;align-items:center;margin-left:10px;opacity:0}.ibiz-sy-file-upload .ibiz-sy-file-upload-file-list .ibiz-sy-file-upload-file-item .ibiz-sy-file-upload-file-item-right .ibiz-sy-file-upload-file-item-right-action>.ivu-icon{margin-right:12px;color:#808695;cursor:pointer}.ibiz-sy-file-upload .ibiz-sy-file-upload-file-list .ibiz-sy-file-upload-file-item .ibiz-sy-file-upload-file-item-right .ibiz-sy-file-upload-file-item-right-action>.ivu-icon:last-child{margin-right:0}.ibiz-sy-file-upload .ibiz-sy-file-upload-file-list .ibiz-sy-file-upload-file-item:hover .ibiz-sy-file-upload-file-item-right .ibiz-sy-file-upload-file-item-right-icon,.ibiz-sy-file-upload .ibiz-sy-file-upload-file-list .ibiz-sy-file-upload-file-item:hover .ibiz-sy-file-upload-file-item-right .ibiz-sy-file-upload-file-item-right-title{color:var(--ibiz-sy-file-upload-hover-color)}.ibiz-sy-file-upload .ibiz-sy-file-upload-file-list .ibiz-sy-file-upload-file-item:hover .ibiz-sy-file-upload-file-item-right-action{opacity:1}.ibiz-sy-file-upload--disabled .ivu-upload-select,.ibiz-sy-file-upload--disabled .ivu-upload-drag{display:none}.ibiz-sy-file-upload--disabled .ibiz-sy-file-upload-file-list{margin-top:0}.ibiz-sy-file-upload--disabled .ibiz-sy-file-upload-file-list .ibiz-sy-file-upload-file-item .ibiz-sy-file-upload-file-item-right .ibiz-sy-file-upload-file-item-right-title{color:var(--ibiz-text-color-readonly)}.ibiz-sy-file-upload--readonly .ivu-upload-select,.ibiz-sy-file-upload--readonly .ivu-upload-drag{display:none}.ibiz-sy-file-upload--readonly .ibiz-sy-file-upload-file-list{margin-top:0}.ibiz-sy-file-upload--readonly .ibiz-sy-file-upload-file-list .ibiz-sy-file-upload-file-item .ibiz-sy-file-upload-file-item-right .ibiz-sy-file-upload-file-item-right-title{color:var(--ibiz-color-primary)}.ibiz-sy-file-upload .ibiz-sy-file-upload-iframe{width:100%;height:100%;border:none}.ibiz-sy-file-upload .ibiz-sy-file-upload-modal .ivu-modal{top:5vh;height:90vh}.ibiz-sy-file-upload .ibiz-sy-file-upload-modal .ivu-modal .ivu-modal-content{height:100%}.ibiz-sy-file-upload .ibiz-sy-file-upload-modal .ivu-modal .ivu-modal-header{height:40px;padding:20px 20px 10px;text-align:center;border-bottom:none}.ibiz-sy-file-upload .ibiz-sy-file-upload-modal .ivu-modal .ivu-modal-header .ivu-modal-header-inner{height:auto;font-size:18px;line-height:24px;color:#303133}.ibiz-sy-file-upload .ibiz-sy-file-upload-modal .ivu-modal .ivu-modal-body{height:calc(100% - 40px);padding:25px 25px 30px}.ibiz-sy-file-upload .ibiz-sy-file-upload-accept-description{font-size:var(--ibiz-font-size-extra-small);opacity:.7}.ibiz-sy-grid-file-upload{--ibiz-sy-file-upload-font-size: var(--ibiz-font-size-base);--ibiz-sy-file-upload-text-color: var(--ibiz-text-color);--ibiz-sy-file-upload-border-color: var(--ibiz-border-color);--ibiz-sy-file-upload-hover-color: #337AFF;--ibiz-sy-file-upload-disabled-bg-color: var(--ibiz-disabled-bg-color);--ibiz-sy-file-upload-default-height: var(--ibiz-common-editor-size);--ibiz-sy-grid-file-upload-image-max-height: var(--ibiz-common-editor-size);--ibiz-sy-grid-file-upload-file-max-width: 100px;--ibiz-sy-grid-file-upload-file-bg-color: var(--ibiz-fill-color-dark)}.ibiz-sy-grid-file-upload .ibiz-sy-grid-file-upload-file-list{display:flex;flex-direction:column;width:100%}.ibiz-sy-grid-file-upload .ibiz-sy-grid-file-upload-file-list .ibiz-sy-grid-file-upload-file-item{display:flex;align-items:center;margin-bottom:5px;background:transparent;border-radius:3px}.ibiz-sy-grid-file-upload .ibiz-sy-grid-file-upload-file-list .ibiz-sy-grid-file-upload-file-item:nth-child(1){margin-top:5px}.ibiz-sy-grid-file-upload .ibiz-sy-grid-file-upload-file-list .ibiz-sy-grid-file-upload-file-item .ibiz-sy-grid-file-upload-file-item-title{overflow:hidden;line-height:24px;color:var(--ibiz-sy-file-upload-text-color);text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.ibiz-sy-grid-file-upload .ibiz-sy-grid-file-upload-file-list .ibiz-sy-grid-file-upload-file-item .ibiz-sy-grid-file-upload-file-item-action{display:none;align-items:center}.ibiz-sy-grid-file-upload .ibiz-sy-grid-file-upload-file-list .ibiz-sy-grid-file-upload-file-item .ibiz-sy-grid-file-upload-file-item-action>.ivu-icon{margin-right:12px;color:#808695;cursor:pointer}.ibiz-sy-grid-file-upload .ibiz-sy-grid-file-upload-file-list .ibiz-sy-grid-file-upload-file-item .ibiz-sy-grid-file-upload-file-item-action>.ivu-icon:last-child{margin-right:0}.ibiz-sy-grid-file-upload .ibiz-sy-grid-file-upload-file-list .ibiz-sy-grid-file-upload-file-item:hover .ibiz-sy-grid-file-upload-file-item-title{color:var(--ibiz-sy-file-upload-hover-color)}.ibiz-sy-grid-file-upload .ibiz-sy-grid-file-upload-file-list .ibiz-sy-grid-file-upload-file-item:hover .ibiz-sy-grid-file-upload-file-item-action{display:flex;margin-left:10px}.ibiz-sy-grid-file-upload--disabled .ibiz-sy-grid-file-upload-file-list .ibiz-sy-grid-file-upload-file-item .ibiz-sy-grid-file-upload-file-item-title{color:var(--ibiz-text-color-disabled)}.ibiz-sy-grid-file-upload--readonly .ibiz-sy-grid-file-upload-file-list .ibiz-sy-grid-file-upload-file-item .ibiz-sy-grid-file-upload-file-item-title{color:var(--ibiz-text-color-readonly)}.ibiz-sy-grid-file-upload .ibiz-sy-grid-file-upload-iframe{width:100%;height:100%;border:none}.ibiz-sy-grid-file-upload .ibiz-sy-grid-file-upload-modal .ivu-modal{top:5vh;height:90vh}.ibiz-sy-grid-file-upload .ibiz-sy-grid-file-upload-modal .ivu-modal .ivu-modal-content{height:100%}.ibiz-sy-grid-file-upload .ibiz-sy-grid-file-upload-modal .ivu-modal .ivu-modal-header{height:40px;padding:20px 20px 10px;text-align:center;border-bottom:none}.ibiz-sy-grid-file-upload .ibiz-sy-grid-file-upload-modal .ivu-modal .ivu-modal-header .ivu-modal-header-inner{height:auto;font-size:18px;line-height:24px;color:#303133}.ibiz-sy-grid-file-upload .ibiz-sy-grid-file-upload-modal .ivu-modal .ivu-modal-body{height:calc(100% - 40px);padding:25px 25px 30px}.ibiz-sy-edit-grid-file-upload-popover{--ibiz-sy-edit-grid-file-upload-popover-font-size: var(--ibiz-font-size-large);--ibiz-sy-edit-grid-file-upload-popover-text-color: var(--ibiz-text-color);--ibiz-sy-edit-grid-file-upload-popover-border-color: var(--ibiz-border-color-darker);--ibiz-sy-edit-grid-file-upload-popover-hover-color: var(--ibiz-color-white);--ibiz-sy-edit-grid-file-upload-popover-hover-bg-color: var(--ibiz-color-primary)}.ibiz-sy-edit-grid-file-upload-popover__button{width:100%;padding:5px;font-size:var(--ibiz-sy-edit-grid-file-upload-popover-font-size);cursor:pointer;border-top:1px solid var(--ibiz-sy-edit-grid-file-upload-popover-border-color)}.ibiz-sy-edit-grid-file-upload-popover__button:hover{color:var(--ibiz-sy-edit-grid-file-upload-popover-hover-color);background-color:var(--ibiz-sy-edit-grid-file-upload-popover-hover-bg-color)}.ibiz-sy-edit-grid-file-upload-popover .ibiz-sy-edit-grid-file-upload-popover-file-list{display:flex;flex-direction:column;width:100%}.ibiz-sy-edit-grid-file-upload-popover .ibiz-sy-edit-grid-file-upload-popover-file-list .ibiz-sy-edit-grid-file-upload-popover-file-item{display:flex;align-items:center;justify-content:space-between;margin:5px 8px}.ibiz-sy-edit-grid-file-upload-popover .ibiz-sy-edit-grid-file-upload-popover-file-list .ibiz-sy-edit-grid-file-upload-popover-file-item .ibiz-sy-edit-grid-file-upload-popover-file-item-title{overflow:hidden;line-height:24px;color:var(--ibiz-sy-edit-grid-file-upload-popover-text-color);text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.ibiz-sy-edit-grid-file-upload-popover .ibiz-sy-edit-grid-file-upload-popover-file-list .ibiz-sy-edit-grid-file-upload-popover-file-item .ibiz-sy-edit-grid-file-upload-popover-file-item-action{display:none;align-items:center}.ibiz-sy-edit-grid-file-upload-popover .ibiz-sy-edit-grid-file-upload-popover-file-list .ibiz-sy-edit-grid-file-upload-popover-file-item .ibiz-sy-edit-grid-file-upload-popover-file-item-action>.ivu-icon{color:#808695;cursor:pointer}.ibiz-sy-edit-grid-file-upload-popover .ibiz-sy-edit-grid-file-upload-popover-file-list .ibiz-sy-edit-grid-file-upload-popover-file-item:hover .ibiz-sy-edit-grid-file-upload-popover-file-item-title{color:var(--ibiz-sy-edit-grid-file-upload-popover-hover-bg-color)}.ibiz-sy-edit-grid-file-upload-popover .ibiz-sy-edit-grid-file-upload-popover-file-list .ibiz-sy-edit-grid-file-upload-popover-file-item:hover .ibiz-sy-edit-grid-file-upload-popover-file-item-action{display:flex;margin-left:6px}.ibiz-sy-edit-grid-file-upload{--ibiz-sy-file-upload-font-size: var(--ibiz-font-size-base);--ibiz-sy-file-upload-text-color: var(--ibiz-text-color);--ibiz-sy-file-upload-border-color: var(--ibiz-border-color);--ibiz-sy-file-upload-hover-color: #337AFF;--ibiz-sy-file-upload-disabled-bg-color: var(--ibiz-disabled-bg-color);--ibiz-sy-file-upload-default-height: var(--ibiz-common-editor-size);--ibiz-sy-edit-grid-file-upload-image-max-height: var(--ibiz-common-editor-size);--ibiz-sy-edit-grid-file-upload-file-max-width: 100px;--ibiz-sy-edit-grid-file-upload-file-bg-color: var(--ibiz-fill-color-dark)}.ibiz-sy-edit-grid-file-upload .ibiz-sy-edit-grid-file-upload-file-list{display:flex;flex-direction:column;width:100%}.ibiz-sy-edit-grid-file-upload .ibiz-sy-edit-grid-file-upload-file-list .ibiz-sy-edit-grid-file-upload-file-item{display:flex;align-items:center;margin-bottom:5px;background:transparent;border-radius:3px}.ibiz-sy-edit-grid-file-upload .ibiz-sy-edit-grid-file-upload-file-list .ibiz-sy-edit-grid-file-upload-file-item:nth-child(1){margin-top:5px}.ibiz-sy-edit-grid-file-upload .ibiz-sy-edit-grid-file-upload-file-list .ibiz-sy-edit-grid-file-upload-file-item .ibiz-sy-edit-grid-file-upload-file-item-title{overflow:hidden;line-height:24px;color:var(--ibiz-sy-file-upload-text-color);text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.ibiz-sy-edit-grid-file-upload .ibiz-sy-edit-grid-file-upload-file-list .ibiz-sy-edit-grid-file-upload-file-item:hover .ibiz-sy-edit-grid-file-upload-file-item-title{color:var(--ibiz-sy-file-upload-hover-color)}.ibiz-layout{--ibiz-layout-width: 100vw;--ibiz-layout-height: 100vh;--ibiz-layout-bg-color: var(--ibiz-bg-color-page);--ibiz-layout-caption-font-size: var(--ibiz-font-size-extra-large);--ibiz-layout-nav-bg-color: var(--ibiz-bg-color);--ibiz-layout-nav-width: 200px;--ibiz-layout-nav-collapse-width: 80px;--ibiz-layout-nav-box-shadow: 2px 0 8px 0 rgba(29, 35, 41, .05);--ibiz-layout-header-height: 64px;--ibiz-layout-header-bg-color: #0f1118;--ibiz-layout-header-text-color: var(--ibiz-color-white);--ibiz-layout-header-box-shadow: 0 1px 4px rgba(0, 21, 41, .08);--ibiz-layout-content-bg-color: var(--ibiz-layout-bg-color);--ibiz-layout-content-tab-exp-height: 47px;justify-content:flex-start;width:var(--ibiz-layout-width);height:var(--ibiz-layout-height);overflow:hidden}.ibiz-layout__logo{display:flex;align-items:center;justify-content:center;width:var(--ibiz-layout-nav-width);height:var(--ibiz-layout-header-height)}.ibiz-layout__logo.center{width:unset;padding:16px;color:#515a6e}.ibiz-layout__logo-caption{font-size:var(--ibiz-layout-caption-font-size)}.ibiz-layout__logo-caption.center{font-size:16px}.ibiz-layout.is-collapse .ibiz-layout-content{padding-left:var(--ibiz-layout-nav-collapse-width)}.ibiz-layout--blank.ibiz-layout{--ibiz-layout-header-height: 0}.ibiz-layout--blank .ibiz-layout-nav.ivu-layout-sider{display:none}.ibiz-layout--blank .ibiz-layout-content{padding-left:0}.ibiz-layout--blank .ibiz-layout-header{display:none}.ibiz-layout.is-tab .ibiz-view-layout,.ibiz-layout.is-tab .ibiz-exp-view{height:calc(100% - var(--ibiz-layout-content-tab-exp-height))}.ibiz-layout.center{position:relative;width:100%;height:100%}.ibiz-layout-nav.ivu-layout-sider{flex:0 0 var(--ibiz-layout-nav-width)!important;width:var(--ibiz-layout-nav-width)!important;min-width:var(--ibiz-layout-nav-width)!important;max-width:var(--ibiz-layout-nav-width)!important}.ibiz-layout-nav.ivu-layout-sider.ivu-layout-sider-collapsed{flex:0 0 var(--ibiz-layout-nav-collapse-width)!important;width:var(--ibiz-layout-nav-collapse-width)!important;min-width:var(--ibiz-layout-nav-collapse-width)!important;max-width:var(--ibiz-layout-nav-collapse-width)!important}.ibiz-layout-nav{position:absolute;top:0;left:0;z-index:1;height:100%;background-color:var(--ibiz-layout-nav-bg-color);box-shadow:var(--ibiz-layout-nav-box-shadow)}.ibiz-layout-header{position:absolute;top:0;right:0;z-index:14;display:flex;justify-content:space-between;width:100%;height:var(--ibiz-layout-header-height);padding:0;line-height:var(--ibiz-layout-header-height);color:var(--ibiz-layout-header-text-color);background-color:var(--ibiz-layout-header-bg-color);box-shadow:var(--ibiz-layout-header-box-shadow)}.ibiz-layout-header.center{font-size:16px;font-weight:600;background-color:var(--ibiz-layout-content-bg-color)}.ibiz-layout-header__left{display:flex}.ibiz-layout-header__collapse-icon{display:flex;flex-flow:column nowrap;justify-content:center;font-size:var(--ibiz-font-size-extra-large);cursor:pointer}.ibiz-layout-content{width:100%;padding-left:var(--ibiz-layout-nav-width);overflow:hidden;background-color:var(--ibiz-layout-content-bg-color);transition:all .2s ease-in-out}.ibiz-layout-content__main{height:calc(100% - var(--ibiz-layout-header-height));padding-top:var(--ibiz-layout-header-height)}.user-layout .ibiz-layout-header__right{display:flex;justify-content:end}.user-layout .ibiz-layout-header__right .user-download{cursor:pointer}.ibiz-grid-group-grid .grid-group-grid-column>.ivu-table-cell{display:flex;align-items:center}.ibiz-grid-group-grid .grid-group-grid-column>.ivu-table-cell .ibiz-grid-sum{display:flex;align-items:center;width:100%;height:100%;margin-left:8px}.ibiz-grid-group-grid .grid-group-grid-column>.ivu-table-cell .ibiz-grid-sum>span{display:inline-block;width:100%;font-weight:900;white-space:pre-line}.ibiz-wf-step-trace-grid{padding:var(--ibiz-padding);margin:0 var(--ibiz-margin) var(--ibiz-margin) var(--ibiz-margin);background-color:var(--ibiz-bg-color-overlay);border-radius:var(--ibiz-border-radius-base)}.ibiz-wf-step-trace-grid__title{font-size:var(--ibiz-font-size-base);font-weight:600;line-height:24px}.ibiz-wf-step-trace-grid__grid-container{width:100%;padding:0 16px}.ibiz-wf-step-trace-grid__grid{margin:var(--ibiz-padding)}.ibiz-wf-step-trace-grid__grid thead>tr{height:44px}.ibiz-wf-step-trace-grid__grid thead>tr th{border-right:1px solid #FFF}.ibiz-wf-step-trace-grid__grid .ivu-table tr{height:44px}.ibiz-wf-step-trace-grid__grid .ivu-table tr.ivu-table-row-hover:hover td{background-color:#f5f8ff}.app{width:100vw;height:100vh;--ibiz-text-color-readonly: #888;--sy-embed-header-padding: 10px 16px}.app .ibiz-layout{position:relative;margin:auto;--ibiz-layout-width: 1280px}.app .ibiz-layout--blank.ibiz-layout{--ibiz-layout-header-height: 64px}.app .ibiz-layout--blank .ibiz-layout-header{display:flex}.app .ibiz-layout--blank .ibiz-layout-header .ibiz-layout__logo,.app .ibiz-layout--blank .ibiz-layout-header .ibiz-layout-header__collapse-icon{display:none}.app .ibiz-app-user{pointer-events:none}.app.auto-width .ibiz-layout{--ibiz-layout-width: 100%}.ibiz-form .ibiz-span{color:var(--ibiz-text-color-readonly)}.ibiz-view-layout--embed .ibiz-view-layout-header{padding:var(--sy-embed-header-padding)}
...@@ -23,14 +23,14 @@ ...@@ -23,14 +23,14 @@
"publish:npm": "npm run build && npm publish --access public" "publish:npm": "npm run build && npm publish --access public"
}, },
"dependencies": { "dependencies": {
"@ibiz-template/command": "^0.0.1-beta.50", "@ibiz-template/command": "0.0.1-syui.1",
"@ibiz-template/controller": "^0.0.1-beta.59", "@ibiz-template/controller": "0.0.1-syui.3",
"@ibiz-template/core": "^0.0.1-beta.57", "@ibiz-template/core": "0.0.1-syui.3",
"@ibiz-template/model": "^0.0.1-beta.59", "@ibiz-template/model": "0.0.1-syui.3",
"@ibiz-template/runtime": "^0.0.1-beta.59", "@ibiz-template/runtime": "0.0.1-syui.3",
"@ibiz-template/service": "^0.0.1-beta.59", "@ibiz-template/service": "0.0.1-syui.3",
"@ibiz-template/theme": "^0.0.1-beta.59", "@ibiz-template/theme": "0.0.1-syui.4",
"@ibiz-template/vue-util": "^0.0.1-beta.59", "@ibiz-template/vue-util": "0.0.1-syui.3",
"async-validator": "^4.2.5", "async-validator": "^4.2.5",
"axios": "^1.1.3", "axios": "^1.1.3",
"core-js": "3", "core-js": "3",
...@@ -69,6 +69,7 @@ ...@@ -69,6 +69,7 @@
"@commitlint/cli": "^17.2.0", "@commitlint/cli": "^17.2.0",
"@commitlint/config-conventional": "^17.2.0", "@commitlint/config-conventional": "^17.2.0",
"@qx-chitanda/vite-plugin-lib-legacy": "^4.1.0", "@qx-chitanda/vite-plugin-lib-legacy": "^4.1.0",
"@types/lodash-es": "^4.17.7",
"@typescript-eslint/eslint-plugin": "^5.43.0", "@typescript-eslint/eslint-plugin": "^5.43.0",
"@typescript-eslint/parser": "^5.43.0", "@typescript-eslint/parser": "^5.43.0",
"@vitejs/plugin-vue2": "^2.2.0", "@vitejs/plugin-vue2": "^2.2.0",
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册