super-page-designer 2.2.89-sit3 → 2.2.89-sit7

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.
Files changed (22) hide show
  1. package/dist/es/components/design/utils/assemblys-config.js +6 -7
  2. package/dist/es/components/design/utils/common-util.d.ts +1 -0
  3. package/dist/es/components/design/utils/common-util.js +14 -9
  4. package/dist/es/components/design/utils/page-table-util.js +9 -9
  5. package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +24 -24
  6. package/dist/es/components/design/views/assemblys/button/button/button-design.vue2.js +16 -16
  7. package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-design.vue2.js +4 -4
  8. package/dist/es/components/design/views/assemblys/button/print-label/printlabel-design.vue2.js +3 -3
  9. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue.js +4 -4
  10. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue2.js +0 -1
  11. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/link-table.vue.js +27 -27
  12. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-showcondition.vue.js +47 -47
  13. package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue.js +5 -108
  14. package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue3.js +99 -0
  15. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +5 -4
  16. package/dist/es/components/design/views/assemblys/form/common/parameter-table.vue.js +3 -3
  17. package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +8 -8
  18. package/dist/es/components/design/views/assemblys/form/custom/custom-attr-base.vue.js +4 -4
  19. package/dist/es/components/design/views/assemblys/form/custom/custom-attr.vue2.js +6 -6
  20. package/dist/es/style.css +430 -225
  21. package/package.json +3 -3
  22. package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue2.js +0 -4
@@ -1,110 +1,7 @@
1
- import { defineComponent as e, ref as l, watch as a, onUnmounted as t, computed as o, resolveComponent as u, createElementBlock as n, createBlock as i, openBlock as r, toDisplayString as s, withCtx as c, createVNode as p, unref as v, createElementVNode as m, Fragment as d, renderList as f, normalizeClass as g, withDirectives as y, vShow as h, normalizeStyle as w, createTextVNode as b, createCommentVNode as _, resolveDynamicComponent as z, withModifiers as x, nextTick as k } from "vue";
2
- import { Close as C, Check as S, Search as P, Plus as V, InfoFilled as I, CircleClose as U } from "@element-plus/icons-vue";
3
- import * as O from "@element-plus/icons";
4
- import N from "agilebuilder-ui/src/utils/request";
5
- const A = { key: 0 }, L = { class: "amb-component-popover-left-menu-main" }, E = ["onClick"], T = { style: { "margin-top": "4px", "margin-bottom": "8px", "font-size": "10px", display: "flex", "align-items": "center", "justify-self": "center" } }, j = ["title"], q = e({ __name: "common-icon-bind", props: { iconType: String, iconValue: String, size: { type: String, default: "medium" }, showLabel: { type: Boolean, default: false } }, emits: ["update:modelValue"], setup(e2, { emit: q2 }) {
6
- const M = q2, R = e2, $ = [{ value: "ElementUI", label: "ElementUI" }, { value: "custom", label: "自定义" }];
7
- l(false);
8
- const B = {}, D = l({}), F = l(R.iconType);
9
- F.value || (F.value = $[0].value);
10
- const G = l("");
11
- G.value = R.iconValue, l([]);
12
- const H = l({}), J = l(""), K = l(), Q = l([]);
13
- let W;
14
- function X() {
15
- "custom" == F.value ? Z() : Y();
16
- }
17
- function Y() {
18
- const e3 = H.value.elementUIOptions.filter((e4) => !J.value || e4.label.toLowerCase().includes(J.value.toLowerCase()) || e4.value.toLowerCase().includes(J.value.toLowerCase()));
19
- D.value.currentPage || (D.value.currentPage = 1), D.value.pageSize || (D.value.pageSize = 50);
20
- let l2 = D.value.currentPage;
21
- const a2 = D.value.pageSize;
22
- let t2 = (l2 - 1) * a2;
23
- t2 + 2 > e3.length && (t2 = 0, l2 = 1);
24
- const o2 = [];
25
- for (let l3 = t2; l3 < t2 + a2 && l3 < e3.length; l3++) o2.push(e3[l3]);
26
- D.value.currentPage = l2, D.value.total = e3.length, Q.value = o2;
27
- }
28
- function Z() {
29
- const e3 = { query: J.value, pageSize: D.value && D.value.pageSize ? D.value.pageSize : 50, pageNo: D.value && D.value.pageNo ? D.value.pageNo : 1 };
30
- J.value, N.post(window.$vueApp.config.globalProperties.baseAPI + "/component/general-icon/query", e3).then((e4) => {
31
- const l2 = e4.data ? e4.data : [], a2 = [];
32
- for (let e5 of l2) a2.push({ value: e5.iconName, label: e5.iconName });
33
- H.value.customOptions = a2, "custom" == F.value && (D.value.pageSize = e4.size, D.value.currentPage = e4.page, D.value.total = e4.total, Q.value = a2);
34
- });
35
- }
36
- a(J, () => {
37
- W && clearTimeout(W), W = setTimeout(function() {
38
- "custom" == F.value ? (D.value.pageNo = 1, Z()) : (D.value.pageNo = 1, Y());
39
- }, 300);
40
- }), t(() => {
41
- W && clearTimeout(W);
42
- });
43
- const ee = o(() => {
44
- let e3 = 185;
45
- return "custom" == F.value && (e3 = 170), e3;
46
- }), le = o(() => {
47
- const e3 = {};
48
- return "custom" == F.value && (e3.width = "200px"), e3;
49
- });
50
- function ae(e3) {
51
- e3 && Array.isArray(e3) && e3.length > 0 && (e3 = e3[0]), F.value = e3;
52
- let l2 = B[F.value];
53
- var a2;
54
- l2 || (l2 = { currentPage: 1, pageSize: 50, total: 0 }, B[F.value] = l2), D.value = l2, "ElementUI" === (a2 = F.value) ? Y() : "custom" === a2 && Z();
55
- }
56
- function te() {
57
- var _a, _b;
58
- (_b = (_a = K.value) == null ? void 0 : _a.hide) == null ? void 0 : _b.call(_a);
59
- }
60
- function oe() {
61
- G.value = "", M("update:modelValue", "", ""), K.value.hide();
62
- }
63
- function ue() {
64
- if (J.value = J.value.trim(), !J.value) return void ElMessage.warning("请输入图标名!");
65
- const e3 = H.value.customOptions || [];
66
- let l2 = false;
67
- for (let a3 of e3) if (a3.value === J.value) {
68
- l2 = true;
69
- break;
70
- }
71
- F.value = "custom", G.value = J.value;
72
- const a2 = J.value;
73
- if (J.value = "", M("update:modelValue", F.value, G.value), K.value.hide(), !l2) {
74
- const e4 = { iconName: a2 };
75
- N.post(window.$vueApp.config.globalProperties.baseAPI + "/bs/general-icon/get-or-create", e4).then((e5) => {
76
- "custom" == F.value && Z();
77
- }).catch((e5) => {
78
- ElMessage.warning("保存图标失败!");
79
- });
80
- }
81
- }
82
- const ne = l();
83
- function ie() {
84
- k(() => {
85
- !function() {
86
- if (!H.value.elementUIOptions) {
87
- if (!window.temp_Icon_Options) {
88
- const e3 = [];
89
- for (const [l2, a2] of Object.entries(O)) e3.push({ value: l2, label: l2, component: a2 });
90
- e3.sort(function(e4, l2) {
91
- const a2 = e4.value, t2 = l2.value;
92
- return a2.localeCompare(t2);
93
- }), window.temp_Icon_Options = e3;
94
- }
95
- H.value.elementUIOptions = window.temp_Icon_Options;
96
- }
97
- }(), ae(F.value);
98
- });
99
- }
100
- return (l2, a2) => {
101
- const t2 = u("el-icon"), o2 = u("el-input"), k2 = u("el-button"), O2 = u("el-tooltip"), N2 = u("el-col"), q3 = u("el-empty"), R2 = u("el-tag"), B2 = u("el-table-column"), H2 = u("el-table"), W2 = u("el-pagination"), Y2 = u("el-row"), Z2 = u("el-popover");
102
- return e2.showLabel ? (r(), n("span", A, s(G.value), 1)) : (r(), i(Z2, { key: 1, ref_key: "popoverRef", ref: K, "popper-class": "amb-component-popover-main", trigger: "click", width: 400 }, { reference: c(() => [p(o2, { readonly: "", size: "small", onClick: ie, modelValue: G.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e3) => G.value = e3), placeholder: "请选择" }, { suffix: c(() => [y(p(t2, { style: { cursor: "pointer" }, onClick: x(oe, ["stop"]) }, { default: c(() => [p(v(U))]), _: 1 }, 512), [[h, G.value]])]), _: 1 }, 8, ["modelValue"])]), default: c(() => [p(Y2, null, { default: c(() => [p(O2, { effect: "dark", content: "关闭", placement: "top-end" }, { default: c(() => [p(k2, { type: "text", class: "amb-component-popover-close-btn", icon: v(C), onClick: te }, null, 8, ["icon"])]), _: 1 }), p(N2, { span: 8 }, { default: c(() => [m("div", L, [(r(), n(d, null, f($, (e3) => m("div", { class: g(["amb-popover-menu-item", e3.value == F.value ? "is-active" : ""]), onClick: (l3) => ae(e3.value) }, [p(t2, null, { default: c(() => [y(p(v(S), null, null, 512), [[h, e3.value == F.value]])]), _: 2 }, 1024), m("span", null, s(e3.label), 1)], 10, E)), 64))])]), _: 1 }), F.value ? (r(), i(N2, { key: 1, span: 16, style: { "padding-left": "10px" } }, { default: c(() => [p(o2, { size: "small", modelValue: J.value, "onUpdate:modelValue": a2[1] || (a2[1] = (e3) => J.value = e3), placeholder: "搜索", "suffix-icon": v(P), style: w([{ "margin-bottom": "5px", height: "25px" }, le.value]) }, null, 8, ["modelValue", "suffix-icon", "style"]), y(p(k2, { style: { float: "right" }, onClick: ue, size: "small", type: "primary", icon: v(V), circle: "" }, null, 8, ["icon"]), [[h, "custom" == F.value]]), y(m("div", T, [p(t2, null, { default: c(() => [p(v(I))]), _: 1 }), a2[6] || (a2[6] = m("span", { style: { "margin-left": "5px" } }, "输入图标名后点击加号按钮添加", -1)), a2[7] || (a2[7] = b("   ")), p(O2, null, { content: c(() => a2[4] || (a2[4] = [b(" 1.支持fa图标,图标名称详见官网:https://fontawesome.com.cn/v4/icons-ui/; "), m("br", null, null, -1), b(" 2.支持svg图标,需以svg-开头,接svg内容,如:svg-xxxxxx. ")])), default: c(() => [p(R2, { type: "primary" }, { default: c(() => a2[5] || (a2[5] = [b("更多")])), _: 1 })]), _: 1 })], 512), [[h, "custom" == F.value]]), p(H2, { ref_key: "tableRef", ref: ne, height: ee.value, "show-header": false, size: "small", "current-row-key": "code", "row-key": "code", "tree-props": { children: "items" }, "highlight-current-row": true, data: Q.value }, { default: c(() => [p(B2, { width: "65" }, { default: c((e3) => [p(k2, { type: "default", size: "small", onClick: (l3) => {
103
- return a3 = e3.row, G.value = a3.value, M("update:modelValue", F.value, G.value), void K.value.hide();
104
- var a3;
105
- } }, { default: c(() => a2[8] || (a2[8] = [b(" 选择 ")])), _: 2 }, 1032, ["onClick"])]), _: 1 }), p(B2, { label: "名称", prop: "value", width: "120" }, { default: c((e3) => [m("span", { style: { "text-align": "left" }, title: e3.row.value }, s(e3.row.value), 9, j)]), _: 1 }), p(B2, { label: "图标" }, { default: c((e3) => [e3.row.component ? (r(), i(z(e3.row.component), { key: 0, style: { width: "20px" } })) : _("", true)]), _: 1 })]), _: 1 }, 8, ["height", "data"]), p(W2, { style: { "margin-top": "10px", "justify-content": "center" }, "current-page": D.value.currentPage, "onUpdate:currentPage": a2[2] || (a2[2] = (e3) => D.value.currentPage = e3), "page-size": D.value.pageSize, "onUpdate:pageSize": a2[3] || (a2[3] = (e3) => D.value.pageSize = e3), size: l2.small, "pager-count": 3, layout: "pager,total", total: D.value.total, onCurrentChange: X }, null, 8, ["current-page", "page-size", "size", "total"])]), _: 1 })) : (r(), i(N2, { key: 0, span: 16 }, { default: c(() => [p(q3, { description: "请选择类型", "image-size": 40 })]), _: 1 }))]), _: 1 })]), _: 1 }, 512));
106
- };
107
- } });
1
+ import o from "./common-icon-bind.vue3.js";
2
+ /* empty css */
3
+ import e from "../../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const i = e(o, [["__scopeId", "data-v-9141191b"]]);
108
5
  export {
109
- q as default
6
+ i as default
110
7
  };
@@ -0,0 +1,99 @@
1
+ import { defineComponent as e, ref as l, computed as o, resolveComponent as a, resolveDirective as n, createElementBlock as t, createBlock as u, openBlock as i, toDisplayString as c, withCtx as s, createVNode as p, unref as v, createElementVNode as r, Fragment as m, renderList as d, normalizeClass as f, withDirectives as g, vShow as y, createCommentVNode as b, createTextVNode as w, withModifiers as h, nextTick as _ } from "vue";
2
+ import { Close as k, Check as x, Search as I, Plus as V, InfoFilled as C, CircleClose as A } from "@element-plus/icons-vue";
3
+ import * as O from "@element-plus/icons";
4
+ import $ from "agilebuilder-ui/src/utils/request";
5
+ const U = { key: 0 }, z = { class: "amb-component-popover-left-menu-main" }, P = ["onClick"], j = { key: 1, style: { display: "flex", gap: "10px", "align-items": "center" } }, E = { key: 2 }, S = { key: 3, class: "amb-component-popover-icon-list-scroll", style: { overflow: "auto" } }, T = { class: "amb-component-popover-icon-grid" }, L = ["onClick"], N = { key: 4, style: { "text-align": "right" } }, q = e({ __name: "common-icon-bind", props: { iconType: String, iconValue: String, size: { type: String, default: "medium" }, showLabel: { type: Boolean, default: false } }, emits: ["update:modelValue"], setup(e2, { emit: q2 }) {
6
+ const M = q2, B = e2, R = [{ value: "ElementUI", label: "ElementUI" }, { value: "ambIcon", label: "Amb图标库" }, { value: "custom", label: "自定义" }];
7
+ l(false);
8
+ const D = l(1), F = l(B.iconType);
9
+ F.value || (F.value = R[0].value);
10
+ const G = l("");
11
+ G.value = B.iconValue;
12
+ const H = l({}), J = l(""), K = l(), Q = l(false), W = l([]), X = o(() => {
13
+ let e3 = W.value ?? [];
14
+ return J.value && (e3 = e3.filter((e4) => [e4.label ?? "", e4.value ?? ""].some((e5) => {
15
+ var _a;
16
+ return (_a = e5.toLowerCase()) == null ? void 0 : _a.includes(J.value.toLowerCase());
17
+ }))), e3.slice(0, 50 * D.value);
18
+ }), Y = () => {
19
+ D.value++;
20
+ };
21
+ async function Z() {
22
+ Q.value = true;
23
+ try {
24
+ const e3 = (await $.post(window.$vueApp.config.globalProperties.baseAPI + "/component/general-icon/query", { pageSize: 200, pageNo: 1 })).data ?? [], l2 = [];
25
+ for (let o2 of e3) l2.push({ value: o2.iconName, label: o2.iconName });
26
+ H.value.customOptions = l2, "custom" == F.value && (W.value = l2);
27
+ } catch (e3) {
28
+ }
29
+ Q.value = false;
30
+ }
31
+ function ee(e3) {
32
+ var l2;
33
+ D.value = 1, W.value = [], e3 && Array.isArray(e3) && e3.length > 0 && (e3 = e3[0]), F.value = e3, "ElementUI" === (l2 = F.value) ? W.value = H.value.elementUIOptions : "custom" === l2 ? Z() : ["ambIcon"].includes(l2) && async function() {
34
+ var _a, _b, _c;
35
+ try {
36
+ Q.value = true;
37
+ let e4 = `${window.location.origin}${window.location.pathname}font-icon/iconfont.json`;
38
+ ((_c = (_b = (_a = window.$vueApp) == null ? void 0 : _a.config) == null ? void 0 : _b.globalProperties) == null ? void 0 : _c.fontIconAddress) && (e4 = `${window.$vueApp.config.globalProperties.fontIconAddress}/iconfont.json`);
39
+ const l3 = await fetch(e4, { mode: "cors", headers: { "Content-Type": "application/json" } }).then((e5) => e5.json()), { css_prefix_text: o2, glyphs: a2 = [], font_family: n2 } = l3;
40
+ W.value = a2.map((e5) => ({ label: e5.name, value: `${o2}${e5.font_class}` }));
41
+ } catch (e4) {
42
+ }
43
+ Q.value = false;
44
+ }();
45
+ }
46
+ function le() {
47
+ var _a, _b;
48
+ (_b = (_a = K.value) == null ? void 0 : _a.hide) == null ? void 0 : _b.call(_a);
49
+ }
50
+ function oe() {
51
+ G.value = "", M("update:modelValue", "", ""), K.value.hide();
52
+ }
53
+ function ae() {
54
+ if (J.value = J.value.trim(), !J.value) return void ElMessage.warning("请输入图标名!");
55
+ const e3 = H.value.customOptions || [];
56
+ let l2 = false;
57
+ for (let o3 of e3) if (o3.value === J.value) {
58
+ l2 = true;
59
+ break;
60
+ }
61
+ F.value = "custom", G.value = J.value;
62
+ const o2 = J.value;
63
+ if (J.value = "", M("update:modelValue", F.value, G.value), K.value.hide(), !l2) {
64
+ const e4 = { iconName: o2 };
65
+ $.post(window.$vueApp.config.globalProperties.baseAPI + "/bs/general-icon/get-or-create", e4).then((e5) => {
66
+ "custom" == F.value && Z();
67
+ }).catch((e5) => {
68
+ ElMessage.warning("保存图标失败!");
69
+ });
70
+ }
71
+ }
72
+ function ne() {
73
+ _(() => {
74
+ !function() {
75
+ if (!H.value.elementUIOptions) {
76
+ if (!window.temp_Icon_Options) {
77
+ const e3 = [];
78
+ for (const [l2, o2] of Object.entries(O)) e3.push({ value: l2, label: l2, component: o2 });
79
+ e3.sort(function(e4, l2) {
80
+ const o2 = e4.value, a2 = l2.value;
81
+ return o2.localeCompare(a2);
82
+ }), window.temp_Icon_Options = e3;
83
+ }
84
+ H.value.elementUIOptions = window.temp_Icon_Options;
85
+ }
86
+ }(), ee(F.value);
87
+ });
88
+ }
89
+ return l(), (l2, o2) => {
90
+ const _2 = a("el-icon"), O2 = a("el-input"), $2 = a("el-button"), q3 = a("el-tooltip"), B2 = a("el-scrollbar"), D2 = a("el-col"), H2 = a("el-empty"), Z2 = a("el-tag"), te = a("SuperIcon"), ue = a("el-row"), ie = a("el-popover"), ce = n("loading"), se = n("infinite-scroll");
91
+ return e2.showLabel ? (i(), t("span", U, c(G.value), 1)) : (i(), u(ie, { key: 1, ref_key: "popoverRef", ref: K, "popper-class": "amb-component-popover-main", trigger: "click", width: 540 }, { reference: s(() => [p(O2, { readonly: "", size: "small", onClick: ne, modelValue: G.value, "onUpdate:modelValue": o2[0] || (o2[0] = (e3) => G.value = e3), placeholder: "请选择" }, { suffix: s(() => [g(p(_2, { style: { cursor: "pointer" }, onClick: h(oe, ["stop"]) }, { default: s(() => [p(v(A))]), _: 1 }, 512), [[y, G.value]])]), _: 1 }, 8, ["modelValue"])]), default: s(() => [p(ue, null, { default: s(() => [p(q3, { effect: "dark", content: "关闭", placement: "top-end" }, { default: s(() => [p($2, { type: "text", class: "amb-component-popover-close-btn", icon: v(k), onClick: le }, null, 8, ["icon"])]), _: 1 }), p(D2, { span: 8 }, { default: s(() => [r("div", z, [p(B2, { "max-height": "100%" }, { default: s(() => [(i(), t(m, null, d(R, (e3) => r("div", { class: f(["amb-popover-menu-item", e3.value == F.value ? "is-active" : ""]), onClick: (l3) => ee(e3.value) }, [p(_2, null, { default: s(() => [g(p(v(x), null, null, 512), [[y, e3.value == F.value]])]), _: 2 }, 1024), r("span", null, c(e3.label), 1)], 10, P)), 64))]), _: 1 })])]), _: 1 }), p(D2, { span: 16, style: { "padding-left": "10px" }, class: "amb-component-popover-icon-list-view" }, { default: s(() => [F.value ? b("", true) : (i(), u(H2, { key: 0, description: "请选择类型", "image-size": 80 })), F.value ? (i(), t("div", j, [p(O2, { modelValue: J.value, "onUpdate:modelValue": o2[1] || (o2[1] = (e3) => J.value = e3), placeholder: "搜索", size: "default", "prefix-icon": v(I), clearable: "", style: { flex: "1 1 auto" } }, null, 8, ["modelValue", "prefix-icon"]), ["custom"].includes(F.value) && J.value && !X.value.length ? (i(), u(q3, { key: 0, effect: "dark", content: "创建该图标", placement: "top-end" }, { default: s(() => [p($2, { type: "primary", circle: "", icon: v(V), onClick: ae }, null, 8, ["icon"])]), _: 1 })) : b("", true)])) : b("", true), ["custom"].includes(F.value) ? (i(), t("div", E, [p(_2, null, { default: s(() => [p(v(C))]), _: 1 }), o2[4] || (o2[4] = r("span", { style: { "margin-left": "5px" } }, "输入图标名后点击加号按钮添加", -1)), o2[5] || (o2[5] = w("   ")), p(q3, null, { content: s(() => o2[2] || (o2[2] = [w(" 1.支持fa图标,图标名称详见官网:https://fontawesome.com.cn/v4/icons-ui/; "), r("br", null, null, -1), w(" 2.支持svg图标,需以svg-开头,接svg内容,如:svg-xxxxxx. ")])), default: s(() => [p(Z2, { type: "primary" }, { default: s(() => o2[3] || (o2[3] = [w("更多")])), _: 1 })]), _: 1 })])) : b("", true), F.value ? g((i(), t("div", S, [X.value.length || Q.value ? b("", true) : (i(), u(H2, { key: 0, description: "没有相关图标", "image-size": 80 })), r("div", T, [(i(true), t(m, null, d(X.value, (e3) => (i(), u(q3, { key: e3.value, effect: "dark", content: e3.label, placement: "top" }, { default: s(() => [r("div", { class: "amb-component-popover-icon-grid-item", onClick: (l3) => {
92
+ return o3 = e3, G.value = o3.value, M("update:modelValue", F.value, G.value), void K.value.hide();
93
+ var o3;
94
+ } }, [p(te, { iconType: F.value, iconValue: e3.value }, null, 8, ["iconType", "iconValue"])], 8, L)]), _: 2 }, 1032, ["content"]))), 128))])])), [[ce, Q.value], [se, Y]]) : b("", true), F.value ? (i(), t("div", N, c(X.value.length) + " / " + c(W.value.length), 1)) : b("", true)]), _: 1 })]), _: 1 })]), _: 1 }, 512));
95
+ };
96
+ } });
97
+ export {
98
+ q as default
99
+ };
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as a, onMounted as l, resolveComponent as o, createBlock as t, openBlock as n, withCtx as i, createVNode as u, createCommentVNode as r, createElementVNode as s, createTextVNode as p, unref as m, withDirectives as d, createElementBlock as f, Fragment as c, renderList as g, vShow as b } from "vue";
1
+ import { defineComponent as e, ref as a, onMounted as l, resolveComponent as o, createBlock as t, openBlock as n, withCtx as i, createVNode as u, createCommentVNode as r, createElementVNode as s, createTextVNode as m, unref as p, withDirectives as d, createElementBlock as f, Fragment as c, renderList as g, vShow as b } from "vue";
2
2
  import { Setting as y, Search as V } from "@element-plus/icons-vue";
3
3
  import { getListComponentOptions as v } from "../../../../utils/assemblys-config.js";
4
4
  import C from "../component/querySetting.vue.js";
@@ -11,6 +11,7 @@ import T from "../component/variate-select.vue.js";
11
11
  import "@element-plus/icons";
12
12
  import "agilebuilder-ui/src/utils/request";
13
13
  import { queryTableFields as S, tableResetConfigIndo as H } from "../../../../utils/page-table-util.js";
14
+ /* empty css */
14
15
  import N from "../../common/common-i18n-key-input.vue.js";
15
16
  import j from "../../form/common/hyperlink-mult-config.vue.js";
16
17
  import q from "../../common/common-function-code.vue.js";
@@ -87,10 +88,10 @@ const E = { style: { padding: "8px 0px 0px 0px" } }, P = { class: "amb-design-at
87
88
  function se(e3) {
88
89
  R2.configure.props.base.defaultValue = e3;
89
90
  }
90
- function pe() {
91
+ function me() {
91
92
  k.$emit("reloadTable-" + R2.tableConfigure.uuid);
92
93
  }
93
- function me(e3) {
94
+ function pe(e3) {
94
95
  fe(R2.tableConfigure.props.groupHeaders);
95
96
  }
96
97
  function de(e3) {
@@ -112,7 +113,7 @@ const E = { style: { padding: "8px 0px 0px 0px" } }, P = { class: "amb-design-at
112
113
  }
113
114
  return (a2, l2) => {
114
115
  const D2 = o("el-input"), x2 = o("el-form-item"), U2 = o("el-radio"), k2 = o("el-radio-group"), S2 = o("el-switch"), H2 = o("el-option"), F2 = o("el-select"), R3 = o("el-icon"), I2 = o("el-collapse-item"), W2 = o("el-input-number"), Q2 = o("el-button"), J2 = o("el-checkbox"), K2 = o("el-checkbox-group"), Y2 = o("el-col"), ee2 = o("el-collapse"), le2 = o("el-form");
115
- return n(), t(le2, { "label-width": "80px", size: "small" }, { default: i(() => [u(ee2, { modelValue: B.value, "onUpdate:modelValue": l2[48] || (l2[48] = (e3) => B.value = e3), style: { "margin-top": "6px" } }, { default: i(() => [u(I2, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", E, [u(x2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.uuid, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.uuid = a3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), Z.value ? r("", true) : (n(), t(x2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: i(() => [u(T, { showDynamicColumn: true, showPlaceholder: true, prop: e2.configure.props.base.prop, "onUpdate:prop": l2[1] || (l2[1] = (a3) => e2.configure.props.base.prop = a3), propType: e2.configure.props.base.propType, "onUpdate:propType": l2[2] || (l2[2] = (a3) => e2.configure.props.base.propType = a3), tableConfigure: e2.tableConfigure, onChange: de }, null, 8, ["prop", "propType", "tableConfigure"])]), _: 1 })), u(x2, { label: "标题", class: "amb-design-attr-item" }, { default: i(() => [u(N, { modelValue: e2.configure.props.base.name, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.props.base.name = a3), onChange: me, disabled: "$index" === e2.configure.props.base.prop || "$selection" === e2.configure.props.base.prop }, null, 8, ["modelValue", "disabled"])]), _: 1 }), u(x2, { label: "绑定权限", class: "amb-design-attr-item" }, { default: i(() => [u(q, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), u(x2, { label: "显示顺序", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.base.displayOrder, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.base.displayOrder = a3), modelModifiers: { number: true }, onBlur: pe, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), Z.value ? r("", true) : (n(), t(x2, { key: 1, label: "是否显示 ", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.visible, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.base.visible = a3), class: "ml-4", onChange: re }, { default: i(() => [u(U2, { value: true }, { default: i(() => l2[49] || (l2[49] = [p("是")])), _: 1 }), u(U2, { value: false }, { default: i(() => l2[50] || (l2[50] = [p("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), Z.value ? r("", true) : (n(), t(x2, { key: 2, label: "是否导出", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.base.exportable, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.base.exportable = a3) }, null, 8, ["modelValue"])]), _: 1 })), Z.value ? r("", true) : (n(), t(x2, { key: 3, label: "查询设置", class: "amb-design-attr-item" }, { default: i(() => [s("div", P, [u(F2, { modelValue: e2.configure.props.base.querySettingName, "onUpdate:modelValue": l2[7] || (l2[7] = (a3) => e2.configure.props.base.querySettingName = a3) }, { default: i(() => [u(H2, { label: "不查询", value: "no" }), u(H2, { label: "普通查询", value: "normal" }), u(H2, { label: "高级查询", value: "advanced" })]), _: 1 }, 8, ["modelValue"]), "normal" === e2.configure.props.base.querySettingName || "advanced" === e2.configure.props.base.querySettingName ? (n(), t(R3, { key: 0, style: { "margin-left": "10px" }, onClick: l2[8] || (l2[8] = (e3) => oe.value = true) }, { default: i(() => [u(m(y))]), _: 1 })) : r("", true)])]), _: 1 })), Z.value || "normal" !== e2.configure.props.base.querySettingName && "advanced" !== e2.configure.props.base.querySettingName || "STRING" !== e2.configure.props.base.propType ? r("", true) : (n(), t(x2, { key: 4, label: "匹配方式", class: "amb-design-attr-item" }, { default: i(() => [u(F2, { modelValue: e2.configure.props.base.queryMatching, "onUpdate:modelValue": l2[9] || (l2[9] = (a3) => e2.configure.props.base.queryMatching = a3), clearable: "" }, { default: i(() => [u(H2, { label: "全匹配", value: "all" }), u(H2, { label: "左匹配", value: "left" }), u(H2, { label: "右匹配", value: "right" }), u(H2, { label: "精确查询", value: "exactQuery" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), Z.value ? r("", true) : (n(), t(x2, { key: 5, label: "是否合计", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.base.total, "onUpdate:modelValue": l2[10] || (l2[10] = (a3) => e2.configure.props.base.total = a3) }, null, 8, ["modelValue"])]), _: 1 })), Z.value ? r("", true) : (n(), t(x2, { key: 6, label: "是否筛选", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.base.filterable, "onUpdate:modelValue": l2[11] || (l2[11] = (a3) => e2.configure.props.base.filterable = a3) }, null, 8, ["modelValue"])]), _: 1 }))])]), _: 1 }), Z.value || "dynamicColumnSelect" == e2.configure.props.base.prop ? r("", true) : (n(), t(_, { key: 0, configure: e2.configure, isTable: true, isDynamicColumn: "dynamicColumnSelect" === e2.configure.props.base.prop, remote: true }, null, 8, ["configure", "isDynamicColumn"])), u(M, { operationColumn: Z.value, configure: e2.configure, tableConfigure: e2.tableConfigure, pageDesign: e2.pageDesign }, null, 8, ["operationColumn", "configure", "tableConfigure", "pageDesign"]), Z.value ? r("", true) : (n(), t(I2, { key: 1, title: "行编辑设置", name: "editLine", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", A, [u(x2, { label: "是否编辑", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { onChange: ie, modelValue: e2.configure.props.editLine.editable, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.editLine.editable = a3) }, null, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "默认值", class: "amb-design-attr-item" }, { default: i(() => [u(h, { modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": se }, null, 8, ["modelValue"])]), _: 1 }), e2.configure.props.editLine.editable ? (n(), t(x2, { key: 0, label: "组件类型", class: "amb-design-attr-item" }, { default: i(() => [u(F2, { modelValue: e2.configure.name, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.name = a3), placeholder: "请选择", onChange: ue }, { default: i(() => [(n(true), f(c, null, g(m(v)(), (e3) => (n(), t(H2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true), d(u(x2, { label: "文件uuid", class: "amb-design-attr-item" }, { default: i(() => [u(T, { prop: e2.configure.props.format.fileUuid, "onUpdate:prop": l2[14] || (l2[14] = (a3) => e2.configure.props.format.fileUuid = a3), tableConfigure: e2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 }, 512), [[b, e2.configure.props.editLine.editable && "file-upload" === e2.configure.name]]), d(u(x2, { label: "自定义控件名称", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.base.customComponent, "onUpdate:modelValue": l2[15] || (l2[15] = (a3) => e2.configure.props.base.customComponent = a3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.editLine.editable && "custom" === e2.configure.name]])])]), _: 1 })), Z.value ? r("", true) : (n(), t(I2, { key: 2, title: "格式设置", name: "formatting", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", O, [u(x2, { label: "格式化分类", class: "amb-design-attr-item" }, { default: i(() => [u(F2, { modelValue: e2.configure.props.format.type, "onUpdate:modelValue": l2[16] || (l2[16] = (a3) => e2.configure.props.format.type = a3), clearable: "", placeholder: "请选择" }, { default: i(() => [u(H2, { label: "数值", value: "number" }), u(H2, { label: "货币", value: "currency" }), u(H2, { label: "日期", value: "date" }), u(H2, { label: "时间", value: "time" }), u(H2, { label: "百分比", value: "percent" }), u(H2, { label: "自定义控件", value: "customControl" }), u(H2, { label: "超链接", value: "hyperlinks" }), u(H2, { label: "图标/标签", value: "icon" }), u(H2, { label: "附件控件", value: "files" }), u(H2, { label: "富文本", value: "richEditor" }), u(H2, { label: "脱敏组件", value: "secretInfo" }), u(H2, { label: "自定义方法", value: "custom" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "number" === e2.configure.props.format.type || "currency" === e2.configure.props.format.type || "percent" === e2.configure.props.format.type ? (n(), t(x2, { key: 0, label: "小数位数", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.decimalDigit, "onUpdate:modelValue": l2[17] || (l2[17] = (a3) => e2.configure.props.format.decimalDigit = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "number" === e2.configure.props.format.type ? (n(), t(x2, { key: 1, label: "科学计数", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.format.scientific, "onUpdate:modelValue": l2[18] || (l2[18] = (a3) => e2.configure.props.format.scientific = a3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "number" === e2.configure.props.format.type && e2.configure.props.format.scientific ? (n(), t(x2, { key: 2, label: "计数位数", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.scientificNum, "onUpdate:modelValue": l2[19] || (l2[19] = (a3) => e2.configure.props.format.scientificNum = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "number" === e2.configure.props.format.type ? (n(), t(x2, { key: 3, label: "千位分隔符", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.format.thousandsSeparator, "onUpdate:modelValue": l2[20] || (l2[20] = (a3) => e2.configure.props.format.thousandsSeparator = a3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "number" === e2.configure.props.format.type ? (n(), t(x2, { key: 4, label: "数值符号", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.symbol, "onUpdate:modelValue": l2[21] || (l2[21] = (a3) => e2.configure.props.format.symbol = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "currency" === e2.configure.props.format.type ? (n(), t(x2, { key: 5, label: "货币符号", class: "amb-design-attr-item" }, { default: i(() => [u(F2, { modelValue: e2.configure.props.format.currencySymbol, "onUpdate:modelValue": l2[22] || (l2[22] = (a3) => e2.configure.props.format.currencySymbol = a3), placeholder: "Select" }, { default: i(() => [u(H2, { label: "$", value: "$" }), u(H2, { label: "¥", value: "¥" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true), "date" === e2.configure.props.format.type ? (n(), t(x2, { key: 6, label: "日期类型", class: "amb-design-attr-item" }, { default: i(() => [u(F2, { modelValue: e2.configure.props.format.dataType, "onUpdate:modelValue": l2[23] || (l2[23] = (a3) => e2.configure.props.format.dataType = a3), placeholder: "Select" }, { default: i(() => [u(H2, { label: "yyyy-m-d", value: "yyyy-m-d" }), u(H2, { label: "yyyy-m-d hh:mm:ss", value: "yyyy-m-d hh:mm:ss" }), u(H2, { label: "yyyy-m", value: "yyyy-m" }), u(H2, { label: "m-d", value: "m-d" }), u(H2, { label: "yyyy", value: "yyyy" }), u(H2, { label: "yyyy年m月d日", value: "yyyy年m月d日" }), u(H2, { label: "yyyy年m月d日hh时mm分ss秒", value: "yyyy年m月d日hh时mm分ss秒" }), u(H2, { label: "yyyy年m月", value: "yyyy年m月" }), u(H2, { label: "m月d日", value: "m月d日" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true), "time" === e2.configure.props.format.type ? (n(), t(x2, { key: 7, label: "时间类型", class: "amb-design-attr-item" }, { default: i(() => [u(F2, { modelValue: e2.configure.props.format.timeType, "onUpdate:modelValue": l2[24] || (l2[24] = (a3) => e2.configure.props.format.timeType = a3), placeholder: "Select" }, { default: i(() => [u(H2, { label: "HH:mm", value: "HH:mm" }), u(H2, { label: "HH:mm:ss", value: "HH:mm:ss" }), u(H2, { label: "HH时mm分", value: "HH时mm分" }), u(H2, { label: "HH时mm分ss秒", value: "HH时mm分ss秒" }), u(H2, { label: "hh:mm", value: "hh:mm" }), u(H2, { label: "hh:mm:ss", value: "hh:mm:ss" }), u(H2, { label: "hh时mm分", value: "hh时mm分" }), u(H2, { label: "hh时mm分ss秒", value: "hh时mm分ss秒" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true), "customControl" === e2.configure.props.format.type ? (n(), t(x2, { key: 8, label: "自定义控件", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.customControl, "onUpdate:modelValue": l2[25] || (l2[25] = (a3) => e2.configure.props.format.customControl = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "hyperlinks" === e2.configure.props.format.type ? (n(), t(j, { key: 9, pageDesign: e2.pageDesign, linkPage: e2.configure.props.linkPage, "onUpdate:linkPage": l2[26] || (l2[26] = (a3) => e2.configure.props.linkPage = a3), tableConfigure: e2.tableConfigure, isDialog: false }, null, 8, ["pageDesign", "linkPage", "tableConfigure"])) : r("", true), "icon" === e2.configure.props.format.type ? (n(), t(L, { key: 10, setting: e2.configure.props.format }, null, 8, ["setting"])) : r("", true), "custom" === e2.configure.props.format.type ? (n(), t(x2, { key: 11, label: "自定义方法", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.customControl, "onUpdate:modelValue": l2[27] || (l2[27] = (a3) => e2.configure.props.format.customControl = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 12, label: "是否多选", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.format.multiple, "onUpdate:modelValue": l2[28] || (l2[28] = (a3) => e2.configure.props.format.multiple = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 13, label: "文件类型", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.accept, "onUpdate:modelValue": l2[29] || (l2[29] = (a3) => e2.configure.props.format.accept = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 14, label: "文件限制(M)", class: "amb-design-attr-item" }, { default: i(() => [u(W2, { modelValue: e2.configure.props.format.limitFileSize, "onUpdate:modelValue": l2[30] || (l2[30] = (a3) => e2.configure.props.format.limitFileSize = a3), min: 1 }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type && e2.configure.props.format.multiple ? (n(), t(x2, { key: 15, label: "选择数据表" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.childAnnexDataTableCode, "onUpdate:modelValue": l2[31] || (l2[31] = (a3) => e2.configure.props.format.childAnnexDataTableCode = a3), onClick: a2.openSelectDataTable, clearable: "" }, { append: i(() => [u(Q2, { type: "default", icon: m(V), onClick: a2.openSelectDataTable }, null, 8, ["icon", "onClick"])]), _: 1 }, 8, ["modelValue", "onClick"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 16, label: "展示名字段", class: "amb-design-attr-item" }, { default: i(() => [u(T, { prop: e2.configure.props.format.showName, "onUpdate:prop": l2[32] || (l2[32] = (a3) => e2.configure.props.format.showName = a3), tableConfigure: e2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 17, label: "服务器字段", class: "amb-design-attr-item" }, { default: i(() => [u(T, { prop: e2.configure.props.format.serverName, "onUpdate:prop": l2[33] || (l2[33] = (a3) => e2.configure.props.format.serverName = a3), tableConfigure: e2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 })) : r("", true)])]), _: 1 })), u(I2, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", $, [u(x2, { label: "固定列", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.listColumnFixed, "onUpdate:modelValue": l2[34] || (l2[34] = (a3) => e2.configure.props.base.listColumnFixed = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[51] || (l2[51] = [p("否")])), _: 1 }), u(U2, { value: "left" }, { default: i(() => l2[52] || (l2[52] = [p("居左")])), _: 1 }), u(U2, { value: "right" }, { default: i(() => l2[53] || (l2[53] = [p("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), Z.value ? r("", true) : (n(), t(x2, { key: 0, label: "是否排序", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.sortable, "onUpdate:modelValue": l2[35] || (l2[35] = (a3) => e2.configure.props.base.sortable = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: true }, { default: i(() => l2[54] || (l2[54] = [p("是")])), _: 1 }), u(U2, { value: false }, { default: i(() => l2[55] || (l2[55] = [p("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), u(x2, { label: "列宽", class: "amb-design-attr-item" }, { default: i(() => [u(W2, { style: { width: "100%" }, modelValue: e2.configure.props.base.columnWidth, "onUpdate:modelValue": l2[36] || (l2[36] = (a3) => e2.configure.props.base.columnWidth = a3), precision: 1 }, null, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "标题对齐", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.alignTitle, "onUpdate:modelValue": l2[37] || (l2[37] = (a3) => e2.configure.props.base.alignTitle = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: "left" }, { default: i(() => l2[56] || (l2[56] = [p("居左")])), _: 1 }), u(U2, { value: "center" }, { default: i(() => l2[57] || (l2[57] = [p("居中")])), _: 1 }), u(U2, { value: "right" }, { default: i(() => l2[58] || (l2[58] = [p("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "内容对齐", class: "amb-design-attr-item-linefeed-two" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.alignContent, "onUpdate:modelValue": l2[38] || (l2[38] = (a3) => e2.configure.props.base.alignContent = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: "left" }, { default: i(() => l2[59] || (l2[59] = [p("居左")])), _: 1 }), u(U2, { value: "center" }, { default: i(() => l2[60] || (l2[60] = [p("居中")])), _: 1 }), u(U2, { value: "right" }, { default: i(() => l2[61] || (l2[61] = [p("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), !Z.value && e2.configure.props.editLine.editable ? (n(), t(I2, { key: 3, title: "校验", name: "verification", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", G, [u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": l2[39] || (l2[39] = (a3) => e2.configure.props.verification.required = a3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), u(K2, { modelValue: e2.configure.props.verification.type, "onUpdate:modelValue": l2[40] || (l2[40] = (a3) => e2.configure.props.verification.type = a3) }, { default: i(() => [u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { label: "整形", value: "int" }), u(J2, { label: "数字", value: "number" }), u(J2, { label: "布尔", value: "boolean" })]), _: 1 }), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { label: "字符串", value: "text" }), u(J2, { label: "邮件", value: "mail" }), u(J2, { label: "网址", value: "ip" })]), _: 1 }), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { label: "单精度", value: "float" }), u(J2, { label: "十六进制", value: "hex" })]), _: 1 })]), _: 1 }, 8, ["modelValue"]), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(Y2, { span: 8 }, { default: i(() => [u(J2, { modelValue: e2.configure.props.verification.verifyRegex, "onUpdate:modelValue": l2[41] || (l2[41] = (a3) => e2.configure.props.verification.verifyRegex = a3), label: "正则", value: "regex" }, null, 8, ["modelValue"])]), _: 1 }), u(Y2, { span: 14 }, { default: i(() => [u(D2, { modelValue: e2.configure.props.verification.regex, "onUpdate:modelValue": l2[42] || (l2[42] = (a3) => e2.configure.props.verification.regex = a3), class: "mx-4", "controls-position": "right", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(Y2, { span: 8 }, { default: i(() => [u(J2, { label: "自定义", value: "custom" })]), _: 1 }), u(Y2, { span: 14 }, { default: i(() => [u(Q2, { type: "default" }, { default: i(() => l2[62] || (l2[62] = [p("自定义逻辑")])), _: 1 }), u(Q2, { type: "default", icon: m(V), circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })) : r("", true), Z.value ? r("", true) : (n(), t(I2, { key: 4, title: "用户自定义", name: "userDefined", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", z, [u(x2, { label: "可自定义", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.definition.defined, "onUpdate:modelValue": l2[43] || (l2[43] = (a3) => e2.configure.props.definition.defined = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[63] || (l2[63] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[64] || (l2[64] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义导出", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.definition.definedExport, "onUpdate:modelValue": l2[44] || (l2[44] = (a3) => e2.configure.props.definition.definedExport = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[65] || (l2[65] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[66] || (l2[66] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义合并", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.definition.definedMerge, "onUpdate:modelValue": l2[45] || (l2[45] = (a3) => e2.configure.props.definition.definedMerge = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[67] || (l2[67] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[68] || (l2[68] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义位置", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.definition.definedPosition, "onUpdate:modelValue": l2[46] || (l2[46] = (a3) => e2.configure.props.definition.definedPosition = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[69] || (l2[69] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[70] || (l2[70] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义冻结", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.definition.definedFixed, "onUpdate:modelValue": l2[47] || (l2[47] = (a3) => e2.configure.props.definition.definedFixed = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[71] || (l2[71] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[72] || (l2[72] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 })), oe.value ? (n(), t(C, { key: 5, querySetting: e2.configure.props.querySetting, onAdd: ne, onClose: te }, null, 8, ["querySetting"])) : r("", true), u(w, { ref_key: "selectTableDialog", ref: X, onSelectTable: ae, systemCode: e2.configure.systemCode, systemVersion: e2.configure.systemVersion }, null, 8, ["systemCode", "systemVersion"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
116
+ return n(), t(le2, { "label-width": "80px", size: "small" }, { default: i(() => [u(ee2, { modelValue: B.value, "onUpdate:modelValue": l2[48] || (l2[48] = (e3) => B.value = e3), style: { "margin-top": "6px" } }, { default: i(() => [u(I2, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", E, [u(x2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.uuid, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.uuid = a3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), Z.value ? r("", true) : (n(), t(x2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: i(() => [u(T, { showDynamicColumn: true, showPlaceholder: true, prop: e2.configure.props.base.prop, "onUpdate:prop": l2[1] || (l2[1] = (a3) => e2.configure.props.base.prop = a3), propType: e2.configure.props.base.propType, "onUpdate:propType": l2[2] || (l2[2] = (a3) => e2.configure.props.base.propType = a3), tableConfigure: e2.tableConfigure, onChange: de }, null, 8, ["prop", "propType", "tableConfigure"])]), _: 1 })), u(x2, { label: "标题", class: "amb-design-attr-item" }, { default: i(() => [u(N, { modelValue: e2.configure.props.base.name, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.props.base.name = a3), onChange: pe, disabled: "$index" === e2.configure.props.base.prop || "$selection" === e2.configure.props.base.prop }, null, 8, ["modelValue", "disabled"])]), _: 1 }), u(x2, { label: "绑定权限", class: "amb-design-attr-item" }, { default: i(() => [u(q, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), u(x2, { label: "显示顺序", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.base.displayOrder, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.base.displayOrder = a3), modelModifiers: { number: true }, onBlur: me, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), Z.value ? r("", true) : (n(), t(x2, { key: 1, label: "是否显示 ", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.visible, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.base.visible = a3), class: "ml-4", onChange: re }, { default: i(() => [u(U2, { value: true }, { default: i(() => l2[49] || (l2[49] = [m("是")])), _: 1 }), u(U2, { value: false }, { default: i(() => l2[50] || (l2[50] = [m("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), Z.value ? r("", true) : (n(), t(x2, { key: 2, label: "是否导出", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.base.exportable, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.base.exportable = a3) }, null, 8, ["modelValue"])]), _: 1 })), Z.value ? r("", true) : (n(), t(x2, { key: 3, label: "查询设置", class: "amb-design-attr-item" }, { default: i(() => [s("div", P, [u(F2, { modelValue: e2.configure.props.base.querySettingName, "onUpdate:modelValue": l2[7] || (l2[7] = (a3) => e2.configure.props.base.querySettingName = a3) }, { default: i(() => [u(H2, { label: "不查询", value: "no" }), u(H2, { label: "普通查询", value: "normal" }), u(H2, { label: "高级查询", value: "advanced" })]), _: 1 }, 8, ["modelValue"]), "normal" === e2.configure.props.base.querySettingName || "advanced" === e2.configure.props.base.querySettingName ? (n(), t(R3, { key: 0, style: { "margin-left": "10px" }, onClick: l2[8] || (l2[8] = (e3) => oe.value = true) }, { default: i(() => [u(p(y))]), _: 1 })) : r("", true)])]), _: 1 })), Z.value || "normal" !== e2.configure.props.base.querySettingName && "advanced" !== e2.configure.props.base.querySettingName || "STRING" !== e2.configure.props.base.propType ? r("", true) : (n(), t(x2, { key: 4, label: "匹配方式", class: "amb-design-attr-item" }, { default: i(() => [u(F2, { modelValue: e2.configure.props.base.queryMatching, "onUpdate:modelValue": l2[9] || (l2[9] = (a3) => e2.configure.props.base.queryMatching = a3), clearable: "" }, { default: i(() => [u(H2, { label: "全匹配", value: "all" }), u(H2, { label: "左匹配", value: "left" }), u(H2, { label: "右匹配", value: "right" }), u(H2, { label: "精确查询", value: "exactQuery" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), Z.value ? r("", true) : (n(), t(x2, { key: 5, label: "是否合计", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.base.total, "onUpdate:modelValue": l2[10] || (l2[10] = (a3) => e2.configure.props.base.total = a3) }, null, 8, ["modelValue"])]), _: 1 })), Z.value ? r("", true) : (n(), t(x2, { key: 6, label: "是否筛选", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.base.filterable, "onUpdate:modelValue": l2[11] || (l2[11] = (a3) => e2.configure.props.base.filterable = a3) }, null, 8, ["modelValue"])]), _: 1 }))])]), _: 1 }), Z.value || "dynamicColumnSelect" == e2.configure.props.base.prop ? r("", true) : (n(), t(_, { key: 0, configure: e2.configure, isTable: true, isDynamicColumn: "dynamicColumnSelect" === e2.configure.props.base.prop, remote: true }, null, 8, ["configure", "isDynamicColumn"])), u(M, { operationColumn: Z.value, configure: e2.configure, tableConfigure: e2.tableConfigure, pageDesign: e2.pageDesign }, null, 8, ["operationColumn", "configure", "tableConfigure", "pageDesign"]), Z.value ? r("", true) : (n(), t(I2, { key: 1, title: "行编辑设置", name: "editLine", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", A, [u(x2, { label: "是否编辑", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { onChange: ie, modelValue: e2.configure.props.editLine.editable, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.editLine.editable = a3) }, null, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "默认值", class: "amb-design-attr-item" }, { default: i(() => [u(h, { modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": se }, null, 8, ["modelValue"])]), _: 1 }), e2.configure.props.editLine.editable ? (n(), t(x2, { key: 0, label: "组件类型", class: "amb-design-attr-item" }, { default: i(() => [u(F2, { modelValue: e2.configure.name, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.name = a3), placeholder: "请选择", onChange: ue }, { default: i(() => [(n(true), f(c, null, g(p(v)(), (e3) => (n(), t(H2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true), d(u(x2, { label: "文件uuid", class: "amb-design-attr-item" }, { default: i(() => [u(T, { prop: e2.configure.props.format.fileUuid, "onUpdate:prop": l2[14] || (l2[14] = (a3) => e2.configure.props.format.fileUuid = a3), tableConfigure: e2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 }, 512), [[b, e2.configure.props.editLine.editable && "file-upload" === e2.configure.name]]), d(u(x2, { label: "自定义控件名称", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.base.customComponent, "onUpdate:modelValue": l2[15] || (l2[15] = (a3) => e2.configure.props.base.customComponent = a3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.editLine.editable && "custom" === e2.configure.name]])])]), _: 1 })), Z.value ? r("", true) : (n(), t(I2, { key: 2, title: "格式设置", name: "formatting", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", O, [u(x2, { label: "格式化分类", class: "amb-design-attr-item" }, { default: i(() => [u(F2, { modelValue: e2.configure.props.format.type, "onUpdate:modelValue": l2[16] || (l2[16] = (a3) => e2.configure.props.format.type = a3), clearable: "", placeholder: "请选择" }, { default: i(() => [u(H2, { label: "数值", value: "number" }), u(H2, { label: "货币", value: "currency" }), u(H2, { label: "日期", value: "date" }), u(H2, { label: "时间", value: "time" }), u(H2, { label: "百分比", value: "percent" }), u(H2, { label: "自定义控件", value: "customControl" }), u(H2, { label: "超链接", value: "hyperlinks" }), u(H2, { label: "图标/标签", value: "icon" }), u(H2, { label: "附件控件", value: "files" }), u(H2, { label: "富文本", value: "richEditor" }), u(H2, { label: "脱敏组件", value: "secretInfo" }), u(H2, { label: "自定义方法", value: "custom" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "number" === e2.configure.props.format.type || "currency" === e2.configure.props.format.type || "percent" === e2.configure.props.format.type ? (n(), t(x2, { key: 0, label: "小数位数", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.decimalDigit, "onUpdate:modelValue": l2[17] || (l2[17] = (a3) => e2.configure.props.format.decimalDigit = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "number" === e2.configure.props.format.type ? (n(), t(x2, { key: 1, label: "科学计数", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.format.scientific, "onUpdate:modelValue": l2[18] || (l2[18] = (a3) => e2.configure.props.format.scientific = a3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "number" === e2.configure.props.format.type && e2.configure.props.format.scientific ? (n(), t(x2, { key: 2, label: "计数位数", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.scientificNum, "onUpdate:modelValue": l2[19] || (l2[19] = (a3) => e2.configure.props.format.scientificNum = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "number" === e2.configure.props.format.type ? (n(), t(x2, { key: 3, label: "千位分隔符", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.format.thousandsSeparator, "onUpdate:modelValue": l2[20] || (l2[20] = (a3) => e2.configure.props.format.thousandsSeparator = a3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "number" === e2.configure.props.format.type ? (n(), t(x2, { key: 4, label: "数值符号", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.symbol, "onUpdate:modelValue": l2[21] || (l2[21] = (a3) => e2.configure.props.format.symbol = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "currency" === e2.configure.props.format.type ? (n(), t(x2, { key: 5, label: "货币符号", class: "amb-design-attr-item" }, { default: i(() => [u(F2, { modelValue: e2.configure.props.format.currencySymbol, "onUpdate:modelValue": l2[22] || (l2[22] = (a3) => e2.configure.props.format.currencySymbol = a3), placeholder: "Select" }, { default: i(() => [u(H2, { label: "$", value: "$" }), u(H2, { label: "¥", value: "¥" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true), "date" === e2.configure.props.format.type ? (n(), t(x2, { key: 6, label: "日期类型", class: "amb-design-attr-item" }, { default: i(() => [u(F2, { modelValue: e2.configure.props.format.dataType, "onUpdate:modelValue": l2[23] || (l2[23] = (a3) => e2.configure.props.format.dataType = a3), placeholder: "Select" }, { default: i(() => [u(H2, { label: "yyyy-m-d", value: "yyyy-m-d" }), u(H2, { label: "yyyy-m-d hh:mm:ss", value: "yyyy-m-d hh:mm:ss" }), u(H2, { label: "yyyy-m", value: "yyyy-m" }), u(H2, { label: "m-d", value: "m-d" }), u(H2, { label: "yyyy", value: "yyyy" }), u(H2, { label: "yyyy年m月d日", value: "yyyy年m月d日" }), u(H2, { label: "yyyy年m月d日hh时mm分ss秒", value: "yyyy年m月d日hh时mm分ss秒" }), u(H2, { label: "yyyy年m月", value: "yyyy年m月" }), u(H2, { label: "m月d日", value: "m月d日" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true), "time" === e2.configure.props.format.type ? (n(), t(x2, { key: 7, label: "时间类型", class: "amb-design-attr-item" }, { default: i(() => [u(F2, { modelValue: e2.configure.props.format.timeType, "onUpdate:modelValue": l2[24] || (l2[24] = (a3) => e2.configure.props.format.timeType = a3), placeholder: "Select" }, { default: i(() => [u(H2, { label: "HH:mm", value: "HH:mm" }), u(H2, { label: "HH:mm:ss", value: "HH:mm:ss" }), u(H2, { label: "HH时mm分", value: "HH时mm分" }), u(H2, { label: "HH时mm分ss秒", value: "HH时mm分ss秒" }), u(H2, { label: "hh:mm", value: "hh:mm" }), u(H2, { label: "hh:mm:ss", value: "hh:mm:ss" }), u(H2, { label: "hh时mm分", value: "hh时mm分" }), u(H2, { label: "hh时mm分ss秒", value: "hh时mm分ss秒" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true), "customControl" === e2.configure.props.format.type ? (n(), t(x2, { key: 8, label: "自定义控件", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.customControl, "onUpdate:modelValue": l2[25] || (l2[25] = (a3) => e2.configure.props.format.customControl = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "hyperlinks" === e2.configure.props.format.type ? (n(), t(j, { key: 9, pageDesign: e2.pageDesign, linkPage: e2.configure.props.linkPage, "onUpdate:linkPage": l2[26] || (l2[26] = (a3) => e2.configure.props.linkPage = a3), tableConfigure: e2.tableConfigure, isDialog: false }, null, 8, ["pageDesign", "linkPage", "tableConfigure"])) : r("", true), "icon" === e2.configure.props.format.type ? (n(), t(L, { key: 10, setting: e2.configure.props.format }, null, 8, ["setting"])) : r("", true), "custom" === e2.configure.props.format.type ? (n(), t(x2, { key: 11, label: "自定义方法", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.customControl, "onUpdate:modelValue": l2[27] || (l2[27] = (a3) => e2.configure.props.format.customControl = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 12, label: "是否多选", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.format.multiple, "onUpdate:modelValue": l2[28] || (l2[28] = (a3) => e2.configure.props.format.multiple = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 13, label: "文件类型", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.accept, "onUpdate:modelValue": l2[29] || (l2[29] = (a3) => e2.configure.props.format.accept = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 14, label: "文件限制(M)", class: "amb-design-attr-item" }, { default: i(() => [u(W2, { modelValue: e2.configure.props.format.limitFileSize, "onUpdate:modelValue": l2[30] || (l2[30] = (a3) => e2.configure.props.format.limitFileSize = a3), min: 1 }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type && e2.configure.props.format.multiple ? (n(), t(x2, { key: 15, label: "选择数据表" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.childAnnexDataTableCode, "onUpdate:modelValue": l2[31] || (l2[31] = (a3) => e2.configure.props.format.childAnnexDataTableCode = a3), onClick: a2.openSelectDataTable, clearable: "" }, { append: i(() => [u(Q2, { type: "default", icon: p(V), onClick: a2.openSelectDataTable }, null, 8, ["icon", "onClick"])]), _: 1 }, 8, ["modelValue", "onClick"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 16, label: "展示名字段", class: "amb-design-attr-item" }, { default: i(() => [u(T, { prop: e2.configure.props.format.showName, "onUpdate:prop": l2[32] || (l2[32] = (a3) => e2.configure.props.format.showName = a3), tableConfigure: e2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 17, label: "服务器字段", class: "amb-design-attr-item" }, { default: i(() => [u(T, { prop: e2.configure.props.format.serverName, "onUpdate:prop": l2[33] || (l2[33] = (a3) => e2.configure.props.format.serverName = a3), tableConfigure: e2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 })) : r("", true)])]), _: 1 })), u(I2, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", $, [u(x2, { label: "固定列", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.listColumnFixed, "onUpdate:modelValue": l2[34] || (l2[34] = (a3) => e2.configure.props.base.listColumnFixed = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[51] || (l2[51] = [m("否")])), _: 1 }), u(U2, { value: "left" }, { default: i(() => l2[52] || (l2[52] = [m("居左")])), _: 1 }), u(U2, { value: "right" }, { default: i(() => l2[53] || (l2[53] = [m("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), Z.value ? r("", true) : (n(), t(x2, { key: 0, label: "是否排序", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.sortable, "onUpdate:modelValue": l2[35] || (l2[35] = (a3) => e2.configure.props.base.sortable = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: true }, { default: i(() => l2[54] || (l2[54] = [m("是")])), _: 1 }), u(U2, { value: false }, { default: i(() => l2[55] || (l2[55] = [m("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), u(x2, { label: "列宽", class: "amb-design-attr-item" }, { default: i(() => [u(W2, { style: { width: "100%" }, modelValue: e2.configure.props.base.columnWidth, "onUpdate:modelValue": l2[36] || (l2[36] = (a3) => e2.configure.props.base.columnWidth = a3), precision: 1 }, null, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "标题对齐", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.alignTitle, "onUpdate:modelValue": l2[37] || (l2[37] = (a3) => e2.configure.props.base.alignTitle = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: "left" }, { default: i(() => l2[56] || (l2[56] = [m("居左")])), _: 1 }), u(U2, { value: "center" }, { default: i(() => l2[57] || (l2[57] = [m("居中")])), _: 1 }), u(U2, { value: "right" }, { default: i(() => l2[58] || (l2[58] = [m("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "内容对齐", class: "amb-design-attr-item-linefeed-two" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.alignContent, "onUpdate:modelValue": l2[38] || (l2[38] = (a3) => e2.configure.props.base.alignContent = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: "left" }, { default: i(() => l2[59] || (l2[59] = [m("居左")])), _: 1 }), u(U2, { value: "center" }, { default: i(() => l2[60] || (l2[60] = [m("居中")])), _: 1 }), u(U2, { value: "right" }, { default: i(() => l2[61] || (l2[61] = [m("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), !Z.value && e2.configure.props.editLine.editable ? (n(), t(I2, { key: 3, title: "校验", name: "verification", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", G, [u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": l2[39] || (l2[39] = (a3) => e2.configure.props.verification.required = a3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), u(K2, { modelValue: e2.configure.props.verification.type, "onUpdate:modelValue": l2[40] || (l2[40] = (a3) => e2.configure.props.verification.type = a3) }, { default: i(() => [u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { label: "整形", value: "int" }), u(J2, { label: "数字", value: "number" }), u(J2, { label: "布尔", value: "boolean" })]), _: 1 }), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { label: "字符串", value: "text" }), u(J2, { label: "邮件", value: "mail" }), u(J2, { label: "网址", value: "ip" })]), _: 1 }), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { label: "单精度", value: "float" }), u(J2, { label: "十六进制", value: "hex" })]), _: 1 })]), _: 1 }, 8, ["modelValue"]), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(Y2, { span: 8 }, { default: i(() => [u(J2, { modelValue: e2.configure.props.verification.verifyRegex, "onUpdate:modelValue": l2[41] || (l2[41] = (a3) => e2.configure.props.verification.verifyRegex = a3), label: "正则", value: "regex" }, null, 8, ["modelValue"])]), _: 1 }), u(Y2, { span: 14 }, { default: i(() => [u(D2, { modelValue: e2.configure.props.verification.regex, "onUpdate:modelValue": l2[42] || (l2[42] = (a3) => e2.configure.props.verification.regex = a3), class: "mx-4", "controls-position": "right", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(Y2, { span: 8 }, { default: i(() => [u(J2, { label: "自定义", value: "custom" })]), _: 1 }), u(Y2, { span: 14 }, { default: i(() => [u(Q2, { type: "default" }, { default: i(() => l2[62] || (l2[62] = [m("自定义逻辑")])), _: 1 }), u(Q2, { type: "default", icon: p(V), circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })) : r("", true), Z.value ? r("", true) : (n(), t(I2, { key: 4, title: "用户自定义", name: "userDefined", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", z, [u(x2, { label: "可自定义", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.definition.defined, "onUpdate:modelValue": l2[43] || (l2[43] = (a3) => e2.configure.props.definition.defined = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[63] || (l2[63] = [m("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[64] || (l2[64] = [m("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义导出", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.definition.definedExport, "onUpdate:modelValue": l2[44] || (l2[44] = (a3) => e2.configure.props.definition.definedExport = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[65] || (l2[65] = [m("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[66] || (l2[66] = [m("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义合并", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.definition.definedMerge, "onUpdate:modelValue": l2[45] || (l2[45] = (a3) => e2.configure.props.definition.definedMerge = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[67] || (l2[67] = [m("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[68] || (l2[68] = [m("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义位置", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.definition.definedPosition, "onUpdate:modelValue": l2[46] || (l2[46] = (a3) => e2.configure.props.definition.definedPosition = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[69] || (l2[69] = [m("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[70] || (l2[70] = [m("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义冻结", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.definition.definedFixed, "onUpdate:modelValue": l2[47] || (l2[47] = (a3) => e2.configure.props.definition.definedFixed = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[71] || (l2[71] = [m("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[72] || (l2[72] = [m("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 })), oe.value ? (n(), t(C, { key: 5, querySetting: e2.configure.props.querySetting, onAdd: ne, onClose: te }, null, 8, ["querySetting"])) : r("", true), u(w, { ref_key: "selectTableDialog", ref: X, onSelectTable: ae, systemCode: e2.configure.systemCode, systemVersion: e2.configure.systemVersion }, null, 8, ["systemCode", "systemVersion"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
116
117
  };
117
118
  } });
118
119
  export {
@@ -2,7 +2,7 @@ import { defineComponent as e, ref as l, watch as a, resolveComponent as t, crea
2
2
  import { getUuidv4 as d } from "../../../../utils/common-util.js";
3
3
  import p from "../../common/common-variable-bind.vue.js";
4
4
  import { getModelOptionsByFields as m } from "../../../../utils/page-table-util.js";
5
- const s = { style: { "text-align": "center", margin: "0px -8px", "padding-top": "4px", "padding-left": "2px" } }, c = e({ __name: "parameter-table", props: { data: { type: Array, default: () => [] }, tableConfigure: { type: Object, default: () => [] } }, emits: ["dataChange"], setup(e2, { emit: c2 }) {
5
+ const s = { style: { "text-align": "center", margin: "0px -8px", "padding-top": "4px", "padding-left": "2px" } }, c = e({ __name: "parameter-table", props: { data: { type: Array, default: () => [] }, tableConfigure: { type: Object, default: () => [] } }, emits: ["dataChange", "update:data"], setup(e2, { emit: c2 }) {
6
6
  const f = e2, v = c2, g = l(null);
7
7
  function b() {
8
8
  f.tableConfigure && (g.value = m(f.tableConfigure.modelFields));
@@ -27,8 +27,8 @@ const s = { style: { "text-align": "center", margin: "0px -8px", "padding-top":
27
27
  return h.value = f.data, h.value && 0 != h.value.length || h.value.push({ uuid: d(), paramValue: "", paramName: "" }), a(() => h.value, (e3) => {
28
28
  if (e3 && e3.length > 0) {
29
29
  const l2 = e3.filter((e4) => "" !== e4.paramName);
30
- v("dataChange", l2);
31
- } else v("dataChange", []);
30
+ v("dataChange", l2), v("update:data", l2);
31
+ } else v("dataChange", []), v("update:data", []);
32
32
  }, { deep: true }), (e3, l2) => {
33
33
  const a2 = t("Top"), d2 = t("el-icon"), m2 = t("Bottom"), c3 = t("el-table-column"), f2 = t("el-input"), v2 = t("Plus"), b2 = t("Delete"), V = t("el-table");
34
34
  return u(), o(V, { data: h.value, "row-key": "uuid", style: { width: "100%" } }, { default: r(() => [n(c3, { label: "", width: "32" }, { default: r((e4) => [i("div", s, [n(d2, { size: "14", style: { cursor: "pointer" }, onClick: (l3) => function(e5) {
@@ -1,11 +1,11 @@
1
- import { defineComponent as e, ref as l, watch as a, onMounted as u, resolveComponent as o, createElementBlock as d, openBlock as t, Fragment as i, createVNode as p, withDirectives as n, createBlock as m, createCommentVNode as s, withCtx as g, createTextVNode as v, withModifiers as b, unref as r, renderList as c, vShow as f, toDisplayString as y } from "vue";
1
+ import { defineComponent as e, ref as l, watch as a, onMounted as u, resolveComponent as o, createElementBlock as d, openBlock as t, Fragment as i, createVNode as n, withDirectives as p, createBlock as m, createCommentVNode as s, withCtx as g, createTextVNode as v, withModifiers as r, unref as b, renderList as c, vShow as f, toDisplayString as y } from "vue";
2
2
  import { Search as V, Close as j } from "@element-plus/icons";
3
3
  import P from "./linkpage-page-callback.vue.js";
4
4
  import M from "../../common/common-select-page.vue.js";
5
5
  import T from "./parameter-table.vue.js";
6
- import _ from "../../common/common-variable-bind.vue.js";
7
- import k from "./condition.vue.js";
8
- import C from "../../common/common-icon-bind.vue.js";
6
+ import C from "../../common/common-variable-bind.vue.js";
7
+ import _ from "./condition.vue.js";
8
+ import k from "../../common/common-icon-bind.vue.js";
9
9
  import O from "../../common/common-i18n-key-input.vue.js";
10
10
  import { getModelOptionsByFields as h } from "../../../../utils/page-table-util.js";
11
11
  const U = e({ __name: "suffixmodule", props: { configure: {}, pageDesign: {}, tableConfigure: {}, isDialog: { type: Boolean }, isButton: { type: Boolean, default: true }, showDisplayConditions: { type: Boolean, default: true } }, setup(e2) {
@@ -16,7 +16,7 @@ const U = e({ __name: "suffixmodule", props: { configure: {}, pageDesign: {}, ta
16
16
  const A = l(null);
17
17
  B && B.length > 0 && (A.value = h(B));
18
18
  const x = l(null);
19
- U2.tableConfigure && (x.value = h(U2.tableConfigure.modelFields)), U2.isDialog ? w.value = U2.configure : (U2.configure.props.linkPage || (U2.configure.props.linkPage = {}), w.value = U2.configure.props.linkPage), void 0 === w.value.linkType && (w.value.linkType = "page"), void 0 === w.value.isNewPage && (w.value.isNewPage = true), w.value.dynamicTags || (w.value.dynamicTags = []), w.value.buttonDisplayConditionsList || (w.value.buttonDisplayConditionsList = []);
19
+ U2.tableConfigure && (x.value = h(U2.tableConfigure.modelFields)), U2.isDialog ? w.value = U2.configure : (U2.configure.props.linkPage || (U2.configure.props.linkPage = {}), w.value = U2.configure.props.linkPage), void 0 === w.value.linkType && (w.value.linkType = "page"), void 0 === w.value.isNewPage && (w.value.isNewPage = true), w.value.dynamicTags || (w.value.dynamicTags = []), w.value.buttonDisplayConditionsList || (w.value.buttonDisplayConditionsList = []), void 0 === w.value.alignCenter && (w.value.alignCenter = true);
20
20
  const F = [{ label: "弹窗", value: "popup" }, { label: "新页签", value: "newTab" }, { label: "局部刷新", value: "refresh" }], W = [{ label: "弹窗", value: "popup" }, { label: "局部刷新", value: "refresh" }], L = [{ label: "弹框", value: "dialog" }, { label: "抽屉", value: "drawer" }], R = [{ label: "右到左", value: "rtl" }, { label: "左到右", value: "ltr" }, { label: "上到下", value: "ttb" }, { label: "下到上", value: "btt" }], z = l(null);
21
21
  function E() {
22
22
  U2.tableConfigure && z.value && z.value.changeTableFields(U2.tableConfigure.modelFields);
@@ -48,11 +48,11 @@ const U = e({ __name: "suffixmodule", props: { configure: {}, pageDesign: {}, ta
48
48
  }
49
49
  return (e3, l2) => {
50
50
  const a2 = o("el-radio"), u2 = o("el-form-item"), h2 = o("el-button"), U3 = o("el-input"), B2 = o("el-radio-group"), N2 = o("el-option"), E2 = o("el-select"), K = o("el-switch"), Q = o("el-tag"), X = o("el-divider");
51
- return t(), d(i, null, [p(B2, { modelValue: w.value.linkType, "onUpdate:modelValue": l2[2] || (l2[2] = (e4) => w.value.linkType = e4) }, { default: g(() => [p(u2, { class: "amb-design-attr-item", style: { width: "100%" } }, { label: g(() => [p(a2, { value: "" }, { default: g(() => l2[19] || (l2[19] = [v("无跳转   ")])), _: 1 })]), _: 1 }), p(u2, { class: "amb-design-attr-item", style: { width: "100%" } }, { label: g(() => [p(a2, { value: "page" }, { default: g(() => l2[20] || (l2[20] = [v("跳转页面")])), _: 1 })]), default: g(() => [p(U3, { disabled: "page" != w.value.linkType, modelValue: w.value.jumpPageName, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => w.value.jumpPageName = e4), title: w.value.jumpPageCode, onClick: b(H, ["stop"]), readonly: "true" }, { append: g(() => [p(h2, { type: "default", disabled: "page" != w.value.linkType, icon: r(V), onClick: H, size: "small" }, null, 8, ["disabled", "icon"]), p(h2, { type: "default", disabled: "page" != w.value.linkType, icon: r(j), onClick: I, title: "Clear", size: "small" }, null, 8, ["disabled", "icon"])]), _: 1 }, 8, ["disabled", "modelValue", "title"])]), _: 1 }), p(u2, { class: "amb-design-attr-item", style: { width: "100%" } }, { label: g(() => [p(a2, { value: "url" }, { default: g(() => l2[21] || (l2[21] = [v("跳转地址")])), _: 1 })]), default: g(() => [p(U3, { disabled: "url" != w.value.linkType, modelValue: w.value.jumpAddress, "onUpdate:modelValue": l2[1] || (l2[1] = (e4) => w.value.jumpAddress = e4), clearable: "" }, null, 8, ["disabled", "modelValue"])]), _: 1 })]), _: 1 }, 8, ["modelValue"]), p(u2, { label: "打开方式", class: "amb-design-attr-item" }, { default: g(() => [p(E2, { modelValue: w.value.jumpPageOpenMode, "onUpdate:modelValue": l2[3] || (l2[3] = (e4) => w.value.jumpPageOpenMode = e4), clearable: "", placeholder: "请选择" }, { default: g(() => [(t(), d(i, null, c(F, (e4, l3) => p(N2, { key: l3, label: e4.label, value: e4.value }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), p(u2, { label: "移动端打开", class: "amb-design-attr-item" }, { default: g(() => [p(E2, { modelValue: w.value.jumpPageMobileOpenMode, "onUpdate:modelValue": l2[4] || (l2[4] = (e4) => w.value.jumpPageMobileOpenMode = e4), clearable: "", placeholder: "请选择" }, { default: g(() => [(t(), d(i, null, c(W, (e4, l3) => p(N2, { key: l3, label: e4.label, value: e4.value }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(p(u2, { label: "弹框方式", class: "amb-design-attr-item" }, { default: g(() => [p(E2, { modelValue: w.value.dialogType, "onUpdate:modelValue": l2[5] || (l2[5] = (e4) => w.value.dialogType = e4), clearable: "", placeholder: "请选择" }, { default: g(() => [(t(), d(i, null, c(L, (e4, l3) => p(N2, { key: l3, label: e4.label, value: e4.value }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[f, "popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode]]), n(p(u2, { label: "可拖拽", class: "amb-design-attr-item" }, { default: g(() => [p(K, { modelValue: w.value.draggable, "onUpdate:modelValue": l2[6] || (l2[6] = (e4) => w.value.draggable = e4) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, !("popup" != w.value.jumpPageOpenMode && "popup" != w.value.jumpPageMobileOpenMode || w.value.dialogType && "dialog" !== w.value.dialogType)]]), n(p(u2, { label: "显示位置", class: "amb-design-attr-item" }, { default: g(() => [p(E2, { modelValue: w.value.showPosition, "onUpdate:modelValue": l2[7] || (l2[7] = (e4) => w.value.showPosition = e4), clearable: "", placeholder: "请选择" }, { default: g(() => [(t(), d(i, null, c(R, (e4, l3) => p(N2, { key: l3, label: e4.label, value: e4.value }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[f, ("popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode) && w.value.dialogType && "drawer" === w.value.dialogType]]), n(p(u2, { label: "拖出可视区", title: "拖动范围可以超出可视区", class: "amb-design-attr-item" }, { default: g(() => [p(K, { modelValue: w.value.overflow, "onUpdate:modelValue": l2[8] || (l2[8] = (e4) => w.value.overflow = e4) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, !("popup" != w.value.jumpPageOpenMode && "popup" != w.value.jumpPageMobileOpenMode || w.value.dialogType && "dialog" !== w.value.dialogType)]]), n(p(u2, { label: "弹窗标题", class: "amb-design-attr-item" }, { default: g(() => [p(O, { modelValue: w.value.jumpPageTitle, "onUpdate:modelValue": l2[9] || (l2[9] = (e4) => w.value.jumpPageTitle = e4) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, "popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode]]), n(p(u2, { label: "是否全屏", class: "amb-design-attr-item" }, { default: g(() => [p(K, { modelValue: w.value.fullscreen, "onUpdate:modelValue": l2[10] || (l2[10] = (e4) => w.value.fullscreen = e4), disabled: !("dialog" === w.value.dialogType) }, null, 8, ["modelValue", "disabled"])]), _: 1 }, 512), [[f, "popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode]]), n(p(u2, { label: "是否居中", class: "amb-design-attr-item" }, { default: g(() => [p(K, { modelValue: w.value.alignCenter, "onUpdate:modelValue": l2[11] || (l2[11] = (e4) => w.value.alignCenter = e4), disabled: !("dialog" === w.value.dialogType) }, null, 8, ["modelValue", "disabled"])]), _: 1 }, 512), [[f, "popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode]]), n(p(u2, { label: "弹窗宽度", class: "amb-design-attr-item" }, { default: g(() => [p(U3, { modelValue: w.value.jumpPageWidth, "onUpdate:modelValue": l2[12] || (l2[12] = (e4) => w.value.jumpPageWidth = e4), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, "popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode]]), n(p(u2, { label: "弹窗高度", class: "amb-design-attr-item" }, { default: g(() => [p(U3, { modelValue: w.value.jumpPageHeight, "onUpdate:modelValue": l2[13] || (l2[13] = (e4) => w.value.jumpPageHeight = e4), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, "popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode]]), n(p(u2, { label: "关闭事件", class: "amb-design-attr-item" }, { default: g(() => [p(U3, { modelValue: w.value.closeEvent, "onUpdate:modelValue": l2[14] || (l2[14] = (e4) => w.value.closeEvent = e4), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, "popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode]]), n(p(u2, { label: "关闭后刷新", title: "关闭页面时是否刷新父页面", class: "amb-design-attr-item" }, { default: g(() => [p(K, { modelValue: w.value.isRefreshWhenClosePopup, "onUpdate:modelValue": l2[15] || (l2[15] = (e4) => w.value.isRefreshWhenClosePopup = e4) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, "popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode]]), e3.isButton && e3.showDisplayConditions ? (t(), m(u2, { key: 0, label: "显示判断", class: "amb-design-attr-item" }, { default: g(() => [p(k, { title: "显示判断", list: w.value.buttonDisplayConditionsList, ref_key: "conditionRef", ref: z }, null, 8, ["list"])]), _: 1 })) : s("", true), e3.isButton ? (t(), m(u2, { key: 1, label: "显示文本", class: "amb-design-attr-item" }, { default: g(() => [p(K, { modelValue: w.value.displayTextJudge, "onUpdate:modelValue": l2[16] || (l2[16] = (e4) => w.value.displayTextJudge = e4) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), e3.isButton ? (t(), m(u2, { key: 2, label: "图标", class: "amb-design-attr-item" }, { default: g(() => [p(C, { iconType: w.value.iconType, iconValue: w.value.icon, "onUpdate:modelValue": l2[17] || (l2[17] = (e4, l3) => function(e5, l4) {
51
+ return t(), d(i, null, [n(B2, { modelValue: w.value.linkType, "onUpdate:modelValue": l2[2] || (l2[2] = (e4) => w.value.linkType = e4) }, { default: g(() => [n(u2, { class: "amb-design-attr-item", style: { width: "100%" } }, { label: g(() => [n(a2, { value: "" }, { default: g(() => l2[19] || (l2[19] = [v("无跳转   ")])), _: 1 })]), _: 1 }), n(u2, { class: "amb-design-attr-item", style: { width: "100%" } }, { label: g(() => [n(a2, { value: "page" }, { default: g(() => l2[20] || (l2[20] = [v("跳转页面")])), _: 1 })]), default: g(() => [n(U3, { disabled: "page" != w.value.linkType, modelValue: w.value.jumpPageName, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => w.value.jumpPageName = e4), title: w.value.jumpPageCode, onClick: r(H, ["stop"]), readonly: "true" }, { append: g(() => [n(h2, { type: "default", disabled: "page" != w.value.linkType, icon: b(V), onClick: H, size: "small" }, null, 8, ["disabled", "icon"]), n(h2, { type: "default", disabled: "page" != w.value.linkType, icon: b(j), onClick: I, title: "Clear", size: "small" }, null, 8, ["disabled", "icon"])]), _: 1 }, 8, ["disabled", "modelValue", "title"])]), _: 1 }), n(u2, { class: "amb-design-attr-item", style: { width: "100%" } }, { label: g(() => [n(a2, { value: "url" }, { default: g(() => l2[21] || (l2[21] = [v("跳转地址")])), _: 1 })]), default: g(() => [n(U3, { disabled: "url" != w.value.linkType, modelValue: w.value.jumpAddress, "onUpdate:modelValue": l2[1] || (l2[1] = (e4) => w.value.jumpAddress = e4), clearable: "" }, null, 8, ["disabled", "modelValue"])]), _: 1 })]), _: 1 }, 8, ["modelValue"]), n(u2, { label: "打开方式", class: "amb-design-attr-item" }, { default: g(() => [n(E2, { modelValue: w.value.jumpPageOpenMode, "onUpdate:modelValue": l2[3] || (l2[3] = (e4) => w.value.jumpPageOpenMode = e4), clearable: "", placeholder: "请选择" }, { default: g(() => [(t(), d(i, null, c(F, (e4, l3) => n(N2, { key: l3, label: e4.label, value: e4.value }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(u2, { label: "移动端打开", class: "amb-design-attr-item" }, { default: g(() => [n(E2, { modelValue: w.value.jumpPageMobileOpenMode, "onUpdate:modelValue": l2[4] || (l2[4] = (e4) => w.value.jumpPageMobileOpenMode = e4), clearable: "", placeholder: "请选择" }, { default: g(() => [(t(), d(i, null, c(W, (e4, l3) => n(N2, { key: l3, label: e4.label, value: e4.value }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), p(n(u2, { label: "弹框方式", class: "amb-design-attr-item" }, { default: g(() => [n(E2, { modelValue: w.value.dialogType, "onUpdate:modelValue": l2[5] || (l2[5] = (e4) => w.value.dialogType = e4), clearable: "", placeholder: "请选择" }, { default: g(() => [(t(), d(i, null, c(L, (e4, l3) => n(N2, { key: l3, label: e4.label, value: e4.value }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[f, "popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode]]), p(n(u2, { label: "可拖拽", class: "amb-design-attr-item" }, { default: g(() => [n(K, { modelValue: w.value.draggable, "onUpdate:modelValue": l2[6] || (l2[6] = (e4) => w.value.draggable = e4) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, !("popup" != w.value.jumpPageOpenMode && "popup" != w.value.jumpPageMobileOpenMode || w.value.dialogType && "dialog" !== w.value.dialogType)]]), p(n(u2, { label: "显示位置", class: "amb-design-attr-item" }, { default: g(() => [n(E2, { modelValue: w.value.showPosition, "onUpdate:modelValue": l2[7] || (l2[7] = (e4) => w.value.showPosition = e4), clearable: "", placeholder: "请选择" }, { default: g(() => [(t(), d(i, null, c(R, (e4, l3) => n(N2, { key: l3, label: e4.label, value: e4.value }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[f, ("popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode) && w.value.dialogType && "drawer" === w.value.dialogType]]), p(n(u2, { label: "拖出可视区", title: "拖动范围可以超出可视区", class: "amb-design-attr-item" }, { default: g(() => [n(K, { modelValue: w.value.overflow, "onUpdate:modelValue": l2[8] || (l2[8] = (e4) => w.value.overflow = e4) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, !("popup" != w.value.jumpPageOpenMode && "popup" != w.value.jumpPageMobileOpenMode || w.value.dialogType && "dialog" !== w.value.dialogType)]]), p(n(u2, { label: "弹窗标题", class: "amb-design-attr-item" }, { default: g(() => [n(O, { modelValue: w.value.jumpPageTitle, "onUpdate:modelValue": l2[9] || (l2[9] = (e4) => w.value.jumpPageTitle = e4) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, "popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode]]), p(n(u2, { label: "是否全屏", class: "amb-design-attr-item" }, { default: g(() => [n(K, { modelValue: w.value.fullscreen, "onUpdate:modelValue": l2[10] || (l2[10] = (e4) => w.value.fullscreen = e4), disabled: !("dialog" === w.value.dialogType) }, null, 8, ["modelValue", "disabled"])]), _: 1 }, 512), [[f, "popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode]]), p(n(u2, { label: "是否居中", class: "amb-design-attr-item" }, { default: g(() => [n(K, { modelValue: w.value.alignCenter, "onUpdate:modelValue": l2[11] || (l2[11] = (e4) => w.value.alignCenter = e4), disabled: !("dialog" === w.value.dialogType) }, null, 8, ["modelValue", "disabled"])]), _: 1 }, 512), [[f, "popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode]]), p(n(u2, { label: "弹窗宽度", class: "amb-design-attr-item" }, { default: g(() => [n(U3, { modelValue: w.value.jumpPageWidth, "onUpdate:modelValue": l2[12] || (l2[12] = (e4) => w.value.jumpPageWidth = e4), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, "popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode]]), p(n(u2, { label: "弹窗高度", class: "amb-design-attr-item" }, { default: g(() => [n(U3, { modelValue: w.value.jumpPageHeight, "onUpdate:modelValue": l2[13] || (l2[13] = (e4) => w.value.jumpPageHeight = e4), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, "popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode]]), p(n(u2, { label: "关闭事件", class: "amb-design-attr-item" }, { default: g(() => [n(U3, { modelValue: w.value.closeEvent, "onUpdate:modelValue": l2[14] || (l2[14] = (e4) => w.value.closeEvent = e4), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, "popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode]]), p(n(u2, { label: "关闭后刷新", title: "关闭页面时是否刷新父页面", class: "amb-design-attr-item" }, { default: g(() => [n(K, { modelValue: w.value.isRefreshWhenClosePopup, "onUpdate:modelValue": l2[15] || (l2[15] = (e4) => w.value.isRefreshWhenClosePopup = e4) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, "popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode]]), e3.isButton && e3.showDisplayConditions ? (t(), m(u2, { key: 0, label: "显示判断", class: "amb-design-attr-item" }, { default: g(() => [n(_, { title: "显示判断", list: w.value.buttonDisplayConditionsList, ref_key: "conditionRef", ref: z }, null, 8, ["list"])]), _: 1 })) : s("", true), e3.isButton ? (t(), m(u2, { key: 1, label: "显示文本", class: "amb-design-attr-item" }, { default: g(() => [n(K, { modelValue: w.value.displayTextJudge, "onUpdate:modelValue": l2[16] || (l2[16] = (e4) => w.value.displayTextJudge = e4) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), e3.isButton ? (t(), m(u2, { key: 2, label: "图标", class: "amb-design-attr-item" }, { default: g(() => [n(k, { iconType: w.value.iconType, iconValue: w.value.icon, "onUpdate:modelValue": l2[17] || (l2[17] = (e4, l3) => function(e5, l4) {
52
52
  w.value.iconType = e5, w.value.icon = l4;
53
- }(e4, l3)) }, null, 8, ["iconType", "iconValue"])]), _: 1 })) : s("", true), e3.isButton ? (t(), m(u2, { key: 3, label: "显示值", class: "amb-design-attr-item" }, { default: g(() => [p(_, { isTable: e3.configure.isTable, modelValue: q.value, dataModelOptions: A.value, objModelOptions: x.value, "onUpdate:modelValue": G }, null, 8, ["isTable", "modelValue", "dataModelOptions", "objModelOptions"])]), _: 1 })) : s("", true), (t(true), d(i, null, c(w.value.dynamicTags, (e4, l3) => (t(), m(Q, { key: l3, "disable-transitions": true, closable: "", onClose: (e5) => function(e6, l4) {
53
+ }(e4, l3)) }, null, 8, ["iconType", "iconValue"])]), _: 1 })) : s("", true), e3.isButton ? (t(), m(u2, { key: 3, label: "显示值", class: "amb-design-attr-item" }, { default: g(() => [n(C, { isTable: e3.configure.isTable, modelValue: q.value, dataModelOptions: A.value, objModelOptions: x.value, "onUpdate:modelValue": G }, null, 8, ["isTable", "modelValue", "dataModelOptions", "objModelOptions"])]), _: 1 })) : s("", true), (t(true), d(i, null, c(w.value.dynamicTags, (e4, l3) => (t(), m(Q, { key: l3, "disable-transitions": true, closable: "", onClose: (e5) => function(e6, l4) {
54
54
  w.value.dynamicTags.splice(l4, 1);
55
- }(0, l3) }, { default: g(() => [v(y(e4), 1)]), _: 2 }, 1032, ["onClose"]))), 128)), p(X, null, { default: g(() => l2[22] || (l2[22] = [v("附加参数")])), _: 1 }), e3.isButton ? (t(), m(u2, { key: 4, label: "自动拼接id", class: "amb-design-attr-item" }, { default: g(() => [p(K, { modelValue: w.value.isNeedId, "onUpdate:modelValue": l2[18] || (l2[18] = (e4) => w.value.isNeedId = e4) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), p(T, { data: w.value.jumpPageAdditional, tableConfigure: e3.tableConfigure, onDataChange: J }, null, 8, ["data", "tableConfigure"]), p(P, { linkPage: w.value }, null, 8, ["linkPage"]), p(M, { ref_key: "selectPageDialog", ref: D, onSelectPage: S, systemCode: e3.pageDesign.systemCode, systemVersion: e3.pageDesign.systemVersion }, null, 8, ["systemCode", "systemVersion"])], 64);
55
+ }(0, l3) }, { default: g(() => [v(y(e4), 1)]), _: 2 }, 1032, ["onClose"]))), 128)), n(X, null, { default: g(() => l2[22] || (l2[22] = [v("附加参数")])), _: 1 }), e3.isButton ? (t(), m(u2, { key: 4, label: "自动拼接id", class: "amb-design-attr-item" }, { default: g(() => [n(K, { modelValue: w.value.isNeedId, "onUpdate:modelValue": l2[18] || (l2[18] = (e4) => w.value.isNeedId = e4) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), n(T, { data: w.value.jumpPageAdditional, tableConfigure: e3.tableConfigure, onDataChange: J }, null, 8, ["data", "tableConfigure"]), n(P, { linkPage: w.value }, null, 8, ["linkPage"]), n(M, { ref_key: "selectPageDialog", ref: D, onSelectPage: S, systemCode: e3.pageDesign.systemCode, systemVersion: e3.pageDesign.systemVersion }, null, 8, ["systemCode", "systemVersion"])], 64);
56
56
  };
57
57
  } });
58
58
  export {
@@ -1,7 +1,7 @@
1
- import { defineComponent as e, ref as a, resolveComponent as l, createBlock as t, openBlock as o, withCtx as i, createVNode as s, createElementVNode as u, createTextVNode as r, toDisplayString as d } from "vue";
1
+ import { defineComponent as e, ref as a, resolveComponent as l, createBlock as t, openBlock as o, withCtx as i, createVNode as s, createElementVNode as r, createTextVNode as u, toDisplayString as p } from "vue";
2
2
  import "../../../../utils/assemblys-config.js";
3
3
  import "@element-plus/icons-vue";
4
- import p from "../../common/common-attr-size.vue.js";
4
+ import d from "../../common/common-attr-size.vue.js";
5
5
  /* empty css */
6
6
  import "uuid";
7
7
  import m from "../../common/common-i18n-key-input.vue.js";
@@ -11,8 +11,8 @@ const f = { style: { padding: "8px 0px 0px 0px" } }, g = { style: { padding: "8p
11
11
  } } }, setup(e2) {
12
12
  const v2 = a([]);
13
13
  return (a2, V) => {
14
- const _ = l("el-form-item"), x = l("el-input"), h = l("el-radio"), j = l("el-radio-group"), y = l("el-collapse-item"), U = l("el-checkbox"), w = l("el-collapse"), z = l("el-form");
15
- return o(), t(z, { "label-width": "80px", size: "small" }, { default: i(() => [s(w, { modelValue: v2.value, "onUpdate:modelValue": V[7] || (V[7] = (e3) => v2.value = e3), style: { "margin-top": "6px" } }, { default: i(() => [s(y, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: i(() => [u("div", f, [s(_, { label: "组件类型", class: "amb-design-attr-item" }, { default: i(() => [r(d(e2.configure.label) + "(" + d(e2.configure.name) + ") ", 1)]), _: 1 }), s(_, { label: "组件名", class: "amb-design-attr-item" }, { default: i(() => [s(x, { modelValue: e2.configure.props.base.name, "onUpdate:modelValue": V[0] || (V[0] = (a3) => e2.configure.props.base.name = a3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), s(_, { label: "绑定变量", class: "amb-design-attr-item" }, { default: i(() => [s(x, { modelValue: e2.configure.props.base.prop, "onUpdate:modelValue": V[1] || (V[1] = (a3) => e2.configure.props.base.prop = a3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), s(_, { label: "标题", class: "amb-design-attr-item" }, { default: i(() => [s(m, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V[2] || (V[2] = (a3) => e2.configure.props.base.title = a3) }, null, 8, ["modelValue"])]), _: 1 }), s(_, { label: "标题宽度", class: "amb-design-attr-item" }, { default: i(() => [s(x, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V[3] || (V[3] = (a3) => e2.configure.props.base.titleWidth = a3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), s(_, { label: "标题显示", class: "amb-design-attr-item" }, { default: i(() => [s(j, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V[4] || (V[4] = (a3) => e2.configure.props.base.tittleShow = a3), class: "ml-4" }, { default: i(() => [s(h, { value: false }, { default: i(() => V[8] || (V[8] = [r("隐藏")])), _: 1 }), s(h, { value: true }, { default: i(() => V[9] || (V[9] = [r("显示")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(_, { label: "状态", class: "amb-design-attr-item" }, { default: i(() => [s(j, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V[5] || (V[5] = (a3) => e2.configure.props.base.state = a3), class: "ml-4" }, { default: i(() => [s(h, { value: "default" }, { default: i(() => V[10] || (V[10] = [r("普通")])), _: 1 }), s(h, { value: "disabled" }, { default: i(() => V[11] || (V[11] = [r("禁用")])), _: 1 }), s(h, { value: "hidden" }, { default: i(() => V[12] || (V[12] = [r("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(y, { title: "参数", name: "parameter", class: "amb-design-attr-group-header" }, { default: i(() => [u("div", g, [s(n, { data: e2.configure.props.parameter }, null, 8, ["data"])])]), _: 1 }), s(y, { title: "校验", name: "verification", class: "amb-design-attr-group-header" }, { default: i(() => [u("div", b, [s(_, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [s(U, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V[6] || (V[6] = (a3) => e2.configure.props.verification.required = a3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), s(_, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [s(c, { pageDesign: e2.pageDesign, verification: e2.configure.props.verification }, null, 8, ["pageDesign", "verification"])]), _: 1 })])]), _: 1 }), s(p, { size: e2.configure.props.size }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
14
+ const _ = l("el-form-item"), x = l("el-input"), h = l("el-radio"), U = l("el-radio-group"), j = l("el-collapse-item"), y = l("el-checkbox"), w = l("el-collapse"), z = l("el-form");
15
+ return o(), t(z, { "label-width": "80px", size: "small" }, { default: i(() => [s(w, { modelValue: v2.value, "onUpdate:modelValue": V[8] || (V[8] = (e3) => v2.value = e3), style: { "margin-top": "6px" } }, { default: i(() => [s(j, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: i(() => [r("div", f, [s(_, { label: "组件类型", class: "amb-design-attr-item" }, { default: i(() => [u(p(e2.configure.label) + "(" + p(e2.configure.name) + ") ", 1)]), _: 1 }), s(_, { label: "组件名", class: "amb-design-attr-item" }, { default: i(() => [s(x, { modelValue: e2.configure.props.base.name, "onUpdate:modelValue": V[0] || (V[0] = (a3) => e2.configure.props.base.name = a3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), s(_, { label: "绑定变量", class: "amb-design-attr-item" }, { default: i(() => [s(x, { modelValue: e2.configure.props.base.prop, "onUpdate:modelValue": V[1] || (V[1] = (a3) => e2.configure.props.base.prop = a3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), s(_, { label: "标题", class: "amb-design-attr-item" }, { default: i(() => [s(m, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V[2] || (V[2] = (a3) => e2.configure.props.base.title = a3) }, null, 8, ["modelValue"])]), _: 1 }), s(_, { label: "标题宽度", class: "amb-design-attr-item" }, { default: i(() => [s(x, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V[3] || (V[3] = (a3) => e2.configure.props.base.titleWidth = a3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), s(_, { label: "标题显示", class: "amb-design-attr-item" }, { default: i(() => [s(U, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V[4] || (V[4] = (a3) => e2.configure.props.base.tittleShow = a3), class: "ml-4" }, { default: i(() => [s(h, { value: false }, { default: i(() => V[9] || (V[9] = [u("隐藏")])), _: 1 }), s(h, { value: true }, { default: i(() => V[10] || (V[10] = [u("显示")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(_, { label: "状态", class: "amb-design-attr-item" }, { default: i(() => [s(U, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V[5] || (V[5] = (a3) => e2.configure.props.base.state = a3), class: "ml-4" }, { default: i(() => [s(h, { value: "default" }, { default: i(() => V[11] || (V[11] = [u("普通")])), _: 1 }), s(h, { value: "disabled" }, { default: i(() => V[12] || (V[12] = [u("禁用")])), _: 1 }), s(h, { value: "hidden" }, { default: i(() => V[13] || (V[13] = [u("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(j, { title: "参数", name: "parameter", class: "amb-design-attr-group-header" }, { default: i(() => [r("div", g, [s(n, { data: e2.configure.props.parameter, "onUpdate:data": V[6] || (V[6] = (a3) => e2.configure.props.parameter = a3) }, null, 8, ["data"])])]), _: 1 }), s(j, { title: "校验", name: "verification", class: "amb-design-attr-group-header" }, { default: i(() => [r("div", b, [s(_, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [s(y, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V[7] || (V[7] = (a3) => e2.configure.props.verification.required = a3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), s(_, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [s(c, { pageDesign: e2.pageDesign, verification: e2.configure.props.verification }, null, 8, ["pageDesign", "verification"])]), _: 1 })])]), _: 1 }), s(d, { size: e2.configure.props.size }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
16
16
  };
17
17
  } });
18
18
  export {
@@ -1,12 +1,12 @@
1
- import { defineComponent as e, ref as t, createElementBlock as o, openBlock as r, createVNode as u, createElementVNode as n, unref as a, isRef as s, withDirectives as c, vShow as i } from "vue";
1
+ import { defineComponent as e, ref as t, createElementBlock as o, openBlock as r, createVNode as u, createElementVNode as n, unref as a, isRef as s, withDirectives as i, vShow as c } from "vue";
2
2
  import l from "./custom-attr-base.vue.js";
3
3
  import m from "./custom-attr-style.vue.js";
4
- import f from "../common/attr-header.vue.js";
5
- import p from "./custom-attr-event.vue.js";
6
- import d from "./custom-attr-advanced.vue.js";
7
- const g = { class: "amb-design-attr-content" }, v = { class: "amb-design-attr-list" }, b = e({ __name: "custom-attr", props: { configure: { type: Object, default: () => ({ title: "Text", props: { type: "input-text" } }) } }, setup(e2) {
4
+ import g from "../common/attr-header.vue.js";
5
+ import f from "./custom-attr-event.vue.js";
6
+ import p from "./custom-attr-advanced.vue.js";
7
+ const d = { class: "amb-design-attr-content" }, v = { class: "amb-design-attr-list" }, b = e({ __name: "custom-attr", props: { configure: { type: Object, default: () => ({ title: "Text", props: { type: "input-text" } }) }, pageDesign: { type: Object, default: () => ({}) } }, setup(e2) {
8
8
  let b2 = t("base");
9
- return (t2, j) => (r(), o("div", g, [u(f, { modelValue: a(b2), "onUpdate:modelValue": j[0] || (j[0] = (e3) => s(b2) ? b2.value = e3 : b2 = e3) }, null, 8, ["modelValue"]), n("div", v, [c(u(l, { configure: e2.configure }, null, 8, ["configure"]), [[i, "base" === a(b2)]]), c(u(m, { configure: e2.configure }, null, 8, ["configure"]), [[i, "style" === a(b2)]]), c(u(p, { configure: e2.configure }, null, 8, ["configure"]), [[i, "event" === a(b2)]]), c(u(d, { configure: e2.configure }, null, 8, ["configure"]), [[i, "advanced" == a(b2)]])])]));
9
+ return (t2, j) => (r(), o("div", d, [u(g, { modelValue: a(b2), "onUpdate:modelValue": j[0] || (j[0] = (e3) => s(b2) ? b2.value = e3 : b2 = e3) }, null, 8, ["modelValue"]), n("div", v, [i(u(l, { configure: e2.configure, pageDesign: e2.pageDesign }, null, 8, ["configure", "pageDesign"]), [[c, "base" === a(b2)]]), i(u(m, { configure: e2.configure }, null, 8, ["configure"]), [[c, "style" === a(b2)]]), i(u(f, { configure: e2.configure }, null, 8, ["configure"]), [[c, "event" === a(b2)]]), i(u(p, { configure: e2.configure }, null, 8, ["configure"]), [[c, "advanced" == a(b2)]])])]));
10
10
  } });
11
11
  export {
12
12
  b as default