super-page-designer 2.2.91-sit6 → 2.2.92-sit3

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 (28) hide show
  1. package/dist/es/components/design/utils/assemblys-config.js +1 -1
  2. package/dist/es/components/design/utils/page-design-util.d.ts +3 -1
  3. package/dist/es/components/design/utils/page-design-util.js +23 -22
  4. package/dist/es/components/design/utils/page-table-util.js +14 -12
  5. package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue.js +1 -1
  6. package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue2.js +50 -48
  7. package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +1 -1
  8. package/dist/es/components/design/views/assemblys/container/card/card-design.vue.js +2 -2
  9. package/dist/es/components/design/views/assemblys/container/card/card-design.vue2.js +1 -1
  10. package/dist/es/components/design/views/assemblys/container/collapse/collapse-design.vue2.js +4 -4
  11. package/dist/es/components/design/views/assemblys/container/container/container-design.vue2.js +1 -1
  12. package/dist/es/components/design/views/assemblys/container/flex/flex-design.vue2.js +4 -4
  13. package/dist/es/components/design/views/assemblys/container/form/form-design.vue2.js +6 -6
  14. package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue.js +1 -1
  15. package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue2.js +6 -6
  16. package/dist/es/components/design/views/assemblys/container/tools/tools-design.vue2.js +8 -8
  17. package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +1 -1
  18. package/dist/es/components/design/views/assemblys/data/table/table-design.vue.js +1 -1
  19. package/dist/es/components/design/views/assemblys/data/table/table-design.vue2.js +1 -1
  20. package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +1 -1
  21. package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue.js +2 -26
  22. package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js +26 -2
  23. package/dist/es/components/design/views/design/page-event/config.vue.js +1 -1
  24. package/dist/es/components/design/views/design/view/view-design-display.vue.js +1 -1
  25. package/dist/es/style.css +33 -33
  26. package/package.json +5 -5
  27. /package/dist/es/components/design/views/assemblys/common/{common-variable-bind.vue3.js → common-variable-bind.vue2.js} +0 -0
  28. /package/dist/es/components/design/views/design/page-event/{config.vue3.js → config.vue2.js} +0 -0
@@ -2,91 +2,93 @@ import { defineComponent as e, ref as l, computed as o, resolveComponent as a, r
2
2
  import { Close as k, Check as I, Search as x, Plus as $, InfoFilled as C, CircleClose as A } from "@element-plus/icons-vue";
3
3
  import * as V from "@element-plus/icons";
4
4
  import O from "agilebuilder-ui/src/utils/request";
5
- const U = { key: 0 }, j = { class: "amb-component-popover-left-menu-main" }, z = ["onClick"], P = { key: 1, style: { display: "flex", gap: "10px", "align-items": "center" } }, E = { key: 2 }, L = { key: 3, class: "amb-component-popover-icon-list-scroll", style: { overflow: "auto" } }, S = { class: "amb-component-popover-icon-grid" }, T = ["onClick"], N = { key: 4, style: { "text-align": "right" } }, q = e({ __name: "common-icon-bind", props: { iconType: String, iconValue: String, size: { type: String, default: "small" }, showLabel: { type: Boolean, default: false } }, emits: ["update:modelValue"], setup(e2, { emit: q2 }) {
5
+ const U = { key: 0 }, j = { class: "amb-component-popover-left-menu-main" }, z = ["onClick"], P = { 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" } }, L = { class: "amb-component-popover-icon-grid" }, T = ["onClick"], N = { key: 4, style: { "text-align": "right" } }, q = e({ __name: "common-icon-bind", props: { iconType: String, iconValue: String, size: { type: String, default: "small" }, showLabel: { type: Boolean, default: false } }, emits: ["update:modelValue"], setup(e2, { emit: q2 }) {
6
6
  var _a, _b;
7
- const M = q2, B = e2, R = l([]), D = l([]), F = l([]), G = l([{ value: "ElementUI", label: "ElementUI" }, { value: "ambIcon", label: "Amb图标库" }, { value: "ambColorIcon", label: "Amb彩色图标库", dataList: [] }, { value: "custom", label: "自定义" }]);
7
+ const M = q2, B = e2, R = l([]), D = l([]), F = l([]), G = l([]), H = l([{ value: "ElementUI", label: "ElementUI" }, { value: "ambIcon", label: "Amb图标库" }, { value: "ambColorIcon", label: "Amb彩色图标库", dataList: [] }, { value: "svgIcon", label: "Svg图标库" }, { value: "custom", label: "自定义" }]);
8
8
  l(false);
9
- const H = l(1), J = l(B.iconType ?? ((_b = (_a = G.value) == null ? void 0 : _a[0]) == null ? void 0 : _b.value)), K = l("");
10
- K.value = B.iconValue;
11
- const Q = l({}), W = l(""), X = l(), Y = l(false), Z = o(() => ["ElementUI"].includes(J.value) ? R.value : ["ambIcon"].includes(J.value) ? D.value : F.value), ee = o(() => {
12
- let e3 = Z.value ?? [];
13
- return W.value && (e3 = e3.filter((e4) => [e4.label ?? "", e4.value ?? ""].some((e5) => {
9
+ const J = l(1), K = l(B.iconType ?? ((_b = (_a = H.value) == null ? void 0 : _a[0]) == null ? void 0 : _b.value)), Q = l("");
10
+ Q.value = B.iconValue;
11
+ const W = l({}), X = l(""), Y = l(), Z = l(false), ee = o(() => ["ElementUI"].includes(K.value) ? R.value : ["ambIcon"].includes(K.value) ? D.value : ["ambColorIcon"].includes(K.value) ? F.value : G.value), le = o(() => {
12
+ let e3 = ee.value ?? [];
13
+ return X.value && (e3 = e3.filter((e4) => [e4.label ?? "", e4.value ?? ""].some((e5) => {
14
14
  var _a2;
15
- return (_a2 = e5.toLowerCase()) == null ? void 0 : _a2.includes(W.value.toLowerCase());
16
- }))), e3.slice(0, 50 * H.value);
17
- }), le = () => {
18
- ee.value.length > 0 && !Y.value && Z.value.length > ee.value.length && !W.value && H.value++;
15
+ return (_a2 = e5.toLowerCase()) == null ? void 0 : _a2.includes(X.value.toLowerCase());
16
+ }))), e3.slice(0, 50 * J.value);
17
+ }), oe = () => {
18
+ le.value.length > 0 && !Z.value && ee.value.length > le.value.length && !X.value && J.value++;
19
19
  };
20
- const oe = async () => {
21
- if (!(F.value.length > 0)) {
20
+ const ae = async () => {
21
+ if (!(G.value.length > 0)) {
22
22
  try {
23
- Y.value = true;
23
+ Z.value = true;
24
24
  const e3 = await O.post(window.$vueApp.config.globalProperties.baseAPI + "/component/general-icon/query", { pageSize: 200, pageNo: 1 }), l2 = (e3 == null ? void 0 : e3.data) ?? [], o2 = [];
25
25
  for (let e4 of l2) o2.push({ value: e4.iconName, label: e4.iconName });
26
- Q.value.customOptions = o2, F.value = o2;
26
+ W.value.customOptions = o2, G.value = o2;
27
27
  } catch (e3) {
28
28
  }
29
- Y.value = false;
29
+ Z.value = false;
30
30
  }
31
31
  };
32
- function ae(e3) {
32
+ function ne(e3) {
33
33
  var l2;
34
- H.value = 1, J.value = e3, "ElementUI" === (l2 = J.value) ? R.value = Q.value.elementUIOptions : "custom" === l2 ? oe() : ["ambIcon"].includes(l2) ? (async () => {
34
+ J.value = 1, K.value = e3, "ElementUI" === (l2 = K.value) ? R.value = W.value.elementUIOptions : "custom" === l2 ? ae() : ["ambIcon"].includes(l2) ? (async () => {
35
35
  var _a2, _b2, _c;
36
36
  if (!(D.value.length > 0)) {
37
37
  try {
38
- Y.value = true;
38
+ Z.value = true;
39
39
  let e4 = `${window.location.origin}${window.location.pathname}font-icon/iconfont.json`;
40
40
  ((_c = (_b2 = (_a2 = window.$vueApp) == null ? void 0 : _a2.config) == null ? void 0 : _b2.globalProperties) == null ? void 0 : _c.fontIconAddress) && (e4 = `${window.$vueApp.config.globalProperties.fontIconAddress}/iconfont.json`);
41
41
  const l3 = await fetch(e4, { mode: "cors" }).then((e5) => e5.json()), { css_prefix_text: o2, glyphs: a2 = [] } = l3 ?? {};
42
42
  D.value = a2.map((e5) => ({ label: e5.name, value: `${o2}${e5.font_class}` }));
43
43
  } catch (e4) {
44
44
  }
45
- Y.value = false;
45
+ Z.value = false;
46
46
  }
47
47
  })() : ["ambColorIcon"].includes(l2) && async function() {
48
48
  var _a2, _b2, _c;
49
- try {
50
- Y.value = true;
51
- let e4 = `${window.location.origin}${window.location.pathname}font-icon/iconfont.json`;
52
- ((_c = (_b2 = (_a2 = window.$vueApp) == null ? void 0 : _a2.config) == null ? void 0 : _b2.globalProperties) == null ? void 0 : _c.fontIconAddress) && (e4 = `${window.$vueApp.config.globalProperties.fontIconAddress}-color/iconfont.json`);
53
- 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;
54
- G.value[G.value.findIndex((e5) => "ambColorIcon" === e5.value)].dataList = a2.map((e5) => ({ label: e5.name, value: `${o2}${e5.font_class}` }));
55
- } catch (e4) {
49
+ if (!(F.value.length > 0)) {
50
+ try {
51
+ Z.value = true;
52
+ let e4 = `${window.location.origin}${window.location.pathname}font-icon/iconfont.json`;
53
+ ((_c = (_b2 = (_a2 = window.$vueApp) == null ? void 0 : _a2.config) == null ? void 0 : _b2.globalProperties) == null ? void 0 : _c.fontIconAddress) && (e4 = `${window.$vueApp.config.globalProperties.fontIconAddress}-color/iconfont.json`);
54
+ const l3 = await fetch(e4, { mode: "cors", headers: { "Content-Type": "application/json" } }).then((e5) => e5.json()), { css_prefix_text: o2, glyphs: a2 = [] } = l3 ?? {};
55
+ F.value = a2.map((e5) => ({ label: e5.name, value: `${o2}${e5.font_class}` }));
56
+ } catch (e4) {
57
+ }
58
+ Z.value = false;
56
59
  }
57
- Y.value = false;
58
60
  }();
59
61
  }
60
- function ne() {
61
- var _a2, _b2;
62
- (_b2 = (_a2 = X.value) == null ? void 0 : _a2.hide) == null ? void 0 : _b2.call(_a2);
63
- }
64
62
  function te() {
65
- K.value = "", M("update:modelValue", "", ""), X.value.hide();
63
+ var _a2, _b2;
64
+ (_b2 = (_a2 = Y.value) == null ? void 0 : _a2.hide) == null ? void 0 : _b2.call(_a2);
66
65
  }
67
66
  function ue() {
68
- if (W.value = W.value.trim(), !W.value) return void ElMessage.warning("请输入图标名!");
69
- const e3 = Q.value.customOptions || [];
67
+ Q.value = "", M("update:modelValue", "", ""), Y.value.hide();
68
+ }
69
+ function ie() {
70
+ if (X.value = X.value.trim(), !X.value) return void ElMessage.warning("请输入图标名!");
71
+ const e3 = W.value.customOptions || [];
70
72
  let l2 = false;
71
- for (let o3 of e3) if (o3.value === W.value) {
73
+ for (let o3 of e3) if (o3.value === X.value) {
72
74
  l2 = true;
73
75
  break;
74
76
  }
75
- J.value = "custom", K.value = W.value;
76
- const o2 = W.value;
77
- if (W.value = "", M("update:modelValue", J.value, K.value), X.value.hide(), !l2) {
77
+ K.value = "custom", Q.value = X.value;
78
+ const o2 = X.value;
79
+ if (X.value = "", M("update:modelValue", K.value, Q.value), Y.value.hide(), !l2) {
78
80
  const e4 = { iconName: o2 };
79
81
  O.post(window.$vueApp.config.globalProperties.baseAPI + "/bs/general-icon/get-or-create", e4).then((e5) => {
80
- "custom" == J.value && oe();
82
+ "custom" == K.value && ae();
81
83
  }).catch((e5) => {
82
84
  ElMessage.warning("保存图标失败!");
83
85
  });
84
86
  }
85
87
  }
86
- function ie() {
88
+ function ce() {
87
89
  _(() => {
88
90
  !function() {
89
- if (!Q.value.elementUIOptions) {
91
+ if (!W.value.elementUIOptions) {
90
92
  if (!window.temp_Icon_Options) {
91
93
  const e3 = [];
92
94
  for (const [l2, o2] of Object.entries(V)) e3.push({ value: l2, label: l2, component: o2 });
@@ -95,17 +97,17 @@ const U = { key: 0 }, j = { class: "amb-component-popover-left-menu-main" }, z =
95
97
  return o2.localeCompare(a2);
96
98
  }), window.temp_Icon_Options = e3;
97
99
  }
98
- Q.value.elementUIOptions = window.temp_Icon_Options;
100
+ W.value.elementUIOptions = window.temp_Icon_Options;
99
101
  }
100
- }(), ae(J.value);
102
+ }(), ne(K.value);
101
103
  });
102
104
  }
103
105
  return l(), (l2, o2) => {
104
- const _2 = a("el-icon"), V2 = a("el-input"), O2 = a("el-button"), q3 = a("el-tooltip"), B2 = a("el-scrollbar"), R2 = a("el-col"), D2 = a("el-empty"), F2 = a("el-tag"), H2 = a("SuperIcon"), Q2 = a("el-row"), oe2 = a("el-popover"), ce = n("infinite-scroll"), se = n("loading");
105
- return e2.showLabel ? (i(), t("span", U, c(K.value), 1)) : (i(), u(oe2, { key: 1, ref_key: "popoverRef", ref: X, "popper-class": "amb-component-popover-main", trigger: "click", width: 540 }, { reference: s(() => [v(V2, { readonly: "", size: e2.size, onClick: ie, modelValue: K.value, "onUpdate:modelValue": o2[0] || (o2[0] = (e3) => K.value = e3), placeholder: "请选择" }, { suffix: s(() => [p(v(_2, { style: { cursor: "pointer" }, onClick: h(te, ["stop"]) }, { default: s(() => [v(r(A))]), _: 1 }, 512), [[b, K.value]])]), _: 1 }, 8, ["size", "modelValue"])]), default: s(() => [v(Q2, null, { default: s(() => [v(q3, { effect: "dark", content: "关闭", placement: "top-end" }, { default: s(() => [v(O2, { type: "text", class: "amb-component-popover-close-btn", icon: r(k), onClick: ne }, null, 8, ["icon"])]), _: 1 }), v(R2, { span: 8 }, { default: s(() => [m("div", j, [v(B2, { "max-height": "100%" }, { default: s(() => [(i(true), t(d, null, f(G.value, (e3) => (i(), t("div", { class: g(["amb-popover-menu-item", e3.value == J.value ? "is-active" : ""]), onClick: (l3) => ae(e3.value) }, [v(_2, null, { default: s(() => [p(v(r(I), null, null, 512), [[b, e3.value == J.value]])]), _: 2 }, 1024), m("span", null, c(e3.label), 1)], 10, z))), 256))]), _: 1 })])]), _: 1 }), p((i(), u(R2, { span: 16, style: { "padding-left": "10px" }, class: "amb-component-popover-icon-list-view" }, { default: s(() => [J.value ? y("", true) : (i(), u(D2, { key: 0, description: "请选择类型", "image-size": 80 })), J.value ? (i(), t("div", P, [v(V2, { modelValue: W.value, "onUpdate:modelValue": o2[1] || (o2[1] = (e3) => W.value = e3), placeholder: "搜索", size: "default", "prefix-icon": r(x), clearable: "", style: { flex: "1 1 auto" } }, null, 8, ["modelValue", "prefix-icon"]), ["custom"].includes(J.value) && W.value && !ee.value.length ? (i(), u(q3, { key: 0, effect: "dark", content: "创建该图标", placement: "top-end" }, { default: s(() => [v(O2, { type: "primary", circle: "", icon: r($), onClick: ue }, null, 8, ["icon"])]), _: 1 })) : y("", true)])) : y("", true), ["custom"].includes(J.value) ? (i(), t("div", E, [v(_2, null, { default: s(() => [v(r(C))]), _: 1 }), o2[4] || (o2[4] = m("span", { style: { "margin-left": "5px" } }, "输入图标名后点击加号按钮添加", -1)), o2[5] || (o2[5] = w("   ")), v(q3, null, { content: s(() => o2[2] || (o2[2] = [w(" 1.支持fa图标,图标名称详见官网:https://fontawesome.com.cn/v4/icons-ui/; "), m("br", null, null, -1), w(" 2.支持svg图标,需以svg-开头,接svg内容,如:svg-xxxxxx. ")])), default: s(() => [v(F2, { type: "primary" }, { default: s(() => o2[3] || (o2[3] = [w("更多")])), _: 1 })]), _: 1 })])) : y("", true), J.value ? p((i(), t("div", L, [ee.value.length || Y.value ? y("", true) : (i(), u(D2, { key: 0, description: "没有相关图标", "image-size": 80 })), m("div", S, [(i(true), t(d, null, f(ee.value, (e3) => (i(), u(q3, { key: e3.value, effect: "dark", content: e3.label, placement: "top" }, { default: s(() => [m("div", { class: "amb-component-popover-icon-grid-item", onClick: (l3) => {
106
- return o3 = e3, K.value = o3.value, M("update:modelValue", J.value, K.value), void X.value.hide();
106
+ const _2 = a("el-icon"), V2 = a("el-input"), O2 = a("el-button"), q3 = a("el-tooltip"), B2 = a("el-scrollbar"), R2 = a("el-col"), D2 = a("el-empty"), F2 = a("el-tag"), G2 = a("SuperIcon"), J2 = a("el-row"), W2 = a("el-popover"), ae2 = n("infinite-scroll"), se = n("loading");
107
+ return e2.showLabel ? (i(), t("span", U, c(Q.value), 1)) : (i(), u(W2, { key: 1, ref_key: "popoverRef", ref: Y, "popper-class": "amb-component-popover-main", trigger: "click", width: 540 }, { reference: s(() => [v(V2, { readonly: "", size: e2.size, onClick: ce, modelValue: Q.value, "onUpdate:modelValue": o2[0] || (o2[0] = (e3) => Q.value = e3), placeholder: "请选择" }, { suffix: s(() => [p(v(_2, { style: { cursor: "pointer" }, onClick: h(ue, ["stop"]) }, { default: s(() => [v(r(A))]), _: 1 }, 512), [[b, Q.value]])]), _: 1 }, 8, ["size", "modelValue"])]), default: s(() => [v(J2, null, { default: s(() => [v(q3, { effect: "dark", content: "关闭", placement: "top-end" }, { default: s(() => [v(O2, { type: "text", class: "amb-component-popover-close-btn", icon: r(k), onClick: te }, null, 8, ["icon"])]), _: 1 }), v(R2, { span: 8 }, { default: s(() => [m("div", j, [v(B2, { "max-height": "100%" }, { default: s(() => [(i(true), t(d, null, f(H.value, (e3) => (i(), t("div", { class: g(["amb-popover-menu-item", e3.value == K.value ? "is-active" : ""]), onClick: (l3) => ne(e3.value) }, [v(_2, null, { default: s(() => [p(v(r(I), null, null, 512), [[b, e3.value == K.value]])]), _: 2 }, 1024), m("span", null, c(e3.label), 1)], 10, z))), 256))]), _: 1 })])]), _: 1 }), p((i(), u(R2, { span: 16, style: { "padding-left": "10px" }, class: "amb-component-popover-icon-list-view" }, { default: s(() => [K.value ? y("", true) : (i(), u(D2, { key: 0, description: "请选择类型", "image-size": 80 })), K.value ? (i(), t("div", P, [v(V2, { modelValue: X.value, "onUpdate:modelValue": o2[1] || (o2[1] = (e3) => X.value = e3), placeholder: "搜索", size: "default", "prefix-icon": r(x), clearable: "", style: { flex: "1 1 auto" } }, null, 8, ["modelValue", "prefix-icon"]), ["custom"].includes(K.value) && X.value && !le.value.length ? (i(), u(q3, { key: 0, effect: "dark", content: "创建该图标", placement: "top-end" }, { default: s(() => [v(O2, { type: "primary", circle: "", icon: r($), onClick: ie }, null, 8, ["icon"])]), _: 1 })) : y("", true)])) : y("", true), ["custom"].includes(K.value) ? (i(), t("div", E, [v(_2, null, { default: s(() => [v(r(C))]), _: 1 }), o2[4] || (o2[4] = m("span", { style: { "margin-left": "5px" } }, "输入图标名后点击加号按钮添加", -1)), o2[5] || (o2[5] = w("   ")), v(q3, null, { content: s(() => o2[2] || (o2[2] = [w(" 1.支持fa图标,图标名称详见官网:https://fontawesome.com.cn/v4/icons-ui/; "), m("br", null, null, -1), w(" 2.支持svg图标,需以svg-img-开头,接svg内容,如:svg-img-xxxxxx. ")])), default: s(() => [v(F2, { type: "primary" }, { default: s(() => o2[3] || (o2[3] = [w("更多")])), _: 1 })]), _: 1 })])) : y("", true), K.value ? p((i(), t("div", S, [le.value.length || Z.value ? y("", true) : (i(), u(D2, { key: 0, description: "没有相关图标", "image-size": 80 })), m("div", L, [(i(true), t(d, null, f(le.value, (e3) => (i(), u(q3, { key: e3.value, effect: "dark", content: e3.label, placement: "top" }, { default: s(() => [m("div", { class: "amb-component-popover-icon-grid-item", onClick: (l3) => {
108
+ return o3 = e3, Q.value = o3.value, M("update:modelValue", K.value, Q.value), void Y.value.hide();
107
109
  var o3;
108
- } }, [v(H2, { iconType: J.value, iconValue: e3.value }, null, 8, ["iconType", "iconValue"])], 8, T)]), _: 2 }, 1032, ["content"]))), 128))])])), [[ce, le]]) : y("", true), J.value ? (i(), t("div", N, c(ee.value.length) + " / " + c(Z.value.length), 1)) : y("", true)]), _: 1 })), [[se, Y.value]])]), _: 1 })]), _: 1 }, 512));
110
+ } }, [v(G2, { iconType: K.value, iconValue: e3.value }, null, 8, ["iconType", "iconValue"])], 8, T)]), _: 2 }, 1032, ["content"]))), 128))])])), [[ae2, oe]]) : y("", true), K.value ? (i(), t("div", N, c(le.value.length) + " / " + c(ee.value.length), 1)) : y("", true)]), _: 1 })), [[se, Z.value]])]), _: 1 })]), _: 1 }, 512));
109
111
  };
110
112
  } });
111
113
  export {
@@ -1,4 +1,4 @@
1
- import o from "./common-variable-bind.vue3.js";
1
+ import o from "./common-variable-bind.vue2.js";
2
2
  /* empty css */
3
3
  import e from "../../../../../_virtual/_plugin-vue_export-helper.js";
4
4
  const r = e(o, [["__scopeId", "data-v-3324003e"]]);
@@ -1,7 +1,7 @@
1
1
  import e from "./card-design.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const a = r(e, [["__scopeId", "data-v-65a008af"]]);
4
+ const o = r(e, [["__scopeId", "data-v-231a66cb"]]);
5
5
  export {
6
- a as default
6
+ o as default
7
7
  };
@@ -44,7 +44,7 @@ const T = e({ __name: "card-design", props: { pageDesign: {}, configure: {}, ind
44
44
  const n2 = i2.indexOf(e3);
45
45
  if (n2 > -1) {
46
46
  const t2 = v(S(e3));
47
- t2.uuid = k(), D(t2), i2.splice(n2, 0, t2);
47
+ t2.uuid = k(), D(t2, V.pageDesign), i2.splice(n2, 0, t2);
48
48
  }
49
49
  }
50
50
  function N(e3) {
@@ -3,9 +3,9 @@ import { VueDraggable as x } from "vue-draggable-plus";
3
3
  import O from "../../object-design.vue.js";
4
4
  import { SuperIcon as V } from "agilebuilder-ui";
5
5
  import { deepCopy as j, getUuidv4 as W } from "../../../../utils/common-util.js";
6
- import { caculateComponentStyle as _ } from "../../../../utils/container-design-util.js";
6
+ import { caculateComponentStyle as D } from "../../../../utils/container-design-util.js";
7
7
  import "element-plus";
8
- import { copyHandleEvents as D, deleteDesignItem as k } from "../../../../utils/page-design-util.js";
8
+ import { copyHandleEvents as _, deleteDesignItem as k } from "../../../../utils/page-design-util.js";
9
9
  const C = e({ __name: "collapse-design", props: { pageDesign: {}, configure: {}, indexObj: {}, selectWidget: {} }, emits: ["onSelectWidget", "onCustomAttrWidget"], setup(e2, { emit: C2 }) {
10
10
  const S = e2;
11
11
  S.configure.items || (S.configure.items = [{ label: "Panel", index: 1, items: [] }, { label: "Panel", items: [], index: 2 }]);
@@ -17,7 +17,7 @@ const C = e({ __name: "collapse-design", props: { pageDesign: {}, configure: {},
17
17
  });
18
18
  const P = l(() => [...S.configure.items]);
19
19
  function w() {
20
- _(S.configure, A, U, E), S.configure.runtime.style = A.value, S.configure.runtime.class = U.value, S.configure.runtime.headerStyle = E.value;
20
+ D(S.configure, A, U, E), S.configure.runtime.style = A.value, S.configure.runtime.class = U.value, S.configure.runtime.headerStyle = E.value;
21
21
  }
22
22
  i(P, (e3, t2) => {
23
23
  e3.forEach((e4) => {
@@ -42,7 +42,7 @@ const C = e({ __name: "collapse-design", props: { pageDesign: {}, configure: {},
42
42
  const i3 = l2.items.indexOf(e3);
43
43
  if (i3 > -1) {
44
44
  const t4 = h(j(e3));
45
- return t4.uuid = W(), D(t4), void l2.items.splice(i3, 0, t4);
45
+ return t4.uuid = W(), _(t4, S.pageDesign), void l2.items.splice(i3, 0, t4);
46
46
  }
47
47
  }
48
48
  }
@@ -49,7 +49,7 @@ const j = e({ __name: "container-design", props: { pageDesign: {}, configure: {}
49
49
  const n2 = i2.indexOf(e3);
50
50
  if (-1 == n2) return void alert("无可复制对象!");
51
51
  const l2 = h(W(e3));
52
- l2.uuid = y(), A(l2), i2.splice(n2, 0, l2);
52
+ l2.uuid = y(), A(l2, D.pageDesign), i2.splice(n2, 0, l2);
53
53
  }
54
54
  function H(e3) {
55
55
  K(e3, "left");
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as t, watch as i, computed as n, resolveComponent as o, createBlock as l, openBlock as s, normalizeClass as u, normalizeStyle as r, withCtx as g, createElementBlock as f, Fragment as c, renderList as m, reactive as a } from "vue";
1
+ import { defineComponent as e, ref as t, watch as i, computed as n, resolveComponent as o, createBlock as l, openBlock as s, normalizeClass as u, normalizeStyle as r, withCtx as g, createElementBlock as f, Fragment as c, renderList as a, reactive as m } from "vue";
2
2
  import { useDraggable as p } from "vue-draggable-plus";
3
3
  import d from "../../object-design.vue.js";
4
4
  import { deepCopy as x, getUuidv4 as b } from "../../../../utils/common-util.js";
@@ -46,8 +46,8 @@ const O = e({ __name: "flex-design", props: { pageDesign: {}, configure: {}, ind
46
46
  let t2 = W.configure.items;
47
47
  const i2 = t2.indexOf(e3);
48
48
  if (-1 == i2) return void alert("无可复制对象!");
49
- const n2 = a(x(e3));
50
- n2.uuid = b(), y(n2), t2.splice(i2, 0, n2);
49
+ const n2 = m(x(e3));
50
+ n2.uuid = b(), y(n2, W.pageDesign), t2.splice(i2, 0, n2);
51
51
  }
52
52
  function w(e3) {
53
53
  let t2 = W.configure.items;
@@ -55,7 +55,7 @@ const O = e({ __name: "flex-design", props: { pageDesign: {}, configure: {}, ind
55
55
  }
56
56
  return (e3, t2) => {
57
57
  const i2 = o("el-row");
58
- return s(), l(i2, { title: "flex", ref_key: "ambDragParent", ref: k, style: r([{ "min-height": "40px", "padding-bottom": "20px" }, h.value]), justify: _.value.flexJustify, align: _.value.alignItems, class: u([D.value, "amb-design-item-default"]) }, { default: g(() => [(s(true), f(c, null, m(e3.configure.items, (t3, i3) => (s(), l(d, { key: t3, pageDesign: e3.pageDesign, configure: t3, selectWidget: e3.selectWidget, indexObj: e3.indexObj, onOnSelectWidget: F, onOnCustomAttrWidget: G, onOnCopy: S, onOnDelete: w }, null, 8, ["pageDesign", "configure", "selectWidget", "indexObj"]))), 128))]), _: 1 }, 8, ["justify", "align", "style", "class"]);
58
+ return s(), l(i2, { title: "flex", ref_key: "ambDragParent", ref: k, style: r([{ "min-height": "40px", "padding-bottom": "20px" }, h.value]), justify: _.value.flexJustify, align: _.value.alignItems, class: u([D.value, "amb-design-item-default"]) }, { default: g(() => [(s(true), f(c, null, a(e3.configure.items, (t3, i3) => (s(), l(d, { key: t3, pageDesign: e3.pageDesign, configure: t3, selectWidget: e3.selectWidget, indexObj: e3.indexObj, onOnSelectWidget: F, onOnCustomAttrWidget: G, onOnCopy: S, onOnDelete: w }, null, 8, ["pageDesign", "configure", "selectWidget", "indexObj"]))), 128))]), _: 1 }, 8, ["justify", "align", "style", "class"]);
59
59
  };
60
60
  } });
61
61
  export {
@@ -1,11 +1,11 @@
1
- import { defineComponent as e, ref as t, watch as i, computed as n, resolveComponent as o, createElementBlock as l, openBlock as s, createVNode as r, normalizeClass as u, normalizeStyle as c, withCtx as g, createCommentVNode as f, toDisplayString as a, Fragment as m, renderList as p, createBlock as d, reactive as b } from "vue";
1
+ import { defineComponent as e, ref as t, watch as i, computed as n, resolveComponent as o, createElementBlock as l, openBlock as s, createVNode as r, normalizeClass as u, normalizeStyle as c, withCtx as g, createCommentVNode as a, toDisplayString as f, Fragment as m, renderList as p, createBlock as d, reactive as b } from "vue";
2
2
  import { useDraggable as v } from "vue-draggable-plus";
3
3
  import y from "../../object-design.vue.js";
4
4
  import { deepCopy as O, getUuidv4 as h } from "../../../../utils/common-util.js";
5
5
  import { caculateComponentStyle as j } from "../../../../utils/container-design-util.js";
6
6
  import "element-plus";
7
7
  import { copyHandleEvents as W, deleteDesignItem as x } from "../../../../utils/page-design-util.js";
8
- const S = { class: "amb-design-item-default" }, D = e({ __name: "form-design", props: { pageDesign: {}, configure: {}, indexObj: {}, selectWidget: {} }, emits: ["onSelectWidget", "onCustomAttrWidget"], setup(e2, { emit: D2 }) {
8
+ const D = { class: "amb-design-item-default" }, S = e({ __name: "form-design", props: { pageDesign: {}, configure: {}, indexObj: {}, selectWidget: {} }, emits: ["onSelectWidget", "onCustomAttrWidget"], setup(e2, { emit: S2 }) {
9
9
  const _ = e2;
10
10
  _.configure.items || (_.configure.items = []), null == _.configure.props && (_.configure.props = {}), _.configure.runtime || (_.configure.runtime = {});
11
11
  const C = _.configure.default ? _.configure.default : {}, k = t({});
@@ -44,7 +44,7 @@ const S = { class: "amb-design-item-default" }, D = e({ __name: "form-design", p
44
44
  N(), i(_.configure.style, () => {
45
45
  N();
46
46
  });
47
- const P = t(null), { start: q } = v(P, _.configure.items, { filter: ".el-scrollbar__bar", preventOnFilter: false, group: { name: "amb-assembly-item" }, animation: 300, ghostClass: "amb-item-ghost", forceFallback: true }), B = D2;
47
+ const P = t(null), { start: q } = v(P, _.configure.items, { filter: ".el-scrollbar__bar", preventOnFilter: false, group: { name: "amb-assembly-item" }, animation: 300, ghostClass: "amb-item-ghost", forceFallback: true }), B = S2;
48
48
  function E(e3, t2) {
49
49
  B("onSelectWidget", e3, t2);
50
50
  }
@@ -55,7 +55,7 @@ const S = { class: "amb-design-item-default" }, D = e({ __name: "form-design", p
55
55
  const t2 = _.configure.items.indexOf(e3);
56
56
  if (-1 == t2) return void alert("无可复制对象!");
57
57
  const i2 = b(O(e3));
58
- i2.uuid = h(), W(i2), _.configure.items.splice(t2, 0, i2);
58
+ i2.uuid = h(), W(i2, _.pageDesign), _.configure.items.splice(t2, 0, i2);
59
59
  }
60
60
  function I(e3) {
61
61
  const t2 = _.configure.items;
@@ -63,9 +63,9 @@ const S = { class: "amb-design-item-default" }, D = e({ __name: "form-design", p
63
63
  }
64
64
  return (e3, t2) => {
65
65
  const i2 = o("el-form");
66
- return s(), l("div", S, [r(i2, { ref_key: "ambDragParent", ref: P, "label-width": k.value.labelWidth, "label-position": k.value.labelPosition, size: k.value.componentSize, style: c([z.value, { "padding-bottom": "40px" }]), class: u(A.value) }, { default: g(() => [k.value.formTitle ? (s(), l("div", { key: 0, class: "amb-widget-form-title", style: c(F.value) }, a(k.value.formTitle), 5)) : f("", true), (s(true), l(m, null, p(e3.configure.items, (t3, i3) => (s(), d(y, { key: t3, pageDesign: e3.pageDesign, configure: t3, selectWidget: e3.selectWidget, indexObj: e3.indexObj, onOnSelectWidget: E, onOnCustomAttrWidget: G, onOnCopy: H, onOnDelete: I }, null, 8, ["pageDesign", "configure", "selectWidget", "indexObj"]))), 128))]), _: 1 }, 8, ["label-width", "label-position", "size", "style", "class"])]);
66
+ return s(), l("div", D, [r(i2, { ref_key: "ambDragParent", ref: P, "label-width": k.value.labelWidth, "label-position": k.value.labelPosition, size: k.value.componentSize, style: c([z.value, { "padding-bottom": "40px" }]), class: u(A.value) }, { default: g(() => [k.value.formTitle ? (s(), l("div", { key: 0, class: "amb-widget-form-title", style: c(F.value) }, f(k.value.formTitle), 5)) : a("", true), (s(true), l(m, null, p(e3.configure.items, (t3, i3) => (s(), d(y, { key: t3, pageDesign: e3.pageDesign, configure: t3, selectWidget: e3.selectWidget, indexObj: e3.indexObj, onOnSelectWidget: E, onOnCustomAttrWidget: G, onOnCopy: H, onOnDelete: I }, null, 8, ["pageDesign", "configure", "selectWidget", "indexObj"]))), 128))]), _: 1 }, 8, ["label-width", "label-position", "size", "style", "class"])]);
67
67
  };
68
68
  } });
69
69
  export {
70
- D as default
70
+ S as default
71
71
  };
@@ -1,7 +1,7 @@
1
1
  import e from "./tabs-design.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const s = t(e, [["__scopeId", "data-v-f64cf23d"]]);
4
+ const s = t(e, [["__scopeId", "data-v-626f9a46"]]);
5
5
  export {
6
6
  s as default
7
7
  };
@@ -5,8 +5,8 @@ import { VueDraggable as O } from "vue-draggable-plus";
5
5
  import V from "../../object-design.vue.js";
6
6
  import { deepCopy as W, getUuidv4 as j } from "../../../../utils/common-util.js";
7
7
  import { caculateComponentStyle as h } from "../../../../utils/container-design-util.js";
8
- import { copyHandleEvents as T, deleteDesignItem as _ } from "../../../../utils/page-design-util.js";
9
- const D = e({ __name: "tabs-design", props: { pageDesign: {}, configure: {}, indexObj: {}, selectWidget: {} }, emits: ["onSelectWidget", "onCustomAttrWidget"], setup(e2, { emit: D2 }) {
8
+ import { copyHandleEvents as D, deleteDesignItem as T } from "../../../../utils/page-design-util.js";
9
+ const _ = e({ __name: "tabs-design", props: { pageDesign: {}, configure: {}, indexObj: {}, selectWidget: {} }, emits: ["onSelectWidget", "onCustomAttrWidget"], setup(e2, { emit: _2 }) {
10
10
  const k = e2;
11
11
  k.configure.items || (k.configure.items = [{ label: "Tab1", index: 1, items: [] }, { label: "Tab2", index: 2, items: [] }]);
12
12
  const C = t(1);
@@ -18,7 +18,7 @@ const D = e({ __name: "tabs-design", props: { pageDesign: {}, configure: {}, ind
18
18
  U(), i(k.configure.style, () => {
19
19
  U();
20
20
  });
21
- const w = D2;
21
+ const w = _2;
22
22
  function F(e3, t2) {
23
23
  w("onSelectWidget", e3, t2);
24
24
  }
@@ -33,16 +33,16 @@ const D = e({ __name: "tabs-design", props: { pageDesign: {}, configure: {}, ind
33
33
  const t4 = n2.items.indexOf(e3);
34
34
  if (t4 > -1) {
35
35
  const i3 = b(W(e3));
36
- return i3.uuid = j(), T(i3), void n2.items.splice(t4, 0, i3);
36
+ return i3.uuid = j(), D(i3, k.pageDesign), void n2.items.splice(t4, 0, i3);
37
37
  }
38
38
  }
39
39
  }
40
40
  }
41
41
  return (e3, t2) => (l(), n(o(y), { modelValue: C.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => C.value = e4), type: e3.configure.props.cardType, "tab-position": e3.configure.props.tabPosition, class: a(["amb-design-item-default runtime-page-container-tabs-view", z.value]), style: s(S.value) }, { default: u(() => [(l(true), r(m, null, c(e3.configure.items, (t3, i2) => (l(), n(o(v), { key: i2, label: t3.label, name: t3.index, lazy: !!e3.configure.props.lazy }, { label: u(() => [t3.iconType && t3.iconValue ? (l(), n(o(x), { key: 0, iconType: t3.iconType, iconValue: t3.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : d("", true), p("span", { style: s(A.value) }, f(t3.label), 5)]), default: u(() => [g(o(O), { tag: "div", class: "amb-design-item-default", style: { "padding-bottom": "40px" }, group: "amb-assembly-item", "force-fallback": true, modelValue: t3.items, "onUpdate:modelValue": (e4) => t3.items = e4, sort: true, filter: ".el-scrollbar__bar", preventOnFilter: false, animation: 300, "ghost-class": "amb-item-ghost", fallbackClass: true }, { default: u(() => [(l(true), r(m, null, c(t3.items, (i3, o2) => (l(), n(V, { key: i3, pageDesign: e3.pageDesign, configure: i3, selectWidget: e3.selectWidget, indexObj: e3.indexObj, onOnSelectWidget: F, onOnCustomAttrWidget: P, onOnCopy: q, onOnDelete: (e4) => function(e5, t4) {
42
42
  const i4 = e5.items;
43
- _(i4, t4, t4.items && t4.items.length > 0, true);
43
+ T(i4, t4, t4.items && t4.items.length > 0, true);
44
44
  }(t3, e4) }, null, 8, ["pageDesign", "configure", "selectWidget", "indexObj", "onOnDelete"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1032, ["label", "name", "lazy"]))), 128))]), _: 1 }, 8, ["modelValue", "type", "tab-position", "style", "class"]));
45
45
  } });
46
46
  export {
47
- D as default
47
+ _ as default
48
48
  };
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as e, ref as t, computed as n, watch as i, onMounted as o, onUnmounted as s, createElementBlock as u, openBlock as r, createElementVNode as l, normalizeStyle as g, normalizeClass as c, Fragment as f, renderList as p, createBlock as m, reactive as a } from "vue";
2
2
  import { useDraggable as d } from "vue-draggable-plus";
3
- import b from "../../object-design.vue.js";
4
- import { deepCopy as v, getUuidv4 as y } from "../../../../utils/common-util.js";
3
+ import v from "../../object-design.vue.js";
4
+ import { deepCopy as b, getUuidv4 as y } from "../../../../utils/common-util.js";
5
5
  import { caculateComponentStyle as j } from "../../../../utils/container-design-util.js";
6
6
  import "element-plus";
7
- import { copyHandleEvents as x, deleteDesignItem as h } from "../../../../utils/page-design-util.js";
7
+ import { copyHandleEvents as h, deleteDesignItem as x } from "../../../../utils/page-design-util.js";
8
8
  import { getInputTypeComponentNames as O } from "../../../../utils/assemblys-config.js";
9
9
  const W = { class: "amb-widget-tools-parent amb-design-item-default" }, D = e({ __name: "tools-design", props: { pageDesign: {}, configure: {}, indexObj: {}, selectWidget: {} }, emits: ["onSelectWidget", "onCustomAttrWidget"], setup(e2, { emit: D2 }) {
10
10
  const C = e2;
@@ -29,7 +29,7 @@ const W = { class: "amb-widget-tools-parent amb-design-item-default" }, D = e({
29
29
  });
30
30
  }
31
31
  i(S, (e3, t2) => {
32
- e3.length > t2.length && z(C.indexObj.index, e3[e3.length - 1]), "list" === C.pageDesign.pageType && (C.pageDesign.toolsInputComponents = [], _(e3));
32
+ e3.length > t2.length && z(-1, e3[e3.length - 1]), "list" === C.pageDesign.pageType && (C.pageDesign.toolsInputComponents = [], _(e3));
33
33
  }, { important: true, deep: true });
34
34
  const N = t(null);
35
35
  function R() {
@@ -62,14 +62,14 @@ const W = { class: "amb-widget-tools-parent amb-design-item-default" }, D = e({
62
62
  let t2 = C.configure.items;
63
63
  const n2 = t2.indexOf(e3);
64
64
  if (-1 == n2) return void alert("无可复制对象!");
65
- const i2 = a(v(e3));
66
- i2.uuid = y(), x(i2), t2.splice(n2, 0, i2);
65
+ const i2 = a(b(e3));
66
+ i2.uuid = y(), h(i2, C.pageDesign), t2.splice(n2 + 1, 0, i2);
67
67
  }
68
68
  function T(e3) {
69
69
  let t2 = C.configure.items;
70
- h(t2, e3, e3.items && e3.items.length > 0, true);
70
+ x(t2, e3, e3.items && e3.items.length > 0, true);
71
71
  }
72
- return (e3, t2) => (r(), u("div", W, [l("div", { class: c(["amb-widget-tools", w.value]), style: g(k.value), ref_key: "thisRef", ref: N }, [(r(true), u(f, null, p(e3.configure.items, (t3, n2) => (r(), m(b, { key: t3, pageDesign: e3.pageDesign, configure: t3, selectWidget: e3.selectWidget, indexObj: e3.indexObj, onOnSelectWidget: z, onOnCustomAttrWidget: E, onOnCopy: F, onOnDelete: T }, null, 8, ["pageDesign", "configure", "selectWidget", "indexObj"]))), 128))], 6)]));
72
+ return (e3, t2) => (r(), u("div", W, [l("div", { class: c(["amb-widget-tools", w.value]), style: g(k.value), ref_key: "thisRef", ref: N }, [(r(true), u(f, null, p(e3.configure.items, (t3, n2) => (r(), m(v, { key: t3, pageDesign: e3.pageDesign, configure: t3, selectWidget: e3.selectWidget, indexObj: e3.indexObj, onOnSelectWidget: z, onOnCustomAttrWidget: E, onOnCopy: F, onOnDelete: T }, null, 8, ["pageDesign", "configure", "selectWidget", "indexObj"]))), 128))], 6)]));
73
73
  } });
74
74
  export {
75
75
  D as default
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as e, ref as a, computed as l, resolveComponent as i, createBlock as o, openBlock as t, withCtx as n, createElementVNode as r, createVNode as s, createCommentVNode as u, withDirectives as d, renderSlot as p, createTextVNode as c, unref as g, vShow as f, createElementBlock as m, Fragment as v, renderList as y, normalizeClass as b, toDisplayString as V } from "vue";
2
- import O from "../../form/common/dataorigin-input-table.vue.js";
2
+ import O from "../../form/common/dataorigin-input-table.vue2.js";
3
3
  import { Codemirror as _ } from "vue-codemirror";
4
4
  import C from "../../workflow/component/combination.vue.js";
5
5
  import S from "./return-set-table.vue.js";
@@ -2,7 +2,7 @@ import e from "./table-design.vue2.js";
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  import t from "../../../../../../_virtual/_plugin-vue_export-helper.js";
5
- const o = t(e, [["__scopeId", "data-v-e50b5e57"]]);
5
+ const o = t(e, [["__scopeId", "data-v-f6dbf7b2"]]);
6
6
  export {
7
7
  o as default
8
8
  };
@@ -20,7 +20,7 @@ const B = { class: "amb-object-design-table-ref" }, P = { id: "tableDesignMenu",
20
20
  z.configure.props.groupHeaders;
21
21
  const q = o([]), X = o(), Y = o([]);
22
22
  function A(e3, o2) {
23
- N("onSelectWidget", e3, o2);
23
+ N("onSelectWidget", e3, o2, z.configure);
24
24
  }
25
25
  z.configure && function() {
26
26
  const e3 = z.configure.tableSysCode ? z.configure.tableSysCode : z.pageDesign.systemCode, o2 = z.configure.tableSysVersion ? z.configure.tableSysVersion : z.pageDesign.systemVersion, n2 = z.configure.props.dataOrigin.tableName;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as e, ref as l, onMounted as a, resolveComponent as t, createBlock as o, openBlock as u, withCtx as i, createElementVNode as n, createVNode as s, createCommentVNode as d, withDirectives as r, unref as m, createElementBlock as p, Fragment as c, renderList as b, createTextVNode as f, vShow as y, normalizeClass as v } from "vue";
2
- import V from "./dataorigin-input-table.vue.js";
2
+ import V from "./dataorigin-input-table.vue2.js";
3
3
  import g from "./condition.vue.js";
4
4
  import S from "./row-ul-li.vue.js";
5
5
  import "uuid";
@@ -1,28 +1,4 @@
1
- import { defineComponent as e, ref as l, watch as a, resolveComponent as t, createElementBlock as o, openBlock as d, Fragment as u, createVNode as n, withCtx as i, unref as s, createElementVNode as m, createTextVNode as r } from "vue";
2
- import { Search as p } from "@element-plus/icons-vue";
3
- const f = { class: "dialog-footer" }, v = e({ __name: "dataorigin-input-table", props: { modelValue: { type: String, default: "" } }, emits: ["update:modelValue"], setup(e2, { emit: v2 }) {
4
- const c = e2, g = l(c.modelValue), V = v2, h = [{ id: 1, date: "2016-05-03", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 2, date: "2016-05-02", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 3, date: "2016-05-04", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 4, date: "2016-05-01", name: "Tom", address: "No. 189, Grove St, Los Angeles" }], b = l(false), _ = l([]);
5
- function y() {
6
- if (_.value.length > 0) {
7
- let e3 = "";
8
- _.value.forEach((l2) => {
9
- e3 = e3 + l2.name + ",";
10
- }), e3 = e3.substring(0, e3.length - 1), V("update:modelValue", e3), b.value = false;
11
- } else b.value = false;
12
- }
13
- function S(e3) {
14
- _.value = e3;
15
- }
16
- function w() {
17
- b.value = true;
18
- }
19
- return a(() => c.modelValue, (e3) => {
20
- g.value = e3;
21
- }), (e3, l2) => {
22
- const a2 = t("el-icon"), v3 = t("el-input"), c2 = t("el-table-column"), V2 = t("el-table"), _2 = t("el-button"), A = t("el-dialog");
23
- return d(), o(u, null, [n(v3, { modelValue: g.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => g.value = e4), placeholder: "请选择", onClick: w }, { suffix: i(() => [n(a2, { onClick: w }, { default: i(() => [n(s(p))]), _: 1 })]), _: 1 }, 8, ["modelValue"]), n(A, { modelValue: b.value, "onUpdate:modelValue": l2[2] || (l2[2] = (e4) => b.value = e4), title: "Tips", width: "500" }, { footer: i(() => [m("div", f, [n(_2, { type: "default", onClick: l2[1] || (l2[1] = (e4) => b.value = false) }, { default: i(() => l2[3] || (l2[3] = [r("取消")])), _: 1 }), n(_2, { type: "primary", onClick: y }, { default: i(() => l2[4] || (l2[4] = [r(" 确定 ")])), _: 1 })])]), default: i(() => [n(V2, { data: h, style: { width: "100%" }, onSelectionChange: S }, { default: i(() => [n(c2, { type: "selection", width: "55" }), n(c2, { prop: "date", label: "Date", width: "180" }), n(c2, { prop: "name", label: "Name", width: "180" }), n(c2, { prop: "address", label: "Address" })]), _: 1 })]), _: 1 }, 8, ["modelValue"])], 64);
24
- };
25
- } });
1
+ import t from "./dataorigin-input-table.vue2.js";
26
2
  export {
27
- v as default
3
+ t as default
28
4
  };
@@ -1,4 +1,28 @@
1
- import t from "./dataorigin-input-table.vue.js";
1
+ import { defineComponent as e, ref as l, watch as a, resolveComponent as t, createElementBlock as o, openBlock as d, Fragment as u, createVNode as n, withCtx as i, unref as s, createElementVNode as m, createTextVNode as r } from "vue";
2
+ import { Search as p } from "@element-plus/icons-vue";
3
+ const f = { class: "dialog-footer" }, v = e({ __name: "dataorigin-input-table", props: { modelValue: { type: String, default: "" } }, emits: ["update:modelValue"], setup(e2, { emit: v2 }) {
4
+ const c = e2, g = l(c.modelValue), V = v2, h = [{ id: 1, date: "2016-05-03", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 2, date: "2016-05-02", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 3, date: "2016-05-04", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 4, date: "2016-05-01", name: "Tom", address: "No. 189, Grove St, Los Angeles" }], b = l(false), _ = l([]);
5
+ function y() {
6
+ if (_.value.length > 0) {
7
+ let e3 = "";
8
+ _.value.forEach((l2) => {
9
+ e3 = e3 + l2.name + ",";
10
+ }), e3 = e3.substring(0, e3.length - 1), V("update:modelValue", e3), b.value = false;
11
+ } else b.value = false;
12
+ }
13
+ function S(e3) {
14
+ _.value = e3;
15
+ }
16
+ function w() {
17
+ b.value = true;
18
+ }
19
+ return a(() => c.modelValue, (e3) => {
20
+ g.value = e3;
21
+ }), (e3, l2) => {
22
+ const a2 = t("el-icon"), v3 = t("el-input"), c2 = t("el-table-column"), V2 = t("el-table"), _2 = t("el-button"), A = t("el-dialog");
23
+ return d(), o(u, null, [n(v3, { modelValue: g.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => g.value = e4), placeholder: "请选择", onClick: w }, { suffix: i(() => [n(a2, { onClick: w }, { default: i(() => [n(s(p))]), _: 1 })]), _: 1 }, 8, ["modelValue"]), n(A, { modelValue: b.value, "onUpdate:modelValue": l2[2] || (l2[2] = (e4) => b.value = e4), title: "Tips", width: "500" }, { footer: i(() => [m("div", f, [n(_2, { type: "default", onClick: l2[1] || (l2[1] = (e4) => b.value = false) }, { default: i(() => l2[3] || (l2[3] = [r("取消")])), _: 1 }), n(_2, { type: "primary", onClick: y }, { default: i(() => l2[4] || (l2[4] = [r(" 确定 ")])), _: 1 })])]), default: i(() => [n(V2, { data: h, style: { width: "100%" }, onSelectionChange: S }, { default: i(() => [n(c2, { type: "selection", width: "55" }), n(c2, { prop: "date", label: "Date", width: "180" }), n(c2, { prop: "name", label: "Name", width: "180" }), n(c2, { prop: "address", label: "Address" })]), _: 1 })]), _: 1 }, 8, ["modelValue"])], 64);
24
+ };
25
+ } });
2
26
  export {
3
- t as default
27
+ v as default
4
28
  };
@@ -1,4 +1,4 @@
1
- import o from "./config.vue3.js";
1
+ import o from "./config.vue2.js";
2
2
  /* empty css */
3
3
  import e from "../../../../../_virtual/_plugin-vue_export-helper.js";
4
4
  const r = e(o, [["__scopeId", "data-v-8dba0ddd"]]);
@@ -61,7 +61,7 @@ const L = { class: "amb-design-content-center-header" }, I = { class: "amb-desig
61
61
  }
62
62
  function pe(e3) {
63
63
  const i2 = ie.indexOf(e3), t2 = n(W(e3));
64
- t2.uuid = N(), q(t2), ie.splice(i2, 0, t2);
64
+ t2.uuid = N(), q(t2, X.configure), ie.splice(i2, 0, t2);
65
65
  }
66
66
  function fe(e3) {
67
67
  V(ie, e3, e3.items && e3.items.length > 0, true);