super-page-designer 2.3.0-sit6 → 2.3.0-sit9
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/utils/page-table-util.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/data/component/data-origin.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue.js +26 -2
- package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js +2 -26
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-base.vue.js +28 -23
- package/dist/es/components/design/views/design/page-event/{config.vue2.js → config.vue.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 +3 -3
- /package/dist/es/components/design/views/assemblys/common/{common-variable-bind.vue2.js → common-variable-bind.vue3.js} +0 -0
|
@@ -171,7 +171,7 @@ function b(e2) {
|
|
|
171
171
|
} else if ("input-text" === e2.name) {
|
|
172
172
|
const r2 = !!((_a = e2.props.scan) == null ? void 0 : _a.enable), a2 = (_b = e2.props.scan) == null ? void 0 : _b.ruleList;
|
|
173
173
|
t2 = { scanEnable: r2, scanRuleList: a2 };
|
|
174
|
-
} else "custom" === e2.name ? t2.parameter = e2.props.parameter : "datePicker" === e2.name
|
|
174
|
+
} else "custom" === e2.name ? t2.parameter = e2.props.parameter : "datePicker" === e2.name ? t2 = { format: e2.props.base.format, valueFormat: e2.props.base.valueFormat } : "dept-tree" === e2.name && (t2.limitFilterColumn = e2.props.base.limitFilterColumn, t2.deptScope = e2.props.base.deptScope, t2.deptScopeField = e2.props.base.deptScopeField, t2.deptScopeDepts = e2.props.base.deptScopeDepts);
|
|
175
175
|
return ((_c = e2.style) == null ? void 0 : _c.cellStyle) && (t2.cellStyle = e2.style.cellStyle), ((_d = e2.style) == null ? void 0 : _d.titleStyle) && (t2.titleStyle = e2.style.titleStyle), ((_f = (_e = e2.props) == null ? void 0 : _e.base) == null ? void 0 : _f.editConditions) && e2.props.base.editConditions.length > 0 && (t2.editConditions = e2.props.base.editConditions), t2 ? JSON.stringify(t2) : null;
|
|
176
176
|
}
|
|
177
177
|
function g(e2) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as e, ref as a, computed as l, resolveComponent as i, createBlock as o, openBlock as t, withCtx as n, createElementVNode as r, createVNode as s, createCommentVNode as u, withDirectives as d, renderSlot as p, createTextVNode as c, unref as g, vShow as f, createElementBlock as m, Fragment as v, renderList as y, normalizeClass as b, toDisplayString as V } from "vue";
|
|
2
|
-
import O from "../../form/common/dataorigin-input-table.
|
|
2
|
+
import O from "../../form/common/dataorigin-input-table.vue.js";
|
|
3
3
|
import { Codemirror as _ } from "vue-codemirror";
|
|
4
4
|
import C from "../../workflow/component/combination.vue.js";
|
|
5
5
|
import S from "./return-set-table.vue.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as e, ref as l, onMounted as a, resolveComponent as t, createBlock as o, openBlock as u, withCtx as i, createElementVNode as n, createVNode as s, createCommentVNode as d, withDirectives as r, unref as m, createElementBlock as p, Fragment as c, renderList as b, createTextVNode as f, vShow as y, normalizeClass as v } from "vue";
|
|
2
|
-
import V from "./dataorigin-input-table.
|
|
2
|
+
import V from "./dataorigin-input-table.vue.js";
|
|
3
3
|
import g from "./condition.vue.js";
|
|
4
4
|
import S from "./row-ul-li.vue.js";
|
|
5
5
|
import "uuid";
|
|
@@ -1,4 +1,28 @@
|
|
|
1
|
-
import t from "
|
|
1
|
+
import { defineComponent as e, ref as l, watch as a, resolveComponent as t, createElementBlock as o, openBlock as d, Fragment as u, createVNode as n, withCtx as i, unref as s, createElementVNode as m, createTextVNode as r } from "vue";
|
|
2
|
+
import { Search as p } from "@element-plus/icons-vue";
|
|
3
|
+
const f = { class: "dialog-footer" }, v = e({ __name: "dataorigin-input-table", props: { modelValue: { type: String, default: "" } }, emits: ["update:modelValue"], setup(e2, { emit: v2 }) {
|
|
4
|
+
const c = e2, g = l(c.modelValue), V = v2, h = [{ id: 1, date: "2016-05-03", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 2, date: "2016-05-02", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 3, date: "2016-05-04", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 4, date: "2016-05-01", name: "Tom", address: "No. 189, Grove St, Los Angeles" }], b = l(false), _ = l([]);
|
|
5
|
+
function y() {
|
|
6
|
+
if (_.value.length > 0) {
|
|
7
|
+
let e3 = "";
|
|
8
|
+
_.value.forEach((l2) => {
|
|
9
|
+
e3 = e3 + l2.name + ",";
|
|
10
|
+
}), e3 = e3.substring(0, e3.length - 1), V("update:modelValue", e3), b.value = false;
|
|
11
|
+
} else b.value = false;
|
|
12
|
+
}
|
|
13
|
+
function S(e3) {
|
|
14
|
+
_.value = e3;
|
|
15
|
+
}
|
|
16
|
+
function w() {
|
|
17
|
+
b.value = true;
|
|
18
|
+
}
|
|
19
|
+
return a(() => c.modelValue, (e3) => {
|
|
20
|
+
g.value = e3;
|
|
21
|
+
}), (e3, l2) => {
|
|
22
|
+
const a2 = t("el-icon"), v3 = t("el-input"), c2 = t("el-table-column"), V2 = t("el-table"), _2 = t("el-button"), A = t("el-dialog");
|
|
23
|
+
return d(), o(u, null, [n(v3, { modelValue: g.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => g.value = e4), placeholder: "请选择", onClick: w }, { suffix: i(() => [n(a2, { onClick: w }, { default: i(() => [n(s(p))]), _: 1 })]), _: 1 }, 8, ["modelValue"]), n(A, { modelValue: b.value, "onUpdate:modelValue": l2[2] || (l2[2] = (e4) => b.value = e4), title: "Tips", width: "500" }, { footer: i(() => [m("div", f, [n(_2, { type: "default", onClick: l2[1] || (l2[1] = (e4) => b.value = false) }, { default: i(() => l2[3] || (l2[3] = [r("取消")])), _: 1 }), n(_2, { type: "primary", onClick: y }, { default: i(() => l2[4] || (l2[4] = [r(" 确定 ")])), _: 1 })])]), default: i(() => [n(V2, { data: h, style: { width: "100%" }, onSelectionChange: S }, { default: i(() => [n(c2, { type: "selection", width: "55" }), n(c2, { prop: "date", label: "Date", width: "180" }), n(c2, { prop: "name", label: "Name", width: "180" }), n(c2, { prop: "address", label: "Address" })]), _: 1 })]), _: 1 }, 8, ["modelValue"])], 64);
|
|
24
|
+
};
|
|
25
|
+
} });
|
|
2
26
|
export {
|
|
3
|
-
|
|
27
|
+
v as default
|
|
4
28
|
};
|
package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js
CHANGED
|
@@ -1,28 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { Search as p } from "@element-plus/icons-vue";
|
|
3
|
-
const f = { class: "dialog-footer" }, v = e({ __name: "dataorigin-input-table", props: { modelValue: { type: String, default: "" } }, emits: ["update:modelValue"], setup(e2, { emit: v2 }) {
|
|
4
|
-
const c = e2, g = l(c.modelValue), V = v2, h = [{ id: 1, date: "2016-05-03", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 2, date: "2016-05-02", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 3, date: "2016-05-04", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 4, date: "2016-05-01", name: "Tom", address: "No. 189, Grove St, Los Angeles" }], b = l(false), _ = l([]);
|
|
5
|
-
function y() {
|
|
6
|
-
if (_.value.length > 0) {
|
|
7
|
-
let e3 = "";
|
|
8
|
-
_.value.forEach((l2) => {
|
|
9
|
-
e3 = e3 + l2.name + ",";
|
|
10
|
-
}), e3 = e3.substring(0, e3.length - 1), V("update:modelValue", e3), b.value = false;
|
|
11
|
-
} else b.value = false;
|
|
12
|
-
}
|
|
13
|
-
function S(e3) {
|
|
14
|
-
_.value = e3;
|
|
15
|
-
}
|
|
16
|
-
function w() {
|
|
17
|
-
b.value = true;
|
|
18
|
-
}
|
|
19
|
-
return a(() => c.modelValue, (e3) => {
|
|
20
|
-
g.value = e3;
|
|
21
|
-
}), (e3, l2) => {
|
|
22
|
-
const a2 = t("el-icon"), v3 = t("el-input"), c2 = t("el-table-column"), V2 = t("el-table"), _2 = t("el-button"), A = t("el-dialog");
|
|
23
|
-
return d(), o(u, null, [n(v3, { modelValue: g.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => g.value = e4), placeholder: "请选择", onClick: w }, { suffix: i(() => [n(a2, { onClick: w }, { default: i(() => [n(s(p))]), _: 1 })]), _: 1 }, 8, ["modelValue"]), n(A, { modelValue: b.value, "onUpdate:modelValue": l2[2] || (l2[2] = (e4) => b.value = e4), title: "Tips", width: "500" }, { footer: i(() => [m("div", f, [n(_2, { type: "default", onClick: l2[1] || (l2[1] = (e4) => b.value = false) }, { default: i(() => l2[3] || (l2[3] = [r("取消")])), _: 1 }), n(_2, { type: "primary", onClick: y }, { default: i(() => l2[4] || (l2[4] = [r(" 确定 ")])), _: 1 })])]), default: i(() => [n(V2, { data: h, style: { width: "100%" }, onSelectionChange: S }, { default: i(() => [n(c2, { type: "selection", width: "55" }), n(c2, { prop: "date", label: "Date", width: "180" }), n(c2, { prop: "name", label: "Name", width: "180" }), n(c2, { prop: "address", label: "Address" })]), _: 1 })]), _: 1 }, 8, ["modelValue"])], 64);
|
|
24
|
-
};
|
|
25
|
-
} });
|
|
1
|
+
import t from "./dataorigin-input-table.vue.js";
|
|
26
2
|
export {
|
|
27
|
-
|
|
3
|
+
t as default
|
|
28
4
|
};
|
|
@@ -1,40 +1,45 @@
|
|
|
1
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 d, createElementVNode as r, createElementBlock as p, Fragment as n, renderList as m, unref as f, createTextVNode as c, vShow as b } from "vue";
|
|
2
2
|
import { Search as g } from "@element-plus/icons-vue";
|
|
3
3
|
import { getFormComponentOptions as V } from "../../../../utils/assemblys-config.js";
|
|
4
|
-
import { componentNameChange as
|
|
5
|
-
import
|
|
4
|
+
import { componentNameChange as v } from "../../../../utils/form-design-util.js";
|
|
5
|
+
import _ from "../../common/common-attr-size.vue.js";
|
|
6
6
|
import y from "../../common/common-variable-bind.vue.js";
|
|
7
7
|
import h from "./depttree-autoset.vue.js";
|
|
8
8
|
import { OrganizationInput as S } from "agilebuilder-ui";
|
|
9
9
|
import U from "../../common/common-function-code.vue.js";
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
10
|
+
import x from "../common/title-suffix.vue.js";
|
|
11
|
+
import k from "../../common/common-i18n-key-input.vue.js";
|
|
12
|
+
import { usePageContextStore as j } from "../../../../../../stores/page-store.js";
|
|
13
|
+
import { getModelOptionsByFields as w } from "../../../../utils/page-table-util.js";
|
|
14
|
+
const T = { style: { padding: "8px 0px 0px 0px" } }, z = { style: { padding: "8px 0px 0px 0px" } }, C = { style: { padding: "8px 0px 0px 0px" } }, D = e({ __name: "depttree-attr-base", props: { configure: { type: Object, required: true }, pageDesign: { type: Object, default: () => {
|
|
15
|
+
} }, default: () => ({ props: {} }) }, emits: ["changeAssembly"], setup(e2, { emit: D2 }) {
|
|
16
|
+
const W = j(), F = e2, M = l(F.configure.name), O = D2, q = l(["base"]), L = l(false);
|
|
17
|
+
F.configure.isTable && (L.value = true);
|
|
18
|
+
const A = l(null), B = W.pageContext;
|
|
19
|
+
var E;
|
|
20
|
+
function G(e3) {
|
|
21
|
+
v(F.configure, e3, O);
|
|
17
22
|
}
|
|
18
|
-
function
|
|
19
|
-
|
|
23
|
+
function H(e3, l2) {
|
|
24
|
+
F.configure.props.base.prop = e3, l2 && (F.configure.props.base.title = l2);
|
|
20
25
|
}
|
|
21
|
-
function
|
|
22
|
-
|
|
26
|
+
function I(e3) {
|
|
27
|
+
F.configure.props.base.defaultValue = e3;
|
|
23
28
|
}
|
|
24
|
-
function
|
|
25
|
-
|
|
29
|
+
function J(e3) {
|
|
30
|
+
F.configure.props.base.deptScopeField = e3;
|
|
26
31
|
}
|
|
27
|
-
function
|
|
28
|
-
|
|
32
|
+
function K(e3, l2) {
|
|
33
|
+
F.configure.props.base.deptScopeDepts = l2;
|
|
29
34
|
}
|
|
30
|
-
function
|
|
31
|
-
"depts" === e3 && (
|
|
35
|
+
function N(e3) {
|
|
36
|
+
"depts" === e3 && (F.configure.props.base.limitFilterColumn = null);
|
|
32
37
|
}
|
|
33
|
-
return
|
|
34
|
-
const
|
|
35
|
-
return t(), o(
|
|
38
|
+
return (E = B.currentTableConfig) && (A.value = w(E.modelFields)), (l2, v2) => {
|
|
39
|
+
const j2 = a("el-option"), w2 = a("el-select"), D3 = a("el-form-item"), W2 = a("el-input"), F2 = a("el-radio"), O2 = a("el-radio-group"), B2 = a("el-input-number"), E2 = a("el-collapse-item"), P = a("el-checkbox"), Q = a("el-col"), R = a("el-button"), X = a("el-collapse"), Y = a("el-form");
|
|
40
|
+
return t(), o(Y, { "label-width": "80px", size: "small" }, { default: u(() => [i(X, { modelValue: q.value, "onUpdate:modelValue": v2[15] || (v2[15] = (e3) => q.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(E2, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [r("div", T, [i(D3, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [i(w2, { modelValue: M.value, "onUpdate:modelValue": v2[0] || (v2[0] = (e3) => M.value = e3), onChange: G, placeholder: "请选择" }, { default: u(() => [(t(true), p(n, null, m(f(V)(), (e3) => (t(), o(j2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(D3, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [i(W2, { 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 }), i(D3, { label: "结构树类型", class: "amb-design-attr-item" }, { default: u(() => [i(w2, { modelValue: e2.configure.props.base.treeType, "onUpdate:modelValue": v2[2] || (v2[2] = (l3) => e2.configure.props.base.treeType = l3), placeholder: "请选择" }, { default: u(() => [i(j2, { label: "部门人员树", value: "DeptUserTree" }), i(j2, { label: "工作组人员树", value: "WgUserTree" }), i(j2, { label: "部门树", value: "DeptTree" }), i(j2, { label: "工作组树", value: "WgTree" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), L.value ? d("", true) : (t(), o(D3, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(y, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": H }, null, 8, ["modelValue"]))]), _: 1 })), i(D3, { label: "默认值", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(y, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": I }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), L.value ? d("", true) : (t(), o(D3, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(U, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), L.value ? d("", true) : (t(), o(D3, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: u(() => [i(O2, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": v2[3] || (v2[3] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: u(() => [i(F2, { value: true }, { default: u(() => v2[16] || (v2[16] = [c("显示")])), _: 1 }), i(F2, { value: false }, { default: u(() => v2[17] || (v2[17] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), s(i(D3, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [i(k, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": v2[4] || (v2[4] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), s(i(D3, { label: "标题宽度", class: "amb-design-attr-item" }, { default: u(() => [i(B2, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": v2[5] || (v2[5] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), s(i(D3, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: u(() => [i(O2, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": v2[6] || (v2[6] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: u(() => [i(F2, { value: "block" }, { default: u(() => v2[18] || (v2[18] = [c("换行")])), _: 1 }), i(F2, { value: "inline" }, { default: u(() => v2[19] || (v2[19] = [c("不换行")])), _: 1 }), i(F2, { value: "omit" }, { default: u(() => v2[20] || (v2[20] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(D3, { label: "多选", class: "amb-design-attr-item" }, { default: u(() => [i(O2, { modelValue: e2.configure.props.base.treeMultiple, "onUpdate:modelValue": v2[7] || (v2[7] = (l3) => e2.configure.props.base.treeMultiple = l3), class: "ml-4" }, { default: u(() => [i(F2, { value: true }, { default: u(() => v2[21] || (v2[21] = [c("是")])), _: 1 }), i(F2, { value: false }, { default: u(() => v2[22] || (v2[22] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(i(D3, { label: "分隔符", class: "amb-design-attr-item" }, { default: u(() => [i(W2, { modelValue: e2.configure.props.base.separator, "onUpdate:modelValue": v2[8] || (v2[8] = (l3) => e2.configure.props.base.separator = l3), placeholder: "," }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.treeMultiple]]), i(D3, { label: "尺寸", class: "amb-design-attr-item" }, { default: u(() => [i(O2, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": v2[9] || (v2[9] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: u(() => [i(F2, { value: "large" }, { default: u(() => v2[23] || (v2[23] = [c("大")])), _: 1 }), i(F2, { value: "default" }, { default: u(() => v2[24] || (v2[24] = [c("中")])), _: 1 }), i(F2, { value: "small" }, { default: u(() => v2[25] || (v2[25] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(D3, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [i(O2, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": v2[10] || (v2[10] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [i(F2, { value: "default" }, { default: u(() => v2[26] || (v2[26] = [c("普通")])), _: 1 }), i(F2, { value: "disabled" }, { default: u(() => v2[27] || (v2[27] = [c("禁用")])), _: 1 }), i(F2, { value: "hidden" }, { default: u(() => v2[28] || (v2[28] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(E2, { title: "限定部门", name: "deptScopes", class: "amb-design-attr-group-header" }, { default: u(() => [r("div", z, [i(O2, { modelValue: e2.configure.props.base.deptScope, "onUpdate:modelValue": v2[12] || (v2[12] = (l3) => e2.configure.props.base.deptScope = l3), onChange: N }, { default: u(() => [i(D3, { class: "amb-design-attr-item" }, { label: u(() => [i(F2, { value: "field" }, { default: u(() => v2[29] || (v2[29] = [c("指定变量")])), _: 1 })]), default: u(() => [i(y, { showLabel: "field" != e2.configure.props.base.deptScope, objModelOptions: A.value, modelValue: e2.configure.props.base.deptScopeField, "onUpdate:modelValue": J }, null, 8, ["showLabel", "objModelOptions", "modelValue"])]), _: 1 }), i(D3, { class: "amb-design-attr-item" }, { label: u(() => [i(F2, { value: "depts" }, { default: u(() => v2[30] || (v2[30] = [c("固定部门")])), _: 1 })]), default: u(() => [i(f(S), { disabled: "depts" != e2.configure.props.base.deptScope, multiple: true, treeType: "DeptTree", value: e2.configure.props.base.deptScopeDepts, "onUpdate:value": v2[11] || (v2[11] = (l3) => e2.configure.props.base.deptScopeDepts = l3), models: e2.configure.props.base, fields: [{ type: "code", model: "deptScopeCodes" }], size: "small", placeholder: "请选择", separator: ",", onSetValue: K }, null, 8, ["disabled", "value", "models"])]), _: 1 })]), _: 1 }, 8, ["modelValue"]), "field" === e2.configure.props.base.deptScope ? (t(), o(D3, { key: 0, label: "筛选字段", class: "amb-design-attr-item" }, { default: u(() => [i(w2, { modelValue: e2.configure.props.base.limitFilterColumn, "onUpdate:modelValue": v2[13] || (v2[13] = (l3) => e2.configure.props.base.limitFilterColumn = l3), clearable: "", placeholder: "请选择" }, { default: u(() => [i(j2, { key: "id", label: "id", value: "id" }), i(j2, { key: "code", label: "编码", value: "code" }), i(j2, { key: "name", label: "名称", value: "name" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : d("", true)])]), _: 1 }), (t(), o(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"])), s(i(x, { configure: e2.configure }, null, 8, ["configure"]), [[b, e2.configure.props.base.tittleShow]]), (t(), o(E2, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: u(() => [r("div", C, [i(D3, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(P, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": v2[14] || (v2[14] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(D3, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(Q, { span: 8 }, { default: u(() => [i(P, { label: "自定义", value: "custom" })]), _: 1 }), i(Q, { span: 14 }, { default: u(() => [i(R, { type: "default" }, { default: u(() => v2[31] || (v2[31] = [c("自定义逻辑")])), _: 1 }), i(R, { type: "default", icon: f(g), circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })), L.value ? d("", true) : (t(), o(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
36
41
|
};
|
|
37
42
|
} });
|
|
38
43
|
export {
|
|
39
|
-
|
|
44
|
+
D as default
|
|
40
45
|
};
|
|
@@ -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.vue.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.0-
|
|
3
|
+
"version": "2.3.0-sit9",
|
|
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.36-
|
|
32
|
+
"agilebuilder-ui": "1.1.36-sit5",
|
|
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.0-sit2",
|
|
44
|
-
"super-page-runtime": "2.3.0-
|
|
44
|
+
"super-page-runtime": "2.3.0-sit8",
|
|
45
45
|
"uuid": "^9.0.1",
|
|
46
46
|
"vite": "^5.1.6",
|
|
47
47
|
"vite-plugin-node-stdlib-browser": "^0.2.1",
|