super-page-runtime 2.2.55 → 2.2.59
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/standard-event.d.ts +1 -1
- package/dist/es/components/runtime/utils/events/standard-event.js +78 -82
- package/dist/es/components/runtime/utils/page-helper-util.d.ts +0 -2
- package/dist/es/components/runtime/utils/page-helper-util.js +0 -14
- package/dist/es/components/runtime/utils/page-init-util.js +10 -21
- package/dist/es/components/runtime/utils/tree-utils.js +15 -49
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.js +71 -5
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +2 -72
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +1 -4
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +19 -22
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +1 -4
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +45 -113
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +54 -59
- package/dist/es/components/runtime/views/super-page.vue.js +1 -1
- package/dist/es/index.d.ts +1 -2
- package/dist/es/index.js +0 -2
- package/dist/es/style.css +26 -370
- package/package.json +2 -2
- package/dist/es/assets/file.png.js +0 -4
- package/dist/es/assets/folder.png.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.d.ts +0 -94
package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js
CHANGED
|
@@ -1,75 +1,70 @@
|
|
|
1
|
-
import { defineComponent as e, ref as
|
|
1
|
+
import { defineComponent as e, ref as l, computed as t, onMounted as o, nextTick as n, onUnmounted as a, watch as u, resolveComponent as i, createBlock as r, openBlock as c, normalizeStyle as p, normalizeClass as s, unref as v, withCtx as f, createVNode as g, createCommentVNode as y, 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
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { formatScanRuleSets as
|
|
7
|
-
import
|
|
8
|
-
import { isMobileBrowser as
|
|
9
|
-
import
|
|
10
|
-
import { $t as
|
|
11
|
-
const
|
|
4
|
+
import { setVariableValue as V, getVariableValue as h } from "../../../../utils/page-helper-util.js";
|
|
5
|
+
import { handleAfterInitEvent as w, handleFormEvent as b, doSuffixOrPrefixClickEvent as _ } from "../../../../utils/events/event-util.js";
|
|
6
|
+
import { formatScanRuleSets as j, analysisScanValue as S, setScanAnalysisValue as R } from "../../../../utils/form/scan-util.js";
|
|
7
|
+
import P from "../common/title-suffix-element.vue.js";
|
|
8
|
+
import { isMobileBrowser as q } from "agilebuilder-ui/src/utils/common-util";
|
|
9
|
+
import z from "../../../../utils/eventBus.js";
|
|
10
|
+
import { $t as D } from "../../../../utils/i18n-util.js";
|
|
11
|
+
const L = e({ __name: "inputtext-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: L2 }) {
|
|
12
12
|
var _a, _b, _c;
|
|
13
|
-
const
|
|
14
|
-
let
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
const $ = t(z()), A = O.pageContext.code, E = t(J && J.length > 0 ? A + "__" + J.join("__") : null), U = l({ get: () => b(B, J), set(e3) {
|
|
20
|
-
e3 = e3.trim(), w(B, J, e3);
|
|
21
|
-
} }), W = t(null), G = t(null), H = t(null);
|
|
13
|
+
const N = e2, O = N.pageContext.entity ? N.pageContext.entity : {};
|
|
14
|
+
let B = k(N.pageContext, N.configure);
|
|
15
|
+
const J = l(q()), M = N.pageContext.code, $ = l(B && B.length > 0 ? M + "__" + B.join("__") : null), A = t({ get: () => h(O, B), set(e3) {
|
|
16
|
+
e3 = e3.trim(), V(O, B, e3);
|
|
17
|
+
} }), E = l(null), F = l(null), U = l(null);
|
|
22
18
|
o(() => {
|
|
23
|
-
|
|
24
|
-
|
|
19
|
+
z.$on($.value + "-scanDone", (e3) => {
|
|
20
|
+
ae(e3.result);
|
|
25
21
|
}), n(() => {
|
|
26
|
-
const e3 =
|
|
27
|
-
|
|
22
|
+
const e3 = A.value;
|
|
23
|
+
w(e3, N.pageContext, N.configure, { formItemRef: E.value, componentRef: F.value, titleRef: U.value, value: e3, entity: N.pageContext.entity.data, pageData: N.pageContext.entity.page });
|
|
28
24
|
});
|
|
29
25
|
}), a(() => {
|
|
30
|
-
|
|
26
|
+
z.$off($.value + "-scanDone");
|
|
31
27
|
});
|
|
32
|
-
const
|
|
33
|
-
let
|
|
34
|
-
const
|
|
35
|
-
|
|
36
|
-
let
|
|
37
|
-
|
|
38
|
-
const
|
|
39
|
-
let
|
|
40
|
-
((_b =
|
|
41
|
-
|
|
42
|
-
}), u(() =>
|
|
28
|
+
const W = N.configure.runtime ? N.configure.runtime : {}, G = l(W.props ? W.props : {}), H = l(!!((_a = G.value.scan) == null ? void 0 : _a.enable));
|
|
29
|
+
let K = false;
|
|
30
|
+
const Q = window.localStorage.getItem("auth_source");
|
|
31
|
+
Q && "dingtalk" === Q && (K = true);
|
|
32
|
+
let X = "";
|
|
33
|
+
X = navigator.userAgent.indexOf(" uni-app ") > 0 ? "app" : "browser";
|
|
34
|
+
const Y = !(!J.value || !X || "app" !== X), Z = l(!!((Y || K) && H.value || J.value && H.value && "https:" === window.location.protocol));
|
|
35
|
+
let ee = {};
|
|
36
|
+
((_b = G.value.scan) == null ? void 0 : _b.enable) && ((_c = G.value.scan.ruleList) == null ? void 0 : _c.length) > 0 && (j(G.value.scan.ruleList).then((e3) => {
|
|
37
|
+
ee = e3;
|
|
38
|
+
}), u(() => A.value, (e3) => {
|
|
43
39
|
e3 = e3.trim();
|
|
44
|
-
const
|
|
45
|
-
|
|
40
|
+
const l2 = S(e3, ee);
|
|
41
|
+
l2 && R(N.pageContext, l2.scanSet, l2.params);
|
|
46
42
|
}));
|
|
47
|
-
const
|
|
48
|
-
function
|
|
49
|
-
return
|
|
50
|
-
}
|
|
51
|
-
const pe = t(false);
|
|
52
|
-
function ce() {
|
|
53
|
-
if (te || Y) {
|
|
54
|
-
const e3 = { type: "scan", componentId: E.value, systemCode: O.pageContext.systemCode };
|
|
55
|
-
Y && (e3.type = "dingTalkScan"), window.parent.postMessage(JSON.stringify(e3), "*");
|
|
56
|
-
} else if ($.value) if ("https:" === window.location.protocol) pe.value = true;
|
|
57
|
-
else {
|
|
58
|
-
const e3 = { type: "scan", componentId: E.value, systemCode: O.pageContext.systemCode };
|
|
59
|
-
window.parent.postMessage(JSON.stringify(e3), "*");
|
|
60
|
-
}
|
|
61
|
-
else pe.value = true;
|
|
43
|
+
const le = W.style, te = W.class, oe = W.headerStyle, ne = W.titleExceedStyle;
|
|
44
|
+
function ae(e3) {
|
|
45
|
+
return V(O, B, e3);
|
|
62
46
|
}
|
|
63
|
-
|
|
64
|
-
|
|
47
|
+
const ue = l(false);
|
|
48
|
+
function ie(e3) {
|
|
49
|
+
ue.value = false, ae(e3);
|
|
65
50
|
}
|
|
66
|
-
return
|
|
67
|
-
return
|
|
68
|
-
}, setValue:
|
|
69
|
-
const
|
|
70
|
-
return
|
|
51
|
+
return L2({ getValue: function() {
|
|
52
|
+
return h(O, B);
|
|
53
|
+
}, setValue: ae }), (e3, l2) => {
|
|
54
|
+
const t2 = i("el-input"), o2 = i("scan-code-input-browser"), n2 = i("el-form-item");
|
|
55
|
+
return c(), r(n2, { ref_key: "formItemRef", ref: E, required: !!G.value.required, class: s(v(te)), "label-width": G.value.labelWidth, style: p(v(le)) }, { label: f(() => [G.value.tittleShow ? (c(), C("div", { key: 0, ref_key: "titleRef", ref: U, style: p({ ...v(oe), ...v(ne) }) }, [G.value.prefixType ? (c(), r(P, { key: 0, pageContext: e3.pageContext, property: G.value }, null, 8, ["pageContext", "property"])) : (c(), C(I, { key: 1 }, [d(x(v(D)(G.value.title)), 1)], 64))], 4)) : y("", true)]), default: f(() => [g(t2, { ref_key: "componentRef", ref: F, disabled: "disabled" === G.value.state, readonly: "readonly" === G.value.state, size: G.value.size, clearable: G.value.clearable, placeholder: G.value.placeholder, maxlength: G.value.maxLength, "show-word-limit": G.value.showInputNum, modelValue: A.value, "onUpdate:modelValue": l2[5] || (l2[5] = (e4) => A.value = e4), onInput: l2[6] || (l2[6] = (l3) => v(b)(l3, e3.pageContext, e3.configure, "input")), onChange: l2[7] || (l2[7] = (l3) => v(b)(l3, e3.pageContext, e3.configure, "change")), onBlur: l2[8] || (l2[8] = (l3) => v(b)(l3, e3.pageContext, e3.configure, "blur")), onFocus: l2[9] || (l2[9] = (l3) => v(b)(l3, e3.pageContext, e3.configure, "focus")), onClick: l2[10] || (l2[10] = (l3) => v(b)(l3, e3.pageContext, e3.configure, "click")) }, m({ _: 2 }, ["outer" != G.value.iconPosition && (G.value.preIconType && G.value.preIconValue || G.value.preText) ? { name: "prefix", fn: f(() => [G.value.preIconType && G.value.preIconValue ? (c(), r(v(T), { key: 0, iconType: G.value.preIconType, iconValue: G.value.preIconValue, onClick: l2[0] || (l2[0] = (l3) => v(_)(A.value, e3.pageContext, e3.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : y("", true), d(" " + x(v(D)(G.value.preText)), 1)]), key: "0" } : void 0, "outer" == G.value.iconPosition && (G.value.preIconType && G.value.preIconValue || G.value.preText) ? { name: "prepend", fn: f(() => [G.value.preIconType && G.value.preIconValue ? (c(), r(v(T), { key: 0, iconType: G.value.preIconType, iconValue: G.value.preIconValue, onClick: l2[1] || (l2[1] = (l3) => v(_)(A.value, e3.pageContext, e3.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : y("", true), d(" " + x(v(D)(G.value.preText)), 1)]), key: "1" } : void 0, "outer" != G.value.iconPosition && (G.value.sufIconType && G.value.sufIconValue || G.value.sufText) ? { name: "suffix", fn: f(() => [G.value.sufIconType && G.value.sufIconValue ? (c(), r(v(T), { key: 0, iconType: G.value.sufIconType, iconValue: G.value.sufIconValue, onClick: l2[2] || (l2[2] = (l3) => v(_)(A.value, e3.pageContext, e3.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : y("", true), d(" " + x(v(D)(G.value.sufText)), 1)]), key: "2" } : void 0, Z.value || "outer" == G.value.iconPosition && (G.value.sufIconType && G.value.sufIconValue || G.value.sufText) ? { name: "append", fn: f(() => [Z.value ? (c(), r(v(T), { key: 0, iconValue: "fa-barcode", onClick: l2[3] || (l2[3] = (e4) => function() {
|
|
56
|
+
if (Y || K) {
|
|
57
|
+
const e5 = { type: "scan", componentId: $.value, systemCode: N.pageContext.systemCode };
|
|
58
|
+
K && (e5.type = "dingTalkScan"), window.parent.postMessage(JSON.stringify(e5), "*");
|
|
59
|
+
} else if (J.value) if ("https:" === window.location.protocol) ue.value = true;
|
|
60
|
+
else {
|
|
61
|
+
const e5 = { type: "scan", componentId: $.value, systemCode: N.pageContext.systemCode };
|
|
62
|
+
window.parent.postMessage(JSON.stringify(e5), "*");
|
|
63
|
+
}
|
|
64
|
+
else ue.value = true;
|
|
65
|
+
}()) })) : y("", true), G.value.sufIconType && G.value.sufIconValue ? (c(), r(v(T), { key: 1, iconType: G.value.sufIconType, iconValue: G.value.sufIconValue, onClick: l2[4] || (l2[4] = (l3) => v(_)(A.value, e3.pageContext, e3.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : y("", true), d(" " + x(v(D)(G.value.sufText)), 1)]), key: "3" } : void 0]), 1032, ["disabled", "readonly", "size", "clearable", "placeholder", "maxlength", "show-word-limit", "modelValue"]), ue.value ? (c(), r(o2, { key: 0, onClose: ie })) : y("", true)]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
|
|
71
66
|
};
|
|
72
67
|
} });
|
|
73
68
|
export {
|
|
74
|
-
|
|
69
|
+
L as default
|
|
75
70
|
};
|
package/dist/es/index.d.ts
CHANGED
|
@@ -6,9 +6,8 @@ import { default as cn } from './i18n/langs/cn.js';
|
|
|
6
6
|
import { default as en } from './i18n/langs/en.js';
|
|
7
7
|
import { getDateShortCuts } from './components/runtime/utils/form/date-shortcuts';
|
|
8
8
|
import { getListCode } from './components/runtime/utils/common-util';
|
|
9
|
-
import { default as YxAffix } from './components/runtime/views/assemblys/container/fixed/YxAffix.vue';
|
|
10
9
|
|
|
11
|
-
export { SuperPageNew, SuperPageDialogNew, getComponentOptionConfigs, HomeChart
|
|
10
|
+
export { SuperPageNew, SuperPageDialogNew, getComponentOptionConfigs, HomeChart };
|
|
12
11
|
export { getStandPermissionInfo, getFunctionInfo, FuncType };
|
|
13
12
|
export { getCustomTheme, getCustomThemeOptions, getNumFormatter as getNumFormatterForChart };
|
|
14
13
|
export { getDateShortCuts };
|
package/dist/es/index.js
CHANGED
|
@@ -8,13 +8,11 @@ import { default as default5 } from "./i18n/langs/cn.js";
|
|
|
8
8
|
import { default as default6 } from "./i18n/langs/en.js";
|
|
9
9
|
import { getDateShortCuts } from "./components/runtime/utils/form/date-shortcuts.js";
|
|
10
10
|
import { getListCode } from "./components/runtime/utils/common-util.js";
|
|
11
|
-
import { default as default7 } from "./components/runtime/views/assemblys/container/fixed/YxAffix.vue.js";
|
|
12
11
|
export {
|
|
13
12
|
FuncType,
|
|
14
13
|
default4 as HomeChart,
|
|
15
14
|
default3 as SuperPageDialogNew,
|
|
16
15
|
default2 as SuperPageNew,
|
|
17
|
-
default7 as YxAffix,
|
|
18
16
|
default5 as cn,
|
|
19
17
|
default6 as en,
|
|
20
18
|
getComponentOptionConfigs,
|
package/dist/es/style.css
CHANGED
|
@@ -1,294 +1,18 @@
|
|
|
1
|
-
.runtime-page-container[data-v-
|
|
1
|
+
.runtime-page-container[data-v-72c824d1] {
|
|
2
2
|
overflow: auto;
|
|
3
3
|
height: 100%;
|
|
4
4
|
max-height: 100vh;
|
|
5
5
|
padding: var(--runtime-page-container-padding, 15px);
|
|
6
6
|
}
|
|
7
|
-
|
|
8
|
-
.runtime-page-container[data-v-392af192] .el-col-1 {
|
|
9
|
-
flex: 0 0 100%;
|
|
10
|
-
max-width: 100%;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
.runtime-page-container[data-v-392af192] .el-col-1 > .el-form-item:only-child {
|
|
14
|
-
margin-bottom: 0;
|
|
15
|
-
}
|
|
16
|
-
.runtime-page-container[data-v-392af192] .el-col-2 {
|
|
17
|
-
flex: 0 0 calc(2 / 24 * (100% - (24 / 2 - 1) * var(--layout-form-flex-gap, 15px)));
|
|
18
|
-
max-width: calc(2 / 24 * (100% - (24 / 2 - 1) * var(--layout-form-flex-gap, 15px)));
|
|
19
|
-
}
|
|
20
|
-
@media (max-width: 768px) {
|
|
21
|
-
.runtime-page-container[data-v-392af192] .el-col-2 {
|
|
22
|
-
flex: 0 0 100%;
|
|
23
|
-
max-width: 100%;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
.runtime-page-container[data-v-392af192] .el-col-2 > .el-form-item:only-child {
|
|
27
|
-
margin-bottom: 0;
|
|
28
|
-
}
|
|
29
|
-
@media (max-width: 768px) {
|
|
30
|
-
.runtime-page-container[data-v-392af192] .el-col-3 {
|
|
31
|
-
flex: 0 0 100%;
|
|
32
|
-
max-width: 100%;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
.runtime-page-container[data-v-392af192] .el-col-3 > .el-form-item:only-child {
|
|
36
|
-
margin-bottom: 0;
|
|
37
|
-
}
|
|
38
|
-
.runtime-page-container[data-v-392af192] .el-col-4 {
|
|
39
|
-
flex: 0 0 calc(4 / 24 * (100% - (24 / 4 - 1) * var(--layout-form-flex-gap, 15px)));
|
|
40
|
-
max-width: calc(4 / 24 * (100% - (24 / 4 - 1) * var(--layout-form-flex-gap, 15px)));
|
|
41
|
-
}
|
|
42
|
-
@media (max-width: 768px) {
|
|
43
|
-
.runtime-page-container[data-v-392af192] .el-col-4 {
|
|
44
|
-
flex: 0 0 100%;
|
|
45
|
-
max-width: 100%;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
.runtime-page-container[data-v-392af192] .el-col-4 > .el-form-item:only-child {
|
|
49
|
-
margin-bottom: 0;
|
|
50
|
-
}
|
|
51
|
-
@media (max-width: 768px) {
|
|
52
|
-
.runtime-page-container[data-v-392af192] .el-col-5 {
|
|
53
|
-
flex: 0 0 100%;
|
|
54
|
-
max-width: 100%;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
.runtime-page-container[data-v-392af192] .el-col-5 > .el-form-item:only-child {
|
|
58
|
-
margin-bottom: 0;
|
|
59
|
-
}
|
|
60
|
-
.runtime-page-container[data-v-392af192] .el-col-6 {
|
|
61
|
-
flex: 0 0 calc(6 / 24 * (100% - (24 / 6 - 1) * var(--layout-form-flex-gap, 15px)));
|
|
62
|
-
max-width: calc(6 / 24 * (100% - (24 / 6 - 1) * var(--layout-form-flex-gap, 15px)));
|
|
63
|
-
}
|
|
64
|
-
@media (max-width: 768px) {
|
|
65
|
-
.runtime-page-container[data-v-392af192] .el-col-6 {
|
|
66
|
-
flex: 0 0 100%;
|
|
67
|
-
max-width: 100%;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
.runtime-page-container[data-v-392af192] .el-col-6 > .el-form-item:only-child {
|
|
71
|
-
margin-bottom: 0;
|
|
72
|
-
}
|
|
73
|
-
@media (max-width: 768px) {
|
|
74
|
-
.runtime-page-container[data-v-392af192] .el-col-7 {
|
|
75
|
-
flex: 0 0 100%;
|
|
76
|
-
max-width: 100%;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
.runtime-page-container[data-v-392af192] .el-col-7 > .el-form-item:only-child {
|
|
80
|
-
margin-bottom: 0;
|
|
81
|
-
}
|
|
82
|
-
.runtime-page-container[data-v-392af192] .el-col-8 {
|
|
83
|
-
flex: 0 0 calc(8 / 24 * (100% - (24 / 8 - 1) * var(--layout-form-flex-gap, 15px)));
|
|
84
|
-
max-width: calc(8 / 24 * (100% - (24 / 8 - 1) * var(--layout-form-flex-gap, 15px)));
|
|
85
|
-
}
|
|
86
|
-
@media (max-width: 768px) {
|
|
87
|
-
.runtime-page-container[data-v-392af192] .el-col-8 {
|
|
88
|
-
flex: 0 0 100%;
|
|
89
|
-
max-width: 100%;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
.runtime-page-container[data-v-392af192] .el-col-8 > .el-form-item:only-child {
|
|
93
|
-
margin-bottom: 0;
|
|
94
|
-
}
|
|
95
|
-
@media (max-width: 768px) {
|
|
96
|
-
.runtime-page-container[data-v-392af192] .el-col-9 {
|
|
97
|
-
flex: 0 0 100%;
|
|
98
|
-
max-width: 100%;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
.runtime-page-container[data-v-392af192] .el-col-9 > .el-form-item:only-child {
|
|
102
|
-
margin-bottom: 0;
|
|
103
|
-
}
|
|
104
|
-
@media (max-width: 768px) {
|
|
105
|
-
.runtime-page-container[data-v-392af192] .el-col-10 {
|
|
106
|
-
flex: 0 0 100%;
|
|
107
|
-
max-width: 100%;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
.runtime-page-container[data-v-392af192] .el-col-10 > .el-form-item:only-child {
|
|
111
|
-
margin-bottom: 0;
|
|
112
|
-
}
|
|
113
|
-
@media (max-width: 768px) {
|
|
114
|
-
.runtime-page-container[data-v-392af192] .el-col-11 {
|
|
115
|
-
flex: 0 0 100%;
|
|
116
|
-
max-width: 100%;
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
.runtime-page-container[data-v-392af192] .el-col-11 > .el-form-item:only-child {
|
|
120
|
-
margin-bottom: 0;
|
|
121
|
-
}
|
|
122
|
-
.runtime-page-container[data-v-392af192] .el-col-12 {
|
|
123
|
-
flex: 0 0 calc(12 / 24 * (100% - (24 / 12 - 1) * var(--layout-form-flex-gap, 15px)));
|
|
124
|
-
max-width: calc(12 / 24 * (100% - (24 / 12 - 1) * var(--layout-form-flex-gap, 15px)));
|
|
125
|
-
}
|
|
126
|
-
@media (max-width: 768px) {
|
|
127
|
-
.runtime-page-container[data-v-392af192] .el-col-12 {
|
|
128
|
-
flex: 0 0 100%;
|
|
129
|
-
max-width: 100%;
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
.runtime-page-container[data-v-392af192] .el-col-12 > .el-form-item:only-child {
|
|
133
|
-
margin-bottom: 0;
|
|
134
|
-
}
|
|
135
|
-
@media (max-width: 768px) {
|
|
136
|
-
.runtime-page-container[data-v-392af192] .el-col-13 {
|
|
137
|
-
flex: 0 0 100%;
|
|
138
|
-
max-width: 100%;
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
.runtime-page-container[data-v-392af192] .el-col-13 > .el-form-item:only-child {
|
|
142
|
-
margin-bottom: 0;
|
|
143
|
-
}
|
|
144
|
-
.runtime-page-container[data-v-392af192] .el-col-14 {
|
|
145
|
-
flex: 0 0 calc(14 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
|
|
146
|
-
max-width: calc(14 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
|
|
147
|
-
}
|
|
148
|
-
@media (max-width: 768px) {
|
|
149
|
-
.runtime-page-container[data-v-392af192] .el-col-14 {
|
|
150
|
-
flex: 0 0 100%;
|
|
151
|
-
max-width: 100%;
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
.runtime-page-container[data-v-392af192] .el-col-14 > .el-form-item:only-child {
|
|
155
|
-
margin-bottom: 0;
|
|
156
|
-
}
|
|
157
|
-
@media (max-width: 768px) {
|
|
158
|
-
.runtime-page-container[data-v-392af192] .el-col-15 {
|
|
159
|
-
flex: 0 0 100%;
|
|
160
|
-
max-width: 100%;
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
.runtime-page-container[data-v-392af192] .el-col-15 > .el-form-item:only-child {
|
|
164
|
-
margin-bottom: 0;
|
|
165
|
-
}
|
|
166
|
-
.runtime-page-container[data-v-392af192] .el-col-16 {
|
|
167
|
-
flex: 0 0 calc(16 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
|
|
168
|
-
max-width: calc(16 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
|
|
169
|
-
}
|
|
170
|
-
@media (max-width: 768px) {
|
|
171
|
-
.runtime-page-container[data-v-392af192] .el-col-16 {
|
|
172
|
-
flex: 0 0 100%;
|
|
173
|
-
max-width: 100%;
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
.runtime-page-container[data-v-392af192] .el-col-16 > .el-form-item:only-child {
|
|
177
|
-
margin-bottom: 0;
|
|
178
|
-
}
|
|
179
|
-
@media (max-width: 768px) {
|
|
180
|
-
.runtime-page-container[data-v-392af192] .el-col-17 {
|
|
181
|
-
flex: 0 0 100%;
|
|
182
|
-
max-width: 100%;
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
.runtime-page-container[data-v-392af192] .el-col-17 > .el-form-item:only-child {
|
|
186
|
-
margin-bottom: 0;
|
|
187
|
-
}
|
|
188
|
-
.runtime-page-container[data-v-392af192] .el-col-18 {
|
|
189
|
-
flex: 0 0 calc(18 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
|
|
190
|
-
max-width: calc(18 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
|
|
191
|
-
}
|
|
192
|
-
@media (max-width: 768px) {
|
|
193
|
-
.runtime-page-container[data-v-392af192] .el-col-18 {
|
|
194
|
-
flex: 0 0 100%;
|
|
195
|
-
max-width: 100%;
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
.runtime-page-container[data-v-392af192] .el-col-18 > .el-form-item:only-child {
|
|
199
|
-
margin-bottom: 0;
|
|
200
|
-
}
|
|
201
|
-
@media (max-width: 768px) {
|
|
202
|
-
.runtime-page-container[data-v-392af192] .el-col-19 {
|
|
203
|
-
flex: 0 0 100%;
|
|
204
|
-
max-width: 100%;
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
.runtime-page-container[data-v-392af192] .el-col-19 > .el-form-item:only-child {
|
|
208
|
-
margin-bottom: 0;
|
|
209
|
-
}
|
|
210
|
-
@media (max-width: 768px) {
|
|
211
|
-
.runtime-page-container[data-v-392af192] .el-col-20 {
|
|
212
|
-
flex: 0 0 100%;
|
|
213
|
-
max-width: 100%;
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
.runtime-page-container[data-v-392af192] .el-col-20 > .el-form-item:only-child {
|
|
217
|
-
margin-bottom: 0;
|
|
218
|
-
}
|
|
219
|
-
@media (max-width: 768px) {
|
|
220
|
-
.runtime-page-container[data-v-392af192] .el-col-21 {
|
|
221
|
-
flex: 0 0 100%;
|
|
222
|
-
max-width: 100%;
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
.runtime-page-container[data-v-392af192] .el-col-21 > .el-form-item:only-child {
|
|
226
|
-
margin-bottom: 0;
|
|
227
|
-
}
|
|
228
|
-
@media (max-width: 768px) {
|
|
229
|
-
.runtime-page-container[data-v-392af192] .el-col-22 {
|
|
230
|
-
flex: 0 0 100%;
|
|
231
|
-
max-width: 100%;
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
.runtime-page-container[data-v-392af192] .el-col-22 > .el-form-item:only-child {
|
|
235
|
-
margin-bottom: 0;
|
|
236
|
-
}
|
|
237
|
-
@media (max-width: 768px) {
|
|
238
|
-
.runtime-page-container[data-v-392af192] .el-col-23 {
|
|
239
|
-
flex: 0 0 100%;
|
|
240
|
-
max-width: 100%;
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
.runtime-page-container[data-v-392af192] .el-col-23 > .el-form-item:only-child {
|
|
244
|
-
margin-bottom: 0;
|
|
245
|
-
}
|
|
246
|
-
@media (max-width: 768px) {
|
|
247
|
-
.runtime-page-container[data-v-392af192] .el-col-24 {
|
|
248
|
-
flex: 0 0 100%;
|
|
249
|
-
max-width: 100%;
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
.runtime-page-container[data-v-392af192] .el-col-24 > .el-form-item:only-child {
|
|
253
|
-
margin-bottom: 0;
|
|
254
|
-
}
|
|
255
|
-
.runtime-page-container[data-v-392af192] .runtime-page-container-view {
|
|
7
|
+
.runtime-page-container .runtime-page-container-view[data-v-72c824d1] {
|
|
256
8
|
display: flex;
|
|
257
9
|
flex-direction: column;
|
|
258
|
-
align-
|
|
10
|
+
align-items: stretch;
|
|
259
11
|
gap: var(--runtime-page-container-view-gap, 15px);
|
|
260
|
-
|
|
261
|
-
height: auto;
|
|
262
|
-
}
|
|
263
|
-
.runtime-page-container[data-v-392af192] .runtime-page-container-view .el-form {
|
|
264
|
-
width: 100%;
|
|
265
|
-
display: flex;
|
|
266
|
-
flex-wrap: wrap;
|
|
267
|
-
gap: var(--runtime-page-container-view-gap, 15px);
|
|
268
|
-
}
|
|
269
|
-
.runtime-page-container[data-v-392af192] .runtime-page-container-view .el-form > div {
|
|
270
|
-
width: 100%;
|
|
271
|
-
}
|
|
272
|
-
.runtime-page-container[data-v-392af192] .runtime-page-container-view > div {
|
|
273
|
-
width: 100%;
|
|
274
|
-
}
|
|
275
|
-
.runtime-page-container[data-v-392af192] .runtime-page-container-view > .el-row[class*=el-col-] {
|
|
276
|
-
flex: none;
|
|
277
|
-
}
|
|
278
|
-
.runtime-page-container[data-v-392af192] .runtime-page-container-view .el-row {
|
|
279
|
-
gap: var(--layout-form-flex-gap, 15px);
|
|
280
|
-
}.yx-affix[data-v-d053fb6d]:has(.yx-affix-content:empty) {
|
|
281
|
-
display: none;
|
|
282
|
-
}
|
|
283
|
-
.yx-affix .yx-affix-content.is-fixed.is-top > .yx-fixed-box-container[data-v-d053fb6d] {
|
|
284
|
-
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
|
285
|
-
}
|
|
286
|
-
.yx-affix .yx-affix-content.is-fixed.is-bottom > .yx-fixed-box-container[data-v-d053fb6d] {
|
|
287
|
-
box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.2);
|
|
288
|
-
}.yx-card-box-view-main[data-v-fc66efb1] > .el-card__header {
|
|
12
|
+
}.yx-card-box-view-main[data-v-799b1858] > .el-card__header {
|
|
289
13
|
position: relative;
|
|
290
14
|
}
|
|
291
|
-
.yx-card-box-view-main .yx-card-box-view-header[data-v-
|
|
15
|
+
.yx-card-box-view-main .yx-card-box-view-header[data-v-799b1858] {
|
|
292
16
|
display: flex;
|
|
293
17
|
flex-direction: row;
|
|
294
18
|
justify-content: space-between;
|
|
@@ -296,12 +20,12 @@
|
|
|
296
20
|
gap: 15px;
|
|
297
21
|
flex: 1 1 auto;
|
|
298
22
|
}
|
|
299
|
-
.yx-card-box-view-main .yx-card-box-view-title[data-v-
|
|
23
|
+
.yx-card-box-view-main .yx-card-box-view-title[data-v-799b1858] {
|
|
300
24
|
position: relative;
|
|
301
25
|
z-index: 2;
|
|
302
26
|
flex: 1 1 auto;
|
|
303
27
|
}
|
|
304
|
-
.yx-card-box-view-main .yx-card-box-view-title[data-v-
|
|
28
|
+
.yx-card-box-view-main .yx-card-box-view-title[data-v-799b1858]::after {
|
|
305
29
|
content: " ";
|
|
306
30
|
position: absolute;
|
|
307
31
|
left: 0;
|
|
@@ -310,75 +34,53 @@
|
|
|
310
34
|
right: 0;
|
|
311
35
|
z-index: 0;
|
|
312
36
|
}
|
|
313
|
-
.yx-card-box-view-main[data-collapse=false][data-v-
|
|
37
|
+
.yx-card-box-view-main[data-collapse=false][data-v-799b1858] > .el-card__body {
|
|
314
38
|
display: none;
|
|
315
39
|
}
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
.yx-card-box-view-context[data-v-fc66efb1] > div {
|
|
320
|
-
width: 100%;
|
|
321
|
-
}
|
|
322
|
-
.yx-card-box-view-context[data-v-fc66efb1] > .el-form-item {
|
|
323
|
-
margin: 0;
|
|
324
|
-
}
|
|
325
|
-
.yx-card-box-view-context[data-v-fc66efb1] > .el-form-item[class*=el-col-8] {
|
|
326
|
-
flex: 0 0 calc((100% - var(--layout-form-flex-gap, 15px) * 2) / 3);
|
|
327
|
-
}
|
|
328
|
-
@media (max-width: 768px) {
|
|
329
|
-
.yx-card-box-view-context[data-v-fc66efb1] > .el-form-item[class*=el-col-8] {
|
|
40
|
+
@media (max-width: 992px) {
|
|
41
|
+
.yx-card-box-view-context[data-v-799b1858] > .el-form-item, .yx-card-box-view-context[data-v-799b1858] > [class*=el-col] {
|
|
42
|
+
width: 100%;
|
|
330
43
|
max-width: none;
|
|
331
|
-
flex: 0 0
|
|
44
|
+
flex: 0 0 50%;
|
|
332
45
|
}
|
|
333
46
|
}
|
|
334
47
|
@media (max-width: 600px) {
|
|
335
|
-
.yx-card-box-view-context[data-v-
|
|
48
|
+
.yx-card-box-view-context[data-v-799b1858] > .el-form-item, .yx-card-box-view-context[data-v-799b1858] > [class*=el-col] {
|
|
336
49
|
width: 100%;
|
|
337
50
|
max-width: none;
|
|
338
51
|
flex: auto;
|
|
339
52
|
}
|
|
340
|
-
}.runtime-page-container-tabs-view[data-v-f38fed66] > .el-tabs__content > .el-tab-pane {
|
|
341
|
-
display: flex;
|
|
342
|
-
flex-direction: column;
|
|
343
|
-
align-content: flex-start;
|
|
344
|
-
gap: var(--runtime-page-container-view-gap, 15px);
|
|
345
53
|
}
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
}.yx-fixed-box-main[data-v-9b488f43]:has(.yx-fixed-box-container:empty) {
|
|
350
|
-
display: none;
|
|
54
|
+
@media (max-width: 450px) {
|
|
55
|
+
.yx-card-box-view-context[data-v-799b1858] .el-form-item {
|
|
56
|
+
flex-direction: column;
|
|
351
57
|
}
|
|
352
|
-
.yx-
|
|
58
|
+
.yx-card-box-view-context[data-v-799b1858] .el-form-item .el-form-item__label {
|
|
59
|
+
width: 100% !important;
|
|
60
|
+
justify-content: flex-start;
|
|
61
|
+
text-align: left;
|
|
62
|
+
}
|
|
63
|
+
}.yx-fixed-box-main.is-top > .yx-fixed-box-container[data-v-1cc14e88] {
|
|
353
64
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
|
354
65
|
}
|
|
355
|
-
.yx-fixed-box-main.is-bottom > .yx-fixed-box-container[data-v-
|
|
66
|
+
.yx-fixed-box-main.is-bottom > .yx-fixed-box-container[data-v-1cc14e88] {
|
|
356
67
|
box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.2);
|
|
357
68
|
}
|
|
358
69
|
@media (max-width: 768px) {
|
|
359
|
-
.yx-fixed-box-main > .yx-fixed-box-container[data-v-
|
|
70
|
+
.yx-fixed-box-main > .yx-fixed-box-container[data-v-1cc14e88] {
|
|
360
71
|
width: 100% !important;
|
|
361
72
|
left: 0 !important;
|
|
362
73
|
right: 0 !important;
|
|
363
74
|
}
|
|
364
|
-
}.amb-widget-
|
|
365
|
-
display: none;
|
|
366
|
-
}
|
|
367
|
-
.amb-widget-tools-parent[data-v-445a411e] .amb-widget-container-tool {
|
|
75
|
+
}.amb-widget-container-tool[data-v-7aefa8b2] {
|
|
368
76
|
display: flex;
|
|
369
77
|
flex-wrap: wrap;
|
|
370
78
|
gap: var(--amb-widget-container-tool-gap, 10px);
|
|
371
79
|
}
|
|
372
|
-
.amb-widget-
|
|
373
|
-
display: none;
|
|
374
|
-
}
|
|
375
|
-
.amb-widget-tools-parent[data-v-445a411e] .amb-widget-container-tool > .page-runtime-header-btn:has(> .page-runtime-header-btn) {
|
|
80
|
+
.amb-widget-container-tool[data-v-7aefa8b2] > .page-runtime-header-btn:has(> .page-runtime-header-btn) {
|
|
376
81
|
display: flex;
|
|
377
82
|
flex-wrap: wrap;
|
|
378
83
|
gap: inherit;
|
|
379
|
-
}
|
|
380
|
-
.amb-widget-tools-parent[data-v-445a411e] .amb-widget-container-tool > .el-form-item {
|
|
381
|
-
margin-bottom: 0;
|
|
382
84
|
}.el-form-item[data-v-96fc65d8] {
|
|
383
85
|
margin-bottom: 0px;
|
|
384
86
|
}
|
|
@@ -387,49 +89,3 @@
|
|
|
387
89
|
}
|
|
388
90
|
|
|
389
91
|
|
|
390
|
-
|
|
391
|
-
/** 右键菜单样式 */
|
|
392
|
-
.context-menu[data-v-c18f2291] {
|
|
393
|
-
position: absolute;
|
|
394
|
-
background: #fff;
|
|
395
|
-
z-index: 999;
|
|
396
|
-
margin: 5;
|
|
397
|
-
padding: 8px 8px;
|
|
398
|
-
box-shadow: 0 5px 7px 1px rgba(0, 0, 0, 0.1);
|
|
399
|
-
border: 1px solid #bbbbbb;
|
|
400
|
-
border-radius: 10px;
|
|
401
|
-
font-size: 14px;
|
|
402
|
-
}
|
|
403
|
-
.context-menu li[data-v-c18f2291] {
|
|
404
|
-
list-style-type: none;
|
|
405
|
-
min-width: 75px;
|
|
406
|
-
line-height: 28px;
|
|
407
|
-
text-align: left;
|
|
408
|
-
border-radius: 5px;
|
|
409
|
-
padding-left: 5px;
|
|
410
|
-
cursor: pointer;
|
|
411
|
-
}
|
|
412
|
-
.context-menu li[data-v-c18f2291]:hover {
|
|
413
|
-
background: #0165e1;
|
|
414
|
-
color: #fff;
|
|
415
|
-
}
|
|
416
|
-
/** 右键菜单样式 */
|
|
417
|
-
.custom-tree-node[data-v-c18f2291] {
|
|
418
|
-
flex: 1;
|
|
419
|
-
display: flex;
|
|
420
|
-
align-items: center;
|
|
421
|
-
justify-content: space-between;
|
|
422
|
-
font-size: 14px;
|
|
423
|
-
padding-right: 8px;
|
|
424
|
-
}
|
|
425
|
-
.item-side {
|
|
426
|
-
&[data-v-c18f2291] {
|
|
427
|
-
display: flex;
|
|
428
|
-
align-items: center;
|
|
429
|
-
}
|
|
430
|
-
.file[data-v-c18f2291] {
|
|
431
|
-
width: 17px;
|
|
432
|
-
height: 17px;
|
|
433
|
-
margin-right: 5px;
|
|
434
|
-
}
|
|
435
|
-
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "super-page-runtime",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.59",
|
|
4
4
|
"description": "AgileBuilder super page runtime",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"main": "dist/es/index.js",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@vitejs/plugin-vue-jsx": "^3.1.0",
|
|
49
49
|
"@vue/eslint-config-prettier": "^8.0.0",
|
|
50
50
|
"@vue/test-utils": "^2.4.4",
|
|
51
|
-
"agilebuilder-ui": "1.1.
|
|
51
|
+
"agilebuilder-ui": "1.1.23",
|
|
52
52
|
"axios": "^1.6.8",
|
|
53
53
|
"cypress": "^13.6.6",
|
|
54
54
|
"element-plus": "^2.6.1",
|