super-page-designer 2.2.51-sit6 → 2.2.57

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 (30) hide show
  1. package/dist/es/components/design/utils/assemblys-config.js +1 -1
  2. package/dist/es/components/design/utils/form-design-util.js +5 -5
  3. package/dist/es/components/design/views/assemblys/common/common-select-table.vue.js +10 -10
  4. package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue.js +4 -1
  5. package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue2.js +9 -9
  6. package/dist/es/components/design/views/assemblys/container/tools/tools-design.vue2.js +6 -6
  7. package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue.js +1 -1
  8. package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue2.js +55 -55
  9. package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +1 -1
  10. package/dist/es/components/design/views/assemblys/data/tree/tree-attr-base.vue.js +31 -15
  11. package/dist/es/components/design/views/assemblys/data/tree/tree-attr-context-menu.vue.js +37 -0
  12. package/dist/es/components/design/views/assemblys/data/tree/tree-attr-context-menu.vue2.js +4 -0
  13. package/dist/es/components/design/views/assemblys/data/tree/tree-design.vue2.js +4 -4
  14. package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +1 -1
  15. package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue.js +2 -26
  16. package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js +26 -2
  17. package/dist/es/components/design/views/design/page-design.vue2.js +1 -1
  18. package/dist/es/components/design/views/design/page-design.vue3.js +1 -1
  19. package/dist/es/components/design/views/design/page-event/{config.vue2.js → config.vue.js} +1 -1
  20. package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +1 -1
  21. package/dist/es/components/design/views/design/view/assemblys-container.vue.js +13 -20
  22. package/dist/es/components/design/views/design/view/attr-container.vue.js +22 -29
  23. package/dist/es/components/design/views/design/view/page-switch.vue.js +1 -1
  24. package/dist/es/components/design/views/design/view/page-switch.vue2.js +8 -8
  25. package/dist/es/components/design/views/design/view/view-design-display.vue.js +5 -154
  26. package/dist/es/components/design/views/design/view/view-design-display.vue2.js +148 -2
  27. package/dist/es/components/design/views/design/view/view-design-preview.vue.js +5 -20
  28. package/dist/es/components/design/views/design/view/view-design-preview.vue2.js +20 -2
  29. package/dist/es/style.css +885 -822
  30. package/package.json +4 -4
@@ -1,32 +1,25 @@
1
- import { defineComponent as e, ref as l, computed as s, onMounted as t, createElementBlock as a, openBlock as n, normalizeStyle as i, createElementVNode as u, normalizeClass as o, withDirectives as c, createVNode as m, vShow as v } from "vue";
2
- import r from "./assemblys-container-list.vue.js";
3
- import d from "./assemblys-container-explore.vue.js";
4
- import p from "./assemblys-container-template.vue.js";
1
+ import { defineComponent as e, ref as l, createElementBlock as s, openBlock as t, createElementVNode as a, normalizeClass as n, withDirectives as u, createVNode as i, vShow as o } from "vue";
2
+ import m from "./assemblys-container-list.vue.js";
3
+ import c from "./assemblys-container-explore.vue.js";
4
+ import v from "./assemblys-container-template.vue.js";
5
5
  import "@element-plus/icons-vue";
6
6
  import "element-plus";
7
7
  import "../../../utils/assemblys-config.js";
8
8
  import "uuid";
9
9
  import "../../../utils/eventBus.js";
10
10
  import "../../../../../stores/page-store.js";
11
- const b = { class: "amb-assembly-header" }, g = { class: "amb-assembly-header-type" }, y = { class: "amb-design-assembly-list" }, f = e({ __name: "assemblys-container", props: { designItems: Array, selectWidget: Object, configure: Object }, emits: ["onSelectWidget", "addEvent", "changeEvent", "onSelectEvent"], setup(e2, { expose: f2, emit: j }) {
12
- const W = j;
11
+ const r = { class: "amb-design-assembly-content" }, d = { class: "amb-assembly-header" }, p = { class: "amb-assembly-header-type" }, b = { class: "amb-design-assembly-list" }, g = e({ __name: "assemblys-container", props: { designItems: Array, selectWidget: Object, configure: Object }, emits: ["onSelectWidget", "addEvent", "changeEvent", "onSelectEvent"], setup(e2, { expose: g2, emit: y }) {
12
+ const f = y;
13
13
  e2.configure;
14
- const h = l("selected"), x = l(""), C = l(""), k = l("");
15
- function E(e3) {
16
- "assembly" == e3 ? (h.value = "selected", x.value = "", C.value = "", k.value = "") : "pageEvent" == e3 ? (x.value = "", h.value = "", C.value = "", k.value = "selected") : "explorer" == e3 ? (x.value = "selected", h.value = "", C.value = "", k.value = "") : (x.value = "", h.value = "", C.value = "selected", k.value = "");
14
+ const j = l("selected"), W = l(""), x = l(""), E = l("");
15
+ function I(e3) {
16
+ "assembly" == e3 ? (j.value = "selected", W.value = "", x.value = "", E.value = "") : "pageEvent" == e3 ? (W.value = "", j.value = "", x.value = "", E.value = "selected") : "explorer" == e3 ? (W.value = "selected", j.value = "", x.value = "", E.value = "") : (W.value = "", j.value = "", x.value = "selected", E.value = "");
17
17
  }
18
- l(null), l(null);
19
- const I = l(null), S = l(), A = s(() => ({ height: S.value + "px" }));
20
- function O(e3, l2) {
21
- W("onSelectWidget", e3, l2);
18
+ function S(e3, l2) {
19
+ f("onSelectWidget", e3, l2);
22
20
  }
23
- return t(() => {
24
- if (I.value) {
25
- const e3 = I.value.getBoundingClientRect();
26
- e3.y && (S.value = window.innerHeight - e3.y);
27
- }
28
- }), f2({ selAsselbyType: "assembly" }), (l2, s2) => (n(), a("div", { class: "amb-design-assembly-content", ref_key: "ambDesignAssemblyContent", ref: I, style: i(A.value) }, [u("div", b, [u("div", g, [u("label", { class: o(h.value), onClick: s2[0] || (s2[0] = (e3) => E("assembly")) }, "组件", 2), u("label", { class: o(x.value), onClick: s2[1] || (s2[1] = (e3) => E("explorer")) }, "大纲", 2), u("label", { class: o(C.value), onClick: s2[2] || (s2[2] = (e3) => E("template")) }, "模板库", 2)])]), u("div", y, [c(m(r, null, null, 512), [[v, h.value]]), c(m(d, { onOnSelectWidget: O, designItems: e2.designItems, selectWidget: e2.selectWidget }, null, 8, ["designItems", "selectWidget"]), [[v, x.value]]), c(m(p, null, null, 512), [[v, C.value]])])], 4));
21
+ return l(null), l(null), g2({ selAsselbyType: "assembly" }), (l2, g3) => (t(), s("div", r, [a("div", d, [a("div", p, [a("label", { class: n(j.value), onClick: g3[0] || (g3[0] = (e3) => I("assembly")) }, "组件", 2), a("label", { class: n(W.value), onClick: g3[1] || (g3[1] = (e3) => I("explorer")) }, "大纲", 2), a("label", { class: n(x.value), onClick: g3[2] || (g3[2] = (e3) => I("template")) }, "模板库", 2)])]), a("div", b, [u(i(m, null, null, 512), [[o, j.value]]), u(i(c, { onOnSelectWidget: S, designItems: e2.designItems, selectWidget: e2.selectWidget }, null, 8, ["designItems", "selectWidget"]), [[o, W.value]]), u(i(v, null, null, 512), [[o, x.value]])])]));
29
22
  } });
30
23
  export {
31
- f as default
24
+ g as default
32
25
  };
@@ -1,41 +1,34 @@
1
- import { defineComponent as e, ref as n, computed as t, onMounted as a, createElementBlock as s, openBlock as o, normalizeStyle as u, createBlock as l, resolveDynamicComponent as i } from "vue";
2
- import m from "../../assemblys/page/page-attr.vue.js";
3
- import r from "../../assemblys/error-attr.vue.js";
4
- import { getAttrComponentByName as f, getComponentEventOptions as v } from "../../../utils/assemblys-config.js";
5
- import { deepCopy as g } from "../../../utils/common-util.js";
6
- const c = e({ __name: "attr-container", props: { pageInfo: Object, system: Object }, setup(e2, { expose: c2 }) {
7
- const p = e2, y = n({}), b = n({});
8
- y.value = p.pageInfo, b.value = m;
9
- const h = n({ index: 1 }), d = n(null), j = n(), x = t(() => ({ height: j.value + "px" }));
10
- a(() => {
11
- if (d.value) {
12
- const e3 = d.value.getBoundingClientRect();
13
- e3.y && (j.value = window.innerHeight - e3.y);
14
- }
15
- });
16
- const A = {};
17
- function C(e3) {
1
+ import { defineComponent as e, ref as n, createElementBlock as t, openBlock as s, createBlock as a, resolveDynamicComponent as o } from "vue";
2
+ import u from "../../assemblys/page/page-attr.vue.js";
3
+ import l from "../../assemblys/error-attr.vue.js";
4
+ import { getAttrComponentByName as m, getComponentEventOptions as r } from "../../../utils/assemblys-config.js";
5
+ import { deepCopy as i } from "../../../utils/common-util.js";
6
+ const f = { style: { height: "100%" } }, p = e({ __name: "attr-container", props: { pageInfo: Object, system: Object }, setup(e2, { expose: p2 }) {
7
+ const c = e2, v = n({}), g = n({});
8
+ v.value = c.pageInfo, g.value = u;
9
+ const y = n({ index: 1 }), b = {};
10
+ function j(e3) {
18
11
  if (e3 && e3.name && "page" !== e3.name) {
19
12
  !function(e4) {
20
13
  if (!e4 || !e4.name || !e4.events) return;
21
- const n3 = v(e4.name);
14
+ const n3 = r(e4.name);
22
15
  if (!n3) return;
23
16
  const t2 = {};
24
17
  for (let n4 of e4.events) t2[n4.name] = n4;
25
- for (let a2 of n3) {
26
- if (t2[a2.name]) continue;
27
- const n4 = g(a2);
18
+ for (let s2 of n3) {
19
+ if (t2[s2.name]) continue;
20
+ const n4 = i(s2);
28
21
  e4.events.push(n4);
29
22
  }
30
- }(e3), y.value = e3;
31
- let n2 = A[e3.name];
32
- null == n2 && (n2 = f(e3.name)), null == n2 && (n2 = r), A[e3.name] = n2, b.value = n2;
33
- } else y.value = p.pageInfo, b.value = m;
23
+ }(e3), v.value = e3;
24
+ let n2 = b[e3.name];
25
+ null == n2 && (n2 = m(e3.name)), null == n2 && (n2 = l), b[e3.name] = n2, g.value = n2;
26
+ } else v.value = c.pageInfo, g.value = u;
34
27
  }
35
- return c2({ changeAssembly: C, changeAssemblyByComponent: function(e3, n2) {
36
- y.value = e3, b.value = n2;
37
- } }), (n2, t2) => (o(), s("div", { style: u([{ height: "100%" }, x.value]), ref_key: "ambDesignAttrContent", ref: d }, [(o(), l(i(b.value), { key: "attr_" + y.value.uuid, indexObj: h.value, pageDesign: e2.pageInfo, system: e2.system, configure: y.value, onChangeAssembly: C }, null, 40, ["indexObj", "pageDesign", "system", "configure"]))], 4));
28
+ return p2({ changeAssembly: j, changeAssemblyByComponent: function(e3, n2) {
29
+ v.value = e3, g.value = n2;
30
+ } }), (n2, u2) => (s(), t("div", f, [(s(), a(o(g.value), { key: "attr_" + v.value.uuid, indexObj: y.value, pageDesign: e2.pageInfo, system: e2.system, configure: v.value, onChangeAssembly: j }, null, 40, ["indexObj", "pageDesign", "system", "configure"]))]));
38
31
  } });
39
32
  export {
40
- c as default
33
+ p as default
41
34
  };
@@ -1,7 +1,7 @@
1
1
  import e from "./page-switch.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const p = t(e, [["__scopeId", "data-v-511b453b"]]);
4
+ const p = t(e, [["__scopeId", "data-v-2076fde4"]]);
5
5
  export {
6
6
  p as default
7
7
  };
@@ -1,9 +1,9 @@
1
- import { defineComponent as e, ref as t, computed as a, onMounted as l, resolveComponent as n, createElementBlock as i, openBlock as o, createVNode as s, withCtx as p, createElementVNode as r, createBlock as d, unref as u, toDisplayString as c, createTextVNode as g } from "vue";
1
+ import { defineComponent as e, ref as t, computed as a, onMounted as l, resolveComponent as n, createElementBlock as o, openBlock as i, createVNode as s, withCtx as p, createElementVNode as d, createBlock as u, unref as r, toDisplayString as c, createTextVNode as g } from "vue";
2
2
  import { Menu as m, Tickets as f, Folder as y, Operation as v, ArrowUp as h, ArrowDown as x } from "@element-plus/icons-vue";
3
3
  import { ElMessageBox as w } from "element-plus";
4
4
  import b from "agilebuilder-ui/src/utils/request";
5
5
  import _ from "agilebuilder-ui/src/utils/i18n-util";
6
- const k = { style: { display: "flex", width: "60px", height: "60px", "margin-left": "60px", "justify-content": "center", "align-items": "center", cursor: "pointer", "margin-right": "60px" } }, C = { style: { "overflow-y": "auto" } }, I = { style: { "vertical-align": "middle" } }, T = { key: 3, style: { "margin-left": "5px" } }, N = { key: 4, style: { "margin-left": "5px" } }, P = e({ __name: "page-switch", props: { pageDesign: { type: Object, default: () => ({}) } }, emits: ["change-page", "init-loaded"], setup(e2, { emit: P2 }) {
6
+ const k = { style: { display: "flex", "min-width": "60px", height: "60px", "margin-left": "15px", "align-items": "center", cursor: "pointer" } }, C = { style: { "overflow-y": "auto" } }, I = { style: { "vertical-align": "middle" } }, T = { key: 3, style: { "margin-left": "5px" } }, N = { key: 4, style: { "margin-left": "5px" } }, P = e({ __name: "page-switch", props: { pageDesign: { type: Object, default: () => ({}) } }, emits: ["change-page", "init-loaded"], setup(e2, { emit: P2 }) {
7
7
  const A = e2, D = P2, S = t(false), z = t(""), L = t(), $ = t(), B = t({ value: "id", label: "name", leaf: "leaf", emitPath: false, lazy: true, lazyLoad: async function(e3, t2) {
8
8
  -1 === V.value && await b.get(window.$vueApp.config.globalProperties.baseAPI + "/mms/systems/getByCode/" + A.pageDesign.systemCode).then((e4) => {
9
9
  if (e4) {
@@ -25,14 +25,14 @@ const k = { style: { display: "flex", width: "60px", height: "60px", "margin-lef
25
25
  b.get(a2).then((e4) => {
26
26
  t2(e4);
27
27
  });
28
- }, expandTrigger: "hover" }), V = t(-1), j = t("");
29
- function F() {
28
+ }, expandTrigger: "hover" }), V = t(-1), F = t("");
29
+ function R() {
30
30
  S.value = true;
31
31
  }
32
- function R() {
32
+ function U() {
33
33
  S.value = false;
34
34
  }
35
- function U(e3) {
35
+ function j(e3) {
36
36
  const t2 = e3.data.id.split("_")[2];
37
37
  return e3.label + " (" + t2 + ")";
38
38
  }
@@ -47,10 +47,10 @@ const k = { style: { display: "flex", width: "60px", height: "60px", "margin-lef
47
47
  });
48
48
  } else L.value.clearCheckedNodes();
49
49
  }
50
- return a(() => options.value.filter((e3) => !j.value || e3.name.toLowerCase().includes(j.value.toLowerCase()))), l(() => {
50
+ return a(() => options.value.filter((e3) => !F.value || e3.name.toLowerCase().includes(F.value.toLowerCase()))), l(() => {
51
51
  }), (t2, a2) => {
52
52
  const l2 = n("el-icon"), w2 = n("el-button"), b2 = n("el-cascader-panel"), _2 = n("el-popover");
53
- return o(), i("div", k, [s(_2, { onShow: F, onHide: R, ref_key: "popoverRef", ref: $, width: "auto", "popper-style": "box-shadow: rgb(14 18 22 / 35%) 0px 10px 38px -10px, rgb(14 18 22 / 20%) 0px 10px 20px -15px; padding: 20px;" }, { reference: p(() => [s(w2, { icon: u(v), style: { width: "150px", "font-size": "14px", "font-weight": "600" } }, { default: p(() => [g(c(e2.pageDesign.label + "(" + e2.pageDesign.version + ")") + " ", 1), S.value ? (o(), d(l2, { key: 0, class: "el-icon--right" }, { default: p(() => [s(u(h))]), _: 1 })) : (o(), d(l2, { key: 1, class: "el-icon--right" }, { default: p(() => [s(u(x))]), _: 1 }))]), _: 1 }, 8, ["icon"])]), default: p(() => [r("div", C, [s(b2, { ref_key: "cascaderRef", ref: L, style: { width: "fit-content", "margin-top": "6px" }, props: B.value, modelValue: z.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e3) => z.value = e3), onChange: q }, { default: p(({ node: e3, data: t3 }) => [r("div", I, ["menu" === t3.menuType ? (o(), d(l2, { key: 0 }, { default: p(() => [s(u(m))]), _: 1 })) : "page" === t3.menuType ? (o(), d(l2, { key: 1 }, { default: p(() => [s(u(f))]), _: 1 })) : (o(), d(l2, { key: 2 }, { default: p(() => [s(u(y))]), _: 1 })), "page" === t3.menuType ? (o(), i("span", T, c(U(e3)), 1)) : (o(), i("span", N, c(e3.label), 1))])]), _: 1 }, 8, ["props", "modelValue"])])]), _: 1 }, 512)]);
53
+ return i(), o("div", k, [s(_2, { onShow: R, onHide: U, ref_key: "popoverRef", ref: $, width: "auto", "popper-style": "box-shadow: rgb(14 18 22 / 35%) 0px 10px 38px -10px, rgb(14 18 22 / 20%) 0px 10px 20px -15px; padding: 20px;" }, { reference: p(() => [s(w2, { icon: r(v), style: { "font-size": "14px", "font-weight": "600" } }, { default: p(() => [g(c(e2.pageDesign.label + "(" + e2.pageDesign.version + ")") + " ", 1), S.value ? (i(), u(l2, { key: 0, class: "el-icon--right" }, { default: p(() => [s(r(h))]), _: 1 })) : (i(), u(l2, { key: 1, class: "el-icon--right" }, { default: p(() => [s(r(x))]), _: 1 }))]), _: 1 }, 8, ["icon"])]), default: p(() => [d("div", C, [s(b2, { ref_key: "cascaderRef", ref: L, style: { width: "fit-content", "margin-top": "6px" }, props: B.value, modelValue: z.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e3) => z.value = e3), onChange: q }, { default: p(({ node: e3, data: t3 }) => [d("div", I, ["menu" === t3.menuType ? (i(), u(l2, { key: 0 }, { default: p(() => [s(r(m))]), _: 1 })) : "page" === t3.menuType ? (i(), u(l2, { key: 1 }, { default: p(() => [s(r(f))]), _: 1 })) : (i(), u(l2, { key: 2 }, { default: p(() => [s(r(y))]), _: 1 })), "page" === t3.menuType ? (i(), o("span", T, c(j(e3)), 1)) : (i(), o("span", N, c(e3.label), 1))])]), _: 1 }, 8, ["props", "modelValue"])])]), _: 1 }, 512)]);
54
54
  };
55
55
  } });
56
56
  export {
@@ -1,156 +1,7 @@
1
- import { defineComponent as e, ref as i, reactive as n, computed as t, watch as l, onMounted as o, onUnmounted as s, resolveComponent as r, createElementBlock as u, openBlock as a, Fragment as c, createElementVNode as g, createBlock as m, createCommentVNode as p, createVNode as f, normalizeStyle as d, withDirectives as v, normalizeClass as b, withCtx as y, unref as h, vShow as C, renderList as j } from "vue";
2
- import { Monitor as S, Cellphone as k, Iphone as O, Plus as _, Check as A, View as T } from "@element-plus/icons";
3
- import { useDraggable as D } from "vue-draggable-plus";
4
- import w from "../../assemblys/object-design.vue.js";
5
- import { deepCopy as x, getUuidv4 as W, findDesignItemByUuid as N } from "../../../utils/common-util.js";
6
- import { addComponentRef as E } from "../../../utils/page-helper-util.js";
7
- import { caculatePageStyle as R } from "../../../utils/container-design-util.js";
8
- import U from "./view-design-preview.vue.js";
9
- import { ElMessage as J } from "element-plus";
10
- import "@vueuse/core";
11
- import "@element-plus/icons-vue";
12
- import "codemirror";
13
- import "@codemirror/lang-javascript";
14
- import "@codemirror/state";
15
- import "@codemirror/autocomplete";
16
- import "@codemirror/language";
17
- import "@codemirror/search";
18
- import "js-beautify";
19
- /* empty css */
20
- import "../../../utils/assemblys-config.js";
21
- import "../../../../../stores/page-store.js";
22
- import "../../../../../stores/event-undo-redo-store.js";
23
- import "../../../utils/eventBus.js";
24
- import P from "./components/quick-add-dialog.vue.js";
25
- import z from "./components/i18n-setting.vue.js";
26
- import { setTableRuntimesFromConfigure as M } from "../../../utils/page-table-util.js";
27
- import B from "agilebuilder-ui/src/utils/request";
28
- import { copyHandleEvents as K, deleteDesignItem as q } from "../../../utils/page-design-util.js";
29
- import { setHomeChartRuntimesFromConfigure as V } from "../../../utils/home-chart-util.js";
30
- import { getFormPropTitleMap as F } from "../../../utils/form-design-util.js";
31
- const H = { class: "amb-design-content-center-header" }, L = { class: "amb-design-tool" }, I = { class: "amb-design-tool-item" }, $ = { class: "amb-design-tool-item", style: { "padding-right": "20px" } }, G = e({ __name: "view-design-display", props: { configure: {}, selectWidget: {}, selAsselbyType: {} }, emits: ["onSelectWidget", "onCustomAttrWidget", "changeSelectEvent", "addEvent", "changeSelectStandardEvent", "revocation", "regain"], setup(e2, { expose: G2, emit: Q }) {
32
- const X = e2, Y = i(null), Z = i(null), ee = Q;
33
- null == X.configure.props && (X.configure.props = {}), null == X.configure.style && (X.configure.style = {}), null != X.configure.items && null != X.configure.items || (X.configure.items = []);
34
- const ie = X.configure.items, ne = i(null), te = n({ index: 0 }), le = i({}), oe = i(""), se = i(null);
35
- ue();
36
- const re = t(function() {
37
- let e3 = null;
38
- "ipad" == X.configure.dimensions ? e3 = 768 : "phone" == X.configure.dimensions && (e3 = 414);
39
- const i2 = { width: e3 ? e3 + "px" : "" };
40
- for (let e4 in le.value) i2[e4] = le.value[e4];
41
- return se.value && (i2["min-height"] = se.value + "px"), i2;
42
- });
43
- function ue() {
44
- R(X.configure, le, oe), X.configure.runtime || (X.configure.runtime = {}), X.configure.runtime.class = oe.value, X.configure.runtime.style = le.value;
45
- }
46
- l(X.configure.props, () => {
47
- ue();
48
- }), l(X.configure.style, () => {
49
- ue();
50
- });
51
- const ae = i(), ce = t(() => ({ height: ae.value + "px" })), ge = i(null);
52
- function me(e3) {
53
- ee("onSelectWidget", -1);
54
- }
55
- function pe(e3, i2) {
56
- ee("onSelectWidget", e3, i2);
57
- }
58
- function fe(e3, i2) {
59
- ee("onCustomAttrWidget", e3, i2);
60
- }
61
- function de(e3) {
62
- const i2 = ie.indexOf(e3), t2 = n(x(e3));
63
- t2.uuid = W(), K(t2), ie.splice(i2, 0, t2);
64
- }
65
- function ve(e3) {
66
- q(ie, e3, e3.items && e3.items.length > 0, true);
67
- }
68
- o(() => {
69
- if (ge.value) {
70
- const e3 = ge.value.getBoundingClientRect();
71
- e3.y && (ae.value = window.innerHeight - e3.y), E(X.configure, -1, ge);
72
- }
73
- if (be.value) {
74
- const e3 = be.value.getBoundingClientRect();
75
- e3.y && (se.value = window.innerHeight - e3.y - 20);
76
- }
77
- });
78
- const be = i(null);
79
- function ye() {
80
- X.configure.i18nKeys && X.configure.i18nKeys.length > 0 && (X.configure.i18nKeys = Array.from(new Set(X.configure.i18nKeys)));
81
- const e3 = JSON.parse(JSON.stringify(X.configure));
82
- e3.tableRuntimes = {}, e3.currentTableConfig = {}, function(e4) {
83
- "form" === e4.pageType && e4.items ? (e4.formPropTiltleMap = F(e4), X.configure.formPropTiltleMap = e4.formPropTiltleMap) : (delete e4.formPropLabelMap, delete X.configure.formPropLabelMap);
84
- if (e4.tableUuids) {
85
- const i2 = {};
86
- e4.tableUuids = e4.tableUuids.filter((n2) => {
87
- const t2 = N(e4, n2);
88
- if (t2) {
89
- if (M(t2, e4), e4.tableRuntimes && e4.tableRuntimes[n2]) {
90
- const l2 = e4.tableRuntimes[n2];
91
- l2.code && (t2.code ? i2[l2.code] = t2.code : i2[l2.code] = l2.code);
92
- }
93
- return true;
94
- }
95
- return false;
96
- }), e4.listCodesMap = i2;
97
- }
98
- e4.homepageChartUuids && (e4.homepageChartUuids = e4.homepageChartUuids.filter((i2) => {
99
- let n2 = N(e4, i2);
100
- return !!n2 && (n2 = JSON.parse(JSON.stringify(n2)), V(n2, e4), true);
101
- }));
102
- }(e3), B.post(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/save", { id: X.configure.id, designJson: JSON.stringify(e3) }).then((e4) => {
103
- J({ message: "保存成功", type: "success" });
104
- }).catch((e4) => {
105
- J({ message: "保存失败", type: "error" });
106
- });
107
- }
108
- D(be, ie, { filter: ".el-scrollbar__bar", preventOnFilter: false, group: "amb-assembly-item", animation: 300, ghostClass: "amb-item-ghost", forceFallback: true, onAdd(e3) {
109
- } });
110
- const he = i(false);
111
- const Ce = i(null), je = i({}), Se = i({}), ke = i(false);
112
- let Oe;
113
- function _e() {
114
- Oe && clearTimeout(Oe), ke.value = false, Oe = setTimeout(() => {
115
- ke.value = true;
116
- }, 1);
117
- }
118
- function Ae(e3) {
119
- if (X.configure.customEvents) {
120
- let i2 = X.configure.customEvents.filter((i3) => i3.eventName === e3);
121
- if (i2 && i2.length > 0) return i2[0];
122
- }
123
- }
124
- return s(() => {
125
- Oe && clearTimeout(Oe);
126
- }), G2({ onSelectEvent: function(e3) {
127
- ke.value = !(!e3 || "selected" !== e3);
128
- }, addEvent: function(e3, i2) {
129
- je.value = e3;
130
- const n2 = Ae(e3.eventName);
131
- n2 && (Se.value = n2), Ce.value = i2 || "event", _e();
132
- }, changeEvent: function(e3) {
133
- if (e3) {
134
- Ce.value = null, je.value = e3;
135
- const i2 = Ae(e3.eventName);
136
- Se.value = i2 || null, _e();
137
- } else ke.value = false;
138
- } }), (e3, i2) => {
139
- const n2 = r("el-icon"), t2 = r("el-divider"), l2 = r("Setting");
140
- return a(), u(c, null, [g("div", { class: "amb-design-content", ref_key: "ambPageDesignContent", ref: ge, style: d(ce.value) }, [g("div", H, [g("div", L, [g("div", I, [v(g("label", { class: b(["amb-page-type", { selected: !e3.configure.dimensions || "pc" == e3.configure.dimensions }]), onClick: i2[0] || (i2[0] = (i3) => e3.configure.dimensions = "pc") }, [f(n2, { size: 23 }, { default: y(() => [f(h(S))]), _: 1 })], 2), [[C, "assembly" === e3.selAsselbyType]]), v(g("label", { class: b(["amb-page-type", { selected: "ipad" == e3.configure.dimensions }]), onClick: i2[1] || (i2[1] = (i3) => e3.configure.dimensions = "ipad") }, [f(n2, { size: 23 }, { default: y(() => [f(h(k))]), _: 1 })], 2), [[C, "assembly" === e3.selAsselbyType]]), v(g("label", { class: b(["amb-page-type", { selected: "phone" == e3.configure.dimensions }]), onClick: i2[2] || (i2[2] = (i3) => e3.configure.dimensions = "phone") }, [f(n2, { size: 23 }, { default: y(() => [f(h(O))]), _: 1 })], 2), [[C, "assembly" === e3.selAsselbyType]]), v(f(t2, { direction: "vertical" }, null, 512), [[C, "assembly" === e3.selAsselbyType]])]), g("div", $, [g("label", { class: "amb-page-type", onClick: i2[3] || (i2[3] = (e4) => {
141
- var _a;
142
- (_a = Z.value) == null ? void 0 : _a.show();
143
- }) }, [f(n2, { size: 18 }, { default: y(() => [f(l2)]), _: 1 }), i2[9] || (i2[9] = g("label", null, "国际化配置", -1))]), g("label", { class: "amb-page-type", onClick: i2[4] || (i2[4] = (e4) => {
144
- Y.value && Y.value.openDialog();
145
- }) }, [f(n2, { size: 18 }, { default: y(() => [f(h(_))]), _: 1 }), i2[10] || (i2[10] = g("label", null, "快捷添加", -1))]), f(t2, { direction: "vertical" }), g("label", { class: "amb-page-type", style: { "margin-left": "0px" }, onClick: i2[5] || (i2[5] = (e4) => ye()) }, [f(n2, { size: 18 }, { default: y(() => [f(h(A))]), _: 1 }), i2[11] || (i2[11] = g("label", null, "保存", -1))]), f(t2, { direction: "vertical" }), g("label", { class: "amb-page-type", style: { "margin-left": "0px" }, onClick: i2[6] || (i2[6] = (e4) => function() {
146
- const e5 = JSON.parse(JSON.stringify(X.configure));
147
- e5.tableRuntimes = {}, e5.tableUuids && e5.tableUuids.forEach((i3) => {
148
- const n3 = N(e5, i3);
149
- n3 && M(n3, e5);
150
- }), ne.value = e5, he.value = true;
151
- }()) }, [f(n2, { size: 18 }, { default: y(() => [f(h(T))]), _: 1 }), i2[12] || (i2[12] = g("label", null, "预览", -1))])])])]), v(g("div", { class: b(["amb-design-board", oe.value]), ref_key: "pageDesignBoardMain", ref: be, style: d(re.value), onClick: me }, [(a(true), u(c, null, j(h(ie), (i3, n3) => (a(), m(w, { key: i3.uuid, indexObj: te, configure: i3, pageDesign: e3.configure, selectWidget: e3.selectWidget, onOnSelectWidget: pe, onOnCustomAttrWidget: fe, onOnCopy: de, onOnDelete: ve }, null, 8, ["indexObj", "configure", "pageDesign", "selectWidget"]))), 128))], 6), [[C, "assembly" === e3.selAsselbyType]])], 4), he.value ? (a(), m(U, { key: 0, pageDesign: ne.value, modelValue: he.value, "onUpdate:modelValue": i2[7] || (i2[7] = (e4) => he.value = e4), onClose: i2[8] || (i2[8] = (e4) => he.value = false) }, null, 8, ["pageDesign", "modelValue"])) : p("", true), f(P, { ref_key: "quickAddDialogRef", ref: Y, pageDesign: e3.configure }, null, 8, ["pageDesign"]), f(z, { ref_key: "i18nSettingRef", ref: Z, pageDesign: e3.configure }, null, 8, ["pageDesign"])], 64);
152
- };
153
- } });
1
+ import e from "./view-design-display.vue2.js";
2
+ /* empty css */
3
+ import i from "../../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const p = i(e, [["__scopeId", "data-v-d39ebdb2"]]);
154
5
  export {
155
- G as default
6
+ p as default
156
7
  };
@@ -1,4 +1,150 @@
1
- import e from "./view-design-display.vue.js";
1
+ import { defineComponent as e, ref as i, reactive as t, computed as n, watch as l, onMounted as o, onUnmounted as s, resolveComponent as r, createElementBlock as a, openBlock as u, Fragment as c, createElementVNode as m, createBlock as g, createCommentVNode as p, createVNode as f, withDirectives as d, normalizeClass as v, withCtx as b, unref as y, vShow as h, normalizeStyle as j, renderList as C } from "vue";
2
+ import { Monitor as S, Cellphone as k, Iphone as _, Plus as O, Check as A, View as T } from "@element-plus/icons";
3
+ import { useDraggable as D } from "vue-draggable-plus";
4
+ import x from "../../assemblys/object-design.vue.js";
5
+ import { deepCopy as W, getUuidv4 as N, findDesignItemByUuid as E } from "../../../utils/common-util.js";
6
+ import { addComponentRef as U } from "../../../utils/page-helper-util.js";
7
+ import { caculatePageStyle as w } from "../../../utils/container-design-util.js";
8
+ import J from "./view-design-preview.vue.js";
9
+ import { ElMessage as P } from "element-plus";
10
+ import "@vueuse/core";
11
+ import "@element-plus/icons-vue";
12
+ import "codemirror";
13
+ import "@codemirror/lang-javascript";
14
+ import "@codemirror/state";
15
+ import "@codemirror/autocomplete";
16
+ import "@codemirror/language";
17
+ import "@codemirror/search";
18
+ import "js-beautify";
19
+ /* empty css */
20
+ import "../../../utils/assemblys-config.js";
21
+ import "../../../../../stores/page-store.js";
22
+ import "../../../../../stores/event-undo-redo-store.js";
23
+ import "../../../utils/eventBus.js";
24
+ import z from "./components/quick-add-dialog.vue.js";
25
+ import M from "./components/i18n-setting.vue.js";
26
+ import { setTableRuntimesFromConfigure as R } from "../../../utils/page-table-util.js";
27
+ import K from "agilebuilder-ui/src/utils/request";
28
+ import { copyHandleEvents as q, deleteDesignItem as V } from "../../../utils/page-design-util.js";
29
+ import { setHomeChartRuntimesFromConfigure as B } from "../../../utils/home-chart-util.js";
30
+ import { getFormPropTitleMap as F } from "../../../utils/form-design-util.js";
31
+ import "super-page-runtime";
32
+ const L = { class: "amb-design-content-center-header" }, I = { class: "amb-design-tool" }, $ = { class: "amb-design-tool-item" }, G = { class: "amb-design-tool-item", style: { "padding-right": "20px" } }, H = e({ __name: "view-design-display", props: { configure: {}, selectWidget: {}, selAsselbyType: {} }, emits: ["onSelectWidget", "onCustomAttrWidget", "changeSelectEvent", "addEvent", "changeSelectStandardEvent", "revocation", "regain"], setup(e2, { expose: H2, emit: Q }) {
33
+ const X = e2, Y = i(null), Z = i(null), ee = Q;
34
+ null == X.configure.props && (X.configure.props = {}), null == X.configure.style && (X.configure.style = {}), null != X.configure.items && null != X.configure.items || (X.configure.items = []);
35
+ const ie = X.configure.items, te = i(null), ne = t({ index: 0 }), le = i({}), oe = i(""), se = i(null);
36
+ ae();
37
+ const re = n(function() {
38
+ let e3 = null;
39
+ "ipad" == X.configure.dimensions ? e3 = 768 : "phone" == X.configure.dimensions && (e3 = 414);
40
+ const i2 = { width: e3 ? e3 + "px" : "" };
41
+ for (let e4 in le.value) i2[e4] = le.value[e4];
42
+ return se.value && (i2["min-height"] = se.value + "px"), i2;
43
+ });
44
+ function ae() {
45
+ w(X.configure, le, oe), X.configure.runtime || (X.configure.runtime = {}), X.configure.runtime.class = oe.value, X.configure.runtime.style = le.value;
46
+ }
47
+ l(X.configure.props, () => {
48
+ ae();
49
+ }), l(X.configure.style, () => {
50
+ ae();
51
+ });
52
+ const ue = i(null);
53
+ function ce(e3) {
54
+ ee("onSelectWidget", -1);
55
+ }
56
+ function me(e3, i2) {
57
+ ee("onSelectWidget", e3, i2);
58
+ }
59
+ function ge(e3, i2) {
60
+ ee("onCustomAttrWidget", e3, i2);
61
+ }
62
+ function pe(e3) {
63
+ const i2 = ie.indexOf(e3), n2 = t(W(e3));
64
+ n2.uuid = N(), q(n2), ie.splice(i2, 0, n2);
65
+ }
66
+ function fe(e3) {
67
+ V(ie, e3, e3.items && e3.items.length > 0, true);
68
+ }
69
+ o(() => {
70
+ ue.value && U(X.configure, -1, ue);
71
+ });
72
+ const de = i(null);
73
+ function ve() {
74
+ X.configure.i18nKeys && X.configure.i18nKeys.length > 0 && (X.configure.i18nKeys = Array.from(new Set(X.configure.i18nKeys)));
75
+ const e3 = JSON.parse(JSON.stringify(X.configure));
76
+ e3.tableRuntimes = {}, e3.currentTableConfig = {}, function(e4) {
77
+ "form" === e4.pageType && e4.items ? (e4.formPropTiltleMap = F(e4), X.configure.formPropTiltleMap = e4.formPropTiltleMap) : (delete e4.formPropLabelMap, delete X.configure.formPropLabelMap);
78
+ if (e4.tableUuids) {
79
+ const i2 = {};
80
+ e4.tableUuids = e4.tableUuids.filter((t2) => {
81
+ const n2 = E(e4, t2);
82
+ if (n2) {
83
+ if (R(n2, e4), e4.tableRuntimes && e4.tableRuntimes[t2]) {
84
+ const l2 = e4.tableRuntimes[t2];
85
+ l2.code && (n2.code ? i2[l2.code] = n2.code : i2[l2.code] = l2.code);
86
+ }
87
+ return true;
88
+ }
89
+ return false;
90
+ }), e4.listCodesMap = i2;
91
+ }
92
+ e4.homepageChartUuids && (e4.homepageChartUuids = e4.homepageChartUuids.filter((i2) => {
93
+ let t2 = E(e4, i2);
94
+ return !!t2 && (t2 = JSON.parse(JSON.stringify(t2)), B(t2, e4), true);
95
+ }));
96
+ }(e3), K.post(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/save", { id: X.configure.id, designJson: JSON.stringify(e3) }).then((e4) => {
97
+ P({ message: "保存成功", type: "success" });
98
+ }).catch((e4) => {
99
+ P({ message: "保存失败", type: "error" });
100
+ });
101
+ }
102
+ D(de, ie, { filter: ".el-scrollbar__bar", preventOnFilter: false, group: "amb-assembly-item", animation: 300, ghostClass: "amb-item-ghost", forceFallback: true, onAdd(e3) {
103
+ } });
104
+ const be = i(false);
105
+ const ye = i(null), he = i({}), je = i({}), Ce = i(false);
106
+ let Se;
107
+ function ke() {
108
+ Se && clearTimeout(Se), Ce.value = false, Se = setTimeout(() => {
109
+ Ce.value = true;
110
+ }, 1);
111
+ }
112
+ function _e(e3) {
113
+ if (X.configure.customEvents) {
114
+ let i2 = X.configure.customEvents.filter((i3) => i3.eventName === e3);
115
+ if (i2 && i2.length > 0) return i2[0];
116
+ }
117
+ }
118
+ return s(() => {
119
+ Se && clearTimeout(Se);
120
+ }), H2({ onSelectEvent: function(e3) {
121
+ Ce.value = !(!e3 || "selected" !== e3);
122
+ }, addEvent: function(e3, i2) {
123
+ he.value = e3;
124
+ const t2 = _e(e3.eventName);
125
+ t2 && (je.value = t2), ye.value = i2 || "event", ke();
126
+ }, changeEvent: function(e3) {
127
+ if (e3) {
128
+ ye.value = null, he.value = e3;
129
+ const i2 = _e(e3.eventName);
130
+ je.value = i2 || null, ke();
131
+ } else Ce.value = false;
132
+ } }), (e3, i2) => {
133
+ const t2 = r("el-icon"), n2 = r("el-divider"), l2 = r("Setting"), o2 = r("el-scrollbar");
134
+ return u(), a(c, null, [m("div", { class: "amb-design-content", ref_key: "ambPageDesignContent", ref: ue }, [m("div", L, [m("div", I, [m("div", $, [d(m("label", { class: v(["amb-page-type", { selected: !e3.configure.dimensions || "pc" == e3.configure.dimensions }]), onClick: i2[0] || (i2[0] = (i3) => e3.configure.dimensions = "pc") }, [f(t2, { size: 23 }, { default: b(() => [f(y(S))]), _: 1 })], 2), [[h, "assembly" === e3.selAsselbyType]]), d(m("label", { class: v(["amb-page-type", { selected: "ipad" == e3.configure.dimensions }]), onClick: i2[1] || (i2[1] = (i3) => e3.configure.dimensions = "ipad") }, [f(t2, { size: 23 }, { default: b(() => [f(y(k))]), _: 1 })], 2), [[h, "assembly" === e3.selAsselbyType]]), d(m("label", { class: v(["amb-page-type", { selected: "phone" == e3.configure.dimensions }]), onClick: i2[2] || (i2[2] = (i3) => e3.configure.dimensions = "phone") }, [f(t2, { size: 23 }, { default: b(() => [f(y(_))]), _: 1 })], 2), [[h, "assembly" === e3.selAsselbyType]]), d(f(n2, { direction: "vertical" }, null, 512), [[h, "assembly" === e3.selAsselbyType]])]), m("div", G, [m("label", { class: "amb-page-type", onClick: i2[3] || (i2[3] = (e4) => {
135
+ var _a;
136
+ (_a = Z.value) == null ? void 0 : _a.show();
137
+ }) }, [f(t2, { size: 18 }, { default: b(() => [f(l2)]), _: 1 }), i2[9] || (i2[9] = m("label", null, "国际化配置", -1))]), m("label", { class: "amb-page-type", onClick: i2[4] || (i2[4] = (e4) => {
138
+ Y.value && Y.value.openDialog();
139
+ }) }, [f(t2, { size: 18 }, { default: b(() => [f(y(O))]), _: 1 }), i2[10] || (i2[10] = m("label", null, "快捷添加", -1))]), f(n2, { direction: "vertical" }), m("label", { class: "amb-page-type", style: { "margin-left": "0px" }, onClick: i2[5] || (i2[5] = (e4) => ve()) }, [f(t2, { size: 18 }, { default: b(() => [f(y(A))]), _: 1 }), i2[11] || (i2[11] = m("label", null, "保存", -1))]), f(n2, { direction: "vertical" }), m("label", { class: "amb-page-type", style: { "margin-left": "0px" }, onClick: i2[6] || (i2[6] = (e4) => function() {
140
+ const e5 = JSON.parse(JSON.stringify(X.configure));
141
+ e5.tableRuntimes = {}, e5.tableUuids && e5.tableUuids.forEach((i3) => {
142
+ const t3 = E(e5, i3);
143
+ t3 && R(t3, e5);
144
+ }), te.value = e5, be.value = true;
145
+ }()) }, [f(t2, { size: 18 }, { default: b(() => [f(y(T))]), _: 1 }), i2[12] || (i2[12] = m("label", null, "预览", -1))])])])]), f(o2, { height: "100%" }, { default: b(() => [d(m("div", { class: v(["amb-design-board", oe.value]), ref_key: "pageDesignBoardMain", ref: de, style: j(re.value), onClick: ce }, [(u(true), a(c, null, C(y(ie), (i3, t3) => (u(), g(x, { key: i3.uuid, indexObj: ne, configure: i3, pageDesign: e3.configure, selectWidget: e3.selectWidget, onOnSelectWidget: me, onOnCustomAttrWidget: ge, onOnCopy: pe, onOnDelete: fe }, null, 8, ["indexObj", "configure", "pageDesign", "selectWidget"]))), 128))], 6), [[h, "assembly" === e3.selAsselbyType]])]), _: 1 })], 512), be.value ? (u(), g(J, { key: 0, pageDesign: te.value, modelValue: be.value, "onUpdate:modelValue": i2[7] || (i2[7] = (e4) => be.value = e4), onClose: i2[8] || (i2[8] = (e4) => be.value = false) }, null, 8, ["pageDesign", "modelValue"])) : p("", true), f(z, { ref_key: "quickAddDialogRef", ref: Y, pageDesign: e3.configure }, null, 8, ["pageDesign"]), f(M, { ref_key: "i18nSettingRef", ref: Z, pageDesign: e3.configure }, null, 8, ["pageDesign"])], 64);
146
+ };
147
+ } });
2
148
  export {
3
- e as default
149
+ H as default
4
150
  };
@@ -1,22 +1,7 @@
1
- import { defineComponent as e, computed as s, resolveComponent as i, createBlock as n, openBlock as t, withCtx as r, createVNode as o, unref as l, normalizeStyle as p } from "vue";
2
- import { SuperPageNew as a } from "super-page-runtime";
3
- import { PageDimensions as g } from "../../../utils/interfaces/page-design-types.js";
4
- const u = e({ __name: "view-design-preview", props: { pageDesign: {} }, emits: ["close"], setup(e2, { emit: u2 }) {
5
- const d = e2, m = s(() => "预览【" + d.pageDesign.label + "】"), c = u2, f = s(() => {
6
- const e3 = d.pageDesign.dimensions, s2 = {};
7
- let i2 = null;
8
- if (g.IPAD === e3) i2 = 768;
9
- else {
10
- if (g.PHONE !== e3) return s2;
11
- i2 = 414;
12
- }
13
- return s2.width = i2 + "px", s2.border = "1px solid #dcdfe6", s2["border-radius"] = "4px", s2;
14
- });
15
- return (e3, s2) => {
16
- const g2 = i("el-dialog");
17
- return t(), n(g2, { fullscreen: "", "close-on-press-escape": false, title: m.value, onClose: s2[0] || (s2[0] = (e4) => c("close")) }, { default: r(() => [o(l(a), { style: p([{ margin: "0 auto" }, f.value]), pageDesign: e3.pageDesign, publishVersion: e3.pageDesign.systemVersion, dimensions: e3.pageDesign.dimensions, isTest: true }, null, 8, ["style", "pageDesign", "publishVersion", "dimensions"])]), _: 1 }, 8, ["title"]);
18
- };
19
- } });
1
+ import e from "./view-design-preview.vue2.js";
2
+ /* empty css */
3
+ import i from "../../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const r = i(e, [["__scopeId", "data-v-3e4e707a"]]);
20
5
  export {
21
- u as default
6
+ r as default
22
7
  };
@@ -1,4 +1,22 @@
1
- import e from "./view-design-preview.vue.js";
1
+ import { defineComponent as e, computed as s, resolveComponent as i, createBlock as n, openBlock as t, withCtx as r, createVNode as o, unref as l, normalizeStyle as p } from "vue";
2
+ import { SuperPageNew as a } from "super-page-runtime";
3
+ import { PageDimensions as g } from "../../../utils/interfaces/page-design-types.js";
4
+ const u = e({ __name: "view-design-preview", props: { pageDesign: {} }, emits: ["close"], setup(e2, { emit: u2 }) {
5
+ const d = e2, m = s(() => "预览【" + d.pageDesign.label + "】"), c = u2, f = s(() => {
6
+ const e3 = d.pageDesign.dimensions, s2 = {};
7
+ let i2 = null;
8
+ if (g.IPAD === e3) i2 = 768;
9
+ else {
10
+ if (g.PHONE !== e3) return s2;
11
+ i2 = 414;
12
+ }
13
+ return s2.width = i2 + "px", s2.border = "1px solid #dcdfe6", s2["border-radius"] = "4px", s2;
14
+ });
15
+ return (e3, s2) => {
16
+ const g2 = i("el-dialog");
17
+ return t(), n(g2, { fullscreen: "", "close-on-press-escape": false, title: m.value, onClose: s2[0] || (s2[0] = (e4) => c("close")) }, { default: r(() => [o(l(a), { style: p([{ margin: "0 auto" }, f.value]), pageDesign: e3.pageDesign, publishVersion: e3.pageDesign.systemVersion, dimensions: e3.pageDesign.dimensions, isTest: true }, null, 8, ["style", "pageDesign", "publishVersion", "dimensions"])]), _: 1 }, 8, ["title"]);
18
+ };
19
+ } });
2
20
  export {
3
- e as default
21
+ u as default
4
22
  };