super-page-runtime 2.2.89-sit1 → 2.2.89-sit4
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/es/components/runtime/utils/events/print-label.js +34 -34
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +6 -6
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +12 -1
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +28 -25
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +60 -52
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +1 -1
- package/dist/es/components/runtime/views/super-page-dialog.vue.js +2 -2
- package/dist/es/components/runtime/views/super-page.vue.js +1 -1
- package/dist/es/style.css +76 -76
- package/package.json +1 -1
|
@@ -3,84 +3,84 @@ import { hiprint as t, disAutoConnect as n } from "vue-plugin-hiprint";
|
|
|
3
3
|
import { generateCodeByRule as o } from "../barcode-util.js";
|
|
4
4
|
function a(n2, a2) {
|
|
5
5
|
e.post(window.$vueApp.config.globalProperties.baseAPI + "/dc/print-models/by-codes", [a2]).then((e2) => {
|
|
6
|
-
const a3 = JSON.parse(e2[0].template),
|
|
6
|
+
const a3 = JSON.parse(e2[0].template), l2 = [];
|
|
7
7
|
a3.panels.forEach((e3) => {
|
|
8
8
|
e3.printElements.forEach((e4) => {
|
|
9
|
-
"barcode" !== e4.options.textType && "qrcode" !== e4.options.textType ||
|
|
9
|
+
"barcode" !== e4.options.textType && "qrcode" !== e4.options.textType || l2.push(e4.options);
|
|
10
10
|
});
|
|
11
11
|
});
|
|
12
|
-
const
|
|
12
|
+
const i = new t.PrintTemplate({ template: a3 }), r = { callback: () => {
|
|
13
13
|
}, styleHandler: () => "" }, c = { leftOffset: -1, topOffset: -1 };
|
|
14
|
-
n2.pageContext.pageType ? "list" === n2.pageContext.pageType ? function(e3, t2, n3, a4,
|
|
14
|
+
n2.pageContext.pageType ? "list" === n2.pageContext.pageType ? function(e3, t2, n3, a4, p2) {
|
|
15
15
|
if (t2.length > 0) {
|
|
16
|
-
const
|
|
16
|
+
const l3 = [], i2 = JSON.parse(JSON.stringify(e3.selections));
|
|
17
17
|
t2.forEach((e4) => {
|
|
18
|
-
|
|
18
|
+
l3.push(function(e5, t3) {
|
|
19
19
|
return new Promise((n4, a5) => {
|
|
20
|
-
const
|
|
21
|
-
|
|
20
|
+
const p3 = e5.field.split("."), l4 = [];
|
|
21
|
+
p3.length < 2 && n4([]);
|
|
22
22
|
try {
|
|
23
|
-
|
|
23
|
+
s(p3[1]).then((e6) => {
|
|
24
24
|
t3.forEach((t4, n5) => {
|
|
25
|
-
const a6 = { type:
|
|
26
|
-
a6.value = o(JSON.parse(e6.barcodeModelItems), t4),
|
|
27
|
-
}), n4(
|
|
25
|
+
const a6 = { type: p3[0], name: p3[1], value: null, index: n5 };
|
|
26
|
+
a6.value = o(JSON.parse(e6.barcodeModelItems), t4), l4.push(a6);
|
|
27
|
+
}), n4(l4);
|
|
28
28
|
});
|
|
29
29
|
} catch (e6) {
|
|
30
30
|
n4([]);
|
|
31
31
|
}
|
|
32
32
|
});
|
|
33
|
-
}(e4,
|
|
34
|
-
}), Promise.all(
|
|
33
|
+
}(e4, i2));
|
|
34
|
+
}), Promise.all(l3).then((e4) => {
|
|
35
35
|
e4.forEach((e5) => {
|
|
36
36
|
e5.forEach((e6) => {
|
|
37
|
-
const t3 = e6.index, n4 =
|
|
37
|
+
const t3 = e6.index, n4 = i2[t3];
|
|
38
38
|
n4[e6.type] || (n4[e6.type] = {}), n4[e6.type][e6.name] = e6.value;
|
|
39
39
|
});
|
|
40
|
-
}), n3.print(
|
|
40
|
+
}), n3.print(i2, a4, p2);
|
|
41
41
|
});
|
|
42
|
-
} else n3.print(e3.selections, a4,
|
|
43
|
-
}(n2,
|
|
42
|
+
} else n3.print(e3.selections, a4, p2);
|
|
43
|
+
}(n2, l2, i, c, r) : "form" === n2.pageContext.pageType && p(n2, l2, i, c, r) : p(n2, l2, i, c, r);
|
|
44
44
|
});
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function p(e2, t2, n2, a2, p2) {
|
|
47
47
|
if (t2.length > 0) {
|
|
48
|
-
const
|
|
48
|
+
const l2 = [];
|
|
49
49
|
t2.forEach((t3) => {
|
|
50
|
-
|
|
50
|
+
l2.push(function(e3, t4) {
|
|
51
51
|
return new Promise((n3, a3) => {
|
|
52
|
-
const
|
|
53
|
-
|
|
52
|
+
const p3 = t4.field.split("."), l3 = { type: null, name: null, value: null };
|
|
53
|
+
p3.length < 2 && n3(l3), l3.type = p3[0], l3.name = p3[1];
|
|
54
54
|
try {
|
|
55
|
-
|
|
55
|
+
s(l3.name).then((t5) => {
|
|
56
56
|
const a4 = JSON.parse(t5.barcodeModelItems);
|
|
57
|
-
|
|
57
|
+
l3.value = o(a4, e3.entity.data), n3(l3);
|
|
58
58
|
});
|
|
59
59
|
} catch (e4) {
|
|
60
|
-
n3(
|
|
60
|
+
n3(l3);
|
|
61
61
|
}
|
|
62
62
|
});
|
|
63
63
|
}(e2.pageContext, t3));
|
|
64
|
-
}), Promise.all(
|
|
64
|
+
}), Promise.all(l2).then((t3) => {
|
|
65
65
|
const o2 = {};
|
|
66
66
|
t3.forEach((e3) => {
|
|
67
67
|
e3.type && e3.name && e3.value && (o2[e3.type] || (o2[e3.type] = {}), o2[e3.type][e3.name] = e3.value);
|
|
68
68
|
});
|
|
69
|
-
const
|
|
70
|
-
Object.assign(
|
|
69
|
+
const s2 = { table: {} };
|
|
70
|
+
Object.assign(s2, e2.pageContext.entity, o2), s2.table = e2.pageContext.entity.data, n2.print(s2, a2, p2);
|
|
71
71
|
});
|
|
72
72
|
} else {
|
|
73
|
-
const t3 = {};
|
|
74
|
-
Object.assign(t3, e2.pageContext.entity), n2.print(t3, a2,
|
|
73
|
+
const t3 = { table: {} };
|
|
74
|
+
Object.assign(t3, e2.pageContext.entity), t3.table = e2.pageContext.entity.data, n2.print(t3, a2, p2);
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function s(t2) {
|
|
78
78
|
const n2 = encodeURIComponent(t2);
|
|
79
79
|
return e.get(window.$vueApp.config.globalProperties.baseAPI + `/dc/setting-barcode-models/by-name?name=${n2}`);
|
|
80
80
|
}
|
|
81
81
|
n();
|
|
82
|
-
const
|
|
82
|
+
const l = { printLabel: a };
|
|
83
83
|
export {
|
|
84
|
-
|
|
84
|
+
l as default,
|
|
85
85
|
a as printLabel
|
|
86
86
|
};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { defineComponent as e, ref as l, onMounted as i, nextTick as t, resolveComponent as n, createElementBlock as a, openBlock as u, createBlock as o, unref as c, normalizeStyle as s, normalizeClass as p, withCtx as r, createCommentVNode as v, Fragment as y, createTextVNode as g, toDisplayString as d } from "vue";
|
|
2
2
|
import { SuperIcon as k } from "agilebuilder-ui";
|
|
3
3
|
import { handleAfterInitEvent as f, handleEvent as m } from "../../../../utils/events/event-util.js";
|
|
4
|
-
import { $t as
|
|
5
|
-
const
|
|
6
|
-
const
|
|
4
|
+
import { $t as x } from "../../../../utils/i18n-util.js";
|
|
5
|
+
const C = { class: "page-runtime-header-btn" }, V = e({ __name: "button-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: V2 }) {
|
|
6
|
+
const T = e2, b = T.configure.runtime ? T.configure.runtime : {}, z = l(b.props ? b.props : {}), _ = b.style, h = b.class;
|
|
7
7
|
function P() {
|
|
8
8
|
return "disabled" === z.value.state || R();
|
|
9
9
|
}
|
|
10
10
|
function R() {
|
|
11
|
-
return void 0 !==
|
|
11
|
+
return void 0 !== T.pageContext.canClick && void 0 !== T.pageContext.clickUuid && (!T.pageContext.canClick && T.pageContext.clickUuid === T.configure.uuid);
|
|
12
12
|
}
|
|
13
13
|
const j = l(null);
|
|
14
14
|
return i(() => {
|
|
15
15
|
t(() => {
|
|
16
|
-
f(null,
|
|
16
|
+
f(null, T.pageContext, T.configure, { componentRef: j.value, entity: T.pageContext.entity.data, pageData: T.pageContext.entity.page });
|
|
17
17
|
});
|
|
18
18
|
}), V2({ click: function() {
|
|
19
19
|
j.value && j.value.$el.click();
|
|
20
20
|
} }), (e3, l2) => {
|
|
21
21
|
const i2 = n("el-link"), t2 = n("el-button");
|
|
22
|
-
return u(), a("span",
|
|
22
|
+
return u(), a("span", C, [z.value.text ? (u(), o(i2, { key: 0, ref_key: "componentRef", ref: j, disabled: P(), class: p(c(h)), style: s(c(_)), type: z.value.type, size: z.value.size, loading: R(), onClick: l2[0] || (l2[0] = (l3) => c(m)(l3, e3.pageContext, e3.configure, "click")) }, { default: r(() => [z.value.title && "right" == z.value.iconPosition && !z.value.isTextIcon ? (u(), a(y, { key: 0 }, [g(d(c(x)(z.value.title)) + " ", 1), z.value.iconValue ? (u(), a(y, { key: 0 }, [g(" ")], 64)) : v("", true)], 64)) : v("", true), z.value.iconType && z.value.iconValue ? (u(), o(c(k), { key: 1, iconType: z.value.iconType, iconValue: z.value.iconValue }, null, 8, ["iconType", "iconValue"])) : v("", true), z.value.title && "right" != z.value.iconPosition && !z.value.isTextIcon ? (u(), a(y, { key: 2 }, [z.value.iconValue ? (u(), a(y, { key: 0 }, [g(" ")], 64)) : v("", true), g(" " + d(c(x)(z.value.title)), 1)], 64)) : v("", true)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size", "loading"])) : (u(), o(t2, { key: 1, ref_key: "componentRef", ref: j, disabled: P(), class: p(c(h)), style: s(c(_)), type: z.value.type, size: z.value.size, round: z.value.round, plain: z.value.plain, loading: R(), onClick: l2[1] || (l2[1] = (l3) => c(m)(l3, e3.pageContext, e3.configure, "click")) }, { default: r(() => [z.value.title && "right" == z.value.iconPosition ? (u(), a(y, { key: 0 }, [g(d(c(x)(z.value.title)) + " ", 1), z.value.iconValue ? (u(), a(y, { key: 0 }, [g(" ")], 64)) : v("", true)], 64)) : v("", true), z.value.iconType && z.value.iconValue ? (u(), o(c(k), { key: 1, iconType: z.value.iconType, iconValue: z.value.iconValue }, null, 8, ["iconType", "iconValue"])) : v("", true), z.value.title && "right" != z.value.iconPosition ? (u(), a(y, { key: 2 }, [z.value.iconValue ? (u(), a(y, { key: 0 }, [g(" ")], 64)) : v("", true), g(" " + d(c(x)(z.value.title)), 1)], 64)) : v("", true)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size", "round", "plain", "loading"]))]);
|
|
23
23
|
};
|
|
24
24
|
} });
|
|
25
25
|
export {
|
|
@@ -38,6 +38,9 @@ class ExpressionEvaluator {
|
|
|
38
38
|
case "IS_NOT_NULL":
|
|
39
39
|
return `${a} !== null`;
|
|
40
40
|
case "IN":
|
|
41
|
+
if ("TEXT" === o) {
|
|
42
|
+
return `${n.split(",")}.includes(${a})`;
|
|
43
|
+
}
|
|
41
44
|
return `[${n}].includes(${a})`;
|
|
42
45
|
default:
|
|
43
46
|
throw new Error(`比较符号不匹配: ${t}`);
|
|
@@ -45,7 +48,13 @@ class ExpressionEvaluator {
|
|
|
45
48
|
}
|
|
46
49
|
static changeDataType(e) {
|
|
47
50
|
let t = e;
|
|
48
|
-
|
|
51
|
+
if (e) {
|
|
52
|
+
if ("TEXT" === e) t = "string";
|
|
53
|
+
else if ("DATE" === e || "TIME" === e) t = "date";
|
|
54
|
+
else if ("DOUBLE" === e || "FLOAT" === e || "INTEGER" === e || "LONG" === e) t = "number";
|
|
55
|
+
else if ("BOOLEAN" === e) return "boolean";
|
|
56
|
+
}
|
|
57
|
+
return t;
|
|
49
58
|
}
|
|
50
59
|
static parseValue(e, t) {
|
|
51
60
|
switch (t = this.changeDataType(t)) {
|
|
@@ -55,6 +64,8 @@ class ExpressionEvaluator {
|
|
|
55
64
|
return new Date(e).getTime();
|
|
56
65
|
case "string":
|
|
57
66
|
return `"${e}"`;
|
|
67
|
+
case "boolean":
|
|
68
|
+
return "true" === e || true === e || 1 === e;
|
|
58
69
|
default:
|
|
59
70
|
throw new Error(`数据类型解析错误: ${t}`);
|
|
60
71
|
}
|
package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js
CHANGED
|
@@ -7,10 +7,10 @@ import V from "../common/title-suffix-element.vue.js";
|
|
|
7
7
|
import j from "dayjs";
|
|
8
8
|
import { $t as R } from "../../../../utils/i18n-util.js";
|
|
9
9
|
const _ = e({ __name: "datepicker-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
|
|
10
|
-
const _2 = e2, z = _2.pageContext.entity ? _2.pageContext.entity : {}, P = _2.configure.runtime ? _2.configure.runtime : {},
|
|
11
|
-
let I = h(_2.pageContext, _2.configure, q.value.prop), B = null,
|
|
10
|
+
const _2 = e2, z = _2.pageContext.entity ? _2.pageContext.entity : {}, P = _2.configure.runtime ? _2.configure.runtime : {}, S = P.style, w = P.class, A = P.headerStyle, D = P.titleExceedStyle, q = a(P.props ? P.props : {});
|
|
11
|
+
let I = h(_2.pageContext, _2.configure, q.value.prop), B = null, N = false;
|
|
12
12
|
if (q.value.dateType && q.value.dateType.includes("range")) {
|
|
13
|
-
|
|
13
|
+
N = true;
|
|
14
14
|
let e3 = q.value.prop2;
|
|
15
15
|
e3 && e3.startsWith("${") || (e3 = "${page." + _2.configure.uuid + "-2}");
|
|
16
16
|
const a2 = C(z, e3, null);
|
|
@@ -19,56 +19,59 @@ const _ = e({ __name: "datepicker-runtime", props: { pageContext: {}, configure:
|
|
|
19
19
|
x(z, B, e4);
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
const
|
|
23
|
-
function
|
|
22
|
+
const U = a(null), W = a(null), $ = a(null);
|
|
23
|
+
function E(e3, a2) {
|
|
24
24
|
if (!e3) return e3;
|
|
25
|
-
if (a2)
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
25
|
+
if (a2) {
|
|
26
|
+
"number" != typeof e3 || isNaN(e3) || 4 !== e3.toString().length || (e3 = e3.toString());
|
|
27
|
+
try {
|
|
28
|
+
const l2 = j(e3);
|
|
29
|
+
let t2 = null;
|
|
30
|
+
return t2 = "x" === a2 ? l2.toDate().getTime() : j(e3).format(a2), t2;
|
|
31
|
+
} catch (a3) {
|
|
32
|
+
return e3;
|
|
33
|
+
}
|
|
31
34
|
}
|
|
32
35
|
return e3;
|
|
33
36
|
}
|
|
34
37
|
if (l(() => {
|
|
35
38
|
t(() => {
|
|
36
|
-
const e3 =
|
|
37
|
-
k(e3, _2.pageContext, _2.configure, { formItemRef:
|
|
39
|
+
const e3 = O.value;
|
|
40
|
+
k(e3, _2.pageContext, _2.configure, { formItemRef: U.value, componentRef: W.value, titleRef: $.value, value: e3, entity: _2.pageContext.entity.data, pageData: _2.pageContext.entity.page });
|
|
38
41
|
});
|
|
39
42
|
}), I) {
|
|
40
|
-
const e3 = b(z, I), a2 =
|
|
43
|
+
const e3 = b(z, I), a2 = E(e3, q.value.valueFormat);
|
|
41
44
|
e3 !== a2 && x(z, I, a2);
|
|
42
45
|
}
|
|
43
46
|
if (B) {
|
|
44
|
-
const e3 = b(z, B), a2 =
|
|
47
|
+
const e3 = b(z, B), a2 = E(e3, q.value.valueFormat);
|
|
45
48
|
e3 !== a2 && x(z, B, a2);
|
|
46
49
|
}
|
|
47
|
-
const
|
|
48
|
-
if (
|
|
50
|
+
const O = r({ get() {
|
|
51
|
+
if (N) {
|
|
49
52
|
const e3 = [];
|
|
50
53
|
let a2 = b(z, I);
|
|
51
|
-
e3.push(
|
|
54
|
+
e3.push(E(a2, q.value.valueFormat));
|
|
52
55
|
let l2 = b(z, B);
|
|
53
|
-
return e3.push(
|
|
56
|
+
return e3.push(E(l2, q.value.valueFormat)), e3;
|
|
54
57
|
}
|
|
55
|
-
return
|
|
58
|
+
return E(b(z, I), q.value.valueFormat);
|
|
56
59
|
}, set(e3) {
|
|
57
|
-
|
|
58
|
-
} }),
|
|
60
|
+
N ? Array.isArray(e3) ? (x(z, I, e3[0]), x(z, B, e3[1])) : null === e3 && (x(z, I, null), x(z, B, null)) : x(z, I, e3);
|
|
61
|
+
} }), G = a(y(q.value.dateScopeDetails, q.value.sourceType, q.value.dateType));
|
|
59
62
|
if (q.value.shortcutsFunc) {
|
|
60
63
|
const e3 = F(_2.pageContext, q.value.shortcutsFunc);
|
|
61
64
|
if (e3) {
|
|
62
65
|
let a2 = e3.apply(e3, [{ pageContext: _2.pageContext, configureObj: _2.configure }]);
|
|
63
66
|
if (a2) {
|
|
64
|
-
Array.isArray(a2) || (a2 = [a2]),
|
|
65
|
-
for (let e4 of a2) e4.text && e4.value &&
|
|
67
|
+
Array.isArray(a2) || (a2 = [a2]), G.value || (G.value = []);
|
|
68
|
+
for (let e4 of a2) e4.text && e4.value && G.value.push(e4);
|
|
66
69
|
}
|
|
67
70
|
}
|
|
68
71
|
}
|
|
69
72
|
return (e3, a2) => {
|
|
70
73
|
const l2 = o("el-time-picker"), t2 = o("el-date-picker"), r2 = o("el-form-item");
|
|
71
|
-
return n(), u(r2, { ref_key: "formItemRef", ref:
|
|
74
|
+
return n(), u(r2, { ref_key: "formItemRef", ref: U, required: q.value.required, class: p(s(w)), "label-width": q.value.labelWidth, style: i(s(S)) }, { label: c(() => [q.value.tittleShow ? (n(), d("div", { key: 0, ref_key: "titleRef", ref: $, style: i({ ...s(A), ...s(D) }) }, [q.value.prefixType ? (n(), u(V, { key: 0, pageContext: e3.pageContext, property: q.value }, null, 8, ["pageContext", "property"])) : (n(), d(f, { key: 1 }, [g(m(s(R)(q.value.title)), 1)], 64))], 4)) : v("", true)]), default: c(() => ["time" == q.value.dateType || "timerange" == q.value.dateType ? (n(), u(l2, { key: 0, ref_key: "componentRef", ref: W, "is-range": "timerange" == q.value.dateType, style: { width: "100%" }, "range-separator": "-", clearable: q.value.clearable, disabled: "disabled" === q.value.state, readonly: "readonly" === q.value.state, size: q.value.size, placeholder: q.value.placeholder, "start-placeholder": q.value.placeholder, "end-placeholder": q.value.endPlaceholder ? q.value.endPlaceholder : q.value.placeholder, format: q.value.format, "value-format": q.value.valueFormat, modelValue: O.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e4) => O.value = e4), shortcuts: G.value, type: q.value.dateType, onChange: a2[1] || (a2[1] = (a3) => s(T)(a3, e3.pageContext, e3.configure, "change")), onBlur: a2[2] || (a2[2] = (a3) => s(T)(a3, e3.pageContext, e3.configure, "blur")), onFocus: a2[3] || (a2[3] = (a3) => s(T)(a3, e3.pageContext, e3.configure, "focus")), onVisibleChange: a2[4] || (a2[4] = (a3) => s(T)(a3, e3.pageContext, e3.configure, "visible-change")), onPanelChange: a2[5] || (a2[5] = (a3) => s(T)(a3, e3.pageContext, e3.configure, "panel-change")), onClear: a2[6] || (a2[6] = (a3) => s(T)(a3, e3.pageContext, e3.configure, "clear")) }, null, 8, ["is-range", "clearable", "disabled", "readonly", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "value-format", "modelValue", "shortcuts", "type"])) : (n(), u(t2, { key: 1, ref_key: "componentRef", ref: W, clearable: q.value.clearable, style: { width: "100%" }, disabled: "disabled" === q.value.state, readonly: "readonly" === q.value.state, size: q.value.size, placeholder: q.value.placeholder, "start-placeholder": q.value.placeholder, "end-placeholder": q.value.endPlaceholder ? q.value.endPlaceholder : q.value.placeholder, format: q.value.format, "value-format": q.value.valueFormat, modelValue: O.value, "onUpdate:modelValue": a2[7] || (a2[7] = (e4) => O.value = e4), shortcuts: G.value, type: q.value.dateType, onChange: a2[8] || (a2[8] = (a3) => s(T)(a3, e3.pageContext, e3.configure, "change")), onBlur: a2[9] || (a2[9] = (a3) => s(T)(a3, e3.pageContext, e3.configure, "blur")), onFocus: a2[10] || (a2[10] = (a3) => s(T)(a3, e3.pageContext, e3.configure, "focus")), onVisibleChange: a2[11] || (a2[11] = (a3) => s(T)(a3, e3.pageContext, e3.configure, "visible-change")), onPanelChange: a2[12] || (a2[12] = (a3) => s(T)(a3, e3.pageContext, e3.configure, "panel-change")), onClear: a2[13] || (a2[13] = (a3) => s(T)(a3, e3.pageContext, e3.configure, "clear")) }, null, 8, ["clearable", "disabled", "readonly", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "value-format", "modelValue", "shortcuts", "type"]))]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
|
|
72
75
|
};
|
|
73
76
|
} });
|
|
74
77
|
export {
|
package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js
CHANGED
|
@@ -1,61 +1,69 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, onMounted as
|
|
2
|
-
import { getVariableValue as
|
|
3
|
-
import { handleAfterInitEvent as
|
|
4
|
-
import
|
|
5
|
-
import { FsUploadNew as
|
|
6
|
-
import
|
|
7
|
-
import { $t as
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
1
|
+
import { defineComponent as e, ref as t, watch as l, onMounted as i, nextTick as o, onUnmounted as a, resolveComponent as s, createBlock as n, createCommentVNode as u, openBlock as p, normalizeStyle as r, normalizeClass as m, unref as f, withCtx as c, createElementBlock as v, toDisplayString as d } from "vue";
|
|
2
|
+
import { getVariableValue as h, setVariableValue as y } from "../../../../utils/page-helper-util.js";
|
|
3
|
+
import { handleAfterInitEvent as g, fileUploadBeforeUpload as C } from "../../../../utils/events/event-util.js";
|
|
4
|
+
import x from "agilebuilder-ui/src/utils/request";
|
|
5
|
+
import { FsUploadNew as b } from "agilebuilder-ui";
|
|
6
|
+
import k from "../../../../utils/eventBus.js";
|
|
7
|
+
import { $t as _ } from "../../../../utils/i18n-util.js";
|
|
8
|
+
const w = e({ __name: "fileupload-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
|
|
9
|
+
const w2 = e2, P = w2.configure.runtime ? w2.configure.runtime : {}, j = t(P.props ? P.props : {}), R = P.style, T = P.class, z = P.headerStyle, I = P.titleExceedStyle, O = w2.pageContext.entity ? w2.pageContext.entity : {}, S = w2.configure.props.base ? w2.configure.props.base : {}, F = G(S.prop), N = G(S.propName);
|
|
10
|
+
F && F.length > 1 && l(() => w2.pageContext.entity[F[0]][F[1]], (e3) => {
|
|
11
|
+
A(h(O, F));
|
|
12
|
+
});
|
|
13
|
+
const q = w2.pageContext.code, D = t(F ? q + "__" + F.join("__") : null), U = h(O, F), $ = t(null), W = t(false), B = t([]), E = t({});
|
|
14
|
+
function A(e3) {
|
|
15
|
+
if (e3) {
|
|
16
|
+
const t2 = e3.split(",");
|
|
17
|
+
if (t2.length > 0) {
|
|
18
|
+
const e4 = w2.pageContext.backendUrl;
|
|
19
|
+
x.post(e4 + "/common/fs-upload/search-file-names", t2).then((e5) => {
|
|
20
|
+
B.value = [];
|
|
21
|
+
const l2 = [];
|
|
22
|
+
for (let i2 = 0; i2 < t2.length; i2++) {
|
|
23
|
+
const o2 = t2[i2];
|
|
24
|
+
l2.push(e5[o2]), B.value.push({ showName: e5[o2], serverPath: o2 });
|
|
25
|
+
}
|
|
26
|
+
"input" === j.value.displayType && (E.value.showName = l2.join(","), E.value.serverPath = t2.join(","));
|
|
27
|
+
}).finally(() => {
|
|
28
|
+
W.value = true;
|
|
29
|
+
});
|
|
30
|
+
} else W.value = true;
|
|
31
|
+
} else W.value = true;
|
|
32
|
+
}
|
|
33
|
+
function G(e3) {
|
|
27
34
|
return e3 ? (e3.startsWith("${") && (e3 = e3.substring(2, e3.length - 1)), e3.split(".")) : [];
|
|
28
35
|
}
|
|
29
|
-
function
|
|
30
|
-
return
|
|
36
|
+
function H(e3) {
|
|
37
|
+
return C(e3);
|
|
31
38
|
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
A(U);
|
|
40
|
+
const J = (e3, t2, l2) => {
|
|
41
|
+
L();
|
|
42
|
+
}, K = (e3) => {
|
|
43
|
+
L();
|
|
44
|
+
}, L = () => {
|
|
45
|
+
const e3 = [], t2 = [];
|
|
46
|
+
if (j.value.limit && B.value.length > j.value.limit) {
|
|
47
|
+
const e4 = B.value.length - j.value.limit;
|
|
48
|
+
for (let t3 = 0; t3 < e4; t3++) B.value.shift();
|
|
41
49
|
}
|
|
42
|
-
for (let
|
|
43
|
-
|
|
44
|
-
},
|
|
45
|
-
return
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
}),
|
|
49
|
-
const e3 =
|
|
50
|
-
|
|
50
|
+
for (let l2 = 0; l2 < B.value.length; l2++) e3.push(B.value[l2].showName), t2.push(B.value[l2].serverPath);
|
|
51
|
+
y(w2.pageContext.entity, F, t2.join(",")), y(w2.pageContext.entity, N, e3.join(","));
|
|
52
|
+
}, M = t(null), Q = t(null);
|
|
53
|
+
return i(() => {
|
|
54
|
+
k.$on(D.value + "-pickFileDone", (e3) => {
|
|
55
|
+
$.value.pickFileDone(e3);
|
|
56
|
+
}), o(() => {
|
|
57
|
+
const e3 = h(O, F), t2 = { showName: h(O, N), serverPath: e3 };
|
|
58
|
+
g(t2, w2.pageContext, w2.configure, { formItemRef: M.value, componentRef: $.value, titleRef: Q.value, value: t2, entity: w2.pageContext.entity.data, pageData: w2.pageContext.entity.page });
|
|
51
59
|
});
|
|
52
|
-
}),
|
|
53
|
-
|
|
54
|
-
}), (e3,
|
|
55
|
-
const
|
|
56
|
-
return
|
|
60
|
+
}), a(() => {
|
|
61
|
+
k.$off(D.value + "-pickFileDone");
|
|
62
|
+
}), (e3, t2) => {
|
|
63
|
+
const l2 = s("el-form-item");
|
|
64
|
+
return j.value.tittleShow ? (p(), n(l2, { key: 0, ref_key: "formItemRef", ref: M, required: j.value.required, class: m(f(T)), "label-width": j.value.labelWidth, style: r(f(R)) }, { label: c(() => [j.value.tittleShow ? (p(), v("div", { key: 0, ref_key: "titleRef", ref: Q, style: r({ ...f(z), ...f(I) }) }, d(f(_)(j.value.title)), 5)) : u("", true)]), default: c(() => [W.value ? (p(), n(f(b), { key: 0, ref_key: "fileUploadRef", ref: $, style: { width: "100%" }, disabled: "disabled" === j.value.state, displayType: j.value.displayType, accept: j.value.accept, multiple: j.value.multiple, placeholder: j.value.placeholder, limit: j.value.limit, "limit-file-size": j.value.limitFileSize, openCameraOrChoosePhoto: j.value.openCameraOrChoosePhoto, "file-info": E.value, "file-list": B.value, "system-code": e3.pageContext.systemCode, componentId: D.value, "on-success": J, "on-remove": K, "before-upload": H, pageContext: e3.pageContext }, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "openCameraOrChoosePhoto", "file-info", "file-list", "system-code", "componentId", "pageContext"])) : u("", true)]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : W.value ? (p(), n(f(b), { key: 1, ref_key: "fileUploadRef", ref: $, style: { width: "100%" }, disabled: "disabled" === j.value.state, displayType: j.value.displayType, accept: j.value.accept, multiple: j.value.multiple, placeholder: j.value.placeholder, limit: j.value.limit, "limit-file-size": j.value.limitFileSize, openCameraOrChoosePhoto: j.value.openCameraOrChoosePhoto, "file-info": E.value, "file-list": B.value, "system-code": e3.pageContext.systemCode, componentId: D.value, "on-success": J, "on-remove": K, "before-upload": H, pageContext: e3.pageContext }, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "openCameraOrChoosePhoto", "file-info", "file-list", "system-code", "componentId", "pageContext"])) : u("", true);
|
|
57
65
|
};
|
|
58
66
|
} });
|
|
59
67
|
export {
|
|
60
|
-
|
|
68
|
+
w as default
|
|
61
69
|
};
|
package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, computed as l, onMounted as o, nextTick as n, onUnmounted as a, watch as u, resolveComponent as i, createBlock as r, openBlock as p, normalizeStyle as c, normalizeClass as s, unref as v, withCtx as f, createVNode as
|
|
1
|
+
import { defineComponent as e, ref as t, computed as l, onMounted as o, nextTick as n, onUnmounted as a, watch as u, resolveComponent as i, createBlock as r, openBlock as p, normalizeStyle as c, normalizeClass as s, unref as v, withCtx as f, createVNode as y, createCommentVNode as g, createSlots as m, createTextVNode as d, toDisplayString as x, createElementBlock as C, Fragment as I } from "vue";
|
|
2
2
|
import { SuperIcon as T } from "agilebuilder-ui";
|
|
3
3
|
import { getFormModelFields as k } from "../../../../utils/page-init-util.js";
|
|
4
4
|
import { getModelFieldFromPageContext as V, isNumberDataType as h, setVariableValue as w, getVariableValue as b } from "../../../../utils/page-helper-util.js";
|
|
@@ -67,7 +67,7 @@ const M = e({ __name: "inputtext-runtime", props: { pageContext: {}, configure:
|
|
|
67
67
|
return b(B, J);
|
|
68
68
|
}, setValue: re, scanClick: ce }), (e3, t2) => {
|
|
69
69
|
const l2 = i("el-input"), o2 = i("scan-code-input-browser"), n2 = i("el-form-item");
|
|
70
|
-
return p(), r(n2, { ref_key: "formItemRef", ref: W, required: !!Q.value.required, class: s(v(ae)), "label-width": Q.value.labelWidth, style: c(v(ne)) }, { label: f(() => [Q.value.tittleShow ? (p(), C("div", { key: 0, ref_key: "titleRef", ref: H, style: c({ ...v(ue), ...v(ie) }) }, [Q.value.prefixType ? (p(), r(P, { key: 0, pageContext: e3.pageContext, property: Q.value }, null, 8, ["pageContext", "property"])) : (p(), C(I, { key: 1 }, [d(x(v(L)(Q.value.title)), 1)], 64))], 4)) :
|
|
70
|
+
return p(), r(n2, { ref_key: "formItemRef", ref: W, required: !!Q.value.required, class: s(v(ae)), "label-width": Q.value.labelWidth, style: c(v(ne)) }, { label: f(() => [Q.value.tittleShow ? (p(), C("div", { key: 0, ref_key: "titleRef", ref: H, style: c({ ...v(ue), ...v(ie) }) }, [Q.value.prefixType ? (p(), r(P, { key: 0, pageContext: e3.pageContext, property: Q.value }, null, 8, ["pageContext", "property"])) : (p(), C(I, { key: 1 }, [d(x(v(L)(Q.value.title)), 1)], 64))], 4)) : g("", true)]), default: f(() => [y(l2, { ref_key: "componentRef", ref: G, disabled: "disabled" === Q.value.state, readonly: "readonly" === Q.value.state, size: Q.value.size, clearable: Q.value.clearable, placeholder: Q.value.placeholder, maxlength: Q.value.maxLength, "show-word-limit": Q.value.showInputNum, type: F.value, modelValue: U.value, "onUpdate:modelValue": t2[5] || (t2[5] = (e4) => U.value = e4), onInput: t2[6] || (t2[6] = (t3) => v(_)(t3, e3.pageContext, e3.configure, "input")), onChange: t2[7] || (t2[7] = (t3) => v(_)(t3, e3.pageContext, e3.configure, "change")), onBlur: t2[8] || (t2[8] = (t3) => v(_)(t3, e3.pageContext, e3.configure, "blur")), onFocus: t2[9] || (t2[9] = (t3) => v(_)(t3, e3.pageContext, e3.configure, "focus")), onClick: t2[10] || (t2[10] = (t3) => v(_)(t3, e3.pageContext, e3.configure, "click")), onClear: t2[11] || (t2[11] = (t3) => v(_)(t3, e3.pageContext, e3.configure, "clear")) }, m({ _: 2 }, ["outer" != Q.value.iconPosition && (Q.value.preIconType && Q.value.preIconValue || Q.value.preText) ? { name: "prefix", fn: f(() => [Q.value.preIconType && Q.value.preIconValue ? (p(), r(v(T), { key: 0, style: { cursor: "pointer" }, iconType: Q.value.preIconType, iconValue: Q.value.preIconValue, onClick: t2[0] || (t2[0] = (t3) => v(j)(U.value, e3.pageContext, e3.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(L)(Q.value.preText)), 1)]), key: "0" } : void 0, "outer" == Q.value.iconPosition && (Q.value.preIconType && Q.value.preIconValue || Q.value.preText) ? { name: "prepend", fn: f(() => [Q.value.preIconType && Q.value.preIconValue ? (p(), r(v(T), { key: 0, style: { cursor: "pointer" }, iconType: Q.value.preIconType, iconValue: Q.value.preIconValue, onClick: t2[1] || (t2[1] = (t3) => v(j)(U.value, e3.pageContext, e3.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(L)(Q.value.preText)), 1)]), key: "1" } : void 0, "outer" != Q.value.iconPosition && (Q.value.sufIconType && Q.value.sufIconValue || Q.value.sufText) ? { name: "suffix", fn: f(() => [Q.value.sufIconType && Q.value.sufIconValue ? (p(), r(v(T), { key: 0, style: { cursor: "pointer" }, iconType: Q.value.sufIconType, iconValue: Q.value.sufIconValue, onClick: t2[2] || (t2[2] = (t3) => v(j)(U.value, e3.pageContext, e3.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(L)(Q.value.sufText)), 1)]), key: "2" } : void 0, le.value || "outer" == Q.value.iconPosition && (Q.value.sufIconType && Q.value.sufIconValue || Q.value.sufText) ? { name: "append", fn: f(() => [le.value ? (p(), r(v(T), { key: 0, style: { cursor: "pointer" }, iconValue: "fa-barcode", onClick: t2[3] || (t2[3] = (e4) => ce()) })) : g("", true), Q.value.sufIconType && Q.value.sufIconValue ? (p(), r(v(T), { key: 1, style: { cursor: "pointer" }, iconType: Q.value.sufIconType, iconValue: Q.value.sufIconValue, onClick: t2[4] || (t2[4] = (t3) => v(j)(U.value, e3.pageContext, e3.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(L)(Q.value.sufText)), 1)]), key: "3" } : void 0]), 1032, ["disabled", "readonly", "size", "clearable", "placeholder", "maxlength", "show-word-limit", "type", "modelValue"]), pe.value ? (p(), r(o2, { key: 0, onClose: se })) : g("", true)]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
|
|
71
71
|
};
|
|
72
72
|
} });
|
|
73
73
|
export {
|
|
@@ -108,7 +108,7 @@ const H = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
|
|
|
108
108
|
i(() => {
|
|
109
109
|
U(), I.countComponentsLoadedNumber(), Q = setTimeout(() => {
|
|
110
110
|
I.componentsTotalNmber !== I.componentsLoadedNumber || I.pageComponentsLoaded || I.setPageComponentsLoaded(true);
|
|
111
|
-
},
|
|
111
|
+
}, 30);
|
|
112
112
|
}), s(() => {
|
|
113
113
|
Q && clearTimeout(Q);
|
|
114
114
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as e, ref as a, resolveComponent as l, createBlock as u, openBlock as t, withCtx as n, createElementBlock as o, createCommentVNode as r } from "vue";
|
|
2
2
|
import i from "./super-page.vue.js";
|
|
3
3
|
const s = ["src"], d = { key: 1, class: "amb-super-page-runtime-dialog-iframe", frameborder: "0", marginwidth: "0", marginheight: "0", width: "100%", allowtransparency: "no" }, g = e({ __name: "super-page-dialog", props: { parentPageContext: {}, parentPageEventParams: {}, jumpPageSetting: {}, isTest: { type: Boolean }, customParams: {} }, emits: ["open", "opened", "close", "closed"], setup(e2, { emit: g2 }) {
|
|
4
|
-
const p = e2, v = g2, m = a(true), c = p.jumpPageSetting ? p.jumpPageSetting : null, P = a(null), f = a(null), h = a(null), w = a(null), C = a(null), j = a(null), b = a({}), y = a(false), k = a(false), O = a("rtl"), I = a(null), _ = a(false), V = a(null), x = a(
|
|
4
|
+
const p = e2, v = g2, m = a(true), c = p.jumpPageSetting ? p.jumpPageSetting : null, P = a(null), f = a(null), h = a(null), w = a(null), C = a(null), j = a(null), b = a({}), y = a(false), k = a(false), O = a("rtl"), I = a(null), _ = a(false), V = a(null), x = a(true), S = a(false);
|
|
5
5
|
if (c) {
|
|
6
|
-
x.value = (c == null ? void 0 : c.alignCenter) ??
|
|
6
|
+
x.value = (c == null ? void 0 : c.alignCenter) ?? true, S.value = (c == null ? void 0 : c.fullscreen) ?? false, _.value = !(!c || void 0 === c._isIframe) && c._isIframe, V.value = c && c._path ? c._path : null, j.value = c && c.dialogType ? c.dialogType : "dialog", y.value = !(!c || !c.draggable) && c.draggable, k.value = !(!c || !c.overflow) && c.overflow, O.value = c && c.showPosition ? c.showPosition : "rtl", f.value = c && c.jumpPageTitle ? c.jumpPageTitle : null, P.value = c && c.jumpPageWidth ? c.jumpPageWidth : "dialog" === j.value ? "calc(100% - 30px)" : "100%", I.value = c && c.jumpPageHeight ? c.jumpPageHeight : null, h.value = c && c.pageCode, w.value = c && c.dataId ? c.dataId : null, C.value = c && c.taskId ? c.taskId : null;
|
|
7
7
|
const e3 = !!c.isNeedId;
|
|
8
8
|
if (p.parentPageEventParams) {
|
|
9
9
|
try {
|
package/dist/es/style.css
CHANGED
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
}
|
|
53
53
|
.amb-super-page-runtime-drawer-view .el-drawer__body .runtime-page-container {
|
|
54
54
|
max-height: calc(100vh - 40px - var(--el-drawer-padding-primary, 16px) * 2);
|
|
55
|
-
}.runtime-page-container[data-v-
|
|
55
|
+
}.runtime-page-container[data-v-a0c6e941] {
|
|
56
56
|
overflow: auto;
|
|
57
57
|
max-height: 100vh;
|
|
58
58
|
padding: var(--app-main-padding, 15px);
|
|
@@ -60,269 +60,269 @@
|
|
|
60
60
|
height: calc(100vh - var(--dec-page-main-padding, 15px) * 2);
|
|
61
61
|
}
|
|
62
62
|
@media (max-width: 768px) {
|
|
63
|
-
.runtime-page-container[data-v-
|
|
63
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-1 {
|
|
64
64
|
flex: 0 0 100%;
|
|
65
65
|
max-width: 100%;
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
.runtime-page-container[data-v-
|
|
68
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-1 > .el-form-item:only-child {
|
|
69
69
|
margin-bottom: 0;
|
|
70
70
|
}
|
|
71
|
-
.runtime-page-container[data-v-
|
|
71
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-2 {
|
|
72
72
|
flex: 0 0 calc(2 / 24 * (100% - (24 / 2 - 1) * var(--layout-form-flex-gap, 15px)));
|
|
73
73
|
max-width: calc(2 / 24 * (100% - (24 / 2 - 1) * var(--layout-form-flex-gap, 15px)));
|
|
74
74
|
}
|
|
75
75
|
@media (max-width: 768px) {
|
|
76
|
-
.runtime-page-container[data-v-
|
|
76
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-2 {
|
|
77
77
|
flex: 0 0 100%;
|
|
78
78
|
max-width: 100%;
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
|
-
.runtime-page-container[data-v-
|
|
81
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-2 > .el-form-item:only-child {
|
|
82
82
|
margin-bottom: 0;
|
|
83
83
|
}
|
|
84
84
|
@media (max-width: 768px) {
|
|
85
|
-
.runtime-page-container[data-v-
|
|
85
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-3 {
|
|
86
86
|
flex: 0 0 100%;
|
|
87
87
|
max-width: 100%;
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
|
-
.runtime-page-container[data-v-
|
|
90
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-3 > .el-form-item:only-child {
|
|
91
91
|
margin-bottom: 0;
|
|
92
92
|
}
|
|
93
|
-
.runtime-page-container[data-v-
|
|
93
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-4 {
|
|
94
94
|
flex: 0 0 calc(4 / 24 * (100% - (24 / 4 - 1) * var(--layout-form-flex-gap, 15px)));
|
|
95
95
|
max-width: calc(4 / 24 * (100% - (24 / 4 - 1) * var(--layout-form-flex-gap, 15px)));
|
|
96
96
|
}
|
|
97
97
|
@media (max-width: 768px) {
|
|
98
|
-
.runtime-page-container[data-v-
|
|
98
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-4 {
|
|
99
99
|
flex: 0 0 100%;
|
|
100
100
|
max-width: 100%;
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
|
-
.runtime-page-container[data-v-
|
|
103
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-4 > .el-form-item:only-child {
|
|
104
104
|
margin-bottom: 0;
|
|
105
105
|
}
|
|
106
106
|
@media (max-width: 768px) {
|
|
107
|
-
.runtime-page-container[data-v-
|
|
107
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-5 {
|
|
108
108
|
flex: 0 0 100%;
|
|
109
109
|
max-width: 100%;
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
|
-
.runtime-page-container[data-v-
|
|
112
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-5 > .el-form-item:only-child {
|
|
113
113
|
margin-bottom: 0;
|
|
114
114
|
}
|
|
115
|
-
.runtime-page-container[data-v-
|
|
115
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-6 {
|
|
116
116
|
flex: 0 0 calc(6 / 24 * (100% - (24 / 6 - 1) * var(--layout-form-flex-gap, 15px)));
|
|
117
117
|
max-width: calc(6 / 24 * (100% - (24 / 6 - 1) * var(--layout-form-flex-gap, 15px)));
|
|
118
118
|
}
|
|
119
119
|
@media (max-width: 768px) {
|
|
120
|
-
.runtime-page-container[data-v-
|
|
120
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-6 {
|
|
121
121
|
flex: 0 0 100%;
|
|
122
122
|
max-width: 100%;
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
|
-
.runtime-page-container[data-v-
|
|
125
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-6 > .el-form-item:only-child {
|
|
126
126
|
margin-bottom: 0;
|
|
127
127
|
}
|
|
128
128
|
@media (max-width: 768px) {
|
|
129
|
-
.runtime-page-container[data-v-
|
|
129
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-7 {
|
|
130
130
|
flex: 0 0 100%;
|
|
131
131
|
max-width: 100%;
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
|
-
.runtime-page-container[data-v-
|
|
134
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-7 > .el-form-item:only-child {
|
|
135
135
|
margin-bottom: 0;
|
|
136
136
|
}
|
|
137
|
-
.runtime-page-container[data-v-
|
|
137
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-8 {
|
|
138
138
|
flex: 0 0 calc(8 / 24 * (100% - (24 / 8 - 1) * var(--layout-form-flex-gap, 15px)));
|
|
139
139
|
max-width: calc(8 / 24 * (100% - (24 / 8 - 1) * var(--layout-form-flex-gap, 15px)));
|
|
140
140
|
}
|
|
141
141
|
@media (max-width: 768px) {
|
|
142
|
-
.runtime-page-container[data-v-
|
|
142
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-8 {
|
|
143
143
|
flex: 0 0 100%;
|
|
144
144
|
max-width: 100%;
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
|
-
.runtime-page-container[data-v-
|
|
147
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-8 > .el-form-item:only-child {
|
|
148
148
|
margin-bottom: 0;
|
|
149
149
|
}
|
|
150
150
|
@media (max-width: 768px) {
|
|
151
|
-
.runtime-page-container[data-v-
|
|
151
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-9 {
|
|
152
152
|
flex: 0 0 100%;
|
|
153
153
|
max-width: 100%;
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
.runtime-page-container[data-v-
|
|
156
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-9 > .el-form-item:only-child {
|
|
157
157
|
margin-bottom: 0;
|
|
158
158
|
}
|
|
159
|
-
.runtime-page-container[data-v-
|
|
159
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-10 {
|
|
160
160
|
flex: 0 0 calc(10 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
|
|
161
161
|
max-width: calc(10 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
|
|
162
162
|
}
|
|
163
163
|
@media (max-width: 768px) {
|
|
164
|
-
.runtime-page-container[data-v-
|
|
164
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-10 {
|
|
165
165
|
flex: 0 0 100%;
|
|
166
166
|
max-width: 100%;
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
|
-
.runtime-page-container[data-v-
|
|
169
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-10 > .el-form-item:only-child {
|
|
170
170
|
margin-bottom: 0;
|
|
171
171
|
}
|
|
172
172
|
@media (max-width: 768px) {
|
|
173
|
-
.runtime-page-container[data-v-
|
|
173
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-11 {
|
|
174
174
|
flex: 0 0 100%;
|
|
175
175
|
max-width: 100%;
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
|
-
.runtime-page-container[data-v-
|
|
178
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-11 > .el-form-item:only-child {
|
|
179
179
|
margin-bottom: 0;
|
|
180
180
|
}
|
|
181
|
-
.runtime-page-container[data-v-
|
|
181
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-12 {
|
|
182
182
|
flex: 0 0 calc(12 / 24 * (100% - (24 / 12 - 1) * var(--layout-form-flex-gap, 15px)));
|
|
183
183
|
max-width: calc(12 / 24 * (100% - (24 / 12 - 1) * var(--layout-form-flex-gap, 15px)));
|
|
184
184
|
}
|
|
185
185
|
@media (max-width: 768px) {
|
|
186
|
-
.runtime-page-container[data-v-
|
|
186
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-12 {
|
|
187
187
|
flex: 0 0 100%;
|
|
188
188
|
max-width: 100%;
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
.runtime-page-container[data-v-
|
|
191
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-12 > .el-form-item:only-child {
|
|
192
192
|
margin-bottom: 0;
|
|
193
193
|
}
|
|
194
194
|
@media (max-width: 768px) {
|
|
195
|
-
.runtime-page-container[data-v-
|
|
195
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-13 {
|
|
196
196
|
flex: 0 0 100%;
|
|
197
197
|
max-width: 100%;
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
|
-
.runtime-page-container[data-v-
|
|
200
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-13 > .el-form-item:only-child {
|
|
201
201
|
margin-bottom: 0;
|
|
202
202
|
}
|
|
203
|
-
.runtime-page-container[data-v-
|
|
203
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-14 {
|
|
204
204
|
flex: 0 0 calc(14 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
|
|
205
205
|
max-width: calc(14 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
|
|
206
206
|
}
|
|
207
207
|
@media (max-width: 768px) {
|
|
208
|
-
.runtime-page-container[data-v-
|
|
208
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-14 {
|
|
209
209
|
flex: 0 0 100%;
|
|
210
210
|
max-width: 100%;
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
|
-
.runtime-page-container[data-v-
|
|
213
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-14 > .el-form-item:only-child {
|
|
214
214
|
margin-bottom: 0;
|
|
215
215
|
}
|
|
216
216
|
@media (max-width: 768px) {
|
|
217
|
-
.runtime-page-container[data-v-
|
|
217
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-15 {
|
|
218
218
|
flex: 0 0 100%;
|
|
219
219
|
max-width: 100%;
|
|
220
220
|
}
|
|
221
221
|
}
|
|
222
|
-
.runtime-page-container[data-v-
|
|
222
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-15 > .el-form-item:only-child {
|
|
223
223
|
margin-bottom: 0;
|
|
224
224
|
}
|
|
225
|
-
.runtime-page-container[data-v-
|
|
225
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-16 {
|
|
226
226
|
flex: 0 0 calc(16 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
|
|
227
227
|
max-width: calc(16 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
|
|
228
228
|
}
|
|
229
229
|
@media (max-width: 768px) {
|
|
230
|
-
.runtime-page-container[data-v-
|
|
230
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-16 {
|
|
231
231
|
flex: 0 0 100%;
|
|
232
232
|
max-width: 100%;
|
|
233
233
|
}
|
|
234
234
|
}
|
|
235
|
-
.runtime-page-container[data-v-
|
|
235
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-16 > .el-form-item:only-child {
|
|
236
236
|
margin-bottom: 0;
|
|
237
237
|
}
|
|
238
238
|
@media (max-width: 768px) {
|
|
239
|
-
.runtime-page-container[data-v-
|
|
239
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-17 {
|
|
240
240
|
flex: 0 0 100%;
|
|
241
241
|
max-width: 100%;
|
|
242
242
|
}
|
|
243
243
|
}
|
|
244
|
-
.runtime-page-container[data-v-
|
|
244
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-17 > .el-form-item:only-child {
|
|
245
245
|
margin-bottom: 0;
|
|
246
246
|
}
|
|
247
|
-
.runtime-page-container[data-v-
|
|
247
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-18 {
|
|
248
248
|
flex: 0 0 calc(18 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
|
|
249
249
|
max-width: calc(18 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
|
|
250
250
|
}
|
|
251
251
|
@media (max-width: 768px) {
|
|
252
|
-
.runtime-page-container[data-v-
|
|
252
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-18 {
|
|
253
253
|
flex: 0 0 100%;
|
|
254
254
|
max-width: 100%;
|
|
255
255
|
}
|
|
256
256
|
}
|
|
257
|
-
.runtime-page-container[data-v-
|
|
257
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-18 > .el-form-item:only-child {
|
|
258
258
|
margin-bottom: 0;
|
|
259
259
|
}
|
|
260
260
|
@media (max-width: 768px) {
|
|
261
|
-
.runtime-page-container[data-v-
|
|
261
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-19 {
|
|
262
262
|
flex: 0 0 100%;
|
|
263
263
|
max-width: 100%;
|
|
264
264
|
}
|
|
265
265
|
}
|
|
266
|
-
.runtime-page-container[data-v-
|
|
266
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-19 > .el-form-item:only-child {
|
|
267
267
|
margin-bottom: 0;
|
|
268
268
|
}
|
|
269
|
-
.runtime-page-container[data-v-
|
|
269
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-20 {
|
|
270
270
|
flex: 0 0 calc(20 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
|
|
271
271
|
max-width: calc(20 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
|
|
272
272
|
}
|
|
273
273
|
@media (max-width: 768px) {
|
|
274
|
-
.runtime-page-container[data-v-
|
|
274
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-20 {
|
|
275
275
|
flex: 0 0 100%;
|
|
276
276
|
max-width: 100%;
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
|
-
.runtime-page-container[data-v-
|
|
279
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-20 > .el-form-item:only-child {
|
|
280
280
|
margin-bottom: 0;
|
|
281
281
|
}
|
|
282
282
|
@media (max-width: 768px) {
|
|
283
|
-
.runtime-page-container[data-v-
|
|
283
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-21 {
|
|
284
284
|
flex: 0 0 100%;
|
|
285
285
|
max-width: 100%;
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
|
-
.runtime-page-container[data-v-
|
|
288
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-21 > .el-form-item:only-child {
|
|
289
289
|
margin-bottom: 0;
|
|
290
290
|
}
|
|
291
|
-
.runtime-page-container[data-v-
|
|
291
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-22 {
|
|
292
292
|
flex: 0 0 calc(22 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
|
|
293
293
|
max-width: calc(22 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
|
|
294
294
|
}
|
|
295
295
|
@media (max-width: 768px) {
|
|
296
|
-
.runtime-page-container[data-v-
|
|
296
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-22 {
|
|
297
297
|
flex: 0 0 100%;
|
|
298
298
|
max-width: 100%;
|
|
299
299
|
}
|
|
300
300
|
}
|
|
301
|
-
.runtime-page-container[data-v-
|
|
301
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-22 > .el-form-item:only-child {
|
|
302
302
|
margin-bottom: 0;
|
|
303
303
|
}
|
|
304
304
|
@media (max-width: 768px) {
|
|
305
|
-
.runtime-page-container[data-v-
|
|
305
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-23 {
|
|
306
306
|
flex: 0 0 100%;
|
|
307
307
|
max-width: 100%;
|
|
308
308
|
}
|
|
309
309
|
}
|
|
310
|
-
.runtime-page-container[data-v-
|
|
310
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-23 > .el-form-item:only-child {
|
|
311
311
|
margin-bottom: 0;
|
|
312
312
|
}
|
|
313
313
|
@media (max-width: 768px) {
|
|
314
|
-
.runtime-page-container[data-v-
|
|
314
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-24 {
|
|
315
315
|
flex: 0 0 100%;
|
|
316
316
|
max-width: 100%;
|
|
317
317
|
}
|
|
318
318
|
}
|
|
319
|
-
.runtime-page-container[data-v-
|
|
319
|
+
.runtime-page-container[data-v-a0c6e941] .el-col-24 > .el-form-item:only-child {
|
|
320
320
|
margin-bottom: 0;
|
|
321
321
|
}
|
|
322
|
-
.runtime-page-container[data-v-
|
|
322
|
+
.runtime-page-container[data-v-a0c6e941] .el-input-group > .el-input-group__append > .el-button + .el-button {
|
|
323
323
|
margin-left: 12px;
|
|
324
324
|
}
|
|
325
|
-
.runtime-page-container[data-v-
|
|
325
|
+
.runtime-page-container[data-v-a0c6e941] .runtime-page-container-view, .runtime-page-container[data-v-a0c6e941] .el-container > .el-main, .runtime-page-container[data-v-a0c6e941] .el-container > .el-aside {
|
|
326
326
|
display: flex;
|
|
327
327
|
flex-direction: row;
|
|
328
328
|
align-items: flex-start;
|
|
@@ -332,49 +332,49 @@
|
|
|
332
332
|
min-height: 100%;
|
|
333
333
|
height: auto;
|
|
334
334
|
}
|
|
335
|
-
.runtime-page-container[data-v-
|
|
335
|
+
.runtime-page-container[data-v-a0c6e941] .runtime-page-container-view[style*="padding: 10px"], .runtime-page-container[data-v-a0c6e941] .el-container > [style*="padding: 10px"].el-main, .runtime-page-container[data-v-a0c6e941] .el-container > [style*="padding: 10px"].el-aside {
|
|
336
336
|
padding: 0 !important;
|
|
337
337
|
}
|
|
338
|
-
.runtime-page-container[data-v-
|
|
338
|
+
.runtime-page-container[data-v-a0c6e941] .runtime-page-container-view .el-form, .runtime-page-container[data-v-a0c6e941] .el-container > .el-main .el-form, .runtime-page-container[data-v-a0c6e941] .el-container > .el-aside .el-form {
|
|
339
339
|
width: 100%;
|
|
340
340
|
display: flex;
|
|
341
341
|
flex-wrap: wrap;
|
|
342
342
|
gap: var(--runtime-page-container-view-gap, 15px);
|
|
343
343
|
}
|
|
344
|
-
.runtime-page-container[data-v-
|
|
344
|
+
.runtime-page-container[data-v-a0c6e941] .runtime-page-container-view .el-form > div, .runtime-page-container[data-v-a0c6e941] .el-container > .el-main .el-form > div, .runtime-page-container[data-v-a0c6e941] .el-container > .el-aside .el-form > div {
|
|
345
345
|
width: 100%;
|
|
346
346
|
}
|
|
347
|
-
.runtime-page-container[data-v-
|
|
347
|
+
.runtime-page-container[data-v-a0c6e941] .runtime-page-container-view .el-form > div[style*="display: inline-block"], .runtime-page-container[data-v-a0c6e941] .el-container > .el-main .el-form > div[style*="display: inline-block"], .runtime-page-container[data-v-a0c6e941] .el-container > .el-aside .el-form > div[style*="display: inline-block"] {
|
|
348
348
|
width: auto;
|
|
349
349
|
}
|
|
350
|
-
.runtime-page-container[data-v-
|
|
350
|
+
.runtime-page-container[data-v-a0c6e941] .runtime-page-container-view > div, .runtime-page-container[data-v-a0c6e941] .el-container > .el-main > div, .runtime-page-container[data-v-a0c6e941] .el-container > .el-aside > div {
|
|
351
351
|
width: 100%;
|
|
352
352
|
}
|
|
353
|
-
.runtime-page-container[data-v-
|
|
353
|
+
.runtime-page-container[data-v-a0c6e941] .runtime-page-container-view > div[style*="display: inline-block"], .runtime-page-container[data-v-a0c6e941] .el-container > .el-main > div[style*="display: inline-block"], .runtime-page-container[data-v-a0c6e941] .el-container > .el-aside > div[style*="display: inline-block"] {
|
|
354
354
|
width: auto;
|
|
355
355
|
}
|
|
356
|
-
.runtime-page-container[data-v-
|
|
356
|
+
.runtime-page-container[data-v-a0c6e941] .runtime-page-container-view > div[class*=el-col-], .runtime-page-container[data-v-a0c6e941] .el-container > .el-main > div[class*=el-col-], .runtime-page-container[data-v-a0c6e941] .el-container > .el-aside > div[class*=el-col-], .runtime-page-container[data-v-a0c6e941] .runtime-page-container-view > div[style="flex:"], .runtime-page-container[data-v-a0c6e941] .el-container > .el-main > div[style="flex:"], .runtime-page-container[data-v-a0c6e941] .el-container > .el-aside > div[style="flex:"] {
|
|
357
357
|
flex: none !important;
|
|
358
358
|
}
|
|
359
|
-
.runtime-page-container[data-v-
|
|
359
|
+
.runtime-page-container[data-v-a0c6e941] .runtime-page-container-view > [style*="display: inline-block"], .runtime-page-container[data-v-a0c6e941] .el-container > .el-main > [style*="display: inline-block"], .runtime-page-container[data-v-a0c6e941] .el-container > .el-aside > [style*="display: inline-block"] {
|
|
360
360
|
width: auto;
|
|
361
361
|
}
|
|
362
|
-
.runtime-page-container[data-v-
|
|
362
|
+
.runtime-page-container[data-v-a0c6e941] .runtime-page-container-view > .el-row[class*=el-col-], .runtime-page-container[data-v-a0c6e941] .el-container > .el-main > .el-row[class*=el-col-], .runtime-page-container[data-v-a0c6e941] .el-container > .el-aside > .el-row[class*=el-col-] {
|
|
363
363
|
flex: none;
|
|
364
364
|
}
|
|
365
|
-
.runtime-page-container[data-v-
|
|
365
|
+
.runtime-page-container[data-v-a0c6e941] .runtime-page-container-view .el-row, .runtime-page-container[data-v-a0c6e941] .el-container > .el-main .el-row, .runtime-page-container[data-v-a0c6e941] .el-container > .el-aside .el-row {
|
|
366
366
|
gap: var(--layout-form-flex-gap, 15px);
|
|
367
367
|
}
|
|
368
|
-
.runtime-page-container[data-v-
|
|
368
|
+
.runtime-page-container[data-v-a0c6e941] .runtime-page-container-view .el-row > div, .runtime-page-container[data-v-a0c6e941] .el-container > .el-main .el-row > div, .runtime-page-container[data-v-a0c6e941] .el-container > .el-aside .el-row > div {
|
|
369
369
|
width: 100%;
|
|
370
370
|
}
|
|
371
|
-
.runtime-page-container[data-v-
|
|
371
|
+
.runtime-page-container[data-v-a0c6e941] .runtime-page-container-view .el-row > div[style*="display: inline-block"], .runtime-page-container[data-v-a0c6e941] .el-container > .el-main .el-row > div[style*="display: inline-block"], .runtime-page-container[data-v-a0c6e941] .el-container > .el-aside .el-row > div[style*="display: inline-block"] {
|
|
372
372
|
width: auto;
|
|
373
373
|
}
|
|
374
|
-
.runtime-page-container[data-v-
|
|
374
|
+
.runtime-page-container[data-v-a0c6e941] .el-container {
|
|
375
375
|
gap: var(--runtime-page-container-view-gap, 15px);
|
|
376
376
|
}
|
|
377
|
-
.runtime-page-container[data-v-
|
|
377
|
+
.runtime-page-container[data-v-a0c6e941] .el-container > .el-main, .runtime-page-container[data-v-a0c6e941] .el-container > .el-aside {
|
|
378
378
|
padding: 0;
|
|
379
379
|
}.yx-affix[data-v-a994b02d]:empty {
|
|
380
380
|
display: none;
|