super-page-runtime 2.3.8 → 2.3.9
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.
|
@@ -57,37 +57,36 @@ const I = { style: { float: "left" } }, M = { style: { float: "right", color: "v
|
|
|
57
57
|
"page" !== l2[0] && "task" !== l2[0] && "data" !== l2[0] || (te.push(l2), e3.includes(l2[0]) || e3.push(l2[0]));
|
|
58
58
|
}
|
|
59
59
|
for (let t2 of e3) o(P[t2], () => {
|
|
60
|
-
|
|
60
|
+
ae();
|
|
61
61
|
});
|
|
62
62
|
}
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
e3 != oe && (oe = e3, Z.watchAttrValue = e3, w(O.pageContext, Z, void 0).then((e4) => {
|
|
63
|
+
let le = "", oe = false;
|
|
64
|
+
function ae() {
|
|
65
|
+
oe && clearTimeout(oe), oe = setTimeout(function() {
|
|
66
|
+
const e3 = function() {
|
|
67
|
+
let e4 = [];
|
|
68
|
+
for (let t2 of te) e4.push(T(P, t2));
|
|
69
|
+
return e4.join(",");
|
|
70
|
+
}();
|
|
71
|
+
e3 != le && (le = e3, Z.watchAttrValue = e3, w(O.pageContext, Z, void 0).then((e4) => {
|
|
73
72
|
N.value = false;
|
|
74
73
|
}));
|
|
75
74
|
}, 200);
|
|
76
75
|
}
|
|
77
76
|
a(() => {
|
|
78
|
-
|
|
77
|
+
oe && clearTimeout(oe);
|
|
79
78
|
});
|
|
80
|
-
const
|
|
79
|
+
const ue = t(null), re = t(null), ie = t(null);
|
|
81
80
|
return u(() => {
|
|
82
81
|
r(() => {
|
|
83
82
|
const e3 = J.value;
|
|
84
|
-
V(e3, O.pageContext, O.configure, { formItemRef:
|
|
83
|
+
V(e3, O.pageContext, O.configure, { formItemRef: ue.value, componentRef: re.value, titleRef: ie.value, value: e3, entity: O.pageContext.entity.data, pageData: O.pageContext.entity.page });
|
|
85
84
|
});
|
|
86
85
|
}), q2({ updateOptions: function(e3) {
|
|
87
86
|
K.value = e3 || [];
|
|
88
87
|
} }), (e3, t2) => {
|
|
89
88
|
const l2 = i("el-option"), o2 = i("el-select"), a2 = i("el-form-item");
|
|
90
|
-
return s(), n(a2, { ref_key: "formItemRef", ref:
|
|
89
|
+
return s(), n(a2, { ref_key: "formItemRef", ref: ue, required: !!B.value.required, class: f(c(F)), "label-width": B.value.labelWidth, style: p(c(E)) }, { label: v(() => [B.value.tittleShow ? (s(), m("div", { key: 0, ref_key: "titleRef", ref: ie, style: p({ ...c(U), ...c($) }) }, [B.value.prefixType ? (s(), n(R, { key: 0, pageContext: e3.pageContext, property: B.value }, null, 8, ["pageContext", "property"])) : (s(), m(d, { key: 1 }, [C(b(c(z)(B.value.title)), 1)], 64))], 4)) : y("", true)]), default: v(() => [g(o2, { ref_key: "componentRef", ref: re, style: { width: "100%" }, disabled: "disabled" === B.value.state, size: B.value.size, clearable: B.value.clearable, multiple: B.value.multiple, "collapse-tags": B.value.collapseTags, "collapse-tags-tooltip": B.value.collapseTagsTooltip, filterable: B.value.filterable, "allow-create": B.value.allowCreate, placeholder: B.value.placeholder, "remote-show-suffix": B.value.remoteShowSuffix, remote: B.value.remote, "remote-method": B.value.remoteMethod, loading: N.value, onChange: B.value.changeMethod, modelValue: J.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => J.value = e4) }, { default: v(() => [(s(true), m(d, null, h(K.value, (t3) => (s(), n(l2, { key: t3.value, label: t3.label, value: t3.value, onClick: (l3) => c(j)(t3.value, e3.pageContext, e3.configure, "click", { values: J.value }) }, { default: v(() => [t3._description_ ? (s(), m(d, { key: 0 }, [x("span", I, b(t3.label), 1), x("span", M, b(t3._description_), 1)], 64)) : y("", 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"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
|
|
91
90
|
};
|
|
92
91
|
} });
|
|
93
92
|
export {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "super-page-runtime",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.9",
|
|
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.46",
|
|
52
52
|
"axios": "^1.6.8",
|
|
53
53
|
"cypress": "^13.6.6",
|
|
54
54
|
"element-plus": "^2.6.1",
|