super-page-designer 2.2.34 → 2.2.37

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.
@@ -1,4 +1,4 @@
1
- import e from "./common-variable-bind.vue2.js";
1
+ import e from "./common-variable-bind.vue3.js";
2
2
  /* empty css */
3
3
  import o from "../../../../../_virtual/_plugin-vue_export-helper.js";
4
4
  const r = o(e, [["__scopeId", "data-v-f1126e5e"]]);
@@ -1,12 +1,13 @@
1
- import { defineComponent as e, ref as l, resolveComponent as a, createBlock as o, openBlock as t, withCtx as u, createVNode as d, createElementVNode as r, createTextVNode as i, toDisplayString as n } from "vue";
2
- import p from "../../common/common-attr-size.vue.js";
3
- const m = { style: { padding: "8px 0px 0px 0px" } }, f = e({ __name: "tools-attr-base", props: { configure: { type: Object, required: true } }, setup(e2) {
4
- const f2 = l(["1", "attrSize"]);
5
- return (l2, s) => {
6
- const c = a("el-text"), g = a("el-form-item"), _ = a("el-input"), V = a("el-radio-button"), x = a("el-radio-group"), b = a("el-collapse-item"), v = a("el-collapse"), y = a("el-form");
7
- return t(), o(y, { "label-width": "80px", size: "small" }, { default: u(() => [d(v, { modelValue: f2.value, "onUpdate:modelValue": s[4] || (s[4] = (e3) => f2.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [d(b, { title: "基本", name: "1", class: "amb-design-attr-group-header" }, { default: u(() => [r("div", m, [d(g, { label: "组件类型" }, { default: u(() => [d(c, null, { default: u(() => [i(n(e2.configure.label) + "(" + n(e2.configure.name) + ")", 1)]), _: 1 })]), _: 1 }), d(g, { label: "唯一编码", style: { "margin-top": "-10px" } }, { default: u(() => [d(_, { modelValue: e2.configure.uuid, "onUpdate:modelValue": s[0] || (s[0] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), d(g, { label: "自定义编码", style: { "margin-top": "-10px" } }, { default: u(() => [d(_, { modelValue: e2.configure.code, "onUpdate:modelValue": s[1] || (s[1] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), d(g, { label: "位置", style: { "margin-top": "-10px", "margin-bottom": "-10px" } }, { default: u(() => [d(x, { modelValue: e2.configure.props.position, "onUpdate:modelValue": s[2] || (s[2] = (l3) => e2.configure.props.position = l3) }, { default: u(() => [d(V, { value: "default" }, { default: u(() => s[5] || (s[5] = [i("默认")])), _: 1 }), d(V, { value: "top" }, { default: u(() => s[6] || (s[6] = [i("顶部")])), _: 1 }), d(V, { value: "bottom" }, { default: u(() => s[7] || (s[7] = [i("底部")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(g, { label: "居中方式", style: { "margin-top": "20px" } }, { default: u(() => [d(x, { modelValue: e2.configure.props.align, "onUpdate:modelValue": s[3] || (s[3] = (l3) => e2.configure.props.align = l3) }, { default: u(() => [d(V, { value: "left" }, { default: u(() => s[8] || (s[8] = [i("居左")])), _: 1 }), d(V, { value: "center" }, { default: u(() => s[9] || (s[9] = [i("居中")])), _: 1 }), d(V, { value: "flex-end" }, { default: u(() => s[10] || (s[10] = [i("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), d(p, { size: e2.configure.props.size }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
1
+ import { defineComponent as e, ref as l, resolveComponent as o, createBlock as i, openBlock as a, withCtx as u, createVNode as t, createElementVNode as d, createCommentVNode as n, createTextVNode as p, toDisplayString as r, unref as f } from "vue";
2
+ import s from "../../common/common-attr-size.vue.js";
3
+ import { Close as c, Check as m } from "@element-plus/icons-vue";
4
+ const g = { style: { padding: "8px 0px 0px 0px" } }, x = e({ __name: "tools-attr-base", props: { configure: { type: Object, required: true } }, setup(e2) {
5
+ const x2 = l(["1", "attrSize"]);
6
+ return (l2, V) => {
7
+ const b = o("el-text"), _ = o("el-form-item"), v = o("el-input"), y = o("el-radio-button"), U = o("el-radio-group"), F = o("el-input-number"), z = o("el-switch"), A = o("el-collapse-item"), h = o("el-collapse"), j = o("el-form");
8
+ return a(), i(j, { "label-width": "80px", size: "small" }, { default: u(() => [t(h, { modelValue: x2.value, "onUpdate:modelValue": V[8] || (V[8] = (e3) => x2.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [t(A, { title: "基本", name: "1", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", g, [t(_, { label: "组件类型" }, { default: u(() => [t(b, null, { default: u(() => [p(r(e2.configure.label) + "(" + r(e2.configure.name) + ")", 1)]), _: 1 })]), _: 1 }), t(_, { label: "唯一编码", style: { "margin-top": "-10px" } }, { default: u(() => [t(v, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V[0] || (V[0] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), t(_, { label: "自定义编码", style: { "margin-top": "-10px" } }, { default: u(() => [t(v, { modelValue: e2.configure.code, "onUpdate:modelValue": V[1] || (V[1] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), t(_, { label: "对齐方式", style: { "margin-top": "20px" } }, { default: u(() => [t(U, { modelValue: e2.configure.props.align, "onUpdate:modelValue": V[2] || (V[2] = (l3) => e2.configure.props.align = l3) }, { default: u(() => [t(y, { value: "left" }, { default: u(() => V[9] || (V[9] = [p("居左")])), _: 1 }), t(y, { value: "center" }, { default: u(() => V[10] || (V[10] = [p("居中")])), _: 1 }), t(y, { value: "flex-end" }, { default: u(() => V[11] || (V[11] = [p("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), t(_, { label: "内容间距" }, { default: u(() => [t(F, { modelValue: e2.configure.props.gap, "onUpdate:modelValue": V[3] || (V[3] = (l3) => e2.configure.props.gap = l3), min: 0, max: 100 }, null, 8, ["modelValue"])]), _: 1 }), t(_, { label: "固钉" }, { default: u(() => [t(z, { modelValue: e2.configure.props.isAffix, "onUpdate:modelValue": V[4] || (V[4] = (l3) => e2.configure.props.isAffix = l3), disabled: e2.configure.props.isFixed, "inline-prompt": "", "active-icon": f(m), "inactive-icon": f(c) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), t(_, { label: "悬浮" }, { default: u(() => [t(z, { modelValue: e2.configure.props.isFixed, "onUpdate:modelValue": V[5] || (V[5] = (l3) => e2.configure.props.isFixed = l3), disabled: e2.configure.props.isAffix, "inline-prompt": "", "active-icon": f(m), "inactive-icon": f(c) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), e2.configure.props.isAffix || e2.configure.props.isFixed ? (a(), i(_, { key: 0, label: (e2.configure.props.isFixed ? "悬浮" : "固钉") + "位置" }, { default: u(() => [t(U, { modelValue: e2.configure.props.position, "onUpdate:modelValue": V[6] || (V[6] = (l3) => e2.configure.props.position = l3), disabled: !e2.configure.props.isAffix && !e2.configure.props.isFixed }, { default: u(() => [t(y, { value: "default" }, { default: u(() => V[12] || (V[12] = [p("默认")])), _: 1 }), t(y, { value: "top" }, { default: u(() => V[13] || (V[13] = [p("顶部")])), _: 1 }), t(y, { value: "bottom" }, { default: u(() => V[14] || (V[14] = [p("底部")])), _: 1 })]), _: 1 }, 8, ["modelValue", "disabled"])]), _: 1 }, 8, ["label"])) : n("", true), e2.configure.props.isAffix || e2.configure.props.isFixed ? (a(), i(_, { key: 1, label: (e2.configure.props.isFixed ? "悬浮" : "固钉") + "偏移" }, { default: u(() => [t(F, { modelValue: e2.configure.props.offset, "onUpdate:modelValue": V[7] || (V[7] = (l3) => e2.configure.props.offset = l3), min: -999, max: 999 }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])) : n("", true)])]), _: 1 }), t(s, { size: e2.configure.props.size }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
8
9
  };
9
10
  } });
10
11
  export {
11
- f as default
12
+ x as default
12
13
  };
@@ -1,84 +1,76 @@
1
- import { defineComponent as e, ref as t, watch as n, computed as i, onMounted as o, onUnmounted as s, createElementBlock as u, openBlock as l, createElementVNode as r, normalizeStyle as g, normalizeClass as c, Fragment as m, renderList as p, createBlock as f, reactive as a } from "vue";
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
3
  import b from "../../object-design.vue.js";
4
4
  import { deepCopy as v, getUuidv4 as y } from "../../../../utils/common-util.js";
5
- import { caculateComponentStyle as x } from "../../../../utils/container-design-util.js";
5
+ import { caculateComponentStyle as j } from "../../../../utils/container-design-util.js";
6
6
  import "element-plus";
7
- import { copyHandleEvents as h, deleteDesignItem as j } from "../../../../utils/page-design-util.js";
7
+ import { copyHandleEvents as x, deleteDesignItem as h } from "../../../../utils/page-design-util.js";
8
8
  import { getInputTypeComponentNames as O } from "../../../../utils/assemblys-config.js";
9
- const C = { class: "amb-widget-tools-parent amb-design-item-default", style: { width: "99.5%" } }, W = e({ __name: "tools-design", props: { pageDesign: {}, configure: {}, indexObj: {}, selectWidget: {} }, emits: ["onSelectWidget", "onCustomAttrWidget"], setup(e2, { emit: W2 }) {
10
- const D = e2;
11
- D.configure.items || (D.configure.items = []), null == D.configure.style && (D.configure.style = {}), null == D.configure.props && (D.configure.props = {}), D.configure.runtime || (D.configure.runtime = {});
12
- const w = t({}), A = t("");
13
- n(D.configure.style, () => {
14
- I();
15
- }), n(D.configure.props, () => {
16
- I();
9
+ const W = { class: "amb-widget-tools-parent amb-design-item-default", style: { width: "99.5%" } }, D = e({ __name: "tools-design", props: { pageDesign: {}, configure: {}, indexObj: {}, selectWidget: {} }, emits: ["onSelectWidget", "onCustomAttrWidget"], setup(e2, { emit: D2 }) {
10
+ const C = e2;
11
+ C.configure.items || (C.configure.items = []), null == C.configure.style && (C.configure.style = {}), C.configure.props = { isAffix: true, position: "top", ...C.configure.props ?? {} }, C.configure.runtime || (C.configure.runtime = {});
12
+ const w = t({}), A = t(""), k = n(() => {
13
+ const { gap: e3 } = C.configure.props ?? {};
14
+ return { ...e3 ? { gap: `${e3}px` } : {}, ...w.value ?? {} };
17
15
  });
18
- const N = O(), R = i(() => [...D.configure.items]);
19
- function k(e3) {
16
+ i(C.configure.style, () => {
17
+ R();
18
+ }), i(C.configure.props, () => {
19
+ R();
20
+ });
21
+ const I = O(), S = n(() => [...C.configure.items]);
22
+ function _(e3) {
20
23
  e3.forEach((e4) => {
21
24
  var _a, _b, _c, _d;
22
- if (e4.items && e4.items.length > 0 && k(e4.items), N.includes(e4.name)) {
25
+ if (e4.items && e4.items.length > 0 && _(e4.items), I.includes(e4.name)) {
23
26
  const t2 = { uuid: e4.uuid, defaultValue: (_b = (_a = e4.runtime) == null ? void 0 : _a.props) == null ? void 0 : _b.defaultValue, prop: (_d = (_c = e4.runtime) == null ? void 0 : _c.props) == null ? void 0 : _d.prop };
24
- D.pageDesign.toolsInputComponents.push(t2);
27
+ C.pageDesign.toolsInputComponents.push(t2);
25
28
  }
26
29
  });
27
30
  }
28
- n(R, (e3, t2) => {
29
- e3.length > t2.length && _(D.indexObj.index, e3[e3.length - 1]), "list" === D.pageDesign.pageType && (D.pageDesign.toolsInputComponents = [], k(e3));
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));
30
33
  }, { important: true, deep: true });
31
- const B = t(null);
32
- function I() {
33
- x(D.configure, w, A, null);
34
- const e3 = D.configure.props;
35
- if ("flex-end" == e3.align ? w.value["justify-content"] = "right" : "center" == e3.align && (w.value["justify-content"] = "center"), D.configure.runtime.style = w.value, D.configure.runtime.class = A.value, B.value) {
36
- const e4 = D.configure.props.position;
37
- if ("top1" == e4 || "bottom1" == e4) {
38
- const t2 = { position: "fixed !important", "z-index": "1" }, n2 = document.getElementsByClassName("amb-design-board");
39
- if (n2 && n2.length > 0) {
40
- const i3 = n2[0].getBoundingClientRect();
41
- "top" == e4 && (t2.top = i3.top + "px"), "bottom" == e4 && (t2.bottom = "10px");
42
- }
43
- const i2 = B.value.parentNode.getBoundingClientRect();
44
- t2.width = i2.width - 25 + "px", Object.assign(w.value, t2);
45
- }
46
- }
34
+ const N = t(null);
35
+ function R() {
36
+ j(C.configure, w, A, null);
37
+ const e3 = C.configure.props;
38
+ "flex-end" == e3.align ? w.value["justify-content"] = "right" : "center" == e3.align && (w.value["justify-content"] = "center"), C.configure.runtime.style = w.value, C.configure.runtime.class = A.value;
47
39
  }
48
- d(B, D.configure.items, { group: "amb-assembly-item", animation: 300, ghostClass: "amb-item-ghost", forceFallback: true, onAdd: function(e3) {
49
- if (D.configure && D.configure.items) {
50
- const t2 = e3.newIndex, n2 = D.configure.items[t2];
40
+ d(N, C.configure.items, { group: "amb-assembly-item", animation: 300, ghostClass: "amb-item-ghost", forceFallback: true, onAdd: function(e3) {
41
+ if (C.configure && C.configure.items) {
42
+ const t2 = e3.newIndex, n2 = C.configure.items[t2];
51
43
  n2.style || (n2.style = {});
52
44
  }
53
45
  } }), o(() => {
54
- if (I(), B.value.parentNode) {
46
+ if (R(), N.value.parentNode) {
55
47
  new ResizeObserver((e3) => {
56
48
  for (let t2 of e3) ;
57
- I();
58
- }).observe(B.value.parentNode);
49
+ R();
50
+ }).observe(N.value.parentNode);
59
51
  }
60
52
  }), s(() => {
61
53
  });
62
- const S = W2;
63
- function _(e3, t2) {
64
- S("onSelectWidget", e3, t2);
65
- }
54
+ const V = D2;
66
55
  function z(e3, t2) {
67
- S("onCustomAttrWidget", e3, t2);
56
+ V("onSelectWidget", e3, t2);
57
+ }
58
+ function E(e3, t2) {
59
+ V("onCustomAttrWidget", e3, t2);
68
60
  }
69
- function E(e3) {
70
- let t2 = D.configure.items;
61
+ function F(e3) {
62
+ let t2 = C.configure.items;
71
63
  const n2 = t2.indexOf(e3);
72
64
  if (-1 == n2) return void alert("无可复制对象!");
73
65
  const i2 = a(v(e3));
74
- i2.uuid = y(), h(i2), t2.splice(n2, 0, i2);
66
+ i2.uuid = y(), x(i2), t2.splice(n2, 0, i2);
75
67
  }
76
- function V(e3) {
77
- let t2 = D.configure.items;
78
- j(t2, e3, e3.items && e3.items.length > 0, true);
68
+ function T(e3) {
69
+ let t2 = C.configure.items;
70
+ h(t2, e3, e3.items && e3.items.length > 0, true);
79
71
  }
80
- return (e3, t2) => (l(), u("div", C, [r("div", { class: c(["amb-widget-tools", A.value]), style: g([w.value, { display: "flex" }]), ref_key: "thisRef", ref: B }, [(l(true), u(m, null, p(e3.configure.items, (t3, n2) => (l(), f(b, { key: t3, pageDesign: e3.pageDesign, configure: t3, selectWidget: e3.selectWidget, indexObj: e3.indexObj, onOnSelectWidget: _, onOnCustomAttrWidget: z, onOnCopy: E, onOnDelete: V }, null, 8, ["pageDesign", "configure", "selectWidget", "indexObj"]))), 128))], 6)]));
72
+ return (e3, t2) => (r(), u("div", W, [l("div", { class: c(["amb-widget-tools", A.value]), style: g([k.value, { display: "flex" }]), 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)]));
81
73
  } });
82
74
  export {
83
- W as default
75
+ D as default
84
76
  };
@@ -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 m, createElementBlock as f, Fragment as v, renderList as b, normalizeClass as y, 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";
@@ -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 v, normalizeClass as y } 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 v = { class: "dialog-footer" }, c = e({ __name: "dataorigin-input-table", props: { modelValue: { type: String, default: "" } }, emits: ["update:modelValue"], setup(e2, { emit: c2 }) {
4
- const f = e2, g = l(f.modelValue), V = c2, 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 S() {
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 w(e3) {
14
- _.value = e3;
15
- }
16
- function y() {
17
- b.value = true;
18
- }
19
- return a(() => f.modelValue, (e3) => {
20
- g.value = e3;
21
- }), (e3, l2) => {
22
- const a2 = t("el-icon"), c3 = t("el-input"), f2 = t("el-table-column"), V2 = t("el-table"), _2 = t("el-button"), A = t("el-dialog");
23
- return d(), o(u, null, [n(c3, { modelValue: g.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => g.value = e4), placeholder: "请选择", onClick: y }, { suffix: i(() => [n(a2, { onClick: y }, { 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", v, [n(_2, { onClick: l2[1] || (l2[1] = (e4) => b.value = false) }, { default: i(() => l2[3] || (l2[3] = [r("取消")])), _: 1 }), n(_2, { type: "primary", onClick: S }, { default: i(() => l2[4] || (l2[4] = [r(" 确定 ")])), _: 1 })])]), default: i(() => [n(V2, { data: h, style: { width: "100%" }, onSelectionChange: w }, { default: i(() => [n(f2, { type: "selection", width: "55" }), n(f2, { prop: "date", label: "Date", width: "180" }), n(f2, { prop: "name", label: "Name", width: "180" }), n(f2, { prop: "address", label: "Address" })]), _: 1 })]), _: 1 }, 8, ["modelValue"])], 64);
24
- };
25
- } });
1
+ import t from "./dataorigin-input-table.vue2.js";
26
2
  export {
27
- c 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 v = { class: "dialog-footer" }, c = e({ __name: "dataorigin-input-table", props: { modelValue: { type: String, default: "" } }, emits: ["update:modelValue"], setup(e2, { emit: c2 }) {
4
+ const f = e2, g = l(f.modelValue), V = c2, 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 S() {
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 w(e3) {
14
+ _.value = e3;
15
+ }
16
+ function y() {
17
+ b.value = true;
18
+ }
19
+ return a(() => f.modelValue, (e3) => {
20
+ g.value = e3;
21
+ }), (e3, l2) => {
22
+ const a2 = t("el-icon"), c3 = t("el-input"), f2 = t("el-table-column"), V2 = t("el-table"), _2 = t("el-button"), A = t("el-dialog");
23
+ return d(), o(u, null, [n(c3, { modelValue: g.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => g.value = e4), placeholder: "请选择", onClick: y }, { suffix: i(() => [n(a2, { onClick: y }, { 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", v, [n(_2, { onClick: l2[1] || (l2[1] = (e4) => b.value = false) }, { default: i(() => l2[3] || (l2[3] = [r("取消")])), _: 1 }), n(_2, { type: "primary", onClick: S }, { default: i(() => l2[4] || (l2[4] = [r(" 确定 ")])), _: 1 })])]), default: i(() => [n(V2, { data: h, style: { width: "100%" }, onSelectionChange: w }, { default: i(() => [n(f2, { type: "selection", width: "55" }), n(f2, { prop: "date", label: "Date", width: "180" }), n(f2, { prop: "name", label: "Name", width: "180" }), n(f2, { prop: "address", label: "Address" })]), _: 1 })]), _: 1 }, 8, ["modelValue"])], 64);
24
+ };
25
+ } });
2
26
  export {
3
- t as default
27
+ c as default
4
28
  };
package/dist/es/style.css CHANGED
@@ -369,7 +369,7 @@
369
369
  /* 用于占位 */
370
370
  .amb-widget-tools-parent {
371
371
  width: 100%;
372
- height: 58px;
372
+ min-height: 58px;
373
373
  margin-bottom: 18px;
374
374
  }
375
375
  .amb-widget-tools {
@@ -1065,7 +1065,7 @@ fieldset.amb-design-item-selected {
1065
1065
  /* 用于占位 */
1066
1066
  .amb-widget-tools-parent {
1067
1067
  width: 100%;
1068
- height: 58px;
1068
+ min-height: 58px;
1069
1069
  margin-bottom: 18px;
1070
1070
  }
1071
1071
  .amb-widget-tools {
@@ -1663,7 +1663,7 @@ fieldset.amb-design-item-selected {
1663
1663
  /* 用于占位 */
1664
1664
  .amb-widget-tools-parent {
1665
1665
  width: 100%;
1666
- height: 58px;
1666
+ min-height: 58px;
1667
1667
  margin-bottom: 18px;
1668
1668
  }
1669
1669
  .amb-widget-tools {
@@ -2252,7 +2252,7 @@ fieldset.amb-design-item-selected {
2252
2252
  /* 用于占位 */
2253
2253
  .amb-widget-tools-parent {
2254
2254
  width: 100%;
2255
- height: 58px;
2255
+ min-height: 58px;
2256
2256
  margin-bottom: 18px;
2257
2257
  }
2258
2258
  .amb-widget-tools {
@@ -2841,7 +2841,7 @@ fieldset.amb-design-item-selected {
2841
2841
  /* 用于占位 */
2842
2842
  .amb-widget-tools-parent {
2843
2843
  width: 100%;
2844
- height: 58px;
2844
+ min-height: 58px;
2845
2845
  margin-bottom: 18px;
2846
2846
  }
2847
2847
  .amb-widget-tools {
@@ -3430,7 +3430,7 @@ fieldset.amb-design-item-selected {
3430
3430
  /* 用于占位 */
3431
3431
  .amb-widget-tools-parent {
3432
3432
  width: 100%;
3433
- height: 58px;
3433
+ min-height: 58px;
3434
3434
  margin-bottom: 18px;
3435
3435
  }
3436
3436
  .amb-widget-tools {
@@ -4019,7 +4019,7 @@ fieldset.amb-design-item-selected {
4019
4019
  /* 用于占位 */
4020
4020
  .amb-widget-tools-parent {
4021
4021
  width: 100%;
4022
- height: 58px;
4022
+ min-height: 58px;
4023
4023
  margin-bottom: 18px;
4024
4024
  }
4025
4025
  .amb-widget-tools {
@@ -4608,7 +4608,7 @@ fieldset.amb-design-item-selected {
4608
4608
  /* 用于占位 */
4609
4609
  .amb-widget-tools-parent {
4610
4610
  width: 100%;
4611
- height: 58px;
4611
+ min-height: 58px;
4612
4612
  margin-bottom: 18px;
4613
4613
  }
4614
4614
  .amb-widget-tools {
@@ -5201,7 +5201,7 @@ fieldset.amb-design-item-selected {
5201
5201
  /* 用于占位 */
5202
5202
  .amb-widget-tools-parent {
5203
5203
  width: 100%;
5204
- height: 58px;
5204
+ min-height: 58px;
5205
5205
  margin-bottom: 18px;
5206
5206
  }
5207
5207
  .amb-widget-tools {
@@ -5790,7 +5790,7 @@ fieldset.amb-design-item-selected {
5790
5790
  /* 用于占位 */
5791
5791
  .amb-widget-tools-parent {
5792
5792
  width: 100%;
5793
- height: 58px;
5793
+ min-height: 58px;
5794
5794
  margin-bottom: 18px;
5795
5795
  }
5796
5796
  .amb-widget-tools {
@@ -6379,7 +6379,7 @@ fieldset.amb-design-item-selected {
6379
6379
  /* 用于占位 */
6380
6380
  .amb-widget-tools-parent {
6381
6381
  width: 100%;
6382
- height: 58px;
6382
+ min-height: 58px;
6383
6383
  margin-bottom: 18px;
6384
6384
  }
6385
6385
  .amb-widget-tools {
@@ -6968,7 +6968,7 @@ fieldset.amb-design-item-selected {
6968
6968
  /* 用于占位 */
6969
6969
  .amb-widget-tools-parent {
6970
6970
  width: 100%;
6971
- height: 58px;
6971
+ min-height: 58px;
6972
6972
  margin-bottom: 18px;
6973
6973
  }
6974
6974
  .amb-widget-tools {
@@ -7557,7 +7557,7 @@ fieldset.amb-design-item-selected {
7557
7557
  /* 用于占位 */
7558
7558
  .amb-widget-tools-parent {
7559
7559
  width: 100%;
7560
- height: 58px;
7560
+ min-height: 58px;
7561
7561
  margin-bottom: 18px;
7562
7562
  }
7563
7563
  .amb-widget-tools {
@@ -8146,7 +8146,7 @@ fieldset.amb-design-item-selected {
8146
8146
  /* 用于占位 */
8147
8147
  .amb-widget-tools-parent {
8148
8148
  width: 100%;
8149
- height: 58px;
8149
+ min-height: 58px;
8150
8150
  margin-bottom: 18px;
8151
8151
  }
8152
8152
  .amb-widget-tools {
@@ -8772,7 +8772,7 @@ fieldset.amb-design-item-selected {
8772
8772
  /* 用于占位 */
8773
8773
  .amb-widget-tools-parent {
8774
8774
  width: 100%;
8775
- height: 58px;
8775
+ min-height: 58px;
8776
8776
  margin-bottom: 18px;
8777
8777
  }
8778
8778
  .amb-widget-tools {
@@ -9475,7 +9475,7 @@ li[data-v-8ac0bd71] {
9475
9475
  /* 用于占位 */
9476
9476
  .amb-widget-tools-parent {
9477
9477
  width: 100%;
9478
- height: 58px;
9478
+ min-height: 58px;
9479
9479
  margin-bottom: 18px;
9480
9480
  }
9481
9481
  .amb-widget-tools {
@@ -10072,7 +10072,7 @@ fieldset.amb-design-item-selected {
10072
10072
  /* 用于占位 */
10073
10073
  .amb-widget-tools-parent {
10074
10074
  width: 100%;
10075
- height: 58px;
10075
+ min-height: 58px;
10076
10076
  margin-bottom: 18px;
10077
10077
  }
10078
10078
  .amb-widget-tools {
@@ -10661,7 +10661,7 @@ fieldset.amb-design-item-selected {
10661
10661
  /* 用于占位 */
10662
10662
  .amb-widget-tools-parent {
10663
10663
  width: 100%;
10664
- height: 58px;
10664
+ min-height: 58px;
10665
10665
  margin-bottom: 18px;
10666
10666
  }
10667
10667
  .amb-widget-tools {
@@ -11258,7 +11258,7 @@ fieldset.amb-design-item-selected {
11258
11258
  /* 用于占位 */
11259
11259
  .amb-widget-tools-parent {
11260
11260
  width: 100%;
11261
- height: 58px;
11261
+ min-height: 58px;
11262
11262
  margin-bottom: 18px;
11263
11263
  }
11264
11264
  .amb-widget-tools {
@@ -11847,7 +11847,7 @@ fieldset.amb-design-item-selected {
11847
11847
  /* 用于占位 */
11848
11848
  .amb-widget-tools-parent {
11849
11849
  width: 100%;
11850
- height: 58px;
11850
+ min-height: 58px;
11851
11851
  margin-bottom: 18px;
11852
11852
  }
11853
11853
  .amb-widget-tools {
@@ -12436,7 +12436,7 @@ fieldset.amb-design-item-selected {
12436
12436
  /* 用于占位 */
12437
12437
  .amb-widget-tools-parent {
12438
12438
  width: 100%;
12439
- height: 58px;
12439
+ min-height: 58px;
12440
12440
  margin-bottom: 18px;
12441
12441
  }
12442
12442
  .amb-widget-tools {
@@ -13025,7 +13025,7 @@ fieldset.amb-design-item-selected {
13025
13025
  /* 用于占位 */
13026
13026
  .amb-widget-tools-parent {
13027
13027
  width: 100%;
13028
- height: 58px;
13028
+ min-height: 58px;
13029
13029
  margin-bottom: 18px;
13030
13030
  }
13031
13031
  .amb-widget-tools {
@@ -13614,7 +13614,7 @@ fieldset.amb-design-item-selected {
13614
13614
  /* 用于占位 */
13615
13615
  .amb-widget-tools-parent {
13616
13616
  width: 100%;
13617
- height: 58px;
13617
+ min-height: 58px;
13618
13618
  margin-bottom: 18px;
13619
13619
  }
13620
13620
  .amb-widget-tools {
@@ -14203,7 +14203,7 @@ fieldset.amb-design-item-selected {
14203
14203
  /* 用于占位 */
14204
14204
  .amb-widget-tools-parent {
14205
14205
  width: 100%;
14206
- height: 58px;
14206
+ min-height: 58px;
14207
14207
  margin-bottom: 18px;
14208
14208
  }
14209
14209
  .amb-widget-tools {
@@ -14792,7 +14792,7 @@ fieldset.amb-design-item-selected {
14792
14792
  /* 用于占位 */
14793
14793
  .amb-widget-tools-parent {
14794
14794
  width: 100%;
14795
- height: 58px;
14795
+ min-height: 58px;
14796
14796
  margin-bottom: 18px;
14797
14797
  }
14798
14798
  .amb-widget-tools {
@@ -15381,7 +15381,7 @@ fieldset.amb-design-item-selected {
15381
15381
  /* 用于占位 */
15382
15382
  .amb-widget-tools-parent {
15383
15383
  width: 100%;
15384
- height: 58px;
15384
+ min-height: 58px;
15385
15385
  margin-bottom: 18px;
15386
15386
  }
15387
15387
  .amb-widget-tools {
@@ -16035,7 +16035,7 @@ li[data-v-21af26bc] {
16035
16035
  /* 用于占位 */
16036
16036
  .amb-widget-tools-parent {
16037
16037
  width: 100%;
16038
- height: 58px;
16038
+ min-height: 58px;
16039
16039
  margin-bottom: 18px;
16040
16040
  }
16041
16041
  .amb-widget-tools {
@@ -16628,7 +16628,7 @@ fieldset.amb-design-item-selected {
16628
16628
  /* 用于占位 */
16629
16629
  .amb-widget-tools-parent {
16630
16630
  width: 100%;
16631
- height: 58px;
16631
+ min-height: 58px;
16632
16632
  margin-bottom: 18px;
16633
16633
  }
16634
16634
  .amb-widget-tools {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "super-page-designer",
3
- "version": "2.2.34",
3
+ "version": "2.2.37",
4
4
  "description": "AgileBuilder super page designer",
5
5
  "license": "ISC",
6
6
  "main": "dist/es/index.js",
@@ -41,7 +41,7 @@
41
41
  "qrcode": "^1.5.3",
42
42
  "quill": "^2.0.1",
43
43
  "service-flow-designer": "2.2.33",
44
- "super-page-runtime": "2.2.32",
44
+ "super-page-runtime": "2.2.36",
45
45
  "uuid": "^9.0.1",
46
46
  "vite": "^5.1.6",
47
47
  "vite-plugin-node-stdlib-browser": "^0.2.1",