super-page-designer 2.3.17-sit1-design1 → 2.3.17-sit2-design1

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,76 +1,83 @@
1
- import { defineComponent as e, ref as t, onMounted as l, onUnmounted as o, resolveComponent as n, createElementBlock as a, openBlock as r, createElementVNode as i, createVNode as s, createTextVNode as u, withCtx as c, unref as d, normalizeStyle as m } from "vue";
2
- import { useLocalStorage as f } from "@vueuse/core";
3
- import { Search as p, MagicStick as v } from "@element-plus/icons-vue";
1
+ import { defineComponent as e, ref as t, onMounted as l, onUnmounted as o, resolveComponent as a, createElementBlock as n, openBlock as r, createElementVNode as i, createVNode as s, createTextVNode as u, withCtx as c, unref as m, normalizeStyle as p } from "vue";
2
+ import { useLocalStorage as d } from "@vueuse/core";
3
+ import { Search as f, MagicStick as v } from "@element-plus/icons-vue";
4
4
  import { EditorView as h, basicSetup as g } from "codemirror";
5
5
  import { javascriptLanguage as b, javascript as _ } from "@codemirror/lang-javascript";
6
- import { EditorState as x } from "@codemirror/state";
6
+ import { EditorState as y } from "@codemirror/state";
7
7
  import "@codemirror/autocomplete";
8
8
  import "@codemirror/language";
9
- import { openSearchPanel as y } from "@codemirror/search";
9
+ import { openSearchPanel as x } from "@codemirror/search";
10
10
  import k from "js-beautify";
11
- import w from "./completion-data.js";
12
- const j = { style: { padding: "8px 16px", margin: "10px 0px", "background-color": "#f4f4f5" }, class: "pppp" }, C = { style: { color: "#909399", "font-size": "14px" } }, z = { key: 0 }, F = { key: 1 }, S = { class: "editorTool" }, O = e({ __name: "config", props: { eventForm: { type: Object, default: () => ({}) } }, emits: ["fullScreen"], setup(e2, { expose: O2, emit: V }) {
13
- const D = e2;
11
+ import C from "./completion-data.js";
12
+ const j = { style: { padding: "8px 16px", margin: "10px 0px", "background-color": "#f4f4f5" }, class: "pppp" }, w = { style: { color: "#909399", "font-size": "14px" } }, z = { key: 0 }, F = { key: 1 }, S = { class: "editorTool" }, O = e({ __name: "config", props: { eventForm: { type: Object, default: () => ({}) } }, emits: ["fullScreen"], setup(e2, { expose: O2, emit: V }) {
13
+ const L = e2;
14
14
  t(false);
15
- const L = t({ theme: "default", fontSize: 14, searchOpen: false }), T = t(null), W = t(null), $ = t(null), B = t({ backgroundColor: "#fff", color: "#333", border: "1px solid #ddd", overflow: "auto" });
16
- let R;
15
+ const D = t({ theme: "default", fontSize: 14, searchOpen: false }), E = t(null), W = t(null), R = t(null), T = t({ backgroundColor: "#fff", color: "#333", border: "1px solid #ddd", overflow: "auto" });
16
+ let B;
17
17
  l(() => {
18
- let e3 = f("editorStyle", "").value;
19
- e3 && (e3 = JSON.parse(e3), L.value.theme = e3.theme || "default", L.value.fontSize = e3.fontSize || 14), G();
18
+ let e3 = d("editorStyle", "").value;
19
+ e3 && (e3 = JSON.parse(e3), D.value.theme = e3.theme || "default", D.value.fontSize = e3.fontSize || 14), H();
20
20
  }), o(() => {
21
- R && clearTimeout(R);
21
+ B && clearTimeout(B);
22
22
  });
23
23
  const U = b.data.of({ autocomplete: function(e3) {
24
- const t2 = e3.matchBefore(/(?:window\.[\w$\.]*|logicContext\.[\w$\.]*)/);
25
- if (!t2 || "" === t2.text) return null;
26
- const l2 = t2.text;
27
- if (w[l2]) return { from: t2.from, options: w[l2], filter: true };
28
- let o2 = null;
29
- for (const e4 of Object.keys(w)) l2.startsWith(e4) && (!o2 || e4.length > o2.length) && (o2 = e4);
30
- if (!o2) for (const e4 of Object.keys(w)) e4.startsWith(l2) && (!o2 || e4.length > o2.length) && (o2 = e4);
31
- if (o2) {
32
- let e4 = w[o2];
33
- return (l2.length > o2.length || l2 !== o2) && (e4 = e4.filter((e5) => e5.label.startsWith(l2))), { from: t2.from, options: e4, filter: false };
24
+ const t2 = Object.keys(C).map((e4) => e4.replace(".", "\\.")), l2 = new RegExp(`(?:${t2.map((e4) => e4.replace(/\\\./g, "") + "[\\.\\w$]*").join("|")})`), o2 = e3.matchBefore(l2);
25
+ if (!o2 || "" === o2.text) return null;
26
+ const a2 = o2.text;
27
+ if (C[a2]) return { from: o2.from, options: C[a2], filter: true };
28
+ let n2 = null;
29
+ for (const e4 of Object.keys(C)) a2.startsWith(e4) && (!n2 || e4.length > n2.length) && (n2 = e4);
30
+ if (n2) {
31
+ let e4 = C[n2];
32
+ if (a2.length > n2.length && (e4 = e4.filter((e5) => e5.label.toLowerCase().startsWith(a2.toLowerCase()))), e4.length > 0) return { from: o2.from, options: e4, filter: false };
33
+ }
34
+ const r2 = Object.keys(C).filter((e4) => e4.startsWith(a2) || e4.slice(0, -1).startsWith(a2));
35
+ if (r2.length > 0) {
36
+ const e4 = [];
37
+ if (r2.forEach((t3) => {
38
+ C[t3].forEach((t4) => {
39
+ t4.label.toLowerCase().startsWith(a2.toLowerCase()) && e4.push(t4);
40
+ });
41
+ }), e4.length > 0) return { from: o2.from, options: e4, filter: false };
34
42
  }
35
- if ("window.$" === l2) return { from: t2.from, options: w["window."].filter((e4) => e4.label.startsWith("window.$")), filter: false };
36
43
  return null;
37
44
  } });
38
45
  function q() {
39
- f("editorStyle", L.value).value = L.value, T.value && (T.value && T.value.destroy(), G());
40
- }
41
- function E() {
42
- const e3 = h.theme({}), t2 = h.theme({ ".cm-content, .cm-gutter": { minHeight: "400px" }, "&": { fontSize: L.value.fontSize + "px" } });
43
- return x.create({ doc: D.eventForm.jsContent, extensions: [x.tabSize.of(16), g, _(), U, e3, t2, h.updateListener.of(function(e4) {
44
- D.eventForm.jsContent = e4.state.doc.toString();
45
- })] });
46
+ d("editorStyle", D.value).value = D.value, E.value && (E.value && E.value.destroy(), H());
46
47
  }
47
48
  function G() {
48
- const e3 = E();
49
- T.value = new h({ state: e3, parent: document.getElementById("cf-codemirror") || void 0 });
49
+ const e3 = h.theme({}), t2 = h.theme({ ".cm-content, .cm-gutter": { minHeight: "400px" }, "&": { fontSize: D.value.fontSize + "px" } });
50
+ return y.create({ doc: L.eventForm.jsContent, extensions: [y.tabSize.of(16), g, _(), U, e3, t2, h.updateListener.of(function(e4) {
51
+ L.eventForm.jsContent = e4.state.doc.toString();
52
+ })] });
50
53
  }
51
54
  function H() {
52
- if (T.value) {
53
- T.value.focus(), y(T.value) && T.value.update([]);
54
- }
55
+ const e3 = G();
56
+ E.value = new h({ state: e3, parent: document.getElementById("cf-codemirror") || void 0 });
55
57
  }
56
58
  function J() {
57
- if (T.value) {
58
- const e3 = k.js(D.eventForm.jsContent, { indent_level: 0, indent_size: 2, space_in_empty_paren: false, max_preserve_newlines: 2, preserve_newlines: true, jslint_happy: false, keep_array_indentation: false, keep_function_indentation: false, space_before_conditional: true, break_chained_methods: false, eval_code: false, unescape_strings: false, wrap_line_length: 0, end_with_newline: false });
59
- T.value.dispatch({ changes: { from: 0, to: D.eventForm.jsContent.length, insert: e3 } });
59
+ if (E.value) {
60
+ E.value.focus(), x(E.value) && E.value.update([]);
61
+ }
62
+ }
63
+ function P() {
64
+ if (E.value) {
65
+ const e3 = k.js(L.eventForm.jsContent, { indent_level: 0, indent_size: 2, space_in_empty_paren: false, max_preserve_newlines: 2, preserve_newlines: true, jslint_happy: false, keep_array_indentation: false, keep_function_indentation: false, space_before_conditional: true, break_chained_methods: false, eval_code: false, unescape_strings: false, wrap_line_length: 0, end_with_newline: false });
66
+ E.value.dispatch({ changes: { from: 0, to: L.eventForm.jsContent.length, insert: e3 } });
60
67
  }
61
68
  }
62
69
  return O2({ resize: function() {
63
- R && clearTimeout(R), W.value && (R = setTimeout(() => {
70
+ B && clearTimeout(B), W.value && (B = setTimeout(() => {
64
71
  const e3 = W.value.getBoundingClientRect(), t2 = window.innerHeight - e3.y - 30 + "px";
65
- T.value && T.value.dom && (T.value.dom.style.height = t2);
72
+ E.value && E.value.dom && (E.value.dom.style.height = t2);
66
73
  }, 10));
67
74
  }, updateJsContent: function(e3) {
68
75
  var _a;
69
- const t2 = D.eventForm.jsContent ? D.eventForm.jsContent : "";
70
- e3 && D.eventForm && (e3.jsContent || (e3.jsContent = ""), Object.assign(D.eventForm, e3), (_a = T.value) == null ? void 0 : _a.dispatch({ changes: { from: 0, to: t2.length, insert: D.eventForm.jsContent } }));
76
+ const t2 = L.eventForm.jsContent ? L.eventForm.jsContent : "";
77
+ e3 && L.eventForm && (e3.jsContent || (e3.jsContent = ""), Object.assign(L.eventForm, e3), (_a = E.value) == null ? void 0 : _a.dispatch({ changes: { from: 0, to: t2.length, insert: L.eventForm.jsContent } }));
71
78
  } }), (t2, l2) => {
72
- const o2 = n("el-input"), f2 = n("el-option"), h2 = n("el-select"), g2 = n("el-tooltip"), b2 = n("el-icon");
73
- return r(), a("div", { style: { "padding-right": "20px" }, ref_key: "editorContentRef", ref: $ }, [i("div", j, [i("span", C, [l2[6] || (l2[6] = u(" function ")), "customFunc" === e2.eventForm.name ? (r(), a("span", z, [l2[3] || (l2[3] = u(" ( ")), l2[4] || (l2[4] = i("span", { class: "is_req" }, [i("span", { class: "cell--span required__label" })], -1)), s(o2, { size: "small", modelValue: e2.eventForm.funcParam, "onUpdate:modelValue": l2[0] || (l2[0] = (t3) => e2.eventForm.funcParam = t3), style: { width: "300px" }, title: "方法参数" }, null, 8, ["modelValue"]), l2[5] || (l2[5] = u(" ) "))])) : (r(), a("span", F, " ( params ) ")), l2[7] || (l2[7] = u("{ "))]), i("span", S, [s(g2, { class: "box-item", effect: "dark", content: "切换主题", placement: "top" }, { default: c(() => [s(h2, { class: "editorOption", onChange: q, modelValue: L.value.theme, "onUpdate:modelValue": l2[1] || (l2[1] = (e3) => L.value.theme = e3), placeholder: "", size: "small", style: { width: "120px" } }, { default: c(() => [s(f2, { label: "默认", value: "default" }), s(f2, { label: "VScodeDark", value: "vscodeDark" }), s(f2, { label: "Dracula", value: "dracula" }), s(f2, { label: "GithubLight", value: "githubLight" }), s(f2, { label: "GithubDark", value: "githubDark" }), s(f2, { label: "Eclipse", value: "eclipse" }), s(f2, { label: "XcodeLight", value: "xcodeLight" }), s(f2, { label: "XcodeDark", value: "xcodeDark" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(g2, { class: "box-item", effect: "dark", content: "切换字体大小", placement: "top" }, { default: c(() => [s(h2, { class: "editorOption", modelValue: L.value.fontSize, "onUpdate:modelValue": l2[2] || (l2[2] = (e3) => L.value.fontSize = e3), placeholder: "", onChange: q, size: "small", style: { width: "80px" } }, { default: c(() => [s(f2, { label: "12", value: 12 }), s(f2, { label: "14", value: 14 }), s(f2, { label: "16", value: 16 }), s(f2, { label: "18", value: 18 }), s(f2, { label: "20", value: 20 }), s(f2, { label: "22", value: 22 }), s(f2, { label: "24", value: 24 }), s(f2, { label: "26", value: 26 }), s(f2, { label: "28", value: 28 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })]), s(g2, { class: "box-item", effect: "dark", content: "打开搜索", placement: "top" }, { default: c(() => [s(b2, { class: "editorOption", onClick: H }, { default: c(() => [s(d(p))]), _: 1 })]), _: 1 }), s(g2, { class: "box-item", effect: "dark", content: "格式化代码", placement: "top" }, { default: c(() => [s(b2, { class: "editorOption", onClick: J }, { default: c(() => [s(d(v))]), _: 1 })]), _: 1 })]), i("div", { style: m(B.value), id: "cf-codemirror", ref_key: "codemirrorRef", ref: W }, null, 4), l2[8] || (l2[8] = i("span", { style: { color: "gray" } }, " }", -1))], 512);
79
+ const o2 = a("el-input"), d2 = a("el-option"), h2 = a("el-select"), g2 = a("el-tooltip"), b2 = a("el-icon");
80
+ return r(), n("div", { style: { "padding-right": "20px" }, ref_key: "editorContentRef", ref: R }, [i("div", j, [i("span", w, [l2[6] || (l2[6] = u(" function ")), "customFunc" === e2.eventForm.name ? (r(), n("span", z, [l2[3] || (l2[3] = u(" ( ")), l2[4] || (l2[4] = i("span", { class: "is_req" }, [i("span", { class: "cell--span required__label" })], -1)), s(o2, { size: "small", modelValue: e2.eventForm.funcParam, "onUpdate:modelValue": l2[0] || (l2[0] = (t3) => e2.eventForm.funcParam = t3), style: { width: "300px" }, title: "方法参数" }, null, 8, ["modelValue"]), l2[5] || (l2[5] = u(" ) "))])) : (r(), n("span", F, " ( params ) ")), l2[7] || (l2[7] = u("{ "))]), i("span", S, [s(g2, { class: "box-item", effect: "dark", content: "切换主题", placement: "top" }, { default: c(() => [s(h2, { class: "editorOption", onChange: q, modelValue: D.value.theme, "onUpdate:modelValue": l2[1] || (l2[1] = (e3) => D.value.theme = e3), placeholder: "", size: "small", style: { width: "120px" } }, { default: c(() => [s(d2, { label: "默认", value: "default" }), s(d2, { label: "VScodeDark", value: "vscodeDark" }), s(d2, { label: "Dracula", value: "dracula" }), s(d2, { label: "GithubLight", value: "githubLight" }), s(d2, { label: "GithubDark", value: "githubDark" }), s(d2, { label: "Eclipse", value: "eclipse" }), s(d2, { label: "XcodeLight", value: "xcodeLight" }), s(d2, { label: "XcodeDark", value: "xcodeDark" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(g2, { class: "box-item", effect: "dark", content: "切换字体大小", placement: "top" }, { default: c(() => [s(h2, { class: "editorOption", modelValue: D.value.fontSize, "onUpdate:modelValue": l2[2] || (l2[2] = (e3) => D.value.fontSize = e3), placeholder: "", onChange: q, size: "small", style: { width: "80px" } }, { default: c(() => [s(d2, { label: "12", value: 12 }), s(d2, { label: "14", value: 14 }), s(d2, { label: "16", value: 16 }), s(d2, { label: "18", value: 18 }), s(d2, { label: "20", value: 20 }), s(d2, { label: "22", value: 22 }), s(d2, { label: "24", value: 24 }), s(d2, { label: "26", value: 26 }), s(d2, { label: "28", value: 28 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })]), s(g2, { class: "box-item", effect: "dark", content: "打开搜索", placement: "top" }, { default: c(() => [s(b2, { class: "editorOption", onClick: J }, { default: c(() => [s(m(f))]), _: 1 })]), _: 1 }), s(g2, { class: "box-item", effect: "dark", content: "格式化代码", placement: "top" }, { default: c(() => [s(b2, { class: "editorOption", onClick: P }, { default: c(() => [s(m(v))]), _: 1 })]), _: 1 })]), i("div", { style: p(T.value), id: "cf-codemirror", ref_key: "codemirrorRef", ref: W }, null, 4), l2[8] || (l2[8] = i("span", { style: { color: "gray" } }, " }", -1))], 512);
74
81
  };
75
82
  } });
76
83
  export {
package/dist/es/style.css CHANGED
@@ -348,8 +348,10 @@
348
348
  overflow: hidden;
349
349
  text-overflow: ellipsis;
350
350
  white-space: nowrap;
351
- user-select: none; /* 防止文字被选中 */
352
- -webkit-user-drag: none; /* 防止文字被拖动选中 */
351
+ user-select: none;
352
+ /* 防止文字被选中 */
353
+ -webkit-user-drag: none;
354
+ /* 防止文字被拖动选中 */
353
355
  }
354
356
 
355
357
  .amb-assembly-item:hover {
@@ -836,14 +838,14 @@ fieldset.amb-design-item-selected {
836
838
  }.runtime-page-container[data-v-f796b484] {
837
839
  height: calc(100vh - 73px);
838
840
  }
839
- .editorTool[data-v-c8908117] {
841
+ .editorTool[data-v-f39498c6] {
840
842
  margin-left: auto;
841
843
  }
842
- .editorOption[data-v-c8908117] {
844
+ .editorOption[data-v-f39498c6] {
843
845
  margin-right: 10px;
844
846
  cursor: pointer;
845
847
  }
846
- .pppp[data-v-c8908117] {
848
+ .pppp[data-v-f39498c6] {
847
849
  display: flex; /* 使用Flex布局 */
848
850
  justify-content: flex-start;
849
851
  align-items: center; /* 子元素在交叉轴(垂直方向)上居中对齐 */
@@ -1420,8 +1422,10 @@ fieldset.amb-design-item-selected {
1420
1422
  overflow: hidden;
1421
1423
  text-overflow: ellipsis;
1422
1424
  white-space: nowrap;
1423
- user-select: none; /* 防止文字被选中 */
1424
- -webkit-user-drag: none; /* 防止文字被拖动选中 */
1425
+ user-select: none;
1426
+ /* 防止文字被选中 */
1427
+ -webkit-user-drag: none;
1428
+ /* 防止文字被拖动选中 */
1425
1429
  }
1426
1430
  .amb-assembly-item:hover {
1427
1431
  background: rgba(11, 45, 101, 0.105);
@@ -1821,7 +1825,7 @@ fieldset.amb-design-item-selected {
1821
1825
  cursor: default;
1822
1826
  }
1823
1827
 
1824
- .seleteSort[data-v-307b2416] {
1828
+ .seleteSort[data-v-f7769648] {
1825
1829
  border-radius: 5px;
1826
1830
  border: 1px solid rgba(88, 147, 239);
1827
1831
  }
@@ -2124,8 +2128,10 @@ fieldset.amb-design-item-selected {
2124
2128
  overflow: hidden;
2125
2129
  text-overflow: ellipsis;
2126
2130
  white-space: nowrap;
2127
- user-select: none; /* 防止文字被选中 */
2128
- -webkit-user-drag: none; /* 防止文字被拖动选中 */
2131
+ user-select: none;
2132
+ /* 防止文字被选中 */
2133
+ -webkit-user-drag: none;
2134
+ /* 防止文字被拖动选中 */
2129
2135
  }
2130
2136
  .amb-assembly-item:hover {
2131
2137
  background: rgba(11, 45, 101, 0.105);
@@ -2819,8 +2825,10 @@ fieldset.amb-design-item-selected {
2819
2825
  overflow: hidden;
2820
2826
  text-overflow: ellipsis;
2821
2827
  white-space: nowrap;
2822
- user-select: none; /* 防止文字被选中 */
2823
- -webkit-user-drag: none; /* 防止文字被拖动选中 */
2828
+ user-select: none;
2829
+ /* 防止文字被选中 */
2830
+ -webkit-user-drag: none;
2831
+ /* 防止文字被拖动选中 */
2824
2832
  }
2825
2833
  .amb-assembly-item:hover {
2826
2834
  background: rgba(11, 45, 101, 0.105);
@@ -3514,8 +3522,10 @@ fieldset.amb-design-item-selected {
3514
3522
  overflow: hidden;
3515
3523
  text-overflow: ellipsis;
3516
3524
  white-space: nowrap;
3517
- user-select: none; /* 防止文字被选中 */
3518
- -webkit-user-drag: none; /* 防止文字被拖动选中 */
3525
+ user-select: none;
3526
+ /* 防止文字被选中 */
3527
+ -webkit-user-drag: none;
3528
+ /* 防止文字被拖动选中 */
3519
3529
  }
3520
3530
  .amb-assembly-item:hover {
3521
3531
  background: rgba(11, 45, 101, 0.105);
@@ -4209,8 +4219,10 @@ fieldset.amb-design-item-selected {
4209
4219
  overflow: hidden;
4210
4220
  text-overflow: ellipsis;
4211
4221
  white-space: nowrap;
4212
- user-select: none; /* 防止文字被选中 */
4213
- -webkit-user-drag: none; /* 防止文字被拖动选中 */
4222
+ user-select: none;
4223
+ /* 防止文字被选中 */
4224
+ -webkit-user-drag: none;
4225
+ /* 防止文字被拖动选中 */
4214
4226
  }
4215
4227
  .amb-assembly-item:hover {
4216
4228
  background: rgba(11, 45, 101, 0.105);
@@ -4904,8 +4916,10 @@ fieldset.amb-design-item-selected {
4904
4916
  overflow: hidden;
4905
4917
  text-overflow: ellipsis;
4906
4918
  white-space: nowrap;
4907
- user-select: none; /* 防止文字被选中 */
4908
- -webkit-user-drag: none; /* 防止文字被拖动选中 */
4919
+ user-select: none;
4920
+ /* 防止文字被选中 */
4921
+ -webkit-user-drag: none;
4922
+ /* 防止文字被拖动选中 */
4909
4923
  }
4910
4924
  .amb-assembly-item:hover {
4911
4925
  background: rgba(11, 45, 101, 0.105);
@@ -5603,8 +5617,10 @@ fieldset.amb-design-item-selected {
5603
5617
  overflow: hidden;
5604
5618
  text-overflow: ellipsis;
5605
5619
  white-space: nowrap;
5606
- user-select: none; /* 防止文字被选中 */
5607
- -webkit-user-drag: none; /* 防止文字被拖动选中 */
5620
+ user-select: none;
5621
+ /* 防止文字被选中 */
5622
+ -webkit-user-drag: none;
5623
+ /* 防止文字被拖动选中 */
5608
5624
  }
5609
5625
  .amb-assembly-item:hover {
5610
5626
  background: rgba(11, 45, 101, 0.105);
@@ -6302,8 +6318,10 @@ fieldset.amb-design-item-selected {
6302
6318
  overflow: hidden;
6303
6319
  text-overflow: ellipsis;
6304
6320
  white-space: nowrap;
6305
- user-select: none; /* 防止文字被选中 */
6306
- -webkit-user-drag: none; /* 防止文字被拖动选中 */
6321
+ user-select: none;
6322
+ /* 防止文字被选中 */
6323
+ -webkit-user-drag: none;
6324
+ /* 防止文字被拖动选中 */
6307
6325
  }
6308
6326
  .amb-assembly-item:hover {
6309
6327
  background: rgba(11, 45, 101, 0.105);
@@ -6997,8 +7015,10 @@ fieldset.amb-design-item-selected {
6997
7015
  overflow: hidden;
6998
7016
  text-overflow: ellipsis;
6999
7017
  white-space: nowrap;
7000
- user-select: none; /* 防止文字被选中 */
7001
- -webkit-user-drag: none; /* 防止文字被拖动选中 */
7018
+ user-select: none;
7019
+ /* 防止文字被选中 */
7020
+ -webkit-user-drag: none;
7021
+ /* 防止文字被拖动选中 */
7002
7022
  }
7003
7023
  .amb-assembly-item:hover {
7004
7024
  background: rgba(11, 45, 101, 0.105);
@@ -7692,8 +7712,10 @@ fieldset.amb-design-item-selected {
7692
7712
  overflow: hidden;
7693
7713
  text-overflow: ellipsis;
7694
7714
  white-space: nowrap;
7695
- user-select: none; /* 防止文字被选中 */
7696
- -webkit-user-drag: none; /* 防止文字被拖动选中 */
7715
+ user-select: none;
7716
+ /* 防止文字被选中 */
7717
+ -webkit-user-drag: none;
7718
+ /* 防止文字被拖动选中 */
7697
7719
  }
7698
7720
  .amb-assembly-item:hover {
7699
7721
  background: rgba(11, 45, 101, 0.105);
@@ -8387,8 +8409,10 @@ fieldset.amb-design-item-selected {
8387
8409
  overflow: hidden;
8388
8410
  text-overflow: ellipsis;
8389
8411
  white-space: nowrap;
8390
- user-select: none; /* 防止文字被选中 */
8391
- -webkit-user-drag: none; /* 防止文字被拖动选中 */
8412
+ user-select: none;
8413
+ /* 防止文字被选中 */
8414
+ -webkit-user-drag: none;
8415
+ /* 防止文字被拖动选中 */
8392
8416
  }
8393
8417
  .amb-assembly-item:hover {
8394
8418
  background: rgba(11, 45, 101, 0.105);
@@ -9084,8 +9108,10 @@ fieldset.amb-design-item-selected {
9084
9108
  overflow: hidden;
9085
9109
  text-overflow: ellipsis;
9086
9110
  white-space: nowrap;
9087
- user-select: none; /* 防止文字被选中 */
9088
- -webkit-user-drag: none; /* 防止文字被拖动选中 */
9111
+ user-select: none;
9112
+ /* 防止文字被选中 */
9113
+ -webkit-user-drag: none;
9114
+ /* 防止文字被拖动选中 */
9089
9115
  }
9090
9116
  .amb-assembly-item:hover {
9091
9117
  background: rgba(11, 45, 101, 0.105);
@@ -9779,8 +9805,10 @@ fieldset.amb-design-item-selected {
9779
9805
  overflow: hidden;
9780
9806
  text-overflow: ellipsis;
9781
9807
  white-space: nowrap;
9782
- user-select: none; /* 防止文字被选中 */
9783
- -webkit-user-drag: none; /* 防止文字被拖动选中 */
9808
+ user-select: none;
9809
+ /* 防止文字被选中 */
9810
+ -webkit-user-drag: none;
9811
+ /* 防止文字被拖动选中 */
9784
9812
  }
9785
9813
  .amb-assembly-item:hover {
9786
9814
  background: rgba(11, 45, 101, 0.105);
@@ -10213,6 +10241,43 @@ fieldset.amb-design-item-selected {
10213
10241
  margin-bottom: 20px;
10214
10242
  }
10215
10243
 
10244
+ .el-form-item[data-v-abc299d9] {
10245
+ margin-bottom: 0px;
10246
+ }
10247
+
10248
+ /* 整体对齐样式 - 靠右 */
10249
+ .form-item-align-right[data-v-abc299d9] {
10250
+ justify-content: flex-end;
10251
+ }
10252
+ .form-item-align-right[data-v-abc299d9] .el-form-item__label {
10253
+ flex: none;
10254
+ }
10255
+ .form-item-align-right[data-v-abc299d9] .el-form-item__content {
10256
+ flex: none;
10257
+ }
10258
+
10259
+ /* 整体对齐样式 - 居中 */
10260
+ .form-item-align-center[data-v-abc299d9] {
10261
+ justify-content: center;
10262
+ }
10263
+ .form-item-align-center[data-v-abc299d9] .el-form-item__label {
10264
+ flex: none;
10265
+ }
10266
+ .form-item-align-center[data-v-abc299d9] .el-form-item__content {
10267
+ flex: none;
10268
+ }
10269
+
10270
+ /* 整体对齐样式 - 靠左 */
10271
+ .form-item-align-left[data-v-abc299d9] {
10272
+ justify-content: flex-start;
10273
+ }
10274
+ .form-item-align-left[data-v-abc299d9] .el-form-item__label {
10275
+ flex: none;
10276
+ }
10277
+ .form-item-align-left[data-v-abc299d9] .el-form-item__content {
10278
+ flex: none;
10279
+ }
10280
+
10216
10281
  .el-tree-node__content {
10217
10282
  height: 34px !important;
10218
10283
  }
@@ -10511,8 +10576,10 @@ fieldset.amb-design-item-selected {
10511
10576
  overflow: hidden;
10512
10577
  text-overflow: ellipsis;
10513
10578
  white-space: nowrap;
10514
- user-select: none; /* 防止文字被选中 */
10515
- -webkit-user-drag: none; /* 防止文字被拖动选中 */
10579
+ user-select: none;
10580
+ /* 防止文字被选中 */
10581
+ -webkit-user-drag: none;
10582
+ /* 防止文字被拖动选中 */
10516
10583
  }
10517
10584
  .amb-assembly-item:hover {
10518
10585
  background: rgba(11, 45, 101, 0.105);
@@ -11333,8 +11400,10 @@ li[data-v-d06d5717] {
11333
11400
  overflow: hidden;
11334
11401
  text-overflow: ellipsis;
11335
11402
  white-space: nowrap;
11336
- user-select: none; /* 防止文字被选中 */
11337
- -webkit-user-drag: none; /* 防止文字被拖动选中 */
11403
+ user-select: none;
11404
+ /* 防止文字被选中 */
11405
+ -webkit-user-drag: none;
11406
+ /* 防止文字被拖动选中 */
11338
11407
  }
11339
11408
  .amb-assembly-item:hover {
11340
11409
  background: rgba(11, 45, 101, 0.105);
@@ -12036,8 +12105,10 @@ fieldset.amb-design-item-selected {
12036
12105
  overflow: hidden;
12037
12106
  text-overflow: ellipsis;
12038
12107
  white-space: nowrap;
12039
- user-select: none; /* 防止文字被选中 */
12040
- -webkit-user-drag: none; /* 防止文字被拖动选中 */
12108
+ user-select: none;
12109
+ /* 防止文字被选中 */
12110
+ -webkit-user-drag: none;
12111
+ /* 防止文字被拖动选中 */
12041
12112
  }
12042
12113
  .amb-assembly-item:hover {
12043
12114
  background: rgba(11, 45, 101, 0.105);
@@ -12731,8 +12802,10 @@ fieldset.amb-design-item-selected {
12731
12802
  overflow: hidden;
12732
12803
  text-overflow: ellipsis;
12733
12804
  white-space: nowrap;
12734
- user-select: none; /* 防止文字被选中 */
12735
- -webkit-user-drag: none; /* 防止文字被拖动选中 */
12805
+ user-select: none;
12806
+ /* 防止文字被选中 */
12807
+ -webkit-user-drag: none;
12808
+ /* 防止文字被拖动选中 */
12736
12809
  }
12737
12810
  .amb-assembly-item:hover {
12738
12811
  background: rgba(11, 45, 101, 0.105);
@@ -13482,8 +13555,10 @@ fieldset.amb-design-item-selected {
13482
13555
  overflow: hidden;
13483
13556
  text-overflow: ellipsis;
13484
13557
  white-space: nowrap;
13485
- user-select: none; /* 防止文字被选中 */
13486
- -webkit-user-drag: none; /* 防止文字被拖动选中 */
13558
+ user-select: none;
13559
+ /* 防止文字被选中 */
13560
+ -webkit-user-drag: none;
13561
+ /* 防止文字被拖动选中 */
13487
13562
  }
13488
13563
  .amb-assembly-item:hover {
13489
13564
  background: rgba(11, 45, 101, 0.105);
@@ -14177,8 +14252,10 @@ fieldset.amb-design-item-selected {
14177
14252
  overflow: hidden;
14178
14253
  text-overflow: ellipsis;
14179
14254
  white-space: nowrap;
14180
- user-select: none; /* 防止文字被选中 */
14181
- -webkit-user-drag: none; /* 防止文字被拖动选中 */
14255
+ user-select: none;
14256
+ /* 防止文字被选中 */
14257
+ -webkit-user-drag: none;
14258
+ /* 防止文字被拖动选中 */
14182
14259
  }
14183
14260
  .amb-assembly-item:hover {
14184
14261
  background: rgba(11, 45, 101, 0.105);
@@ -14872,8 +14949,10 @@ fieldset.amb-design-item-selected {
14872
14949
  overflow: hidden;
14873
14950
  text-overflow: ellipsis;
14874
14951
  white-space: nowrap;
14875
- user-select: none; /* 防止文字被选中 */
14876
- -webkit-user-drag: none; /* 防止文字被拖动选中 */
14952
+ user-select: none;
14953
+ /* 防止文字被选中 */
14954
+ -webkit-user-drag: none;
14955
+ /* 防止文字被拖动选中 */
14877
14956
  }
14878
14957
  .amb-assembly-item:hover {
14879
14958
  background: rgba(11, 45, 101, 0.105);
@@ -15567,8 +15646,10 @@ fieldset.amb-design-item-selected {
15567
15646
  overflow: hidden;
15568
15647
  text-overflow: ellipsis;
15569
15648
  white-space: nowrap;
15570
- user-select: none; /* 防止文字被选中 */
15571
- -webkit-user-drag: none; /* 防止文字被拖动选中 */
15649
+ user-select: none;
15650
+ /* 防止文字被选中 */
15651
+ -webkit-user-drag: none;
15652
+ /* 防止文字被拖动选中 */
15572
15653
  }
15573
15654
  .amb-assembly-item:hover {
15574
15655
  background: rgba(11, 45, 101, 0.105);
@@ -16275,8 +16356,10 @@ fieldset.amb-design-item-selected {
16275
16356
  overflow: hidden;
16276
16357
  text-overflow: ellipsis;
16277
16358
  white-space: nowrap;
16278
- user-select: none; /* 防止文字被选中 */
16279
- -webkit-user-drag: none; /* 防止文字被拖动选中 */
16359
+ user-select: none;
16360
+ /* 防止文字被选中 */
16361
+ -webkit-user-drag: none;
16362
+ /* 防止文字被拖动选中 */
16280
16363
  }
16281
16364
  .amb-assembly-item:hover {
16282
16365
  background: rgba(11, 45, 101, 0.105);
@@ -16970,8 +17053,10 @@ fieldset.amb-design-item-selected {
16970
17053
  overflow: hidden;
16971
17054
  text-overflow: ellipsis;
16972
17055
  white-space: nowrap;
16973
- user-select: none; /* 防止文字被选中 */
16974
- -webkit-user-drag: none; /* 防止文字被拖动选中 */
17056
+ user-select: none;
17057
+ /* 防止文字被选中 */
17058
+ -webkit-user-drag: none;
17059
+ /* 防止文字被拖动选中 */
16975
17060
  }
16976
17061
  .amb-assembly-item:hover {
16977
17062
  background: rgba(11, 45, 101, 0.105);
@@ -17665,8 +17750,10 @@ fieldset.amb-design-item-selected {
17665
17750
  overflow: hidden;
17666
17751
  text-overflow: ellipsis;
17667
17752
  white-space: nowrap;
17668
- user-select: none; /* 防止文字被选中 */
17669
- -webkit-user-drag: none; /* 防止文字被拖动选中 */
17753
+ user-select: none;
17754
+ /* 防止文字被选中 */
17755
+ -webkit-user-drag: none;
17756
+ /* 防止文字被拖动选中 */
17670
17757
  }
17671
17758
  .amb-assembly-item:hover {
17672
17759
  background: rgba(11, 45, 101, 0.105);
@@ -18360,8 +18447,10 @@ fieldset.amb-design-item-selected {
18360
18447
  overflow: hidden;
18361
18448
  text-overflow: ellipsis;
18362
18449
  white-space: nowrap;
18363
- user-select: none; /* 防止文字被选中 */
18364
- -webkit-user-drag: none; /* 防止文字被拖动选中 */
18450
+ user-select: none;
18451
+ /* 防止文字被选中 */
18452
+ -webkit-user-drag: none;
18453
+ /* 防止文字被拖动选中 */
18365
18454
  }
18366
18455
  .amb-assembly-item:hover {
18367
18456
  background: rgba(11, 45, 101, 0.105);
@@ -19134,8 +19223,10 @@ li[data-v-21af26bc] {
19134
19223
  overflow: hidden;
19135
19224
  text-overflow: ellipsis;
19136
19225
  white-space: nowrap;
19137
- user-select: none; /* 防止文字被选中 */
19138
- -webkit-user-drag: none; /* 防止文字被拖动选中 */
19226
+ user-select: none;
19227
+ /* 防止文字被选中 */
19228
+ -webkit-user-drag: none;
19229
+ /* 防止文字被拖动选中 */
19139
19230
  }
19140
19231
  .amb-assembly-item:hover {
19141
19232
  background: rgba(11, 45, 101, 0.105);
@@ -19833,8 +19924,10 @@ fieldset.amb-design-item-selected {
19833
19924
  overflow: hidden;
19834
19925
  text-overflow: ellipsis;
19835
19926
  white-space: nowrap;
19836
- user-select: none; /* 防止文字被选中 */
19837
- -webkit-user-drag: none; /* 防止文字被拖动选中 */
19927
+ user-select: none;
19928
+ /* 防止文字被选中 */
19929
+ -webkit-user-drag: none;
19930
+ /* 防止文字被拖动选中 */
19838
19931
  }
19839
19932
  .amb-assembly-item:hover {
19840
19933
  background: rgba(11, 45, 101, 0.105);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "super-page-designer",
3
- "version": "2.3.17-sit1-design1",
3
+ "version": "2.3.17-sit2-design1",
4
4
  "description": "AgileBuilder super page designer",
5
5
  "license": "ISC",
6
6
  "main": "dist/es/index.js",
@@ -29,7 +29,7 @@
29
29
  "@vitejs/plugin-vue": "^5.0.4",
30
30
  "@vueuse/core": "^10.9.0",
31
31
  "agilebuilder-private-libs": "1.0.26",
32
- "agilebuilder-ui": "1.1.59-sit2",
32
+ "agilebuilder-ui": "1.1.59-sit3",
33
33
  "echarts": "^5.5.0",
34
34
  "element-plus": "^2.6.1",
35
35
  "font-awesome": "^4.7.0",
@@ -41,7 +41,7 @@
41
41
  "qrcode": "^1.5.3",
42
42
  "quill": "^2.0.1",
43
43
  "service-flow-designer": "2.3.17-sit1-flow1",
44
- "super-page-runtime": "2.3.17-sit1",
44
+ "super-page-runtime": "2.3.17-sit2",
45
45
  "uuid": "^9.0.1",
46
46
  "vite": "^5.1.6",
47
47
  "vite-plugin-node-stdlib-browser": "^0.2.1",