super-page-runtime 2.3.17-sit2 → 2.3.17-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/api/page-expose-util.js +46 -33
- package/dist/es/components/runtime/utils/events/standard-event.js +2 -1
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +11 -10
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +3 -3
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +3 -0
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +11 -8
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +5 -2
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +77 -74
- package/dist/es/style.css +40 -26
- package/package.json +2 -2
|
@@ -7,20 +7,21 @@ import { dynamicControlTableEdit as f, disabledAllFields as p, updateFormItemEdi
|
|
|
7
7
|
import { deepCopy as g, getBaseUrl as y } from "../common-util.js";
|
|
8
8
|
import { replacePrefix as b, isMobileBrowser as h } from "agilebuilder-ui/src/utils/common-util";
|
|
9
9
|
import { getFormModelFields as E, getModelFields as P } from "../page-init-util.js";
|
|
10
|
-
import { getCustomFunc as
|
|
11
|
-
import { isHasFieldPermissionAuth as
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
import { getCustomFunc as C } from "../events/event-util.js";
|
|
11
|
+
import { isHasFieldPermissionAuth as k } from "../table-utils.js";
|
|
12
|
+
import "dayjs";
|
|
13
|
+
const T = { showElement: function(e2, t2, n2) {
|
|
14
|
+
n2 ? V(e2, "showElement", t2) : t2.forEach((t3) => {
|
|
14
15
|
const n3 = s(e2, t3);
|
|
15
16
|
n3 && n3.show();
|
|
16
17
|
});
|
|
17
18
|
}, hideElement: function(e2, t2, n2) {
|
|
18
|
-
n2 ?
|
|
19
|
+
n2 ? V(e2, "hideElement", t2) : t2.forEach((t3) => {
|
|
19
20
|
const n3 = s(e2, t3);
|
|
20
21
|
n3 && n3.hide();
|
|
21
22
|
});
|
|
22
23
|
}, enableElement: function(e2, t2, n2) {
|
|
23
|
-
n2 ?
|
|
24
|
+
n2 ? V(e2, "enableElement", t2) : t2.forEach((t3) => {
|
|
24
25
|
const n3 = s(e2, t3);
|
|
25
26
|
if (n3) {
|
|
26
27
|
const e3 = n3.getConfigure();
|
|
@@ -28,7 +29,7 @@ const v = { showElement: function(e2, t2, n2) {
|
|
|
28
29
|
}
|
|
29
30
|
});
|
|
30
31
|
}, disableElement: function(e2, t2, n2) {
|
|
31
|
-
n2 ?
|
|
32
|
+
n2 ? V(e2, "disableElement", t2) : t2.forEach((t3) => {
|
|
32
33
|
const n3 = s(e2, t3);
|
|
33
34
|
if (n3) {
|
|
34
35
|
const e3 = n3.getConfigure();
|
|
@@ -48,7 +49,7 @@ const v = { showElement: function(e2, t2, n2) {
|
|
|
48
49
|
o(e2.entity, i2.startsWith("${") ? i2 : "${" + t2 + "." + i2 + "}", n2[i2]);
|
|
49
50
|
});
|
|
50
51
|
}, dynamicControlFormEdit: function(e2, t2, n2) {
|
|
51
|
-
n2 ?
|
|
52
|
+
n2 ? V(e2, "dynamicControlFormEdit", t2) : d(e2, t2);
|
|
52
53
|
}, disabledAllFields(e2) {
|
|
53
54
|
p(e2);
|
|
54
55
|
}, dynamicControlTableEdit(e2, t2, n2) {
|
|
@@ -96,11 +97,11 @@ const v = { showElement: function(e2, t2, n2) {
|
|
|
96
97
|
} else if (e3.name && ("select" === e3.name && ((_j = (_i = e3.props) == null ? void 0 : _i.base) == null ? void 0 : _j.multiple) || "checkbox" === e3.name)) {
|
|
97
98
|
const t2 = E(o2, e3), a2 = n(r2, t2);
|
|
98
99
|
if (a2) {
|
|
99
|
-
const e4 =
|
|
100
|
+
const e4 = j(a2.split(","), s3);
|
|
100
101
|
i(r2, t2, e4);
|
|
101
102
|
}
|
|
102
103
|
} else {
|
|
103
|
-
const t2 = E(o2, e3), a2 =
|
|
104
|
+
const t2 = E(o2, e3), a2 = j(n(r2, t2), s3);
|
|
104
105
|
i(r2, t2, a2);
|
|
105
106
|
}
|
|
106
107
|
}
|
|
@@ -111,41 +112,53 @@ const v = { showElement: function(e2, t2, n2) {
|
|
|
111
112
|
if (e2.indexOf("__") > 0 && (t2 = e2.substring(e2.lastIndexOf("__") + 2)), t2) {
|
|
112
113
|
const i2 = a(o2, t2);
|
|
113
114
|
if (i2) {
|
|
114
|
-
const t3 = i2.getConfigure(), o3 = t3.code ? t3.code : e2, a2 = P(t3, o3), s3 = n(r2, a2);
|
|
115
|
-
|
|
115
|
+
const t3 = i2.getConfigure(), o3 = t3.code ? t3.code : e2, a2 = P(t3, o3), s3 = n(r2, a2), l3 = i2.getTableSelectOptions(e2), c3 = i2.getColumns(), u2 = {}, m2 = {};
|
|
116
|
+
c3 && c3.length > 0 && c3.forEach((e3) => {
|
|
117
|
+
"DATE" !== e3.dataType && "TIME" !== e3.dataType || (m2[e3.prop] = e3);
|
|
118
|
+
}), u2.formatDateColumns = m2, v(l3, s3, u2, i2);
|
|
116
119
|
}
|
|
117
120
|
}
|
|
118
121
|
}
|
|
119
122
|
return r2.data;
|
|
120
|
-
}, getFormData: (e2, t2) => c(e2, t2), getCustomFunc: (e2, t2) =>
|
|
123
|
+
}, getFormData: (e2, t2) => c(e2, t2), getCustomFunc: (e2, t2) => C(e2, t2), replaceUrlPrefix: (e2) => b(e2), isHasFieldAuthPermission: (e2) => {
|
|
121
124
|
var _a, _b, _c, _d;
|
|
122
125
|
return !(void 0 !== ((_b = (_a = e2 == null ? void 0 : e2.props) == null ? void 0 : _a.base) == null ? void 0 : _b.isHasFieldAuthPermission) && !((_d = (_c = e2 == null ? void 0 : e2.props) == null ? void 0 : _c.base) == null ? void 0 : _d.isHasFieldAuthPermission));
|
|
123
126
|
}, isHasFieldAuth(e2, t2) {
|
|
124
|
-
|
|
127
|
+
k(e2, null, t2);
|
|
125
128
|
}, isHasFieldAuthWithTable(e2, t2, n2) {
|
|
126
|
-
|
|
129
|
+
k(e2, t2, n2);
|
|
127
130
|
} };
|
|
128
|
-
function
|
|
129
|
-
e2 && t2
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
131
|
+
function v(e2, t2, n2, i2) {
|
|
132
|
+
if (e2 && t2) {
|
|
133
|
+
const o2 = i2.getSuperGridRef();
|
|
134
|
+
t2.forEach((t3) => {
|
|
135
|
+
if (n2 == null ? void 0 : n2.formatDateColumns) {
|
|
136
|
+
const e3 = n2.formatDateColumns;
|
|
137
|
+
Object.keys(e3).forEach((n3) => {
|
|
138
|
+
const i3 = e3[n3];
|
|
139
|
+
t3[n3] && (t3[n3] = o2.rowDoFormat(i3, t3[n3]));
|
|
140
|
+
});
|
|
141
|
+
}
|
|
142
|
+
Object.keys(e2).forEach((n3) => {
|
|
143
|
+
const i3 = t3[n3], o3 = e2[n3], a2 = o3.options, s2 = o3.column;
|
|
144
|
+
let r2;
|
|
145
|
+
if (s2 && s2.componentType && ("multiselect" === s2.componentType || "checkbox" === s2.componentType)) {
|
|
146
|
+
if (i3) {
|
|
147
|
+
r2 = j(i3.split(","), a2);
|
|
148
|
+
}
|
|
149
|
+
} else r2 = j(i3, a2);
|
|
150
|
+
t3[n3] = r2;
|
|
151
|
+
});
|
|
139
152
|
});
|
|
140
|
-
}
|
|
153
|
+
}
|
|
141
154
|
}
|
|
142
|
-
function
|
|
155
|
+
function j(e2, t2) {
|
|
143
156
|
let n2;
|
|
144
157
|
return null != e2 && t2 && (Array.isArray(e2) ? (n2 = "", e2.forEach((i2) => {
|
|
145
|
-
n2 = n2 +
|
|
146
|
-
}), n2.indexOf(",") > 0 && (n2 = n2.substring(0, n2.lastIndexOf(",")))) : (n2 = e2, n2 =
|
|
158
|
+
n2 = n2 + O(e2, t2) + ",";
|
|
159
|
+
}), n2.indexOf(",") > 0 && (n2 = n2.substring(0, n2.lastIndexOf(",")))) : (n2 = e2, n2 = O(e2, t2))), n2;
|
|
147
160
|
}
|
|
148
|
-
function
|
|
161
|
+
function O(e2, t2) {
|
|
149
162
|
let n2 = e2;
|
|
150
163
|
if (null != e2 && t2) for (let i2 = 0; i2 < t2.length; i2++) {
|
|
151
164
|
const o2 = t2[i2].value, a2 = t2[i2].label ? t2[i2].label : t2[i2].name;
|
|
@@ -156,9 +169,9 @@ function j(e2, t2) {
|
|
|
156
169
|
}
|
|
157
170
|
return n2;
|
|
158
171
|
}
|
|
159
|
-
function
|
|
172
|
+
function V(e2, t2, n2) {
|
|
160
173
|
e2.initInfo || (e2.initInfo = {}), e2.initInfo[t2] = n2;
|
|
161
174
|
}
|
|
162
175
|
export {
|
|
163
|
-
|
|
176
|
+
T as functions
|
|
164
177
|
};
|
package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as e, ref as t, onMounted as i, onUnmounted as o, resolveComponent as l, createBlock as a, openBlock as r, withCtx as n, createElementVNode as u, createVNode as s, createTextVNode as p, createCommentVNode as c, createElementBlock as g, Fragment as m, renderList as d } from "vue";
|
|
2
2
|
import f from "../../object-render.vue.js";
|
|
3
|
-
import { updateChartDatasources as v, getValueFromVariable as
|
|
4
|
-
import { ElLoading as
|
|
3
|
+
import { updateChartDatasources as v, getValueFromVariable as y } from "../../../../utils/page-helper-util.js";
|
|
4
|
+
import { ElLoading as h, ElMessage as C } from "element-plus";
|
|
5
5
|
import b from "agilebuilder-ui/src/utils/request";
|
|
6
6
|
import "agilebuilder-ui/src/utils/common-util";
|
|
7
7
|
import "agilebuilder-ui/src/utils/util";
|
|
@@ -15,13 +15,14 @@ import "vue-i18n";
|
|
|
15
15
|
import "agilebuilder-ui/src/utils/auth";
|
|
16
16
|
import "axios";
|
|
17
17
|
import "../../../../utils/events/print-label.js";
|
|
18
|
+
import "dayjs";
|
|
18
19
|
const S = { style: { overflow: "auto", height: "calc(100vh - 140px)" }, ref: "dialogBody" }, O = { class: "dialog-footer" }, x = e({ __name: "common-homepage-search", props: { configure: { type: Object, required: true }, pageContext: { type: Object, default: () => {
|
|
19
20
|
} } }, setup(e2, { expose: x2 }) {
|
|
20
|
-
const N = e2, _ = t(false),
|
|
21
|
+
const N = e2, _ = t(false), j = t({}), J = t(0);
|
|
21
22
|
let I;
|
|
22
23
|
i(() => {
|
|
23
24
|
I = setTimeout(() => {
|
|
24
|
-
|
|
25
|
+
j.value = JSON.parse(JSON.stringify(N.pageContext.entity));
|
|
25
26
|
}, 200);
|
|
26
27
|
}), o(() => {
|
|
27
28
|
I && clearTimeout(I);
|
|
@@ -29,7 +30,7 @@ const S = { style: { overflow: "auto", height: "calc(100vh - 140px)" }, ref: "di
|
|
|
29
30
|
const k = t([]), w = () => {
|
|
30
31
|
_.value = false;
|
|
31
32
|
}, T = () => {
|
|
32
|
-
const e3 =
|
|
33
|
+
const e3 = h.service({ lock: true, text: "Loading", background: "rgba(0, 0, 0, 0.7)" });
|
|
33
34
|
v(N.pageContext, N.pageContext.initChartServiceConfigs, null, false).then(() => {
|
|
34
35
|
_.value = false;
|
|
35
36
|
}).finally(() => {
|
|
@@ -37,26 +38,26 @@ const S = { style: { overflow: "auto", height: "calc(100vh - 140px)" }, ref: "di
|
|
|
37
38
|
});
|
|
38
39
|
};
|
|
39
40
|
function H() {
|
|
40
|
-
N.pageContext.entity = JSON.parse(JSON.stringify(
|
|
41
|
+
N.pageContext.entity = JSON.parse(JSON.stringify(j.value)), J.value++;
|
|
41
42
|
}
|
|
42
43
|
function A() {
|
|
43
44
|
const e3 = {};
|
|
44
45
|
N.pageContext.variables.forEach((t3) => {
|
|
45
46
|
const i3 = "${page." + t3.name + "}";
|
|
46
|
-
e3[i3] =
|
|
47
|
+
e3[i3] = y(N.pageContext.entity, i3, null);
|
|
47
48
|
});
|
|
48
49
|
let t2 = window.localStorage.getItem("HOME_MY_CHARTS_CONDITIONS"), i2 = {};
|
|
49
50
|
t2 && (i2 = JSON.parse(t2)), i2[N.configure.homeChartSettingUserId] = e3;
|
|
50
51
|
const o2 = JSON.stringify(e3);
|
|
51
|
-
window.localStorage.setItem("HOME_MY_CHARTS_CONDITIONS", JSON.stringify(i2)),
|
|
52
|
+
window.localStorage.setItem("HOME_MY_CHARTS_CONDITIONS", JSON.stringify(i2)), j.value = JSON.parse(JSON.stringify(N.pageContext.entity)), b.post(window.$vueApp.config.globalProperties.baseAPI + "/component/home-chart-settings/search-conditions", { id: N.configure.homeChartSettingUserId, searchConditionsJson: o2 }).then((e4) => {
|
|
52
53
|
C.success("保存成功"), T();
|
|
53
54
|
});
|
|
54
55
|
}
|
|
55
56
|
return x2({ openSearch: () => {
|
|
56
57
|
_.value = true, k.value = N.configure.pushHomepage.searchConditions;
|
|
57
58
|
} }), (t2, i2) => {
|
|
58
|
-
const o2 = l("el-empty"), v2 = l("el-form"),
|
|
59
|
-
return r(), a(
|
|
59
|
+
const o2 = l("el-empty"), v2 = l("el-form"), y2 = l("el-button"), h2 = l("el-dialog");
|
|
60
|
+
return r(), a(h2, { modelValue: _.value, "onUpdate:modelValue": i2[0] || (i2[0] = (e3) => _.value = e3), title: "筛选", close: w, "append-to-body": "", fullscreen: "", top: "40vh", append: "", width: "70%", draggable: "" }, { default: n(() => [u("div", S, [k.value && 0 !== k.value.length ? c("", true) : (r(), a(o2, { key: 0, description: "未设置筛选条件", "image-size": 50 })), (r(), a(v2, { key: J.value }, { default: n(() => [(r(true), g(m, null, d(k.value, (t3) => (r(), a(f, { key: t3.uuid, configure: t3, pageContext: e2.pageContext }, null, 8, ["configure", "pageContext"]))), 128))]), _: 1 }))], 512)]), footer: n(() => [u("div", O, [s(y2, { type: "primary", onClick: T }, { default: n(() => i2[1] || (i2[1] = [p(" 确定 ")])), _: 1 }), s(y2, { type: "default", onClick: H }, { default: n(() => i2[2] || (i2[2] = [p("重置")])), _: 1 }), s(y2, { type: "primary", onClick: A }, { default: n(() => i2[3] || (i2[3] = [p(" 保存为默认条件 ")])), _: 1 })])]), _: 1 }, 8, ["modelValue"]);
|
|
60
61
|
};
|
|
61
62
|
} });
|
|
62
63
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import e from "./card-runtime.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const t = e
|
|
3
|
+
import r from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const t = r(e, [["__scopeId", "data-v-4e203ead"]]);
|
|
5
5
|
export {
|
|
6
6
|
t as default
|
|
7
7
|
};
|
|
@@ -368,6 +368,9 @@ const z = ["id"], W = e({ __name: "main-table-runtime", props: { pageContext: {}
|
|
|
368
368
|
}, handleSearch: function(e3, t2) {
|
|
369
369
|
var _a;
|
|
370
370
|
return (_a = ue.value) == null ? void 0 : _a.handleSearch(e3, t2);
|
|
371
|
+
}, getColumns: function() {
|
|
372
|
+
var _a;
|
|
373
|
+
return (_a = ue.value) == null ? void 0 : _a.getColumns();
|
|
371
374
|
} }), (e3, t2) => {
|
|
372
375
|
const n2 = a("super-grid");
|
|
373
376
|
return r(), l("div", { ref_key: "tableDivRef", ref: re, id: u(ce) + "_tableDiv" }, [s(n2, { ref_key: "gridRef", ref: ue, url: u(se), options: le.value, code: u(ce), settings: u(ve), "search-form-info": ge.value, "list-toolbar-form-data": u(fe), isDialog: u(Y).isDialog, onSelect: Fe, onSelectAll: He, onSelectionChange: Ue, onCellClick: Le, onCellDblclick: Me, onRowClick: $e, onRowDblclick: _e, onHeaderClick: Ae, onRefresh: Ge, onNewOpenGridDialog: u(P), onCanShowMobileSearch: ze, onGridOnmounted: we }, null, 8, ["url", "options", "code", "settings", "search-form-info", "list-toolbar-form-data", "isDialog", "onNewOpenGridDialog"])], 8, z);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as e, ref as t, onMounted as n, onUnmounted as o, resolveComponent as l, createElementBlock as a, openBlock as i, createBlock as u, createCommentVNode as r, unref as s } from "vue";
|
|
2
2
|
import { setTableEvents as c, gridSelectRecord as p, gridSelectAllRecords as d, gridSelectionChange as f, cellClick as b, cellDblClick as v, rowClick as g, rowDblClick as m, headerClick as h, getHandleEvent as S } from "../../../../utils/events/event-util.js";
|
|
3
|
-
import { caculateShowCondition as w, setVariableValue as T, getVariableValue as x, getSizeConfig as
|
|
4
|
-
import { getModelFields as
|
|
3
|
+
import { caculateShowCondition as w, setVariableValue as T, getVariableValue as x, getSizeConfig as C } from "../../../../utils/page-helper-util.js";
|
|
4
|
+
import { getModelFields as D, getDefaultValue as y } from "../../../../utils/page-init-util.js";
|
|
5
5
|
import P from "../../../../utils/eventBus.js";
|
|
6
6
|
import { popupToPage as R, getOperationButtons as I } from "../../../../utils/table-utils.js";
|
|
7
7
|
import { getListCode as O, getBaseUrl as _ } from "../../../../utils/common-util.js";
|
|
@@ -14,7 +14,7 @@ const $ = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
|
|
|
14
14
|
const N = E.configure.runtime ? E.configure.runtime : {};
|
|
15
15
|
L.isTest ? N.value = E.configure.runtime ? E.configure.runtime : {} : L.tableRuntimes && L.tableRuntimes[B.uuid] && (B = JSON.parse(L.tableRuntimes[B.uuid].configure), N.value = B.runtime ? B.runtime : {});
|
|
16
16
|
const G = O(L.code, L.version, B.uuid), H = L.entity.data, V = B.code ? B.code : G, U = k(L), z = N && N.events ? N.events : [], q = t([]), J = L.superGridItems, K = J ? J[B.uuid] : null, Q = N.style, W = N.class, X = E.pageContext.entity ? E.pageContext.entity : {};
|
|
17
|
-
let Y =
|
|
17
|
+
let Y = D(E.configure, V), Z = _(L.backendUrl, L.isTest);
|
|
18
18
|
Z || (Z = window.$vueApp.config.globalProperties.baseURL);
|
|
19
19
|
const ee = t(false);
|
|
20
20
|
let te = t(0);
|
|
@@ -37,7 +37,7 @@ const $ = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
|
|
|
37
37
|
e4 ? e4.push("operation") : e4 = ["operation"], oe.value.hiddenColumns = e4;
|
|
38
38
|
}
|
|
39
39
|
oe.value.showOperationButton = !(!B.props || !B.props.base) && B.props.base.showOperation, oe.value.isPdfEditor = false, oe.value.tableRecordMaxNum = B.props && B.props.otherSettings ? B.props.otherSettings.tableRecordMaxNum : null;
|
|
40
|
-
let t2 =
|
|
40
|
+
let t2 = C(L, B);
|
|
41
41
|
t2 && t2.fixHeight && (oe.value.formSetHeight = t2.fixHeight), t2 && t2.maxHeight && (oe.value.formSetMaxHeight = t2.maxHeight), oe.value.validateEitConditions = Ge;
|
|
42
42
|
}
|
|
43
43
|
function re() {
|
|
@@ -84,11 +84,11 @@ const $ = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
|
|
|
84
84
|
const n2 = function() {
|
|
85
85
|
let e5 = [], t3 = w(E.pageContext, B.props.base.showOperationCondition);
|
|
86
86
|
if (t3 && Se(null, null, null, null, null, true, "canAdd")) {
|
|
87
|
-
const t4 = { props: { elementType: "el-button", icon: "Plus", type: "primary", circle: true, size: "mini", permission: "true" }, onClick:
|
|
87
|
+
const t4 = { props: { elementType: "el-button", icon: "Plus", type: "primary", circle: true, size: "mini", permission: "true" }, onClick: Ce, isShow: we };
|
|
88
88
|
e5.push(t4);
|
|
89
89
|
}
|
|
90
90
|
if (t3 && Te(null, null, null, null, null, true)) {
|
|
91
|
-
const t4 = { props: { elementType: "el-button", icon: "Minus", type: "danger", circle: true, size: "mini", permission: "true" }, onClick:
|
|
91
|
+
const t4 = { props: { elementType: "el-button", icon: "Minus", type: "danger", circle: true, size: "mini", permission: "true" }, onClick: De, isShow: xe };
|
|
92
92
|
e5.push(t4);
|
|
93
93
|
}
|
|
94
94
|
return I(L, B, e5, me), e5;
|
|
@@ -178,10 +178,10 @@ const $ = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
|
|
|
178
178
|
let i2 = Te(0, 0, n2, 0, 0, a2);
|
|
179
179
|
return true === i2 && (i2 = w(E.pageContext, B.props.base.showDeleteBtnCondition, n2)), i2;
|
|
180
180
|
}
|
|
181
|
-
function
|
|
181
|
+
function Ce(e3, t2, n2, o2, l2) {
|
|
182
182
|
ae.value.createRow(G, {}, { getDefaultValueFunc: y }, { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: l2 });
|
|
183
183
|
}
|
|
184
|
-
function
|
|
184
|
+
function De(e3, t2, n2, o2, l2) {
|
|
185
185
|
ae.value.deleteRow(l2, G, false);
|
|
186
186
|
}
|
|
187
187
|
function ye(e3) {
|
|
@@ -291,6 +291,9 @@ const $ = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
|
|
|
291
291
|
}, addRequiredClass: function(e3, t2, n2) {
|
|
292
292
|
var _a2;
|
|
293
293
|
(_a2 = ae.value) == null ? void 0 : _a2.addRequiredClass(e3, G, t2, n2);
|
|
294
|
+
}, getColumns: function() {
|
|
295
|
+
var _a2;
|
|
296
|
+
return (_a2 = ae.value) == null ? void 0 : _a2.getColumns();
|
|
294
297
|
} }), (e3, t2) => {
|
|
295
298
|
const n2 = l("super-grid");
|
|
296
299
|
return i(), a("div", null, [ee.value ? (i(), u(n2, { key: 0, ref_key: "gridRef", ref: ae, url: s(Z) + "/dsc/commons/sub-table", options: oe.value, code: s(G), settings: s(K), isDialog: s(L).isDialog, onSelect: _e, onSelectAll: ke, onSelectionChange: Me, onCellClick: Ae, onCellDblclick: Fe, onRowClick: $e, onRowDblclick: je, onHeaderClick: Ee, onFnProhibitToEdit: Ie, onChangeGridData: ye, onReloadGrid: fe, onRefresMainTableFields: Oe, onSetSelectOptions: Re, onChangeRowsPerPage: Pe, onNewOpenGridDialog: s(R), onChangeFormData: Le }, null, 8, ["url", "options", "code", "settings", "isDialog", "onNewOpenGridDialog"])) : r("", true)]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, onUnmounted as n, createElementBlock as u, openBlock as
|
|
1
|
+
import { defineComponent as e, ref as t, onUnmounted as n, createElementBlock as u, openBlock as o, createBlock as a, createCommentVNode as l, unref as r } from "vue";
|
|
2
2
|
import i from "./sub-table-runtime.vue.js";
|
|
3
3
|
import c from "./main-table-runtime.vue.js";
|
|
4
4
|
const f = e({ __name: "table-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: f2 }) {
|
|
@@ -75,7 +75,10 @@ const f = e({ __name: "table-runtime", props: { pageContext: {}, configure: {} }
|
|
|
75
75
|
}, handleSearch: function(e3, t2) {
|
|
76
76
|
var _a;
|
|
77
77
|
(_a = b.value) == null ? void 0 : _a.handleSearch(e3, t2);
|
|
78
|
-
}
|
|
78
|
+
}, getColumns: function() {
|
|
79
|
+
var _a;
|
|
80
|
+
return (_a = b.value) == null ? void 0 : _a.getColumns();
|
|
81
|
+
} }), (e3, t2) => (o(), u("div", null, [r(g) && "form" === r(g) && C.value ? (o(), a(i, { key: 0, ref_key: "gridRef", ref: b, pageContext: e3.pageContext, configure: d.value, onSetSafeDeleteTableCode: E }, null, 8, ["pageContext", "configure"])) : r(g) && "form" === r(g) ? l("", true) : (o(), a(c, { key: 1, ref_key: "gridRef", ref: b, pageContext: e3.pageContext, configure: d.value, onSetSafeDeleteTableCode: E }, null, 8, ["pageContext", "configure"]))]));
|
|
79
82
|
} });
|
|
80
83
|
export {
|
|
81
84
|
f as default
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./label-runtime.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const t = r(e, [["__scopeId", "data-v-
|
|
4
|
+
const t = r(e, [["__scopeId", "data-v-2ffad4a6"]]);
|
|
5
5
|
export {
|
|
6
6
|
t as default
|
|
7
7
|
};
|
|
@@ -28,7 +28,7 @@ const I = { style: { width: "100%", "text-align": "center", "font-weight": "700"
|
|
|
28
28
|
W.value = e3 || [];
|
|
29
29
|
} }), (e3, t2) => {
|
|
30
30
|
const l2 = u("el-form-item");
|
|
31
|
-
return N.value.whetherTittle ? (s(), i("div", { key: 0, ref_key: "titleRef", ref: K, class: r(f(A)), style: p(f(O)) }, [c("div", I, v(N.value.title), 1)], 6)) : N.value.tittleShow ? (s(), o(l2, { key: 1, ref_key: "formItemRef", ref: H, required: !!N.value.required, class: r([f(A), N.value.contentAlign ? "form-item-align-" + N.value.contentAlign : "formNo" === N.value.showType ? "form-item-align-
|
|
31
|
+
return N.value.whetherTittle ? (s(), i("div", { key: 0, ref_key: "titleRef", ref: K, class: r(f(A)), style: p(f(O)) }, [c("div", I, v(N.value.title), 1)], 6)) : N.value.tittleShow ? (s(), o(l2, { key: 1, ref_key: "formItemRef", ref: H, required: !!N.value.required, class: r([f(A), N.value.contentAlign ? "form-item-align-" + N.value.contentAlign : "formNo" === N.value.showType ? "form-item-align-flex-end" : ""]), "label-width": N.value.labelWidth, style: p(f(O)) }, { label: y(() => [N.value.tittleShow ? (s(), i("div", { key: 0, ref_key: "titleRef", ref: K, style: p({ ...f(z), ...f(F) }) }, v(f(_)(N.value.title)), 5)) : g("", true)]), default: y(() => [c("div", { style: { display: "flex", width: "100%", "justify-content": "space-between" }, ref_key: "componentRef", ref: J, onClick: t2[0] || (t2[0] = (t3) => f(C)(t3, e3.pageContext, e3.configure, "click")) }, [c("span", b, [N.value.preIconValue || N.value.preText ? (s(), i("span", { key: 0, class: r({ "el-input__suffix": "outer" != N.value.iconPosition, "el-input-group__append": "outer" == N.value.iconPosition }), style: p(f(E)) }, [N.value.preIconType && N.value.preIconValue ? (s(), o(f(k), { key: 0, iconType: N.value.preIconType, iconValue: N.value.preIconValue }, null, 8, ["iconType", "iconValue"])) : g("", true), m(" " + v(f(_)(N.value.preText)), 1)], 6)) : g("", true), m(" " + v(G.value), 1)]), N.value.sufIconValue || N.value.sufText ? (s(), i("span", { key: 0, class: r({ "el-input__suffix": "outer" != N.value.iconPosition, "el-input-group__append": "outer" == N.value.iconPosition }) }, [N.value.sufIconType && N.value.sufIconValue ? (s(), o(f(k), { key: 0, style: {}, iconType: N.value.sufIconType, iconValue: N.value.sufIconValue }, null, 8, ["iconType", "iconValue"])) : g("", true), c("span", null, " " + v(f(_)(N.value.sufText)), 1)], 2)) : g("", true)], 512)]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : (s(), i("span", { key: 2, style: { display: "flex", "justify-content": "space-between" }, onClick: t2[1] || (t2[1] = (t3) => f(C)(t3, e3.pageContext, e3.configure, "click")) }, [c("span", { style: { overflow: "hidden", "white-space": "nowrap" }, title: G.value }, v(N.value.prefixIcon) + " " + v(G.value), 9, V), N.value.suffixTxt ? (s(), i("span", { key: 0, class: r(f(D)), style: p(f(E)) }, v(N.value.suffixTxt), 7)) : g("", true)]));
|
|
32
32
|
};
|
|
33
33
|
} });
|
|
34
34
|
export {
|
|
@@ -1,121 +1,124 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, computed as l, watch as o, onUnmounted as a, onMounted as
|
|
2
|
-
import { setVariableValue as
|
|
3
|
-
import { getFormModelFields as
|
|
4
|
-
import { handleFormEvent as
|
|
5
|
-
import
|
|
6
|
-
import { $t as
|
|
7
|
-
import { addRequiredClassUtil as
|
|
8
|
-
import { CopyDocument as
|
|
9
|
-
import
|
|
10
|
-
import { ElMessage as
|
|
11
|
-
import { useI18n as
|
|
12
|
-
const
|
|
13
|
-
const { t:
|
|
14
|
-
let
|
|
15
|
-
const
|
|
16
|
-
let
|
|
17
|
-
const
|
|
18
|
-
function
|
|
19
|
-
let e3 =
|
|
20
|
-
return null != e3 && (e3 = String(e3)),
|
|
1
|
+
import { defineComponent as e, ref as t, computed as l, watch as o, onUnmounted as a, onMounted as n, nextTick as u, resolveComponent as r, createBlock as i, openBlock as s, normalizeStyle as p, normalizeClass as c, unref as f, withCtx as v, createVNode as g, createElementVNode as m, withKeys as d, withModifiers as h, createElementBlock as y, Fragment as x, renderList as b, createCommentVNode as C, toDisplayString as w, createTextVNode as _ } from "vue";
|
|
2
|
+
import { setVariableValue as S, getOptionDatasFromPage as k, queryOptionDatasources as T, autoSetAfterSelect as j, getVariableValue as A } from "../../../../utils/page-helper-util.js";
|
|
3
|
+
import { getFormModelFields as R } from "../../../../utils/page-init-util.js";
|
|
4
|
+
import { handleFormEvent as V, handleAfterInitEvent as I } from "../../../../utils/events/event-util.js";
|
|
5
|
+
import M from "../common/title-suffix-element.vue.js";
|
|
6
|
+
import { $t as q } from "../../../../utils/i18n-util.js";
|
|
7
|
+
import { addRequiredClassUtil as z } from "../../../../utils/common-util.js";
|
|
8
|
+
import { CopyDocument as E } from "@element-plus/icons-vue";
|
|
9
|
+
import O from "clipboard";
|
|
10
|
+
import { ElMessage as P } from "element-plus";
|
|
11
|
+
import { useI18n as D } from "vue-i18n";
|
|
12
|
+
const W = { style: { "padding-left": "5px" } }, B = { style: { width: "100%" } }, F = { style: { float: "left" } }, K = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, U = e({ __name: "select-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: U2 }) {
|
|
13
|
+
const { t: $ } = D(), G = e2, H = t(null), J = G.pageContext.entity ? G.pageContext.entity : {};
|
|
14
|
+
let L = R(G.pageContext, G.configure);
|
|
15
|
+
const N = G.configure.runtime ? G.configure.runtime : {}, Q = N.style, X = N.class, Y = N.headerStyle, Z = N.titleExceedStyle, ee = t(N.props ? N.props : {});
|
|
16
|
+
let te = [];
|
|
17
|
+
const le = "copyBtn_" + G.configure.uuid + "_" + (/* @__PURE__ */ new Date()).getTime();
|
|
18
|
+
function oe() {
|
|
19
|
+
let e3 = A(J, L);
|
|
20
|
+
return null != e3 && (e3 = String(e3)), ee.value.multiple && (e3 = e3 ? String(e3).split(",") : []), e3;
|
|
21
21
|
}
|
|
22
|
-
const
|
|
23
|
-
const t2 =
|
|
24
|
-
|
|
22
|
+
const ae = l({ get: () => oe(), set(e3) {
|
|
23
|
+
const t2 = oe();
|
|
24
|
+
te = Array.isArray(t2) ? [...t2] : t2;
|
|
25
25
|
let l2 = e3;
|
|
26
|
-
if (
|
|
27
|
-
l2 = !!
|
|
26
|
+
if (ee.value.multiple) {
|
|
27
|
+
l2 = !!ee.value.arrayValue ? Array.isArray(e3) ? e3 : e3 ? String(e3).split(",") : [] : Array.isArray(e3) ? e3.length > 0 ? e3.join(",") : "" : e3 ?? "";
|
|
28
28
|
}
|
|
29
|
-
|
|
30
|
-
} }),
|
|
31
|
-
|
|
32
|
-
const
|
|
33
|
-
let
|
|
34
|
-
const
|
|
35
|
-
if ("dynamicData" ==
|
|
36
|
-
if ("remote" ==
|
|
29
|
+
S(J, L, l2), null != l2 && (H.value = "");
|
|
30
|
+
} }), ne = t(ee.value.options ? ee.value.options : []), ue = k(G.pageContext, G.configure);
|
|
31
|
+
ue.length > 0 && (ne.value = ue);
|
|
32
|
+
const re = t(false), ie = G.configure.props && G.configure.props.dataOrigin ? G.configure.props.dataOrigin : {}, se = ie.optionValueSetType;
|
|
33
|
+
let pe = [];
|
|
34
|
+
const ce = ee.value.optionconfigInfo ? ee.value.optionconfigInfo : {};
|
|
35
|
+
if ("dynamicData" == se || "dataTable" == se || "service" == se) {
|
|
36
|
+
if ("remote" == ie.filterType) {
|
|
37
37
|
let e3;
|
|
38
|
-
|
|
39
|
-
e3 !== t2 && (e3 = t2,
|
|
40
|
-
|
|
38
|
+
ee.value.filterable = true, ee.value.remote = true, ee.value.remoteShowSuffix = true, ee.value.remoteMethod = function(t2) {
|
|
39
|
+
e3 !== t2 && (e3 = t2, re.value = true, T(G.pageContext, ce, t2).then((e4) => {
|
|
40
|
+
re.value = false;
|
|
41
41
|
}).then((e4) => {
|
|
42
|
-
|
|
42
|
+
re.value = false;
|
|
43
43
|
}));
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
|
-
if (
|
|
46
|
+
if (ie.autoSets) for (let e3 of ie.autoSets) e3.source && pe.push(e3);
|
|
47
47
|
}
|
|
48
|
-
|
|
48
|
+
G.configure && G.configure.props && G.configure.props.base && G.configure.props.base.optionProp && pe.push({ source: "label", target: G.configure.props.base.optionProp }), ee.value.changeMethod = function(e3) {
|
|
49
49
|
let t2, l2 = null;
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
ne.value && null != e3 && null != e3 && (l2 = ne.value.filter((t3) => Array.isArray(e3) ? e3.includes(t3.value) : e3 === t3.value));
|
|
51
|
+
pe.length > 0 && j(G.configure, G.pageContext, pe, l2, [ee.value.prop]);
|
|
52
52
|
l2 && l2.length > 0 && (t2 = l2[0]);
|
|
53
53
|
let o2 = {};
|
|
54
54
|
t2 && (o2.extendParams = t2);
|
|
55
|
-
o2.options =
|
|
55
|
+
o2.options = ne.value, o2.oldValue = te, V(e3, G.pageContext, G.configure, "change", o2);
|
|
56
56
|
};
|
|
57
|
-
const
|
|
58
|
-
if (
|
|
57
|
+
const fe = ee.value.monitorFields, ve = [];
|
|
58
|
+
if (fe) {
|
|
59
59
|
const e3 = [];
|
|
60
|
-
for (let t2 of
|
|
60
|
+
for (let t2 of fe) if (t2.startsWith("${")) {
|
|
61
61
|
t2 = t2.substring(2, t2.length - 1);
|
|
62
62
|
const l2 = t2.split(".");
|
|
63
|
-
"page" !== l2[0] && "task" !== l2[0] && "data" !== l2[0] || (
|
|
63
|
+
"page" !== l2[0] && "task" !== l2[0] && "data" !== l2[0] || (ve.push(l2), e3.includes(l2[0]) || e3.push(l2[0]));
|
|
64
64
|
}
|
|
65
|
-
for (let t2 of e3) o(
|
|
66
|
-
|
|
65
|
+
for (let t2 of e3) o(J[t2], () => {
|
|
66
|
+
de();
|
|
67
67
|
});
|
|
68
68
|
}
|
|
69
|
-
let
|
|
70
|
-
function
|
|
71
|
-
|
|
69
|
+
let ge = "", me = false;
|
|
70
|
+
function de() {
|
|
71
|
+
me && clearTimeout(me), me = setTimeout(function() {
|
|
72
72
|
const e3 = function() {
|
|
73
73
|
let e4 = [];
|
|
74
|
-
for (let t2 of
|
|
74
|
+
for (let t2 of ve) e4.push(A(J, t2));
|
|
75
75
|
return e4.join(",");
|
|
76
76
|
}();
|
|
77
|
-
e3 !=
|
|
78
|
-
|
|
77
|
+
e3 != ge && (ge = e3, ce.watchAttrValue = e3, T(G.pageContext, ce, void 0).then((e4) => {
|
|
78
|
+
re.value = false;
|
|
79
79
|
}));
|
|
80
80
|
}, 200);
|
|
81
81
|
}
|
|
82
82
|
a(() => {
|
|
83
|
-
|
|
83
|
+
me && clearTimeout(me);
|
|
84
84
|
});
|
|
85
|
-
const
|
|
86
|
-
function
|
|
87
|
-
const e3 =
|
|
85
|
+
const he = t(null), ye = t(null), xe = t(null);
|
|
86
|
+
function be() {
|
|
87
|
+
const e3 = oe();
|
|
88
88
|
if (null != e3 && "" !== e3 && e3.length > 0) {
|
|
89
89
|
let t2 = "";
|
|
90
|
-
return "string" == typeof e3 ?
|
|
90
|
+
return "string" == typeof e3 ? ne.value.length > 0 ? ne.value.forEach((l2) => {
|
|
91
91
|
l2.value === e3 && (t2 = l2.label);
|
|
92
|
-
}) : t2 = e3 :
|
|
92
|
+
}) : t2 = e3 : ne.value.length > 0 ? (ne.value.forEach((l2) => {
|
|
93
93
|
e3.forEach((e4) => {
|
|
94
94
|
l2.value === e4 && (t2 = t2 + l2.label + ",");
|
|
95
95
|
});
|
|
96
96
|
}), t2 = t2.slice(0, t2.length - 1)) : t2 = e3.join(","), t2;
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
|
-
return
|
|
100
|
-
const e3 = new
|
|
101
|
-
return
|
|
99
|
+
return n(() => {
|
|
100
|
+
const e3 = new O("#" + le, { text: function() {
|
|
101
|
+
return be();
|
|
102
102
|
} });
|
|
103
103
|
e3.on("success", () => {
|
|
104
|
-
|
|
104
|
+
P({ showClose: true, type: "success", message: $("superPageRuntimeMessage.copySuccess") });
|
|
105
105
|
}), e3.on("error", (e4) => {
|
|
106
|
-
}),
|
|
107
|
-
const e4 =
|
|
108
|
-
|
|
106
|
+
}), u(() => {
|
|
107
|
+
const e4 = ae.value;
|
|
108
|
+
I(e4, G.pageContext, G.configure, { formItemRef: he.value, componentRef: ye.value, titleRef: xe.value, value: e4, entity: G.pageContext.entity.data, pageData: G.pageContext.entity.page });
|
|
109
109
|
});
|
|
110
|
-
}),
|
|
111
|
-
|
|
110
|
+
}), U2({ updateOptions: function(e3) {
|
|
111
|
+
ne.value = e3 || [];
|
|
112
112
|
}, addRequiredClass: function() {
|
|
113
|
-
|
|
114
|
-
}, getSelectItemsTitle:
|
|
115
|
-
|
|
116
|
-
|
|
113
|
+
H.value = z();
|
|
114
|
+
}, getSelectItemsTitle: be, getOptions: function() {
|
|
115
|
+
return ne.value;
|
|
116
|
+
} }), (e3, t2) => {
|
|
117
|
+
const l2 = r("el-icon"), o2 = r("el-option"), a2 = r("el-select"), n2 = r("el-popover"), u2 = r("el-form-item");
|
|
118
|
+
return s(), i(u2, { ref_key: "formItemRef", ref: he, required: !!ee.value.required, class: c(f(X) + (H.value ? " " + H.value : "")), "label-width": ee.value.labelWidth, style: p(f(Q)) }, { label: v(() => [ee.value.tittleShow ? (s(), y("div", { key: 0, ref_key: "titleRef", ref: xe, style: p({ ...f(Y), ...f(Z) }) }, [ee.value.prefixType ? (s(), i(M, { key: 0, pageContext: e3.pageContext, property: ee.value }, null, 8, ["pageContext", "property"])) : (s(), y(x, { key: 1 }, [_(w(f(q)(ee.value.title)), 1)], 64))], 4)) : C("", true)]), default: v(() => [g(n2, { placement: "top", trigger: "hover" }, { reference: v(() => [m("div", B, [g(a2, { ref_key: "componentRef", ref: ye, style: { width: "100%" }, disabled: "disabled" === ee.value.state, size: ee.value.size, clearable: ee.value.clearable, multiple: ee.value.multiple, "collapse-tags": ee.value.collapseTags, "collapse-tags-tooltip": ee.value.collapseTagsTooltip, filterable: ee.value.filterable, "allow-create": ee.value.allowCreate, placeholder: ee.value.placeholder, "remote-show-suffix": ee.value.remoteShowSuffix, remote: ee.value.remote, "remote-method": ee.value.remoteMethod, loading: re.value, onKeydown: t2[0] || (t2[0] = d(h(() => {
|
|
119
|
+
}, ["stop"]), ["space"])), onChange: ee.value.changeMethod, modelValue: ae.value, "onUpdate:modelValue": t2[1] || (t2[1] = (e4) => ae.value = e4) }, { default: v(() => [(s(true), y(x, null, b(ne.value, (t3) => (s(), i(o2, { key: t3.value, label: t3.label, value: t3.value, onClick: (l3) => f(V)(t3.value, e3.pageContext, e3.configure, "click", { values: ae.value }) }, { default: v(() => [t3._description_ ? (s(), y(x, { key: 0 }, [m("span", F, w(t3.label), 1), m("span", K, w(t3._description_), 1)], 64)) : C("", true)]), _: 2 }, 1032, ["label", "value", "onClick"]))), 128))]), _: 1 }, 8, ["disabled", "size", "clearable", "multiple", "collapse-tags", "collapse-tags-tooltip", "filterable", "allow-create", "placeholder", "remote-show-suffix", "remote", "remote-method", "loading", "onChange", "modelValue"])])]), default: v(() => [m("span", W, [g(l2, { id: le }, { default: v(() => [g(f(E))]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
|
|
117
120
|
};
|
|
118
121
|
} });
|
|
119
122
|
export {
|
|
120
|
-
|
|
123
|
+
U as default
|
|
121
124
|
};
|
package/dist/es/style.css
CHANGED
|
@@ -390,10 +390,10 @@
|
|
|
390
390
|
}
|
|
391
391
|
.yx-affix .yx-affix-content.is-fixed.is-bottom[data-v-a994b02d] {
|
|
392
392
|
box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.2);
|
|
393
|
-
}.yx-card-box-view-main[data-v-
|
|
393
|
+
}.yx-card-box-view-main[data-v-4e203ead] > .el-card__header {
|
|
394
394
|
position: relative;
|
|
395
395
|
}
|
|
396
|
-
.yx-card-box-view-main .yx-card-box-view-header[data-v-
|
|
396
|
+
.yx-card-box-view-main .yx-card-box-view-header[data-v-4e203ead] {
|
|
397
397
|
display: flex;
|
|
398
398
|
flex-direction: row;
|
|
399
399
|
justify-content: space-between;
|
|
@@ -401,12 +401,12 @@
|
|
|
401
401
|
gap: 15px;
|
|
402
402
|
flex: 1 1 auto;
|
|
403
403
|
}
|
|
404
|
-
.yx-card-box-view-main .yx-card-box-view-title[data-v-
|
|
404
|
+
.yx-card-box-view-main .yx-card-box-view-title[data-v-4e203ead] {
|
|
405
405
|
position: relative;
|
|
406
406
|
z-index: 2;
|
|
407
407
|
flex: 1 1 auto;
|
|
408
408
|
}
|
|
409
|
-
.yx-card-box-view-main .yx-card-box-view-title[data-v-
|
|
409
|
+
.yx-card-box-view-main .yx-card-box-view-title[data-v-4e203ead]::after {
|
|
410
410
|
content: " ";
|
|
411
411
|
position: absolute;
|
|
412
412
|
left: 0;
|
|
@@ -415,32 +415,46 @@
|
|
|
415
415
|
right: 0;
|
|
416
416
|
z-index: 0;
|
|
417
417
|
}
|
|
418
|
-
.yx-card-box-view-main[data-collapse=false][data-v-
|
|
418
|
+
.yx-card-box-view-main[data-collapse=false][data-v-4e203ead] > .el-card__body {
|
|
419
419
|
display: none;
|
|
420
420
|
}
|
|
421
|
-
.yx-card-box-view-
|
|
421
|
+
.yx-card-box-view-main[data-v-4e203ead] {
|
|
422
|
+
display: flex;
|
|
423
|
+
flex-direction: column;
|
|
424
|
+
}
|
|
425
|
+
.yx-card-box-view-main[data-v-4e203ead] > .el-card__body {
|
|
426
|
+
flex: 1;
|
|
427
|
+
overflow: hidden;
|
|
428
|
+
display: flex;
|
|
429
|
+
flex-direction: column;
|
|
430
|
+
}
|
|
431
|
+
.yx-card-box-view-context[data-v-4e203ead] {
|
|
432
|
+
flex: 1;
|
|
433
|
+
overflow: auto;
|
|
434
|
+
}
|
|
435
|
+
.yx-card-box-view-context[data-v-4e203ead] {
|
|
422
436
|
gap: var(--layout-form-flex-gap, 15px);
|
|
423
437
|
}
|
|
424
|
-
.yx-card-box-view-context[data-v-
|
|
438
|
+
.yx-card-box-view-context[data-v-4e203ead] > div {
|
|
425
439
|
width: 100%;
|
|
426
440
|
}
|
|
427
|
-
.yx-card-box-view-context[data-v-
|
|
441
|
+
.yx-card-box-view-context[data-v-4e203ead] > div[style*="display: inline-block"] {
|
|
428
442
|
width: auto;
|
|
429
443
|
}
|
|
430
|
-
.yx-card-box-view-context[data-v-
|
|
444
|
+
.yx-card-box-view-context[data-v-4e203ead] > .el-form-item {
|
|
431
445
|
margin: 0;
|
|
432
446
|
}
|
|
433
|
-
.yx-card-box-view-context[data-v-
|
|
447
|
+
.yx-card-box-view-context[data-v-4e203ead] > .el-form-item[class*=el-col-8] {
|
|
434
448
|
flex: 0 0 calc((100% - var(--layout-form-flex-gap, 15px) * 2) / 3);
|
|
435
449
|
}
|
|
436
450
|
@media (max-width: 768px) {
|
|
437
|
-
.yx-card-box-view-context[data-v-
|
|
451
|
+
.yx-card-box-view-context[data-v-4e203ead] > .el-form-item[class*=el-col-8] {
|
|
438
452
|
max-width: none;
|
|
439
453
|
flex: 0 0 calc((100% - var(--layout-form-flex-gap, 15px) * 1) / 2);
|
|
440
454
|
}
|
|
441
455
|
}
|
|
442
456
|
@media (max-width: 600px) {
|
|
443
|
-
.yx-card-box-view-context[data-v-
|
|
457
|
+
.yx-card-box-view-context[data-v-4e203ead] > .el-form-item[class*=el-col-8] {
|
|
444
458
|
width: 100%;
|
|
445
459
|
max-width: none;
|
|
446
460
|
flex: auto;
|
|
@@ -787,40 +801,40 @@
|
|
|
787
801
|
}.el-form-item[data-v-96fc65d8] {
|
|
788
802
|
margin-bottom: 0px;
|
|
789
803
|
}
|
|
790
|
-
.el-form-item[data-v-
|
|
804
|
+
.el-form-item[data-v-2ffad4a6] {
|
|
791
805
|
margin-bottom: 0px;
|
|
792
806
|
}
|
|
793
807
|
|
|
794
|
-
/* 整体对齐样式 -
|
|
795
|
-
.form-item-align-
|
|
796
|
-
justify-content: flex-
|
|
808
|
+
/* 整体对齐样式 - 靠左 */
|
|
809
|
+
.form-item-align-flex-start[data-v-2ffad4a6] {
|
|
810
|
+
justify-content: flex-start;
|
|
797
811
|
}
|
|
798
|
-
.form-item-align-
|
|
812
|
+
.form-item-align-flex-start[data-v-2ffad4a6] .el-form-item__label {
|
|
799
813
|
flex: none;
|
|
800
814
|
}
|
|
801
|
-
.form-item-align-
|
|
815
|
+
.form-item-align-flex-start[data-v-2ffad4a6] .el-form-item__content {
|
|
802
816
|
flex: none;
|
|
803
817
|
}
|
|
804
818
|
|
|
805
819
|
/* 整体对齐样式 - 居中 */
|
|
806
|
-
.form-item-align-center[data-v-
|
|
820
|
+
.form-item-align-center[data-v-2ffad4a6] {
|
|
807
821
|
justify-content: center;
|
|
808
822
|
}
|
|
809
|
-
.form-item-align-center[data-v-
|
|
823
|
+
.form-item-align-center[data-v-2ffad4a6] .el-form-item__label {
|
|
810
824
|
flex: none;
|
|
811
825
|
}
|
|
812
|
-
.form-item-align-center[data-v-
|
|
826
|
+
.form-item-align-center[data-v-2ffad4a6] .el-form-item__content {
|
|
813
827
|
flex: none;
|
|
814
828
|
}
|
|
815
829
|
|
|
816
|
-
/* 整体对齐样式 -
|
|
817
|
-
.form-item-align-
|
|
818
|
-
justify-content: flex-
|
|
830
|
+
/* 整体对齐样式 - 靠右 */
|
|
831
|
+
.form-item-align-flex-end[data-v-2ffad4a6] {
|
|
832
|
+
justify-content: flex-end;
|
|
819
833
|
}
|
|
820
|
-
.form-item-align-
|
|
834
|
+
.form-item-align-flex-end[data-v-2ffad4a6] .el-form-item__label {
|
|
821
835
|
flex: none;
|
|
822
836
|
}
|
|
823
|
-
.form-item-align-
|
|
837
|
+
.form-item-align-flex-end[data-v-2ffad4a6] .el-form-item__content {
|
|
824
838
|
flex: none;
|
|
825
839
|
}
|
|
826
840
|
.amb-button-group-main[data-v-9d55ce0b] {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "super-page-runtime",
|
|
3
|
-
"version": "2.3.17-
|
|
3
|
+
"version": "2.3.17-sit4",
|
|
4
4
|
"description": "AgileBuilder super page runtime",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"main": "dist/es/index.js",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@vitejs/plugin-vue-jsx": "^3.1.0",
|
|
50
50
|
"@vue/eslint-config-prettier": "^8.0.0",
|
|
51
51
|
"@vue/test-utils": "^2.4.4",
|
|
52
|
-
"agilebuilder-ui": "1.1.59-
|
|
52
|
+
"agilebuilder-ui": "1.1.59-sit7",
|
|
53
53
|
"axios": "^1.6.8",
|
|
54
54
|
"cypress": "^13.6.6",
|
|
55
55
|
"element-plus": "^2.6.1",
|