super-page-designer 2.3.16-sit2-design1 → 2.3.16-sit3-design1
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/design/views/assemblys/common/common-variable-bind-option.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/textarea/textarea-attr-base.vue.js +11 -11
- package/dist/es/components/design/views/assemblys/form/textarea/textarea-design.vue2.js +13 -13
- package/dist/es/components/design/views/assemblys/page/page-attr-base.vue.js +7 -7
- package/dist/es/components/design/views/design/page-event/{config.vue.js → config.vue2.js} +1 -1
- package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +1 -1
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +1 -1
- package/package.json +4 -4
- /package/dist/es/components/design/views/assemblys/common/{common-variable-bind.vue2.js → common-variable-bind.vue3.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = [{ value: "data", label: "数据模型" }, { value: "page", label: "页面变量" }, { value: "task", label: "流程变量" }, { value: "context", label: "环境变量" }, { value: "system", label: "系统参数" }, { value: "request", label: "请求参数" }, { value: "params", label: "方法参数" }, { value: "fixed", label: "固定值" }, { value: "row", label: "列模型" }], a = [{ value: "currentTime", label: "当前时间" }, { value: "currentDate", label: "当前日期" }, { value: "currentTransactorId", label: "当前用户ID" }, { value: "currentTransactor", label: "当前用户登录名" }, { value: "currentTransactorName", label: "当前用户姓名" }, { value: "currentTransactorNameEng", label: "当前用户姓名(英文)" }, { value: "currentUserEmail", label: "当前用户邮箱" }, { value: "currentTransactorMainDepartmentId", label: "当前用户部门ID" }, { value: "currentTransactorMainDepartmentCode", label: "当前用户部门编码" }, { value: "currentTransactorMainDepartment", label: "当前用户部门名称" }, { value: "currentBranchId", label: "所属分支ID" }, { value: "currentBranchName", label: "所属分支名称" }, { value: "currentBranchCode", label: "所属分支编码" }, { value: "currentCompanyCode", label: "所属租户编码" }, { value: "currentYear", label: "当前年" }, { value: "currentMonth", label: "当前月" }], l = [{ value: "transactor", label: "当前办理人" }, { value: "nodeId", label: "环节名称" }, { value: "nodeCode", label: "环节编码" }, { value: "assigner", label: "当前指派人" }, { value: "trustor", label: "当前委托人" }];
|
|
1
|
+
const e = [{ value: "data", label: "数据模型" }, { value: "page", label: "页面变量" }, { value: "task", label: "流程变量" }, { value: "context", label: "环境变量" }, { value: "system", label: "系统参数" }, { value: "request", label: "请求参数" }, { value: "params", label: "方法参数" }, { value: "fixed", label: "固定值" }, { value: "row", label: "列模型" }], a = [{ value: "currentTime", label: "当前时间" }, { value: "currentDate", label: "当前日期" }, { value: "currentTransactorId", label: "当前用户ID" }, { value: "currentTransactor", label: "当前用户登录名" }, { value: "currentTransactorName", label: "当前用户姓名" }, { value: "currentTransactorNameEng", label: "当前用户姓名(英文)" }, { value: "currentUserEmail", label: "当前用户邮箱" }, { value: "currentUserTelephone", label: "当前用户手机号" }, { value: "currentTransactorMainDepartmentId", label: "当前用户部门ID" }, { value: "currentTransactorMainDepartmentCode", label: "当前用户部门编码" }, { value: "currentTransactorMainDepartment", label: "当前用户部门名称" }, { value: "currentBranchId", label: "所属分支ID" }, { value: "currentBranchName", label: "所属分支名称" }, { value: "currentBranchCode", label: "所属分支编码" }, { value: "currentCompanyCode", label: "所属租户编码" }, { value: "currentYear", label: "当前年" }, { value: "currentMonth", label: "当前月" }], l = [{ value: "transactor", label: "当前办理人" }, { value: "nodeId", label: "环节名称" }, { value: "nodeCode", label: "环节编码" }, { value: "assigner", label: "当前指派人" }, { value: "trustor", label: "当前委托人" }];
|
|
2
2
|
function r(a2, l2) {
|
|
3
3
|
return a2 && a2.length > 0 ? e.filter((e2) => l2 && "params" == e2.value || a2.includes(e2.value)) : l2 ? e : e.filter((e2) => "params" != e2.value);
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, resolveComponent as a, createBlock as o, openBlock as
|
|
1
|
+
import { defineComponent as e, ref as l, resolveComponent as a, createBlock as o, openBlock as t, withCtx as u, createVNode as i, withDirectives as s, createCommentVNode as r, createElementVNode as n, createElementBlock as d, Fragment as m, renderList as p, unref as f, createTextVNode as c, vShow as g } from "vue";
|
|
2
2
|
import { getFormComponentOptions as b } from "../../../../utils/assemblys-config.js";
|
|
3
3
|
import { componentNameChange as V } from "../../../../utils/form-design-util.js";
|
|
4
4
|
import v from "../../common/common-attr-size.vue.js";
|
|
@@ -9,19 +9,19 @@ import x from "../common/verification-custom.vue.js";
|
|
|
9
9
|
import U from "../../common/common-i18n-key-input.vue.js";
|
|
10
10
|
const w = { style: { padding: "8px 0px 0px 0px" } }, k = { style: { padding: "8px 0px 0px 0px" } }, j = e({ __name: "textarea-attr-base", props: { configure: { type: Object, required: true }, default: () => ({ props: {} }), pageDesign: { type: Object, default: () => {
|
|
11
11
|
} } }, emits: ["changeAssembly"], setup(e2, { emit: j2 }) {
|
|
12
|
-
const
|
|
13
|
-
function
|
|
14
|
-
|
|
12
|
+
const S = e2, z = l(S.configure.name), T = j2, W = l(["base"]), D = l(false);
|
|
13
|
+
function q(e3, l2) {
|
|
14
|
+
S.configure.props.base.prop = e3, l2 && (S.configure.props.base.title = l2);
|
|
15
15
|
}
|
|
16
|
-
function
|
|
17
|
-
|
|
16
|
+
function I(e3) {
|
|
17
|
+
S.configure.props.base.defaultValue = e3;
|
|
18
18
|
}
|
|
19
|
-
function
|
|
20
|
-
V(
|
|
19
|
+
function N(e3) {
|
|
20
|
+
V(S.configure, e3, T);
|
|
21
21
|
}
|
|
22
|
-
return
|
|
23
|
-
const j3 = a("el-option"),
|
|
24
|
-
return
|
|
22
|
+
return S.configure.isTable && (D.value = true), (l2, V2) => {
|
|
23
|
+
const j3 = a("el-option"), S2 = a("el-select"), T2 = a("el-form-item"), O = a("el-input"), R = a("el-radio"), A = a("el-radio-group"), C = a("el-input-number"), B = a("el-switch"), E = a("el-collapse-item"), F = a("el-checkbox"), G = a("el-col"), H = a("el-collapse"), J = a("el-form");
|
|
24
|
+
return t(), o(J, { "label-width": "80px", size: "small" }, { default: u(() => [i(H, { modelValue: W.value, "onUpdate:modelValue": V2[16] || (V2[16] = (e3) => W.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(E, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", w, [i(T2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [i(S2, { modelValue: z.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => z.value = e3), onChange: N, placeholder: "请选择" }, { default: u(() => [(t(true), d(m, null, p(f(b)(), (e3) => (t(), o(j3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [i(O, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V2[1] || (V2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), D.value ? r("", true) : (t(), o(T2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(_, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": q }, null, 8, ["modelValue"]))]), _: 1 })), i(T2, { label: "默认值", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(_, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": I }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), D.value ? r("", true) : (t(), o(T2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), D.value ? r("", true) : (t(), o(T2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[2] || (V2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: u(() => [i(R, { value: true }, { default: u(() => V2[17] || (V2[17] = [c("显示")])), _: 1 }), i(R, { value: false }, { default: u(() => V2[18] || (V2[18] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), s(i(T2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [i(U, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[3] || (V2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), s(i(T2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: u(() => [i(C, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), s(i(T2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: u(() => [i(R, { value: "block" }, { default: u(() => V2[19] || (V2[19] = [c("换行")])), _: 1 }), i(R, { value: "inline" }, { default: u(() => V2[20] || (V2[20] = [c("不换行")])), _: 1 }), i(R, { value: "omit" }, { default: u(() => V2[21] || (V2[21] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(T2, { label: "输入提示", class: "amb-design-attr-item" }, { default: u(() => [i(U, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "行数", class: "amb-design-attr-item" }, { default: u(() => [i(C, { modelValue: e2.configure.props.base.rows, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.rows = l3), min: 1 }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "最小长度", class: "amb-design-attr-item" }, { default: u(() => [i(C, { modelValue: e2.configure.props.base.minlength, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.base.minlength = l3), class: "mx-4", min: 0, "controls-position": "right", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "最大长度", class: "amb-design-attr-item" }, { default: u(() => [i(C, { modelValue: e2.configure.props.base.maxlength, "onUpdate:modelValue": V2[9] || (V2[9] = (l3) => e2.configure.props.base.maxlength = l3), class: "mx-4", min: 0, "controls-position": "right", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "显示字数", class: "amb-design-attr-item" }, { default: u(() => [i(B, { modelValue: e2.configure.props.base.showInputNum, "onUpdate:modelValue": V2[10] || (V2[10] = (l3) => e2.configure.props.base.showInputNum = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "尺寸", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": V2[11] || (V2[11] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: u(() => [i(R, { value: "large" }, { default: u(() => V2[22] || (V2[22] = [c("大")])), _: 1 }), i(R, { value: "default" }, { default: u(() => V2[23] || (V2[23] = [c("中")])), _: 1 }), i(R, { value: "small" }, { default: u(() => V2[24] || (V2[24] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[12] || (V2[12] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [i(R, { value: "default" }, { default: u(() => V2[25] || (V2[25] = [c("普通")])), _: 1 }), i(R, { value: "disabled" }, { default: u(() => V2[26] || (V2[26] = [c("禁用")])), _: 1 }), i(R, { value: "readonly" }, { default: u(() => V2[27] || (V2[27] = [c("只读")])), _: 1 }), i(R, { value: "hidden" }, { default: u(() => V2[28] || (V2[28] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(i(y, { configure: e2.configure }, null, 8, ["configure"]), [[g, e2.configure.props.base.tittleShow]]), (t(), o(E, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: u(() => [n("div", k, [i(T2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(F, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V2[13] || (V2[13] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(G, { span: 8 }, { default: u(() => [i(F, { modelValue: e2.configure.props.verification.verifyRegex, "onUpdate:modelValue": V2[14] || (V2[14] = (l3) => e2.configure.props.verification.verifyRegex = l3), label: "正则", value: "regex" }, null, 8, ["modelValue"])]), _: 1 }), i(G, { span: 14 }, { default: u(() => [i(O, { modelValue: e2.configure.props.verification.regex, "onUpdate:modelValue": V2[15] || (V2[15] = (l3) => e2.configure.props.verification.regex = l3), class: "mx-4", "controls-position": "right", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), i(T2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(x, { pageDesign: e2.pageDesign, verification: e2.configure.props.verification }, null, 8, ["pageDesign", "verification"])]), _: 1 })])]), _: 1 })), D.value ? r("", true) : (t(), o(v, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
25
25
|
};
|
|
26
26
|
} });
|
|
27
27
|
export {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, watch as u, resolveComponent as r, createElementBlock as t, openBlock as i, createVNode as
|
|
2
|
-
import { caculateDetailComponentStyle as
|
|
1
|
+
import { defineComponent as e, ref as l, watch as u, resolveComponent as r, createElementBlock as t, openBlock as i, createVNode as n, normalizeStyle as o, normalizeClass as a, withCtx as s, createCommentVNode as m, createBlock as p, Fragment as g, createTextVNode as c, toDisplayString as f } from "vue";
|
|
2
|
+
import { caculateDetailComponentStyle as v, caculateComponentProps as d } from "../../../../utils/form-design-util.js";
|
|
3
3
|
import h from "../common/title-suffix-element.vue.js";
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
const
|
|
8
|
-
return u(
|
|
9
|
-
|
|
10
|
-
}, { immediate: true }), u(
|
|
11
|
-
|
|
4
|
+
const w = e({ __name: "textarea-design", props: { configure: { type: Object, required: true } }, setup(e2) {
|
|
5
|
+
const w2 = e2;
|
|
6
|
+
w2.configure.runtime || (w2.configure.runtime = {});
|
|
7
|
+
const y = l({}), b = l(""), x = l({}), k = l({}), q = l({});
|
|
8
|
+
return u(w2.configure.style, () => {
|
|
9
|
+
v(w2.configure, y, b, x), w2.configure.runtime.style = y.value, w2.configure.runtime.class = b.value, w2.configure.runtime.headerStyle = x.value;
|
|
10
|
+
}, { immediate: true }), u(w2.configure.props, () => {
|
|
11
|
+
d(w2.configure, k, q), w2.configure.props.base.showInputNum && (k.value.showInputNum = w2.configure.props.base.showInputNum), w2.configure.props.base.minlength && (k.value.minlength = w2.configure.props.base.minlength), w2.configure.props.base.maxlength && (k.value.maxlength = w2.configure.props.base.maxlength), w2.configure.runtime.props = k.value, w2.configure.runtime.titleExceedStyle = q.value;
|
|
12
12
|
}, { immediate: true }), (l2, u2) => {
|
|
13
|
-
const
|
|
14
|
-
return i(), t("div", null, [
|
|
13
|
+
const v2 = r("el-input"), d2 = r("el-form-item");
|
|
14
|
+
return i(), t("div", null, [n(d2, { required: k.value.required, class: a([b.value, "remove-formLabel-formContent-blankStyle"]), "label-width": k.value.labelWidth, style: o(y.value) }, { label: s(() => [k.value.tittleShow ? (i(), t("div", { key: 0, style: o({ ...x.value, ...q.value, "padding-right": "12px" }) }, [k.value.prefixType ? (i(), p(h, { key: 0, configure: e2.configure }, null, 8, ["configure"])) : (i(), t(g, { key: 1 }, [c(f(k.value.title), 1)], 64))], 4)) : m("", true)]), default: s(() => [n(v2, { readonly: "", type: "textarea", size: k.value.size, placeholder: k.value.placeholder, modelValue: k.value.value, "onUpdate:modelValue": u2[0] || (u2[0] = (e3) => k.value.value = e3), rows: k.value.rows ? k.value.rows : 2, maxlength: k.value.maxlength, minlength: k.value.minlength, "show-word-limit": k.value.showInputNum }, null, 8, ["size", "placeholder", "modelValue", "rows", "maxlength", "minlength", "show-word-limit"])]), _: 1 }, 8, ["required", "class", "label-width", "style"])]);
|
|
15
15
|
};
|
|
16
16
|
} });
|
|
17
17
|
export {
|
|
18
|
-
|
|
18
|
+
w as default
|
|
19
19
|
};
|
|
@@ -7,8 +7,8 @@ import { queryTableFields as V, changeFeieldToMap as _ } from "../../../utils/pa
|
|
|
7
7
|
import { usePageContextStore as C } from "../../../../../stores/page-store.js";
|
|
8
8
|
import { queryWorkflowsRequest as h, createWorkflowRequest as W } from "../../../utils/page-design-util.js";
|
|
9
9
|
import { ElMessageBox as S } from "element-plus";
|
|
10
|
-
const T = { style: { padding: "8px 0px 0px 0px" } }, U = { style: { padding: "8px 0px 0px 0px" } }, F = { style: { padding: "8px 0px 0px 0px" } }, N = { key: 0 }, D = { style: { float: "left" } },
|
|
11
|
-
const
|
|
10
|
+
const T = { style: { padding: "8px 0px 0px 0px" } }, U = { style: { padding: "8px 0px 0px 0px" } }, F = { style: { padding: "8px 0px 0px 0px" } }, N = { key: 0 }, D = { style: { float: "left" } }, z = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, j = e({ __name: "page-attr-base", props: { configure: {} }, setup(e2) {
|
|
11
|
+
const j2 = C(), A = e2, I = { children: "children", label: "label" }, O = o([]);
|
|
12
12
|
O.value = $(A.configure.variables);
|
|
13
13
|
const B = o([2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 24]), G = o(["1", "2", "3"]), J = o(null), M = o(null), P = o([]), q = A.configure.props.linkWorkflowCode ? A.configure.props.linkWorkflowCode : null, E = o(q), H = o(false), K = o(A.configure.props.activeWorkflow);
|
|
14
14
|
function L(e3) {
|
|
@@ -28,7 +28,7 @@ const T = { style: { padding: "8px 0px 0px 0px" } }, U = { style: { padding: "8p
|
|
|
28
28
|
A.configure.tableSysCode = e3.systemCode, A.configure.tableSysVersion = e3.systemVersion, A.configure.tableName = e3.name, A.configure.tableAlias = e3.alias;
|
|
29
29
|
const o3 = e3.systemCode ? e3.systemCode : A.configure.systemCode, l3 = e3.systemVersion ? e3.systemVersion : A.configure.systemVersion;
|
|
30
30
|
V(o3, l3, e3.name).then((e4) => {
|
|
31
|
-
A.configure.modelFields = e4, A.configure.modelFieldsMap = _(A.configure.modelFieldsMap, e4),
|
|
31
|
+
A.configure.modelFields = e4, A.configure.modelFieldsMap = _(A.configure.modelFieldsMap, e4), j2.setPageContext(A.configure);
|
|
32
32
|
});
|
|
33
33
|
}
|
|
34
34
|
}
|
|
@@ -36,7 +36,7 @@ const T = { style: { padding: "8px 0px 0px 0px" } }, U = { style: { padding: "8p
|
|
|
36
36
|
M.value.openDialog();
|
|
37
37
|
}
|
|
38
38
|
function Z() {
|
|
39
|
-
O.value = $(A.configure.variables),
|
|
39
|
+
O.value = $(A.configure.variables), j2.setPageContext(A.configure);
|
|
40
40
|
}
|
|
41
41
|
function $(e3) {
|
|
42
42
|
const o2 = ee(e3);
|
|
@@ -74,10 +74,10 @@ const T = { style: { padding: "8px 0px 0px 0px" } }, U = { style: { padding: "8p
|
|
|
74
74
|
}) : A.configure.props.activeWorkflow = false;
|
|
75
75
|
}
|
|
76
76
|
return oe(A.configure.props ? A.configure.props.workflowSource : null), (e3, o2) => {
|
|
77
|
-
const V2 = l("el-text"), _2 = l("el-form-item"), C2 = l("el-input"), h2 = l("el-radio-button"), W2 = l("el-radio-group"), S2 = l("el-switch"),
|
|
78
|
-
return r(), a(te, { "label-width": "80px", size: "small" }, { default: n(() => [t(ue, { modelValue: G.value, "onUpdate:modelValue": o2[9] || (o2[9] = (e4) => G.value = e4), style: { "margin-top": "6px" } }, { default: n(() => [t($2, { title: "基本", name: "1", class: "amb-design-attr-group-header" }, { default: n(() => [u("div", T, [t(_2, { label: "编码" }, { default: n(() => [t(V2, null, { default: n(() => [s(f(e3.configure.code), 1)]), _: 1 })]), _: 1 }), t(_2, { label: "名称", style: { "margin-top": "-10px" } }, { default: n(() => [t(C2, { modelValue: e3.configure.label, "onUpdate:modelValue": o2[0] || (o2[0] = (o3) => e3.configure.label = o3) }, null, 8, ["modelValue"])]), _: 1 }), t(_2, { label: "页面类型", style: { "margin-top": "-10px" } }, { default: n(() => [t(W2, { modelValue: e3.configure.pageType, "onUpdate:modelValue": o2[1] || (o2[1] = (o3) => e3.configure.pageType = o3) }, { default: n(() => [t(h2, { value: "form" }, { default: n(() => o2[10] || (o2[10] = [s("表单")])), _: 1 }), t(h2, { value: "list" }, { default: n(() => o2[11] || (o2[11] = [s("台帐")])), _: 1 }), t(h2, { value: "other" }, { default: n(() => o2[12] || (o2[12] = [s("其他")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), t(_2, { label: "Flex布局", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: n(() => [t(S2, { modelValue: e3.configure.props.isFlex, "onUpdate:modelValue": o2[2] || (o2[2] = (o3) => e3.configure.props.isFlex = o3) }, null, 8, ["modelValue"])]), _: 1 }), e3.configure.props.isFlex ? (r(), a(_2, { key: 0, label: "水平对齐", style: { "margin-top": "18px", "margin-bottom": "-15px" } }, { default: n(() => [t(q2, { modelValue: e3.configure.props.flexJustify, "onUpdate:modelValue": o2[3] || (o2[3] = (o3) => e3.configure.props.flexJustify = o3), placeholder: "默认", clearable: "" }, { default: n(() => [t(
|
|
77
|
+
const V2 = l("el-text"), _2 = l("el-form-item"), C2 = l("el-input"), h2 = l("el-radio-button"), W2 = l("el-radio-group"), S2 = l("el-switch"), j3 = l("el-option"), q2 = l("el-select"), $2 = l("el-collapse-item"), ee2 = l("el-button"), ne = l("el-tree"), te = l("el-form"), ie = l("el-radio"), ue = l("el-collapse");
|
|
78
|
+
return r(), a(te, { "label-width": "80px", size: "small" }, { default: n(() => [t(ue, { modelValue: G.value, "onUpdate:modelValue": o2[9] || (o2[9] = (e4) => G.value = e4), style: { "margin-top": "6px" } }, { default: n(() => [t($2, { title: "基本", name: "1", class: "amb-design-attr-group-header" }, { default: n(() => [u("div", T, [t(_2, { label: "编码" }, { default: n(() => [t(V2, null, { default: n(() => [s(f(e3.configure.code), 1)]), _: 1 })]), _: 1 }), t(_2, { label: "名称", style: { "margin-top": "-10px" } }, { default: n(() => [t(C2, { modelValue: e3.configure.label, "onUpdate:modelValue": o2[0] || (o2[0] = (o3) => e3.configure.label = o3) }, null, 8, ["modelValue"])]), _: 1 }), t(_2, { label: "页面类型", style: { "margin-top": "-10px" } }, { default: n(() => [t(W2, { modelValue: e3.configure.pageType, "onUpdate:modelValue": o2[1] || (o2[1] = (o3) => e3.configure.pageType = o3) }, { default: n(() => [t(h2, { value: "form" }, { default: n(() => o2[10] || (o2[10] = [s("表单")])), _: 1 }), t(h2, { value: "list" }, { default: n(() => o2[11] || (o2[11] = [s("台帐")])), _: 1 }), t(h2, { value: "other" }, { default: n(() => o2[12] || (o2[12] = [s("其他")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), t(_2, { label: "Flex布局", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: n(() => [t(S2, { modelValue: e3.configure.props.isFlex, "onUpdate:modelValue": o2[2] || (o2[2] = (o3) => e3.configure.props.isFlex = o3) }, null, 8, ["modelValue"])]), _: 1 }), e3.configure.props.isFlex ? (r(), a(_2, { key: 0, label: "水平对齐", style: { "margin-top": "18px", "margin-bottom": "-15px" } }, { default: n(() => [t(q2, { modelValue: e3.configure.props.flexJustify, "onUpdate:modelValue": o2[3] || (o2[3] = (o3) => e3.configure.props.flexJustify = o3), placeholder: "默认", clearable: "" }, { default: n(() => [t(j3, { label: "start", value: "start" }), t(j3, { label: "center", value: "center" }), t(j3, { label: "space-between", value: "space-between" }), t(j3, { label: "space-around", value: "space-around" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : i("", true), "2" == e3.configure.props.isFlex ? (r(), a(_2, { key: 1, label: "分栏间隔", style: { "margin-bottom": "-15px", "margin-top": "-10px" } }, { default: n(() => [t(q2, { modelValue: e3.configure.props.flexGutter, "onUpdate:modelValue": o2[4] || (o2[4] = (o3) => e3.configure.props.flexGutter = o3), placeholder: "默认", clearable: "" }, { default: n(() => [(r(true), p(c, null, d(B.value, (e4) => (r(), a(j3, { label: e4, value: e4 }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : i("", true)])]), _: 1 }), t($2, { title: "页面变量", name: "3", class: "amb-design-attr-group-header" }, { default: n(() => [u("div", U, [e3.configure.pageType && "form" != e3.configure.pageType ? i("", true) : (r(), a(_2, { key: 0, label: "数据模型", class: "amb-design-attr-item" }, { default: n(() => [t(C2, { modelValue: e3.configure.tableAlias, "onUpdate:modelValue": o2[5] || (o2[5] = (o3) => e3.configure.tableAlias = o3), onClick: Q, title: e3.configure.tableAlias, clearable: "", size: "small", readonly: "true" }, { append: n(() => [t(ee2, { type: "default", icon: g(b), onClick: Q, size: "small" }, null, 8, ["icon"]), t(ee2, { style: { "margin-left": "5px" }, type: "default", icon: g(y), onClick: m(R, ["stop"]), title: "Clear", size: "small" }, null, 8, ["icon"])]), _: 1 }, 8, ["modelValue", "title"])]), _: 1 })), t(te, { "label-position": "top", size: "small" }, { default: n(() => [t(_2, { "label-position": "top", class: "amb-design-attr-item" }, { label: n(() => [o2[13] || (o2[13] = s(" 自定义变量 ")), t(ee2, { type: "primary", round: "", icon: g(k), onClick: Y, size: "small" }, null, 8, ["icon"])]), default: n(() => [t(ne, { style: { border: "1px solid #f5f6f8", padding: "10px", width: "100%", "min-height": "100px" }, data: O.value, props: I, "default-expand-all": "", "expand-on-click-node": false }, null, 8, ["data"])]), _: 1 })]), _: 1 })])]), _: 1 }), e3.configure.pageType && "form" != e3.configure.pageType || !A.configure.tableName ? i("", true) : (r(), a($2, { key: 0, title: "工作流", name: "2", class: "amb-design-attr-group-header" }, { default: n(() => [u("div", F, [t(_2, { label: "启用", style: { "margin-bottom": "-14px" } }, { default: n(() => [t(S2, { modelValue: K.value, "onUpdate:modelValue": o2[6] || (o2[6] = (e4) => K.value = e4), onChange: re }, null, 8, ["modelValue"])]), _: 1 }), e3.configure.props.activeWorkflow ? (r(), a(_2, { key: 0, label: "流程来源", style: { "margin-top": "14px", "margin-bottom": "-15px" } }, { default: n(() => [t(W2, { modelValue: e3.configure.props.workflowSource, "onUpdate:modelValue": o2[7] || (o2[7] = (o3) => e3.configure.props.workflowSource = o3), onChange: oe }, { default: n(() => [t(ie, { value: "link" }, { default: n(() => o2[14] || (o2[14] = [s("选择引用")])), _: 1 }), t(ie, { value: "create" }, { default: n(() => o2[15] || (o2[15] = [s("新增流程")])), _: 1 }), e3.configure.props.workflowSource && "create" === e3.configure.props.workflowSource ? (r(), p("span", N, [t(ee2, { type: "default", onClick: le }, { default: n(() => o2[16] || (o2[16] = [s("新增")])), _: 1 })])) : i("", true)]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : i("", true), e3.configure.props.activeWorkflow && e3.configure.props.workflowSource && "link" === e3.configure.props.workflowSource ? (r(), a(_2, { key: 1, label: "选择引用", style: { "margin-top": "18px", "margin-bottom": "-12px" } }, { default: n(() => [t(q2, { modelValue: E.value, "onUpdate:modelValue": o2[8] || (o2[8] = (e4) => E.value = e4), onChange: L }, { default: n(() => [(r(true), p(c, null, d(P.value, (e4) => (r(), a(j3, { key: e4.code, label: e4.name, value: e4.code }, { default: n(() => [u("span", D, f(e4.name), 1), u("span", z, f(e4.code), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : i("", true), e3.configure.props.activeWorkflow && e3.configure.props.workflowSource && "link" === e3.configure.props.workflowSource ? (r(), a(_2, { key: 2, label: "流程编码", style: { "margin-top": "18px", "margin-bottom": "-12px" } }, { default: n(() => [s(f(e3.configure.props.linkWorkflowCode), 1)]), _: 1 })) : i("", true), e3.configure.props.activeWorkflow && e3.configure.props.workflowSource && "create" === e3.configure.props.workflowSource ? (r(), a(_2, { key: 3, label: "流程名称", style: { "margin-top": "18px", "margin-bottom": "-12px" } }, { default: n(() => [s(f(e3.configure.props.createWorkflowName), 1)]), _: 1 })) : i("", true), e3.configure.props.activeWorkflow && e3.configure.props.workflowSource && "create" === e3.configure.props.workflowSource ? (r(), a(_2, { key: 4, label: "流程编码", style: { "margin-top": "18px", "margin-bottom": "-12px" } }, { default: n(() => [s(f(e3.configure.props.createWorkflowCode), 1)]), _: 1 })) : i("", true)])]), _: 1 }))]), _: 1 }, 8, ["modelValue"]), t(w, { ref_key: "selectTableDialog", ref: J, onSelectTable: X, systemCode: e3.configure.systemCode, systemVersion: e3.configure.systemVersion }, null, 8, ["systemCode", "systemVersion"]), t(x, { ref_key: "refVariableDialog", ref: M, pageDesign: e3.configure, onClose: Z }, null, 8, ["pageDesign"]), H.value ? (r(), a(v, { key: 0, pageDesign: e3.configure, onClose: ae }, null, 8, ["pageDesign"])) : i("", true)]), _: 1 });
|
|
79
79
|
};
|
|
80
80
|
} });
|
|
81
81
|
export {
|
|
82
|
-
|
|
82
|
+
j as default
|
|
83
83
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as e, ref as t, onMounted as n, onUnmounted as a, watch as l, resolveComponent as u, createElementBlock as o, openBlock as s, createElementVNode as i, createVNode as r, withDirectives as m, withCtx as c, vShow as d, unref as v, createTextVNode as p, toDisplayString as f, Fragment as g, renderList as b, createBlock as y } from "vue";
|
|
2
2
|
import { ElMessageBox as x, ElMessage as h } from "element-plus";
|
|
3
|
-
import C from "./config.
|
|
3
|
+
import C from "./config.vue2.js";
|
|
4
4
|
import { standardButtonOperations as E } from "../../../utils/assemblys-config.js";
|
|
5
5
|
import { findDesignItemByUuid as S, getUuidv4 as V, deepCopy as k } from "../../../utils/common-util.js";
|
|
6
6
|
import { usePageContextStore as _ } from "../../../../../stores/page-store.js";
|
|
@@ -16,7 +16,7 @@ import "@codemirror/autocomplete";
|
|
|
16
16
|
import "@codemirror/language";
|
|
17
17
|
import "@codemirror/search";
|
|
18
18
|
import "js-beautify";
|
|
19
|
-
/* empty css
|
|
19
|
+
/* empty css */
|
|
20
20
|
import "../../../utils/assemblys-config.js";
|
|
21
21
|
import "../../../../../stores/page-store.js";
|
|
22
22
|
import "../../../../../stores/event-undo-redo-store.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "super-page-designer",
|
|
3
|
-
"version": "2.3.16-
|
|
3
|
+
"version": "2.3.16-sit3-design1",
|
|
4
4
|
"description": "AgileBuilder super page designer",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"main": "dist/es/index.js",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@vitejs/plugin-vue": "^5.0.4",
|
|
30
30
|
"@vueuse/core": "^10.9.0",
|
|
31
31
|
"agilebuilder-private-libs": "1.0.26",
|
|
32
|
-
"agilebuilder-ui": "1.1.58-
|
|
32
|
+
"agilebuilder-ui": "1.1.58-sit6",
|
|
33
33
|
"echarts": "^5.5.0",
|
|
34
34
|
"element-plus": "^2.6.1",
|
|
35
35
|
"font-awesome": "^4.7.0",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"qrcode": "^1.5.3",
|
|
42
42
|
"quill": "^2.0.1",
|
|
43
43
|
"service-flow-designer": "2.3.12-flow1",
|
|
44
|
-
"super-page-runtime": "2.3.16-
|
|
44
|
+
"super-page-runtime": "2.3.16-sit3",
|
|
45
45
|
"uuid": "^9.0.1",
|
|
46
46
|
"vite": "^5.1.6",
|
|
47
47
|
"vite-plugin-node-stdlib-browser": "^0.2.1",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"vue-echarts": "^6.6.9",
|
|
53
53
|
"vue-router": "^4.3.0",
|
|
54
54
|
"vuex": "^4.1.0",
|
|
55
|
-
"workflow-editor": "0.0.
|
|
55
|
+
"workflow-editor": "0.0.77-up"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@codemirror/autocomplete": "^6.16.0",
|