super-page-runtime 2.3.36 → 2.3.37-sit1
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 +131 -131
- package/dist/es/components/runtime/utils/events/event-util.js +114 -114
- package/dist/es/components/runtime/utils/events/print-label.js +33 -34
- package/dist/es/components/runtime/utils/events/standard-event.js +38 -38
- package/dist/es/components/runtime/utils/events/validator-util.js +126 -88
- package/dist/es/components/runtime/utils/page-init-util.js +26 -28
- package/dist/es/components/runtime/utils/table-utils.js +1 -1
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +6 -10
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +6 -8
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +95 -98
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +2 -3
- package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.js +13 -13
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +9 -11
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +0 -2
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +17 -12
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +5 -5
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +9 -11
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +69 -66
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +36 -33
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +16 -16
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +37 -37
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +3 -3
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +43 -43
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +62 -62
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +38 -38
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +59 -60
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +21 -21
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +52 -53
- 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 +26 -28
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +27 -29
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +50 -50
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +106 -106
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +89 -90
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +4 -4
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +11 -11
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +21 -21
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +3 -3
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +96 -94
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.js +30 -18
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +26 -18
- package/dist/es/components/runtime/views/home-chart.vue.js +7 -7
- package/dist/es/components/runtime/views/super-page-dialog.vue.js +0 -1
- package/dist/es/components/runtime/views/super-page.vue.js +1 -1
- package/dist/es/components/runtime/views/super-page.vue2.js +27 -22
- package/dist/es/i18n/langs/cn.js +1 -1
- package/dist/es/i18n/langs/en.js +1 -1
- package/dist/es/style.css +166 -158
- package/package.json +2 -2
|
@@ -1,38 +1,36 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, computed as l, onMounted as n, nextTick as a, resolveComponent as u, createElementBlock as
|
|
1
|
+
import { defineComponent as e, ref as t, computed as l, onMounted as n, nextTick as a, resolveComponent as u, createElementBlock as i, createBlock as o, openBlock as s, normalizeStyle as p, normalizeClass as r, unref as f, createElementVNode as c, toDisplayString as v, createSlots as y, withCtx as g, createCommentVNode as m, createTextVNode as d } from "vue";
|
|
2
2
|
import { getFormModelFields as x } from "../../../../utils/page-init-util.js";
|
|
3
|
-
import { getVariableValue as
|
|
4
|
-
import { SuperIcon as
|
|
5
|
-
import { getCustomFunc as
|
|
6
|
-
import { $t as
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
let
|
|
10
|
-
const
|
|
11
|
-
const
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
let e3 = d(S, P);
|
|
15
|
-
if (B) if (N.value.hasOptions) {
|
|
3
|
+
import { getVariableValue as h, formatValueByType as k } from "../../../../utils/page-helper-util.js";
|
|
4
|
+
import { SuperIcon as w } from "agilebuilder-ui";
|
|
5
|
+
import { getCustomFunc as T, handleAfterInitEvent as C, handleFormEvent as _ } from "../../../../utils/events/event-util.js";
|
|
6
|
+
import { $t as I } from "../../../../utils/i18n-util.js";
|
|
7
|
+
const b = { style: { width: "100%", "text-align": "center", "font-weight": "700", "font-size": "24px" } }, V = { style: { overflow: "hidden", "white-space": "nowrap" } }, j = ["title"], R = e({ __name: "label-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: R2 }) {
|
|
8
|
+
const S = e2, P = S.pageContext.entity ? S.pageContext.entity : {};
|
|
9
|
+
let q = x(S.pageContext, S.configure);
|
|
10
|
+
const O = S.configure.runtime ? S.configure.runtime : {}, A = O.style, z = O.class, D = O.headerStyle, E = O.appendClass, F = O.appendStyle, N = O.titleExceedStyle, W = t(O.props ? O.props : {});
|
|
11
|
+
const B = t(W.value.options ? W.value.options : []), G = W.value.formatType, H = l(() => {
|
|
12
|
+
let e3 = h(P, q);
|
|
13
|
+
if (G) if (W.value.hasOptions) {
|
|
16
14
|
let t2 = null;
|
|
17
|
-
|
|
18
|
-
} else if ("custom" ===
|
|
19
|
-
const t2 =
|
|
20
|
-
t2 && (e3 = t2.apply(t2, [{ pageContext:
|
|
21
|
-
} else e3 =
|
|
15
|
+
B.value && (t2 = B.value.filter((t3) => t3.value == e3)), t2 && t2.length > 0 && (e3 = t2[0].label);
|
|
16
|
+
} else if ("custom" === G) {
|
|
17
|
+
const t2 = T(S.pageContext, W.value.formatFunc);
|
|
18
|
+
t2 && (e3 = t2.apply(t2, [{ pageContext: S.pageContext, configureObj: S.configure, value: e3 }]));
|
|
19
|
+
} else e3 = k(e3, G, W.value);
|
|
22
20
|
return e3 = null == e3 ? "" : e3, e3;
|
|
23
|
-
}),
|
|
21
|
+
}), J = t(null), K = t(null), L = t(null);
|
|
24
22
|
return n(() => {
|
|
25
23
|
a(() => {
|
|
26
|
-
const e3 =
|
|
27
|
-
|
|
24
|
+
const e3 = H.value;
|
|
25
|
+
C(e3, S.pageContext, S.configure, { formItemRef: J.value, componentRef: K.value, titleRef: L.value, value: e3, entity: S.pageContext.entity.data, pageData: S.pageContext.entity.page });
|
|
28
26
|
});
|
|
29
|
-
}),
|
|
30
|
-
|
|
31
|
-
} }), (
|
|
32
|
-
const
|
|
33
|
-
return
|
|
27
|
+
}), R2({ updateOptions: function(e3) {
|
|
28
|
+
B.value = e3 || [];
|
|
29
|
+
} }), (e3, t2) => {
|
|
30
|
+
const l2 = u("el-form-item");
|
|
31
|
+
return W.value.whetherTittle ? (s(), i("div", { key: 0, ref_key: "titleRef", ref: L, class: r(f(z)), style: p(f(A)) }, [c("div", b, v(W.value.title), 1)], 6)) : W.value.tittleShow ? (s(), o(l2, { key: 1, ref_key: "formItemRef", ref: J, required: !!W.value.required, class: r([f(z), W.value.contentAlign ? "form-item-align-" + W.value.contentAlign : "formNo" === W.value.showType ? "form-item-align-flex-end" : ""]), "label-width": W.value.labelWidth, style: p(f(A)) }, y({ default: g(() => [c("div", { style: { display: "flex", width: "100%", "justify-content": "space-between" }, ref_key: "componentRef", ref: K, onClick: t2[0] || (t2[0] = (t3) => f(_)(t3, e3.pageContext, e3.configure, "click")) }, [c("span", V, [W.value.preIconValue || W.value.preText ? (s(), i("span", { key: 0, class: r({ "el-input__suffix": "outer" != W.value.iconPosition, "el-input-group__append": "outer" == W.value.iconPosition }), style: p(f(F)) }, [W.value.preIconType && W.value.preIconValue ? (s(), o(f(w), { key: 0, iconType: W.value.preIconType, iconValue: W.value.preIconValue }, null, 8, ["iconType", "iconValue"])) : m("", true), d(" " + v(f(I)(W.value.preText)), 1)], 6)) : m("", true), d(" " + v(H.value), 1)]), W.value.sufIconValue || W.value.sufText ? (s(), i("span", { key: 0, class: r({ "el-input__suffix": "outer" != W.value.iconPosition, "el-input-group__append": "outer" == W.value.iconPosition }) }, [W.value.sufIconType && W.value.sufIconValue ? (s(), o(f(w), { key: 0, style: {}, iconType: W.value.sufIconType, iconValue: W.value.sufIconValue }, null, 8, ["iconType", "iconValue"])) : m("", true), c("span", null, " " + v(f(I)(W.value.sufText)), 1)], 2)) : m("", true)], 512)]), _: 2 }, [W.value.tittleShow ? { name: "label", fn: g(() => [c("div", { ref_key: "titleRef", ref: L, style: p({ ...f(D), ...f(N) }) }, v(f(I)(W.value.title)), 5)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"])) : (s(), i("span", { key: 2, style: { display: "flex", "justify-content": "space-between" }, onClick: t2[1] || (t2[1] = (t3) => f(_)(t3, e3.pageContext, e3.configure, "click")) }, [c("span", { style: { overflow: "hidden", "white-space": "nowrap" }, title: H.value }, v(W.value.prefixIcon) + " " + v(H.value), 9, j), W.value.suffixTxt ? (s(), i("span", { key: 0, class: r(f(E)), style: p(f(F)) }, v(W.value.suffixTxt), 7)) : m("", true)]));
|
|
34
32
|
};
|
|
35
33
|
} });
|
|
36
34
|
export {
|
|
37
|
-
|
|
35
|
+
R as default
|
|
38
36
|
};
|
|
@@ -1,43 +1,41 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, computed as l, onMounted as i, nextTick as n, resolveComponent as a, createBlock as u, openBlock as o, normalizeStyle as r, normalizeClass as
|
|
2
|
-
import { getFormModelFields as
|
|
3
|
-
import { getVariableValue as
|
|
4
|
-
import { handleAfterInitEvent as
|
|
5
|
-
import { $t as
|
|
6
|
-
import { SuperIcon as
|
|
7
|
-
import { analysisValue as
|
|
8
|
-
const
|
|
1
|
+
import { defineComponent as e, ref as t, computed as l, onMounted as i, nextTick as n, resolveComponent as a, createBlock as u, openBlock as o, normalizeStyle as r, normalizeClass as p, unref as s, createSlots as f, withCtx as c, createVNode as d, createCommentVNode as g, createTextVNode as m, toDisplayString as v, createElementVNode as y } from "vue";
|
|
2
|
+
import { getFormModelFields as k } from "../../../../utils/page-init-util.js";
|
|
3
|
+
import { getVariableValue as x } from "../../../../utils/page-helper-util.js";
|
|
4
|
+
import { handleAfterInitEvent as b, handleEvent as C } from "../../../../utils/events/event-util.js";
|
|
5
|
+
import { $t as _ } from "../../../../utils/i18n-util.js";
|
|
6
|
+
import { SuperIcon as h } from "agilebuilder-ui";
|
|
7
|
+
import { analysisValue as R } from "agilebuilder-ui/src/utils/util";
|
|
8
|
+
const T = e({ __name: "link-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
|
|
9
9
|
var _a;
|
|
10
|
-
const
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
let $ = P.value.formatting;
|
|
15
|
-
const q = R2.pageContext.entity ? R2.pageContext.entity : {}, D = l(() => {
|
|
10
|
+
const T2 = e2, j = k(T2.pageContext, T2.configure), w = T2.configure.runtime ? T2.configure.runtime : {}, V = w.style, I = w.class, P = w.headerStyle, S = t(w.props ? w.props : {}), $ = t();
|
|
11
|
+
((_a = T2.configure.props) == null ? void 0 : _a.linkPage) && ($.value = T2.configure.props.linkPage);
|
|
12
|
+
let q = S.value.formatting;
|
|
13
|
+
const D = T2.pageContext.entity ? T2.pageContext.entity : {}, J = l(() => {
|
|
16
14
|
var _a2;
|
|
17
|
-
let e3 =
|
|
18
|
-
if (e3 = null == e3 || null == e3 ? "" : e3,
|
|
19
|
-
else if (
|
|
20
|
-
const e4 =
|
|
15
|
+
let e3 = x(D, j);
|
|
16
|
+
if (e3 = null == e3 || null == e3 ? "" : e3, q) e3 = q.replace(/\${value}/g, e3);
|
|
17
|
+
else if ($.value && $.value.displayTextJudge && ((_a2 = $.value.dynamicTags) == null ? void 0 : _a2.length) > 0) {
|
|
18
|
+
const e4 = R($.value.dynamicTags.join("-#-#"), D.data, D.request, D.context, T2.pageContext);
|
|
21
19
|
if (e4) return e4;
|
|
22
20
|
}
|
|
23
21
|
return e3;
|
|
24
22
|
});
|
|
25
|
-
let
|
|
26
|
-
|
|
27
|
-
let e3 =
|
|
28
|
-
return e3 = null == e3 || null == e3 ? "" : e3,
|
|
23
|
+
let W = S.value.tooltip, z = null;
|
|
24
|
+
W && (z = l(() => {
|
|
25
|
+
let e3 = x(D, j);
|
|
26
|
+
return e3 = null == e3 || null == e3 ? "" : e3, W.replace(/\${value}/g, e3);
|
|
29
27
|
}));
|
|
30
|
-
const
|
|
28
|
+
const A = t(null), B = t(null), E = t(null);
|
|
31
29
|
return i(() => {
|
|
32
30
|
n(() => {
|
|
33
|
-
const e3 =
|
|
34
|
-
|
|
31
|
+
const e3 = J.value;
|
|
32
|
+
b(e3, T2.pageContext, T2.configure, { formItemRef: A.value, componentRef: B.value, titleRef: E.value, value: e3, entity: T2.pageContext.entity.data, pageData: T2.pageContext.entity.page });
|
|
35
33
|
});
|
|
36
|
-
}), (
|
|
37
|
-
const
|
|
38
|
-
return o(), u(
|
|
34
|
+
}), (e3, t2) => {
|
|
35
|
+
const l2 = a("el-link"), i2 = a("el-tooltip"), n2 = a("el-form-item");
|
|
36
|
+
return o(), u(n2, { ref_key: "formItemRef", ref: A, class: p(s(I)), "label-width": S.value.labelWidth, style: r(s(V)) }, f({ default: c(() => [d(i2, { disabled: !s(z), content: s(z) }, { default: c(() => [d(l2, { ref_key: "componentRef", ref: B, disabled: "disabled" === S.value.state, type: S.value.type, underline: S.value.underline, onClick: t2[0] || (t2[0] = (t3) => s(C)(t3, e3.pageContext, e3.configure, "click", { skipValidate: true })) }, { default: c(() => [$.value ? (o(), u(s(h), { key: 0, iconType: $.value.iconType, iconValue: $.value.icon }, null, 8, ["iconType", "iconValue"])) : g("", true), m(" " + v(J.value), 1)]), _: 1 }, 8, ["disabled", "type", "underline"])]), _: 1 }, 8, ["disabled", "content"])]), _: 2 }, [S.value.tittleShow ? { name: "label", fn: c(() => [y("div", { ref_key: "titleRef", ref: E, style: r({ ...s(P) }) }, v(s(_)(S.value.title)), 5)]), key: "0" } : void 0]), 1032, ["class", "label-width", "style"]);
|
|
39
37
|
};
|
|
40
38
|
} });
|
|
41
39
|
export {
|
|
42
|
-
|
|
40
|
+
T as default
|
|
43
41
|
};
|
|
@@ -1,82 +1,82 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, computed as l, watch as o, onUnmounted as n, onMounted as
|
|
2
|
-
import { setVariableValue as
|
|
3
|
-
import { getFormModelFields as
|
|
4
|
-
import { handleFormEvent as
|
|
5
|
-
import { $t as
|
|
6
|
-
import { addRequiredClassUtil as
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
let
|
|
10
|
-
const
|
|
11
|
-
let e3 =
|
|
1
|
+
import { defineComponent as e, ref as t, computed as l, watch as o, onUnmounted as n, onMounted as a, nextTick as u, resolveComponent as i, createBlock as r, openBlock as s, normalizeStyle as f, normalizeClass as p, unref as c, createSlots as g, withCtx as v, createVNode as d, createElementBlock as m, Fragment as h, renderList as y, createTextVNode as b, toDisplayString as C, createElementVNode as x } from "vue";
|
|
2
|
+
import { setVariableValue as k, getVariableValue as _, getOptionDatasFromPage as S, autoSetAfterSelect as R, queryOptionDatasources as j } from "../../../../utils/page-helper-util.js";
|
|
3
|
+
import { getFormModelFields as T } from "../../../../utils/page-init-util.js";
|
|
4
|
+
import { handleFormEvent as I, handleAfterInitEvent as q } from "../../../../utils/events/event-util.js";
|
|
5
|
+
import { $t as V } from "../../../../utils/i18n-util.js";
|
|
6
|
+
import { addRequiredClassUtil as w } from "../../../../utils/common-util.js";
|
|
7
|
+
const z = e({ __name: "radio-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: z2 }) {
|
|
8
|
+
const O = e2, D = t(null), E = O.pageContext.entity ? O.pageContext.entity : {};
|
|
9
|
+
let M = T(O.pageContext, O.configure);
|
|
10
|
+
const P = l({ get() {
|
|
11
|
+
let e3 = _(E, M);
|
|
12
12
|
return null != e3 && (e3 += ""), e3;
|
|
13
13
|
}, set(e3) {
|
|
14
|
-
|
|
15
|
-
} }),
|
|
16
|
-
|
|
17
|
-
const
|
|
18
|
-
let
|
|
19
|
-
if (("dynamicData" ==
|
|
20
|
-
|
|
21
|
-
if (
|
|
14
|
+
k(E, M, e3), null != e3 && (D.value = "");
|
|
15
|
+
} }), W = O.configure.runtime ? O.configure.runtime : {}, F = W.style, U = W.class, $ = W.headerStyle, A = W.titleExceedStyle, B = t(W.props ? W.props : {}), G = t(B.value.options ? B.value.options : []), H = S(O.pageContext, O.configure);
|
|
16
|
+
H.length > 0 && (G.value = H);
|
|
17
|
+
const J = O.configure.props && O.configure.props.dataOrigin ? O.configure.props.dataOrigin : {}, K = J.optionValueSetType;
|
|
18
|
+
let L = [];
|
|
19
|
+
if (("dynamicData" == K || "dataTable" == K || "service" == K) && J.autoSets) for (let e3 of J.autoSets) e3.source && L.push(e3);
|
|
20
|
+
O.configure && O.configure.props && O.configure.props.base && O.configure.props.base.optionProp && L.push({ source: "label", target: O.configure.props.base.optionProp }), B.value.changeMethod = function(e3) {
|
|
21
|
+
if (L.length > 0) {
|
|
22
22
|
let t2 = null;
|
|
23
|
-
|
|
23
|
+
G.value && null != e3 && null != e3 && (t2 = G.value.filter((t3) => e3 === t3.value)), R(O.configure, O.pageContext, L, t2);
|
|
24
24
|
}
|
|
25
|
-
|
|
25
|
+
I(e3, O.pageContext, O.configure, "change");
|
|
26
26
|
};
|
|
27
|
-
const
|
|
28
|
-
if (
|
|
27
|
+
const N = B.value.monitorFields, Q = [];
|
|
28
|
+
if (N) {
|
|
29
29
|
const e3 = [];
|
|
30
|
-
for (let t2 of
|
|
30
|
+
for (let t2 of N) if (t2.startsWith("${")) {
|
|
31
31
|
t2 = t2.substring(2, t2.length - 1);
|
|
32
32
|
const l2 = t2.split(".");
|
|
33
|
-
"page" !== l2[0] && "task" !== l2[0] && "data" !== l2[0] || (
|
|
33
|
+
"page" !== l2[0] && "task" !== l2[0] && "data" !== l2[0] || (Q.push(l2), e3.includes(l2[0]) || e3.push(l2[0]));
|
|
34
34
|
}
|
|
35
|
-
for (let t2 of e3) o(
|
|
36
|
-
|
|
35
|
+
for (let t2 of e3) o(E[t2], () => {
|
|
36
|
+
te();
|
|
37
37
|
});
|
|
38
38
|
}
|
|
39
|
-
function
|
|
39
|
+
function X() {
|
|
40
40
|
let e3 = "";
|
|
41
|
-
for (let t2 of
|
|
41
|
+
for (let t2 of Q) e3 += "_" + _(E, t2);
|
|
42
42
|
return e3;
|
|
43
43
|
}
|
|
44
|
-
let
|
|
45
|
-
const
|
|
46
|
-
function
|
|
47
|
-
|
|
48
|
-
const e3 =
|
|
49
|
-
e3 !=
|
|
44
|
+
let Y = X(), Z = false;
|
|
45
|
+
const ee = B.value.optionconfigInfo ? B.value.optionconfigInfo : {};
|
|
46
|
+
function te() {
|
|
47
|
+
Z && clearTimeout(Z), Z = setTimeout(function() {
|
|
48
|
+
const e3 = X();
|
|
49
|
+
e3 != Y && (Y = e3, j(O.pageContext, ee, void 0).then((e4) => {
|
|
50
50
|
}));
|
|
51
51
|
}, 200);
|
|
52
52
|
}
|
|
53
53
|
n(() => {
|
|
54
|
-
|
|
54
|
+
Z && clearTimeout(Z);
|
|
55
55
|
});
|
|
56
|
-
const
|
|
57
|
-
return
|
|
58
|
-
|
|
59
|
-
const e3 =
|
|
60
|
-
|
|
56
|
+
const le = t(null), oe = t(null), ne = t(null);
|
|
57
|
+
return a(() => {
|
|
58
|
+
u(() => {
|
|
59
|
+
const e3 = P.value;
|
|
60
|
+
q(e3, O.pageContext, O.configure, { formItemRef: le.value, componentRef: oe.value, titleRef: ne.value, value: e3, entity: O.pageContext.entity.data, pageData: O.pageContext.entity.page });
|
|
61
61
|
});
|
|
62
|
-
}),
|
|
63
|
-
|
|
62
|
+
}), z2({ updateOptions: function(e3) {
|
|
63
|
+
G.value = e3 || [];
|
|
64
64
|
}, addRequiredClass: function() {
|
|
65
|
-
|
|
65
|
+
D.value = w();
|
|
66
66
|
}, getSelectItemsTitle: function() {
|
|
67
|
-
let e3 =
|
|
67
|
+
let e3 = _(E, M);
|
|
68
68
|
if (null == e3) return "";
|
|
69
69
|
if (e3 = String(e3), null != e3 && "" !== e3 && e3.length > 0) {
|
|
70
70
|
let t2 = "";
|
|
71
|
-
return
|
|
71
|
+
return G.value.length > 0 ? (G.value.forEach((l2) => {
|
|
72
72
|
l2.value === e3 && (t2 = t2 + l2.label + ",");
|
|
73
73
|
}), t2 = t2.slice(0, t2.length - 1)) : t2 = e3.join(","), t2;
|
|
74
74
|
}
|
|
75
|
-
} }), (
|
|
76
|
-
const
|
|
77
|
-
return s(), r(
|
|
75
|
+
} }), (e3, t2) => {
|
|
76
|
+
const l2 = i("el-radio"), o2 = i("el-radio-group"), n2 = i("el-form-item");
|
|
77
|
+
return s(), r(n2, { ref_key: "formItemRef", ref: le, required: B.value.required, class: p(c(U) + (D.value ? " " + D.value : "")), "label-width": B.value.labelWidth, style: f(c(F)) }, g({ default: v(() => [d(o2, { ref_key: "componentRef", ref: oe, disabled: "disabled" === B.value.state, size: B.value.size, onChange: B.value.changeMethod, modelValue: P.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => P.value = e4) }, { default: v(() => [(s(true), m(h, null, y(G.value, (t3) => (s(), r(l2, { key: t3.value, label: t3.value, onClick: (l3) => c(I)(t3.value, e3.pageContext, e3.configure, "click", { values: P.value }) }, { default: v(() => [b(C(t3.label), 1)]), _: 2 }, 1032, ["label", "onClick"]))), 128))]), _: 1 }, 8, ["disabled", "size", "onChange", "modelValue"])]), _: 2 }, [B.value.tittleShow ? { name: "label", fn: v(() => [x("div", { ref_key: "titleRef", ref: ne, style: f({ ...c($), ...c(A) }) }, C(c(V)(B.value.title)), 5)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]);
|
|
78
78
|
};
|
|
79
79
|
} });
|
|
80
80
|
export {
|
|
81
|
-
|
|
81
|
+
z as default
|
|
82
82
|
};
|
|
@@ -2,7 +2,7 @@ import t from "./richtext-runtime.vue2.js";
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
import e from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const r = e(t, [["__scopeId", "data-v-
|
|
5
|
+
const r = e(t, [["__scopeId", "data-v-9fec556f"]]);
|
|
6
6
|
export {
|
|
7
7
|
r as default
|
|
8
8
|
};
|